/* =========================================================================
   MIERS ODONTOLOGIA — Design System
   Estrutura baseada no layout de referência (React/Tailwind → CSS puro)
   ---------------------------------------------------------------------
   ÍNDICE
   01. Variáveis / Tokens
   02. Reset & Base
   03. Utilitários de layout
   04. Botões
   05. Navbar
   06. Hero
   07. Cards & Grids
   08. Seções (Serviços, Processo, Sobre, Especialistas, Depoimentos)
   09. FAQ (accordion)
   10. CTA final
   11. Footer
   12. Flutuantes (WhatsApp, voltar ao topo)
   13. Placeholders de imagem
   14. Página interna (política / 404)
   15. Animações
   16. Responsivo
   ========================================================================= */

/* ================= 01. VARIÁVEIS / TOKENS ================= */
:root {
  /* --- Cores da marca (ALTERE AQUI para a identidade do cliente) --- */
  --brand-primary: #303437;        /* Grafite institucional */
  --brand-primary-dark: #24282a;
  --brand-primary-darker: #181a1c;
  --brand-accent: #bf8347;         /* Cobre — cor exata extraída da logo Miers */
  --brand-accent-light: #d3a06c;   /* Cobre claro — realces sobre fundo escuro */
  --brand-accent-dark: #a56f37;    /* Cobre escuro — hover de botões preenchidos */

  /* --- Neutros --- */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;

  /* --- Tipografia --- */
  /* Montserrat em títulos e corpo de texto (fonte oficial da marca) */
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;

  /* --- Espaçamento / formas --- */
  --radius-sm: 0.5rem;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --radius-full: 9999px;
  --container: 1200px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow: 0 4px 16px rgba(48, 52, 55, 0.08);
  --shadow-lg: 0 12px 32px rgba(48, 52, 55, 0.12);
  --shadow-xl: 0 24px 48px rgba(48, 52, 55, 0.16);

  --header-h: 80px;
  --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================= 02. RESET & BASE ================= */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Montserrat é geométrica e mais larga que a média — o tracking levemente
   negativo compensa isso nos títulos grandes. */
h1, h2, h3, h4 {
  color: var(--brand-primary);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }

::selection { background: var(--brand-accent); color: var(--white); }

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

/* ================= 03. UTILITÁRIOS DE LAYOUT ================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--gray { background: var(--gray-50); }
.section--dark {
  background: linear-gradient(120deg, var(--brand-primary-darker), var(--brand-primary-dark));
  color: rgba(255, 255, 255, 0.85);
}
.section--dark h2, .section--dark h3 { color: var(--white); }

/* Fundo chumbo sólido — mesmo tom do rodapé e do CTA final. */
.section--chumbo {
  background: var(--brand-primary);
  color: rgba(255, 255, 255, 0.85);
}
.section--chumbo h2, .section--chumbo h3 { color: var(--white); }
.section--chumbo .lead { color: rgba(255, 255, 255, 0.8); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-head p { font-size: 1.05rem; color: var(--gray-600); margin-top: 0.75rem; }
.section--dark .section-head p { color: rgba(255, 255, 255, 0.75); }

/* Barrinha em cobre sob o título das seções */
.rule {
  width: 96px; height: 4px;
  border-radius: var(--radius-full);
  background: var(--brand-accent);
  margin: 1.25rem auto 0;
}
.rule--left { margin-inline: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(191, 131, 71, 0.12);
  color: var(--brand-accent);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}
/* Variante para fundo escuro — muda só as cores. O caixa-alta e o tracking
   vêm de .eyebrow, para as três tags do site ficarem iguais. */
.eyebrow--onDark {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  backdrop-filter: blur(8px);
}

/* Quebra de linha manual que desaparece no celular, onde a frase já quebra
   sozinha — evita uma terceira linha solta em telas estreitas. */
.br-md { display: inline; }

.text-accent { color: var(--brand-accent); }
.lead { font-size: 1.075rem; color: var(--gray-600); }
.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;
}

/* ================= 04. BOTÕES ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: 1rem;
  transition: all var(--transition);
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--brand-primary); color: var(--white); box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--brand-primary-dark); box-shadow: var(--shadow-lg); }

/* Botão cobre. O hover escurece (em vez de clarear) para não reduzir o
   contraste do texto branco sobre o preenchimento. */
.btn--accent { background: var(--brand-accent); color: var(--white); box-shadow: var(--shadow); }
.btn--accent:hover { background: var(--brand-accent-dark); box-shadow: var(--shadow-lg); }

.btn--white { background: var(--white); color: var(--brand-primary); box-shadow: var(--shadow-lg); }
.btn--white:hover { background: var(--gray-100); }

.btn--outline { border: 2px solid var(--brand-primary); color: var(--brand-primary); }
.btn--outline:hover { background: var(--brand-primary); color: var(--white); }

.btn--outlineWhite { border: 2px solid rgba(255, 255, 255, 0.6); color: var(--white); }
.btn--outlineWhite:hover { background: var(--white); color: var(--brand-primary); }

.btn--lg { padding: 1.1rem 2.25rem; font-size: 1.075rem; }
.btn--block { width: 100%; }
.btn .icon { width: 20px; height: 20px; flex: 0 0 auto; }

/* ================= 05. NAVBAR ================= */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: all var(--transition);
}
.navbar--transparent { background: transparent; }
.navbar--solid {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

/* Logo à esquerda; links e botão agrupados à direita.
   O "margin-left: auto" (nos links no desktop, no hambúrguer no mobile)
   é o que empurra o bloco para o lado direito. */
.navbar .container {
  display: flex; align-items: center; gap: 2rem;
}

/* -------------------------------------------------------------------------
   Logo (imagem)
   A logo da Miers é vertical: ícone de dentes em cobre + "Miers odontologia".
   Existem duas versões do arquivo, trocadas automaticamente pelo CSS:
     .logo__img--escura → texto grafite #303437, para fundos CLAROS
     .logo__img--clara  → texto branco,          para fundos ESCUROS
   ------------------------------------------------------------------------- */
.logo { display: flex; align-items: center; }
.logo__img { display: block; height: 58px; width: auto; }

/* Padrão: fundo claro → versão escura */
.logo__img--clara { display: none; }

/* Navbar transparente (sobre o hero escuro) → versão clara */
.navbar--transparent .logo__img--escura { display: none; }
.navbar--transparent .logo__img--clara { display: block; }

/* Rodapé (fundo azul) → versão clara, em tamanho maior */
.footer .logo__img--escura { display: none; }
.footer .logo__img--clara { display: block; }
.footer .logo__img { height: 118px; }

/* Menu mobile (fundo branco) → versão escura, um pouco menor */
.mobile-menu .logo__img { height: 52px; }

/* Links desktop */
.nav-links { display: flex; align-items: center; gap: 0.35rem; margin-left: auto; }
.nav-links a {
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.94rem; font-weight: 500;
  color: var(--gray-700);
  transition: all var(--transition);
}
.nav-links a:hover { color: var(--brand-primary); background: var(--gray-100); }
.nav-links a.is-active { color: var(--brand-accent); font-weight: 600; }
.navbar--transparent .nav-links a { color: rgba(255, 255, 255, 0.9); }
.navbar--transparent .nav-links a:hover { color: var(--white); background: rgba(255, 255, 255, 0.12); }

.nav-cta { display: flex; align-items: center; gap: 0.75rem; }
.nav-cta .btn { padding: 0.7rem 1.35rem; font-size: 0.92rem; }

/* Botão hambúrguer */
.nav-toggle {
  display: none;
  margin-left: auto;          /* empurra o hambúrguer para a direita no mobile */
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  place-items: center;
  color: var(--brand-primary);
}
.navbar--transparent .nav-toggle { color: var(--white); }
.nav-toggle svg { width: 26px; height: 26px; }

/* Menu mobile */
.mobile-menu {
  position: fixed; inset: 0; z-index: 110;
  background: var(--white);
  padding: 1.5rem 1.25rem 2.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--transition);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.mobile-menu__close { width: 44px; height: 44px; display: grid; place-items: center; color: var(--brand-primary); }
.mobile-menu__close svg { width: 26px; height: 26px; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-menu nav a {
  padding: 0.95rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 1.05rem; font-weight: 500;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}
.mobile-menu nav a:hover { background: var(--gray-50); color: var(--brand-primary); }
.mobile-menu .btn { margin-top: 2rem; }

/* ================= 06. HERO ================= */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: center;
  padding-block: calc(var(--header-h) + 3rem) 4rem;
  overflow: hidden;
  color: var(--white);
}
/* Cor de base sólida: garante o fundo grafite mesmo sem imagem, já que o
   gradiente abaixo é semitransparente. */
.hero__bg { position: absolute; inset: 0; z-index: 0; background: var(--brand-primary-dark); }
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--brand-primary-darker) 10%, rgba(36, 40, 42, 0.92) 100%);
}
.hero .container { position: relative; z-index: 1; }

