/* Martha Steytler | Persona A, Editorial Premium
   Cor: logo da cliente (terracota do wordmark + flamboyant) e tons do consultório (sálvia, madeira, linho). */

:root {
  --papel: #F6F1E9;
  --papel-claro: #FBF8F3;
  --tinta: #2A221F;
  --tinta-suave: #5F5550;
  --terracota: #D13F2E;
  --terracota-profundo: #A8352A;
  --salvia: #4E5A4A;
  --salvia-escura: #343D32;
  --ambar: #E0A048;
  --linha: rgba(42, 34, 31, .14);
  --linha-clara: rgba(246, 241, 233, .22);
  --white: #FFFFFF;

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 2px;
  --shadow: 0 18px 40px -22px rgba(42, 34, 31, .35);
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--tinta);
  background: var(--papel);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terracota-profundo); text-decoration: none; }
a:hover { color: var(--terracota); }
:focus-visible { outline: 2px solid var(--terracota); outline-offset: 3px; }
p { margin: 0 0 1.25rem; }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.015em;
  font-variant-numeric: lining-nums;
  color: var(--tinta);
  margin: 0 0 1rem;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 2000;
  background: var(--tinta); color: var(--papel); padding: .6rem 1rem;
}
.skip-link:focus { top: 1rem; color: var(--papel); }

/* Grão sutil sobre o papel (assinatura editorial) */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.16 0 0 0 0 0.13 0 0 0 0 0.12 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .footer, .site-header { position: relative; z-index: 1; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.6rem;
  font-family: var(--sans); font-size: .95rem; font-weight: 600; letter-spacing: .02em;
  border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; flex-shrink: 0;
  transition: background-color .22s ease, color .22s ease, transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.btn--primary { background: var(--terracota-profundo); color: var(--white); box-shadow: 0 10px 24px -14px rgba(168, 53, 42, .9); }
.btn--primary:hover { background: var(--terracota); color: var(--white); transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(209, 63, 46, .8); }
.btn--light { background: var(--papel-claro); color: var(--tinta); }
.btn--light:hover { background: var(--white); color: var(--terracota-profundo); transform: translateY(-2px); }
.btn--link { padding-inline: .2rem; color: var(--tinta); border-bottom: 1px solid var(--linha); border-radius: 0; min-height: 44px; }
.btn--link:hover { color: var(--terracota-profundo); border-bottom-color: var(--terracota); }
.btn--link svg { transition: transform .22s ease; }
.btn--link:hover svg { transform: translateX(4px); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--terracota-profundo);
  margin: 0 0 1.4rem;
}
.eyebrow::after { content: ''; display: block; margin-top: .6rem; width: 28px; height: 2px; background: var(--terracota); }
.eyebrow__num { font-family: var(--serif); font-variant-numeric: lining-nums; font-size: .95rem; letter-spacing: .08em; color: var(--tinta-suave); margin-right: .35rem; }

.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); position: relative; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-title { font-size: clamp(1.85rem, 3.6vw, 2.75rem); }

/* Divisor: filete que esmaece nas pontas com nó central (losango) */
.divider {
  position: relative; z-index: 1;
  max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter);
  height: 14px; display: flex; align-items: center; justify-content: center;
}
.divider::before {
  content: ''; position: absolute; left: var(--gutter); right: var(--gutter); top: 50%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--linha) 18%, rgba(168, 53, 42, .35) 50%, var(--linha) 82%, transparent);
}
.divider span { position: relative; width: 9px; height: 9px; background: var(--papel); border: 1px solid var(--terracota); transform: rotate(45deg); }

/* Moldura editorial: retângulo reto com filete deslocado */
.frame { position: relative; margin: 0; isolation: isolate; }
.frame::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  border: 1px solid var(--terracota);
  transform: translate(16px, 16px);
  opacity: .7;
  transition: transform .4s ease;
}
.frame img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .6s ease; }
.frame { overflow: visible; }
.frame:hover img { transform: scale(1.02); }
.frame:hover::before { transform: translate(10px, 10px); }
.frame--light::before { border-color: rgba(246, 241, 233, .55); }

