/* ===================== DESIGN TOKENS (T1) ===================== */
:root {
  /* Paleta WhatsApp */
  --wa-green: #25D366;
  --wa-green-600: #1DAA52;
  --wa-dark: #075E54;
  --wa-teal: #128C7E;
  --wa-blue: #34B7F1;
  --chat-bg: #ECE5DD;
  --bubble: #DCF8C6;

  /* Neutros */
  --text: #111B21;
  --muted: #667781;
  --line: #E7ECEA;
  --bg: #FFFFFF;
  --bg-soft: #F4FAF6;
  --bg-deep: #06342F;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(7, 94, 84, .06);
  --shadow: 0 18px 40px -18px rgba(7, 94, 84, .28);
  --shadow-lg: 0 40px 80px -30px rgba(7, 94, 84, .35);

  --ff-display: "Sora", system-ui, sans-serif;
  --ff-body: "Manrope", system-ui, -apple-system, sans-serif;

  --container: 1140px;
  --gut: 22px;
}

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--ff-display); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }
strong { font-weight: 700; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gut); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--wa-dark); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--wa-blue); outline-offset: 2px; border-radius: 6px; }

/* ===================== BUTTONS ===================== */
.btn {
  --bg-btn: var(--wa-green);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--ff-body); font-weight: 700; font-size: .98rem;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--wa-green); color: #04231F; box-shadow: 0 10px 22px -8px rgba(37, 211, 102, .7); }
