/* =========================================================
   Costa & Santos Advocacia | folha de estilo principal
   Conceito: composição editorial clara, com a cápsula do
   monograma CS como moldura recorrente das fotografias.
   Paleta extraída do manual de rebranding (página "Paleta").
   ========================================================= */

:root {
  /* Verdes da marca */
  --olive-900: #34341C;
  --olive-700: #555644;   /* cor principal da logomarca */
  --olive-500: #7F7F6E;
  /* Marrons da marca */
  --brown-700: #7C5437;
  --brown-500: #9D7C61;
  --brown-300: #B79B86;
  /* Neutros da marca */
  --sand: #DCCFBE;
  --sand-50: #E9E1D6;     /* tinta derivada do bege areia, seções alternadas */
  --paper: #F5F2EC;       /* off white quente, fundo geral */
  --stone: #E6E2D6;
  --mist: #EFEFEF;
  --cta: var(--brown-700);    /* destaque dos botões de contato */
  --cta-hover: #5E3F29;
  --white: #FFFFFF;

  /* Papéis */
  --bg: var(--paper);
  --text: #3E3F30;
  --text-soft: #5F604F;
  --heading: var(--olive-700);
  --line: rgba(85, 86, 68, 0.18);
  --line-strong: rgba(85, 86, 68, 0.32);
  --focus: var(--brown-700);

  /* Tipografia */
  --font: "Instrument Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --fs-xs: 0.78rem;
  --fs-sm: 0.9rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: clamp(1.6rem, 2.6vw, 2.25rem);
  --fs-xl: clamp(2.1rem, 4.2vw, 3.6rem);
  --fs-hero: clamp(2.35rem, 4.6vw, 4.15rem);

  /* Espaço */
  --gutter: clamp(20px, 5vw, 72px);
  --section: clamp(72px, 10vw, 140px);
  --maxw: 1240px;
  --radius: 2px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.65;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; color: var(--heading); font-weight: 400; text-wrap: balance; letter-spacing: -0.02em; line-height: 1.12; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--olive-700); color: var(--white);
  padding: 10px 16px; text-decoration: none; font-size: var(--fs-sm);
}
.skip-link:focus { top: 12px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: var(--section); position: relative; }
.section--sand { background: var(--sand-50); }
.section--stone { background: var(--stone); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.16em;
  font-variation-settings: "wdth" 80; font-weight: 500;
  color: var(--brown-700);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.section-title { font-size: var(--fs-xl); max-width: 18ch; }
.lead { font-size: var(--fs-md); line-height: 1.6; color: var(--text-soft); max-width: 58ch; }
.prose { display: grid; gap: 1.1em; max-width: 60ch; }
.prose p { color: var(--text); }

/* Marcação visível de informação a confirmar */
.placeholder {
  background: rgba(220, 207, 190, 0.7); color: var(--brown-700);
  padding: 0 4px; border-radius: 2px; font-size: 0.92em;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px;
  font: 500 var(--fs-sm)/1 var(--font); letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--olive-700); border-radius: var(--radius);
  cursor: pointer; transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s ease; }
.btn--primary { background: var(--olive-700); color: var(--white); }
.btn--primary:hover { background: var(--olive-900); border-color: var(--olive-900); }
.btn--primary:hover svg { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--olive-700); }
.btn--ghost:hover { background: var(--olive-700); color: var(--white); }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--olive-700); text-decoration: none; font-size: var(--fs-sm);
  border-bottom: 1px solid var(--line-strong); padding-bottom: 3px;
  transition: border-color .2s ease, color .2s ease;
}
.text-link:hover { border-color: var(--brown-700); color: var(--brown-700); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(245, 242, 236, 0.96);
  -webkit-backdrop-filter: saturate(1.2) blur(8px); backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: block; flex: none; }