/* ---------- Header ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 1300; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--terracota); transform-origin: 0 50%; transform: scaleX(0); }

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(246, 241, 233, .82);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: height .3s ease, background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { height: 68px; background: rgba(251, 248, 243, .96); border-bottom-color: var(--linha); box-shadow: 0 8px 30px -24px rgba(42, 34, 31, .5); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; flex-shrink: 0; margin-right: auto; }
.brand img { height: 52px; width: auto; transition: height .3s ease; }
.site-header.scrolled .brand img { height: 44px; }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); list-style: none; }
.nav__links a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font-size: .92rem; font-weight: 500; color: var(--tinta);
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--terracota);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav__links a:hover, .nav__links a.active { color: var(--terracota-profundo); }
.nav__links a:hover::after, .nav__links a.active::after { transform: scaleX(1); }
.header__cta { min-height: 46px; padding: .65rem 1.25rem; font-size: .88rem; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-left: auto;
  background: var(--papel-claro); border: 1px solid var(--linha); border-radius: var(--radius);
  color: var(--tinta); cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }

/* Drawer mobile: visual SEMPRE fora de @media */
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1200; width: min(86vw, 360px);
  display: flex; flex-direction: column; padding: 1.1rem 1.5rem 2rem;
  background: var(--papel-claro);
  box-shadow: -18px 0 50px -22px rgba(0, 0, 0, .28);
  transform: translateX(100%); visibility: hidden;
  transition: transform .34s cubic-bezier(.4, 0, .2, 1), visibility .34s;
  overscroll-behavior: contain; overflow-y: auto;
}
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1rem; margin-bottom: .4rem; border-bottom: 1px solid var(--linha); }
.mobile-menu__logo { height: 40px; width: auto; }
.mobile-menu__links { display: flex; flex-direction: column; list-style: none; }
.mobile-menu__links li { border-bottom: 1px solid var(--linha); }
.mobile-menu__links a { display: flex; align-items: center; min-height: 54px; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: var(--tinta); transition: color .2s; }
.mobile-menu__links a:hover, .mobile-menu__links a.active { color: var(--terracota-profundo); }
.mobile-menu__cta { margin-top: auto; width: 100%; }
.mobile-close { background: none; border: none; color: var(--terracota-profundo); cursor: pointer; padding: .3rem; margin: -.3rem; line-height: 0; }
.mobile-close svg { width: 30px; height: 30px; }
.menu-backdrop {
  position: fixed; inset: 0; z-index: 1100; background: rgba(42, 34, 31, .5);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
}
.menu-backdrop.open { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 5.5rem));
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
}
.hero__rules { position: absolute; inset: 0; pointer-events: none; display: flex; justify-content: space-between; max-width: calc(var(--container) + 3rem); margin-inline: auto; padding-inline: max(.5rem, calc(var(--gutter) - 1.5rem)); }
.hero__rules span { width: 1px; height: 100%; background: linear-gradient(180deg, transparent, var(--linha) 20%, var(--linha) 80%, transparent); }
.hero__rules span:nth-child(2) { display: none; }
.hero__figure--ramo { position: relative; isolation: isolate; }
.hero__ramo {
  position: absolute; z-index: -1; pointer-events: none;
  width: 100%; max-width: none; top: -16%; left: -24%;
  opacity: .16;
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.hero__title {
  font-size: clamp(2.5rem, 5.6vw, 4.7rem);
  font-weight: 500; line-height: 1.04; letter-spacing: -.03em;
  margin-bottom: 1.4rem;
}
.hero__title em { display: block; font-style: normal; font-weight: 400; color: var(--terracota-profundo); }
.hero__byline { font-size: .95rem; letter-spacing: .04em; color: var(--tinta-suave); padding-bottom: 1.6rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--linha); }
.hero__byline .sep { color: var(--terracota); margin-inline: .35rem; }
.nw { white-space: nowrap; }
.hero__list { list-style: none; display: grid; gap: .2rem; margin-bottom: 2.2rem; }
.hero__list li { display: flex; align-items: baseline; gap: .9rem; font-size: 1.12rem; line-height: 1.5; padding: .55rem 0; border-bottom: 1px dashed var(--linha); }
.hero__num { flex: 0 0 2rem; font-family: var(--serif); font-style: normal; font-size: 1.05rem; color: var(--terracota-profundo); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.hero__figure { align-self: center; margin: 0; }
.hero__figure .frame img { aspect-ratio: 4 / 5; object-position: 44% 50%; }
.hero__figure--ramo img { width: 118%; max-width: none; height: auto; margin-inline: -9%; }
.hero__figure figcaption { margin-top: 1.9rem; padding-left: 1rem; border-left: 1px solid var(--terracota); font-family: var(--serif); font-style: normal; font-size: 1.05rem; color: var(--tinta-suave); line-height: 1.45; }

/* Texto corrido justificado */
main p:not(.eyebrow):not(.hero__byline):not(.cta-band__title), .questoes li {
  text-align: justify; hyphens: auto; -webkit-hyphens: auto;
}
em, i, cite { font-style: normal; }

/* Entrada do hero no load */
.hero-in { opacity: 0; transform: translateY(14px); animation: heroIn .8s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--d, 0) * 110ms + 80ms); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ---------- Sobre ---------- */
.sobre__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.sobre__aside { position: sticky; top: calc(68px + 2rem); }
.pullquote { margin: 0 0 2rem; padding: 0; position: relative; }
.pullquote::before {
  content: '\201C'; display: block; height: .5em;
  font-family: var(--serif); font-size: 5rem; line-height: 1; color: var(--terracota); opacity: .55;
}
.pullquote p { font-family: var(--serif); font-style: normal; font-weight: 400; font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.42; color: var(--tinta); margin: 0; }
.selos { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; }
.selos li {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--salvia);
  padding: .55rem .9rem; border: 1px solid rgba(78, 90, 74, .35); border-radius: var(--radius); background: rgba(251, 248, 243, .7);
}
.selos li::before { content: ''; width: 6px; height: 6px; background: var(--terracota); transform: rotate(45deg); }
.sobre__title { font-size: clamp(1.85rem, 3.2vw, 2.5rem); margin-bottom: 1.4rem; }
.sobre__body > p { max-width: 40rem; color: var(--tinta-suave); }
.sobre__body .lead { font-size: 1.12rem; color: var(--tinta); }

