/* =========================================================
   Farmafórmula Açailândia: Landing Page
   Paleta e tipografia: globais do site oficial farmaformula.com.br
   ========================================================= */

/* ---------- Fontes hospedadas no próprio site ----------
   Mais rápido e sem enviar o IP dos visitantes ao Google (LGPD).
   Arquivos em assets/fonts/ (subconjunto "latin", cobre acentos do português). */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../assets/fonts/poppins-300-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/poppins-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/poppins-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/poppins-600-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/poppins-700-latin.woff2") format("woff2"); }
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("../assets/fonts/mulish-400-900-latin.woff2") format("woff2"); }

:root {
  /* Marca */
  --green-700: #1F5E04;   /* verde escuro */
  --green-600: #268842;   /* primária */
  --green-500: #68AF44;   /* secundária */
  --green-400: #69CC3D;
  --green-300: #61CE70;   /* acento */
  --green-100: #E4EEE0;
  --green-50:  #F2F8F1;   /* fundo claro */
  --ink:       #1C2128;   /* texto */
  --ink-dark:  #1A2614;   /* rodapé */
  --gray-600:  #3E3E3E;
  --gray-400:  #9E9E9E;
  --gray-100:  #F5F5F5;
  --white:     #FFFFFF;

  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Mulish", "Poppins", system-ui, sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(26, 38, 20, .06);
  --shadow: 0 12px 32px rgba(26, 38, 20, .10);
  --shadow-lg: 0 24px 60px rgba(26, 38, 20, .18);

  --container: 1140px;
  --gutter: 20px;
  --section-y: clamp(64px, 9vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word; /* e-mails e links longos não estouram a tela */
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .steps-title, .step p { text-wrap: balance; }
p, blockquote { text-wrap: pretty; }
.nowrap { white-space: nowrap; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.ico { width: 1.25em; height: 1.25em; flex-shrink: 0; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--white); padding: 8px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Placeholder visível (não publicar com isso) */
.placeholder { background: #FFF3C4; color: #7A5B00; padding: 0 6px; border-radius: 4px; font-weight: 600; }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 14px;
}
.eyebrow-light { color: var(--green-300); }
h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--ink);
}
.section { padding: var(--section-y) 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 500; font-size: 15px; line-height: 1.2;
  padding: 14px 26px; border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; text-align: center;
  transition: background-color .2s, color .2s, transform .2s, box-shadow .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--green-300); outline-offset: 3px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 18px 32px; font-size: 16px; font-weight: 600; }
.btn-primary { background: var(--green-600); color: var(--white); }
.btn-primary:hover { background: var(--green-500); }
.btn-light { background: var(--white); color: var(--green-700); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.btn-light:hover { background: var(--green-50); }
.btn-outline { border-color: var(--green-600); color: var(--green-600); }
.btn-outline:hover { background: var(--green-600); color: var(--white); }
.btn-shadow { box-shadow: 0 12px 28px rgba(38, 136, 66, .35); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(26,38,20,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 30px; width: auto; }
.brand-unit {
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-600); padding-left: 12px; border-left: 1px solid var(--green-100);
}

/* ---------- Bloco 1: Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% 20%, rgba(104,175,68,.35), transparent 60%),
    linear-gradient(135deg, var(--green-700) 0%, #1d6e2f 45%, var(--green-600) 100%);
  color: var(--white);
  padding: clamp(56px, 8vw, 96px) 0 clamp(120px, 14vw, 160px);
}
.hero::after { /* textura sutil */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(34px, 5.4vw, 60px); line-height: 1.06; letter-spacing: -.02em;
}
.hero h1 .hl { color: var(--green-400); }
.hero-sub { margin-top: 20px; font-size: clamp(17px, 2vw, 21px); font-weight: 300; color: rgba(255,255,255,.9); max-width: 34ch; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions .btn .ico { color: var(--green-600); }
.hero-note { margin-top: 22px; display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.75); }