.brand img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav-list { display: flex; gap: clamp(16px, 2vw, 30px); }
.nav-list a {
  text-decoration: none; font-size: 0.94rem; color: var(--text);
  position: relative; padding-block: 6px;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--brown-700); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav-list a:hover::after, .nav-list a[aria-current="true"]::after { transform: scaleX(1); }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: var(--fs-xs); }

.menu-toggle {
  display: none; align-items: center; gap: 10px;
  background: none; border: 1px solid var(--line-strong); border-radius: var(--radius);
  height: 44px; padding: 0 14px; color: var(--olive-700);
  font: 500 var(--fs-xs)/1 var(--font); letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
}
.menu-toggle .bars { position: relative; width: 18px; height: 10px; }
.menu-toggle .bars::before, .menu-toggle .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .3s ease, top .3s ease;
}
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars::after { top: 8.5px; }
.menu-toggle[aria-expanded="true"] .bars::before { top: 4.25px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { top: 4.25px; transform: rotate(-45deg); }

.mobile-nav {
  border-top: 1px solid var(--line); background: var(--bg);
  padding-block: 12px 28px;
}
.mobile-nav ul { display: grid; }
.mobile-nav a {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; font-size: 1.15rem; color: var(--olive-700);
}
.mobile-nav .btn { margin-top: 22px; width: 100%; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(72px, 9vw, 128px); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.hero-copy { display: grid; gap: 28px; min-width: 0; }
.hero h1 { font-size: var(--fs-hero); line-height: 1.08; max-width: 15ch; letter-spacing: -0.028em; }
.hero h1 em { font-style: normal; color: var(--brown-700); }
.hero .lead { max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 8px; }
.hero-signature {
  display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; padding-top: 22px;
  border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--text-soft);
}
.hero-signature strong { color: var(--olive-700); font-weight: 500; }
.hero-signature span + span::before { content: "|"; margin-right: 18px; color: var(--brown-300); }

/* Moldura em cápsula, eco do contorno do monograma */
.capsule {
  position: relative; justify-self: end; width: min(100%, 470px);
}
.capsule::before {
  content: ""; position: absolute; inset: -16px; border: 1px solid var(--brown-300);
  border-radius: 999px; pointer-events: none;
}
.capsule-media {
  position: relative; aspect-ratio: 9 / 14; border-radius: 999px; overflow: hidden;
  background: var(--stone);
}
.capsule-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.capsule-tag {
  position: absolute; left: -28px; bottom: 14%;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 18px; display: grid; gap: 2px; font-size: var(--fs-sm); line-height: 1.35;
}
.capsule-tag strong { font-weight: 500; color: var(--olive-700); }
.capsule-tag span { color: var(--text-soft); font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; }

/* Sequência de entrada da primeira dobra */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .hero-copy > *:nth-child(4) { animation-delay: .24s; }
  .hero-copy > *:nth-child(5) { animation-delay: .32s; }
  .capsule { animation: settle 1.2s cubic-bezier(.2,.7,.2,1) .1s both; }
  .capsule::before { animation: ring 1.6s cubic-bezier(.2,.7,.2,1) .35s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes ring { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- O escritório ---------- */
.office { overflow: hidden; }
.office-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 120px); align-items: start; position: relative; z-index: 1;
}
.office-head { display: grid; gap: 26px; }
.office .prose { font-size: 1.12rem; }
.principles {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
  margin-top: clamp(56px, 7vw, 96px); padding-top: 32px; border-top: 1px solid var(--line-strong);
  position: relative; z-index: 1;
}
.principles li { display: grid; gap: 8px; }
.principles h3 { font-size: var(--fs-md); letter-spacing: -0.01em; }
.principles p { font-size: 0.97rem; color: var(--text-soft); max-width: 34ch; }
.watermark {
  position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: clamp(260px, 30vw, 420px); opacity: 0.55; pointer-events: none; user-select: none;
}

/* ---------- Áreas de atuação ---------- */
.section-head { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head--split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); align-items: end; gap: 22px 64px;
}
.areas-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.area {
  display: grid; align-content: start; gap: 14px;
  padding: clamp(26px, 2.6vw, 36px); border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); transition: border-color .3s ease, background-color .3s ease;
}
.area:hover { border-color: var(--brown-300); }
.area::before { content: ""; width: 28px; height: 1px; background: var(--brown-700); margin-bottom: 10px; transition: width .35s ease; }
.area:hover::before { width: 52px; }
.area h3 { font-size: 1.32rem; line-height: 1.25; letter-spacing: -0.012em; }
.area p { font-size: 0.98rem; color: var(--text-soft); }