.credenciais { margin: 2.2rem 0 2.6rem; border-top: 1px solid var(--linha); }
.credenciais div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--linha); }
.credenciais dt { font-family: var(--serif); font-variant-numeric: lining-nums; font-size: 1.05rem; font-weight: 600; color: var(--terracota-profundo); line-height: 1.4; }
.credenciais dd { margin: 0; color: var(--tinta-suave); line-height: 1.5; align-self: center; }

.questoes { list-style: none; columns: 2; column-gap: 2.5rem; max-width: 42rem; }
.questoes li { break-inside: avoid; position: relative; padding: .5rem 0 .5rem 1.4rem; color: var(--tinta); line-height: 1.5; border-bottom: 1px solid var(--linha); }
.questoes li::before { content: ''; position: absolute; left: 0; top: 1.05rem; width: 6px; height: 6px; border: 1px solid var(--terracota); transform: rotate(45deg); }
.questoes li:last-child { column-span: all; border-bottom: none; }

/* ---------- CTA intermediária (bloco sólido) ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--terracota-profundo); color: var(--papel-claro); padding-block: clamp(3.5rem, 6vw, 4.75rem); }
.cta-band__grain { position: absolute; inset: 0; opacity: .5; background: radial-gradient(circle at 12% 20%, rgba(224, 160, 72, .28), transparent 40%), radial-gradient(circle at 90% 90%, rgba(42, 34, 31, .3), transparent 45%); }
.cta-band__ramo { position: absolute; right: -40px; top: 50%; width: 420px; margin-top: -210px; opacity: .14; filter: grayscale(1) brightness(3); pointer-events: none; }
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; }
.cta-band__title { font-family: var(--serif); font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 500; line-height: 1.1; margin: 0; max-width: 34rem; color: var(--papel-claro); }

/* ---------- Serviços: lista editorial numerada ---------- */
.servico {
  display: grid; grid-template-columns: 7rem 6fr 5fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
  padding-block: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--linha);
}
.servico:last-of-type { border-bottom: 1px solid var(--linha); }
.servico--reverse { grid-template-columns: 7rem 5fr 6fr; }
.servico--reverse .servico__figure { order: 1; }
.servico--reverse .servico__text { order: 2; }
.servico__num { align-self: start; font-family: var(--serif); font-variant-numeric: lining-nums; font-size: clamp(3.6rem, 6vw, 5.5rem); font-weight: 400; line-height: .85; color: var(--terracota); opacity: .28; letter-spacing: -.04em; }
.servico__text h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: .3rem; }
.servico__tag { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--salvia); margin-bottom: 1.2rem; }
.servico__text p:not(.servico__tag) { color: var(--tinta-suave); max-width: 36rem; margin: 0; }
.servico__figure img { aspect-ratio: 4 / 3; }
.servicos__cta { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: flex; justify-content: flex-start; padding-left: calc(7rem + clamp(1.5rem, 4vw, 4rem)); }

