/* ═══════════════════════════════════════════════════
   OwnerSeg — Style Sheet
   ═══════════════════════════════════════════════════ */

:root {
  --blue: #31489c;
  --blue-dark: #243580;
  --blue-light: #e8ecf9;
  --green: #99f473;
  --green-dark: #5ecf33;
  --dark: #111827;
  --mid: #374151;
  --muted: #6B7280;
  --bg: #f4f6fb;
  --white: #ffffff;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--mid);
  padding-top: 72px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Sora', sans-serif;
  color: var(--dark);
}

/* ── NAVBAR ─────────────────────────────────── */
.navbar-custom {
  background: linear-gradient(130deg, var(--blue) 55%, #5a8a3c 100%);
  box-shadow: 0 2px 20px rgba(49,72,156,.25);
  padding: 0 0;
  height: 72px;
}

.navbar-custom .nav-link {
  color: rgba(255,255,255,.85) !important;
  font-family: 'Sora', sans-serif;
  font-size: .875rem;
  font-weight: 600;
  padding: .5rem 1rem !important;
  transition: color .2s;
}
.navbar-custom .nav-link:hover { color: var(--green) !important; }

@media (max-width: 991.98px) {
  .navbar-custom .navbar-collapse {
    background: linear-gradient(130deg, var(--blue) 55%, #5a8a3c 100%);
    border-radius: 0 0 14px 14px;
    padding: 1rem;
    margin-top: .5rem;
    box-shadow: 0 8px 24px rgba(49,72,156,.3);
  }
}

.btn-portal {
  background: var(--white);
  color: var(--blue);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .02em;
  border: none;
  border-radius: 99px;
  padding: .5rem 1.4rem;
  transition: background .2s, box-shadow .2s;
}
.btn-portal:hover {
  background: var(--green);
  color: var(--blue);
  box-shadow: 0 4px 14px rgba(153,244,115,.4);
}

.navbar-toggler { border: none; }
.navbar-toggler-icon { filter: invert(1); }

/* ── HERO ────────────────────────────────────── */
.hero {
  min-height: 620px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(160deg, rgba(17,24,39,.92) 40%, rgba(49,72,156,.85) 100%);
  padding: 100px 0 80px;
  color: var(--white);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(153,244,115,.15);
  border: 1px solid rgba(153,244,115,.35);
  color: var(--green);
  font-family: 'Sora', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 99px;
  padding: .35rem 1rem;
  margin-bottom: 1.4rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.hero h1 span { color: var(--green); }

.hero p.lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,.78);
  max-width: 580px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.btn-hero-primary {
  background: var(--green);
  color: var(--blue);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  border: none;
  border-radius: 99px;
  padding: .85rem 2rem;
  transition: background .2s, box-shadow .2s, transform .15s;
  box-shadow: 0 6px 20px rgba(153,244,115,.3);
}
.btn-hero-primary:hover {
  background: #b5ff85;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(153,244,115,.45);
  color: var(--blue);
}

.btn-hero-outline {
  background: transparent;
  color: var(--white);
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  border: 1.5px solid rgba(255,255,255,.45);
  border-radius: 99px;
  padding: .82rem 1.8rem;
  transition: border-color .2s, background .2s;
}
.btn-hero-outline:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(153,244,115,.07);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.4rem;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .82rem;
  color: rgba(255,255,255,.65);
}
.hero-trust-item i {
  color: var(--green);
  font-size: .95rem;
}

/* ── STATS STRIP ─────────────────────────────── */
.stats-strip {
  background: var(--white);
  border-bottom: 1px solid #e5e9f2;
  padding: 2rem 0;
}

.stat-item {
  text-align: center;
  padding: .5rem 1.5rem;
  border-right: 1px solid #e5e9f2;
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  transition: color .3s;
}
.stat-number span { color: var(--green-dark); }

.stat-label {
  font-size: .8rem;
  color: var(--muted);
  margin-top: .3rem;
}

/* ── SECTION BASE ────────────────────────────── */
.section-eyebrow {
  font-family: 'Sora', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  display: inline-block;
  padding: .3rem .9rem;
  border-radius: 99px;
  margin-bottom: .9rem;
}

.section-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: .6rem;
}

.section-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── FEATURES ────────────────────────────────── */
#funcionalidades { padding: 90px 0; }

.feature-card {
  background: var(--white);
  border: 1px solid #e5e9f2;
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-light) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .25s;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(49,72,156,.1);
  border-color: #c5ceee;
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  position: relative;
}
.feature-icon i { font-size: 1.4rem; color: var(--blue); }