/* ---------- Sobre ---------- */
.about-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.about-media figcaption {
  margin-top: 14px; font-size: var(--fs-xs); color: var(--text-soft); letter-spacing: 0.08em; text-transform: uppercase;
}
.about-copy { display: grid; gap: 26px; min-width: 0; }
.about-copy h2 { font-size: var(--fs-xl); }
.role { font-size: var(--fs-sm); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brown-700); font-variation-settings: "wdth" 85; margin-top: -10px; }

/* ---------- Como funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 1px; background: var(--line-strong);
}
.step { position: relative; display: grid; gap: 14px; align-content: start; padding-right: 8px; }
.step-num {
  width: 56px; height: 56px; border-radius: 999px; display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--olive-700); color: var(--olive-700);
  font-size: var(--fs-sm); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; position: relative;
  transition: background-color .3s ease, color .3s ease;
}
.step:hover .step-num { background: var(--olive-700); color: var(--white); }
.step h3 { font-size: 1.22rem; line-height: 1.3; margin-top: 10px; letter-spacing: -0.01em; }
.step p { font-size: 0.97rem; color: var(--text-soft); }

/* ---------- Perguntas frequentes ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-aside { display: grid; gap: 24px; position: sticky; top: 120px; }
.faq-note { font-size: var(--fs-sm); color: var(--text-soft); max-width: 40ch; padding-left: 16px; border-left: 1px solid var(--brown-300); }
.faq-list { border-top: 1px solid var(--line-strong); min-width: 0; }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; font-size: 1.15rem; color: var(--olive-700); line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brown-700); }
.faq-icon { flex: none; position: relative; width: 16px; height: 16px; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 7.5px; height: 1px; background: currentColor; transition: transform .3s ease; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-answer { padding: 0 48px 28px 0; display: grid; gap: 0.9em; color: var(--text); max-width: 64ch; }
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-answer { animation: fade .45s ease both; }
}
@keyframes fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.contact-copy { display: grid; gap: 28px; min-width: 0; }
.contact-list { border-top: 1px solid var(--line-strong); }
.contact-row {
  display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 8px 24px; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--line-strong);
}
.contact-label { font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brown-700); font-variation-settings: "wdth" 85; }
.contact-value { font-size: 1.12rem; color: var(--olive-700); overflow-wrap: anywhere; text-decoration: none; }
a.contact-value:hover { color: var(--brown-700); }
.contact-action {
  font: 500 var(--fs-xs)/1 var(--font); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--olive-700); background: none; border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 11px 14px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background-color .2s ease, color .2s ease;
}
.contact-action:hover { background: var(--olive-700); color: var(--white); border-color: var(--olive-700); }
.contact-privacy { font-size: var(--fs-sm); color: var(--text-soft); max-width: 56ch; }
.safety-note {
  font-size: var(--fs-sm); color: var(--text); background: var(--sand-50);
  padding: 18px 20px; border-radius: var(--radius); max-width: 60ch;
}
.safety-note strong { color: var(--olive-700); font-weight: 600; }
.arch { position: relative; justify-self: end; width: min(100%, 440px); }
.arch picture img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 999px 999px var(--radius) var(--radius); }
.arch .arch-mark { position: absolute; left: -36px; bottom: 40px; width: 72px; height: auto; aspect-ratio: auto; object-fit: contain; background: var(--white); padding: 14px 12px; border-radius: 999px; border: 1px solid var(--line); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--olive-900); color: var(--stone); padding-block: clamp(64px, 8vw, 104px) 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand img { width: 230px; height: auto; }
.footer-brand p { margin-top: 22px; font-size: var(--fs-sm); color: rgba(230, 226, 214, 0.78); max-width: 34ch; }
.footer-col h2 { font-size: var(--fs-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--sand); font-weight: 500; margin-bottom: 16px; font-variation-settings: "wdth" 85; }
.footer-col ul { display: grid; gap: 10px; font-size: 0.95rem; }
.footer-col a { text-decoration: none; color: var(--stone); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.footer-col a:hover { border-bottom-color: var(--sand); }
.footer-col li { color: rgba(230, 226, 214, 0.85); overflow-wrap: anywhere; }
.footer-bottom {
  margin-top: clamp(48px, 6vw, 80px); padding-top: 24px; border-top: 1px solid rgba(220, 207, 190, 0.2);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  font-size: var(--fs-xs); color: rgba(230, 226, 214, 0.7); letter-spacing: 0.02em;
}
.footer-bottom a { color: var(--stone); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  width: 56px; height: 56px; border-radius: 999px; display: grid; place-items: center;
  background: var(--olive-700); color: var(--white); text-decoration: none;
  border: 1px solid rgba(255,255,255,.4); transition: background-color .25s ease, transform .25s ease;
}
.wa-float:hover { background: var(--olive-900); transform: translateY(-2px); }
.wa-float svg { width: 24px; height: 24px; }

/* Toast de cópia */
.toast {
  position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  background: var(--olive-900); color: var(--stone); padding: 12px 18px; border-radius: var(--radius);
  font-size: var(--fs-sm); z-index: 60;
}