/* Arte da marca na coluna direita do hero */
.hero__art { width: 100%; height: auto; }
.hero__grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem; align-items: center;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }

/* Headline de posicionamento — bem mais longa que um título curto de impacto.
   Usa um corpo menor e entrelinha um pouco maior para caber em ~4 linhas,
   sem estourar a altura do hero. Se a frase for encurtada, dá para voltar
   ao tamanho padrão apagando esta regra. */
.hero__title {
  font-size: clamp(1.7rem, 2.9vw, 2.45rem);
  line-height: 1.28;
  letter-spacing: -0.01em;
}

/* Subheadline do hero — corpo menor que o título, para dar hierarquia clara
   entre a frase de posicionamento e o texto de apoio. */
.hero__text {
  font-size: clamp(0.95rem, 1.35vw, 1.08rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 34rem;
  margin-bottom: 2.25rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Hero das páginas internas (mais compacto) */
.hero--inner { min-height: 72vh; }

/* ================= 07. CARDS & GRIDS ================= */
.grid { display: grid; gap: 2rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* Coluna flex para que o link fique colado na base do card, alinhado entre
   todos eles, mesmo com textos de comprimentos bem diferentes. */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
  transition: all var(--transition);
  height: 100%;
  display: flex; flex-direction: column;
}
.card p { flex: 1 1 auto; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.card__icon {
  width: 64px; height: 64px; margin-bottom: 1.25rem;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: rgba(191, 131, 71, 0.12);
  color: var(--brand-accent);
}
.card__icon svg { width: 32px; height: 32px; }
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--gray-600); font-size: 0.98rem; }

/* Lista de benefícios com check */
.checklist { display: grid; gap: 1rem; }
.checklist li { display: flex; gap: 0.85rem; align-items: flex-start; }
.checklist .tick {
  flex: 0 0 auto; width: 26px; height: 26px; margin-top: 2px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(191, 131, 71, 0.15);
  color: var(--brand-accent);
}
.checklist .tick svg { width: 15px; height: 15px; }
.checklist strong { display: block; color: var(--brand-primary); }
.checklist span { color: var(--gray-600); font-size: 0.95rem; }
.section--dark .checklist strong { color: var(--white); }
.section--dark .checklist span { color: rgba(255, 255, 255, 0.72); }

/* ================= 08. SEÇÕES ================= */

/* --- Processo / Como funciona (timeline numerada) --- */
.steps { display: grid; gap: 1.5rem; counter-reset: step; }
.step {
  position: relative;
  display: grid; grid-template-columns: 72px 1fr; gap: 1.5rem; align-items: start;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  transition: all var(--transition);
}
.step:hover { transform: translateX(6px); box-shadow: var(--shadow-lg); }
.step__num {
  counter-increment: step;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand-primary);
  color: var(--white);
  font-size: 1.35rem; font-weight: 700;
}
.step__num::before { content: counter(step, decimal-leading-zero); }
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--gray-600); font-size: 0.97rem; }
.step__note { margin-top: 1.75rem; font-size: 0.85rem; color: var(--gray-500); font-style: italic; }

