:root {
  --navy: #0d1b2a;
  --navy-mid: #1a2d42;
  --navy-light: #243b55;
  --gold: #c9a84c;
  --gold-light: #e2c47a;
  --gold-pale: #f5e9c8;
  --cream: #faf8f3;
  --white: #ffffff;
  --text-muted: #8a9bb0;
  --border: rgba(201, 168, 76, 0.2);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--cream);
  color: var(--navy);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
}

/* ─── NAVBAR ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-logo span { color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: var(--navy);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: none; border-radius: 2px; cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(201,168,76,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(26,45,66,0.8) 0%, transparent 60%),
    linear-gradient(135deg, #0d1b2a 0%, #1a2d42 50%, #0d1b2a 100%);
}

.hero-lines {
  position: absolute; inset: 0; overflow: hidden; opacity: 0.06;
}
.hero-lines::before {
  content: '';
  position: absolute;
  top: -200px; right: -100px;
  width: 700px; height: 700px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  animation: rotate 40s linear infinite;
}
.hero-lines::after {
  content: '';
  position: absolute;
  top: -100px; right: 50px;
  width: 500px; height: 500px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  animation: rotate 28s linear infinite reverse;
}

@keyframes rotate { to { transform: rotate(360deg); } }

.hero-content {
  position: relative; z-index: 2;
  max-width: 1100px; margin: 0 auto;
  padding: 80px 5%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold-light);
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 2px; margin-bottom: 24px;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%;
}

.hero-h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.hero-h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 36px;
  font-weight: 300;
}

.hero-btns {
  display: flex; gap: 14px; flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600; font-size: 0.88rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 15px 28px; border-radius: 2px;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.2s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.3); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent;
  color: var(--white);
  font-weight: 500; font-size: 0.88rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 14px 28px; border-radius: 2px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.25);
  transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold-light); }

/* Hero Right — Card */
.hero-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 4px;
  padding: 36px;
  backdrop-filter: blur(8px);
}

.hero-card h3 {
  font-size: 1.3rem; color: var(--gold-light); margin-bottom: 24px;
  font-weight: 500; font-style: italic;
}

.hero-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px;
}

.stat-item { text-align: center; padding: 16px; background: rgba(255,255,255,0.04); border-radius: 2px; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 700; color: var(--gold-light); display: block; }
.stat-label { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.05em; }

.trust-items { display: flex; flex-direction: column; gap: 10px; }
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem; color: rgba(255,255,255,0.75);
}
.trust-item::before {
  content: '✓';
  width: 20px; height: 20px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; color: var(--gold);
  flex-shrink: 0;
}

/* ─── DOR ─── */
#dor {
  background: var(--cream);
  padding: 90px 5%;
}

.section-label {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 600; line-height: 1.2;
  color: var(--navy); margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem; color: #4a5568; line-height: 1.75;
  max-width: 560px; margin-bottom: 48px; font-weight: 300;
}

.dor-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; max-width: 1100px; margin: 0 auto;
}

.dor-card {
  background: white;
  border-left: 3px solid var(--gold);
  padding: 28px 28px 28px 24px;
  border-radius: 0 4px 4px 0;
  box-shadow: 0 2px 16px rgba(13,27,42,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.dor-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(13,27,42,0.1); }

.dor-icon { font-size: 1.6rem; margin-bottom: 14px; }

.dor-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; color: var(--navy); margin-bottom: 8px; font-weight: 600;
}
.dor-card p { font-size: 0.88rem; color: #64748b; line-height: 1.65; }

/* ─── SERVIÇOS ─── */
#servicos {
  background: var(--navy);
  padding: 90px 5%;
  position: relative; overflow: hidden;
}
#servicos::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

#servicos .section-title { color: var(--white); }
#servicos .section-label { color: var(--gold); }

.servicos-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; max-width: 1100px; margin: 0 auto;
}