/* Composição visual provisória */
.hero-visual { position: relative; aspect-ratio: 1; max-width: 440px; justify-self: center; width: 100%; }
.hv-ring { position: absolute; inset: 4%; border: 1px dashed rgba(255,255,255,.28); border-radius: 50%; animation: spin 60s linear infinite; }
.hv-blob {
  position: absolute; inset: 14%;
  border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
  background: linear-gradient(160deg, rgba(255,255,255,.22), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: inset 0 0 60px rgba(255,255,255,.08);
}
/* Cápsulas com volume: gradiente cilíndrico, reflexo de luz e emenda entre as metades.
   Medidas em cqw (largura do .hero-visual) para escalar igual no celular. */
.hero-visual { container-type: inline-size; }
.hv-pill {
  --c: var(--green-400);
  position: absolute; border-radius: 999px;
  background: linear-gradient(to bottom,
    color-mix(in srgb, var(--c) 50%, var(--white)) 0%,
    var(--c) 40%,
    color-mix(in srgb, var(--c) 70%, var(--ink)) 100%);
  box-shadow:
    inset 0 -1.2cqw 2cqw rgba(0,0,0,.2),
    inset 0 .6cqw 1.2cqw rgba(255,255,255,.35),
    0 5cqw 6cqw -2cqw rgba(10,40,10,.55);
}
.hv-pill::before { /* metade branca */
  content: ""; position: absolute; inset: 0 50% 0 0; border-radius: 999px 0 0 999px;
  background: linear-gradient(to bottom, var(--white) 0%, var(--white) 35%, color-mix(in srgb, var(--white) 76%, var(--ink)) 100%);
  box-shadow: inset -.4cqw 0 .6cqw rgba(0,0,0,.16);
}
.hv-pill::after { /* reflexo de luz */
  content: ""; position: absolute; left: 10%; right: 10%; top: 13%; height: 20%;
  border-radius: 999px;
  background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,.9) 22%, rgba(255,255,255,.5) 72%, rgba(255,255,255,0));
}
.hv-pill-1 { width: 38%; height: 14%; top: 30%; left: 22%; transform: rotate(-32deg); animation: float 6s ease-in-out infinite; }
.hv-pill-2 { --c: var(--green-300); width: 26%; height: 10%; top: 56%; left: 52%; transform: rotate(24deg); animation: float 7s ease-in-out infinite -2s; }
.hv-pill-3 { --c: #C1FFA6; width: 18%; height: 7%; top: 20%; left: 62%; transform: rotate(60deg); animation: float 8s ease-in-out infinite -4s; filter: blur(.5px); opacity: .9; }

/* Microgrânulos brilhantes */
.hv-bead {
  position: absolute; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--white) 0 10%, color-mix(in srgb, var(--green-400) 55%, var(--white)) 22%, var(--green-500) 60%, var(--green-700) 100%);
  box-shadow: 0 2cqw 2.4cqw -1cqw rgba(10,40,10,.55);
  animation: float 9s ease-in-out infinite;
}
.hv-bead-1 { width: 5.5%; top: 74%; left: 74%; animation-delay: -1s; }
.hv-bead-2 { width: 3.6%; top: 46%; left: 76%; animation-delay: -3s; }
.hv-bead-3 { width: 2.6%; top: 22%; left: 36%; animation-delay: -5s; filter: blur(.5px); opacity: .85; }
.hv-card {
  position: absolute; left: -4%; bottom: 10%;
  display: flex; align-items: center; gap: 12px;
  background: var(--white); color: var(--ink);
  padding: 14px 18px; border-radius: 16px; box-shadow: var(--shadow-lg);
  font-size: 13px; line-height: 1.35;
}
.hv-card .ico { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--green-600); color: var(--white); }
.hv-card strong { display: block; font-size: 14px; }
.hv-card span { color: var(--gray-600); }

@keyframes float { 0%,100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -10px; rotate: 4deg; } }
@keyframes spin { to { rotate: 360deg; } }

