/* ============================================================================
   FARMÁCIAS ECONÔMICA — Landing Page
   Design system + estilos. Paleta extraída da logo (navy #073572 / mint #30E4BD).
   ============================================================================ */

:root{
  /* Cores da marca */
  --navy:        #073572;
  --navy-700:    #0A3D7A;
  --navy-900:    #052552;
  --mint:        #30E4BD;
  --mint-400:    #4DEDC9;
  --mint-600:    #1FC9A6;

  /* CTA WhatsApp — verde oficial (reservado SÓ p/ botões de WhatsApp) */
  --wpp:         #25D366;
  --wpp-dark:    #1DA851;

  /* Neutros / suporte */
  --ink:         #0B1B33;
  --mist:        #F2FBF8;
  --mist-2:      #E8FBF6;
  --white:       #FFFFFF;
  --gray:        #5B6B82;
  --line:        #E2E8F0;

  /* Gradientes assinatura */
  --grad-hero:   linear-gradient(135deg, #073572 0%, #0E4E8C 55%, #1FC9A6 130%);
  --grad-mint:   linear-gradient(135deg, #30E4BD 0%, #1FC9A6 100%);

  --radius:      20px;
  --radius-sm:   14px;
  --shadow:      0 10px 30px rgba(7, 53, 114, .10);
  --shadow-lg:   0 20px 50px rgba(7, 53, 114, .16);
  --container:   1140px;
}

/* ---------- Reset ---------- */
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  font-size:18px;               /* generoso p/ público 50+ */
  line-height:1.6;
  color:var(--ink);
  background:var(--white);
  overflow-x:hidden;
}
h1,h2,h3,.logo-text{ font-family:'Poppins',sans-serif; line-height:1.12; color:var(--navy); }
em{ font-style:italic; color:var(--mint-600); }
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }

/* ---------- Layout ---------- */
.container{ width:100%; max-width:var(--container); margin:0 auto; padding:0 20px; }
.container--narrow{ max-width:760px; }
.section{ padding:clamp(44px,5.5vw,72px) 0; }
.center{ text-align:center; }
.section__head{ text-align:center; max-width:680px; margin:0 auto clamp(22px,3.2vw,36px); }
.section__head h2{ font-size:clamp(23px,3.1vw,33px); font-weight:700; }
.section__note{ font-size:14px; color:var(--gray); margin-top:10px; }
.kicker{
  display:inline-block; font-weight:700; font-size:14px; letter-spacing:.08em;
  text-transform:uppercase; color:var(--mint-600); margin-bottom:12px;
}

