/* ============ Fonte local ============ */
/* Outfit servida pelo próprio site (fonts/), sem chamada ao Google: nenhum IP de visitante sai para terceiro.
   Os dois arquivos são os mesmos que o Google Fonts entrega (v15, fonte variável, cobre os pesos 300 a 700);
   os unicode-range copiam os do CSS do Google, para o latin-ext só baixar quando houver caractere dele. */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============ Tokens ============ */
/* Identidade visual Fisio Fran (brief, 2026-10-22). Contraste sobre branco:
   #2A9D74 = 3,4:1 (só ícones, gradientes e títulos grandes); #217F5D = 4,9:1 sobre branco e 4,55:1
   sobre #EEF8F3 (botões, faixas, texto pequeno). #217F5D substitui o #1F7A5A do brief a pedido do dono
   (2026-10-22): o mais claro que ainda dá 4,5:1 sobre o fundo claro. */
:root {
  --primary: #2A9D74;        /* menta principal: ícones, destaques, títulos grandes */
  --primary-dark: #217F5D;   /* menta do logo escurecida só o necessário: botões, faixas e textos pequenos em menta */
  --primary-light: #3EB489;  /* menta clara: só sobre fundo escuro */
  --primary-soft: #EEF8F3;   /* fundo claro */
  --primary-tint: #EEF8F3;
  --accent: #E07A5F;         /* coral: detalhes, com moderação (2,9:1: nunca em texto) */
  --accent-dark: #B4533A;    /* coral escuro para texto pequeno: 4,9:1 sobre branco */
  --accent-soft: #FBEAE4;
  --whatsapp: #25d366;
  --ink: #1E3A33;            /* verde-escuro: texto principal e fundos escuros */
  --ink-2: #3F5A52;          /* 7,5:1 */
  --ink-3: #5B7169;          /* 5,2:1 sobre branco, 4,8:1 sobre --bg-alt */
  --line: #D5E6DE;
  --bg: #ffffff;
  --bg-alt: #EEF8F3;
  --bg-alt-2: #EEF8F3;       /* igual a --bg-alt: mais escuro derrubava o texto pequeno em menta abaixo de 4,5:1; a seção se distingue pelas bordas */
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(30, 58, 51, 0.06);
  --shadow-md: 0 6px 16px rgba(30, 58, 51, 0.08);
  --shadow-lg: 0 16px 40px rgba(30, 58, 51, 0.12);
  --font: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1140px;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 90px; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--primary-dark);
  color: #fff;
  border-radius: 0 0 12px 12px;
  font-weight: 600;
}
.skip-link:focus { top: 0; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* menu off-canvas (translateX) não pode gerar rolagem lateral */
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
p { margin: 0; }
/* Só para leitor de tela (aviso "abre em nova aba", legendas de formulário) */
.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; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.section--alt2 { background: var(--bg-alt-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.section-head h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 3.2vw, 2.5rem); color: var(--primary); }
.section--alt2 .section-head h2 { color: var(--primary-dark); } /* #2A9D74 sobre o antigo #E4F2EB dava 2,94:1; mantido por segurança */
.section-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 16px auto 0;
  background: var(--accent);
  border-radius: 9999px;
}
.section-head p { margin-top: 16px; color: var(--ink-2); font-size: 1.05rem; }