/* ---------- Bloco 2: Diferenciais ---------- */
.perks { position: relative; z-index: 2; margin-top: -80px; }
.perks-grid {
  display: grid; grid-template-columns: repeat(4, auto);
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 12px;
}
.perk { display: flex; align-items: center; gap: 12px; padding: 22px 16px; line-height: 1.4; }
@media (min-width: 1100px) { .perk strong, .perk span { white-space: nowrap; } }
.perk + .perk { border-left: 1px solid var(--green-100); }
.perk-ico {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--green-50); color: var(--green-600);
}
.perk-ico svg { width: 26px; height: 26px; }
.perk strong { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.perk span { font-size: 13.5px; color: var(--gray-600); }
.perk small { display: block; font-size: 11.5px; color: var(--gray-400); white-space: nowrap; }

/* ---------- Bloco 3: Por que manipular ---------- */
.why { background: var(--white); }
.why-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.why-head p { margin: 18px 0 30px; color: var(--gray-600); font-size: 17px; max-width: 44ch; }
.why-list { display: grid; gap: 14px; }
.why-list li {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--green-50); border: 1px solid var(--green-100);
  border-radius: var(--radius); padding: 18px 22px;
  transition: transform .2s, box-shadow .2s, background-color .2s;
}
.why-list li:hover { transform: translateX(4px); background: var(--white); box-shadow: var(--shadow); }
.chk { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--green-600); color: var(--white); margin-top: 2px; }
.chk svg { width: 16px; height: 16px; }
.why-list strong { display: block; font-weight: 600; font-size: 16px; line-height: 1.35; }
.why-list span { font-size: 14.5px; color: var(--gray-600); }

