@font-face {
  font-family: Newsreader;
  src: url('assets/newsreader.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url('assets/manrope.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --blue: #1f4e5f;
  --blue-deep: #173e4c;
  --terra: #b85440;
  --terra-text: #9c4635;
  --gold: #d9b57a;
  --sand: #ede4d3;
  --cream: #faf6ee;
  --graphite: #4a4a48;
  --ink: #1e1e1c;
  --border: #d9d2c5;
  --serif: Newsreader, Georgia, serif;
  --sans: Manrope, Arial, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --header-height: 80px;
  --section-space: clamp(4rem, 8vw, 7.5rem);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.75;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 450;
  line-height: 1.1;
  letter-spacing: -.035em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.625rem, 5.5vw, 5rem); line-height: 1.04; }
h2 { font-size: clamp(2.25rem, 3.9vw, 3.625rem); }
h3 { font-size: 1.875rem; line-height: 1.18; }
p { color: var(--graphite); }
em { font-style: normal; color: var(--terra); }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 1200px); margin-inline: auto; }
.section-space { padding-block: var(--section-space); }
.hero-copy, .intro-layout > *, .intro-row > *, .about > *, .faq > *, .steps-layout > *, .principles > * { min-width: 0; }
.eyebrow {
  margin-bottom: 1.25rem;
  color: var(--blue);
  font-family: var(--sans);
  font-size: .8125rem;
  font-weight: 750;
  line-height: 1.65;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-wrap: balance;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 12px 18px;
  border-radius: 8px;
  color: var(--cream);
  background: var(--blue);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
#conteudo:focus, #conversa:focus { outline: none; }

/* Marca e navegação: o logo conserva a área mínima de 32 px. */
.brand {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  color: var(--blue);
}
.brand .brand-symbol { grid-row: 1 / 3; width: 44px; height: auto; }
.brand-name { font-family: var(--serif); font-size: 1.875rem; font-weight: 500; line-height: 1.12; letter-spacing: -.04em; }
.brand-subtitle { margin-top: 4px; font-size: .6875rem; line-height: 1.5; letter-spacing: .13em; text-transform: uppercase; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid rgb(31 78 95 / .1);
  background: var(--cream);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 14px; }
.site-header nav { display: flex; flex: 0 0 auto; }
.nav-contact, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  max-width: 100%;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 750;
  text-align: center;
}
.nav-contact { min-height: 48px; padding: 10px 20px; gap: 12px; background: var(--blue); color: var(--cream); }
.button span, .nav-contact span { flex-shrink: 0; font-size: 1.25rem; line-height: 1; font-weight: 500; }
.button-primary { background: var(--blue); color: var(--cream); }
.button-primary:hover, .nav-contact:hover { background: var(--blue-deep); }
.button-light { background: var(--cream); color: var(--blue); }
.button-light:hover { background: var(--sand); }
.site-header[data-hidden='true'] { transform: translateY(-100%); opacity: 0; visibility: hidden; pointer-events: none; }

