/* =========================================================================
   Patricia Tempski — main.css
   Layout: grade editorial de 12 colunas, composições assimétricas sobre azul-marinho,
   títulos oversized em Outfit (200 × 600), filetes dourados e o monograma P como
   marca-d'água em padrão e em cortes gigantes.
   Visual único e intencional (escuro com faixas claras) — não há modo claro/escuro alternativo.
   ========================================================================= */

@font-face {
  font-family: "Outfit";
  src: url(../fonts/outfit-var-latin.woff2) format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Cores da marca */
  --navy: #0A1220;
  --navy-2: #132038;
  --sky: #4694d0;
  --green: #16505d;
  --gold: #C9A464;
  --cream: #F5EFE3;
  --ice: #EEF2F1;

  /* Derivadas */
  --ink: #132038;            /* textos sobre fundos claros: azul-marinho médio (antes #0A1220, lido como preto) */
  --muted-dark: #9AA7BA;     /* texto secundário sobre azul */
  --muted-light: #46546E;    /* texto secundário sobre creme/gelo (azulado) */
  --line-dark: rgba(201, 164, 100, .22);
  --line-light: rgba(10, 18, 32, .16);
  --error: #FF9F8C;
  --error-light: #A33A24;

  /* Contexto (cada faixa redefine) */
  --bg: var(--navy);
  --fg: var(--cream);
  --muted: var(--muted-dark);
  --line: var(--line-dark);
  --accent: var(--gold);

  /* Tipografia */
  --font: "Outfit", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-mega: clamp(3.3rem, 10.6vw, 11.5rem);
  --fs-display: clamp(3rem, 8vw, 8.5rem);
  --fs-xl: clamp(2.1rem, 4.6vw, 4.4rem);
  --fs-l: clamp(1.7rem, 3vw, 2.9rem);
  --fs-m: clamp(1.15rem, 1.5vw, 1.4rem);
  --fs-body: 1.0625rem;
  --fs-s: .875rem;
  --fs-xs: .75rem;

  /* Espaço */
  --gutter: clamp(16px, 4.2vw, 72px);
  --band: clamp(88px, 12vw, 184px);
  --header-h: clamp(72px, 7vw, 120px);
  --edge: clamp(16px, 7.3vw, 160px);   /* margem das faixas largas (header, logos, agenda) */
  --inset: clamp(16px, 14.5vw, 300px); /* margem do texto editorial (print de referência) */
  --white: #FFFFFF;
  --sky-soft: #A9C1F2;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);

  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--navy);
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 300; text-wrap: balance; }
p { text-wrap: pretty; }
em { font-style: normal; }
::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px; }
main:focus { outline: none; }

.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { left: -9999px; }
.skip {
  position: fixed; top: calc(env(safe-area-inset-top, 0px) + 12px); left: max(16px, env(safe-area-inset-left, 0px)); z-index: 100;
  background: var(--gold); color: var(--navy); padding: .6rem 1rem; border-radius: 999px; font-weight: 500;
  transform: translateY(-200%); transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

/* Ícones (SVG Material Symbols embutidos) */
.ms {
  display: inline-block; width: 1.25em; height: 1.25em; flex: none;
  fill: currentColor; vertical-align: -.25em; overflow: visible;
}
.ms--sm { width: 1em; height: 1em; vertical-align: -.14em; }

/* ---------- Layout ---------- */
.wrap {
  position: relative; z-index: 1;
  width: 100%; max-width: 1480px; margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.band { position: relative; padding-block: var(--band); background: var(--bg); color: var(--fg); overflow: clip; }
.band--navy  { --bg: var(--navy); }
.band--navy2 { --bg: var(--navy-2); }
.band--green { --bg: var(--green); --muted: #B9CDD0; --line: rgba(245, 239, 227, .2); }
.band--cream, .band--ice {
  --bg: var(--cream); --fg: var(--ink); --muted: var(--muted-light); --line: var(--line-light); --accent: #8A6A2E;
}
.band--ice { --bg: var(--ice); }

.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }

/* ---------- Tipografia ---------- */
.display {
  font-size: var(--fs-display); font-weight: 220; line-height: .93; letter-spacing: -.04em;
}
.display--mega { font-size: var(--fs-mega); }
.display em, .h-xl em, .h-l em { color: var(--accent); font-weight: 560; }
.display .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.display .line > span { display: inline-block; }
.h-xl { font-size: var(--fs-xl); line-height: 1.03; letter-spacing: -.03em; font-weight: 280; }
.h-l  { font-size: var(--fs-l); line-height: 1.08; letter-spacing: -.025em; font-weight: 300; }
.lede { font-size: var(--fs-m); line-height: 1.55; color: var(--muted); max-width: 40ch; font-weight: 300; }
.eyebrow {
  display: flex; align-items: center; gap: .9rem;
  font-size: var(--fs-xs); font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: clamp(1.25rem, 2.4vw, 2rem);
}
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: var(--accent); flex: none; }
.eyebrow--gold { color: var(--gold); }
.prose p { font-size: 1.125rem; line-height: 1.75; max-width: 62ch; }
.prose p + p { margin-top: 1.4em; }

/* ---------- Botões ---------- */
.actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; margin-top: clamp(1.75rem, 3vw, 2.75rem); }
.btn {
  position: relative; display: inline-flex; align-items: center; gap: .7rem;
  padding: 1rem 1.45rem 1rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  font-size: .95rem; font-weight: 500; letter-spacing: .01em; line-height: 1.2;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), background-color .45s var(--ease), border-color .45s var(--ease);
}
.btn .ms { transition: transform .5s var(--ease); }
.btn:hover .ms { transform: translate(2px, -2px) rotate(0deg); }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--cream); transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::after { transform: none; }
.btn--gold, .btn--solid { background: var(--gold); color: var(--navy); }
.btn--gold:hover, .btn--solid:hover { color: var(--navy); }
.btn--ghost { border-color: rgba(245, 239, 227, .32); color: var(--cream); }
.btn--ghost:hover { color: var(--navy); border-color: var(--cream); }
.btn--line { padding: .4rem 0; border-radius: 0; color: var(--fg); border-bottom: 1px solid var(--accent); }
.btn--line::after { display: none; }
.btn--line:hover { color: var(--accent); }
.btn--sm { padding: .65rem 1rem .65rem 1.15rem; font-size: .85rem; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 50;
  transition: transform .6s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: rgba(10, 18, 32, .82); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); border-color: var(--line-dark); }
.site-header.is-hidden:not(.menu-open) { transform: translateY(-110%); }
/* backdrop-filter cria um bloco de contenção para o menu fixo: removido com o menu aberto */
.site-header.menu-open { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-color: transparent; }
.site-header__inner {
  height: var(--header-h); display: flex; align-items: center; gap: 2rem;
  padding-left: max(var(--edge), env(safe-area-inset-left, 0px));
  padding-right: max(var(--edge), env(safe-area-inset-right, 0px));
}
.brand { flex: none; display: block; position: relative; z-index: 2; }
.brand__logo { width: clamp(160px, 20.5vw, 390px); height: auto; }
.mark { fill: var(--gold); }
.word { fill: var(--cream); }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: clamp(1rem, 2.1vw, 2.75rem); }
.nav__list a, .langs a { position: relative; font-size: clamp(.72rem, .95vw, 1.1rem); font-weight: 400; text-transform: uppercase; letter-spacing: .02em; color: var(--cream); transition: color .3s; padding-block: .4rem; }
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav__list a:hover, .nav__list a[aria-current] { color: var(--cream); }
.nav__list a:hover::after, .nav__list a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.site-header__tools { display: flex; align-items: center; gap: 1.25rem; position: relative; z-index: 2; }
.langs { display: flex; gap: .75rem; }
.langs--menu li + li::before { content: "/"; color: rgba(245, 239, 227, .3); margin-right: .15rem; }
.langs a { font-weight: 500; color: var(--gold); }
.langs a:hover { color: var(--cream); }
.header-cta {
  display: inline-flex; align-items: center; gap: .35em; white-space: nowrap;
  background: var(--gold); color: var(--navy); border-radius: 999px; padding: .5em 1.05em;
  font-size: clamp(.68rem, .85vw, 1rem); font-weight: 600; text-transform: uppercase; letter-spacing: .01em;
  transition: background-color .35s var(--ease);
}
.header-cta:hover { background: var(--cream); }
.langs a[aria-current] { color: var(--gold); }

.menu-toggle {
  display: none; align-items: center; gap: .75rem; background: none; border: 0; padding: .5rem 0; cursor: pointer;
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
}
.menu-toggle__bars { position: relative; width: 26px; height: 10px; }
.menu-toggle__bars i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-toggle__bars i:first-child { top: 0; }
.menu-toggle__bars i:last-child { top: 8.5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:first-child { top: 4.25px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:last-child { top: 4.25px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 1; background: var(--navy);
  padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-h));
  padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path .8s var(--ease-io);
  overflow-y: auto;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); }
.menu__pattern { position: absolute; inset: 0; background: url(../img/pattern-p.svg) 0 0 / 120px; opacity: .05; pointer-events: none; }
.menu__inner { position: relative; min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding-block: 2rem; }
.menu__list a {
  display: block; font-size: clamp(2.4rem, 9.5vw, 5.5rem); font-weight: 220; line-height: 1.05; letter-spacing: -.035em;
  padding-block: .1em; transition: color .3s, transform .5s var(--ease);
}
.menu__list a[aria-current] { color: var(--gold); }
.menu__list a:hover { color: var(--gold); transform: translateX(.15em); }
.menu__list li { opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i) * 55ms + 200ms); }
.menu.is-open .menu__list li { opacity: 1; transform: none; }
.menu__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; color: var(--muted-dark); font-size: .9rem; border-top: 1px solid var(--line-dark); padding-top: 1.25rem; }

