:root {
  --navy:   #0B1829;
  --navy2:  #132238;
  --teal:   #0F7E6B;
  --teal2:  #13A888;
  --gold:   #D4A853;
  --cream:  #F5F0E8;
  --muted:  #8395A7;
  --white:  #FFFFFF;
  --radius: 16px;
  --transition: 0.4s cubic-bezier(0.22,1,0.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
}

/* ── NOISE OVERLAY ── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: .5;
}

/* ── NAVBAR ── */
.navbar { background: transparent; padding: 1.4rem 0; transition: background .4s, box-shadow .4s; z-index: 100; }
.navbar.scrolled { background: rgba(11,24,41,.92) !important; backdrop-filter: blur(12px); box-shadow: 0 4px 32px rgba(0,0,0,.35); }
.navbar-brand { font-family: 'DM Serif Display', serif; font-size: 1.55rem; color: var(--white) !important; letter-spacing: -.5px; }
.navbar-brand span { color: var(--teal2); }
.nav-link { color: rgba(255,255,255,.75) !important; font-weight: 500; font-size: .92rem; transition: color .25s; padding: .5rem 1.1rem !important; }
.nav-link:hover { color: var(--teal2) !important; }
.btn-nav {
  background: var(--teal);
  color: var(--white) !important;
  border-radius: 50px;
  padding: .5rem 1.5rem !important;
  font-weight: 600;
  transition: background var(--transition), transform .2s;
}
.btn-nav:hover { background: var(--teal2) !important; transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  padding-top: 5rem;
  overflow: hidden;
}

/* animated gradient mesh */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(15,126,107,.28) 0%, transparent 65%),
    radial-gradient(ellipse 60% 80% at 10% 80%, rgba(212,168,83,.12) 0%, transparent 60%),
    var(--navy);
  animation: meshShift 14s ease-in-out infinite alternate;
}
@keyframes meshShift {
  from { background-position: 0% 0%; }
  to {
    background:
      radial-gradient(ellipse 80% 60% at 55% 55%, rgba(15,126,107,.32) 0%, transparent 65%),
      radial-gradient(ellipse 60% 80% at 20% 75%, rgba(212,168,83,.14) 0%, transparent 60%),
      var(--navy);
  }
}

/* grid lines */
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 80px 80px;
}

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

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(15,126,107,.18);
  border: 1px solid rgba(19,168,136,.35);
  border-radius: 50px;
  padding: .4rem 1.1rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--teal2);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-badge .dot { width: 7px; height: 7px; background: var(--teal2); border-radius: 50%; animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.4)} }

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
}
.hero h1 em { font-style: italic; color: var(--teal2); }
.hero h1 .line-gold { color: var(--gold); }

.hero-sub {
  color: rgba(255,255,255,.65);
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 2.5rem;
}

.btn-primary-custom {
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: .9rem 2.2rem;
  font-weight: 600;
  font-size: 1rem;
  transition: background var(--transition), transform .2s, box-shadow .3s;
  box-shadow: 0 8px 32px rgba(15,126,107,.4);
}
.btn-primary-custom:hover { background: var(--teal2); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(19,168,136,.45); color:#fff; }

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,.85);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: .9rem 2.2rem;
  font-weight: 500;
  font-size: 1rem;
  transition: border-color .3s, color .3s, transform .2s;
}
.btn-ghost:hover { border-color: var(--teal2); color: var(--teal2); transform: translateY(-2px); }

/* hero mockup card */
.hero-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px;
  backdrop-filter: blur(16px);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  animation: floatCard 6s ease-in-out infinite;
}
@keyframes floatCard { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
.hero-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal2), var(--gold), transparent);
}

.mini-chart { display: flex; align-items: flex-end; gap: 8px; height: 80px; margin-bottom: 1.2rem; }
.bar {
  flex: 1; background: rgba(15,126,107,.35); border-radius: 6px 6px 0 0;
  transition: height .6s cubic-bezier(.4,0,.2,1);
  animation: growBar .8s ease-out forwards;
}
.bar:nth-child(1){ height: 40%; animation-delay:.1s }
.bar:nth-child(2){ height: 65%; animation-delay:.2s; background: rgba(19,168,136,.5); }
.bar:nth-child(3){ height: 50%; animation-delay:.3s }
.bar:nth-child(4){ height: 85%; animation-delay:.4s; background: var(--teal2); }
.bar:nth-child(5){ height: 70%; animation-delay:.5s }
.bar:nth-child(6){ height: 95%; animation-delay:.6s; background: var(--gold); }
.bar:nth-child(7){ height: 78%; animation-delay:.7s }
@keyframes growBar { from{height:0!important;opacity:0} to{opacity:1} }