/* Abertura editorial: texto e retrato têm ritmos e proporções próprios. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5rem);
  padding-block: clamp(2.5rem, 4.5vw, 4rem) var(--section-space);
}
.hero-copy { padding-block: 12px; }
.hero .eyebrow { margin-bottom: 24px; }
.hero h1 { max-width: 11ch; }
.hero-description { max-width: 43ch; margin-block: 28px 32px; font-size: 1.125rem; line-height: 1.8; }
.hero-note { margin-top: 22px; font-size: .9375rem; line-height: 1.8; }
.hero-portrait {
  position: relative;
  isolation: isolate;
  aspect-ratio: 4 / 5;
  min-height: 540px;
  border-radius: 240px 240px 24px 24px;
  overflow: hidden;
  background: var(--sand);
  box-shadow: 0 18px 48px rgb(31 78 95 / .07);
}
.hero-portrait > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero-portrait::after {
  content: '';
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, transparent, rgb(15 43 52 / .82) 65%, rgb(15 43 52 / .96));
  pointer-events: none;
}
.hero-portrait figcaption {
  position: absolute;
  z-index: 1;
  inset: auto 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--cream);
  text-shadow: 0 1px 3px rgb(0 0 0 / .2);
}
.hero-portrait figcaption span { font-size: .9375rem; line-height: 1.5; }
.hero-portrait figcaption span:first-child { color: var(--sand); font-size: .75rem; line-height: 1.6; letter-spacing: .08em; text-transform: uppercase; }
.hero-portrait figcaption strong { margin-top: 4px; font-family: var(--serif); font-size: 2.375rem; font-weight: 450; line-height: 1.15; }

/* Cada texto acompanha um card na mesma linha; a etiqueta abre o conjunto. */
.intro { padding-block: clamp(3rem, 5vw, 5rem); background: var(--sand); }
.intro-layout { display: grid; gap: 24px; }
.intro-eyebrow { margin-bottom: 0; }
.intro-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: clamp(2.5rem, 5.5vw, 5rem); align-items: stretch; }
.intro-text { display: flex; align-items: center; }
.intro-row:first-child .intro-text { align-items: flex-end; }
.intro-row:last-child .intro-text { align-items: flex-start; }
.intro-text > * { max-width: 480px; }
.intro h2 { font-size: clamp(2.25rem, 3.5vw, 3.125rem); }
.intro-copy { font-size: 1.0625rem; line-height: 1.8; }
.principles { display: grid; gap: 16px; min-width: 0; }
.principle-card {
  position: relative;
  display: flex;
  align-items: center;
  padding: 18px 24px;
  border: 1px solid #d1c4ae;
  border-radius: 20px;
  background: var(--cream);
  box-shadow: 0 2px 6px rgb(69 49 32 / .05), 0 14px 28px -16px rgb(69 49 32 / .2);
}
.principle-content { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: start; gap: 16px; width: 100%; }
.number { display: block; margin-top: 3px; font-family: var(--serif); color: var(--terra-text); font-size: 1.375rem; line-height: 1.3; }
.principle-card h3 { margin-bottom: 8px; color: var(--blue); font-size: 1.8125rem; }
.principle-card p { font-size: 1.0625rem; line-height: 1.65; }

.about { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.about-story > p:not(.eyebrow) { max-width: 49ch; margin-top: 22px; font-size: 1.125rem; line-height: 1.85; }
.about blockquote { max-width: 31ch; margin: 30px 0; color: var(--terra-text); font-family: var(--serif); font-size: 1.875rem; line-height: 1.35; text-wrap: balance; }
.education {
  padding: clamp(1.75rem, 3vw, 2.75rem);
  border: 1px solid #d1c4ae;
  border-radius: 24px;
  background: #f1ebdf;
  box-shadow: 0 2px 6px rgb(69 49 32 / .05), 0 14px 28px -16px rgb(69 49 32 / .2);
}
.education h3 { color: var(--blue); font-size: clamp(1.875rem, 2.6vw, 2.25rem); }
.education ul { padding: 0; list-style: none; margin: 28px 0 24px; }
.education li { position: relative; padding-left: 18px; margin-top: 18px; font-size: 1.0625rem; line-height: 1.65; }
.education li::before { content: ''; position: absolute; top: .7em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--terra); }
.education-note { font-size: .9375rem; line-height: 1.8; }