/* ---------- Padrões com o monograma ---------- */
.hero__pattern, .phero__pattern, .quote__pattern, .values__pattern, .soon__pattern, .deliver__pattern {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url(../img/pattern-p.svg); background-size: 132px; opacity: .06;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 85% 30%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 60% at 85% 30%, #000 0%, transparent 70%);
}
.quote__pattern { -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%, transparent); mask-image: linear-gradient(90deg, transparent, #000 45%, transparent); opacity: .07; }
.values__pattern, .deliver__pattern { -webkit-mask-image: radial-gradient(ellipse 60% 80% at 0% 100%, #000, transparent 70%); mask-image: radial-gradient(ellipse 60% 80% at 0% 100%, #000, transparent 70%); }
.soon__pattern { background-image: url(../img/pattern-p-cream.svg); opacity: .09; }

/* ---------- Fotos (com espaço reservado para o ensaio) ---------- */
.photo { position: relative; aspect-ratio: var(--r, 4/5); max-width: 100%; width: 100%; overflow: hidden; background: var(--navy-2); }
.photo picture, .photo img { width: 100%; height: 100%; }
.photo img { object-fit: cover; }
.photo--ph .photo__ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  background:
    linear-gradient(160deg, rgba(70, 148, 208, .14), transparent 55%),
    url(../img/pattern-p-soft.svg) 0 0 / 96px,
    var(--navy-2);
  background-blend-mode: normal;
}
.photo--ph .photo__ph::before {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(201, 164, 100, .28); pointer-events: none;
}
.photo__mark { width: 30%; max-width: 160px; opacity: .55; }
.photo__mark .mark { fill: var(--gold); }
.photo__tag {
  position: absolute; left: 28px; bottom: 26px; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(245, 239, 227, .6); line-height: 1.6;
}
.band--cream .photo--ph .photo__ph, .band--ice .photo--ph .photo__ph {
  background: linear-gradient(160deg, rgba(201, 164, 100, .18), transparent 60%), url(../img/pattern-p-navy-soft.svg) 0 0 / 96px, #E7DECD;
}
.band--cream .photo__tag, .band--ice .photo__tag { color: var(--muted-light); }
.band--cream .photo__mark .mark, .band--ice .photo__mark .mark { fill: #8A6A2E; }
.band--green .photo--ph .photo__ph { background: linear-gradient(160deg, rgba(201, 164, 100, .16), transparent 60%), url(../img/pattern-p-soft.svg) 0 0 / 96px, #0F3F4A; }

/* ---------- Hero (home) ---------- */
.hero { padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + clamp(40px, 7vw, 110px)); padding-bottom: clamp(64px, 8vw, 120px); }
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: start; }
.hero__text { grid-column: 1 / span 9; grid-row: 1; position: relative; z-index: 2; padding-top: clamp(0px, 3vw, 48px); }
.hero__media { grid-column: 9 / span 4; grid-row: 1 / span 2; position: relative; margin-top: clamp(40px, 9vw, 150px); }
.hero__lede { margin-top: clamp(1.5rem, 3vw, 2.5rem); max-width: 44ch; }
.hero__facts {
  grid-column: 1 / span 7; grid-row: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem;
  margin-top: clamp(48px, 7vw, 104px); padding-top: 1.5rem; border-top: 1px solid var(--line);
}
.hero__facts dt { font-size: var(--fs-xs); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: .4rem; }
.hero__facts dd { margin: 0; color: var(--muted); font-size: .95rem; max-width: 30ch; }
.hero__mono { position: absolute; right: -6vw; bottom: -14vw; width: 52vw; max-width: 760px; opacity: .035; pointer-events: none; }
.hero__mono .mark { fill: var(--cream); }

.badge {
  position: absolute; left: clamp(-80px, -6vw, -40px); bottom: clamp(-60px, -4vw, -32px); width: clamp(116px, 11vw, 160px); aspect-ratio: 1;
  border-radius: 50%; background: var(--navy); display: grid; place-items: center; z-index: 3;
  box-shadow: 0 0 0 1px var(--line-dark);
}
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 32s linear infinite; }
.badge__ring text { fill: var(--cream); font-family: var(--font); font-size: 13.5px; font-weight: 400; letter-spacing: 2.6px; text-transform: uppercase; }
.badge__mark { width: 34%; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Page hero (internas) ---------- */
.phero { padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + clamp(40px, 7vw, 110px)); }
.phero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: start; }
.phero__text { grid-column: 1 / span 8; position: relative; z-index: 2; }
.phero__media { grid-column: 9 / span 4; margin-top: clamp(80px, 14vw, 220px); }
.phero__lede { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.phero--contact { padding-bottom: clamp(48px, 6vw, 96px); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding-block: clamp(8px, 1.5vw, 20px); margin-bottom: var(--band); border-block: 1px solid var(--line); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__row { display: flex; align-items: center; flex: none; }
.marquee__row span {
  font-size: clamp(3.2rem, 9vw, 8.5rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; white-space: nowrap;
  padding-inline: clamp(1.5rem, 3vw, 3rem);
}
.marquee--outline span { color: transparent; -webkit-text-stroke: 1px rgba(201, 164, 100, .55); }
.marquee--solid { margin-top: clamp(48px, 6vw, 96px); margin-bottom: 0; }
.marquee--solid span { color: var(--gold); font-weight: 250; }
.marquee__mark { width: clamp(28px, 3vw, 48px); flex: none; }
.marquee__mark .mark { fill: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Credenciais ---------- */
.creds { padding-top: clamp(24px, 3vw, 40px); }
.creds__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.creds__head { grid-column: 1 / span 5; align-self: start; position: sticky; top: calc(var(--header-h) + 40px); }
.creds__list { grid-column: 7 / span 6; }
.creds__item {
  display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); column-gap: 1.5rem;
  padding-block: clamp(1.5rem, 2.4vw, 2.25rem); border-top: 1px solid var(--line);
}
.creds__item:last-child { border-bottom: 1px solid var(--line); }
.creds__year { grid-row: 1 / span 3; color: var(--gold); font-size: var(--fs-s); font-weight: 500; letter-spacing: .08em; font-variant-numeric: tabular-nums; padding-top: .45rem; }
.creds__org { font-size: clamp(1.45rem, 2.2vw, 2rem); font-weight: 350; letter-spacing: -.015em; line-height: 1.15; }
.creds__role { color: var(--muted); margin-top: .5rem; max-width: 48ch; }
.creds__place { font-size: var(--fs-xs); letter-spacing: .18em; text-transform: uppercase; color: rgba(245, 239, 227, .45); margin-top: .75rem; }

/* ---------- Serviços (linhas editoriais) ---------- */
.services__head { margin-bottom: clamp(48px, 6vw, 96px); }
.services__head .h-xl { max-width: 17ch; }
.svc { border-bottom: 1px solid var(--line); }
.svc__row a {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 2.4fr) auto; align-items: center; column-gap: clamp(16px, 2.5vw, 40px);
  padding-block: clamp(1.75rem, 3.2vw, 3rem); border-top: 1px solid var(--line); position: relative;
}
.svc__row a::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--fg);
  transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease);
}
.svc__word {
  font-size: clamp(3rem, 8.6vw, 8.6rem); font-weight: 200; letter-spacing: -.045em; line-height: .95;
  transition: font-weight .6s var(--ease), transform .7s var(--ease), color .4s;
}
.svc__text { color: var(--muted); max-width: 36ch; }
.svc__for { font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); line-height: 1.8; }
.svc__arrow {
  width: clamp(48px, 5vw, 72px); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 1.35rem; transition: background-color .5s var(--ease), color .5s, transform .6s var(--ease), border-color .4s;
}
.svc__row a:hover::before, .svc__row a:focus-visible::before { transform: scaleX(1); }
.svc__row a:hover .svc__word, .svc__row a:focus-visible .svc__word { font-weight: 520; transform: translateX(.08em); color: var(--accent); }
.svc__row a:hover .svc__arrow, .svc__row a:focus-visible .svc__arrow { background: var(--fg); color: var(--bg); border-color: var(--fg); transform: rotate(45deg); }

/* ---------- Feature (FMUSP / Harvard / Karolinska) ---------- */
.feature__type {
  position: absolute; top: 50%; left: 0; transform: translateY(-50%);
  font-size: clamp(9rem, 30vw, 30rem); font-weight: 700; letter-spacing: -.06em; line-height: .8; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(245, 239, 227, .09); pointer-events: none;
}
.feature__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: start; }
.feature__media { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 32px); }
.feature__text { grid-column: 7 / span 6; }
.feature__blocks { margin-top: clamp(2rem, 4vw, 3.5rem); }
.feature__block { padding-block: 1.75rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 1.5rem; }
.feature__block h3 { font-size: 1.2rem; font-weight: 450; color: var(--gold); }
.feature__block p { color: rgba(245, 239, 227, .82); }

/* ---------- Citação ---------- */
.quote__fig { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.quote__mark { grid-column: 1 / span 2; width: clamp(56px, 6vw, 96px); margin-top: .6rem; }
.quote__fig blockquote { grid-column: 3 / span 9; }
.quote__fig blockquote p { font-size: clamp(1.9rem, 4.4vw, 4.4rem); font-weight: 220; line-height: 1.1; letter-spacing: -.03em; max-width: 24ch; }
.quote__fig figcaption { grid-column: 3 / span 9; margin-top: 2rem; color: var(--gold); font-size: var(--fs-s); letter-spacing: .2em; text-transform: uppercase; }

/* ---------- Contato (bloco) ---------- */
.contact-block__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.contact-block__intro { grid-column: 1 / span 5; }
.contact-block__intro .h-xl { max-width: 14ch; }
.contact-block__intro .lede { margin-top: 1.5rem; }
.contact-block__form { grid-column: 7 / span 6; }
.contact-list { margin-top: 2.5rem; display: grid; gap: 1rem; }
.contact-list li { display: flex; align-items: center; gap: .85rem; color: var(--fg); }
.contact-list .ms { color: var(--gold); }

/* ---------- Formulário ---------- */
.lead { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 1.5rem; }
.field { display: grid; gap: .45rem; min-width: 0; border: 0; padding: 0; margin: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: var(--fs-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding: 0; }
.field small { text-transform: none; letter-spacing: 0; opacity: .7; font-weight: 300; }
.field legend { margin-bottom: .45rem; }
.lead input[type="text"], .lead input[type="email"], .lead input[type="tel"], .lead select, .lead textarea {
  width: 100%; min-width: 0; background: transparent; border: 0; border-bottom: 1px solid rgba(245, 239, 227, .28);
  padding: .7rem 0; font-size: 1.1rem; font-weight: 300; color: var(--fg); border-radius: 0;
  transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.lead textarea { resize: vertical; min-height: 6.5rem; line-height: 1.5; }
.lead ::placeholder { color: rgba(245, 239, 227, .38); }
.lead input:focus, .lead select:focus, .lead textarea:focus { outline: none; border-color: var(--gold); }
.lead input:focus-visible, .lead select:focus-visible, .lead textarea:focus-visible { box-shadow: 0 1px 0 0 var(--gold); }
.lead select option { background: var(--navy-2); color: var(--cream); }
.lead [aria-invalid="true"] { border-color: var(--error) !important; }
.field__err { color: var(--error); font-size: .85rem; min-height: 0; }
.field__err:empty { display: none; }

.phone__row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .6fr) minmax(0, 1.6fr); gap: 1rem; }
.phone__country { position: relative; }
.phone__country select { padding-right: 1.75rem; cursor: pointer; text-overflow: ellipsis; }
.select__chev { position: absolute; right: 0; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--gold); }