/* ---------- Bloco 4: Especialidades ---------- */
.specialties { background: var(--green-50); }
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.spec {
  --overlay: linear-gradient(180deg, rgba(10,30,8,.15) 0%, rgba(10,30,8,.55) 100%);
  position: relative; overflow: hidden;
  aspect-ratio: 1 / .95;
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 20px; text-align: center;
  background:
    var(--overlay),
    var(--img, radial-gradient(circle at 30% 20%, rgba(255,255,255,.18), transparent 55%), linear-gradient(150deg, var(--tone, var(--green-600)), #0f2a08));
  background-size: cover; background-position: center;
  color: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.spec:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.spec-ico { width: 56px; height: 56px; opacity: .9; transition: transform .3s; }
.spec:hover .spec-ico { transform: scale(1.08); }
.spec.has-img .spec-ico { display: none; } /* ao usar foto, adicionar a classe has-img */
/* Com foto: título embaixo, sobre um degradê verde-escuro para garantir leitura */
.spec.has-img {
  --overlay: linear-gradient(180deg, rgba(10,30,8,0) 35%, rgba(10,30,8,.55) 65%, rgba(10,30,8,.92) 100%);
  justify-content: flex-end; padding-bottom: 22px;
  background-position: center, var(--pos, center);
}
.spec.has-img h3 { text-shadow: 0 2px 10px rgba(0,0,0,.5); }
/* Fotos (caminho relativo ao CSS) e enquadramento de cada card */
.spec--emagrecimento-e-metabolismo   { --img: url("../assets/img/especialidades/emagrecimento-e-metabolismo.jpg"); --pos: 20% center; }
.spec--dermatologia-e-estetica       { --img: url("../assets/img/especialidades/dermatologia-e-estetica.jpg"); --pos: center 30%; }
.spec--fitoterapicos                 { --img: url("../assets/img/especialidades/fitoterapicos.jpg"); }
.spec--melhora-do-sono-e-ansiedade   { --img: url("../assets/img/especialidades/melhora-do-sono-e-ansiedade.jpg"); --pos: 62% center; }
.spec--suplementos-e-nutraceuticos   { --img: url("../assets/img/especialidades/suplementos-e-nutraceuticos.jpg"); --pos: 35% center; }
.spec--performance-energia-e-saude   { --img: url("../assets/img/especialidades/performance-energia-e-saude.jpg"); }
.spec--pediatria                     { --img: url("../assets/img/especialidades/pediatria.jpg"); --pos: 50% center; }
.spec--saude-da-mulher-e-longevidade { --img: url("../assets/img/especialidades/saude-da-mulher-e-longevidade.jpg"); --pos: 62% center; }
.spec h3 {
  font-family: var(--font-body); font-weight: 700;
  font-size: clamp(14px, 1.35vw, 17px); line-height: 1.25;
  text-transform: uppercase; letter-spacing: .02em;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
  max-width: 16ch;
}

/* ---------- Bloco 5: Envie sua receita ---------- */
.steps { background: var(--white); }
.steps-title { text-align: center; text-transform: uppercase; color: var(--green-700); line-height: 1.02; margin-bottom: clamp(40px, 6vw, 64px); }
.steps-title .light { display: block; font-family: var(--font-body); font-weight: 300; font-size: clamp(30px, 5.2vw, 62px); letter-spacing: .01em; }
.steps-title .bold { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(30px, 5.6vw, 66px); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 52px; counter-reset: s; position: relative; }
.steps-grid::before { /* linha conectando os passos */
  content: ""; position: absolute; top: 64px; left: 16.66%; right: 16.66%;
  border-top: 2px dashed var(--green-100); z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.step-ico {
  position: relative;
  width: 128px; height: 128px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gray-100); color: var(--ink);
  border: 6px solid var(--white);
  margin-bottom: 20px;
  transition: background-color .25s, color .25s;
}
.step:hover .step-ico { background: var(--green-50); color: var(--green-600); }
.step-ico svg { width: 52px; height: 52px; }
.step-ico em {
  position: absolute; top: 2px; right: 2px;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-600); color: var(--white);
  font-style: normal; font-weight: 700; font-size: 14px;
}
.step p { font-weight: 700; font-size: 18px; line-height: 1.4; color: var(--green-700); max-width: 18ch; }

/* ---------- Bloco 6: Prova social ---------- */
.reviews { background: var(--green-50); }
.rating-badge {
  display: flex; align-items: center; gap: 16px; width: fit-content;
  margin: -16px auto 40px; padding: 14px 24px;
  background: var(--white); border-radius: 999px; box-shadow: var(--shadow-sm);
}
.g-logo {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-family: Arial, sans-serif; font-weight: 700; font-size: 22px;
  color: #4285F4; background: var(--white); border: 1px solid #E6E6E6;
}
.rating-line { display: flex; align-items: center; gap: 10px; }
.rating-line strong { font-size: 22px; font-family: var(--font-display); font-weight: 900; }
.stars { display: flex; gap: 2px; color: #FBBC04; }
.stars svg { width: 18px; height: 18px; }
.rating-count { font-size: 13.5px; color: var(--gray-600); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.review {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--white); border-radius: var(--radius); padding: 26px;
  border: 1px solid var(--green-100); box-shadow: var(--shadow-sm);
}
.review .stars svg { width: 16px; height: 16px; }
.review blockquote {
  margin: 0; flex: 1;
  font-size: 15.5px; line-height: 1.6; color: var(--ink);
}
.review blockquote::before { content: "“"; }
.review blockquote::after { content: "”"; }
.review-author { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--green-100); }
.review-author .avatar {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-600); color: var(--white); font-weight: 600; font-size: 15px;
}
.review-author span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.review-author strong { font-size: 14.5px; font-weight: 600; }
.review-author small { font-size: 12px; color: var(--gray-400); }
.swipe-hint { display: none; text-align: center; color: var(--gray-400); font-size: 13px; margin: -24px 0 28px; }

/* ---------- Bloco 7: CTA final ---------- */
.cta-final {
  position: relative; overflow: hidden;
  background:
    radial-gradient(800px 400px at 50% 120%, rgba(104,175,68,.45), transparent 70%),
    linear-gradient(135deg, var(--green-700), var(--green-600));
  color: var(--white);
  padding: var(--section-y) 0;
}
.cta-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-ico { width: 64px; height: 64px; margin-bottom: 22px; color: var(--white); opacity: .95; }
.cta-final h2 { color: var(--white); font-size: clamp(30px, 4.6vw, 52px); }
.cta-final p { margin: 16px 0 34px; font-size: clamp(16px, 1.8vw, 19px); color: rgba(255,255,255,.88); max-width: 46ch; }
.cta-final .btn .ico { color: var(--green-600); }

/* ---------- Bloco 8: Rodapé ---------- */
.site-footer { background: var(--ink-dark); color: rgba(255,255,255,.78); padding: 48px 0 24px; font-size: 14px; }
.site-footer h3 { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--white); margin-bottom: 10px; }
.footer-top { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
/* a logo branca tem muita margem transparente no arquivo: as margens negativas compensam */
.footer-brand img { width: 130px; height: auto; margin: -14px 0 -6px -8px; }
.footer-brand p { margin: 0 0 12px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--green-300); }
.socials { display: flex; gap: 8px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: var(--white);
  transition: background-color .2s, transform .2s;
}
.socials a:hover { background: var(--green-600); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; }
.footer-link { display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; margin-bottom: 6px; transition: color .2s; }
a.footer-link:hover { color: var(--green-300); }
.footer-link .ico { width: 1.1em; height: 1.1em; margin-top: 2px; color: var(--green-300); }
/* Aviso sanitário: um parágrafo discreto entre as duas linhas */
.footer-legal { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 11.5px; line-height: 1.6; color: rgba(255,255,255,.5); }
.footer-legal strong { color: rgba(255,255,255,.75); font-weight: 600; }
/* Linha final no padrão da LP de referência: empresa à esquerda, links legais à direita */
.footer-bottom {
  padding-top: 18px; font-size: 12px; line-height: 1.6; color: rgba(255,255,255,.5);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px 32px;
}
.footer-bottom__right { text-align: right; }
.footer-bottom__right .footer-nav { justify-content: flex-end; }
@media (min-width: 1025px) {
  /* recuo só quando a tela é estreita a ponto de o texto ficar embaixo do WhatsApp flutuante */
  .footer-bottom__right { padding-right: max(0px, calc(68px - (100vw - 1180px) / 2)); }
}