.card-metric { display: flex; justify-content: space-between; align-items: center; margin-bottom: .8rem; }
.metric-label { font-size: .8rem; color: var(--muted); font-weight: 500; }
.metric-value { font-size: 1.4rem; font-family: 'DM Serif Display', serif; }
.metric-up { color: var(--teal2); font-size: .78rem; font-weight: 600; }

.progress-row { margin-bottom: .6rem; }
.progress-label { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); margin-bottom: .25rem; }
.progress-bar-bg { background: rgba(255,255,255,.07); border-radius: 50px; height: 6px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 50px; background: linear-gradient(90deg, var(--teal), var(--teal2)); animation: fillBar 1.2s ease-out forwards; }
.progress-fill.gold { background: linear-gradient(90deg, #c4923d, var(--gold)); }
@keyframes fillBar { from{width:0!important} }

/* trust badges */
.trust-bar {
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 1.6rem 0;
  margin-top: 3rem;
}
.trust-item { display: flex; align-items: center; gap: .6rem; color: rgba(255,255,255,.45); font-size: .88rem; font-weight: 500; }
.trust-item i { color: var(--teal2); font-size: 1.1rem; }

/* ── SECTION COMMON ── */
section { position: relative; z-index: 1; }
.section-tag {
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal2); margin-bottom: .8rem;
}
.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -.5px;
}
.section-sub { color: rgba(255,255,255,.6); line-height: 1.7; font-size: 1.05rem; }

/* ── FEATURES ── */
#features { padding: 7rem 0; background: var(--navy2); }
.feature-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(15,126,107,.12), transparent);
  opacity: 0;
  transition: opacity .4s;
}
.feature-card:hover { border-color: rgba(19,168,136,.35); transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.feature-card:hover::after { opacity: 1; }
.feature-icon {
  width: 52px; height: 52px;
  background: rgba(15,126,107,.18);
  border: 1px solid rgba(19,168,136,.3);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--teal2);
  margin-bottom: 1.2rem;
  transition: background .3s;
}
.feature-card:hover .feature-icon { background: rgba(15,126,107,.32); }
.feature-title { font-weight: 700; font-size: 1.08rem; margin-bottom: .5rem; }
.feature-text { color: rgba(255,255,255,.55); font-size: .92rem; line-height: 1.65; }

/* ── HOW IT WORKS ── */
#como { padding: 7rem 0; }
.step-line {
  position: absolute;
  top: 28px; left: calc(50% + 28px);
  width: calc(100% - 56px);
  height: 1px;
  background: linear-gradient(90deg, rgba(19,168,136,.4), transparent);
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  margin: 0 auto 1.2rem;
  position: relative; z-index: 1;
  box-shadow: 0 0 0 8px rgba(15,126,107,.15);
  transition: transform .3s, box-shadow .3s;
}
.step-wrap:hover .step-num { transform: scale(1.12); box-shadow: 0 0 0 14px rgba(15,126,107,.18); }
.step-wrap { text-align: center; position: relative; }
.step-title { font-weight: 700; margin-bottom: .4rem; font-size: 1rem; }
.step-text { color: rgba(255,255,255,.5); font-size: .88rem; line-height: 1.6; }

/* ── SOCIAL PROOF ── */
#depoimentos { padding: 7rem 0; background: var(--navy2); }
.testimonial-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  transition: border-color .3s, transform .3s;
}
.testimonial-card:hover { border-color: rgba(212,168,83,.3); transform: translateY(-4px); }
.stars { color: var(--gold); font-size: .9rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-text { color: rgba(255,255,255,.7); font-size: .95rem; line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .8rem; }
.author-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem;
}
.author-name { font-weight: 700; font-size: .9rem; }
.author-role { color: var(--muted); font-size: .8rem; }

/* stats row */
.stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--teal2);
}
.stat-label { color: rgba(255,255,255,.55); font-size: .92rem; margin-top: .3rem; }