.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.field .chip { position: relative; cursor: pointer; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--fg); font-weight: 400; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 0; padding: .62rem 1.1rem; border-radius: 999px;
  border: 1px solid rgba(245, 239, 227, .28); font-size: .95rem; transition: background-color .35s var(--ease), color .35s, border-color .35s;
}
.chip .ms { font-size: 1.05rem; width: 0; opacity: 0; transition: width .35s var(--ease), opacity .3s; }
.chip input:checked + span { background: var(--gold); color: var(--navy); border-color: var(--gold); gap: .4rem; padding-left: .85rem; }
.chip input:checked + span .ms { width: 1em; opacity: 1; }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.chip:hover span { border-color: var(--gold); }

.lead__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; margin-top: .5rem; }
.lead__privacy { font-size: .82rem; color: var(--muted); max-width: 40ch; }
.lead__status { font-size: .98rem; min-height: 1.5em; }
.lead__status.is-ok { color: var(--gold); }
.lead__status.is-err { color: var(--error); }
.lead.is-sent .field, .lead.is-sent .lead__foot { opacity: .35; pointer-events: none; transition: opacity .6s; }

/* ---------- Sobre: história ---------- */
.story__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: clamp(56px, 8vw, 120px); align-items: start; }
.story__head { grid-column: 1 / span 5; }
.story__body { grid-column: 7 / span 6; padding-top: .5rem; }
.story__media { grid-column: 1 / span 5; grid-row: 2; }
.story__pull { grid-column: 7 / span 6; grid-row: 2; align-self: center; }
.story__pullmark { width: 56px; margin-bottom: 1.5rem; }
.story__pullmark .mark { fill: #8A6A2E; }
.story__pull p { font-size: clamp(1.8rem, 3.6vw, 3.4rem); font-weight: 220; line-height: 1.12; letter-spacing: -.03em; max-width: 18ch; }

/* ---------- Valores ---------- */
.values__list { border-bottom: 1px solid var(--line); }
.values__item {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: center; column-gap: 2rem;
  padding-block: clamp(1rem, 2vw, 1.75rem); border-top: 1px solid var(--line);
}
.values__w {
  font-size: clamp(2.6rem, 8vw, 8rem); font-weight: 600; letter-spacing: -.045em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(245, 239, 227, .5);
  transition: color .6s var(--ease), -webkit-text-stroke-color .6s;
}
.values__item:hover .values__w { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
.values__item p { color: var(--muted); max-width: 34ch; }

/* ---------- Referências ---------- */
.refs__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.refs__list li { border-top: 1px solid var(--line); padding-top: 1.5rem; display: grid; gap: .75rem; }
.refs__n { font-size: clamp(1.6rem, 2.6vw, 2.4rem); font-weight: 280; letter-spacing: -.02em; line-height: 1.1; }
.refs__p { color: var(--muted); }

/* ---------- Currículo ---------- */
.cv__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.cv__head { grid-column: 1 / span 4; align-self: start; position: sticky; top: calc(var(--header-h) + 40px); }
.cv__cols { grid-column: 6 / span 7; display: grid; gap: clamp(48px, 6vw, 80px); }
.cv__h { font-size: var(--fs-xs); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 1rem; }
.tl__item { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); column-gap: 1.5rem; padding-block: 1.1rem; border-top: 1px solid var(--line); }
.tl__y { grid-row: 1 / span 2; color: var(--gold); font-size: var(--fs-s); font-variant-numeric: tabular-nums; padding-top: .15rem; }
.tl__t { font-size: 1.15rem; font-weight: 400; }
.tl__o { color: var(--muted); font-size: .95rem; }

/* ---------- Palestras ---------- */
.stages { padding-bottom: clamp(48px, 6vw, 96px); }
.stages__grid .h-l { max-width: 24ch; }
.topics__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.topics__head { grid-column: 1 / span 4; align-self: start; position: sticky; top: calc(var(--header-h) + 40px); }
.topics__note { margin-top: 1.5rem; color: var(--muted); max-width: 30ch; }
.topics__list { grid-column: 6 / span 7; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
.topics__item { padding-block: 1.75rem 2.25rem; border-top: 1px solid var(--line); }
.topics__mark { width: 22px; margin-bottom: 1.25rem; }
.topics__mark .mark { fill: #8A6A2E; }
.topics__item h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 400; letter-spacing: -.015em; line-height: 1.15; margin-bottom: .6rem; }
.topics__item p { color: var(--muted); }

.formats__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: center; }
.formats__media { grid-column: 1 / span 6; }
.formats__grid > div:last-child { grid-column: 8 / span 5; }
.formats__list div { padding-block: 1.25rem; border-top: 1px solid var(--line); }
.formats__list dt { font-size: 1.35rem; font-weight: 400; }
.formats__list dd { margin: .25rem 0 0; color: var(--muted); }
.formats__langs { display: flex; align-items: center; gap: .6rem; margin-top: 1.75rem; font-size: var(--fs-s); letter-spacing: .06em; color: var(--muted); }

/* ---------- Processo ---------- */
.steps__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); counter-reset: s; }
.steps__item { border-top: 1px solid var(--line); padding-top: 1.5rem; position: relative; }
.steps__item::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.steps__n { display: block; font-size: clamp(3rem, 5vw, 4.6rem); font-weight: 180; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; margin-bottom: 1.25rem; letter-spacing: -.04em; }
.steps__item h3 { font-size: 1.3rem; font-weight: 400; margin-bottom: .4rem; }
.steps__item p { color: var(--muted); }

/* ---------- Listas grandes ---------- */
.audience__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.audience__grid > .eyebrow { grid-column: 1 / span 3; align-self: start; padding-top: 1.6rem; }
.audience__grid > .bigList { grid-column: 4 / span 9; }
.bigList { border-bottom: 1px solid var(--line); }
.bigList li {
  font-size: clamp(1.5rem, 3.2vw, 2.9rem); font-weight: 260; letter-spacing: -.025em; line-height: 1.15;
  padding-block: clamp(1rem, 1.8vw, 1.5rem); border-top: 1px solid var(--line);
  display: flex; gap: 1.25rem; align-items: baseline;
}
.bigList li::before { content: ""; width: .32em; height: .32em; border-radius: 50%; border: 1px solid var(--accent); flex: none; transform: translateY(-.15em); }

/* ---------- Cursos ---------- */
.offers__head { margin-bottom: clamp(48px, 6vw, 88px); }
.offers__head .h-xl { max-width: 18ch; }
.offers__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.offers__item { padding: 2rem clamp(20px, 2.5vw, 40px) 2.5rem; border-left: 1px solid var(--line); }
.offers__item:first-child { border-left: 0; padding-left: 0; }
.offers__item h3 { font-size: clamp(1.45rem, 2.2vw, 2rem); font-weight: 350; letter-spacing: -.02em; line-height: 1.12; margin: 1.25rem 0 .75rem; }
.offers__item p { color: var(--muted); }
.tag { display: inline-block; padding: .35rem .75rem; border-radius: 999px; border: 1px solid var(--line); font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.tag--gold { background: var(--gold); color: var(--navy); border-color: var(--gold); margin-bottom: 1.75rem; }
.soon__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: end; }
.soon__grid > div { grid-column: 1 / span 7; }
.soon__grid .lede { margin-top: 1.5rem; color: rgba(245, 239, 227, .8); }
.soon__topics { grid-column: 9 / span 4; }
.soon__topics li { padding-block: 1rem; border-top: 1px solid var(--line); font-size: 1.1rem; }

/* ---------- Grades ---------- */
.exp__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.exp__head { grid-column: 1 / span 5; align-self: start; position: sticky; top: calc(var(--header-h) + 40px); }
.exp__list { grid-column: 7 / span 6; }
.exp__list li { padding-block: 1.75rem; border-top: 1px solid var(--line); }
.exp__list li:last-child { border-bottom: 1px solid var(--line); }
.exp__list h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 400; letter-spacing: -.015em; margin-bottom: .5rem; }
.exp__list p { color: var(--muted); max-width: 52ch; }
.deliver__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: center; }
.deliver__media { grid-column: 1 / span 5; }
.deliver__grid > div:last-child { grid-column: 7 / span 6; }