/* ---------- Página interna (política) ---------- */
.legal { padding-block: clamp(48px, 7vw, 96px) var(--section); }
.legal-inner { max-width: 760px; }
.legal h1 { font-size: var(--fs-xl); margin: 18px 0 14px; }
.legal .updated { color: var(--text-soft); font-size: var(--fs-sm); margin-bottom: 40px; }
.legal h2 { font-size: 1.4rem; margin: 44px 0 14px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--text); }
.legal p + p { margin-top: 0.9em; }
.legal ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 6px; margin-top: 0.6em; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .nav-list, .nav .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .areas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capsule-tag { left: -12px; }
}

@media (max-width: 860px) {
  .header-inner { min-height: 72px; }
  .brand img { height: 38px; }
  .hero-grid, .office-grid, .about-grid, .faq-grid, .contact-grid, .section-head--split { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 28px; }
  .capsule { justify-self: center; width: min(100% - 32px, 400px); margin-top: 12px; }
  .capsule-media { aspect-ratio: 4 / 5.4; }
  .capsule-media img { object-position: 50% 18%; }
  .capsule-tag { left: 50%; transform: translateX(-50%); bottom: -22px; white-space: nowrap; text-align: center; }
  .principles { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .watermark { top: 24px; right: -80px; transform: none; width: 240px; opacity: .4; }
  .about-media { order: -1; }
  .faq-aside { position: static; }
  .arch { justify-self: center; width: min(100%, 420px); }
  .arch .arch-mark { left: 12px; bottom: 16px; width: 60px; }
}

@media (max-width: 600px) {
  :root { --fs-base: 1rem; }
  .areas-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; row-gap: 0; }
  .step { grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; row-gap: 6px; padding-bottom: 36px; }
  .step::before { content: ""; position: absolute; left: 27.5px; top: 56px; bottom: 0; width: 1px; background: var(--line-strong); }
  .step:last-child::before { display: none; }
  .step:last-child { padding-bottom: 0; }
  .step-num { grid-row: span 2; }
  .step h3 { margin-top: 14px; }
  .contact-row { grid-template-columns: minmax(0, 1fr) auto; }
  .contact-label { grid-column: 1 / -1; }
  .faq-answer { padding-right: 0; }
  .faq-item summary { font-size: 1.05rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-signature span + span::before { display: none; }
  .hero-signature { flex-direction: column; }
  .btn { width: 100%; }
  .hero-actions .text-link { margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Chamadas para o WhatsApp ---------- */
.i-wa { width: 18px; height: 18px; flex: none; }
.btn--wa { gap: 10px; }
.cta-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
  margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line);
}
.cta-row p { color: var(--text-soft); max-width: 52ch; min-width: 0; flex: 1 1 320px; }
.contact-action--wa { display: inline-flex; align-items: center; gap: 8px; }
.contact-action--wa .i-wa { width: 15px; height: 15px; }

.wa-float { width: auto; padding: 0 22px 0 18px; gap: 10px; display: inline-flex; align-items: center; height: 54px; }
.wa-float .i-wa { width: 22px; height: 22px; }
.wa-float-label { font: 500 var(--fs-xs)/1 var(--font); letter-spacing: 0.1em; text-transform: uppercase; }
@media (max-width: 600px) {
  .wa-float { width: 56px; height: 56px; padding: 0; justify-content: center; }
  .wa-float-label { display: none; }
  .cta-row .btn { width: 100%; }
}
.btn--primary:hover .i-wa { transform: none; }


/* ---------- Ajustes da revisão: destaque, áreas, agendamento ---------- */
.btn--wa, .btn--wa.btn--ghost, .btn--wa.btn--primary {
  background: var(--cta); border-color: var(--cta); color: var(--white);
}
.btn--wa:hover, .btn--wa.btn--ghost:hover, .btn--wa.btn--primary:hover { background: var(--cta-hover); border-color: var(--cta-hover); color: var(--white); }
.wa-float { background: var(--cta); }
.wa-float:hover { background: var(--cta-hover); }
.contact-action--wa { background: var(--cta); border-color: var(--cta); color: var(--white); }
.contact-action--wa:hover { background: var(--cta-hover); border-color: var(--cta-hover); }

.cta-row p strong { display: block; margin-top: 4px; color: var(--text); font-weight: 600; }

.area-group { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 28px 64px; align-items: start; }
.group-head h3 { font-size: var(--fs-lg); }
.group-head p { margin-top: 14px; color: var(--text-soft); max-width: 34ch; }
.family-list { border-top: 1px solid var(--line-strong); min-width: 0; }
.family-list li {
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); gap: 8px 32px;
  padding-block: 22px; border-bottom: 1px solid var(--line-strong);
}
.family-list h4, .tea-grid h4 { margin: 0; font-size: 1.15rem; font-weight: 400; line-height: 1.35; color: var(--heading); letter-spacing: -0.01em; text-wrap: balance; }
.family-list p, .tea-grid p { font-size: 0.98rem; color: var(--text-soft); }