.servico-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 4px; padding: 36px;
  transition: all 0.3s; position: relative; overflow: hidden;
}
.servico-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--gold);
  transform: scaleX(0); transition: transform 0.3s;
}
.servico-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(201,168,76,0.5); }
.servico-card:hover::after { transform: scaleX(1); }

.servico-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 300; color: rgba(201,168,76,0.2);
  line-height: 1; margin-bottom: 16px;
}

.servico-card h3 {
  font-size: 1.6rem; color: var(--white); margin-bottom: 12px; font-weight: 600;
}

.servico-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }

.servico-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.servico-tag {
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--gold-light); font-size: 0.75rem;
  padding: 4px 12px; border-radius: 20px;
}

.servico-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold); font-size: 0.85rem; font-weight: 500;
  text-decoration: none; letter-spacing: 0.04em;
  transition: gap 0.2s;
}
.servico-link:hover { gap: 14px; }
.servico-link::after { content: '→'; }

/* ─── AUTORIDADE ─── */
#autoridade {
  background: white;
  padding: 90px 5%;
}

.autoridade-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
}

.autoridade-visual {
  position: relative;
}

.autoridade-plaque {
  background: var(--navy);
  border: 1px solid var(--gold);
  padding: 40px;
  border-radius: 4px;
  text-align: center;
  position: relative;
}
.autoridade-plaque::before {
  content: '';
  position: absolute; inset: 6px;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 2px; pointer-events: none;
}

.plaque-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 700;
  color: var(--white); letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 6px;
}
.plaque-logo span { color: var(--gold); }

.plaque-line {
  width: 60px; height: 1px; background: var(--gold);
  margin: 14px auto;
}

.plaque-sub {
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 28px;
}

.plaque-seals {
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
}

.seal {
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.35);
  padding: 10px 18px;
  border-radius: 2px;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-light);
  text-align: center;
}

.autoridade-nums {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px;
}

.a-stat {
  border-left: 2px solid var(--gold);
  padding: 14px 18px;
  background: rgba(201,168,76,0.04);
}
.a-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem; font-weight: 700; color: var(--navy); display: block;
}
.a-stat-lbl { font-size: 0.78rem; color: #64748b; }

.autoridade-text .section-title { margin-bottom: 20px; }
.autoridade-text p {
  font-size: 0.95rem; color: #4a5568; line-height: 1.8; margin-bottom: 18px;
}

.feature-list { list-style: none; margin-bottom: 32px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.92rem; color: #374151; padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}
.feature-list li::before {
  content: '◆';
  color: var(--gold); font-size: 0.5rem; margin-top: 6px; flex-shrink: 0;
}

/* ─── DEPOIMENTOS ─── */
#depoimentos {
  background: var(--cream);
  padding: 90px 5%;
}

.depo-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; max-width: 1100px; margin: 0 auto;
}

.depo-card {
  background: white;
  border-radius: 4px;
  padding: 36px;
  box-shadow: 0 2px 20px rgba(13,27,42,0.07);
  position: relative;
}
.depo-card::before {
  content: '"';
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem; line-height: 1;
  color: var(--gold-pale);
  position: absolute; top: 16px; right: 24px;
}

.stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 16px; }

.depo-text {
  font-size: 0.93rem; color: #374151; line-height: 1.75; margin-bottom: 24px;
  font-style: italic;
}

.depo-author {
  display: flex; align-items: center; gap: 14px;
}
.depo-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 600;
}
.depo-name { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.depo-case { font-size: 0.78rem; color: var(--gold); }

/* ─── COMO FUNCIONA ─── */
#processo {
  background: var(--navy);
  padding: 90px 5%;
}

#processo .section-title { color: var(--white); }

.processo-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0; max-width: 1000px; margin: 0 auto;
  position: relative;
}

.processo-steps::before {
  content: '';
  position: absolute; top: 36px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(201,168,76,0.2), var(--gold));
}