/* ---------- Diferenciais (seção-âncora escura) ---------- */
.tema-escuro { background: var(--salvia-escura); color: rgba(246, 241, 233, .86); }
.tema-escuro h1, .tema-escuro h2, .tema-escuro h3, .tema-escuro h4 { color: var(--papel-claro); }
.tema-escuro .eyebrow { color: #F1B9A9; }
.tema-escuro .eyebrow::after { background: var(--ambar); }
.tema-escuro .eyebrow__num { color: rgba(246, 241, 233, .6); }
.diferenciais { overflow: hidden; }
.diferenciais__lines {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: repeating-linear-gradient(90deg, transparent 0 calc(100% / 6 - 1px), rgba(246, 241, 233, .06) calc(100% / 6 - 1px) calc(100% / 6));
}
.diferenciais__grid { position: relative; display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.diferenciais__text > p { max-width: 38rem; }
.diferenciais__list { list-style: none; margin: 2rem 0 2.4rem; border-top: 1px solid var(--linha-clara); }
.diferenciais__list li {
  display: flex; align-items: baseline; gap: 1.2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--linha-clara);
  font-family: var(--serif); font-size: clamp(1.35rem, 2.1vw, 1.7rem); font-weight: 500; color: var(--papel-claro); line-height: 1.25;
}
.diferenciais__list span { flex: 0 0 2.5rem; font-style: normal; font-weight: 400; color: var(--ambar); font-size: 1.1rem; }
.diferenciais__figure img { aspect-ratio: 3 / 4; object-position: 50% 42%; }

/* ---------- Contato ---------- */
.contato__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contatos { list-style: none; display: flex; flex-wrap: wrap; gap: 1.25rem; }
.contatos a { display: inline-flex; align-items: center; gap: .75rem; min-height: 44px; color: var(--tinta); }
.contatos svg { flex: 0 0 auto; color: var(--terracota-profundo); }
.contatos--stack { flex-direction: column; gap: 0; }
.contatos--stack li { border-bottom: 1px solid var(--linha); }
.contatos--stack li:first-child { border-top: 1px solid var(--linha); }
.contatos--stack a { display: flex; align-items: flex-start; padding: 1rem 0; line-height: 1.5; }
.contatos--stack a svg { margin-top: .2rem; }
.contatos--stack a:hover { color: var(--terracota-profundo); }
.contatos small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--tinta-suave); margin-bottom: .15rem; }
.contato__figure { margin-top: 2.5rem; max-width: 340px; }
.contato__figure img { aspect-ratio: 4 / 5; object-position: 50% 30%; }