.tea-panel {
  margin-top: clamp(56px, 7vw, 96px); padding: clamp(26px, 4vw, 56px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.tea-head { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); gap: 18px 40px; align-items: center; margin-bottom: 36px; }
.tea-head h3 { font-size: var(--fs-lg); margin-top: 10px; }
.tea-intro { color: var(--text-soft); max-width: 46ch; }
.tea-symbol { width: 88px; height: 88px; border-radius: 999px; background: var(--sand-50); color: var(--brown-700); display: grid; place-items: center; }
.tea-symbol svg { width: 56px; height: auto; }
.tea-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.tea-grid li { display: grid; gap: 10px; align-content: start; }

.schedule {
  margin-top: clamp(48px, 6vw, 80px); padding: clamp(24px, 3vw, 40px);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 24px 48px; align-items: center;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
}
.schedule h3 { font-size: var(--fs-md); line-height: 1.3; }
.schedule-copy p { margin-top: 8px; color: var(--text-soft); }
.schedule-contacts { display: grid; gap: 12px; min-width: 0; }
.schedule-contacts li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.schedule-contacts a { color: var(--olive-700); text-decoration: none; font-size: 1.05rem; overflow-wrap: anywhere; }
.schedule-contacts a:hover { color: var(--brown-700); }

/* Página de artigos */
.articles-head { display: grid; gap: 20px; max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.articles-head h1 { font-size: var(--fs-xl); }
.articles-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.article-card { display: grid; gap: 12px; padding: 32px; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); text-decoration: none; }
.article-card time { font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--brown-700); }
.article-card h2 { font-size: 1.35rem; }
.article-card p { color: var(--text-soft); }
.articles-empty { padding: clamp(28px, 4vw, 48px); border: 1px dashed var(--line-strong); border-radius: var(--radius); display: grid; gap: 18px; justify-items: start; max-width: 720px; }
.articles-empty p { color: var(--text-soft); }
.article-body { display: grid; gap: 1.1em; max-width: 68ch; }
.article-body h2 { font-size: 1.45rem; margin-top: 1.2em; }
.article-meta { font-size: var(--fs-sm); color: var(--text-soft); }
.article-note { font-size: var(--fs-sm); color: var(--text-soft); border-left: 1px solid var(--brown-300); padding-left: 16px; margin-top: 2em; }