.passo {
  text-align: center; padding: 0 20px;
  position: relative;
}

.passo-num {
  width: 72px; height: 72px;
  background: var(--navy);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; font-weight: 700; color: var(--gold);
  margin: 0 auto 24px;
  position: relative; z-index: 1;
}

.passo h4 {
  font-size: 1.1rem; color: var(--white); margin-bottom: 10px; font-weight: 600;
}
.passo p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }

/* ─── FAQ ─── */
#faq {
  background: white;
  padding: 90px 5%;
}

.faq-container { max-width: 760px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.faq-q {
  width: 100%; background: none; border: none;
  text-align: left; cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 600; color: var(--navy);
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.faq-q:hover { color: var(--gold); }

.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold-pale); border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--gold); flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}
.faq-item.open .faq-a { max-height: 300px; }

.faq-a p {
  font-size: 0.92rem; color: #4a5568; line-height: 1.75;
  padding-bottom: 22px;
}

/* ─── CTA FINAL ─── */
#cta-final {
  background: var(--navy);
  padding: 100px 5%;
  text-align: center;
  position: relative; overflow: hidden;
}

#cta-final::before {
  content: 'COLPAERT';
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18vw; font-weight: 700;
  color: rgba(201,168,76,0.03);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  white-space: nowrap; pointer-events: none;
  letter-spacing: 0.1em;
}

#cta-final .section-label { color: var(--gold); margin-bottom: 16px; }
#cta-final .section-title { color: var(--white); max-width: 640px; margin: 0 auto 16px; }

.cta-sub {
  font-size: 1rem; color: var(--text-muted); max-width: 520px;
  margin: 0 auto 48px; line-height: 1.7; font-weight: 300;
}

.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }

/* ─── FORM ─── */
.form-wrapper {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 48px;
  max-width: 600px; margin: 0 auto;
}

.form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; color: var(--white); margin-bottom: 6px; font-weight: 500;
}
.form-note { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 28px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: span 2; }

.form-field label { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }

.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px;
  padding: 12px 16px;
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--gold); }

.form-field select option { background: var(--navy); }
.form-field textarea { resize: vertical; min-height: 90px; }

.form-submit {
  width: 100%; margin-top: 8px;
  background: var(--gold);
  color: var(--navy);
  border: none; border-radius: 2px; cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-weight: 700; font-size: 0.88rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 16px;
  transition: all 0.2s;
}
.form-submit:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ─── FOOTER ─── */
footer {
  background: #070f18;
  padding: 48px 5% 28px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 36px;
}

.footer-brand .footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700; font-size: 1.5rem;
  color: var(--white); letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 10px;
}
.footer-brand .footer-logo span { color: var(--gold); }
.footer-brand p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.7; }

.footer-col h5 {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.footer-col a, .footer-col p {
  display: block; font-size: 0.83rem; color: var(--text-muted);
  text-decoration: none; line-height: 2; transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: var(--text-muted);
  flex-wrap: wrap; gap: 12px;
}

.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: var(--text-muted); text-decoration: none; }
.footer-bottom-links a:hover { color: var(--gold); }

/* ─── WHATSAPP FLOAT ─── */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 58px; height: 58px;
  background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: pulse-green 2.5s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 10px 30px rgba(37,211,102,0.5); }

.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 6px 30px rgba(37,211,102,0.7); }
}

/* ─── UTILS ─── */
.centered { text-align: center; }
.centered .section-sub { margin-left: auto; margin-right: auto; }

.gold-line {
  width: 48px; height: 2px;
  background: var(--gold); margin-bottom: 16px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .autoridade-inner { grid-template-columns: 1fr; }
  .processo-steps::before { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 600px) {
  .hero-btns { flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: span 1; }
  .form-wrapper { padding: 28px 20px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .depo-grid, .servicos-grid, .dor-grid { grid-template-columns: 1fr; }
}

/* ─── FADE IN ─── */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }