/* ============ TOKENS ============ */
:root{
  --navy-950:#0A1E36;
  --navy-800:#142A45;
  --navy-700:#1C3654;
  --platinum:#D1D1D1;
  --white:#FFFFFF;
  --ink:#0A1E36;
  --muted:#6B7078;
  --muted-lt:#ABB0B6;
  --copper:#2E5A8C;
  --copper-lt:#4C7BAF;
  --line:#DADFE3;
  --line-dark:#24405C;
  --success:#4C8577;

  --font-display:'Space Grotesk', sans-serif;
  --font-body:'IBM Plex Sans', sans-serif;
  --font-mono:'IBM Plex Mono', monospace;

  --wrap:1180px;
}

*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--white);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{font-family:var(--font-display);color:var(--navy-950);line-height:1.12;letter-spacing:-0.01em;}
h1{font-size:clamp(2.1rem,4.4vw,3.4rem);font-weight:700;}
h2{font-size:clamp(1.7rem,3vw,2.4rem);font-weight:600;margin-bottom:2.2rem;}
h3{font-size:1.15rem;font-weight:600;margin-bottom:.5rem;}
h4{font-size:1.05rem;font-weight:600;margin-bottom:.4rem;}
p{color:var(--muted);}
a{color:inherit;text-decoration:none;}
img,svg{display:block;max-width:100%;}
ul{list-style:none;}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px;}
.wrap--narrow{max-width:820px;}
.center{text-align:center;}
@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important;transition-duration:0.001ms !important;}
}

/* ============ EYEBROW / LABELS ============ */
.eyebrow{
  font-family:var(--font-mono);
  font-size:.72rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--copper-lt);
  margin-bottom:1rem;
}
.eyebrow--dark{color:var(--copper);}
.section__note{color:var(--muted);margin-top:-1.6rem;margin-bottom:2rem;max-width:560px;}

/* ============ BUTTONS ============ */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:.9rem 1.6rem;border-radius:3px;
  font-weight:600;font-size:.95rem;
  border:1.5px solid transparent;
  transition:transform .15s ease, background .15s ease, border-color .15s ease;
  white-space:nowrap;
}
.btn:hover{transform:translateY(-1px);}
.btn--primary{background:var(--copper);color:var(--white);}
.btn--primary:hover{background:var(--copper-lt);}
.btn--ghost{border-color:var(--line-dark);color:var(--navy-950);}
.btn--ghost:hover{border-color:var(--copper);}
.btn--ghost-dark{border-color:rgba(255,255,255,.35);color:var(--white);}
.btn--ghost-dark:hover{border-color:var(--copper-lt);}
.btn--sm{padding:.6rem 1.2rem;font-size:.85rem;}

/* ============ NAV ============ */
.nav{
  position:sticky;top:0;z-index:50;
  background:rgba(10,25,47,.96);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--line-dark);
}
.nav__row{display:flex;align-items:center;gap:1.5rem;height:72px;}
.brand{display:flex;align-items:center;gap:.65rem;margin-right:auto;}
.brand__mark{height:38px;width:auto;display:block;background:var(--white);border-radius:6px;padding:4px 8px;box-sizing:border-box;}
.brand__text{font-family:var(--font-display);font-weight:600;color:var(--white);font-size:1.05rem;display:flex;flex-direction:column;line-height:1.05;}
.brand__text em{font-style:normal;font-family:var(--font-mono);font-size:.62rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted-lt);}
.nav__links{display:flex;gap:1.6rem;}
.nav__links a{color:var(--platinum);font-size:.92rem;opacity:.85;transition:opacity .15s;}
.nav__links a:hover{opacity:1;color:var(--copper-lt);}
.nav__burger{display:none;flex-direction:column;gap:5px;background:none;border:none;cursor:pointer;padding:6px;}
.nav__burger span{width:22px;height:2px;background:var(--platinum);display:block;}

/* ============ HERO ============ */
.hero{background:linear-gradient(180deg,#F7F8FA 0%,#EFF1F4 100%);color:var(--ink);padding:4.5rem 0 3.5rem;overflow:hidden;}
.hero__grid{display:grid;grid-template-columns:1.05fr .95fr;gap:3rem;align-items:center;}
.hero h1{color:var(--navy-950);}
.hero__sub{color:var(--muted);font-size:1.05rem;max-width:520px;margin:1.4rem 0 1.8rem;}
.hero__cta{display:flex;gap:1rem;flex-wrap:wrap;}
.hero__cta--center{justify-content:center;}
.hero__fine{font-family:var(--font-mono);font-size:.75rem;color:var(--muted);margin-top:1.2rem;letter-spacing:.02em;}

/* ============ PHONE / WHATSAPP MOCKUP ============ */
.hero__diagram{display:flex;justify-content:center;}
.phone{
  width:100%;max-width:320px;background:var(--navy-950);border-radius:32px;
  padding:14px 10px 18px;box-shadow:0 24px 48px -20px rgba(10,25,47,.35);
  position:relative;
}
.phone__notch{width:70px;height:6px;background:var(--navy-700);border-radius:4px;margin:0 auto 10px;}
.phone__header{display:flex;align-items:center;gap:.6rem;padding:.5rem .6rem .8rem;border-bottom:1px solid var(--line-dark);}
.phone__avatar{
  width:34px;height:34px;border-radius:50%;background:var(--copper);color:var(--white);
  display:flex;align-items:center;justify-content:center;font-family:var(--font-display);font-weight:700;font-size:.9rem;flex-shrink:0;
}
.phone__who{display:flex;flex-direction:column;line-height:1.3;}
.phone__who strong{color:var(--white);font-size:.85rem;font-family:var(--font-display);}
.phone__who span{color:var(--muted-lt);font-size:.72rem;display:flex;align-items:center;gap:.3rem;}
.phone__who .dot{width:6px;height:6px;border-radius:50%;background:var(--success);display:inline-block;}
.phone__body{background:#0d2038;border-radius:0 0 18px 18px;padding:.9rem .6rem;display:flex;flex-direction:column;gap:.55rem;min-height:340px;}
.bubble{
  max-width:82%;padding:.55rem .7rem;border-radius:12px;font-size:.82rem;line-height:1.35;
  position:relative;color:var(--ink);background:var(--white);align-self:flex-start;
  border-bottom-left-radius:3px;
}
.bubble--out{align-self:flex-end;background:var(--copper);color:var(--white);border-bottom-left-radius:12px;border-bottom-right-radius:3px;}
.bubble--confirm{background:var(--success);}
.bubble time{display:block;font-family:var(--font-mono);font-size:.6rem;opacity:.6;margin-top:.25rem;text-align:right;}
.bubble__photo{display:inline-block;font-size:.78rem;opacity:.8;}

/* ============ STATS ============ */
.stats{background:#F4F0EC;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:2.6rem 0 1.6rem;}
.stats__row{display:flex;justify-content:space-around;flex-wrap:wrap;gap:2rem;text-align:center;}
.stat__num{display:block;font-family:var(--font-display);font-size:2.4rem;font-weight:700;color:var(--copper);}
.stat__label{font-family:var(--font-mono);font-size:.72rem;letter-spacing:.03em;color:var(--muted);text-transform:uppercase;}
.stats__note{text-align:center;font-family:var(--font-mono);font-size:.68rem;color:var(--muted);margin-top:1.6rem;opacity:.8;}

/* ============ SECTIONS ============ */
.section{padding:5rem 0;}
.section--dark{background:var(--navy-950);color:var(--white);}
.section--dark h2,.section--dark h3{color:var(--white);}
.section--dark p{color:var(--muted-lt);}
.section--tint{background:#F4F5F6;}

/* cards */
.cards{display:grid;gap:1.5rem;margin-top:1rem;}
.cards--3{grid-template-columns:repeat(3,1fr);}
.cards--4{grid-template-columns:repeat(4,1fr);}
.card{background:var(--white);border:1px solid var(--line);border-radius:4px;padding:1.8rem;position:relative;}
.section--dark .card{background:var(--navy-800);border-color:var(--line-dark);}
.card__tag{font-family:var(--font-mono);color:var(--copper);font-size:.8rem;letter-spacing:.05em;}
.card--sm{padding:1.4rem;}
.card--case p{font-size:.94rem;}

/* photo cards (sector cards) */
.card--photo{padding:0;overflow:hidden;}
.card__img{aspect-ratio:4/3;overflow:hidden;background:var(--platinum);}
.card__img img{width:100%;height:100%;object-fit:cover;display:block;}
.card__body{padding:1.5rem 1.6rem 1.7rem;}

/* split (whatsapp section) */
.split{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center;}
.split__lead{margin:1rem 0 1.6rem;max-width:480px;}
.feature-list li{display:flex;flex-direction:column;padding:.9rem 0;border-top:1px solid var(--line);}
.feature-list li:last-child{border-bottom:1px solid var(--line);}
.feature-list strong{color:var(--navy-950);font-family:var(--font-display);font-size:1rem;}
.feature-list span{color:var(--muted);font-size:.92rem;}

.panel{background:var(--navy-800);border:1px solid var(--line-dark);border-radius:6px;padding:1.6rem;}
.panel__label{font-family:var(--font-mono);font-size:.65rem;letter-spacing:.08em;color:var(--copper-lt);margin-bottom:1rem;}
.panel__grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1.4rem;}
.panel__cell{border:1px solid var(--line-dark);border-radius:4px;padding:.8rem;}
.panel__cell span{display:block;font-size:.72rem;color:var(--muted-lt);margin-bottom:.3rem;}
.panel__cell strong{font-family:var(--font-display);font-size:1.5rem;color:var(--white);}
.panel__bars{display:flex;align-items:flex-end;gap:6px;height:70px;}
.panel__bars span{flex:1;background:var(--copper);opacity:.85;border-radius:2px 2px 0 0;height:var(--h);}

/* checklist */
.checklist{display:grid;grid-template-columns:1fr 1fr;gap:.9rem 2rem;margin-top:1rem;}
.checklist div{color:var(--ink);font-size:.98rem;padding:.5rem 0;border-bottom:1px dashed var(--line);}

/* steps */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:2.2rem;margin-top:1rem;}
.step__num{font-family:var(--font-mono);font-size:.85rem;color:var(--copper);display:block;margin-bottom:.6rem;letter-spacing:.05em;}
.step h3{color:var(--navy-950);}

/* accordion */
.accordion{border-top:1px solid var(--line);margin-top:1rem;}
.acc-item{border-bottom:1px solid var(--line);}
.acc-trigger{
  width:100%;text-align:left;background:none;border:none;cursor:pointer;
  font-family:var(--font-display);font-weight:600;font-size:1.02rem;color:var(--ink);
  padding:1.2rem 0;display:flex;justify-content:space-between;align-items:center;
}
.acc-trigger::after{content:"+";font-family:var(--font-mono);color:var(--copper);font-size:1.2rem;transition:transform .2s;}
.acc-trigger[aria-expanded="true"]::after{transform:rotate(45deg);}
.acc-panel{max-height:0;overflow:hidden;transition:max-height .25s ease;}
.acc-panel p{padding-bottom:1.2rem;max-width:640px;}

/* CTA final */
.cta-final{background:var(--navy-950);color:var(--white);padding:5rem 0;text-align:center;}
.cta-final h2{color:var(--white);}
.cta-final p{color:var(--muted-lt);max-width:520px;margin:0 auto 2rem;}

/* footer */
.footer{background:var(--navy-950);border-top:1px solid var(--line-dark);padding:1.6rem 0;}
.footer__row{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;}
.footer__row,.footer__row span{color:var(--muted-lt);font-size:.85rem;}
.footer__links{display:flex;gap:1.4rem;}
.footer__links a{color:var(--muted-lt);}
.footer__links a:hover{color:var(--copper-lt);}

/* ============ RESPONSIVE ============ */
@media (max-width:900px){
  .cards--3,.cards--4,.steps{grid-template-columns:1fr 1fr;}
  .split{grid-template-columns:1fr;}
  .hero__grid{grid-template-columns:1fr;}
  .hero__diagram{order:-1;}
}
@media (max-width:640px){
  .nav__links{
    position:absolute;top:72px;left:0;right:0;
    background:var(--navy-950);border-bottom:1px solid var(--line-dark);
    flex-direction:column;padding:1rem 24px;gap:1rem;
    display:none;
  }
  .nav__links.open{display:flex;}
  .nav__burger{display:flex;}
  .nav .btn--sm{display:none;}
  .cards--3,.cards--4,.steps,.checklist{grid-template-columns:1fr;}
  .stats__row{gap:1.2rem;}
}
