/* ==========================================================================
   Gespar — Landing page estática
   Tokens da marca (extraídos da apresentação): azul/ciano + amarelo solar.
   Títulos em Bricolage Grotesque; corpo/UI em Sora.
   Responsivo sem media queries pesadas (grid auto-fit + clamp).
   ========================================================================== */
:root {
  --deep:      #07364f;
  --deep-2:    #0b5b83;
  --deep-dark: #052635;
  --blue:      #005f91;
  --cyan:      #009fd1;
  --cyan-300:  #61d7ee;
  --yellow:    #ffdc2e;
  --green:     #16a34a;
  --green-soft:#7be6a8;
  --ink:       #07364f;
  --muted:     #5f7280;
  --line:      #e4edf2;
  --surface:   #ffffff;
  --soft:      #f4f8fb;
  --radius:    16px;
  --radius-lg: 22px;
  --shadow:    0 30px 70px rgba(7, 54, 79, .12);
  --font-body: "Sora", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  --font-title:"Bricolage Grotesque", "Sora", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--soft);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--font-title); letter-spacing: -.02em; margin: 0; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: #007eb2; }
button, input, select { font: inherit; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 36px; height: 36px; flex: 0 0 auto; }
.brand span { font-family: var(--font-title); font-weight: 800; font-size: 1.3rem; letter-spacing: .01em; color: var(--cyan); }
.site-nav { display: flex; gap: clamp(14px, 2vw, 28px); font-weight: 600; font-size: .95rem; }
.site-nav a { color: var(--deep); padding: 6px 0; }
.site-nav a:hover { color: var(--cyan); }

/* ---------- Botões ---------- */
.btn, .header-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border: 0; border-radius: 999px;
  font-weight: 700; font-size: 1rem; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn svg, .header-cta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.btn:hover, .header-cta:hover { transform: translateY(-1px); }