/* ---------- Página de contato ---------- */
.contact-page { padding-top: clamp(56px, 7vw, 104px); }
.contact-page__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 64px; }
.channels { grid-column: 1 / span 5; }
.contact-page__form { grid-column: 7 / span 6; }
.contact-page__form .h-l { margin-bottom: 2rem; }
.channels__item { padding-block: 1.6rem; border-top: 1px solid var(--line); }
.channels__item dt { display: flex; align-items: center; gap: .6rem; font-size: var(--fs-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: .75rem; }
.channels__item dd { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.channels__big { font-size: clamp(1.35rem, 2.6vw, 2.3rem); font-weight: 280; letter-spacing: -.02em; overflow-wrap: anywhere; }
.channels__mid { font-size: 1.3rem; font-weight: 300; }
.channels__sub { width: 100%; color: var(--muted); }
.channels__social a { font-size: 1.3rem; font-weight: 300; border-bottom: 1px solid var(--gold); transition: color .3s; }
.channels__social a:hover { color: var(--gold); }
.copy-btn { display: inline-flex; align-items: center; gap: .4rem; background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: .4rem .8rem; font-size: .8rem; cursor: pointer; transition: color .3s, border-color .3s; }
.copy-btn:hover { color: var(--gold); border-color: var(--gold); }
.contact-page__mono { position: absolute; left: -8vw; bottom: -12vw; width: 40vw; max-width: 560px; opacity: .04; pointer-events: none; }
.contact-page__mono .mark { fill: var(--cream); }
.copyable { -webkit-user-select: all; user-select: all; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--navy); color: var(--cream); padding-top: clamp(48px, 5vw, 96px); padding-bottom: max(32px, env(safe-area-inset-bottom, 0px)); overflow: clip; border-top: 1px solid var(--line-dark); }
.site-footer__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; padding-bottom: clamp(56px, 7vw, 104px); }
.site-footer__claim { font-size: clamp(2.8rem, 7.6vw, 7.6rem); font-weight: 220; line-height: .95; letter-spacing: -.045em; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(24px, 3vw, 48px); padding-block: 0 3rem; position: relative; z-index: 1; }
.site-footer__logo { width: min(260px, 100%); }
.site-footer__logo .word { fill: var(--cream); }
.site-footer__based { margin-top: 1.25rem; color: var(--muted-dark); }
.site-footer__h { font-size: var(--fs-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 1rem; }
.site-footer ul { display: grid; gap: .55rem; }
.site-footer ul a { color: rgba(245, 239, 227, .8); transition: color .3s; }
.site-footer ul a:hover, .site-footer ul a[aria-current] { color: var(--gold); }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); font-size: .82rem; color: var(--muted-dark); position: relative; z-index: 1; }
.site-footer__base a { border-bottom: 1px solid var(--line-dark); }
.site-footer__mono { position: absolute; right: -4vw; bottom: -10vw; width: 36vw; max-width: 520px; opacity: .04; pointer-events: none; }
.site-footer__mono .mark { fill: var(--cream); }

