/* ==========================================================================
   EXPERTS PRO ENGENHARIA — Stylesheet compartilhado
   v1.0 · Design System: azul profundo + dourado, Playfair + DM Sans
   ========================================================================== */

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

:root {
  --gold:        #C9A96E;
  --gold-light:  #E2C99A;
  --gold-dim:    rgba(201,169,110,0.15);
  --steel:       #4A6A8A;
  --steel-light: #6B93B8;
  --dark:        #0E1D30;
  --dark-2:      #132440;
  --dark-3:      #192C4E;
  --dark-4:      #1E3560;
  --white:       #F5F0E8;
  --white-dim:   rgba(245,240,232,0.65);
  --white-faint: rgba(245,240,232,0.12);
  --border:      rgba(201,169,110,0.2);
  --border-dim:  rgba(245,240,232,0.08);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── NAV ── */
nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(14,29,48,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dim);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.logo-mark { flex-shrink: 0; display: block; }
.nav-logo span { color: var(--white); font-weight: 400; }
.nav-center {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-center a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-dim);
  text-decoration: none;
  transition: color 0.25s;
  padding: 8px 0;
  position: relative;
  white-space: nowrap;
}
.nav-center a:hover { color: var(--gold); }
.nav-center a.active { color: var(--gold); }
.nav-center a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
}

.nav-cta {
  background: var(--gold);
  color: var(--dark);
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 11px 22px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.25s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-dim);
  color: var(--white);
  width: 40px; height: 40px;
  border-radius: 2px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s;
}
.nav-toggle:hover { border-color: var(--border); }
.nav-toggle .bar {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--white);
  margin: 3px 0;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open .bar:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle.open .bar:nth-child(2) { opacity: 0; }
.nav-toggle.open .bar:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--dark);
  border-bottom: 1px solid var(--border-dim);
  padding: 88px 24px 32px;
  z-index: 90;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(.22,1,.36,1);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  font-size: 18px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-dim);
}
.mobile-menu a.active { color: var(--gold); }
.mobile-menu .nav-cta {
  margin-top: 24px;
  justify-content: center;
  padding: 16px 24px;
  font-size: 13px;
}

/* ── PAGE HERO (generic) ── */
.page-hero {
  position: relative;
  padding: 160px 48px 80px;
  overflow: hidden;
}
.page-hero .hero-grid-bg,
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,169,110,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,169,110,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,106,138,0.28) 0%, transparent 70%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  bottom: -150px; left: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  max-width: 900px;
}
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero .hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--white-dim);
  max-width: 640px;
  line-height: 1.8;
  margin-bottom: 36px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 2px;
  margin-bottom: 32px;
}
.hero-tag-mark { flex-shrink: 0; display: block; }

/* ── SECTIONS COMMON ── */
section { padding: 100px 48px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label-mark { flex-shrink: 0; display: block; }
h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 20px;
}
h2 em { font-style: italic; color: var(--gold); }
h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
}
.section-intro {
  font-size: 16px;
  font-weight: 300;
  color: var(--white-dim);
  max-width: 620px;
  line-height: 1.8;
  margin-bottom: 60px;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--gold);
  color: var(--dark);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.25s, transform 0.2s;
  border-radius: 2px;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-ghost {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white-dim);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid var(--border-dim);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}
.btn-ghost:hover { border-color: var(--border); color: var(--gold); }
.btn-ghost.gold { color: var(--gold); border-color: var(--border); }
.btn-ghost.gold:hover { background: var(--gold-dim); color: var(--gold-light); }

/* ── TAGS / PILLS ── */
.tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 1px;
  display: inline-block;
}
.spec-pill {
  font-size: 10px;
  background: var(--white-faint);
  color: var(--white-dim);
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  display: inline-block;
}

/* ── FOOTER ── */
footer.site-footer {
  background: var(--dark-2);
  border-top: 1px solid var(--border-dim);
  padding: 64px 48px 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand-block .footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.footer-brand-block .footer-logo span { color: var(--white); font-weight: 400; }
.footer-brand-block p {
  font-size: 13px;
  color: var(--white-dim);
  line-height: 1.7;
  margin-bottom: 8px;
}
.footer-brand-block .footer-tag {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-top: 16px;
}
.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 13px;
  color: var(--white-dim);
  text-decoration: none;
  transition: color 0.25s;
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border-dim);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-text {
  font-size: 11px;
  color: var(--white-dim);
  letter-spacing: 0.04em;
}
.footer-bottom-meta {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--white-dim);
}

/* ── WHATSAPP FAB ── */
.wa-fab {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 95;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(37,211,102,0.32), 0 4px 12px rgba(0,0,0,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}
.wa-fab:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 32px rgba(37,211,102,0.42), 0 6px 16px rgba(0,0,0,0.4);
}
.wa-fab svg { width: 28px; height: 28px; fill: white; }
.wa-fab::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.4;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ── ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.22,1,.36,1),
              transform 0.7s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── SVG ICON UTILITY ── */
.svg-icon {
  width: 18px; height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

/* ── COMMON CARDS ── */
.card-grid {
  display: grid;
  gap: 1px;
  background: var(--border-dim);
  border-radius: 4px;
  overflow: hidden;
}

/* ── DIVIDER ── */
.divider-gold {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
  margin: 0;
  border: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 1240px) {
  nav.site-nav { padding: 14px 20px; }
  .nav-logo { font-size: 14px; }
  .nav-center { gap: 12px; }
  .nav-center a { font-size: 9.5px; letter-spacing: 0.05em; }
  .nav-cta { padding: 8px 12px; font-size: 10px; }
}
@media (max-width: 1024px) {
  section { padding: 80px 28px; }
  .page-hero { padding: 140px 28px 64px; }
  footer.site-footer { padding: 56px 28px 28px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  nav.site-nav { padding: 14px 20px; }
  .nav-center, nav.site-nav .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  section { padding: 64px 20px; }
  .page-hero { padding: 120px 20px 56px; }
  footer.site-footer { padding: 48px 20px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .wa-fab { width: 52px; height: 52px; bottom: 20px; right: 20px; }
  .wa-fab svg { width: 26px; height: 26px; }
}

@media print {
  nav.site-nav, .mobile-menu, .wa-fab { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  body { background: white; color: black; }
}