.form { background: var(--papel-claro); border: 1px solid var(--linha); border-top: 3px solid var(--terracota-profundo); padding: clamp(1.5rem, 4vw, 2.75rem); border-radius: var(--radius); box-shadow: var(--shadow); }
.form__intro { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; line-height: 1.3; margin-bottom: 1.6rem; }
.field { display: flex; flex-direction: column; margin-bottom: 1.15rem; }
.field label { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--tinta-suave); margin-bottom: .4rem; }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--tinta);
  background: var(--white); border: 1px solid rgba(42, 34, 31, .22); border-radius: var(--radius);
  padding: .8rem .95rem; min-height: 50px; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--terracota); box-shadow: 0 0 0 3px rgba(209, 63, 46, .15); }
.field.invalid input, .field.invalid textarea { border-color: var(--terracota-profundo); }
.field__error { min-height: 1.1rem; font-size: .82rem; color: var(--terracota-profundo); margin-top: .3rem; }
.consent { display: flex; align-items: flex-start; gap: .7rem; font-size: .9rem; line-height: 1.5; color: var(--tinta-suave); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: .1rem; accent-color: var(--terracota-profundo); flex: 0 0 auto; }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
.consent__error { display: block; margin-bottom: 1rem; }
.form__submit { width: 100%; }
.form__submit.sent { background: var(--salvia); }