.steps { padding-block: clamp(4rem, 6vw, 6rem); background: var(--blue); color: var(--cream); }
.steps-eyebrow { margin-bottom: 32px; }
.steps-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: clamp(2.5rem, 6vw, 5rem); }
.steps .eyebrow, .contact-panel .eyebrow { color: var(--gold); }
.section-heading { max-width: 720px; }
.section-heading > p:last-child { max-width: 54ch; margin-top: 24px; color: #e2e8e9; font-size: 1.125rem; }
.steps-carousel { min-width: 0; }
.steps-track { display: grid; gap: 20px; }
.step-slide, .steps-carousel[data-carousel='true'] .steps-viewport {
  border: 1px solid rgb(250 246 238 / .42);
  border-radius: 24px;
  background: var(--terra);
  box-shadow: 0 2px 6px rgb(8 29 37 / .16), 0 18px 32px -14px rgb(8 29 37 / .55);
}
.step-slide { min-width: 0; padding: clamp(1.5rem, 3vw, 2.5rem); color: #fff; }
.steps-carousel[data-carousel='true'] .steps-viewport { overflow: hidden; }
.steps-carousel[data-carousel='true'] .steps-track { display: flex; gap: 0; }
.steps-carousel[data-carousel='true'] .step-slide { flex: 0 0 100%; border: 0; border-radius: 0; box-shadow: none; }
.step-number { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 28px; border: 1px solid currentColor; border-radius: 50%; color: inherit; font-size: 1.125rem; }
.steps h3 { max-width: 24ch; font-size: clamp(1.875rem, 2.5vw, 2.375rem); }
.step-slide p { max-width: 46ch; margin-top: 20px; color: inherit; font-size: 1.0625rem; line-height: 1.8; }
.steps-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; margin-top: 32px; padding-top: 20px; border-top: 1px solid rgb(250 246 238 / .2); }
.steps-dots, .steps-navigation { display: flex; align-items: center; gap: 8px; }
.steps-dots { justify-self: start; }
.steps-navigation { justify-self: end; }
.step-dot { display: grid; place-items: center; width: 44px; height: 48px; padding: 0; border: 0; border-radius: 8px; background: transparent; cursor: pointer; }
.step-dot::before { content: ''; width: 22px; height: 4px; border-radius: 4px; background: #73909b; }
.step-dot[aria-current='true']::before { background: var(--gold); }
.steps-count { justify-self: center; color: #e2e8e9; font-size: .875rem; line-height: 1.5; font-variant-numeric: tabular-nums; white-space: nowrap; }
.step-arrow { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; padding: 0; border: 1px solid #73909b; border-radius: 50%; color: var(--cream); background: transparent; cursor: pointer; }
.step-arrow span { font-size: 1.5rem; line-height: 1; }
.step-arrow:disabled { color: #a8bac0; border-color: #547786; cursor: default; }
@media (hover: hover) and (pointer: fine) {
  .step-arrow:not(:disabled):hover { color: var(--blue); background: var(--gold); border-color: var(--gold); }
  .step-dot:not([aria-current='true']):hover::before { background: var(--cream); }
}

.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(2.5rem, 6vw, 5rem); }
.faq-items { display: grid; gap: 14px; }
.faq details { border: 1px solid #d1c4ae; border-radius: 20px; background: #f1ebdf; box-shadow: 0 2px 6px rgb(69 49 32 / .05), 0 14px 28px -16px rgb(69 49 32 / .2); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 76px; padding: 18px 24px; border-radius: 20px; color: var(--blue); font-size: 1.125rem; font-weight: 650; line-height: 1.6; list-style: none; cursor: pointer; }
.faq summary:focus-visible { outline-offset: -5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border: 1px solid #d1c4ae; border-radius: 50%; background: var(--cream); font-size: 1.5rem; line-height: 1; font-weight: 400; }
.faq details[open] .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 24px; }
.faq-answer > p:first-child { padding-top: 16px; border-top: 1px solid #d1c4ae; }
.faq-answer p { font-size: 1.0625rem; line-height: 1.85; }
.faq-answer a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 12px; padding-block: 8px; color: var(--blue); font-size: 1rem; line-height: 1.6; text-decoration: underline; text-underline-offset: 4px; }

.contact-section {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: clamp(4rem, 8vh, 7.5rem);
  scroll-margin-top: calc(-1 * var(--header-height) - 24px);
  border-top: 1px solid rgb(217 181 122 / .35);
  background: var(--blue);
  background: linear-gradient(145deg, var(--blue) 0%, var(--blue) 60%, var(--blue-deep) 100%);
  color: var(--cream);
}
.contact-panel { text-align: center; }
.contact-panel h2 { max-width: 18ch; margin-inline: auto; font-size: clamp(2.75rem, 6.3vw, 5.25rem); }
.contact-panel > p:not(.eyebrow) { max-width: 48ch; margin: 24px auto 32px; color: #e2e8e9; font-size: 1.125rem; line-height: 1.8; }
.contact-caption { display: block; margin-top: 24px; color: #e2e8e9; font-size: .9375rem; line-height: 1.7; }
.steps :focus-visible, .contact-panel :focus-visible { outline-color: var(--gold); }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-top: clamp(2.5rem, 4vw, 3.5rem); padding-bottom: 40px; }
.site-footer nav { display: flex; flex-direction: column; font-size: .9375rem; line-height: 1.6; }
.site-footer nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.site-footer nav a:hover { color: var(--terra-text); }
.site-footer p { font-size: .9375rem; line-height: 1.7; }

@media (max-width: 1000px) {
  .hero { gap: 32px; }
  .hero h1 { font-size: clamp(2.625rem, 5.4vw, 4.25rem); }
  .hero-portrait { min-height: 500px; }
  .hero .button { padding-inline: 18px; gap: 12px; }
  .intro-row { column-gap: 32px; }
}
@media (max-width: 860px) {
  .hero, .intro-row, .about, .faq, .steps-layout { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 36px; padding-top: 32px; }
  .hero-copy { padding: 0; }
  .hero h1 { max-width: 15ch; font-size: clamp(2.625rem, 7vw, 4.25rem); }
  .hero-description { max-width: 54ch; }
  .hero-portrait { width: 100%; max-width: 540px; min-height: 0; justify-self: center; aspect-ratio: 4 / 5; }
  .principles { grid-auto-rows: auto; gap: 32px; }
  .intro-row { gap: 20px; }
  .intro-text > * { max-width: 620px; }
  .intro h2 { max-width: 20ch; }
  .intro-copy { max-width: 60ch; }
  .about { gap: 40px; }
  .about-story > p:not(.eyebrow) { max-width: 60ch; }
  .education { max-width: 640px; width: 100%; }
  .faq { gap: 32px; }
  .faq h2 br { display: none; }
  .steps-layout { gap: 36px; }
}
@media (max-width: 600px) {
  :root { --gutter: 1.25rem; --section-space: 4rem; }
  .header-inner { gap: 8px; padding-block: 12px; }
  .site-header .brand { grid-template-columns: 34px minmax(0, 1fr); column-gap: 9px; }
  .site-header .brand-symbol { width: 34px; }
  .site-header .brand-name { font-size: 1.4375rem; }
  .site-header .brand-subtitle { font-size: .625rem; letter-spacing: .08em; }
  .nav-contact { min-height: 48px; padding: 10px 14px; gap: 8px; }
  .hero { padding-top: 36px; gap: 36px; }
  .hero h1 { max-width: 13ch; font-size: clamp(2.625rem, 11vw, 3.875rem); }
  .hero .eyebrow { margin-bottom: 20px; font-size: .75rem; }
  .hero-description { margin-block: 24px; font-size: 1.0625rem; }
  .hero .button { width: 100%; padding: 16px 20px; }
  .hero-note { font-size: .9375rem; }
  .hero-portrait { border-radius: 180px 180px 22px 22px; }
  .hero-portrait figcaption { inset: auto 22px 24px; }
  .hero-portrait figcaption strong { font-size: 2.1875rem; }
  .principle-card { padding: 24px 20px; border-radius: 16px; }
  .principle-content { grid-template-columns: 24px minmax(0, 1fr); gap: 12px; }
  .number { font-size: 1.25rem; }
  .principle-card h3 { font-size: 1.6875rem; margin-bottom: 10px; }
  .about blockquote { font-size: 1.75rem; }
  .education { padding: 28px 24px; }
  .step-slide { padding: 28px 24px; }
  .step-slide, .steps-carousel[data-carousel='true'] .steps-viewport { box-shadow: 0 2px 5px rgb(8 29 37 / .14), 0 14px 24px -14px rgb(8 29 37 / .42); }
  .steps-carousel[data-carousel='true'] .steps-viewport { border-radius: 20px; }
  .step-number { width: 48px; height: 48px; margin-bottom: 24px; }
  .steps h3 { font-size: 1.875rem; }
  .step-slide p { margin-top: 16px; }
  .steps-dots { gap: 0; }
  .steps-eyebrow { margin-bottom: 24px; }
  .steps-controls { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 28px; }
  .steps-count { grid-column: 1 / -1; grid-row: 1; }
  .faq details { border-radius: 16px; }
  .faq summary { gap: 16px; padding: 18px 20px; border-radius: 16px; font-size: 1.0625rem; }
  .faq-answer { padding: 0 20px 20px; }
  .faq-answer p { font-size: 1rem; }
  .contact-section { padding-block: 4rem; }
  .contact-panel h2 { font-size: clamp(2.5rem, 10vw, 3.25rem); text-wrap: wrap; }
  .contact-panel h2 br { display: none; }
  .contact-panel > p:not(.eyebrow) { font-size: 1.0625rem; }
  .contact-panel .button { width: 100%; padding: 14px 16px; gap: 12px; }
  .site-footer { align-items: flex-start; gap: 24px; }
  .site-footer nav { width: 100%; }
  .site-footer p { width: 100%; }
}
@media (max-width: 360px) {
  :root { --gutter: 1rem; }
  .site-header .brand { grid-template-columns: 32px minmax(0, 1fr); column-gap: 8px; }
  .site-header .brand-symbol { width: 32px; }
  .site-header .brand-name { font-size: 1.3125rem; }
  .site-header .brand-subtitle { letter-spacing: .035em; }
  .nav-contact { padding-inline: 12px; font-size: .9375rem; }
  .site-header .nav-contact > span { display: none; }
  .principle-card { padding: 22px 16px; }
  .step-slide { padding: 24px 20px; }
  .faq summary { gap: 12px; padding-inline: 16px; }
  .faq-answer { padding-inline: 16px; }
  .steps-controls { gap: 8px; }
  .steps-navigation { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media print {
  html { scroll-behavior: auto; }
  .site-header { position: static; }
  .site-header[data-hidden='true'] { transform: none; opacity: 1; visibility: visible; }
  .hero-portrait > img, .principle-card { transform: none !important; }
  .hero-copy > *, .intro-eyebrow, .intro-row, .about-story, .education, .steps-eyebrow, .steps-layout, .steps-controls, .faq details, .contact-panel, .site-footer { opacity: 1 !important; visibility: visible !important; transform: none !important; }
  .steps-layout { grid-template-columns: minmax(0, 1fr); }
  .steps-carousel[data-carousel='true'] .steps-viewport { overflow: visible; border: 0; background: none; }
  .education, .faq details, .step-slide, .steps-carousel[data-carousel='true'] .steps-viewport { box-shadow: none; }
  .contact-section { min-height: 0; padding-block: 3rem; scroll-margin-top: 0; }
  .steps-carousel[data-carousel='true'] .steps-track { display: grid; gap: 20px; transform: none !important; }
  .steps-controls { display: none; }
  .skip-link { display: none; }
  .contact-panel, .education, .intro-row, .principle-card, .step-slide { break-inside: avoid; }
}