@media (max-width: 1080px) {
  .schedule { grid-template-columns: minmax(0, 1fr); }
  .schedule .btn { justify-self: start; }
}
@media (max-width: 860px) {
  .area-group, .tea-head { grid-template-columns: minmax(0, 1fr); }
  .tea-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .articles-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .family-list li { grid-template-columns: minmax(0, 1fr); }
  .tea-symbol { width: 72px; height: 72px; }
  .tea-symbol svg { width: 46px; }
  .schedule .btn { width: 100%; }
  .schedule-contacts li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* Sobre com foto vertical */
.about-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.about-media { justify-self: start; width: min(100%, 460px); }
.about-media img { aspect-ratio: 4 / 5; object-position: 50% 20%; }
.arch picture img { object-position: 50% 15%; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .about-media { justify-self: center; width: min(100%, 420px); }
}

/* Fita quebra-cabeça (TEA) */
.tea-symbol { background: var(--white); border: 1px solid var(--line); }
.tea-symbol { width: 104px; height: 104px; }
.tea-symbol svg.tea-ribbon { width: 58px; height: auto; }
@media (max-width: 600px) { .tea-symbol { width: 88px; height: 88px; } .tea-symbol svg.tea-ribbon { width: 50px; } }

/* Quadro TEA em bege suave da marca */
.tea-panel { background: var(--sand-50); border-color: transparent; }
.tea-grid { border-top-color: var(--line-strong); }
.tea-symbol { background: var(--white); border-color: transparent; }

/* Agendamento (substitui "Como funciona") */
.booking { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px clamp(40px, 6vw, 96px); align-items: center; }
.booking-copy { display: grid; gap: 24px; min-width: 0; }
.booking-copy .lead { max-width: 48ch; }
.booking-card {
  display: grid; gap: 28px; padding: clamp(26px, 3.5vw, 44px);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0;
}
.booking-card .schedule-contacts { gap: 0; }
.booking-card .schedule-contacts li { padding-block: 14px; border-bottom: 1px solid var(--line); }
.booking-card .schedule-contacts li:first-child { padding-top: 0; }
.booking-mode { color: var(--olive-700); font-size: 1.05rem; }
.booking-card .btn { justify-self: start; }
@media (max-width: 860px) {
  .booking { grid-template-columns: minmax(0, 1fr); }
  .booking-card .btn { justify-self: stretch; }
}