/* ---------- Rodapé ---------- */
.footer { background: var(--papel-claro); border-top: 1px solid var(--linha); padding-top: clamp(3.5rem, 6vw, 5rem); }
.footer__grid { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer__brand img { height: 58px; width: auto; margin-bottom: 1.2rem; }
.footer__brand p { max-width: 24rem; color: var(--tinta-suave); font-size: .98rem; }
.footer__label { font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--terracota-profundo); margin-bottom: 1rem; }
.footer__nav ul { list-style: none; display: grid; gap: .1rem; }
.footer__nav a { display: inline-flex; align-items: center; min-height: 40px; color: var(--tinta); }
.footer__nav a:hover { color: var(--terracota-profundo); }
.contatos--small a { padding: .7rem 0; font-size: .98rem; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-block: 1.5rem 2rem; border-top: 1px solid var(--linha); font-size: .88rem; color: var(--tinta-suave); }
.footer__bottom p { margin: 0; }
.footer__bottom span[aria-hidden] { margin-inline: .4rem; color: var(--linha); }
.footer__bottom a { color: var(--tinta-suave); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--linha); }
.footer__bottom a:hover { color: var(--terracota-profundo); }

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 900;
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25d366; color: #fff;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .35);
  animation: wa-float 3.2s ease-in-out infinite, wa-pulse 2.8s ease-out 1.2s infinite;
  will-change: transform, box-shadow;
  transition: transform .2s ease;
}
.whatsapp-float:hover { color: #fff; animation-play-state: paused; transform: scale(1.13); }
@keyframes wa-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes wa-pulse { 0% { box-shadow: 0 10px 24px -8px rgba(0,0,0,.35), 0 0 0 0 rgba(37, 211, 102, .5); } 70% { box-shadow: 0 10px 24px -8px rgba(0,0,0,.35), 0 0 0 20px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 10px 24px -8px rgba(0,0,0,.35), 0 0 0 0 rgba(37, 211, 102, 0); } }

/* ---------- Movimento (perfil Editorial) ---------- */
.animate-on-scroll { opacity: 0; transform: translateY(12px); transition: opacity .7s ease-out, transform .7s ease-out; transition-delay: calc(var(--i, 0) * 90ms); }
.animate-on-scroll.visible { opacity: 1; transform: none; }
.selos li, .credenciais div, .questoes li { opacity: 0; transform: translateY(8px); transition: opacity .6s ease-out, transform .6s ease-out; transition-delay: calc(var(--i, 0) * 80ms + 200ms); }
.visible .selos li, .visible.credenciais div, .visible.questoes li { opacity: 1; transform: none; }
@keyframes drift { 0% { transform: translate3d(0, 0, 0) rotate(0); } 50% { transform: translate3d(-8px, -14px, 0) rotate(1.5deg); } 100% { transform: translate3d(0, 0, 0) rotate(0); } }
.decor-drift { animation: drift 20s ease-in-out infinite; will-change: transform; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .nav__links { gap: 1rem; }
  .header__cta { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .nav, .header__cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .header__inner { justify-content: space-between; }
  .brand img { height: 44px; }
  .site-header.scrolled { height: 64px; }
  .site-header.scrolled .brand img { height: 40px; }

  .hero__grid, .sobre__grid, .diferenciais__grid, .contato__grid { grid-template-columns: 1fr; }
  .hero__figure { max-width: 560px; }
  .hero__figure--ramo { margin-inline: auto; }
  .hero__figure--ramo img { width: 100%; margin-inline: 0; }
  .hero__figure .frame img { aspect-ratio: 16 / 11; }
  .hero__rules { display: none; }
  .sobre__aside { position: static; }
  .servico, .servico--reverse { grid-template-columns: 1fr; gap: 1.25rem; }
  .servico--reverse .servico__figure { order: 3; }
  .servico__num { font-size: 3.6rem; }
  .servicos__cta { padding-left: 0; }
  .diferenciais__figure { max-width: 420px; }
  .diferenciais__figure img { aspect-ratio: 4 / 5; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .questoes { columns: 1; }
  .byline__nome { display: block; }
  .byline__nome .sep { display: none; }
  .credenciais div { grid-template-columns: 1fr; gap: .1rem; }
  .hero__actions .btn--primary { width: 100%; }
  .cta-band__inner .btn { width: 100%; }
  .diferenciais .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .frame::before { transform: translate(10px, 10px); }
  .contato__figure { max-width: none; }
  .contato__figure img { aspect-ratio: 16 / 10; object-position: 50% 25%; }
  .whatsapp-float { bottom: 1.25rem; right: 1.25rem; width: 56px; height: 56px; }
  .hero__figure--ramo img { width: calc(100% + var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
  .hero__ramo { top: -12%; left: -10%; }
}
@media (min-width: 1081px) and (max-height: 760px) {
  .hero { padding-top: calc(var(--header-h) + 2.2rem); padding-bottom: 3rem; }
  .hero__title { font-size: clamp(2.8rem, 5.4vw, 4.6rem); }
  .hero__list li { padding: .35rem 0; }
}

@media (min-width: 1081px) and (max-height: 700px) {
  .hero { padding-top: calc(var(--header-h) + 1.1rem); padding-bottom: 2.5rem; }
  .hero .eyebrow { margin-bottom: .9rem; }
  .hero__title { font-size: 3.5rem; margin-bottom: .9rem; }
  .hero__byline { padding-bottom: .9rem; margin-bottom: .6rem; }
  .hero__list { margin-bottom: 1.3rem; }
  .hero__list li { padding: .22rem 0; font-size: 1.02rem; }
  .hero__figure .frame img { aspect-ratio: 1 / 1; }
  .hero__figure figcaption { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll, .selos li, .credenciais div, .questoes li, .hero-in { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  .decor-drift, .whatsapp-float { animation: none !important; }
  .mobile-menu, .menu-backdrop { transition: none !important; }
}

/* ---------- Política de privacidade ---------- */
.legal { padding-top: calc(var(--header-h) + clamp(3rem, 6vw, 4.5rem)); padding-bottom: clamp(4rem, 8vw, 6rem); }
.legal__inner { max-width: 50rem; }
.legal h1 { font-size: clamp(2.6rem, 5vw, 3.8rem); margin-bottom: .8rem; }
.legal__meta { color: var(--tinta-suave); padding-bottom: 1.6rem; border-bottom: 1px solid var(--linha); margin-bottom: 2.4rem; }
.legal h2 { font-size: 1.6rem; margin: 2.4rem 0 .7rem; }
.legal p { color: var(--tinta-suave); }
.legal__back { margin-top: 3rem; }
