/* Autoriza Sim — landing page
   Paleta e tipografia da identidade visual (Autoriza Sim - Apresentação.pdf). */

:root {
  --azul-cimento: #586B93;
  --verde-lima: #B9CE5F;
  --verde-lima-escuro: #6E7F22; /* lima com contraste para texto sobre fundo claro */
  --gelo: #F6F6F6;
  --luar: #1E3151;
  --azul-noite: #0E1828;
  --noite-logo: #101827;        /* fundo exato de assets/logo-fundo-azul.png */
  --branco: #FFFFFF;

  --texto: #1E3151;
  --texto-suave: #4B5873;
  --borda: #E1E4EB;

  --font-display: "Clash Display", "Source Sans 3", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -20px rgba(14, 24, 40, .45);
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--texto);
  background: var(--gelo);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--luar); color: var(--branco); padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--verde-lima); outline-offset: 3px; border-radius: 6px; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 32px; height: 32px; stroke-width: 1.7; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 17px; text-decoration: none;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:hover .icon { transform: translateX(2px); }
.btn .icon { transition: transform .15s ease; }
.btn-sm { padding: 10px 18px; font-size: 16px; }
.btn-primary { background: var(--verde-lima); color: var(--azul-noite); }
.btn-primary:hover { background: #C8DA77; }
.btn-ghost { border-color: rgba(246, 246, 246, .45); color: var(--gelo); }
.btn-ghost:hover { border-color: var(--gelo); background: rgba(246, 246, 246, .08); }
.btn-dark { background: var(--luar); color: var(--gelo); }
.btn-dark:hover { background: var(--azul-noite); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--gelo);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(14, 24, 40, .35); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand img { height: 40px; width: auto; }
.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav a { text-decoration: none; font-weight: 600; color: var(--texto-suave); font-size: 16px; }
.main-nav a:hover { color: var(--luar); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(88, 107, 147, .45), transparent 60%),
    linear-gradient(160deg, var(--luar) 0%, var(--azul-noite) 100%);
  color: var(--gelo);
  padding: 96px 0 112px;
}
.hero::after { /* check da marca como grafismo de fundo */
  content: ""; position: absolute; right: -60px; bottom: -80px; width: 420px; height: 420px;
  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='%23B9CE5F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");
  opacity: .07; pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--azul-cimento); margin-bottom: 18px;
}
.eyebrow-light { color: var(--verde-lima); }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); font-weight: 600; margin-bottom: 24px; }
.accent { color: var(--verde-lima); }
.accent-dark { color: var(--azul-cimento); }
.lead { font-size: 20px; color: rgba(246, 246, 246, .82); max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-visual { position: relative; }
.case-card {
  background: var(--branco); color: var(--texto); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.case-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.case-title { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.pill .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.pill-denied { background: #FBE9E7; color: #A3361F; }
.pill-ok { background: var(--verde-lima); color: var(--azul-noite); }
.case-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.case-steps li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--texto-suave); }
.tick {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: var(--luar) no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B9CE5F' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");
}
.case-foot { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--borda); }
.stat-card {
  position: relative; width: fit-content; max-width: 250px; margin: -16px -28px 0 auto;
  background: var(--verde-lima); color: var(--azul-noite);
  border-radius: var(--radius-sm); padding: 16px 20px;
  box-shadow: var(--shadow);
}
.stat-card strong { display: block; font-family: var(--font-display); font-size: 34px; line-height: 1; font-weight: 700; }
.stat-card span { font-weight: 600; font-size: 15px; line-height: 1.3; display: block; margin-top: 6px; }

/* ---------- Seções ---------- */
.section { padding: 104px 0; }
.section-white { background: var(--branco); }
.section-dark { background: var(--azul-noite); color: var(--gelo); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(32px, 4vw, 46px); }
.section-sub { margin-top: 18px; font-size: 19px; color: var(--texto-suave); }
.section-dark .section-sub { color: rgba(246, 246, 246, .75); }

/* Problema x solução */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-card { border-radius: var(--radius); padding: 36px; }
.compare-card h3 { font-size: 24px; margin-bottom: 20px; }
.compare-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.compare-card li { display: flex; gap: 12px; align-items: flex-start; }
.compare-card li::before { content: ""; width: 22px; height: 22px; flex: none; margin-top: 3px; border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 12px; }
.compare-before { background: var(--branco); border: 1px solid var(--borda); color: var(--texto-suave); }
.compare-before h3 { color: var(--azul-cimento); }
.compare-before li::before {
  background-color: #E8EBF1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23586B93' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E");
}
.compare-after { background: var(--luar); color: var(--gelo); }
.compare-after h3 { color: var(--verde-lima); }
.compare-after li::before {
  background-color: var(--verde-lima);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E3151' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");
}
.quote-line {
  margin-top: 48px; text-align: center; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(22px, 2.6vw, 30px); color: var(--luar);
}

/* Como funciona */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; background: var(--gelo); border-radius: var(--radius); padding: 28px 22px;
  border: 1px solid transparent; transition: border-color .2s ease, transform .2s ease;
}
.step:hover { border-color: var(--azul-cimento); transform: translateY(-3px); }
.step-num {
  position: absolute; top: 20px; right: 20px; font-family: var(--font-display); font-weight: 600;
  font-size: 15px; color: var(--azul-cimento); opacity: .7;
}
.step-icon {
  width: 52px; height: 52px; padding: 13px; border-radius: 14px; margin-bottom: 20px;
  background: var(--luar); stroke: var(--verde-lima); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.step h3 { font-size: 19px; margin-bottom: 10px; }
.step p { font-size: 16px; color: var(--texto-suave); line-height: 1.5; }
.assessoria {
  margin-top: 28px; display: flex; gap: 20px; align-items: center;
  background: linear-gradient(90deg, rgba(185, 206, 95, .22), rgba(185, 206, 95, .08));
  border: 1px solid rgba(110, 127, 34, .25); border-radius: var(--radius); padding: 24px 28px;
}
.assessoria .icon { color: var(--verde-lima-escuro); }
.assessoria h3 { font-size: 20px; margin-bottom: 4px; }
.assessoria p { color: var(--texto-suave); }

/* Diferenciais */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar {
  background: rgba(246, 246, 246, .04); border: 1px solid rgba(246, 246, 246, .12);
  border-radius: var(--radius); padding: 30px 26px;
}
.pillar .icon { color: var(--verde-lima); margin-bottom: 20px; }
.pillar h3 { font-size: 21px; margin-bottom: 10px; }
.pillar p { color: rgba(246, 246, 246, .72); font-size: 16px; line-height: 1.55; }

/* Depoimento */
.testimonial {
  margin: 0 auto; max-width: 880px; text-align: center; position: relative;
}
.quote-mark { width: 56px; height: 56px; fill: var(--verde-lima); margin: 0 auto 24px; }
.testimonial blockquote { margin: 0; }
.testimonial-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.2; color: var(--luar); margin-bottom: 20px; }
.testimonial blockquote p:not(.testimonial-title) { color: var(--texto-suave); font-size: 19px; }
.testimonial figcaption { margin-top: 28px; display: flex; flex-direction: column; gap: 2px; }
.testimonial figcaption strong { font-size: 18px; }
.testimonial figcaption span { color: var(--azul-cimento); font-weight: 600; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }

/* CTA */
.cta-band { background: var(--verde-lima); color: var(--azul-noite); padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 8px; }
.cta-band p { font-size: 19px; color: rgba(14, 24, 40, .78); }

/* Rodapé */
.site-footer { background: var(--noite-logo); color: rgba(246, 246, 246, .78); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.4fr .8fr; gap: 48px; }
.footer-brand img { width: 220px; margin: -24px 0 12px -24px; }
.footer-brand p { font-size: 16px; }
.footer-title { font-size: 18px; color: var(--gelo); margin-bottom: 18px; }
.contact-list, .footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: 16px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { color: var(--verde-lima); margin-top: 3px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--verde-lima); }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(246, 246, 246, .12);
  display: flex; justify-content: space-between; gap: 16px; font-size: 14px; flex-wrap: wrap;
}

/* Animação de entrada (só com JS ativo e sem redução de movimento) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .step { transition: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-inner { justify-content: space-between; }
  .hero { padding: 64px 0 96px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 460px; margin-left: 36px; }
  .compare { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .container { padding: 0 16px; }
  .header-inner { height: 64px; gap: 12px; }
  .brand img { height: 30px; }
  .btn-sm { padding: 8px 14px; font-size: 14px; }
  .btn-sm .icon { display: none; }
  .lead { font-size: 18px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .hero-visual { margin-left: 0; }
  .stat-card { margin-right: 12px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .steps, .pillars { grid-template-columns: 1fr; }
  .compare-card { padding: 28px 22px; }
  .assessoria { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner .btn { width: 100%; justify-content: center; }
}