.feature-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.feature-card p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ── HOW IT WORKS ────────────────────────────── */
#como-funciona {
  background: var(--white);
  padding: 90px 0;
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.step-num {
  font-family: 'Sora', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: .5rem;
}

.step-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue) 0%, #4a63c0 100%);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  box-shadow: 0 6px 18px rgba(49,72,156,.25);
}
.step-icon-wrap i { color: var(--white); font-size: 1.4rem; }

.step-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.step-card p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.65;
}

.step-connector {
  position: absolute;
  top: 28px;
  right: -30px;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
  opacity: .25;
}

/* ── TESTIMONIALS ────────────────────────────── */
#depoimentos { padding: 90px 0; }

.testimonial-card {
  background: var(--white);
  border: 1px solid #e5e9f2;
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  transition: transform .25s, box-shadow .25s;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(49,72,156,.08);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: .85rem;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-size: .9rem;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-quote::before { content: '\201C'; }
.testimonial-quote::after  { content: '\201D'; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .9rem;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--blue);
  flex-shrink: 0;
}
.author-name {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: .875rem;
  color: var(--dark);
}
.author-role {
  font-size: .78rem;
  color: var(--muted);
  margin-top: .1rem;
}

/* ── CTA BANNER ──────────────────────────────── */
.cta-banner {
  background: linear-gradient(130deg, var(--blue) 0%, #243a8a 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(153,244,115,.1);
  right: -80px; top: -120px;
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(153,244,115,.07);
  left: -60px; bottom: -100px;
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: .6rem;
}
.cta-banner p {
  color: rgba(255,255,255,.72);
  font-size: 1rem;
}

.btn-cta-green {
  background: var(--green);
  color: var(--blue);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  border: none;
  border-radius: 99px;
  padding: .9rem 2.2rem;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 6px 20px rgba(153,244,115,.25);
}
.btn-cta-green:hover {
  background: #b5ff85;
  transform: translateY(-2px);
  color: var(--blue);
  box-shadow: 0 10px 28px rgba(153,244,115,.4);
}

/* ── CONTACT ─────────────────────────────────── */
#contato { padding: 90px 0; }

.contact-card {
  background: var(--white);
  border: 1px solid #e5e9f2;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 8px 32px rgba(49,72,156,.07);
}

.form-label {
  font-family: 'Sora', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: .4rem;
}

.form-control {
  border: 1.5px solid #e2e6f3;
  border-radius: 10px;
  background: #f8f9fe;
  padding: .75rem 1rem;
  font-size: .9rem;
  color: var(--dark);
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(49,72,156,.1);
  background: var(--white);
  outline: none;
}
.form-control::placeholder { color: #b0b9d0; }

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.btn-submit {
  background: linear-gradient(135deg, var(--blue) 0%, #4a63c0 100%);
  color: var(--white);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .03em;
  border: none;
  border-radius: 99px;
  padding: 1rem;
  width: 100%;
  transition: opacity .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 6px 20px rgba(49,72,156,.25);
}
.btn-submit:hover {
  opacity: .9;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(49,72,156,.35);
}

/* ── FOOTER ──────────────────────────────────── */
footer {
  background: var(--dark);
  padding: 3rem 0 2rem;
}

.footer-divider {
  border-color: rgba(255,255,255,.08);
  margin: 1.5rem 0;
}

.footer-links a {
  color: rgba(255,255,255,.45);
  font-size: .8rem;
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--green); }

.footer-legal a {
  color: rgba(255,255,255,.45);
  font-size: .75rem;
  text-decoration: none;
  transition: color .2s;
}
.footer-legal a:hover { color: var(--green); }

.footer-sep {
  color: rgba(255,255,255,.15);
  font-size: .7rem;
}

/* ── ANIMATIONS ──────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.anim-fade-up { opacity: 0; }
.anim-fade-up.visible {
  animation: fadeUp .55s ease forwards;
}

.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }
.delay-5 { animation-delay: .5s; }

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 768px) {
  .stat-item { border-right: none; border-bottom: 1px solid #e5e9f2; padding: 1rem 0; }
  .stat-item:last-child { border-bottom: none; }
  .step-connector { display: none; }
  .contact-card { padding: 1.8rem 1.2rem; }
  .cta-banner { text-align: center; }
  .cta-banner .btn-cta-green { margin-top: 1rem; }
}