/* --- Passos em grade (seção "Como funciona" da home) ---
   Diferente de .step (timeline vertical das páginas de especialidade):
   aqui são cards translúcidos lado a lado, para uso sobre .section--dark. */
.stepcard {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  height: 100%;
  display: flex; flex-direction: column;
  transition: all var(--transition);
}
.stepcard:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(191, 131, 71, 0.5);
  transform: translateY(-6px);
}
.stepcard__num {
  width: 48px; height: 48px; flex: 0 0 auto;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand-accent);
  color: var(--white);
  font-size: 1.15rem; font-weight: 700;
  margin-bottom: 1.35rem;
}
.stepcard h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 0.6rem; line-height: 1.35; }
.stepcard p { color: rgba(255, 255, 255, 0.72); font-size: 0.94rem; }

/* CTA centralizado abaixo da grade de passos */
.steps-cta { display: flex; justify-content: center; margin-top: 3rem; }

/* --- Mapa incorporado (seção "Venha nos visitar") --- */
.map-embed {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 12px;
}

/* --- Sobre / História --- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }

/* Equipamentos do Fluxo Digital Chairside.
   O PNG já vem com fundo transparente, então não há retângulo branco sobre o
   chumbo. A máscara suaviza as bordas externas para o conjunto não parecer
   recortado e colado — dissolve nos cantos em vez de terminar seco. */
