/* ─── RESET & BASE ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --white:         #ffffff;
  --bg:            #f5f7fa;
  --bg-section:    #eef2f7;
  --surface:       #ffffff;

  /* Azul navy — cor primária */
  --navy:          #003B6A;
  --navy-mid:      #005199;
  --navy-light:    #e8f0f8;
  --navy-border:   #c0d4e8;

  /* Coral — CTA / destaque */
  --coral:         #DE5E3F;
  --coral-dark:    #c44d2e;
  --coral-light:   #fdf0ec;
  --coral-mid:     #f4b09e;

  /* Texto */
  --text:          #0d1f33;
  --text-mid:      #4a6080;
  --text-muted:    #8fa3bc;

  /* Bordas */
  --border:        #dde6f0;
  --border-strong: #c5d4e3;

  --shadow-sm:     0 1px 4px rgba(0,59,106,0.06);
  --shadow-md:     0 4px 20px rgba(0,59,106,0.09);
  --shadow-lg:     0 12px 40px rgba(0,59,106,0.11);
  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     20px;
  --radius-xl:     28px;
  --transition:    0.22s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Satoshi', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── UTILS ─── */
.container {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 28px;
}

/* ─── FADE-UP ─── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 0;
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.navbar-logo {
  width: 118px;
  height: auto;
  display: block;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.navbar-links a {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.navbar-links a:hover { color: var(--text); background: var(--bg); }
.navbar-links .nav-cta {
  background: var(--coral);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.navbar-links .nav-cta:hover { background: var(--coral-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  padding: 4px;
}

/* ─── MOBILE MENU ─── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 20px;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-md);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block;
  text-decoration: none;
  color: var(--text-mid);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--text); background: var(--bg); }
.mobile-menu .mob-cta {
  background: var(--coral);
  color: #fff !important;
  text-align: center;
  margin-top: 6px;
  font-weight: 600;
}

/* ─── HERO ─── */
.hero {
  background: var(--white);
  padding-top: 110px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

/* Decoração geométrica de fundo */
.hero-bg-deco {
  position: absolute;
  top: -80px; right: -120px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, #e6faf6 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--coral-light);
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid var(--coral-mid);
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--coral);
  animation: blink 2s infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; } 50% { opacity: 0.3; }
}

.hero-headline {
  font-size: 48px;
  font-weight: 800;
  line-height: normal;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 22px;
}
.hero-headline .hl {
  color: var(--coral);
}
.hero-headline .hl-normal {
  font-weight: 400;
}

.hero-sub {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 500px;
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.hero-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
}
.hero-checks li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--coral);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--coral);
  color: #fff;
  font-family: 'Satoshi', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(222,94,63,0.22);
}
.btn-hero:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(222,94,63,0.32);
}
.btn-hero:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.sec-cta {
  display: flex;
  justify-content: center;
  padding-top: 32px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-muted);
}
.avatars { display: flex; }
.av {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: linear-gradient(135deg, var(--coral), var(--navy-mid));
  margin-left: -7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #fff;
}
.av:first-child { margin-left: 0; }

/* Formulário no hero */
.hero-form {
  display: flex;
  align-items: flex-start;
}
.hero-form .form-wrap {
  width: 100%;
  box-shadow: var(--shadow-lg);
}

/* (mantido para não quebrar referências legadas) */
.hero-visual {
  display: flex;
  justify-content: center;
}
.hero-visual-inner {
  position: relative;
  width: 100%;
  max-width: 400px;
}
.hero-visual-inner svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 40px rgba(0,150,120,0.12));
}

/* ─── FRASE DESTAQUE ─── */
.frase-destaque {
  background: var(--navy);
  padding: 72px 0;
}