.header-cta { padding: 11px 20px; font-size: .95rem; background: var(--yellow); color: var(--deep); box-shadow: 0 8px 20px rgba(255, 220, 46, .35); }
.btn-primary { background: var(--yellow); color: var(--deep); box-shadow: 0 12px 30px rgba(255, 220, 46, .35); }
.btn-ghost { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .35); color: #fff; }
.btn-white { background: #fff; color: var(--deep); }
.btn-white svg { stroke: var(--green); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 14px 34px rgba(22, 163, 74, .4); }
.btn-calc { width: 100%; height: 58px; border-radius: 14px; background: var(--deep); color: #fff; font-size: 1.05rem; }
.btn-calc svg { stroke: var(--yellow); }

/* ---------- Eyebrow / section head ---------- */
.eyebrow { display: inline-block; color: var(--cyan); font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow--onblue { padding: 6px 14px; border-radius: 999px; background: rgba(255, 220, 46, .15); border: 1px solid rgba(255, 220, 46, .4); color: var(--yellow); font-size: .78rem; letter-spacing: .04em; }
.eyebrow--dark { color: var(--deep); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { margin: 10px 0 0; font-size: clamp(1.9rem, 3.8vw, 3.1rem); font-weight: 800; line-height: 1.05; }
.section-head p { margin: 14px auto 0; max-width: 560px; color: var(--muted); font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero, .about, .how { position: relative; overflow: hidden; color: #fff; }
.hero { background: #07364f; }
/* about/how ficam lado a lado: gradiente começa e termina no mesmo tom para a costura entre as duas seções sumir */
.about, .how { background: linear-gradient(180deg, #07364f 0%, #0b5b83 46%, #07364f 100%); }
.about::before, .how::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 22px); pointer-events: none; }
.hero-bg { position: absolute; inset: -8% 0; z-index: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  will-change: transform;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 54, 79, .82) 0%, rgba(7, 54, 79, .68) 45%, rgba(7, 54, 79, .88) 100%);
}
.hero-inner {
  position: relative; z-index: 1; max-width: 820px; margin: 0 auto;
  padding: clamp(48px, 7vw, 84px) clamp(16px, 4vw, 40px);
  display: flex; justify-content: center;
}
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-title { margin: 20px 0 0; max-width: 680px; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.1; font-weight: 800; }
.hero-title .hl { color: var(--yellow); }
.hero-lead { margin: 22px auto 0; max-width: 520px; font-size: clamp(1rem, 1.6vw, 1.18rem); line-height: 1.55; color: rgba(255, 255, 255, .85); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin: 34px 0 0; padding: 0; list-style: none; }
.trust-row li { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: rgba(255, 255, 255, .82); }
.trust-row li::before { content: ""; width: 18px; height: 18px; flex: 0 0 auto; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffdc2e' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

.stat-strip {
  position: relative; border-top: 1px solid rgba(255, 255, 255, .14); background: rgba(3, 26, 38, .35);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px; text-align: center;
  max-width: 1160px; margin: 0 auto; padding: 22px clamp(16px, 4vw, 40px);
}
.stat b { display: block; font-family: var(--font-title); font-size: 1.7rem; font-weight: 800; color: var(--yellow); }
.stat span { font-size: .86rem; color: rgba(255, 255, 255, .72); }

/* ---------- Calculadora ---------- */
.calc-section { padding: clamp(56px, 7vw, 88px) clamp(16px, 4vw, 40px); background: linear-gradient(180deg, #fff, var(--soft)); }
.calc-card {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.calc-form { padding: clamp(24px, 4vw, 40px); }
.calc-form h3 { font-size: 1.35rem; font-weight: 800; }
.calc-form__sub { margin: 4px 0 22px; color: var(--muted); font-size: .92rem; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-family: var(--font-body); font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--deep); }
.field input, .field select { width: 100%; height: 54px; padding: 0 16px; border: 2px solid #d7e3ea; border-radius: 12px; font-size: 1rem; color: var(--deep); background: #fff; }
.field select { padding: 0 12px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 159, 209, .15); }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin-bottom: 16px; }
.field-row .field { margin-bottom: 0; }
.form-alert { min-height: 20px; margin: 0 0 14px; color: #c0392b; font-weight: 600; font-size: .9rem; }
.calc-note { margin: 14px 0 0; color: #93a3ad; font-size: .78rem; line-height: 1.4; }

.calc-result { background: linear-gradient(165deg, var(--deep-2), var(--deep)); color: #fff; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; justify-content: center; }
.result-empty__icon {
  width: 84px; height: 84px; border-radius: 22px;
  background: linear-gradient(155deg, rgba(22, 163, 74, .32), rgba(22, 163, 74, .1));
  border: 1px solid rgba(123, 230, 168, .4);
  display: grid; place-items: center; margin: 0 auto 24px;
  box-shadow: 0 0 0 8px rgba(22, 163, 74, .08), 0 18px 34px rgba(0, 0, 0, .35);
  animation: gsPulseGlow 2.6s ease-in-out infinite;
}
.result-empty__icon svg { width: 40px; height: 40px; fill: none; stroke: var(--green-soft); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@keyframes gsPulseGlow {
  0%, 100% { box-shadow: 0 0 0 8px rgba(22, 163, 74, .08), 0 18px 34px rgba(0, 0, 0, .35); }
  50% { box-shadow: 0 0 0 14px rgba(22, 163, 74, .14), 0 18px 34px rgba(0, 0, 0, .35); }
}
.result-empty h3 {
  font-family: var(--font-title); font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-weight: 800;
  line-height: 1.15; text-transform: uppercase; letter-spacing: .02em; color: var(--yellow);
  text-align: center;
}
.result-empty p { margin: 16px 0 0; max-width: 46ch; color: rgba(255, 255, 255, .82); font-size: 1.02rem; line-height: 1.55; }
.result-empty ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.result-empty li { display: flex; gap: 10px; align-items: center; font-weight: 600; color: rgba(255, 255, 255, .92); }
.result-empty li::before { content: ""; width: 20px; height: 20px; flex: 0 0 auto; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffdc2e' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

.result-badge { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(22, 163, 74, .2); color: var(--green-soft); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.result-label { margin: 18px 0 2px; color: rgba(255, 255, 255, .75); font-size: .95rem; }
.result-value { font-family: var(--font-title); font-size: clamp(2.6rem, 6vw, 3.4rem); font-weight: 800; line-height: 1; color: var(--yellow); font-variant-numeric: tabular-nums; }
.result-sub { margin-top: 6px; font-size: 1.05rem; font-weight: 600; }
.result-monthly {
  margin-top: 18px; text-transform: uppercase; letter-spacing: .03em;
  font-weight: 800; font-size: clamp(.72rem, 1.3vw, .92rem);
  color: rgba(255, 255, 255, .85);
}
.result-monthly span { font-variant-numeric: tabular-nums; }
.result-cta { width: 100%; height: 56px; border-radius: 14px; }
.result-note { margin: 12px 0 0; color: rgba(255, 255, 255, .6); font-size: .76rem; line-height: 1.4; }

/* ---------- Quem somos ---------- */
.about { padding: clamp(56px, 7vw, 96px) clamp(16px, 4vw, 40px); }
.about-inner {
  position: relative; max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(36px, 5vw, 60px); align-items: center;
}
.about-media { position: relative; }
.about-badge {
  width: 64px; height: 64px; border-radius: 16px; background: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow); margin-bottom: 18px;
}
.about-badge img { width: 40px; height: 40px; }
.about-pill {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 -28px; padding: 16px 22px; max-width: 220px;
  background: #fff; border-radius: 18px; box-shadow: var(--shadow);
  font-family: var(--font-title); font-weight: 800; font-size: 1.15rem; line-height: 1.25; color: var(--ink);
}
.about-pill strong { display: block; color: var(--cyan); letter-spacing: .03em; }
.about-pill__arrow {
  position: absolute; right: -14px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%; background: var(--yellow);
  display: grid; place-items: center; box-shadow: 0 8px 16px rgba(0, 0, 0, .18);
}
.about-pill__arrow svg { width: 16px; height: 16px; fill: none; stroke: var(--deep); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.about-map { width: 100%; max-width: 520px; height: auto; position: relative; z-index: 0; }
.about-copy h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--yellow); }
.about-copy p { margin: 18px 0 0; color: rgba(255, 255, 255, .92); font-size: 1.05rem; line-height: 1.6; }
.about-copy strong { color: var(--yellow); }
.about-social { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.about-social svg {
  width: 30px; height: 30px; padding: 7px; box-sizing: border-box; border-radius: 50%;
  background: rgba(255, 255, 255, .14); fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.about-social span { color: rgba(255, 255, 255, .85); font-weight: 600; font-size: .92rem; }
@media (max-width: 820px) {
  .about-pill { margin-bottom: 24px; }
  .about { padding-bottom: 28px; }
  .how { padding-top: 28px; }
}

/* ---------- Como funciona ---------- */
.how { padding: clamp(56px, 7vw, 96px) clamp(16px, 4vw, 40px); }
.how-inner {
  position: relative; max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(36px, 5vw, 60px); align-items: start;
}
.how-copy h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.1; color: var(--yellow); }
.how-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 22px; }
.how-steps li { display: flex; gap: 16px; align-items: flex-start; }
.how-steps__n {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; background: var(--yellow);
  color: var(--deep); display: grid; place-items: center; font-family: var(--font-title); font-weight: 800; font-size: 1.05rem;
}
.how-steps p { margin: 4px 0 0; color: rgba(255, 255, 255, .88); font-size: 1rem; line-height: 1.55; }
.how-steps strong { color: #fff; }
.how-media { display: flex; flex-direction: column; align-items: center; }
.how-frame {
  width: 100%; max-width: 420px; padding: 14px; border-radius: 26px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 40px 90px rgba(0, 0, 0, .35);
  animation: gsFloat 6s ease-in-out infinite;
}
.how-frame img { width: 100%; height: auto; border-radius: 16px; background: #fff; }
@keyframes gsFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
/* ---------- Seções genéricas ---------- */
.section { padding: clamp(56px, 7vw, 88px) clamp(16px, 4vw, 40px); }
.benefits { background: var(--soft); }
.grid-cards { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }

.benefit { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.benefit__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--blue); border: 4px solid var(--cyan-300); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.benefit__icon--green { background: var(--green); border-color: #a7e8c1; }
.benefit__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.benefit h3 { font-size: 1.15rem; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.benefit__icon--green + h3 { color: var(--green); }
.benefit p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.5; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(56px, 7vw, 88px) clamp(16px, 4vw, 40px); background: var(--cyan); }
.faq-inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 44px; align-items: start; }
.faq-head h2 { margin: 10px 0 0; font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; color: #fff; }
.faq-head p { margin: 16px 0 0; color: rgba(255, 255, 255, .9); line-height: 1.55; }
.faq-head .btn { margin-top: 22px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { background: #fff; border-radius: 14px; box-shadow: 0 12px 28px rgba(7, 54, 79, .14); }
.faq-list summary { list-style: none; padding: 18px 20px; font-weight: 700; color: var(--deep); cursor: pointer; display: flex; justify-content: space-between; gap: 12px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { color: var(--cyan); font-style: normal; transition: transform .2s ease; }
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list p { margin: 0; padding: 0 20px 18px; color: var(--muted); line-height: 1.55; }

/* ---------- CTA ---------- */
.cta { padding: clamp(56px, 7vw, 88px) clamp(16px, 4vw, 40px); background: var(--deep); color: #fff; text-align: center; }
.cta h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; }
.cta p { margin: 16px auto 0; max-width: 560px; color: rgba(255, 255, 255, .82); font-size: 1.08rem; line-height: 1.55; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }

/* ---------- Footer ---------- */
.site-footer { padding: 40px clamp(16px, 4vw, 40px); background: var(--deep-dark); color: #fff; }
.footer-inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; align-items: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; }
.footer-brand img { width: 40px; height: 40px; flex: 0 0 auto; }
.footer-brand span { font-family: var(--font-title); font-weight: 800; font-size: 1.3rem; letter-spacing: .01em; color: #fff; }
.footer-inner p { margin: 0; color: rgba(255, 255, 255, .72); font-size: .92rem; line-height: 1.55; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; }
.footer-contact a { color: var(--yellow); font-weight: 700; }
.footer-contact span { color: rgba(255, 255, 255, .72); font-size: .92rem; }

/* ---------- Ajustes finos mobile ---------- */
@media (max-width: 560px) {
  .site-nav { order: 3; width: 100%; gap: 16px; overflow-x: auto; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 auto; }
}