.btn--primary:hover { background: var(--wa-green-600); color: #fff; }
.btn--soft { background: var(--bg-soft); color: var(--wa-dark); border-color: var(--line); }
.btn--soft:hover { border-color: var(--wa-green); }
.btn--ghost { background: transparent; color: var(--wa-dark); border-color: rgba(7,94,84,.22); }
.btn--ghost:hover { background: rgba(7,94,84,.06); }
.btn--lg { padding: 15px 28px; font-size: 1.04rem; }
.btn--block { width: 100%; }

/* ===================== HEADER (T2) ===================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; gap: 20px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ff-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.03em; }
.brand__mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--wa-green); color: var(--wa-dark); box-shadow: var(--shadow-sm); }
.brand__name span { color: var(--wa-green); }
.brand--light { color: #fff; }
.brand--light .brand__mark { background: var(--wa-green); }

.nav { display: flex; gap: 26px; margin-left: 14px; }
.nav a { font-weight: 600; color: var(--muted); font-size: .96rem; transition: color .2s; }
.nav a:hover { color: var(--wa-dark); }

.header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.badge-official {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .76rem; font-weight: 700; color: var(--wa-dark);
  background: rgba(37,211,102,.14); padding: 6px 10px; border-radius: 999px;
}
.badge-official svg { color: var(--wa-green-600); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; margin-left: auto; }
.nav-toggle span { height: 2.5px; border-radius: 2px; background: var(--wa-dark); transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===================== HERO (T3) ===================== */
.hero { position: relative; overflow: clip; padding: 70px 0 84px; background: linear-gradient(180deg, var(--bg-soft), #fff 70%); }
.hero__glow { position: absolute; inset: -30% -10% auto auto; width: 620px; height: 620px; background: radial-gradient(circle, rgba(37,211,102,.22), transparent 62%); filter: blur(8px); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--wa-teal); background: #fff; border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.eyebrow a { color: var(--wa-dark); text-decoration: underline; text-underline-offset: 2px; }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa-green); box-shadow: 0 0 0 4px rgba(37,211,102,.2); }

.hero__title { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; margin: 22px 0 18px; }
.hero__title .hl { position: relative; color: var(--wa-dark); white-space: nowrap; }
.hero__title .hl::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: .08em; height: .32em; background: var(--bubble); border-radius: 6px; z-index: -1; }
.hero__subtitle { font-size: 1.15rem; color: var(--muted); max-width: 36ch; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hero__proof { display: flex; gap: 28px; flex-wrap: wrap; padding-top: 22px; border-top: 1px dashed var(--line); }
.hero__proof li { display: flex; flex-direction: column; }
.hero__proof strong { font-family: var(--ff-display); font-size: 1.5rem; color: var(--wa-dark); }
.hero__proof span { font-size: .85rem; color: var(--muted); }

/* Phone mock */
.hero__phone { position: relative; justify-self: center; }
.phone {
  width: 330px; max-width: 84vw; background: #fff; border-radius: 34px; padding: 12px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  transform: rotate(1.4deg);
}
.phone__bar { display: flex; align-items: center; gap: 10px; background: var(--wa-dark); color: #fff; padding: 12px 14px; border-radius: 24px 24px 8px 8px; }
.phone__avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--wa-teal); font-size: .8rem; font-weight: 700; }
.phone__who { display: flex; flex-direction: column; line-height: 1.2; }
.phone__who strong { font-size: .95rem; }
.phone__status { font-size: .74rem; color: #9fe7c4; }
.phone__official { margin-left: auto; color: var(--wa-green); font-weight: 800; }

.phone__chat { background: var(--chat-bg); padding: 18px 14px; border-radius: 8px 8px 24px 24px; min-height: 360px; display: flex; flex-direction: column; gap: 12px; background-image: radial-gradient(rgba(7,94,84,.05) 1px, transparent 1px); background-size: 18px 18px; }
.msg { max-width: 84%; padding: 10px 12px; border-radius: 14px; font-size: .9rem; box-shadow: 0 1px 1px rgba(0,0,0,.06); position: relative; }
.msg--in { background: #fff; align-self: flex-start; border-top-left-radius: 4px; }
.msg--out { background: var(--bubble); align-self: flex-end; border-top-right-radius: 4px; }
.msg__meta { display: block; text-align: right; font-size: .68rem; color: var(--wa-teal); margin-top: 3px; }

.audio { display: flex; align-items: center; gap: 10px; min-width: 190px; }
.audio__play { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--wa-teal); color: #fff; font-size: .8rem; cursor: default; flex: none; }
.audio__wave { display: flex; align-items: center; gap: 3px; height: 26px; flex: 1; }
.audio__wave i { width: 3px; border-radius: 3px; background: var(--wa-teal); opacity: .55; height: 30%; animation: wave 1.1s ease-in-out infinite; }
.audio__wave i:nth-child(odd) { animation-delay: .15s; }
.audio__wave i:nth-child(3n) { animation-delay: .3s; height: 80%; }
.audio__wave i:nth-child(4n) { height: 100%; opacity: .85; }
.audio__time { font-size: .74rem; color: var(--muted); flex: none; }
@keyframes wave { 0%,100% { transform: scaleY(.5); } 50% { transform: scaleY(1.25); } }

.summary { min-width: 210px; }
.summary__tag { display: inline-block; font-size: .7rem; font-weight: 800; color: var(--wa-dark); background: rgba(37,211,102,.16); padding: 3px 8px; border-radius: 6px; margin-bottom: 6px; }
.summary ul { display: flex; flex-direction: column; gap: 4px; }
.summary li { position: relative; padding-left: 16px; font-size: .86rem; }
.summary li::before { content: "✓"; position: absolute; left: 0; color: var(--wa-green-600); font-weight: 800; }

.typing { align-self: flex-start; background: #fff; padding: 12px 14px; border-radius: 14px; border-top-left-radius: 4px; display: inline-flex; gap: 4px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,60%,100% { opacity: .25; } 30% { opacity: 1; } }

.phone__sticker { position: absolute; bottom: 18px; left: -26px; background: var(--wa-green); color: #04231F; font-weight: 800; font-size: .82rem; padding: 9px 14px; border-radius: 999px; box-shadow: var(--shadow); transform: rotate(-5deg); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(10px); animation: reveal .5s ease forwards; animation-delay: var(--d, 0s); }
@keyframes reveal { to { opacity: 1; transform: none; } }

/* ===================== TRUST STRIP (T4) ===================== */
.trust { padding: 28px 0; background: var(--bg-deep); color: #eafff4; }
.trust__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust__item { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.trust__item--highlight { background: rgba(37,211,102,.16); border-color: rgba(37,211,102,.4); }
.trust__icon { font-size: 1.6rem; line-height: 1; }
.trust__item h3 { font-size: 1.02rem; color: #fff; }
.trust__item p { font-size: .9rem; color: #b8d8cd; }
.trust__item a { color: var(--wa-green); text-decoration: underline; }

/* ===================== SECTION HEAD ===================== */
.section-head { max-width: 660px; margin: 0 auto 44px; text-align: center; }
.kicker { display: inline-block; font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--wa-green-600); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 1.06rem; }

/* ===================== TRIO (T5) ===================== */
.trio { padding: 88px 0; }
.trio__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.trio__card { position: relative; padding: 30px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.trio__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.trio__num { font-family: var(--ff-display); font-weight: 800; color: var(--wa-green); font-size: 1.1rem; }
.trio__card h3 { font-size: 1.3rem; margin: 8px 0 10px; }
.trio__card p { color: var(--muted); }
.steps { counter-reset: s; display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.steps li { counter-increment: s; position: relative; padding-left: 38px; color: var(--text); font-weight: 600; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--bubble); color: var(--wa-dark); font-family: var(--ff-display); font-size: .85rem; }

/* ===================== PERSONAS (T6) ===================== */
.personas { padding: 88px 0; background: var(--bg-soft); }
.personas__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.personas__grid li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; transition: transform .2s, border-color .2s; }
.personas__grid li:hover { transform: translateY(-3px); border-color: var(--wa-green); }
.personas__grid span { font-size: 1.7rem; }
.personas__grid h3 { font-size: 1.04rem; margin: 10px 0 6px; }
.personas__grid p { font-size: .9rem; color: var(--muted); }

/* ===================== STATS (T7) ===================== */
.stats { padding: 64px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat { text-align: center; padding: 30px 18px; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--wa-dark), var(--wa-teal)); color: #fff; box-shadow: var(--shadow); }
.stat strong { display: block; font-family: var(--ff-display); font-size: 2.6rem; font-weight: 800; }
.stat span { color: #c5e9dc; font-size: .96rem; }

/* ===================== FEATURES (T8) ===================== */
.features { padding: 88px 0; }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature--star { border-color: rgba(37,211,102,.45); background: linear-gradient(180deg, #fff, var(--bg-soft)); }
.feature__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--bubble); font-size: 1.5rem; margin-bottom: 14px; }
.feature h3 { font-size: 1.18rem; margin-bottom: 8px; }
.feature p { color: var(--muted); }

/* ===================== TESTIMONIALS (T9) ===================== */
.testimonials { padding: 40px 0 88px; }
.quote { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); position: relative; }
.quote::before { content: "\201C"; position: absolute; top: 6px; left: 24px; font-family: var(--ff-display); font-size: 5rem; color: var(--bubble); line-height: 1; }
.quote blockquote { font-size: 1.22rem; line-height: 1.5; position: relative; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.quote__avatar { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--wa-teal); color: #fff; font-weight: 700; }
.quote figcaption strong { display: block; }
.quote figcaption small { color: var(--muted); }
.quote__metrics { display: flex; gap: 34px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.quote__metrics strong { font-family: var(--ff-display); font-size: 1.6rem; color: var(--wa-dark); display: block; }
.quote__metrics span { font-size: .85rem; color: var(--muted); }

/* ===================== PRICING (T10) ===================== */
.pricing { padding: 88px 0; background: var(--bg-soft); }
.pricing__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; display: flex; flex-direction: column; gap: 6px; transition: transform .2s, box-shadow .2s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan__name { font-size: 1.25rem; color: var(--wa-dark); }
.plan__minutes { color: var(--muted); font-weight: 600; font-size: .92rem; }
.plan__price { font-family: var(--ff-display); font-weight: 800; font-size: 2.1rem; color: var(--text); margin: 8px 0 16px; }
.plan__price span { font-size: 1rem; vertical-align: super; color: var(--muted); margin-right: 2px; }
.plan__price small { font-size: .9rem; font-weight: 600; color: var(--muted); }
.plan .btn { margin-top: auto; }
.plan--popular { border: 2px solid var(--wa-green); box-shadow: var(--shadow); transform: scale(1.03); }
.plan--popular:hover { transform: scale(1.03) translateY(-4px); }
.plan__ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--wa-green); color: #04231F; font-weight: 800; font-size: .76rem; padding: 5px 14px; border-radius: 999px; white-space: nowrap; box-shadow: var(--shadow-sm); }
.pricing__note { text-align: center; color: var(--muted); margin-top: 26px; }

/* ===================== FAQ (T11) ===================== */
.faq { padding: 88px 0; }
.faq__inner { max-width: 800px; }
.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.acc[open] { border-color: var(--wa-green); box-shadow: var(--shadow-sm); }
.acc summary { cursor: pointer; list-style: none; padding: 18px 22px; font-family: var(--ff-display); font-weight: 700; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.6rem; font-weight: 400; color: var(--wa-green-600); transition: transform .25s; line-height: 1; }
.acc[open] summary::after { transform: rotate(45deg); }
.acc__body { padding: 0 22px 20px; color: var(--muted); }
.acc__body a { color: var(--wa-dark); text-decoration: underline; }

/* ===================== CTA FINAL (T12) ===================== */
.cta-final { padding: 30px 0 90px; }
.cta-final__box { text-align: center; background: linear-gradient(150deg, var(--wa-dark), var(--wa-teal)); color: #fff; border-radius: var(--radius-lg); padding: 64px 28px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta-final__box::after { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 320px; background: radial-gradient(circle, rgba(37,211,102,.4), transparent 60%); }
.cta-final__box h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); position: relative; }
.cta-final__box p { color: #d6efe6; margin: 12px 0 28px; font-size: 1.1rem; position: relative; }
.cta-final__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-final .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.cta-final .btn--ghost:hover { background: rgba(255,255,255,.12); }

/* ===================== FOOTER (T13) ===================== */
.site-footer { background: #04231F; color: #b8d8cd; padding: 60px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.footer__brand p { margin: 14px 0; max-width: 38ch; font-size: .94rem; }
.footer__brand a { color: var(--wa-green); }
.footer__seals { display: flex; gap: 10px; flex-wrap: wrap; }
.seal { font-size: .8rem; font-weight: 700; color: #eafff4; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); padding: 6px 12px; border-radius: 999px; }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer__col a { display: block; color: #b8d8cd; padding: 5px 0; font-size: .94rem; transition: color .2s; }
.footer__col a:hover { color: var(--wa-green); }
.footer__bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; color: #7fa99b; }

/* ===================== RESPONSIVE (T16) ===================== */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__copy { text-align: center; }
  .hero__subtitle { margin-inline: auto; }
  .hero__cta, .hero__proof { justify-content: center; }
  .personas__grid { grid-template-columns: repeat(3, 1fr); }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid { grid-template-columns: repeat(3, 1fr); }
  .plan--popular { transform: none; }
  .plan--popular:hover { transform: translateY(-4px); }
}
@media (max-width: 760px) {
  .nav, .header__actions .btn, .badge-official { display: none; }
  .nav-toggle { display: flex; }
  .nav.is-open {
    display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column;
    gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gut) 16px; margin: 0;
    box-shadow: var(--shadow);
  }
  .nav.is-open a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .trust__grid, .stats__grid, .trio__grid { grid-template-columns: 1fr; }
  .personas__grid { grid-template-columns: repeat(2, 1fr); }
  .features__grid { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; }
  .quote__metrics { flex-direction: column; gap: 14px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .quote { padding: 30px 22px; }
}
@media (max-width: 420px) {
  .personas__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* ===================== REDUCED MOTION (T16) ===================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