.frase-destaque-titulo {
  font-size: clamp(0.8rem, 1.5vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  text-align: center;
  margin-bottom: 20px;
}

.frase-destaque-text {
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.55;
  text-align: center;
  max-width: 1000px;
  margin-inline: auto;
}

.frase-destaque-text strong {
  color: #f4b09e;
  font-weight: 700;
}


/* ─── PROPOSTA (pill numbers) ─── */
.proposta {
  background: var(--bg);
  padding: 88px 0;
}

.sec-eyebrow {
  display: inline-block;
  background: var(--coral-light);
  color: var(--coral-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 100px;
  margin-bottom: 14px;
  border: 1px solid var(--coral-mid);
}

.sec-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 12px;
}

.sec-sub {
  font-size: 16px;
  color: var(--text-mid);
  max-width: 500px;
  line-height: 1.65;
}

.sec-header {
  margin-bottom: 56px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.step:hover {
  border-color: var(--coral-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.step-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

.step-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--coral);
  margin-bottom: 12px;
}
.step-body p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.6;
}

/* ─── DIFERENCIAIS ─── */
.diferenciais {
  background: var(--white);
  padding: 88px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 52px;
}

.diff-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: var(--transition);
}
.diff-card:hover {
  border-color: var(--coral-mid);
  background: var(--coral-light);
  box-shadow: var(--shadow-md);
}

.diff-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--coral-light);
  border: 1px solid var(--coral-mid);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.diff-icon svg { width: 22px; height: 22px; color: var(--coral-dark); }

.diff-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.diff-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}

.callout {
  background: linear-gradient(135deg, var(--coral-light) 0%, #dff7f0 100%);
  border: 1px solid var(--coral-mid);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}
.callout p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.7;
}
.callout strong { color: var(--coral-dark); font-weight: 700; }

/* ─── LOADING OVERLAY ─── */
.page-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--white);
  align-items: center;
  justify-content: center;
}
.page-overlay.active { display: flex; }

.overlay-spinner {
  width: 72px;
  height: 72px;
  animation: bounce-spin 1.1s ease-in-out infinite;
}
@keyframes bounce-spin {
  0%   { transform: rotate(0deg); }
  75%  { transform: rotate(360deg); }
  85%  { transform: rotate(348deg); }
  95%  { transform: rotate(362deg); }
  100% { transform: rotate(360deg); }
}

/* ─── FORMULÁRIO ─── */
.formulario {
  background: var(--bg);
  padding: 88px 0;
}

.form-wrap {
  max-width: 640px;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.form-header {
  margin-bottom: 32px;
}
.form-header h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.form-header p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.55;
}

.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 7px;
}
.form-group label .req { color: var(--coral); margin-left: 2px; }

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  font-family: 'Satoshi', sans-serif;
  font-size: 15px;
  transition: var(--transition);
  outline: none;
  appearance: none;
}
.form-control::placeholder { color: var(--text-muted); }
.form-control:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(0,59,106,0.08);
}

select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' fill='none'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%238fa3bc' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.btn-submit {
  width: 100%;
  margin-top: 6px;
  padding: 15px;
  background: var(--coral);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Satoshi', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(222,94,63,0.22);
}
.btn-submit:hover:not(:disabled) {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(222,94,63,0.32);
}
.btn-submit:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}
.btn-submit:disabled { opacity: 0.65; cursor: not-allowed; }

.btn-submit .spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn-submit.loading .spinner { display: block; }
.btn-submit.loading .btn-label { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── SUCESSO ─── */
.form-success {
  display: none;
  text-align: center;
  padding: 32px 16px;
}
.form-success.show { display: block; }

.success-icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--coral-light);
  border: 2px solid var(--coral-mid);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.success-icon svg { width: 30px; height: 30px; color: var(--coral-dark); }
.success-title {
  font-size: 22px; font-weight: 800;
  color: var(--navy); margin-bottom: 10px;
}
.success-desc {
  font-size: 15px; color: var(--text-mid); line-height: 1.6;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--navy);
  padding: 44px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.footer-logo img {
  height: 26px; width: auto;
  opacity: 0.85;
  filter: brightness(10);
  transition: var(--transition);
}
.footer-logo img:hover { opacity: 1; }
.footer-text { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-link {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: var(--transition);
}
.footer-link:hover { color: var(--coral); }

/* ─── LOADING OVERLAY ─── */
.page-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.page-overlay.active { display: flex; }
.overlay-spinner { width: 72px; height: 72px; }

/* ─── RESPONSIVE ─── */
@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 720px) {
  .diff-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 719px) {
  .steps { grid-template-columns: 1fr; }
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .navbar-links { display: none; }
  .nav-toggle { display: flex; }
  .form-wrap { padding: 24px; }
  .proposta, .diferenciais, .formulario { padding: 64px 0; }
  .hero { padding-top: 100px; padding-bottom: 60px; }
  .callout { padding: 30px 24px; }
}