.footer-bottom a, .footer-legal a { text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover, .footer-legal a:hover { color: var(--green-300); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* ---------- Página de política de privacidade ---------- */
.legal { max-width: 780px; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 96px); }
.legal h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(30px, 4.4vw, 44px); line-height: 1.15; color: var(--green-700); }
.legal-date { margin: 8px 0 28px; font-size: 14px; color: var(--gray-400); }
.legal h2 { font-size: clamp(19px, 2.2vw, 23px); font-weight: 800; margin: 40px 0 12px; scroll-margin-top: 90px; }
.legal p, .legal li { color: var(--gray-600); }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; margin-top: 10px; }
.legal ul + p { margin-top: 14px; }
.legal a { color: var(--green-600); text-decoration: underline; }
.legal strong { color: var(--ink); font-weight: 600; }
.site-footer--compact { padding: 28px 0; }
.site-footer--compact .footer-bottom { padding-top: 0; }

/* ---------- CTA fixo no celular ----------
   Aparece depois do topo e some quando o CTA final está na tela (js/main.js).
   Fica à esquerda do WhatsApp flutuante, com a mesma altura. */
.mobile-cta {
  position: fixed; left: 16px; right: 84px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 55;
  display: flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 18px; border-radius: 999px;
  background: var(--green-600); color: var(--white);
  font-weight: 600; font-size: 15px; text-align: center;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.4);
  transform: translateY(160%); transition: transform .25s ease;
}
.mobile-cta.is-visible { transform: none; }
@media (min-width: 641px) { .mobile-cta { display: none; } }

/* ---------- Aviso de cookies (js/consentimento.js) ----------
   "Aceitar" e "Recusar" com o mesmo destaque (Guia de cookies da ANPD). Fica acima de tudo. */