/* PNG com fundo transparente: os equipamentos aparecem soltos sobre o chumbo.
   Sem border-radius nem máscara de propósito — não há caixa visível para
   arredondar, e o recorte já vem com as sombras dissolvidas. */

/* A imagem é bem larga (3:1). Para os equipamentos não ficarem miúdos, a
   coluna dela ganha mais espaço e a imagem ainda extrapola um pouco, saindo
   pela direita. O overflow-x: hidden do body impede barra de rolagem. */
/* Colunas mais próximas (gap menor) e um pouco mais de largura para o texto,
   o suficiente para "Seu sorriso transformado" caber na primeira linha com o
   h2 no tamanho cheio, igual ao da seção Nossa História. */
.section--chumbo .split { grid-template-columns: 1.04fr 0.96fr; gap: 1.25rem; }

.chairside-img {
  width: 112%;
  max-width: none;
  height: auto;
  border-radius: var(--radius-lg);
}

/* Foto única da seção "Nossa História" */
.about-photo {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Galeria em carrossel, logo abaixo da história.
   O seletor "> *" vale tanto para os placeholders (.ph) quanto para as <img>
   que vão substituí-los, então trocar um pelo outro não exige mexer no CSS. */
.gallery { margin-top: 4rem; }
.gallery__item { margin: 0; }
.gallery__item > * {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Variante retrato (prova social). As fotos são 3:4 — forçá-las no 4:3 da
   galeria cortaria os rostos. Mostra 4 por vez, já que são mais estreitas. */
.gallery--retrato .gallery__item > * { aspect-ratio: 3 / 4; }
.gallery--retrato .carousel__track > * { flex: 0 0 calc((100% - 6rem) / 4); }

/* Banner de depoimento — peça gráfica 16:9 abaixo do carrossel */
.depo-banner { margin: 4rem 0 0; }
.depo-banner img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.split--reverse .split__media { order: 2; }
.split__body p + p { margin-top: 1rem; }
.split__body h2 { margin-bottom: 1.25rem; }

/* --- Especialistas --- */
.pro-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all var(--transition);
  height: 100%;
  display: flex; flex-direction: column;
}
.pro-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
/* Retrato no topo do card. A proporção 3/4 é a mesma dos arquivos originais
   (900×1200), então não há recorte — o object-fit é só uma garantia caso
   alguma foto futura venha em outra proporção. */
.pro-card__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.pro-card__body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }

/* Os cinco nomes cabem em uma linha, então o h3 não precisa reservar altura.
   Se entrar um nome que quebre em duas, devolva "min-height: 2.4em" aqui para
   manter os cards alinhados. */
.pro-card h3 { margin-bottom: 0; }