/* ============ Botões ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--primary-dark); color: #fff; box-shadow: 0 4px 10px rgba(42, 157, 116, 0.3); }
.btn--primary:hover { background: var(--ink); }
/* texto escuro: branco sobre #25d366 dá 1,98:1; --ink dá 8,7:1 */
.btn--whatsapp { background: var(--whatsapp); color: var(--ink); box-shadow: 0 4px 10px rgba(37, 211, 102, 0.35); }
.btn--whatsapp:hover { background: #1fb858; }
.btn--outline { background: transparent; color: var(--primary-dark); border-color: var(--primary-dark); }
.btn--outline:hover { background: var(--primary-soft); }
.btn--light { background: #fff; color: var(--primary-dark); }
.btn--light:hover { background: var(--primary-tint); }
/* Botão suave dos cards de especialidade e de avaliações, como no site de referência */
.btn--soft { background: var(--primary-soft); color: var(--primary-dark); border-color: rgba(42, 157, 116, 0.25); border-radius: 12px; padding: 12px 20px; font-size: 0.92rem; }
.btn--soft:hover { background: var(--primary-dark); color: #fff; }
.btn--block { width: 100%; }
.btn--lg { padding: 18px 36px; font-size: 1.1rem; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ============ Barra superior ============ */
.topbar {
  background: var(--primary-dark); /* branco sobre #217F5D: 4,9:1 */
  color: #fff;
  font-size: 0.85rem;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar__items { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
/* fundo escurecido, não clareado: branco sobre #217F5D + 18 % de preto dá 5,9:1 (clarear dava 3,7:1) */
.topbar__badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(0, 0, 0, 0.18); padding: 3px 10px; border-radius: 9999px; font-weight: 600; font-size: 0.8rem; }
.topbar__badge svg { width: 14px; height: 14px; }
.topbar a { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.topbar a svg { width: 16px; height: 16px; }

/* ============ Header ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff; /* sem backdrop-filter: ele viraria containing block do .nav fixed no mobile */
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.header.is-scrolled { box-shadow: var(--shadow-md); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { width: 44px; height: 44px; flex: none; }
.brand__logo img { width: 100%; height: 100%; }
/* Wordmark "fisiofran": "fisio" Outfit 300, "fran" Outfit 700 em menta (texto grande em negrito: 3:1 basta) */
.brand__name { font-size: 1.3rem; line-height: 1.15; letter-spacing: -0.01em; }
.brand__fisio { font-weight: 300; color: var(--ink); }
.brand__fran { font-weight: 700; color: var(--primary); }
.brand__crefito { font-size: 0.75rem; color: var(--ink-3); }

.nav { display: flex; align-items: center; gap: 4px; }
/* nowrap + padding e fonte um pouco menores: com "Áreas de atuação" os 7 links + botão cabem de 1025 a 1366 px sem quebrar (medido 2026-10-22) */
.nav a { padding: 8px 10px; border-radius: 9999px; font-weight: 400; font-size: 0.92rem; color: var(--ink-2); white-space: nowrap; }
.nav a:hover { background: var(--primary-soft); color: var(--primary-dark); }
.nav .btn { margin-left: 8px; padding: 10px 18px; font-size: 0.9rem; color: #fff; }
.nav .btn:hover { background: var(--primary-dark); color: #fff; }

.menu-toggle {
  display: none;
  position: relative;
  z-index: 50; /* acima do .nav aberto */
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  background: linear-gradient(135deg, var(--primary-soft) 0%, #ffffff 55%, var(--primary-soft) 100%);
  padding: 72px 0 80px;
  overflow: hidden;
}
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(42, 157, 116, 0.18);
}
.hero__badge svg { width: 16px; height: 16px; }
.hero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.1rem, 4.2vw, 3.3rem); color: var(--ink); }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero__sub { margin-top: 20px; font-size: 1.12rem; color: var(--ink-2); max-width: 560px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.wa-note { margin-top: 14px; font-size: 0.85rem; color: var(--ink-3); }
.wa-note a { color: var(--primary-dark); font-weight: 600; text-decoration: underline; }
.wa-note--light, .wa-note--light a { color: #fff; }
.hero__google { margin-top: 10px; font-size: 0.9rem; color: var(--ink-3); }
.hero__google a { color: var(--primary-dark); font-weight: 600; text-decoration: underline; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.trust__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow-sm);
}
.trust__item svg { width: 22px; height: 22px; color: var(--primary); flex: none; margin-top: 2px; }
.trust__item strong { display: block; font-size: 0.9rem; }
.trust__item > div > span { font-size: 0.78rem; color: var(--ink-3); }
.trust__item strong span, .trust__item > div > span span { font: inherit; color: inherit; }
.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
/* Cartões flutuantes sobre a foto, como no site de referência (um em cima à esquerda, outro embaixo à direita) */
.hero__float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px 18px;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  animation: floatSlow 4s ease-in-out infinite;
}
.hero__float--1 { top: 24px; left: -28px; }
.hero__float--2 { bottom: 28px; right: -20px; animation-delay: 2s; }
.hero__float strong { display: block; font-size: 0.92rem; color: var(--primary-dark); }
.hero__float > span:last-child span { display: block; font-size: 0.8rem; color: var(--ink-3); }
.hero__float-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.hero__float-icon svg { width: 22px; height: 22px; }
.hero__float-icon--primary { background: var(--primary-soft); color: var(--primary); }
.hero__float-icon--accent { background: var(--accent-soft); color: var(--accent-dark); }
@keyframes floatSlow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ============ Destaques ============ */
/* Faixa branca com "valor grande + legenda", como no site de referência (sem números inventados) */
.stats { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 36px 0; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat strong { display: block; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; font-weight: 700; color: var(--primary); margin-bottom: 6px; } /* texto grande: 3,4:1 basta */
.stat span { font-size: 0.95rem; color: var(--ink-2); }

/* ============ Cards genéricos ============ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 0.95rem; }

/* ============ Especialidades ============ */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { display: flex; flex-direction: column; overflow: hidden; }
/* Faixa no topo do card, como no site de referência: categoria à esquerda, ícone de traço à direita.
   Margem negativa anula o padding do .card; o texto fica no lado escuro do gradiente (#217F5D, 4,9:1). */
.service__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -28px -28px 22px;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
}
.service__top svg { width: 24px; height: 24px; flex: none; }
.service__cat { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.service ul { margin: 16px 0 22px; display: grid; gap: 8px; flex: 1; }
.service li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--ink-2); }
/* Check em traço, como no site de referência (SVG inline em data URI, cor --primary) */
.service li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A9D74' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
}
.service .btn { margin-top: auto; }

/* ============ Galeria ============ */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding: 18px 20px; }
.gallery figcaption strong { display: block; margin-bottom: 4px; }
.gallery figcaption span { font-size: 0.9rem; color: var(--ink-2); }

/* ============ Sobre ============ */
.about { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
/* Cartão CREFITO sobre a foto, como no site de referência */
.about__badge {
  position: absolute;
  right: -16px;
  bottom: -20px;
  max-width: 250px;
  padding: 20px 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.about__badge strong { display: block; font-size: 1.4rem; font-weight: 700; line-height: 1.1; margin-bottom: 4px; } /* texto grande sobre o gradiente */
.about__badge span { font-size: 0.82rem; }
.about h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--primary); margin-bottom: 18px; }
.about p { color: var(--ink-2); margin-bottom: 14px; }
.about blockquote {
  margin: 22px 0;
  padding: 18px 22px;
  background: var(--primary-soft);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-weight: 300;
  font-size: 1.08rem;
  color: var(--primary-dark);
}
.creds { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.creds li { display: flex; gap: 12px; align-items: flex-start; }
.creds__icon { width: 36px; height: 36px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex: none; }
.creds__icon svg { width: 18px; height: 18px; }
.creds li strong { display: block; font-size: 0.92rem; font-weight: 600; }
.creds li > span:last-child > span { font-size: 0.82rem; color: var(--ink-3); }
.about__sign { margin-top: 28px; padding: 22px 0 0 14px; border-top: 1px solid var(--line); position: relative; }
.about__sign::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 2px; width: 3px; background: var(--primary); border-radius: 2px; }
.about__sign strong { display: block; font-size: 1.1rem; font-weight: 600; color: var(--primary-dark); }
.about__sign span { font-size: 0.88rem; color: var(--ink-3); }

/* ============ Como funciona ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { text-align: center; padding: 28px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step__num {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary)); /* número grande em negrito: 3:1 basta */
  color: #fff;
  font-weight: 700;
  font-size: 1.3rem;
  display: grid;
  place-items: center;
}
.step h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 0.92rem; }

/* ============ Regiões ============ */
/* Caixa verde com chips translúcidos e cartão branco, como no site de referência (sem mapa) */
.coverage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 50px 48px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--ink) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.coverage__pill { display: inline-block; margin-bottom: 16px; padding: 6px 14px; border-radius: 9999px; background: rgba(255, 255, 255, 0.2); font-size: 0.85rem; font-weight: 600; }
.coverage h2 { font-size: clamp(1.7rem, 3vw, 2.1rem); font-weight: 600; color: #fff; margin-bottom: 14px; }
.coverage p { color: #fff; opacity: 0.92; margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 7px 16px; border-radius: 9999px; background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.25); color: #fff; font-weight: 600; font-size: 0.85rem; }
.coverage__card { background: #fff; color: var(--ink); padding: 32px; border-radius: var(--radius-lg); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); }
.coverage__card h3 { font-size: 1.25rem; font-weight: 600; color: var(--primary-dark); margin-bottom: 12px; }
.coverage__card p { color: var(--ink-2); opacity: 1; font-size: 0.95rem; margin-bottom: 20px; }
.nowrap { white-space: nowrap; }

/* ============ Avaliações ============ */
/* Cartão de avaliações com o "G" do Google e dois botões, como no site de referência; sem nota nem estrelas */
.reviews-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 32px 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.reviews-card__info { display: flex; align-items: center; gap: 18px; flex: 1 1 320px; }
.reviews-card__logo { width: 56px; height: 56px; border-radius: 16px; background: var(--bg-alt); border: 1px solid var(--line); display: grid; place-items: center; flex: none; }
.reviews-card__logo svg { width: 28px; height: 28px; }
.reviews-card__info strong { display: block; font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; }
.reviews-card__info p { color: var(--ink-2); font-size: 0.95rem; }
.reviews-card__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.reviews-card__actions .btn { border-radius: 12px; padding: 12px 22px; font-size: 0.92rem; }
.reviews-card__actions svg { width: 18px; height: 18px; }
.reviews-cta__profile { margin-top: 18px; text-align: center; font-size: 0.9rem; color: var(--ink-2); }
.reviews-cta__profile a { color: var(--primary-dark); font-weight: 600; text-decoration: underline; }
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.testimonial .stars { color: var(--accent); margin-bottom: 10px; }
.testimonial p { font-weight: 300; font-size: 1.05rem; }
.testimonial footer { margin-top: 14px; font-size: 0.88rem; }
.testimonial footer strong { display: block; color: var(--ink); }
.testimonial footer span { color: var(--ink-3); }

/* ============ FAQ ============ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 600;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
}
.faq-q:focus-visible { outline-offset: -3px; } /* .faq-item tem overflow: hidden; contorno para dentro */
.faq-q svg { width: 20px; height: 20px; flex: none; color: var(--primary); transition: transform 0.2s; }
.faq-item.is-open .faq-q svg { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 22px 20px; color: var(--ink-2); }
.faq-item.is-open .faq-a { display: block; }

/* ============ CTA final ============ */
.cta-banner {
  background: var(--primary-dark); /* verde do logo escurecido; branco 4,5:1 */
  color: #fff;
  padding: 90px 0;
  text-align: center;
}
.cta-banner h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.cta-banner p { margin: 16px auto 32px; max-width: 580px; color: #fff; font-size: 1.08rem; }

/* ============ Rodapé ============ */
/* Sobre --ink: #C9DCD4 dá 9,5:1, #9FB8AE dá 5,7:1, #3EB489 (wordmark) dá 4,8:1 */
.footer { background: var(--ink); color: #C9DCD4; padding: 64px 0 96px; font-size: 0.92rem; } /* 96 px embaixo: o botão flutuante não cobre a última linha em nenhuma largura */
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer h3 { color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 14px; }
.footer li { margin-bottom: 8px; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .brand__fisio { color: #fff; }
.footer .brand__fran { color: var(--primary-light); }
.footer .brand__crefito { color: #9FB8AE; }
.footer__about { margin-top: 14px; color: #9FB8AE; }
.footer__reg { margin-top: 12px; color: var(--primary-light); font-weight: 600; font-size: 0.88rem; } /* #3EB489 sobre --ink: 4,8:1 */
.footer li strong { color: #fff; font-weight: 600; }
.footer__wa { color: var(--primary-light); font-weight: 600; }
.footer__legal { margin-top: 36px; padding-top: 24px; border-top: 1px solid #2C4D44; font-size: 0.85rem; color: #C9DCD4; display: grid; gap: 4px; }
.footer__legal a { color: var(--primary-light); text-decoration: underline; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 18px; font-size: 0.88rem; }
.footer__links li { margin: 0; }
.footer__links a, .footer li a { display: inline-block; padding: 6px 0; } /* área de toque maior */
.footer__links a { color: #fff; text-decoration: underline; }
.footer__privacy { margin-top: 18px; font-size: 0.82rem; color: #9FB8AE; max-width: 720px; }
.footer__privacy a { color: #C9DCD4; text-decoration: underline; }
.footer__bottom {
  margin-top: 28px;
  border-top: 1px solid #2C4D44;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #9FB8AE;
}

/* ============ WhatsApp flutuante (com tooltip e pulso, como no site de referência) ============ */
.wa-float-wrap {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wa-float__tip {
  background: #fff;
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  white-space: nowrap;
  animation: bounceLeft 3s infinite;
}
.wa-float {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #128c7e; /* verde-azulado oficial do WhatsApp; ícone branco a 4,1:1 (mínimo 3:1 para gráfico) */
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(18, 140, 126, 0.45);
  transition: transform 0.15s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; position: relative; }
.wa-float__pulse { position: absolute; inset: 0; border-radius: 50%; background: #25d366; opacity: 0.6; animation: pulseWave 2s infinite; }
@keyframes pulseWave { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes bounceLeft { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-6px); } }

/* ============ Páginas legais (geradas por scripts/gerar-legal.js) ============ */
.legal-nav .btn { padding: 10px 18px; font-size: 0.9rem; }
.legal { padding: 48px 20px 80px; max-width: 820px; }
.legal h1 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 600; color: var(--primary-dark); margin-bottom: 20px; }
.legal h2 { font-size: 1.3rem; font-weight: 600; color: var(--ink); margin: 36px 0 12px; scroll-margin-top: 100px; }
.legal p, .legal li { color: var(--ink-2); margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 12px; }
.legal a { color: var(--primary-dark); text-decoration: underline; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0 20px; font-size: 0.92rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); color: var(--ink-2); }
.legal th { background: var(--bg-alt); color: var(--ink); font-weight: 600; }
.legal__aviso { background: var(--accent-soft); border: 1px solid #F2C4B5; border-left: 4px solid var(--accent-dark); color: #7A3B2A; padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; margin-bottom: 24px; }
@media (max-width: 768px) {
  .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; }
  .legal thead { position: absolute; left: -9999px; }
  .legal tr { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; padding: 6px 0; }
  .legal td { border: 0; padding: 6px 14px; }
}

/* ============ Banner de consentimento (só com CONFIG.analyticsEnabled = true) ============ */
.consent {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 70;
  max-width: 560px;
  margin: 0 auto;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.consent__titulo { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.consent p { font-size: 0.92rem; color: var(--ink-2); margin-bottom: 14px; }
.consent a { color: var(--primary-dark); text-decoration: underline; }
.consent__opcoes { border: 0; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.consent__opcoes label { display: flex; gap: 10px; align-items: center; font-size: 0.92rem; }
.consent__acoes { display: flex; flex-wrap: wrap; gap: 10px; }
.consent__acoes .btn { padding: 10px 18px; font-size: 0.9rem; }

/* ============ Responsivo ============ */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero__media { max-width: 480px; }
  .hero__float--1 { left: 12px; }
  .hero__float--2 { right: 12px; }
  .stats .container, .steps { grid-template-columns: repeat(2, 1fr); }
  .coverage { padding: 36px 28px; }
  .about__badge { right: 8px; bottom: -16px; }
  .grid-3, .services, .gallery, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .about, .coverage { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
/* Menu hambúrguer até 1024 px: entre 769 e 1024 px os 7 links + botão não cabem numa linha */
@media (max-width: 1024px) {
  .menu-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: 0;
    padding: 160px 24px 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    transform: translateX(100%);
    visibility: hidden; /* fechado: fora do Tab e do leitor de tela */
    transition: transform 0.25s ease, visibility 0s 0.25s;
    z-index: 40;
  }
  .nav.is-open { transform: translateX(0); visibility: visible; transition-delay: 0s; }
  .nav a, .nav .btn { font-size: 1.1rem; padding: 14px 16px; border-radius: 12px; }
  .nav .btn { margin: 12px 0 0; justify-content: center; }
  .header .container { position: relative; z-index: 45; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .trust { grid-template-columns: 1fr; }
  .steps, .grid-3, .services, .gallery, .testimonials, .creds { grid-template-columns: 1fr; }
  .hero__float--2, .wa-float__tip { display: none; }
  .hero__float { white-space: normal; max-width: 240px; }
  .coverage { padding: 32px 22px; border-radius: 24px; }
  .reviews-card { padding: 24px; }
  .consent { left: 8px; right: 8px; bottom: 8px; padding: 18px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .topbar .container { justify-content: center; text-align: center; }
}