/* ============================================================================
   BOTÕES
   ============================================================================ */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family:'Poppins',sans-serif; font-weight:700; font-size:17px;
  padding:15px 26px; border-radius:999px; cursor:pointer; border:none;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
  min-height:52px; text-align:center;
}
.btn--wpp{ background:var(--wpp); color:#fff; box-shadow:0 8px 22px rgba(37,211,102,.35); }
.btn--wpp:hover{ background:var(--wpp-dark); transform:translateY(-3px); box-shadow:0 14px 30px rgba(37,211,102,.45); }
.btn--wpp:focus-visible{ outline:3px solid var(--navy); outline-offset:3px; }
.btn--lg{ font-size:18px; padding:17px 32px; min-height:58px; }
.btn--xl{ font-size:20px; padding:19px 36px; min-height:64px; }
.ico-wpp{ width:24px; height:24px; fill:currentColor; flex-shrink:0; }
.btn--xl .ico-wpp{ width:28px; height:28px; }

/* ============================================================================
   HEADER
   ============================================================================ */
.header{
  position:sticky; top:0; z-index:90;
  background:rgba(255,255,255,.85); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
  transition:padding .25s ease, box-shadow .25s ease;
}
.header__inner{ display:flex; align-items:center; gap:18px; padding-top:14px; padding-bottom:14px; transition:padding .25s ease; }
.header.shrink{ box-shadow:0 6px 20px rgba(7,53,114,.08); }
.header.shrink .header__inner{ padding-top:8px; padding-bottom:8px; }
.header__logo{ display:flex; align-items:center; flex-shrink:0; }
.header__logo-img{ height:40px; width:auto; }
.header__badge{
  display:inline-flex; align-items:center; gap:7px; font-size:13.5px; font-weight:600;
  color:var(--navy); background:var(--mist-2); border:1px solid var(--mint-400);
  padding:6px 13px; border-radius:999px; white-space:nowrap;
}
.header__badge-dot{ color:var(--mint-600); font-weight:800; }
.header__nav{ display:flex; gap:22px; margin-left:auto; font-size:15px; font-weight:600; color:var(--gray); }
.header__nav a:hover{ color:var(--navy); }
.header__cta{ padding:11px 20px; min-height:44px; font-size:15px; }
.header__cta-text{ display:inline; }

/* Logo fallback tipográfico (até subir a logo.png oficial) */
.logo-fallback{ display:none; align-items:center; gap:6px; }
.logo-cross{
  font-family:'Poppins',sans-serif; font-weight:800; font-size:30px; line-height:1;
  color:#fff; background:var(--grad-mint); width:38px; height:38px; border-radius:11px;
  display:inline-flex; align-items:center; justify-content:center;
}
.logo-text{ font-weight:800; font-size:24px; font-style:italic; color:var(--navy); }
.logo-fallback--light{ display:flex; }
.logo-fallback--light .logo-text{ color:#fff; }

/* ============================================================================
   HERO
   ============================================================================ */
.hero{ position:relative; background:var(--mist); overflow:hidden; padding:clamp(40px,5vw,64px) 0 clamp(44px,5.5vw,72px); }
.hero__inner{ display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:center; position:relative; z-index:2; }
.hero__eyebrow{
  display:inline-flex; align-items:center; gap:9px; font-weight:600; font-size:15px;
  color:var(--navy); background:#fff; border:1px solid var(--line); padding:8px 16px;
  border-radius:999px; box-shadow:var(--shadow); margin-bottom:22px;
}
.pulse-dot{ width:9px; height:9px; border-radius:50%; background:var(--mint-600); box-shadow:0 0 0 0 rgba(31,201,166,.6); animation:pulse 2s infinite; }
.hero__title{ font-size:clamp(30px,4.2vw,46px); font-weight:700; letter-spacing:-.01em; }
.hero__sub{ font-size:clamp(17px,2.1vw,21px); color:var(--gray); margin:22px 0 24px; max-width:34ch; }

.trust-badges{ list-style:none; display:flex; flex-wrap:wrap; gap:10px 18px; margin-bottom:30px; }
.trust-badges li{ display:inline-flex; align-items:center; gap:7px; font-size:15px; font-weight:600; color:var(--navy); }
.tb-check{ color:var(--mint-600); font-weight:800; }
.hero__microcopy{ font-size:14.5px; color:var(--gray); margin-top:14px; }

/* Blobs de fundo */
.hero__blobs .blob, .offer__blobs, .final-cta__blobs{ position:absolute; border-radius:50%; filter:blur(50px); opacity:.5; z-index:1; }
.blob--mint{ width:380px; height:380px; background:var(--mint); top:-90px; right:-60px; animation:float 14s ease-in-out infinite; }
.blob--navy{ width:300px; height:300px; background:var(--navy-700); bottom:-120px; left:-80px; opacity:.18; animation:float 18s ease-in-out infinite reverse; }
.blob--mint2{ width:200px; height:200px; background:var(--mint-400); bottom:40px; right:30%; opacity:.35; animation:float 12s ease-in-out infinite; }

/* Phone mockup */
.hero__phone{ display:flex; justify-content:center; }
.phone{
  width:290px; max-width:80vw; background:#0c2545; border-radius:38px; padding:12px;
  box-shadow:var(--shadow-lg); position:relative; border:3px solid #103057;
}
.phone__notch{ width:120px; height:22px; background:#0c2545; border-radius:0 0 16px 16px; position:absolute; top:12px; left:50%; transform:translateX(-50%); z-index:3; }
.phone__screen{ background:#e7f4ef; border-radius:28px; overflow:hidden; min-height:430px; }
.chat__top{ display:flex; align-items:center; gap:11px; background:var(--navy); color:#fff; padding:18px 16px 14px; }
.chat__avatar{ width:38px; height:38px; border-radius:50%; background:var(--grad-mint); color:#fff; font-weight:800; font-size:22px; display:flex; align-items:center; justify-content:center; }
.chat__top strong{ display:block; font-size:15px; }
.chat__top small{ font-size:12px; color:var(--mint-400); }
.chat__body{ padding:16px 14px; display:flex; flex-direction:column; gap:10px; background-image:linear-gradient(rgba(255,255,255,.5),rgba(255,255,255,.5)); }
.bubble{ max-width:80%; padding:10px 13px; border-radius:14px; font-size:14px; line-height:1.45; box-shadow:0 1px 2px rgba(0,0,0,.08); }
.bubble--in{ align-self:flex-start; background:#fff; border-top-left-radius:4px; }
.bubble--out{ align-self:flex-end; background:#d6f8c6; border-top-right-radius:4px; }

/* ============================================================================
   PROVA SOCIAL (barra)
   ============================================================================ */
.proof-bar{ background:var(--navy); color:#fff; padding:26px 0; }
.proof-bar__inner{ display:flex; justify-content:center; gap:clamp(28px,8vw,90px); flex-wrap:wrap; text-align:center; }
.proof-stat strong{ display:block; font-family:'Poppins',sans-serif; font-weight:800; font-size:clamp(30px,5vw,44px); color:var(--mint-400); }
.proof-stat span{ font-size:15px; color:#c6d6ec; }

/* ============================================================================
   CARDS (benefícios)
   ============================================================================ */
.cards{ display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:22px; }
.card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:30px 26px;
  box-shadow:var(--shadow); transition:transform .25s ease, box-shadow .25s ease;
}
.card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.card__icon{
  display:inline-flex; align-items:center; justify-content:center; width:54px; height:54px;
  border-radius:15px; background:var(--mist-2); color:var(--mint-600);
  font-family:'Poppins',sans-serif; font-weight:800; font-size:28px; margin-bottom:16px;
}
.card h3{ font-size:20px; font-weight:700; margin-bottom:8px; }
.card p{ font-size:16px; color:var(--gray); }

/* ============================================================================
   COMO FUNCIONA (timeline)
   ============================================================================ */
.steps{ background:var(--mist); }
.timeline{ list-style:none; display:grid; grid-template-columns:repeat(3,1fr); gap:24px; counter-reset:step; margin-bottom:42px; }
.step{ background:#fff; border-radius:var(--radius); padding:32px 26px; box-shadow:var(--shadow); position:relative; border:1px solid var(--line); }
.step__num{
  display:inline-flex; align-items:center; justify-content:center; width:48px; height:48px;
  border-radius:50%; background:var(--grad-hero); color:#fff;
  font-family:'Poppins',sans-serif; font-weight:800; font-size:22px; margin-bottom:16px;
}
.step h3{ font-size:19px; margin-bottom:8px; }
.step p{ font-size:16px; color:var(--gray); }

/* ============================================================================
   FAIXA DA OFERTA
   ============================================================================ */
.offer{ position:relative; background:var(--grad-hero); color:#fff; padding:clamp(40px,5vw,64px) 0; overflow:hidden; }
.offer__inner{ display:flex; align-items:center; gap:clamp(24px,5vw,56px); flex-wrap:wrap; justify-content:center; position:relative; z-index:2; }
.offer__stamp{
  flex-shrink:0; font-family:'Poppins',sans-serif; font-weight:800; font-size:clamp(22px,3.4vw,30px);
  line-height:1; text-align:center; color:var(--navy); background:#fff; border:4px dashed var(--mint-600);
  border-radius:50%; width:160px; height:160px; display:flex; align-items:center; justify-content:center;
  transform:rotate(-8deg); box-shadow:var(--shadow-lg);
}
.offer__copy{ max-width:560px; }
.offer__copy h2{ color:#fff; font-size:clamp(22px,2.9vw,32px); font-weight:700; }
.offer__copy em{ color:var(--mint-400); }
.offer__area{ margin:14px 0 24px; font-size:17px; color:#d8eafc; }

/* ============================================================================
   AVALIAÇÕES
   ============================================================================ */
.reviews__grid{ grid-template-columns:repeat(3,1fr); }
.review{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:28px 26px; box-shadow:var(--shadow); transition:transform .25s ease; }
.review:hover{ transform:translateY(-5px); }
.stars{ color:#FFB23E; font-size:18px; letter-spacing:2px; margin-bottom:12px; }
.review p{ font-size:16.5px; color:var(--ink); margin-bottom:18px; }
.review footer{ display:flex; align-items:center; gap:10px; font-size:14.5px; font-weight:600; color:var(--gray); }
.avatar{ width:38px; height:38px; border-radius:50%; background:var(--grad-mint); color:#fff; font-weight:800; display:flex; align-items:center; justify-content:center; }

/* ============================================================================
   COBERTURA
   ============================================================================ */
.coverage{ background:var(--mist); }
.chips{ display:flex; flex-wrap:wrap; gap:11px; justify-content:center; max-width:760px; margin:0 auto 36px; }
.chip{ background:#fff; border:1px solid var(--mint-400); color:var(--navy); font-weight:600; font-size:15px; padding:9px 18px; border-radius:999px; box-shadow:var(--shadow); }
.coverage__cta{ text-align:center; max-width:560px; margin:0 auto; }
.coverage__cta p{ font-size:18px; color:var(--navy); margin-bottom:20px; font-weight:500; }

/* ============================================================================
   FAQ
   ============================================================================ */
.accordion{ display:flex; flex-direction:column; gap:12px; }
.acc{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-sm); box-shadow:var(--shadow); overflow:hidden; }
.acc summary{
  cursor:pointer; list-style:none; padding:20px 54px 20px 22px; font-family:'Poppins',sans-serif;
  font-weight:600; font-size:18px; color:var(--navy); position:relative;
}
.acc summary::-webkit-details-marker{ display:none; }
.acc summary::after{
  content:'+'; position:absolute; right:22px; top:50%; transform:translateY(-50%);
  font-size:26px; color:var(--mint-600); font-weight:700; transition:transform .25s ease;
}
.acc[open] summary::after{ transform:translateY(-50%) rotate(45deg); }
.acc__body{ padding:0 22px 20px; }
.acc__body p{ font-size:16.5px; color:var(--gray); }

/* ============================================================================
   CTA FINAL
   ============================================================================ */
.final-cta{ position:relative; background:var(--navy-900); color:#fff; padding:clamp(44px,5.5vw,72px) 0; overflow:hidden; text-align:center; }
.final-cta h2{ color:#fff; font-size:clamp(22px,3vw,33px); font-weight:700; margin-bottom:24px; }
.final-cta em{ color:var(--mint-400); }
.final-cta__micro{ font-size:15px; color:#aebfd6; margin-top:16px; }
.final-cta__blobs{ width:420px; height:420px; background:var(--mint); top:-160px; left:50%; transform:translateX(-50%); opacity:.16; }

/* ============================================================================
   RODAPÉ
   ============================================================================ */
.footer{ background:#04204a; color:#c6d6ec; padding:48px 0 32px; font-size:15px; }
.footer__inner{ display:grid; grid-template-columns:1fr 1.4fr; gap:36px; }
.footer__logo-img{ height:42px; width:auto; filter:brightness(0) invert(1); opacity:.92; }
.footer__brand p{ margin-top:8px; }
.footer__legal p{ margin-bottom:10px; line-height:1.55; }
.footer__legal strong{ color:#fff; }
.footer__copy{ font-size:13px; color:#7e93b4; margin-top:18px; }

/* ============================================================================
   FAB WHATSAPP FLUTUANTE
   ============================================================================ */
.fab-wpp{
  position:fixed; bottom:22px; right:22px; z-index:95;
  width:62px; height:62px; border-radius:50%; background:var(--wpp);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 24px rgba(37,211,102,.5); animation:fab-pulse 2.4s infinite;
}
.fab-wpp .ico-wpp{ width:34px; height:34px; }
.fab-wpp:hover{ background:var(--wpp-dark); transform:scale(1.06); }
.fab-wpp:focus-visible{ outline:3px solid #fff; outline-offset:3px; }
.fab-wpp__balloon{
  position:absolute; right:74px; background:#fff; color:var(--ink); font-size:14px; font-weight:600;
  white-space:nowrap; padding:9px 14px; border-radius:12px; box-shadow:var(--shadow-lg);
  opacity:0; transform:translateX(10px); pointer-events:none; transition:opacity .3s ease, transform .3s ease;
}
.fab-wpp__balloon::after{ content:''; position:absolute; right:-6px; top:50%; transform:translateY(-50%); border:6px solid transparent; border-left-color:#fff; }
.fab-wpp__balloon.show{ opacity:1; transform:translateX(0); }

/* ============================================================================
   ANIMAÇÕES
   ============================================================================ */
@keyframes pulse{ 0%{ box-shadow:0 0 0 0 rgba(31,201,166,.6); } 70%{ box-shadow:0 0 0 10px rgba(31,201,166,0); } 100%{ box-shadow:0 0 0 0 rgba(31,201,166,0); } }
@keyframes fab-pulse{ 0%{ box-shadow:0 0 0 0 rgba(37,211,102,.5); } 70%{ box-shadow:0 0 0 16px rgba(37,211,102,0); } 100%{ box-shadow:0 0 0 0 rgba(37,211,102,0); } }
@keyframes float{ 0%,100%{ transform:translate(0,0); } 50%{ transform:translate(20px,-26px); } }

/* Scroll reveal */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:none; }

/* ============================================================================
   RESPONSIVO
   ============================================================================ */
@media (max-width:900px){
  .hero__inner{ grid-template-columns:1fr; gap:36px; }
  .hero__phone{ order:-1; }
  .timeline{ grid-template-columns:1fr; }
  .footer__inner{ grid-template-columns:1fr; }
  .header__nav{ display:none; }
  .header__badge{ display:none; }
  /* tablet: depoimentos em 2 colunas (o 3º centraliza embaixo) */
  .reviews__grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:680px){
  /* mobile: depoimentos em coluna única, centrados e com largura confortável */
  .reviews__grid{ grid-template-columns:1fr; max-width:440px; margin-left:auto; margin-right:auto; }
}
@media (max-width:560px){
  body{ font-size:17px; }
  .header__inner{ gap:10px; }
  .header__badge{ display:none; }
  .header__cta-text{ display:none; }
  .header__cta{ padding:11px 14px; }
  .header__logo-img{ height:34px; }
  .logo-cross{ width:34px; height:34px; font-size:26px; }
  .logo-text{ font-size:21px; }
  .btn{ width:100%; }
  .header__cta{ width:auto; }
  .hero__sub{ max-width:none; }
  .offer__stamp{ width:128px; height:128px; }
  .fab-wpp{ width:58px; height:58px; bottom:18px; right:18px; }
}

/* ============================================================================
   ACESSIBILIDADE — reduzir movimento
   ============================================================================ */
@media (prefers-reduced-motion:reduce){
  *{ animation:none !important; transition:none !important; scroll-behavior:auto !important; }
  .reveal{ opacity:1; transform:none; }
}