/* Sem altura reservada: o texto fica colado no nome. Como duas especialidades
   ocupam 2 linhas e três ocupam 1, a descrição desses cards começa um pouco
   mais abaixo. Para alinhar todas, encurte as especialidades longas para
   caberem em uma linha — ou devolva "min-height: 2.7em" aqui. */
.pro-card__role {
  color: var(--brand-accent); font-weight: 600; font-size: 0.9rem;
  line-height: 1.35;
}

/* Bio recolhida em 3 linhas; o botão abaixo remove o limite.
   IMPORTANTE: sem flex-grow. Os cards ficam com a mesma altura na grade, e
   se a bio pudesse crescer o navegador preencheria a sobra com uma 4ª linha,
   furando o line-clamp. Quem ocupa o espaço restante é o .pro-card__cro,
   pelo margin-top: auto. */
.pro-card__bio {
  color: var(--gray-600); font-size: 0.95rem;
  line-height: 1.55;
  margin-top: 0.15rem;
  flex: 0 1 auto;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.pro-card.is-expanded .pro-card__bio {
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
}

.pro-card__cro { margin-top: auto; padding-top: 0.5rem; font-size: 0.8rem; color: var(--gray-400); letter-spacing: 0.05em; }

/* Especialista em destaque (páginas internas) */
.pro-feature {
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 3rem; align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
}

/* --- Depoimentos --- */
.reviews-head {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  margin-top: 1rem;
}
.stars { display: inline-flex; gap: 2px; color: #fbbf24; }
.stars svg { width: 18px; height: 18px; }
.reviews-head span { font-size: 0.9rem; color: var(--gray-500); }
.reviews-head strong { color: var(--brand-primary); font-size: 1.05rem; }

.review {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
}

/* Texto limitado a 8 linhas. O botão "Leia mais" (abaixo) remove o limite —
   o JS só exibe o botão nos depoimentos que realmente ficaram cortados. */
.review__text {
  color: var(--gray-600); font-size: 0.97rem;
  flex: 1 1 auto;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
  line-clamp: 8;
  overflow: hidden;
}
.review.is-expanded .review__text {
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
}

/* Botão "leia mais / saiba mais" — compartilhado entre depoimentos e
   especialistas. Nasce oculto; o JS revela só onde o texto foi cortado. */
.review__more,
.pro-card__more {
  display: none;                      /* o JS troca para inline-flex */
  align-items: center; gap: 0.35rem;
  align-self: flex-start;
  padding: 0;
  color: var(--brand-accent);
  font-weight: 600; font-size: 0.9rem;
  transition: color var(--transition);
}
.review__more.is-visible,
.pro-card__more.is-visible { display: inline-flex; }

.review__more:hover,
.pro-card__more:hover { color: var(--brand-accent-dark); text-decoration: underline; }

.review__more svg,
.pro-card__more svg { width: 15px; height: 15px; transition: transform var(--transition); }

.review.is-expanded .review__more svg,
.pro-card.is-expanded .pro-card__more svg { transform: rotate(180deg); }
.review__author { display: flex; align-items: center; gap: 0.85rem; }
.review__avatar {
  width: 44px; height: 44px; flex: 0 0 auto;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand-primary);
  color: var(--white); font-weight: 600;
  font-size: 0.85rem; letter-spacing: 0.03em;  /* iniciais com 2 letras */
}
.review__name { display: block; font-weight: 600; color: var(--brand-primary); font-size: 0.95rem; }
.review__meta { display: block; font-size: 0.8rem; color: var(--gray-400); }

/* Carrossel */
.carousel { position: relative; }
.carousel__track {
  display: flex; gap: 2rem;
  /* flex-start: cada card tem altura própria, então expandir um depoimento
     não infla os vizinhos com espaço vazio. */
  align-items: flex-start;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { flex: 0 0 calc((100% - 4rem) / 3); scroll-snap-align: start; }
.carousel__nav { display: flex; justify-content: center; gap: 0.75rem; margin-top: 1.5rem; }
.carousel__btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--brand-primary);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.carousel__btn:hover { background: var(--brand-primary); color: var(--white); }
.carousel__btn svg { width: 20px; height: 20px; }

/* ================= 09. FAQ ================= */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 0.85rem; }
.faq__item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all var(--transition);
}
.faq__item.is-open { box-shadow: var(--shadow); border-color: var(--brand-accent); }
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  padding: 1.35rem 1.5rem;
  text-align: left;
  font-weight: 600; font-size: 1.02rem;
  color: var(--brand-primary);
}
.faq__q .chev {
  flex: 0 0 auto; width: 20px; height: 20px;
  color: var(--brand-accent);
  transition: transform var(--transition);
}
.faq__item.is-open .chev { transform: rotate(180deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height var(--transition); }
.faq__a > div { padding: 0 1.5rem 1.4rem; color: var(--gray-600); font-size: 0.97rem; }

/* ================= 10. CTA FINAL ================= */
.cta {
  background: var(--brand-primary);   /* mesmo grafite sólido do rodapé */
  color: var(--white);
  text-align: center;
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
}
.cta h2 { color: var(--white); margin-bottom: 1rem; }
.cta p { color: rgba(255, 255, 255, 0.8); max-width: 640px; margin: 0 auto 2.25rem; font-size: 1.05rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ================= 11. FOOTER ================= */
.footer {
  background: var(--brand-primary);
  color: rgba(255, 255, 255, 0.8);
  padding-block: 4rem 2rem;
  font-size: 0.94rem;
}
/* 4 colunas lado a lado: marca | contato | horário | agendamento */
.footer__grid {
  display: grid; grid-template-columns: 1.3fr 1.15fr 0.85fr 1fr;
  gap: 2.75rem;
  padding-bottom: 3rem;
}

/* As colunas de Horário e Agendamento têm a mesma estrutura (título + duas
   linhas), então os botões se alinham só com uma margem igual nos dois —
   sem precisar empurrá-los para o rodapé da coluna, o que abriria um vão
   grande por causa da coluna da marca, que é mais alta. */
.footer__grid > div { display: flex; flex-direction: column; align-items: flex-start; }
.footer__grid > div > .btn { margin-top: 1.5rem; }
.footer h3 {
  color: var(--white);
  font-size: 1.15rem;
  padding-bottom: 0.6rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.footer__about { margin-top: 1.25rem; }
.footer ul { display: grid; gap: 0.7rem; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__contact li { display: flex; gap: 0.7rem; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 3px; color: var(--brand-accent); }

/* Etiqueta abaixo do número (WhatsApp / Fixo) */
.footer__contact small {
  display: block;
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
/* Empilhado (dia acima, horário abaixo): o horário de dois turnos não cabe
   lado a lado na largura da coluna do rodapé. */
/* Sem margem própria: o respiro vem do margin-bottom do <h3>, igual ao do
   parágrafo da coluna vizinha. É o que deixa os dois botões na mesma linha. */
.footer__hours { display: grid; gap: 0.75rem; }
.footer__hours div { display: flex; flex-direction: column; gap: 0.1rem; }
.footer__hours dt { color: rgba(255, 255, 255, 0.6); font-size: 0.86rem; }
.footer__hours dd { color: var(--white); line-height: 1.5; }


.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.75rem;
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
  font-size: 0.85rem; color: rgba(255, 255, 255, 0.6);
}
/* Crédito da agência, à direita da linha de copyright */
.footer__credit { white-space: nowrap; }
.footer__credit strong { color: var(--white); font-weight: 600; }
.footer__credit a:hover { text-decoration: none; }
.footer__credit a:hover strong { color: var(--brand-accent); }

/* ================= 12. FLUTUANTES ================= */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand-accent);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(191, 131, 71, 0.45);
  transition: all var(--transition);
}
.wa-float:hover { background: var(--brand-accent-dark); transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

.to-top {
  position: fixed; right: 1.25rem; bottom: 6rem; z-index: 90;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--white); color: var(--brand-primary);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transition: all var(--transition);
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top svg { width: 20px; height: 20px; }


/* ================= 13. PLACEHOLDERS DE IMAGEM =================
   Substitua cada .ph por uma <img src="..."> real.
   O atributo data-label descreve o que deve entrar ali.        */
.ph {
  position: relative;
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(45deg, rgba(48, 52, 55, 0.05) 0 12px, rgba(48, 52, 55, 0.02) 12px 24px);
  border: 2px dashed rgba(48, 52, 55, 0.2);
  display: grid; place-items: center;
  min-height: 240px;
  overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  padding: 0.5rem 1rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--brand-primary);
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-full);
  text-align: center;
  max-width: 85%;
}
.ph--onDark {
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.07) 0 12px, rgba(255, 255, 255, 0.03) 12px 24px);
  border-color: rgba(255, 255, 255, 0.25);
}
.ph--onDark::after { background: rgba(36, 40, 42, 0.7); color: var(--white); }
.ph--square { aspect-ratio: 1; min-height: 0; }
.ph--portrait { aspect-ratio: 3 / 4; min-height: 0; }
.ph--wide { aspect-ratio: 16 / 9; min-height: 0; }
.ph--hero { position: absolute; inset: 0; border-radius: 0; min-height: 100%; }
.ph--avatar { width: 120px; height: 120px; border-radius: 50%; min-height: 0; }
.ph--avatar::after { font-size: 0.65rem; padding: 0.25rem 0.5rem; }

