/* =====================================================================
   ÁGIL MONEY — Landing Page
   Design System + Layout + Componentes
   Paleta inspirada na logomarca: verde-limão + azul corporativo.
   ===================================================================== */

/* ------------------- FONTES (self-hosted, woff2) -------------------
   Plus Jakarta Sans servida localmente de /public/fonts para eliminar
   o request render-blocking ao Google Fonts. Mesmos pesos e ranges que
   o Google entregava (latin + latin-ext) — visual idêntico. */
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:400;font-display:swap;src:url("../public/fonts/plus-jakarta-sans-400-latinext.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:400;font-display:swap;src:url("../public/fonts/plus-jakarta-sans-400-latin.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:500;font-display:swap;src:url("../public/fonts/plus-jakarta-sans-500-latinext.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:500;font-display:swap;src:url("../public/fonts/plus-jakarta-sans-500-latin.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:600;font-display:swap;src:url("../public/fonts/plus-jakarta-sans-600-latinext.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:600;font-display:swap;src:url("../public/fonts/plus-jakarta-sans-600-latin.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:700;font-display:swap;src:url("../public/fonts/plus-jakarta-sans-700-latinext.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:700;font-display:swap;src:url("../public/fonts/plus-jakarta-sans-700-latin.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:800;font-display:swap;src:url("../public/fonts/plus-jakarta-sans-800-latinext.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Plus Jakarta Sans';font-style:normal;font-weight:800;font-display:swap;src:url("../public/fonts/plus-jakarta-sans-800-latin.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

/* ----------------------------- TOKENS ----------------------------- */
:root {
  /* Marca */
  --brand:        #5BB318;
  --brand-dark:   #4A9A12;
  --brand-darker: #3C7F0E;
  --brand-light:  #EAF6DC;
  --brand-tint:   #F4FAEC;

  --accent:       #15579F; /* azul */
  --accent-dark:  #0E3F77;
  --accent-light: #E7F0FA;

  --whats:        #25D366;
  --whats-dark:   #1EBE5A;

  /* Neutros */
  --ink:      #15233A;
  --ink-soft: #33455E;
  --muted:    #5E7186;
  --line:     #E4E9EF;
  --bg:       #FFFFFF;
  --bg-soft:  #F5F8F3;
  --bg-dark:  #0F2E54;

  --white: #FFFFFF;

  /* Tipografia */
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Raio / sombra / espaço */
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(21, 35, 58, .06);
  --shadow:    0 12px 30px rgba(21, 35, 58, .10);
  --shadow-lg: 0 24px 60px rgba(21, 35, 58, .16);
  --shadow-btn: 0 6px 16px rgba(21, 35, 58, .12); /* sombra neutra dos botões (sem glow) */

  --container: 1180px;
  --gutter: clamp(18px, 5vw, 40px);

  --t-fast: .18s ease;
  --t: .3s cubic-bezier(.22, 1, .36, 1);
}

/* ----------------------------- RESET ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

h1, h2, h3 { line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

::selection { background: var(--brand); color: #fff; }

/* ----------------------------- HELPERS ----------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.txt-green { color: var(--brand-dark); }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: #fff; padding: 10px 18px;
  border-radius: var(--radius-sm); transition: top var(--t-fast);
}
.skip-link:focus { top: 12px; }

/* ----------------------------- BOTÕES ----------------------------- */
.btn {
  --bg-btn: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 16px;
  padding: 14px 26px; border-radius: var(--radius-pill);
  background: var(--bg-btn); color: #fff;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  white-space: nowrap; line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }

.btn--primary { background: var(--brand); box-shadow: var(--shadow-btn); }
.btn--primary:hover { background: var(--brand-dark); }

.btn--ghost {
  background: transparent; color: var(--ink);
  border: 2px solid var(--line); box-shadow: none;
}
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-dark); }

.btn--light { background: #fff; color: var(--accent-dark); box-shadow: var(--shadow); }
.btn--light:hover { background: #f3f6fb; }

.btn--lg { padding: 17px 32px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--header { padding: 11px 22px; font-size: 15px; }

.ico-arrow { width: 18px !important; height: 18px !important; fill: none !important; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ico-wa { fill: currentColor; }

/* Rótulo de seção: texto de destaque, sem fundo de pílula (visual mais limpo). */
.eyebrow {
  display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-dark);
}

/* ----------------------------- HEADER ----------------------------- */
.site-header {
  position: relative;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 74px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand__logo { width: auto; height: 40px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; align-items: center; gap: 28px; }
.nav__link { font-weight: 600; font-size: 15.5px; color: var(--ink-soft); position: relative; padding: 6px 0; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--brand); transition: width var(--t-fast);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; margin-left: auto; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: var(--t-fast); }
.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 ----------------------------- */
.hero {
  position: relative;
  padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 6vw, 64px);
  background:
    radial-gradient(1100px 520px at 88% -8%, var(--brand-light) 0%, transparent 55%),
    radial-gradient(900px 480px at -5% 6%, var(--accent-light) 0%, transparent 50%),
    var(--bg);
}
.hero__grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
.hero__title { font-size: clamp(2.1rem, 5.4vw, 3.6rem); margin-bottom: 18px; }
.hero__lead { font-size: clamp(1.05rem, 2.3vw, 1.28rem); color: var(--ink-soft); max-width: 38ch; margin-bottom: 22px; }
.hero__lead strong { color: var(--ink); }

.hero__checks { display: grid; gap: 10px; margin-bottom: 30px; }
.hero__checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-soft); }
.ico-check { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--brand-dark); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; background: var(--brand-light); border-radius: 50%; padding: 3px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }

/* Trust badges (garantias) — substituem a microcopy de texto */
.hero__trust { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__trust li {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 700; line-height: 1.15; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: 8px 16px 8px 8px; box-shadow: var(--shadow-sm);
}
.hero__trust svg {
  width: 34px; height: 34px; padding: 7px; flex: none; box-sizing: border-box;
  fill: none; stroke: var(--brand-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  background: var(--brand-light); border-radius: 50%;
}

/* Simulador */
.simulador {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: clamp(22px, 3vw, 32px);
  position: relative;
}
.simulador::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: .35;
}
.simulador__head { margin-bottom: 20px; }
.simulador__title { font-size: 1.4rem; }
.simulador__sub { color: var(--muted); font-size: 15px; margin-top: 4px; }
.simulador__form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: 14.5px; color: var(--ink-soft); }
.sim-valor-out { font-size: 2rem; font-weight: 800; color: var(--brand-dark); line-height: 1; }
.sim-range-legend { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); }

input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px;
  border-radius: 999px; background: var(--brand-light); outline-offset: 6px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand); border: 4px solid #fff; box-shadow: var(--shadow-btn); cursor: grab;
}
input[type="range"]::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%; background: var(--brand);
  border: 4px solid #fff; box-shadow: var(--shadow-btn); cursor: grab;
}
select {
  appearance: none; width: 100%; padding: 13px 44px 13px 16px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  font-weight: 600; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E7186' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 20px;
  transition: border-color var(--t-fast);
}
select:focus { border-color: var(--brand); }
.simulador__legal { font-size: 12px; color: var(--muted); text-align: center; margin-top: -4px; }