/* ── PRICING ── */
#planos { padding: 7rem 0; }
.pricing-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.pricing-card:hover { transform: translateY(-8px); box-shadow: 0 32px 80px rgba(0,0,0,.4); }
.pricing-card.featured {
  background: linear-gradient(145deg, rgba(15,126,107,.22), rgba(19,168,136,.08));
  border-color: rgba(19,168,136,.45);
}
.pricing-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--teal);
  color: #fff; font-size: .75rem; font-weight: 700;
  padding: .3rem 1.2rem; border-radius: 50px;
  text-transform: uppercase; letter-spacing: .08em;
}
.plan-name { font-weight: 700; font-size: 1rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .5rem; }
.plan-price { font-family: 'DM Serif Display', serif; font-size: 3rem; line-height: 1; margin-bottom: .3rem; }
.plan-price sub { font-size: 1rem; font-family: 'DM Sans', sans-serif; color: var(--muted); }
.plan-desc { color: rgba(255,255,255,.5); font-size: .88rem; margin-bottom: 1.8rem; }
.plan-feature { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; color: rgba(255,255,255,.75); margin-bottom: .7rem; }
.plan-feature i { color: var(--teal2); margin-top: 2px; }
.plan-feature.na { color: rgba(255,255,255,.25); }
.plan-feature.na i { color: rgba(255,255,255,.15); }
.btn-plan {
  width: 100%; border-radius: 50px; padding: .85rem;
  font-weight: 600; font-size: .95rem;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.15);
  color: #fff; cursor: pointer;
  transition: background .3s, border-color .3s, transform .2s;
}
.btn-plan:hover { background: rgba(255,255,255,.12); transform: translateY(-1px); }
.btn-plan.highlight { background: var(--teal); border-color: transparent; box-shadow: 0 8px 28px rgba(15,126,107,.4); }
.btn-plan.highlight:hover { background: var(--teal2); }

/* ── FAQ ── */
#faq { padding: 7rem 0; background: var(--navy2); }
.accordion-item { background: transparent !important; border: none !important; border-bottom: 1px solid rgba(255,255,255,.07) !important; }
.accordion-button {
  background: transparent !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  padding: 1.4rem 0 !important;
  box-shadow: none !important;
}
.accordion-button::after { filter: brightness(0) invert(1) opacity(.4); }
.accordion-button:not(.collapsed) { color: var(--teal2) !important; }
.accordion-button:not(.collapsed)::after { filter: none; }
.accordion-body { padding: 0 0 1.4rem !important; color: rgba(255,255,255,.6); line-height: 1.75; font-size: .95rem; }

/* ── CTA ── */
#contato { padding: 7rem 0; }
.cta-box {
  background: linear-gradient(135deg, rgba(15,126,107,.25) 0%, rgba(212,168,83,.1) 100%);
  border: 1px solid rgba(19,168,136,.3);
  border-radius: 28px;
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(19,168,136,.18), transparent 70%);
  border-radius: 50%;
}
.cta-box::after {
  content: '';
  position: absolute; bottom: -80px; left: -40px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(212,168,83,.12), transparent 70%);
  border-radius: 50%;
}
.cta-box > * { position: relative; z-index: 1; }
.form-control-custom {
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 12px;
  color: #fff;
  padding: .85rem 1.1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  transition: border-color .3s, background .3s;
  width: 100%;
}
.form-control-custom::placeholder { color: rgba(255,255,255,.3); }
.form-control-custom:focus { outline: none; border-color: var(--teal2); background: rgba(255,255,255,.1); }

/* Linha da esquerda: transparente para dourado */
.gradient-gold-left {
  height: 2px; /* Controla a grossura da linha */
  background: linear-gradient(to right, transparent, #d4a853);
}

/* Linha da direita: dourado para transparente */
.gradient-gold-right {
  height: 2px; /* Controla a grossura da linha */
  background: linear-gradient(to left, transparent, #d4a853);
}

/* Opcional: Cor dourada para o texto */
.text-gold {
  color: #d4a853;
}

/* ── FOOTER ── */
footer {
  background: #070f1a;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 3rem 0 2rem;
}
.footer-brand { font-family: 'DM Serif Display', serif; font-size: 1.5rem; }
.footer-brand span { color: var(--teal2); }
.footer-tagline { color: rgba(255,255,255,.35); font-size: .88rem; margin-top: .3rem; }
.footer-links a { color: rgba(255,255,255,.45); text-decoration: none; font-size: .88rem; transition: color .25s; display: block; margin-bottom: .5rem; }
.footer-links a:hover { color: var(--teal2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); margin-top: 2.5rem; padding-top: 1.5rem; color: rgba(255,255,255,.25); font-size: .82rem; }

/* ── ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-32px); transition: opacity .7s ease, transform .7s ease; }
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(32px); transition: opacity .7s ease, transform .7s ease; }
.reveal-right.visible { opacity: 1; transform: none; }

/* ── COUNTER ── */
.count-up { display: inline-block; }

/* scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 50px; }

@media (max-width: 991px) {
  .hero-card { margin-top: 3rem; }
  .step-line { display: none; }
}
@media (max-width: 767px) {
  .trust-bar .row > div:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,.06); padding-bottom: .8rem; margin-bottom: .8rem; }
}
