/* =========================================================
   SYS NF-e · Landing page
   Tipografia: Barlow (títulos) + Hanken Grotesk (texto)
   ========================================================= */

:root {
  --blue: #0077B6;
  --blue-dark: #00578A;
  --blue-text: #00689F;
  --cyan: #00B4D8;
  --sky: #E6F6FB;
  --sky-2: #D6F3FA;
  --navy: #1A1A2E;
  --deep: #0F3460;
  --gray: #F2F5F8;
  --line: #E3E8EF;
  --line-2: #DDE3EA;
  --text: #1A1A2E;
  --text-2: #4A5068;
  --text-3: #2E3348;
  --on-dark: #D3DEEA;
  --on-blue: #E3F1FA;
  --green: #22C55E;
  --green-dark: #15803D;

  --font-display: 'Barlow', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', 'Segoe UI', system-ui, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --header-h: 74px;
  --peek: 96px;          /* quanto da próxima seção fica visível */
  --peek-hero: 140px;    /* faixa de prova + início da seção seguinte */
  --section-y: clamp(72px, 9vw, 112px);
  --gutter: clamp(20px, 5vw, 40px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
*, *::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.5;
  color: var(--text);
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
main { overflow-x: clip; } /* evita rolagem lateral durante as animações de entrada */
h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--blue); }
a:hover { color: var(--text); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
section[id], [id="agenda"] { scroll-margin-top: calc(var(--header-h) + 8px); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: var(--radius-sm);
  background: var(--navy); color: #fff; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: calc(1240px + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(1080px + var(--gutter) * 2); }
.container--faq { max-width: calc(860px + var(--gutter) * 2); }
.stack-8, .stack-22, .stack-32, .stack-36, .stack-40, .stack-48 { display: flex; flex-direction: column; }
.stack-8 { gap: 8px; } .stack-22 { gap: 22px; } .stack-32 { gap: 32px; }
.stack-36 { gap: 36px; } .stack-40 { gap: 40px; } .stack-48 { gap: 48px; }
.center { display: flex; flex-direction: column; align-items: center; text-align: center; }

.section { padding-block: var(--section-y); }
.section--compact { padding-block: clamp(56px, 6vw, 80px); }
.section--gray { background: var(--gray); }
.section--blue { background: var(--blue); color: #fff; }
.section--deep { background: var(--deep); color: #fff; }

/* ---------- Typography ---------- */
.h2, .h3, .hero__title, .plan__name, .price, .final__question, .plans__help, .faq summary, .proof__strong, .steps__n, .testimonial blockquote {
  font-family: var(--font-display);
}
.h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.05; font-weight: 700; letter-spacing: -0.015em; text-wrap: balance; }
.h2--md { font-size: clamp(30px, 4vw, 52px); line-height: 1.06; }
.h2--sm { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.06; }
.h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.12; font-weight: 700; }
.lead { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.lead--light { color: var(--on-blue); }
.section--deep .lead--light { color: var(--on-dark); }
.small { font-size: 13px; color: var(--text-2); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.eyebrow--light { color: #CDEBF7; }

.section-head { display: flex; flex-direction: column; gap: 16px; }
.section-head--center { align-items: center; text-align: center; max-width: 820px; margin-inline: auto; }
.section-head--wide { max-width: 880px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s var(--ease), box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--white { background: #fff; color: var(--blue-dark); }
.btn--white:hover { background: var(--sky); color: var(--blue-dark); }
.btn--ghost-light { border-color: rgba(255,255,255,.5); color: #fff; font-weight: 600; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--outline { border-color: var(--blue); color: var(--blue); }
.btn--outline:hover { background: var(--sky); color: var(--blue-dark); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: #2B2B45; color: #fff; }
.btn--block { width: 100%; }
.btn--nav { min-height: 44px; padding: 0 20px; font-size: 15px; background: #fff; color: var(--blue-dark); }
.btn--nav:hover { background: var(--sky); color: var(--blue-dark); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: transparent;
  transition: background-color .25s ease, box-shadow .25s ease;
}
.nav { height: var(--header-h); display: flex; align-items: center; gap: 32px; }
.nav__logo { position: relative; display: block; flex-shrink: 0; height: 52px; }
.nav__logo img { height: 52px; width: auto; transition: opacity .25s ease; }
.nav__logo .logo-dark { position: absolute; inset: 0; opacity: 0; }
.nav__links { display: flex; gap: 28px; flex: 1; }
.nav__links a { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; transition: color .2s ease; }
.nav__links a:hover { color: #CDEBF7; }
.btn--nav { margin-left: auto; }
.nav__toggle {
  display: none; width: 44px; height: 44px; border: none; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.14); padding: 0; position: relative; flex-shrink: 0;
}
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s var(--ease), opacity .2s ease, background-color .25s ease; }
.nav__toggle span:nth-child(1) { top: 15px; } .nav__toggle span:nth-child(2) { top: 21px; } .nav__toggle span:nth-child(3) { top: 27px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-header.is-scrolled, .site-header.is-open { background: #fff; box-shadow: 0 1px 0 var(--line); }
.site-header.is-scrolled .logo-light, .site-header.is-open .logo-light { opacity: 0; }
.site-header.is-scrolled .logo-dark, .site-header.is-open .logo-dark { opacity: 1; }
.site-header.is-scrolled .nav__links a { color: var(--text); }
.site-header.is-scrolled .nav__links a:hover { color: var(--blue); }
.site-header.is-scrolled .btn--nav, .site-header.is-open .btn--nav { background: var(--blue); color: #fff; }
.site-header.is-scrolled .nav__toggle, .site-header.is-open .nav__toggle { background: var(--gray); }
.site-header.is-scrolled .nav__toggle span, .site-header.is-open .nav__toggle span { background: var(--text); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #00578A 0%, #0077B6 55%, #0A86C6 100%);
  color: #fff;
  padding-top: calc(var(--header-h) + clamp(32px, 5vw, 56px));
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
  min-height: calc(100vh - var(--peek-hero));
  min-height: calc(100svh - var(--peek-hero));
}
.hero > .hero__inner { flex: 1; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 48px; align-items: end; }
.hero__copy { display: flex; flex-direction: column; gap: 24px; padding-bottom: clamp(48px, 7vw, 96px); }
.hero__title { font-size: clamp(38px, 5.2vw, 68px); line-height: 1.02; font-weight: 700; letter-spacing: -0.015em; text-wrap: balance; max-width: 620px; }
.hero__lead { max-width: 560px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; color: var(--on-blue); text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

.hero__visual { position: relative; height: clamp(420px, 42vw, 600px); display: flex; justify-content: center; align-items: flex-end; }
.hero__img { height: 100%; width: auto; max-width: none; object-fit: contain; object-position: bottom center; }

.hero__chips { position: absolute; inset: 0; pointer-events: none; }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px; border-radius: 14px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.34);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 14px; font-weight: 600; color: #fff; white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 40, 80, .18);
}
.chip--1 { left: 0; top: 14%; }
.chip--2 { right: 0; top: 32%; }
.chip--3 { left: 2%; top: 60%; }
.chip--4 { right: 2%; bottom: 10%; }

.chip__check {
  width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%;
  background: var(--green); display: grid; place-items: center;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .22);
}
.chip__check svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.chip__check path { stroke-dasharray: 20; stroke-dashoffset: 0; }

/* Animação dos "checks" ao carregar — um por um */
.js .chip { opacity: 0; transform: translateY(10px) scale(.96); }
.js .chip__check { transform: scale(.4); background: rgba(255,255,255,.3); box-shadow: none; }
.js .chip__check path { stroke-dashoffset: 20; }
.js.is-loaded .chip { animation: chipIn .5s var(--ease) forwards; }
.js.is-loaded .chip__check { animation: checkPop .45s var(--ease) forwards; }
.js.is-loaded .chip__check path { animation: checkDraw .35s ease-out forwards; }
.js.is-loaded .chip--1 { animation-delay: .35s; } .js.is-loaded .chip--1 .chip__check { animation-delay: .65s; } .js.is-loaded .chip--1 .chip__check path { animation-delay: .8s; }
.js.is-loaded .chip--2 { animation-delay: .85s; } .js.is-loaded .chip--2 .chip__check { animation-delay: 1.15s; } .js.is-loaded .chip--2 .chip__check path { animation-delay: 1.3s; }
.js.is-loaded .chip--3 { animation-delay: 1.35s; } .js.is-loaded .chip--3 .chip__check { animation-delay: 1.65s; } .js.is-loaded .chip--3 .chip__check path { animation-delay: 1.8s; }
.js.is-loaded .chip--4 { animation-delay: 1.85s; } .js.is-loaded .chip--4 .chip__check { animation-delay: 2.15s; } .js.is-loaded .chip--4 .chip__check path { animation-delay: 2.3s; }

@keyframes chipIn { to { opacity: 1; transform: none; } }
@keyframes checkPop {
  0% { transform: scale(.4); background: rgba(255,255,255,.3); box-shadow: none; }
  60% { transform: scale(1.15); background: var(--green); }
  100% { transform: scale(1); background: var(--green); box-shadow: 0 0 0 4px rgba(34, 197, 94, .22); }
}
@keyframes checkDraw { to { stroke-dashoffset: 0; } }

/* Hero: entrada suave do texto */
.js .hero__copy > * { opacity: 0; transform: translateY(16px); }
.js.is-loaded .hero__copy > * { animation: chipIn .7s var(--ease) forwards; }
.js.is-loaded .hero__copy > *:nth-child(2) { animation-delay: .1s; }
.js.is-loaded .hero__copy > *:nth-child(3) { animation-delay: .2s; }
.js .hero__img { opacity: 0; transform: translateY(24px); }
.js.is-loaded .hero__img { animation: chipIn .9s var(--ease) .1s forwards; }

/* ---------- Faixa de prova ---------- */
.proof { background: var(--gray); padding-block: 28px; }
.proof__inner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 28px; text-align: center; font-size: 17px; color: var(--text-3); }
.proof__strong { font-size: 20px; font-weight: 700; color: var(--text); }
.proof__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.proof__place { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--text); }
.proof__place svg { color: var(--blue); }

/* ---------- Quatro frentes (abas) ---------- */
.tabs { display: grid; grid-template-columns: minmax(220px, 260px) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.tabs__list { display: flex; flex-direction: column; gap: 6px; }
.tabs__tab {
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 16px;
  border: none; border-radius: 12px; background: transparent; color: var(--text-3);
  font-size: 16px; font-weight: 600; text-align: left; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.tabs__tab svg { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tabs__tab:hover { background: var(--gray); }
.tabs__tab[aria-selected="true"] { background: var(--sky); color: var(--blue-dark); }

.tabs__panels { border-radius: 24px; background: var(--gray); padding: clamp(20px, 3vw, 40px); min-width: 0; }
.tabs__panel { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.tabs__panel[hidden] { display: none; }
.tabs__panel:not([hidden]) { animation: panelIn .4s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tabs__text { display: flex; flex-direction: column; gap: 14px; }
.tabs__text p { font-size: 16.5px; line-height: 1.6; color: var(--text-2); }
.tags { font-size: 14px; font-weight: 600; color: var(--text-3); }

.media-placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center;
  aspect-ratio: 4 / 3; padding: 16px; border-radius: var(--radius-md);
  border: 1.5px dashed #8A93A3; background-color: #fff;
  background-image: repeating-linear-gradient(135deg, transparent 0 9px, rgba(26,26,46,.06) 9px 10px);
  font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #3E4356;
}
.media-placeholder--photo { aspect-ratio: 5 / 4; border-radius: 24px; background-color: #DCE6F0; }
.split__photo { margin: 0; aspect-ratio: 5 / 4; border-radius: 24px; overflow: hidden; background: #DCE6F0; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.split__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 50%; }

/* ---------- Vídeos das quatro frentes ---------- */
.tabs__media { position: relative; aspect-ratio: 1280 / 716; border-radius: var(--radius-md); overflow: hidden; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.tabs__video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Facilidade ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 64px; align-items: center; }
.split__copy { align-items: flex-start; }
.steps { display: flex; flex-direction: column; gap: 4px; width: 100%; margin-top: 4px; }
.steps__item { display: flex; gap: 16px; padding: 14px 0 14px 18px; border-left: 3px solid #C7D3E0; font-size: 16.5px; line-height: 1.55; }
.steps__item.is-first { border-left-color: var(--blue); }
.steps__n { font-size: 15px; font-weight: 700; color: var(--blue); min-width: 58px; padding-top: 1px; }

/* ---------- Depoimentos ---------- */
.testimonials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.testimonial { display: grid; grid-template-columns: minmax(150px, 40%) minmax(0, 1fr); border-radius: var(--radius-lg); overflow: hidden; background: #fff; color: var(--text); }
.testimonial__photo { width: 100%; height: 100%; min-height: 240px; object-fit: cover; background: #DCE6F0; }
.testimonial__body { padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.testimonial__quote { fill: var(--cyan); }
.testimonial blockquote { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.35; font-weight: 600; }
.testimonial figcaption { display: flex; flex-direction: column; font-size: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.testimonial figcaption span { color: var(--text-2); }

/* ---------- Planos ---------- */
.period { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.period__switch { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--gray); border: 1px solid var(--line); }
.period__btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 22px;
  border: none; border-radius: 999px; background: transparent; color: var(--text-3);
  font-weight: 700; font-size: 15px; transition: background-color .2s ease, color .2s ease;
}
.period__btn[aria-pressed="true"] { background: var(--blue); color: #fff; }
.period__badge { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--cyan); color: var(--navy); }
.period__note { font-size: 15.5px; line-height: 1.5; color: var(--text-2); max-width: 640px; }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; padding-top: 14px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: #fff; transition: transform .25s var(--ease), box-shadow .25s ease; }
.plan:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(26,26,46,.08); }
.plan--featured { border: 2px solid var(--blue); box-shadow: 0 16px 40px rgba(0,119,182,.14); }
.plan--featured:hover { box-shadow: 0 20px 48px rgba(0,119,182,.2); }
.plan__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; background: var(--blue); color: #fff; }
.plan__head { display: flex; flex-direction: column; gap: 6px; }
.plan__label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.plan__label--blue { color: var(--blue); }
.plan__name { font-size: 36px; font-weight: 700; line-height: 1.1; }
.plan__desc { font-size: 15px; line-height: 1.55; color: var(--text-2); }
.plan__price { min-height: 78px; }
.price { display: flex; align-items: baseline; gap: 4px; }
.price__value { font-size: 44px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.price--blue .price__value { color: var(--blue); }
.price__per { font-size: 16px; font-weight: 600; color: var(--text-2); }
.price__sub { font-size: 14px; color: var(--text-2); }
[data-period="anual"] .only-mensal, [data-period="mensal"] .only-anual { display: none; }
.plan__price > div { animation: panelIn .3s var(--ease); }

.checklist { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; }
.checklist li { position: relative; padding-left: 28px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px;
  background: no-repeat center / 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230077B6' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.checklist__plain, .checklist__note { padding-left: 0 !important; }
.checklist__plain::before, .checklist__note::before { display: none; }
.checklist__plain { font-size: 13px; }
.checklist__note { margin-top: 4px; padding: 10px 12px !important; border-radius: var(--radius-sm); background: var(--sky); font-size: 14px; font-weight: 600; color: var(--blue-dark); }
.plans__help { font-size: clamp(19px, 1.8vw, 22px); font-weight: 600; }

/* ---------- Suporte e confiança ---------- */
.support { padding-bottom: 0; padding-top: clamp(48px, 5vw, 64px); overflow: hidden; }
.support__inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.support__lead { max-width: 640px; }
.support__visual { position: relative; width: 100%; max-width: 760px; margin-top: 28px; }
.support__frame { aspect-ratio: 3 / 2; border-radius: var(--radius-xl) var(--radius-xl) 0 0; overflow: hidden; border: 1.5px solid var(--on-dark); border-bottom: none; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.support__frame img { width: 100%; height: 100%; object-fit: cover; }
.float-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 12px; background: #fff;
  box-shadow: 0 6px 18px rgba(26,26,46,.12); font-size: 14px; font-weight: 600; white-space: nowrap;
}
.float-chip svg { width: 16px; height: 16px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.float-chip--1 { left: -4%; top: 16%; }
.float-chip--2 { left: -6%; top: 52%; }
.float-chip--3 { right: -4%; top: 12%; }
.float-chip--4 { right: -6%; top: 48%; }

/* ---------- Chamada final ---------- */
.final { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 64px; align-items: center; }
.final__choices { display: flex; flex-direction: column; gap: 12px; }
.final__question { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.choice {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 28px; border-radius: var(--radius-md); text-decoration: none;
  transition: transform .2s var(--ease), background-color .2s ease;
}
.choice--primary { min-height: 88px; background: var(--cyan); color: var(--navy); font-weight: 700; font-size: clamp(18px, 1.9vw, 22px); }
.choice--primary span { font-size: 26px; transition: transform .2s var(--ease); }
.choice--primary:hover { background: #22C1E0; color: var(--navy); }
.choice--primary:hover span { transform: translateX(4px); }
.choice--ghost { min-height: 72px; border: 1px solid #5C7391; color: #fff; font-weight: 600; font-size: clamp(17px, 1.6vw, 19px); }
.choice--ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.final__support { font-size: 15px; color: var(--on-dark); padding-top: 6px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { border: 1px solid var(--line-2); border-radius: var(--radius-md); padding: 0 24px; background: #fff; transition: border-color .2s ease; }
.faq__item[open] { border-color: #BFD9EA; }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 68px; padding: 14px 0; list-style: none; cursor: pointer;
  font-size: 19px; font-weight: 700; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: var(--gray); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--blue); transition: transform .25s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__item p { padding: 0 48px 20px 0; font-size: 16.5px; line-height: 1.6; color: var(--text-2); }
.faq__item[open] p { animation: panelIn .3s var(--ease); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-dark); padding-block: 40px; }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.site-footer img { height: 52px; width: auto; }
.site-footer p { font-size: 14px; line-height: 1.7; }


/* =========================================================
   Seções quase em tela cheia, com prévia da próxima
   ========================================================= */
@media (min-width: 961px) and (min-height: 700px) {
  .section--fs {
    min-height: calc(100vh - var(--peek));
    min-height: calc(100svh - var(--peek));
    display: flex; flex-direction: column; justify-content: center;
    padding-block: clamp(56px, 8vh, 96px);
  }
  .section--fs .stack-48 { gap: 36px; }
}

/* ---------- Indicador de rolagem (hero) ---------- */
.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 10px; border-radius: 999px;
  background: rgba(0, 40, 80, .28); border: 1px solid rgba(255,255,255,.28);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transform: translateX(-50%);
  transition: opacity .3s ease, transform .3s var(--ease);
}
.scroll-cue:hover { color: #fff; background: rgba(0, 40, 80, .4); }
.scroll-cue__mouse { position: relative; width: 18px; height: 26px; border: 2px solid rgba(255,255,255,.9); border-radius: 10px; }
.scroll-cue__mouse span { position: absolute; left: 50%; top: 5px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cueWheel 1.6s ease-in-out infinite; }
@keyframes cueWheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(8px); } 100% { opacity: 0; } }
.js .scroll-cue { opacity: 0; }
.js.is-loaded .scroll-cue { animation: cueIn .6s var(--ease) 2.6s forwards; }
@keyframes cueIn { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }
.has-scrolled .scroll-cue { opacity: 0 !important; transform: translate(-50%, 8px) !important; pointer-events: none; animation: none !important; }

/* ---------- Planos: carregamento e erro ---------- */
.plans .plan:not(.plan--skeleton) { animation: panelIn .45s var(--ease); }
.plan--skeleton { gap: 14px; pointer-events: none; }
.plan--skeleton:hover { transform: none; box-shadow: none; }
.sk { display: block; border-radius: 8px; background: linear-gradient(90deg, #EEF2F6 0%, #F7F9FB 50%, #EEF2F6 100%); background-size: 200% 100%; animation: skShimmer 1.4s linear infinite; }
.sk--sm { width: 45%; height: 14px; }
.sk--lg { width: 60%; height: 36px; }
.sk--txt { width: 100%; height: 14px; }
.sk--price { width: 55%; height: 48px; margin-top: 8px; }
.sk--btn { width: 100%; height: 52px; border-radius: var(--radius-sm); }
@keyframes skShimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.pricing-error { max-width: 640px; margin-inline: auto; padding: 16px 20px; border-radius: var(--radius-md); background: var(--sky); color: var(--blue-dark); text-align: center; font-weight: 600; }
.pricing-error[hidden] { display: none; }
.plans[hidden] { display: none; }

/* =========================================================
   Animações de scroll (fade + slide simples)
   ========================================================= */
.js [data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.js [data-reveal="right"] { transform: translateX(24px); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal-delay="1"] { --reveal-delay: .12s; }
.js [data-reveal-delay="2"] { --reveal-delay: .24s; }
/* Planos: o hover não pode brigar com o reveal */
.js .plan[data-reveal].is-visible:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js .chip, .js .chip__check, .js .hero__copy > *, .js .hero__img { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  .js .chip__check { background: var(--green); box-shadow: 0 0 0 4px rgba(34, 197, 94, .22); }
  .js .chip__check path { stroke-dashoffset: 0; animation: none !important; }
  .tabs__panel:not([hidden]), .plan__price > div, .faq__item[open] p, .plans .plan, .sk, .scroll-cue__mouse span { animation: none !important; }
  .js .scroll-cue { opacity: 1; transform: translateX(-50%); }
}

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1100px) {
  .chip--1 { left: -2%; } .chip--3 { left: -1%; }
  .float-chip--1, .float-chip--2 { left: 2%; }
  .float-chip--3, .float-chip--4 { right: 2%; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav { gap: 12px; }
  .nav__logo, .nav__logo img { height: 46px; }
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px;
    background: #fff; box-shadow: 0 12px 24px rgba(26,26,46,.08);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s var(--ease), visibility .2s;
  }
  .site-header.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav__links a, .site-header.is-scrolled .nav__links a { display: flex; align-items: center; min-height: 48px; color: var(--text); border-bottom: 1px solid var(--line); }
  .nav__links li:last-child a { border-bottom: none; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .scroll-cue { display: none; }
  .hero__copy { padding-bottom: 8px; }
  .hero__title { max-width: 680px; }
  .hero__visual { height: clamp(380px, 70vw, 520px); }

  .tabs { grid-template-columns: 1fr; }
  .tabs__list { flex-direction: row; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-snap-type: x mandatory; }
  .tabs__list::-webkit-scrollbar { display: none; }
  .tabs__tab { flex-shrink: 0; scroll-snap-align: start; min-height: 48px; border: 1px solid var(--line); }
  .tabs__tab[aria-selected="true"] { border-color: transparent; }

  .split, .final { grid-template-columns: 1fr; }
  .split__media { order: 2; }

  .testimonials { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; width: 100%; }
  .plan--featured { order: -1; }
}

@media (max-width: 760px) {
  .tabs__panel { grid-template-columns: 1fr; gap: 20px; }
  .tabs__text { order: -1; }
}

@media (max-width: 640px) {
  .btn--nav { padding: 0 14px; font-size: 14px; }
  .hero__actions .btn { width: 100%; }
  .hero__visual { height: auto; display: grid; grid-template-areas: "chips" "img"; justify-items: center; gap: 16px; }
  .hero__chips { grid-area: chips; position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
  .chip { position: static; white-space: normal; font-size: 13px; padding: 8px 10px 8px 8px; line-height: 1.25; }
  .hero__img { grid-area: img; height: 360px; }

  .proof__dot { display: none; }
  .proof__inner { flex-direction: column; gap: 6px; }

  .testimonial { grid-template-columns: 1fr; }
  .testimonial__photo { height: 260px; min-height: 0; }

  .plan { padding: 26px 22px; }
  .price__value { font-size: 40px; }

  .support__chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
  .float-chip { position: static; white-space: normal; text-align: left; font-size: 13px; line-height: 1.25; }
  .support__visual { display: flex; flex-direction: column-reverse; }

  .choice { padding: 0 22px; }
  .faq__item { padding: 0 18px; }
  .faq summary { font-size: 17px; }
  .faq__item p { padding-right: 0; }
  .site-footer__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 380px) {
  .btn--nav { display: none; }
  .hero__chips, .support__chips { grid-template-columns: 1fr; }
}

/* ---------- Botão flutuante do WhatsApp ---------- */
.wa-fab {
  position: fixed; z-index: 60;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 0;
  height: 60px; min-width: 60px; padding: 0 16px 0 15px; border-radius: 999px;
  background: #25D366; color: #fff; text-decoration: none;
  box-shadow: 0 10px 28px rgba(18, 140, 70, .35), 0 2px 6px rgba(0,0,0,.15);
  transition: translate .2s var(--ease), box-shadow .2s ease, gap .25s var(--ease);
}
.wa-fab svg { width: 30px; height: 30px; flex-shrink: 0; fill: currentColor; }
.wa-fab__label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 700; font-size: 15px; transition: max-width .3s var(--ease); }
.wa-fab:hover, .wa-fab:focus-visible { color: #fff; translate: 0 -2px; box-shadow: 0 14px 32px rgba(18, 140, 70, .42), 0 2px 6px rgba(0,0,0,.15); }
@media (hover: hover) and (min-width: 961px) {
  .wa-fab:hover, .wa-fab:focus-visible { gap: 10px; }
  .wa-fab:hover .wa-fab__label, .wa-fab:focus-visible .wa-fab__label { max-width: 180px; }
}
.wa-fab::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); animation: waPulse 2.4s ease-out 3s 3;
}
@keyframes waPulse { 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); } }
.js .wa-fab { opacity: 0; transform: translateY(12px) scale(.9); }
.js.is-loaded .wa-fab { animation: chipIn .5s var(--ease) 1s forwards; }
@media (max-width: 640px) {
  .wa-fab { height: 56px; min-width: 56px; padding: 0 13px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); }
  .wa-fab svg { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .wa-fab { opacity: 1; transform: none; animation: none; }
  .wa-fab::before { animation: none; }
}
/* Espaço para o botão não cobrir o fim do rodapé no celular */
@media (max-width: 640px) { .site-footer { padding-bottom: 96px; } }