/* Faixa de público */
.public-strip {
  margin-top: clamp(34px, 5vw, 56px);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px;
  padding: 20px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.public-strip li {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 14.5px;
  color: var(--ink-soft); padding: 8px 16px; background: var(--bg-soft); border-radius: var(--radius-pill);
}
.chip-ico {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: var(--brand-dark); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ----------------------------- SEÇÕES ----------------------------- */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #fff; }

.section__head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section__head--left { text-align: left; margin-inline: 0; }
.section__title { font-size: clamp(1.7rem, 3.8vw, 2.6rem); margin: 16px 0 14px; }
.section__intro { color: var(--ink-soft); font-size: 1.08rem; }
.section__head--left .btn { margin-top: clamp(22px, 3.2vw, 32px); }

/* ----------------------------- DIFERENCIAIS ----------------------------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature__ico {
  display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center;
  border-radius: 16px; background: var(--brand-light); margin-bottom: 18px;
}
.feature__ico svg { width: 28px; height: 28px; fill: none; stroke: var(--brand-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15.5px; }

/* ----------------------------- PRODUTOS ----------------------------- */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.product-card {
  display: flex; flex-direction: column; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; position: relative; overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}
.product-card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card:hover::after { transform: scaleX(1); }
.product-card--wide { grid-column: span 2; }
.product-card__ico {
  display: inline-flex; width: 54px; height: 54px; align-items: center; justify-content: center;
  border-radius: 14px; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); margin-bottom: 4px;
}
.product-card__ico svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.product-card h3 { font-size: 1.32rem; }
.product-card p { color: var(--muted); font-size: 15.5px; flex: 1; }
.product-card__cta {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand-dark);
  margin-top: 6px; align-self: flex-start; transition: gap var(--t-fast);
}
.product-card__cta .ico-wa { width: 18px; height: 18px; flex: none; fill: currentColor; }
.product-card__cta:hover { gap: 11px; }