/* ---------- Animações ---------- */
@media (prefers-reduced-motion: no-preference) {
  .display .line > span { animation: rise 1.15s var(--ease) both; animation-delay: calc(var(--i) * 95ms + 120ms); }
  .hero__eyebrow, .phero .eyebrow { animation: fade 1s var(--ease) both .05s; }
  .hero__lede, .phero__lede, .hero .actions, .phero .actions { animation: fadeUp 1.1s var(--ease) both .5s; }
  .hero__media .photo, .phero__media .photo { animation: unveil 1.5s var(--ease-io) both .25s; }
  .badge { animation: pop 1s var(--ease) both 1.1s; }

  .js .reveal { transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
  .js .reveal.is-pre { opacity: 0; transform: translateY(44px); }
  .js .reveal .photo { transition: clip-path 1.4s var(--ease-io); clip-path: inset(0 0 0 0); }
  .js .reveal.is-pre .photo { clip-path: inset(18% 8% 18% 8%); }
  .js .reveal .photo img { transition: transform 1.8s var(--ease); }
  .js .reveal.is-pre .photo img { transform: scale(1.15); }

  @supports (animation-timeline: view()) {
    .hero__mono { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    .feature__type { animation: slide linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    .marquee--outline { animation: tilt linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
    @keyframes drift { from { transform: translateY(-8%) rotate(-4deg); } to { transform: translateY(14%) rotate(6deg); } }
    @keyframes slide { from { transform: translate(8%, -50%); } to { transform: translate(-28%, -50%); } }
    @keyframes tilt { from { opacity: .3; letter-spacing: .1em; } to { opacity: 1; letter-spacing: 0; } }
  }

  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vtOut .45s var(--ease-io) both; }
  ::view-transition-new(root) { animation: vtIn .75s var(--ease) both .1s; }
}
@keyframes rise { from { transform: translateY(108%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } }
@keyframes unveil { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
@keyframes pop { from { transform: scale(.6) rotate(-30deg); opacity: 0; } }
@keyframes vtOut { to { opacity: 0; transform: translateY(-2%); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(3%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__track { animation: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1000px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header__tools { margin-left: auto; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .hero__grid, .phero__grid, .creds__grid, .feature__grid, .quote__fig, .contact-block__grid, .story__grid,
  .cv__grid, .topics__grid, .formats__grid, .audience__grid, .soon__grid, .exp__grid, .deliver__grid, .contact-page__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero__grid > *, .phero__grid > *, .creds__grid > *, .feature__grid > *, .quote__fig > *, .contact-block__grid > *, .story__grid > *,
  .cv__grid > *, .topics__grid > *, .formats__grid > *, .audience__grid > *, .soon__grid > *, .exp__grid > *, .deliver__grid > *, .contact-page__grid > * {
    grid-column: 1 / -1 !important; grid-row: auto !important;
  }
  .hero__media { margin-top: 48px; width: 82%; margin-left: auto; }
  .hero__facts { margin-top: 64px; }
  .badge { left: -10%; }
  .phero__media { margin-top: 48px; width: 78%; margin-left: auto; }
  .creds__head, .cv__head, .topics__head, .exp__head, .feature__media { position: static; }
  .creds__head, .topics__head, .exp__head, .cv__head { margin-bottom: 40px; }
  .feature__media { width: 82%; margin-bottom: 56px; }
  .feature__block { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .quote__mark { margin-bottom: 1.5rem; }
  .contact-block__form, .contact-page__form { margin-top: 56px; }
  .story__grid { row-gap: 56px; }
  .formats__media, .deliver__media { margin-bottom: 48px; }
  .audience__grid > .eyebrow { padding-top: 0; }
  .svc__row a { grid-template-columns: minmax(0, 1fr) auto; row-gap: .9rem; }
  .svc__word { grid-column: 1; }
  .svc__arrow { grid-column: 2; grid-row: 1; }
  .svc__text, .svc__for { grid-column: 1 / -1; }
  .steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offers__list { grid-template-columns: minmax(0, 1fr); }
  .offers__item, .offers__item:first-child { border-left: 0; border-top: 1px solid var(--line); padding-inline: 0; }
  .refs__list { grid-template-columns: minmax(0, 1fr); }
  .values__item { grid-template-columns: minmax(0, 1fr); row-gap: .5rem; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid > div:first-child { grid-column: 1 / -1; }
  .soon__topics { margin-top: 48px; }
}

@media (max-width: 600px) {
  .header-cta { display: none; }
  .langs { display: none; }
  .menu .langs { display: flex; }
  .lead { grid-template-columns: minmax(0, 1fr); }
  .phone__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .phone__country { grid-column: 1 / -1; }
  .topics__list { grid-template-columns: minmax(0, 1fr); }
  .steps__list { grid-template-columns: minmax(0, 1fr); }
  .hero__facts { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .creds__item { grid-template-columns: minmax(0, 1fr); }
  .creds__year { grid-row: auto; padding-top: 0; margin-bottom: .4rem; }
  .tl__item { grid-template-columns: minmax(0, 1fr); }
  .tl__y { grid-row: auto; }
  .hero__media, .phero__media, .feature__media { width: 88%; }
  .badge { width: 104px; left: -8%; bottom: -36px; }
  .badge__ring text { font-size: 15px; }
  .btn { padding: .9rem 1.2rem .9rem 1.35rem; }
}

/* =========================================================================
   HOME — layout do print de referência (Web 1920)
   ========================================================================= */
.inset {
  position: relative; z-index: 1;
  padding-left: max(var(--inset), env(safe-area-inset-left, 0px));
  padding-right: max(var(--inset), env(safe-area-inset-right, 0px));
}
.sec-title { font-size: clamp(1.4rem, 1.95vw, 2.4rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.pill {
  display: inline-flex; align-items: center; justify-content: center; border-radius: 999px;
  padding: .55em 1.2em; font-size: clamp(1rem, 1.45vw, 1.7rem); font-weight: 600; text-transform: uppercase; letter-spacing: .005em; line-height: 1.2;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.pill--outline { border: 1.5px solid rgba(245, 239, 227, .75); color: var(--cream); }
.pill--outline:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.pill--gold { background: var(--gold); color: var(--navy); }
.pill--gold:hover { background: var(--navy); color: var(--cream); }
.link-arrow { font-weight: 600; font-size: clamp(.95rem, 1.2vw, 1.4rem); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .22em; white-space: nowrap; transition: color .3s; }
.link-arrow:hover { color: #8A6A2E; }

/* Hero com foto de fundo */
.top { position: relative; display: grid; align-items: center; min-height: clamp(560px, 48vw, 960px); background: var(--navy); overflow: hidden; color: var(--cream); }
.top__bg, .top__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.top__bg img { object-fit: cover; object-position: 70% 30%; }
.top__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 18, 32, .55) 0%, rgba(10, 18, 32, 0) 24%),
    linear-gradient(90deg, rgba(10, 18, 32, .62) 0%, rgba(10, 18, 32, .3) 42%, rgba(10, 18, 32, 0) 62%);
}
.top__inner {
  position: relative; z-index: 1;
  padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 2rem); padding-bottom: 3rem;
  padding-left: max(var(--inset), env(safe-area-inset-left, 0px));
  padding-right: max(var(--edge), env(safe-area-inset-right, 0px));
}
.top__text { max-width: min(36rem, 46vw); max-width: 18.5em; font-size: clamp(1.7rem, 2.95vw, 3.6rem); }
.top__title { font-size: 1em; font-weight: 600; line-height: 1.22; letter-spacing: -.012em; text-shadow: 0 1px 24px rgba(10, 18, 32, .35); }
.top__lede, .top .pill { margin-left: 1.6em; font-size: clamp(1rem, 1.45vw, 1.75rem); }
.top__lede { font-weight: 400; line-height: 1.42; max-width: 19em; margin-top: .45em; color: var(--cream); text-wrap: pretty; }
.top .pill { margin-top: 1.4em; }
@media (prefers-reduced-motion: no-preference) {
  .top__bg img { animation: heroZoom 2.4s var(--ease) both; }
  .top__title { animation: fadeUp 1.1s var(--ease) both .2s; }
  .top__lede { animation: fadeUp 1.1s var(--ease) both .4s; }
  .top .pill { animation: fadeUp 1.1s var(--ease) both .6s; }
}
@keyframes heroZoom { from { transform: scale(1.08); } }

/* Faixa de logos */
.logos { background: var(--navy-2); padding-block: clamp(28px, 3.4vw, 64px); }
.logos__list {
  display: flex; align-items: center; justify-content: space-between; gap: clamp(16px, 2.4vw, 48px);
  padding-left: max(var(--edge), env(safe-area-inset-left, 0px)); padding-right: max(var(--edge), env(safe-area-inset-right, 0px));
}
.logos__list li { flex: 0 1 auto; min-width: 0; }
.logos__list img { height: clamp(34px, 3.9vw, 76px); width: auto; max-width: 100%; opacity: .92; transition: opacity .3s; }
.logos__list img:hover { opacity: 1; }

/* Agenda */
.agenda { background: var(--cream); color: var(--ink); padding-block: clamp(56px, 6vw, 120px); }
.agenda__head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem;
  margin-bottom: clamp(1rem, 1.6vw, 1.75rem);
  padding-left: max(var(--inset), env(safe-area-inset-left, 0px)); padding-right: max(var(--inset), env(safe-area-inset-right, 0px));
}
.agenda__list {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(8px, .75vw, 16px);
  padding-left: max(var(--edge), env(safe-area-inset-left, 0px)); padding-right: max(var(--edge), env(safe-area-inset-right, 0px));
}
.agenda__item > a, .agenda__item > div { display: block; }
.agenda__img { aspect-ratio: 16 / 9; max-width: 100%; border-radius: clamp(10px, 1vw, 18px); overflow: hidden; background: var(--green); }
.agenda__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.agenda__item a:hover .agenda__img img { transform: scale(1.05); }
.agenda__date { margin-top: clamp(.9rem, 1.4vw, 1.6rem); font-size: clamp(.95rem, 1.15vw, 1.35rem); font-weight: 400; font-variant-numeric: tabular-nums; }
.agenda__title { font-size: clamp(1.3rem, 1.95vw, 2.4rem); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }

/* Sobre mim (biografia) */
.bio { display: grid; grid-template-columns: minmax(0, 57.5fr) minmax(0, 42.5fr); background: var(--white); color: var(--ink); }
.bio__text { align-self: center; padding-block: clamp(56px, 7vw, 140px); padding-left: max(var(--inset), env(safe-area-inset-left, 0px)); padding-right: clamp(24px, 5vw, 96px); }
.bio__name { font-size: clamp(2.2rem, 3.1vw, 3.9rem); font-weight: 300; line-height: 1.1; letter-spacing: -.015em; margin: .35em 0 .45em; }
.bio__p { font-size: clamp(1rem, 1.35vw, 1.6rem); font-weight: 400; line-height: 1.45; max-width: 26em; }
.bio .pill { margin-top: 1.4em; }
.bio__media { position: relative; min-height: clamp(420px, 42vw, 820px); background: #E7DECD; overflow: hidden; }
.bio__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

/* Credenciais */
.cred { background: var(--navy-2); color: var(--cream); padding-block: clamp(64px, 6.2vw, 128px); }
.cred__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); column-gap: clamp(24px, 4vw, 80px); padding-right: max(var(--edge), env(safe-area-inset-right, 0px)); }
.cred__head { align-self: start; position: sticky; top: calc(var(--header-h) + 32px); }
.cred__title { font-size: clamp(2rem, 3vw, 3.7rem); font-weight: 600; line-height: 1.08; letter-spacing: -.015em; margin-top: .8em; max-width: 11.5em; }
.cred__list { display: grid; gap: clamp(1.75rem, 2.6vw, 3rem); }
.cred__item { display: grid; grid-template-columns: clamp(4rem, 7.2vw, 8.5rem) minmax(0, 1fr); font-size: clamp(1rem, 1.3vw, 1.55rem); line-height: 1.38; }
.cred__year { color: var(--gold); font-weight: 300; font-variant-numeric: tabular-nums; }
.cred__org { font-size: 1em; font-weight: 600; line-height: 1.3; }
.cred__role { font-weight: 400; margin-top: .2em; max-width: 22em; }
.cred__place { color: var(--sky-soft); margin-top: .45em; }

/* Serviços e citação na home */
.services--home .services__head .h-xl { max-width: 22ch; }
.services--home .svc__text, .services--home .svc__for { color: var(--muted-light); }

@media (max-width: 1000px) {
  .logos__list { flex-wrap: wrap; justify-content: center; gap: 24px 36px; }
  .logos__list img { height: 40px; }
}
@media (max-width: 900px) {
  .top { align-items: end; min-height: clamp(560px, 150vw, 820px); }
  .top__bg img { object-position: 50% 20%; }
  .top__shade { background: linear-gradient(180deg, rgba(10, 18, 32, .55) 0%, rgba(10, 18, 32, 0) 25%, rgba(10, 18, 32, 0) 40%, rgba(10, 18, 32, .88) 78%); }
  .top__text { max-width: none; font-size: clamp(1.6rem, 6.4vw, 2.4rem); }
  .top__lede, .top .pill { margin-left: 0; font-size: 1.05rem; }
  .agenda__list { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--edge), env(safe-area-inset-left, 0px)); padding-bottom: 8px; scrollbar-width: thin; }
  .agenda__item { scroll-snap-align: start; }
  .agenda--page .agenda__list { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); overflow: visible; }
  .bio { grid-template-columns: minmax(0, 1fr); }
  .bio__text { padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .bio__media { min-height: 0; aspect-ratio: 6 / 7; }
  .cred__grid { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .cred__head { position: static; }
}

/* ---------- Logos em marquee infinito ---------- */
.logos { overflow: hidden; }
.logos__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.logos .logos__list { flex: none; justify-content: flex-start; flex-wrap: nowrap; gap: 0; padding: 0; }
.logos .logos__list li { flex: none; padding-inline: clamp(24px, 3.2vw, 64px); }
.logos .logos__list img { height: clamp(36px, 3.9vw, 76px); max-width: none; }
.logos { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
@media (prefers-reduced-motion: reduce) { .logos__track { animation: none; } .logos { overflow-x: auto; } }

/* ---------- Redes sociais ---------- */
.social { display: flex; gap: .75rem; }
.social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-dark); color: var(--cream); transition: background-color .35s var(--ease), color .35s, border-color .35s;
}
.social a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.social svg { width: 20px; height: 20px; }
.social--contact a { width: 52px; height: 52px; }
.social--contact svg { width: 22px; height: 22px; }
.site-footer .social { margin-top: 1rem; display: flex; gap: .75rem; }
.site-footer__contact { color: var(--gold) !important; font-weight: 500; }

/* ---------- Fechamento (CTA) das páginas novas ---------- */
.closing__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem clamp(24px, 4vw, 80px); align-items: end; }
.closing .lede { margin-bottom: 1.5rem; }
.closing .pill { font-size: clamp(.95rem, 1.2vw, 1.3rem); }

/* ---------- Equipe ---------- */
.team__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3rem clamp(16px, 2vw, 32px); }
.team__img { aspect-ratio: 4 / 5; max-width: 100%; border-radius: clamp(10px, 1vw, 18px); overflow: hidden; background: var(--navy-2); }
.team__img img { width: 100%; height: 100%; object-fit: cover; }
.team__name { font-size: clamp(1.2rem, 1.5vw, 1.7rem); font-weight: 600; margin-top: 1.1rem; line-height: 1.2; }
.team__role { color: #8A6A2E; font-size: .95rem; margin-top: .2rem; }
.team__bio { color: var(--muted); margin-top: .6rem; font-size: .98rem; }

/* ---------- Projetos ---------- */
.proj__list { display: grid; gap: clamp(48px, 6vw, 104px); }
.proj__item { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 80px); align-items: center; }
.proj__item:nth-child(even) .proj__img { order: 2; }
.proj__img { aspect-ratio: 3 / 2; max-width: 100%; border-radius: clamp(10px, 1vw, 18px); overflow: hidden; background: var(--green); }
.proj__img img { width: 100%; height: 100%; object-fit: cover; }
.proj__tag { display: inline-block; font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; color: #8A6A2E; font-weight: 600; }
.proj__title { font-size: clamp(1.6rem, 2.6vw, 3rem); font-weight: 600; line-height: 1.1; letter-spacing: -.015em; margin: .5rem 0 .9rem; }
.proj__text p { color: var(--muted); font-size: clamp(1rem, 1.2vw, 1.25rem); max-width: 34em; }

/* ---------- Publicações ---------- */
.pubs__item { display: grid; grid-template-columns: clamp(4rem, 8vw, 9rem) minmax(0, 1fr) auto; gap: 1.5rem; padding-block: clamp(1.5rem, 2.4vw, 2.5rem); border-top: 1px solid var(--line); align-items: start; }
.pubs__item:last-child { border-bottom: 1px solid var(--line); }
.pubs__year { font-size: clamp(1.4rem, 2.2vw, 2.6rem); font-weight: 200; color: #8A6A2E; font-variant-numeric: tabular-nums; line-height: 1; }
.pubs__type { font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.pubs__title { font-size: clamp(1.25rem, 1.9vw, 2.1rem); font-weight: 500; line-height: 1.2; letter-spacing: -.01em; margin: .35rem 0 .6rem; max-width: 36em; }
.pubs__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.pubs__title a:hover { background-size: 100% 1px; }
.pubs__venue { font-weight: 500; }
.pubs__authors { color: var(--muted); font-size: .95rem; margin-top: .2rem; }
.pubs__open { white-space: nowrap; font-weight: 600; border: 1px solid var(--line); border-radius: 999px; padding: .5em 1em; font-size: .9rem; transition: background-color .3s, color .3s; }
.pubs__open:hover { background: var(--ink); color: var(--cream); }
.pubs__note { margin-top: 2rem; color: var(--muted); font-size: .95rem; }

@media (max-width: 900px) {
  .team__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proj__item { grid-template-columns: minmax(0, 1fr); }
  .proj__item:nth-child(even) .proj__img { order: 0; }
  .closing__grid { grid-template-columns: minmax(0, 1fr); }
  .pubs__item { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .pubs__open { justify-self: start; }
}
@media (max-width: 480px) { .team__list { grid-template-columns: minmax(0, 1fr); } }

/* Abertura das páginas internas alinhada ao logo do header */
.phero > .wrap { max-width: none; padding-left: max(var(--edge), env(safe-area-inset-left, 0px)); padding-right: max(var(--edge), env(safe-area-inset-right, 0px)); }

/* =========================================================================
   Revisão de hierarquia (rodada 3) — um só sistema para rótulos, títulos,
   textos, campos e botões em todo o site.
   Rótulo de seção  → negrito, caixa normal (como "Credenciais" no print)
   Título           → h-xl/h-l leves; títulos de destaque (credenciais) em 600
   Texto de apoio   → .lede 400, cor secundária
   Botões           → primário dourado · secundário contorno · terciário link
   ========================================================================= */
body { font-weight: 400; }
.lede { font-weight: 400; font-size: clamp(1.05rem, 1.3vw, 1.45rem); line-height: 1.55; }
.prose p { font-weight: 400; }

/* Rótulos de seção */
.eyebrow, .eyebrow--gold {
  font-size: clamp(1.05rem, 1.35vw, 1.6rem); font-weight: 600; letter-spacing: -.005em; text-transform: none;
  color: var(--fg); margin-bottom: clamp(.75rem, 1.4vw, 1.25rem);
}
.eyebrow::before { display: none; }
.sec-title { font-size: clamp(1.05rem, 1.35vw, 1.6rem); }
.agenda .sec-title { font-size: clamp(1.4rem, 1.95vw, 2.4rem); }

/* Títulos */
.h-xl { font-size: clamp(2rem, 4vw, 4.4rem); font-weight: 300; line-height: 1.06; }
.h-l  { font-size: clamp(1.6rem, 2.6vw, 2.9rem); font-weight: 300; line-height: 1.12; }

/* Botões */
.btn {
  text-transform: uppercase; font-weight: 600; letter-spacing: .02em;
  font-size: clamp(.85rem, .95vw, 1.05rem); padding: .95em 1.4em .95em 1.6em; gap: .55em;
}
.btn--line { text-transform: none; letter-spacing: 0; font-size: clamp(.95rem, 1.1vw, 1.2rem); padding: .3em 0; }
.pill--md { font-size: clamp(.85rem, 1vw, 1.1rem); padding: .95em 1.6em; gap: .5em; letter-spacing: .02em; }
.pill { gap: .5em; }

/* Campos do formulário */
.field label, .field legend {
  font-size: .8rem; letter-spacing: .12em; font-weight: 500; color: rgba(245, 239, 227, .78);
}
.field small { opacity: .8; }
.lead input[type="text"], .lead input[type="email"], .lead input[type="tel"], .lead select, .lead textarea {
  font-weight: 400; font-size: 1.1rem; border-bottom-color: rgba(245, 239, 227, .38);
}
.lead ::placeholder { color: rgba(245, 239, 227, .5); }
.lead__privacy { font-size: .85rem; }

/* Chips "Tenho interesse em": legíveis antes de selecionar e check centralizado */
.field .chip { color: var(--cream); }
.chip span {
  display: inline-flex; align-items: center; gap: .6rem; padding: .7rem 1.2rem .7rem .9rem;
  border: 1px solid rgba(245, 239, 227, .5); background: rgba(245, 239, 227, .06);
  color: var(--cream); font-size: 1rem; font-weight: 500; line-height: 1;
}
.chip__box {
  position: relative; flex: none; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  border: 1.5px solid rgba(245, 239, 227, .7); display: grid; place-items: center;
  transition: background-color .3s var(--ease), border-color .3s;
}
.chip__box::after {
  content: ""; width: .32rem; height: .6rem; border: solid var(--navy); border-width: 0 2px 2px 0;
  transform: translateY(-1px) rotate(45deg) scale(0); transition: transform .3s var(--ease);
}
.chip:hover span { border-color: var(--gold); background: rgba(201, 164, 100, .12); }
.chip input:checked + span { background: var(--gold); color: var(--navy); border-color: var(--gold); padding-left: .9rem; gap: .6rem; }
.chip input:checked + span .chip__box { background: var(--navy); border-color: var(--navy); }
.chip input:checked + span .chip__box::after { border-color: var(--gold); transform: translateY(-1px) rotate(45deg) scale(1); }

/* Quatro maneiras: palavra nunca invade o texto */
.svc__row a {
  grid-template-columns: max-content minmax(0, 1fr) auto;
  grid-template-areas: "word text arrow" "word for arrow";
  column-gap: clamp(24px, 4vw, 80px); row-gap: .6rem; align-items: center;
}
.svc__word { grid-area: word; font-size: clamp(2.6rem, 5.4vw, 6.25rem); }
.svc__text { grid-area: text; align-self: end; max-width: 34em; font-size: clamp(1rem, 1.1vw, 1.2rem); }
.svc__for  { grid-area: for; align-self: start; font-size: .75rem; }
.svc__arrow { grid-area: arrow; }
@media (max-width: 1200px) {
  .svc__row a { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "word arrow" "text text" "for for"; }
  .svc__text { align-self: start; }
}

/* Credenciais: botão para a trajetória */
.cred__more { grid-column: 2; margin-top: clamp(2rem, 3vw, 3rem); }
@media (max-width: 900px) { .cred__more { grid-column: 1; } }

/* Sobre mim: chamada para a equipe */
.team-cta__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem clamp(24px, 4vw, 80px); align-items: end; }
.team-cta .lede { margin-bottom: 1.5rem; }
@media (max-width: 900px) { .team-cta__grid { grid-template-columns: minmax(0, 1fr); } }

/* Quatro maneiras: colunas alinhadas entre as linhas (subgrid) */
.svc { display: grid; grid-template-columns: max-content minmax(0, 1fr) auto; column-gap: clamp(24px, 4vw, 80px); }
.svc__row { display: contents; }
.svc__row a {
  grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; grid-template-areas: none;
  grid-template-rows: auto auto; row-gap: .6rem; column-gap: inherit;
}
.svc__word  { grid-column: 1; grid-row: 1 / span 2; }
.svc__text  { grid-column: 2; grid-row: 1; }
.svc__for   { grid-column: 2; grid-row: 2; }
.svc__arrow { grid-column: 3; grid-row: 1 / span 2; }
@supports not (grid-template-columns: subgrid) {
  .svc__row a { grid-template-columns: minmax(0, 11ch) minmax(0, 1fr) auto; }
}
@media (max-width: 1200px) {
  .svc { grid-template-columns: minmax(0, 1fr); }
  .svc__row a { grid-template-columns: minmax(0, 1fr) auto; }
  .svc__word  { grid-column: 1; grid-row: 1; }
  .svc__arrow { grid-column: 2; grid-row: 1; }
  .svc__text  { grid-column: 1 / -1; grid-row: 2; }
  .svc__for   { grid-column: 1 / -1; grid-row: 3; }
}

/* Margens: todas as faixas alinhadas ao logo do header */
.wrap { max-width: none; padding-left: max(var(--edge), env(safe-area-inset-left, 0px)); padding-right: max(var(--edge), env(safe-area-inset-right, 0px)); }


/* =========================================================================
   Rodada 4
   ========================================================================= */

/* Header: só o monograma, links nunca quebram, hambúrguer automático (JS) */
.brand__mono { width: clamp(44px, 3.4vw, 64px); height: auto; display: block; }
.brand__mono .mark { fill: var(--gold); }
.nav__list a { white-space: nowrap; }
.nav { flex: 0 1 auto; min-width: 0; }
.site-header__tools { flex: none; }
.site-header.is-compact .nav { display: none; }
.site-header.is-compact .menu-toggle { display: inline-flex; }
.site-header.is-compact .site-header__tools { margin-left: auto; }

/* Redes sociais: contraste no hover em qualquer contexto */
.social a:hover, .social a:focus-visible,
.site-footer .social a:hover, .site-footer .social a:focus-visible {
  background: var(--gold); border-color: var(--gold); color: var(--navy);
}
.social a:hover svg, .social a:focus-visible svg { color: var(--navy); }

/* Home: hero com o nome, mesmo peso e entrada das páginas internas */
.top__text { max-width: none; font-size: inherit; }
.top .top__title { font-size: var(--fs-display); font-weight: 220; line-height: .93; letter-spacing: -.04em; animation: none; }
.top .top__title em { color: var(--gold); font-weight: 560; }
.top__lede, .top .pill { margin-left: 0; }
.top__lede { font-size: clamp(1.15rem, 1.6vw, 1.9rem); font-weight: 400; max-width: 22em; margin-top: clamp(1rem, 1.8vw, 1.75rem); }
.top .pill { font-size: clamp(.95rem, 1.15vw, 1.3rem); margin-top: clamp(1.5rem, 2.4vw, 2.5rem); }
@media (max-width: 900px) { .top .top__title { font-size: clamp(3rem, 15vw, 5rem); } .top__lede { font-size: 1.1rem; } }

/* Newsletter (acima do rodapé, em todas as páginas) */
.nl { position: relative; overflow: hidden; background: var(--green); color: var(--cream); padding-block: clamp(64px, 7vw, 128px); --fg: var(--cream); --muted: #C3D4D6; }
.nl__pattern { position: absolute; inset: 0; background: url(../img/pattern-p-cream.svg) 0 0 / 120px; opacity: .06; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); }
.nl__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem clamp(32px, 5vw, 96px); align-items: end; }
.nl .lede { margin-top: 1rem; color: var(--muted); }
.nl__fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; gap: .75rem; }
.nl__fields input {
  min-width: 0; width: 100%; background: rgba(245, 239, 227, .08); border: 1px solid rgba(245, 239, 227, .45); border-radius: 999px;
  padding: .95em 1.3em; color: var(--cream); font-size: 1rem; font-weight: 400;
}
.nl__fields input::placeholder { color: rgba(245, 239, 227, .65); }
.nl__fields input:focus { outline: none; border-color: var(--gold); background: rgba(245, 239, 227, .12); }
.nl__fields input:focus-visible { box-shadow: 0 0 0 2px var(--gold); }
.nl__fields input[aria-invalid="true"] { border-color: var(--error); }
.nl__fields .pill { white-space: nowrap; }
.nl__fields .pill:hover { background: var(--cream); color: var(--navy); }
.nl__privacy { margin-top: .9rem; font-size: .85rem; color: var(--muted); }
.nl__status { margin-top: .5rem; font-size: .95rem; min-height: 1.4em; }
.nl__status.is-ok { color: var(--gold); }
.nl__status.is-err { color: var(--error); }
.nl__form.is-sent .nl__fields { opacity: .45; pointer-events: none; }
@media (max-width: 1100px) { .nl__fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .nl__fields .pill { grid-column: 1 / -1; justify-self: start; } }
@media (max-width: 900px) { .nl__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .nl__fields { grid-template-columns: minmax(0, 1fr); } }

/* Agenda: página de listagem e página do evento */
.agenda--page { padding-top: clamp(56px, 6vw, 110px); }
.agenda__item > a { color: inherit; }
.agenda__item > a:hover .agenda__title { color: #8A6A2E; }
.agenda__title { transition: color .3s; }
.ev-hero { padding-bottom: clamp(48px, 5vw, 88px); }
.ev-hero .display { font-size: clamp(2.6rem, 6.4vw, 7rem); }
.ev-back { display: inline-flex; gap: .5em; font-size: .95rem; font-weight: 500; color: var(--gold); margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.ev-back:hover { color: var(--cream); }
.ev { padding-top: clamp(48px, 5vw, 96px); }
.ev__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 3rem clamp(32px, 5vw, 96px); align-items: start; }
.ev__img { aspect-ratio: 16 / 9; max-width: 100%; border-radius: clamp(10px, 1vw, 18px); overflow: hidden; background: var(--green); }
.ev__img img { width: 100%; height: 100%; object-fit: cover; }
.ev__desc { margin-top: clamp(1.5rem, 2.5vw, 2.5rem); font-size: clamp(1.1rem, 1.35vw, 1.45rem); line-height: 1.6; max-width: 38em; }
.ev__aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 1.75rem; }
.ev__facts div { padding-block: 1rem; border-top: 1px solid var(--line); }
.ev__facts div:last-child { border-bottom: 1px solid var(--line); }
.ev__facts dt { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: #8A6A2E; }
.ev__facts dd { margin: .3rem 0 0; font-size: 1.1rem; }
.ev__invite p { font-weight: 600; font-size: 1.15rem; margin-bottom: .5rem; }
.ev-others { padding-top: 0; }
@media (max-width: 900px) { .ev__grid { grid-template-columns: minmax(0, 1fr); } .ev__aside { position: static; } }

/* =========================================================================
   ESCALA TIPOGRÁFICA ÚNICA (rodada 5)
   Todo texto do site usa um destes papéis. Para ajustar, mude só os tokens.
   ─────────────────────────────────────────────────────────────────────────
   display   títulos de abertura (h1)            220   ~ 122px @1600
   h2        títulos de seção                    300   ~ 58px
   h3        subtítulos / listas de destaque     300   ~ 37px
   quote     citações                            220   ~ 54px
   item      títulos de itens (cards, linhas)    600   ~ 25px
   label     rótulo de seção ("Credenciais")     600   ~ 19px
   lede      texto de apoio / leitura            400   ~ 21px
   body      texto corrente                      400   ~ 17px
   small     notas, autores, legal               400   14px
   overline  rótulos em caixa alta               600   12px
   button    botões                              600   ~ 15px
   ========================================================================= */
:root {
  --t-display: clamp(3rem, 7.6vw, 8rem);
  --t-h2: clamp(2rem, 3.6vw, 3.75rem);
  --t-h3: clamp(1.5rem, 2.3vw, 2.5rem);
  --t-quote: clamp(1.75rem, 3.4vw, 3.5rem);
  --t-item: clamp(1.2rem, 1.55vw, 1.6rem);
  --t-label: clamp(1rem, 1.2vw, 1.3rem);
  --t-lede: clamp(1.1rem, 1.3vw, 1.4rem);
  --t-body: clamp(1rem, 1.05vw, 1.125rem);
  --t-small: .875rem;
  --t-over: .75rem;
  --t-btn: clamp(.875rem, .95vw, 1rem);
}

/* display */
.display, .display--mega, .top .top__title, .ev-hero .display {
  font-size: var(--t-display); font-weight: 220; line-height: .95; letter-spacing: -.04em;
}
.display em, .top .top__title em { font-weight: 560; }

/* h2 */
.h-xl, .cred__title, .bio__name, .services--home .services__head .h-xl {
  font-size: var(--t-h2); font-weight: 300; line-height: 1.08; letter-spacing: -.025em;
}
.h-xl em, .h-l em { font-weight: 560; }
.bio__name { margin: .3em 0 .5em; }
.cred__title { margin-top: .5em; }

/* h3 */
.h-l, .bigList li, .channels__big, .refs__n {
  font-size: var(--t-h3); font-weight: 300; line-height: 1.15; letter-spacing: -.02em;
}

/* quote */
.quote__fig blockquote p, .story__pull p {
  font-size: var(--t-quote); font-weight: 220; line-height: 1.15; letter-spacing: -.025em;
}

/* item */
.agenda__title, .cred__org, .creds__org, .team__name, .offers__item h3, .topics__item h3, .exp__list h3,
.steps__item h3, .formats__list dt, .proj__title, .pubs__title, .feature__block h3, .tl__t, .ev__invite p {
  font-size: var(--t-item); font-weight: 600; line-height: 1.25; letter-spacing: -.01em;
}
.feature__block h3 { color: var(--gold); }
.proj__title { margin: .4rem 0 .6rem; }
.pubs__title { margin: .3rem 0 .5rem; }
.offers__item h3 { margin: 1rem 0 .5rem; }
.topics__item h3, .exp__list h3, .steps__item h3 { margin-bottom: .4rem; }

/* label */
.eyebrow, .eyebrow--gold, .sec-title, .agenda .sec-title {
  font-size: var(--t-label); font-weight: 600; line-height: 1.25; letter-spacing: -.005em; text-transform: none;
}

/* lede */
.lede, .top__lede, .bio__p, .ev__desc, .prose p {
  font-size: var(--t-lede); font-weight: 400; line-height: 1.55;
}

/* body */
body, .svc__text, .services--home .svc__text, .team__bio, .proj__text p, .offers__item p, .topics__item p, .exp__list p,
.steps__item p, .refs__p, .values__item p, .formats__list dd, .ev__facts dd, .cred__role, .creds__role, .cred__place,
.agenda__date, .pubs__venue, .soon__topics li, .channels__mid, .channels__sub, .site-footer ul a, .contact-list li,
.topics__note, .site-footer__based, .feature__block p, .cred__item {
  font-size: var(--t-body); font-weight: 400; line-height: 1.6;
}
.pubs__venue { font-weight: 500; }
.cred__item { line-height: 1.5; }

/* small */
.lead__privacy, .nl__privacy, .pubs__authors, .pubs__note, .team__role, .tl__o, .formats__langs,
.site-footer__base, .copy-btn, .menu__foot p, .ev-back {
  font-size: var(--t-small); font-weight: 400; line-height: 1.5;
}
.ev-back { font-weight: 500; }

/* anos e datas em coluna */
.cred__year, .creds__year, .tl__y, .pubs__year {
  font-size: var(--t-body); font-weight: 500; line-height: 1.6; letter-spacing: 0; color: var(--gold); font-variant-numeric: tabular-nums;
}
.band--cream .pubs__year, .band--cream .tl__y { color: #8A6A2E; }

/* overline */
.svc__for, .services--home .svc__for, .tag, .proj__tag, .pubs__type, .site-footer__h, .channels__item dt, .cv__h,
.ev__facts dt, .field label, .field legend, .quote__fig figcaption, .creds__place, .menu-toggle {
  font-size: var(--t-over); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.6;
}
.field .chip { font-size: var(--t-body); font-weight: 500; letter-spacing: 0; text-transform: none; }
.field small { font-size: var(--t-over); font-weight: 400; letter-spacing: 0; text-transform: none; }

/* botões e links de ação */
.btn, .pill, .pill--md, .pill--gold, .pill--outline, .top .pill, .bio .pill, .closing .pill, .nl__fields .pill {
  font-size: var(--t-btn); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; line-height: 1.2;
  padding: 1em 1.6em;
}
.header-cta { font-size: var(--t-over); font-weight: 600; letter-spacing: .06em; }
.link-arrow, .btn--line, .site-footer__contact { font-size: var(--t-body); font-weight: 600; letter-spacing: 0; text-transform: none; }
.btn--line { padding: .3em 0; }

/* navegação */
.nav__list a, .langs a { font-size: clamp(.75rem, .85vw, .95rem); font-weight: 500; letter-spacing: .06em; }
.chip span { font-size: var(--t-body); }
.values__w { font-size: var(--t-display); line-height: 1; }
.svc__word, .services--home .svc__word { font-size: clamp(2.6rem, 5.2vw, 6rem); font-weight: 220; }

/* =========================================================================
   Margens laterais no mobile (rodada 6): uma só margem para todas as seções
   tablet 24px · celular 18px (inclui header, hero, agenda, bio, credenciais)
   ========================================================================= */
@media (max-width: 900px) {
  :root { --edge: 24px; --inset: 24px; --gutter: 24px; }
  .hero__media, .phero__media, .feature__media { width: 100%; margin-left: 0; }
  .bio__text { padding-right: max(var(--edge), env(safe-area-inset-right, 0px)); }
  .closing__grid, .team-cta__grid { gap: 1.25rem; }
}
@media (max-width: 600px) {
  :root { --edge: 18px; --inset: 18px; --gutter: 18px; }
  .band { padding-block: clamp(64px, 16vw, 88px); }
  .agenda__list { grid-auto-columns: 86%; gap: 2rem 12px; }
  .creds__item, .cred__item { column-gap: 1rem; }
  .cred__item { grid-template-columns: 3.25rem minmax(0, 1fr); }
  .tl__item { column-gap: 1rem; }
  .pubs__item { gap: .35rem; }
  .menu { padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
}

/* =========================================================================
   FORMULÁRIOS — um só estilo (contato, palestras/cursos/grades, newsletter)
   rótulo em caixa alta acima · campo com fundo translúcido e cantos 12px
   captcha no mesmo bloco · rodapé: aviso de privacidade + botão dourado
   ========================================================================= */
.lead, .nl__form { --f-bg: rgba(245, 239, 227, .06); --f-bg-focus: rgba(245, 239, 227, .1); --f-line: rgba(245, 239, 227, .32); }
.lead { gap: 1.25rem 1rem; }
.lead .field, .nl__form .field { gap: .5rem; }
.lead .field label, .lead .field legend, .nl__form .field label { color: rgba(245, 239, 227, .8); margin: 0; }

.lead input[type="text"], .lead input[type="email"], .lead input[type="tel"], .lead select, .lead textarea,
.nl__form input[type="text"], .nl__form input[type="email"], .nl__fields input {
  width: 100%; min-width: 0; -webkit-appearance: none; appearance: none;
  background: var(--f-bg); border: 1px solid var(--f-line); border-radius: 12px;
  padding: .9em 1.05em; font-family: inherit; font-size: var(--t-body); font-weight: 400; line-height: 1.4; color: var(--cream);
  transition: border-color .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.lead textarea { min-height: 8rem; resize: vertical; }
.lead ::placeholder, .nl__form ::placeholder { color: rgba(245, 239, 227, .45); }
.lead input:focus, .lead select:focus, .lead textarea:focus, .nl__form input:focus {
  outline: none; border-color: var(--gold); background: var(--f-bg-focus); box-shadow: 0 0 0 3px rgba(201, 164, 100, .22);
}
.lead [aria-invalid="true"], .nl__form [aria-invalid="true"] { border-color: var(--error) !important; }
.phone__country select { padding-right: 2.6em; }
.phone__country .select__chev { right: .9em; }
.phone__row { gap: .6rem; }

/* Newsletter: mesmos campos, rótulos visíveis */
.nl__fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 1rem; align-items: end; }
.nl__captcha:not(:empty) { margin-top: 1rem; }

/* Captcha (Turnstile e marcação da prévia) */
.captcha { min-height: 65px; }
.captcha--ph {
  display: inline-flex; align-items: center; gap: .85rem; padding: .9rem 1.1rem; min-width: min(300px, 100%);
  background: var(--f-bg, rgba(245, 239, 227, .06)); border: 1px solid var(--f-line, rgba(245, 239, 227, .32)); border-radius: 12px;
  font-size: var(--t-body); color: var(--cream);
}
.captcha--ph small { margin-left: auto; font-size: var(--t-over); letter-spacing: .08em; text-transform: uppercase; color: rgba(245, 239, 227, .55); }
.captcha__box { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid rgba(245, 239, 227, .7); flex: none; }

/* Rodapé dos formulários e botões sem borda */
.lead__foot, .form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 1.25rem; }
.lead__privacy, .nl__privacy { margin: 0; max-width: 40ch; color: rgba(245, 239, 227, .7); }
.pill, button.pill, .lead button, .nl__form button { border: 0; }
button.pill { cursor: pointer; font-family: inherit; }
button.pill:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.nl__form .pill:hover, .lead .pill:hover { background: var(--cream); color: var(--navy); }
.lead__status, .nl__status { font-size: var(--t-body); margin: .25rem 0 0; min-height: 1.4em; }
.lead__status.is-ok, .nl__status.is-ok { color: var(--gold); }
.lead__status.is-err, .nl__status.is-err { color: var(--error); }

@media (max-width: 600px) {
  .nl__fields { grid-template-columns: minmax(0, 1fr); }
  .form-foot, .lead__foot { flex-direction: column; align-items: stretch; }
  .form-foot .pill, .lead__foot .pill { justify-content: center; }
}
.captcha--ph { justify-self: start; width: auto; max-width: 100%; flex-wrap: wrap; row-gap: .25rem; }
.captcha--ph > span:not(.captcha__box) { white-space: nowrap; }
.lead__privacy, .nl__privacy { flex: 1 1 16rem; }
.lead__foot .pill, .form-foot .pill { flex: none; }
.captcha.captcha--ph { min-height: 0; }

/* =========================================================================
   Rodada 7: newsletter e chamadas de fechamento com a mesma hierarquia das
   demais seções (rótulo + título h2 | texto + botão), alinhadas ao topo
   ========================================================================= */
.nl__grid { align-items: start; }
.nl .h-xl { max-width: 14ch; }
.nl .lede { max-width: 34ch; }
.closing__grid, .team-cta__grid { align-items: start; }
.closing .h-xl, .team-cta .h-xl { max-width: 14ch; }
.closing__body .lede, .team-cta .lede { margin: 0 0 1.75rem; max-width: 34em; }
.closing__body, .team-cta__grid > div:last-child { padding-top: calc(var(--t-label) * 1.25 + clamp(.75rem, 1.4vw, 1.25rem)); }
@media (max-width: 900px) { .closing__body, .team-cta__grid > div:last-child { padding-top: 0; } }

/* Campo "Outro" do formulário */
.field--other[hidden] { display: none !important; }
.field--other { animation: fadeUp .4s var(--ease) both; }

/* Equipe: mesmo layout de Projetos (foto | texto, alternando) */
.team__list .proj__item { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.team__list .proj__item:nth-child(even) { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.team__img { aspect-ratio: 4 / 5; max-width: 460px; width: 100%; }
.team__list .proj__item:nth-child(even) .team__img { justify-self: end; }
@media (max-width: 900px) {
  .team__list .proj__item, .team__list .proj__item:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .team__list .proj__item:nth-child(even) .team__img { justify-self: start; }
}
.proj__list.team__list, .proj__list.team__list:is(*) { grid-template-columns: minmax(0, 1fr); gap: clamp(48px, 6vw, 104px); }
@media (max-width: 900px) { .proj__list.team__list { grid-template-columns: minmax(0, 1fr); } }

/* Rodapé: crédito com o logo da Boozt Studio */
.site-footer__base { align-items: center; }
.site-footer__credit { display: inline-flex; align-items: center; gap: .75rem; }
.site-footer__base .site-footer__credit a { border: 0; display: inline-flex; opacity: .85; transition: opacity .3s; }
.site-footer__credit a:hover { opacity: 1; }
.site-footer__credit img { height: 26px; width: auto; }

/* Botões de contorno (ex.: "Saiba mais" no hero, "Ver trajetória completa"): borda branca sólida */
.pill.pill--outline, .top .pill.pill--outline { border: 1.5px solid var(--white); color: var(--white); }
.pill.pill--outline:hover, .top .pill.pill--outline:hover { background: var(--cream); border-color: var(--cream); color: var(--navy); }

/* Logos reais: altura base × escala óptica (--s, calculada pelo formato de cada logo) */
.logos { --logo-h: clamp(34px, 3.4vw, 60px); }
.logos .logos__list img { height: calc(var(--logo-h) * var(--s, 1)); width: auto; max-width: none; opacity: .9; }
.logos .logos__list li { display: flex; align-items: center; padding-inline: clamp(28px, 3.4vw, 68px); }
@media (max-width: 600px) { .logos { --logo-h: 30px; } }

/* Logos nas proporções relativas dos arquivos enviados (mesmo fator de escala para todos) */
.logos { --k: 1; }
.logos .logos__list img { width: calc(var(--w, 120) * 1px * var(--k)); height: auto; max-width: none; }
@media (min-width: 1600px) { .logos { --k: 1.2; } }
@media (max-width: 1100px) { .logos { --k: .85; } }
@media (max-width: 600px)  { .logos { --k: .7; } }

/* Hero no celular: foto vertical (9:16) mais alta, rosto na metade de cima, texto sobre a blusa */
@media (max-width: 700px) {
  .top { min-height: min(178vw, 100svh); }
  .top__bg img { object-position: 50% 0%; }
  .top__shade { background: linear-gradient(180deg, rgba(10, 18, 32, .5) 0%, rgba(10, 18, 32, 0) 18%, rgba(10, 18, 32, 0) 38%, rgba(10, 18, 32, .78) 62%, rgba(10, 18, 32, .92) 100%); }
}
.bio__media picture { position: absolute; inset: 0; } .bio__media img { object-position: 50% 12%; }

/* Rodapé — contorno no nome para reforçar a leitura */
.site-footer__logo .word, .site-footer__logo .word * {
  stroke: var(--cream); stroke-width: 1.25px; stroke-linejoin: round;
  vector-effect: non-scaling-stroke; paint-order: stroke fill;
}

/* Hero interno com foto de fundo inteira (ativado quando existe {slot}-desktop.jpg) */
.phero--bg { position: relative; overflow: hidden; display: grid; align-items: center; min-height: clamp(560px, 48vw, 960px); padding-bottom: clamp(48px, 6vw, 96px); }
.phero__bg, .phero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.phero__bg img { object-fit: cover; object-position: 75% 30%; }
.phero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 18, 32, .55) 0%, rgba(10, 18, 32, 0) 24%),
    linear-gradient(90deg, rgba(10, 18, 32, .7) 0%, rgba(10, 18, 32, .35) 40%, rgba(10, 18, 32, 0) 60%);
}
.phero--bg > .wrap { position: relative; z-index: 1; width: 100%; }
.phero--bg .phero__text { grid-column: 1 / span 6; }
@media (prefers-reduced-motion: no-preference) { .phero__bg img { animation: heroZoom 2.4s var(--ease) both; } }
@media (max-width: 900px) {
  .phero--bg { align-items: end; min-height: min(178vw, 100svh); }
  .phero--bg .phero__text { grid-column: 1 / -1; }
  .phero__bg img { object-position: 70% 0%; }
  .phero__shade { background: linear-gradient(180deg, rgba(10, 18, 32, .5) 0%, rgba(10, 18, 32, 0) 18%, rgba(10, 18, 32, 0) 38%, rgba(10, 18, 32, .8) 62%, rgba(10, 18, 32, .94) 100%); }
}