/* ================= 14. PÁGINA INTERNA (política / 404) ================= */
.page-head {
  background: linear-gradient(120deg, var(--brand-primary-darker), var(--brand-primary-dark));
  color: var(--white);
  padding-block: calc(var(--header-h) + 4rem) 4rem;
  text-align: center;
}
.page-head h1 { color: var(--white); }
.page-head p { color: rgba(255, 255, 255, 0.75); margin-top: 1rem; }

.prose { max-width: 780px; margin-inline: auto; }
.prose h2 { font-size: 1.5rem; margin-top: 2.75rem; margin-bottom: 0.85rem; }
.prose h3 { font-size: 1.15rem; margin-top: 1.75rem; margin-bottom: 0.5rem; }
.prose p, .prose li { color: var(--gray-600); }
.prose p + p { margin-top: 0.85rem; }
.prose ul { margin-top: 0.85rem; display: grid; gap: 0.5rem; padding-left: 1.25rem; list-style: disc; }
.prose ul li::marker { color: var(--brand-accent); }
.prose strong { color: var(--brand-primary); }
.prose__meta { font-size: 0.88rem; color: var(--gray-400); }

/* Links dentro de blocos de conteúdo ganham a cor de destaque */
.prose a, .checklist a, .faq__a a {
  color: var(--brand-accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose a:hover, .checklist a:hover, .faq__a a:hover { color: var(--brand-primary); }

.error-page {
  min-height: 100vh;
  display: grid; place-items: center; text-align: center;
  padding: calc(var(--header-h) + 3rem) 1.25rem 4rem;
}
.error-code {
  font-size: clamp(5rem, 18vw, 10rem);
  font-weight: 700; line-height: 1;
  color: var(--brand-accent); opacity: 0.35;
}

/* ================= 15. ANIMAÇÕES ================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }
.reveal[data-delay="5"] { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ================= 16. RESPONSIVO ================= */
@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: grid; }
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__aside { max-width: 420px; }
  .split, .pro-feature { grid-template-columns: 1fr; gap: 2rem; }
  /* Empilhado: a imagem volta ao tamanho da coluna */
  .section--chumbo .split { grid-template-columns: 1fr; }
  .chairside-img { width: 100%; }
  .split--reverse .split__media { order: 0; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .carousel__track > * { flex-basis: calc((100% - 2rem) / 2); }
  .gallery--retrato .carousel__track > * { flex-basis: calc((100% - 4rem) / 3); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 720px) {
  :root { --header-h: 72px; }
  .br-md { display: none; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .carousel__track > * { flex-basis: 88%; }
  .gallery--retrato .carousel__track > * { flex-basis: 62%; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-block: calc(var(--header-h) + 2.5rem) 3.5rem; }
  .map-embed { height: 250px; }
  .step { grid-template-columns: 1fr; gap: 1rem; }
  .pro-feature { padding: 1.5rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