/* ----------------------------- QUEM SOMOS ----------------------------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: 6/5; }
.about__badge {
  position: absolute; right: -10px; bottom: -18px; background: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 22px; max-width: 220px;
  border-left: 5px solid var(--brand);
}
.about__badge strong { display: block; font-size: 1.4rem; color: var(--brand-dark); }
.about__badge span { font-size: 13.5px; color: var(--muted); }
.about__content p { color: var(--ink-soft); margin: 14px 0; }
.about__content .btn { margin-top: 12px; }

/* ----------------------------- COMO FUNCIONA ----------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 48px 28px 30px; position: relative; overflow: hidden;
  counter-increment: step;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
/* Faixa superior em gradiente da marca, revelada no hover */
.step::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.step:hover::after { transform: scaleX(1); }
/* Número grande em marca d'água, único indicador do passo */
.step::before {
  content: counter(step); position: absolute; top: -16px; right: 10px;
  font-size: 6.5rem; font-weight: 800; line-height: 1; letter-spacing: -.04em;
  color: var(--brand-light); z-index: 0; pointer-events: none; user-select: none;
}
.step > * { position: relative; z-index: 1; }
.step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ----------------------------- DEPOIMENTOS ----------------------------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.stars { color: #F5A623; font-size: 18px; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial blockquote { font-size: 16px; color: var(--ink-soft); font-style: italic; }
.testimonial__author { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testimonial__avatar {
  width: 52px; height: 52px; flex: none; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--brand-light); background: var(--bg-soft);
}
.testimonial__name { display: flex; flex-direction: column; line-height: 1.25; font-weight: 700; font-size: 14.5px; color: var(--ink); }
.testimonial__name small { font-weight: 500; font-size: 12.5px; color: var(--muted); }
.testimonials__note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 22px; }

/* ----------------------------- FAQ ----------------------------- */
.faq__wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 56px); align-items: start; }
.faq { display: grid; gap: 14px; }
.faq__item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 4px 24px; transition: box-shadow var(--t-fast), border-color var(--t-fast);
}
.faq__item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 700; font-size: 1.06rem; padding: 18px 0; cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; font-size: 1.7rem; font-weight: 400; color: var(--brand-dark);
  transition: transform var(--t); line-height: 1;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer { overflow: hidden; }
.faq__answer p { color: var(--muted); padding-bottom: 20px; }

/* ----------------------------- CTA FINAL ----------------------------- */
.cta-final {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #fff; padding: clamp(56px, 8vw, 96px) 0;
}
.cta-final__inner { text-align: center; max-width: 720px; margin-inline: auto; }
.cta-final h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.6rem); }
.cta-final p { color: rgba(255,255,255,.88); font-size: 1.1rem; margin: 14px 0 28px; }

/* ----------------------------- FOOTER ----------------------------- */
.site-footer { background: var(--bg-dark); color: #C8D6E8; padding: clamp(48px, 6vw, 72px) 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr; gap: 40px; }
.footer__logo { width: 380px; max-width: 100%; height: auto; margin-bottom: 16px; }
.footer__brand p { color: #9DB2CC; max-width: 32ch; }
.footer__col h3 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { color: #C8D6E8; transition: color var(--t-fast); }
.footer__col a:hover { color: var(--brand); }
.footer__contact address { font-style: normal; color: #9DB2CC; line-height: 1.5; }
.footer__legal {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);
  display: grid; gap: 12px; font-size: 13px; color: #8AA0BC;
}
.footer__disclaimer { max-width: 90ch; line-height: 1.6; }

/* ----------------------------- WHATSAPP FLUTUANTE ----------------------------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; background: var(--whats);
  display: grid; place-items: center; box-shadow: 0 8px 22px rgba(21, 35, 58, .22);
  transition: transform var(--t-fast), background var(--t-fast);
}
.wa-float:hover { transform: scale(1.08); background: var(--whats-dark); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; position: relative; z-index: 2; }
.wa-float__pulse {
  position: absolute; inset: 0; border-radius: 50%; background: var(--whats);
  animation: wa-pulse 2.2s ease-out infinite; z-index: 1;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* ----------------------------- ANIMAÇÃO REVEAL ----------------------------- */
/* Progressive enhancement: só esconde para animar quando há JS (classe .js).
   Sem JS, o conteúdo aparece normalmente. */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,1,.36,1); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ----------------------------- RESPONSIVO ----------------------------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .simulador { max-width: 520px; }
  .features, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about__grid, .faq__wrap { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  /* O botão "Simular empréstimo" agora vive dentro do .nav, então some da barra
     junto com o menu e reaparece dentro do dropdown do hamburguer. */
  .nav { display: none; }
  .nav-toggle { display: flex; }

  /* Menu mobile */
  .site-header.nav-open .nav {
    display: block; position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 14px var(--gutter) 22px;
  }
  .site-header.nav-open .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-header.nav-open .nav__link { padding: 12px 6px; }
  .site-header.nav-open .nav__link::after { display: none; }
  .site-header.nav-open .btn--header { display: flex; width: 100%; margin: 18px 0 0; }

  .products, .features, .testimonials, .steps { grid-template-columns: 1fr; }
  .product-card--wide { grid-column: auto; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .about__badge { right: 12px; }
  body { font-size: 16px; }
}

@media (max-width: 420px) {
  .hero__actions .btn { width: 100%; }
}

/* ----------------------------- PREFERÊNCIAS ----------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
  .wa-float__pulse { display: none; }
}