.cookies {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 80;
  padding: 18px; border-radius: var(--radius);
  background: var(--white); color: var(--ink);
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.45);
  font-size: 14px; line-height: 1.5;
}
.cookies[hidden] { display: none; }
.cookies__titulo { font-weight: 600; margin-bottom: 4px; }
.cookies__texto { color: var(--gray-600); margin-bottom: 14px; }
.cookies__texto a { color: var(--green-600); text-decoration: underline; }
.cookies__botoes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookies__botao {
  padding: 11px 16px; border: 1.5px solid var(--green-700); border-radius: 999px;
  background: var(--white); color: var(--green-700);
  font: 600 14px/1.2 var(--font-body); cursor: pointer;
  transition: background-color .2s, color .2s;
}
.cookies__botao:hover { background: var(--green-700); color: var(--white); }
.cookies__botao:focus-visible { outline: 3px solid var(--green-300); outline-offset: 2px; }
@media (min-width: 641px) {
  .cookies { left: 50%; right: auto; bottom: 24px; width: calc(100% - 48px); max-width: 560px; padding: 20px 24px; transform: translateX(-50%); }
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: var(--white);
  box-shadow: 0 10px 28px rgba(37,211,102,.45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Animação de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* =========================================================
   Responsivo
   ========================================================= */
/* Diferenciais em 2 colunas abaixo de 1100px: em 4 colunas o texto não cabe numa linha */
@media (max-width: 1099px) {
  .perks-grid { grid-template-columns: repeat(2, 1fr); }
  .perk:nth-child(3) { border-left: 0; }
  .perk:nth-child(n+3) { border-top: 1px solid var(--green-100); }
}

@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  /* rodapé final empilhado e à esquerda, longe do WhatsApp flutuante */
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom__right { text-align: left; }
  .footer-bottom__right .footer-nav { justify-content: flex-start; }
}

/* 8 especialidades: sempre 4 ou 2 por linha, para não sobrar card sozinho */
@media (max-width: 900px) {
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .spec { aspect-ratio: 16 / 10; }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-note { justify-content: center; }
  .hero-visual { max-width: 300px; order: -1; margin-bottom: -8px; }
  .hv-card { display: none; }
  .why-inner { grid-template-columns: 1fr; }
  .why-head { text-align: center; }
  .why-head p { margin-left: auto; margin-right: auto; }
  /* Passos: continuam lado a lado no tablet, com ícones menores */
  .steps-grid { gap: 20px; }
  .step-ico { width: 100px; height: 100px; }
  .step-ico svg { width: 42px; height: 42px; }
  .steps-grid::before { top: 50px; }
  .step p { font-size: 16px; }
  /* Avaliações: carrossel deslizante (padrão da LP de referência), poupa altura no celular */
  .review-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78%, 340px);
    gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 40px; padding: 2px var(--gutter) 12px;
  }
  .review-grid::-webkit-scrollbar { display: none; }
  .review { scroll-snap-align: center; padding: 22px; }
  .swipe-hint { display: block; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .header-inner { height: 64px; }
  .brand img { height: 24px; }
  .brand-unit { display: none; }
  .header-inner .btn span { display: none; }
  .header-inner .btn { padding: 10px; }
  .hero-visual { max-width: 220px; }
  .btn-lg { width: 100%; padding: 16px 22px; }
  .perks { margin-top: -64px; }
  .perks-grid { grid-template-columns: 1fr; padding: 6px; }
  .perk + .perk { border-left: 0; border-top: 1px solid var(--green-100); }
  .perk { padding: 16px; }
  .spec-grid { gap: 12px; }
  .spec { aspect-ratio: 1 / .95; border-radius: var(--radius); padding: 14px; gap: 10px; }
  .spec.has-img { padding-bottom: 14px; }
  .spec-ico { width: 40px; height: 40px; }
  .spec h3 { font-size: 12.5px; }
  .steps-grid { grid-template-columns: 1fr; gap: 28px; }
  .steps-grid::before { display: none; }
  .step-ico { width: 108px; height: 108px; }
  .step p { font-size: 18px; }
  .rating-badge { border-radius: var(--radius); }
  /* Rodapé no celular: marca em cima, endereço e horário lado a lado, WhatsApp embaixo */
  .site-footer { padding: 36px 0 96px; } /* embaixo: espaço para o CTA fixo e o WhatsApp */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px 16px; padding-bottom: 24px; }
  .footer-brand { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; }
  .footer-brand p { margin: 0; }
  .footer-top > .footer-col:last-child { grid-column: 1 / -1; }
  .wa-float { width: 56px; height: 56px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); }
}

/* Celulares estreitos (até 380px, ex.: iPhone SE, Galaxy A0x) */
@media (max-width: 380px) {
  .spec { padding: 10px; }
  .spec.has-img { padding-bottom: 12px; }
  .spec h3 { font-size: 11.5px; letter-spacing: 0; }
  .footer-brand { flex-wrap: wrap; gap: 12px; }
  .footer-top { grid-template-columns: 1fr; }
  .why-list li { padding: 16px; gap: 12px; }
}
