/* ============================================
   ALTO PADRAO CAMPINAS — DARK LUXURY THEME
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@300;400;600;800&display=swap');

/* --- Design Tokens --- */
:root {
  --bg-void: #0a0a0a;
  --bg-surface: #1a1a1a;
  --bg-surface-elevated: #242424;

  --accent-gold: #d4af37;
  --accent-bronze: #c5a265;

  --text-primary: #f5f4f0;
  --text-secondary: #888888;

  --border-subtle: #2a2a2a;

  --spacing-section: clamp(80px, 10vw, 160px);

  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--text-secondary); background: var(--bg-void); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
[hidden] { display: none !important; }

/* --- Typography --- */
h1, h2, h3, h4 {
  line-height: 1.1;
  margin: 0;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 700;
  color: var(--text-primary);
}
h1 { font-size: clamp(40px, 7vw, 80px); max-width: 800px; }
h2 { font-size: clamp(28px, 4vw, 48px); }
h3 { font-size: clamp(20px, 2.5vw, 26px); }
h4 { font-size: 18px; }

p { margin: 0; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 11px;
  font-weight: 800;
  font-family: "Inter", sans-serif;
  color: var(--accent-gold);
  margin: 0 0 16px;
}

.lead {
  font-size: clamp(16px, 1.8vw, 20px);
  max-width: 680px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- Layout --- */
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.section { padding: var(--spacing-section) 0; }
.section.alt { background: var(--bg-surface); }
.section.dark { background: var(--bg-void); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p { color: var(--text-secondary); font-size: 16px; line-height: 1.6; }

.divider {
  width: 100%;
  height: 1px;
  background: var(--border-subtle);
  border: none;
  margin: 0;
}

/* --- Header (Transparent → Solid on Scroll) --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  color: var(--text-primary);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 10, 10, 0.96);
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--text-primary);
}
.brand img { width: 44px; height: 44px; object-fit: contain; }
.nav-right { justify-content: flex-end; }

/* --- Hamburger Toggle --- */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 11px;
  z-index: 110;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Mobile Menu --- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 85vw);
  height: 100vh;
  height: 100dvh;
  background: var(--bg-void);
  border-left: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  padding: 80px 32px 40px;
  gap: 0;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 105;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  display: block;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 400;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  transition: color 0.3s ease;
}
.mobile-menu a:first-child { border-top: 1px solid var(--border-subtle); }
.mobile-menu a:hover { color: var(--accent-gold); }
.mobile-menu .phone {
  color: var(--accent-gold) !important;
  font-weight: 700;
  margin-top: 16px;
  border-bottom: none;
}

/* --- Hero --- */
.hero {
  position: relative;
  height: 95vh;
  width: 100%;
  color: var(--text-primary);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--bg-void);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.9);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,10,10,0.75) 0%, rgba(10,10,10,0.15) 40%, rgba(10,10,10,0.85) 100%),
    radial-gradient(circle at center, transparent 30%, rgba(10,10,10,0.5) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 420px);
  gap: 48px;
  align-items: center;
  padding: 100px 0;
}
.hero .actions { margin-top: 32px; }
.hero .eyebrow { margin-bottom: 20px; }
.hero .lead { color: rgba(255,255,255,0.85); }

/* --- Buttons --- */
.actions { display: flex; flex-wrap: wrap; gap: 16px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 28px;
  border-radius: 0;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Inter", sans-serif;
}
.button-primary {
  background: var(--accent-gold);
  color: #0a0a0a;
}
.button-primary:hover {
  background: var(--accent-bronze);
}
.button-light {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: transparent;
}
.button-light:hover {
  background: var(--accent-gold);
  color: #0a0a0a;
}
.button-outline {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: transparent;
}
.button-outline:hover {
  background: var(--accent-gold);
  color: #0a0a0a;
}

/* --- Stats Bar --- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border-subtle); }
.stat {
  padding: 32px 24px;
  background: var(--bg-void);
  text-align: center;
}
.stat strong {
  display: block;
  font-size: clamp(28px, 3.5vw, 38px);
  font-family: "Playfair Display", serif;
  color: var(--accent-gold);
  margin-bottom: 6px;
  line-height: 1;
}
.stat span {
  font-size: 13px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* --- Cards --- */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-2px);
}
.card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.card-body { padding: 28px; }
.card-body h3 {
  margin-bottom: 10px;
  font-size: 22px;
}
.card-body p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* --- Feature Icons --- */
.feature-card {
  padding: 32px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  transition: border-color 0.3s ease;
}
.feature-card:hover { border-color: rgba(212, 175, 55, 0.25); }
.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--accent-gold);
}
.feature-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}
.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* --- Gallery --- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 4px;
}
.gallery img {
  width: 100%;
  height: 260px;
  aspect-ratio: auto 280 / 260;
  object-fit: cover;
}

/* --- Process Steps --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.process-step {
  text-align: center;
  padding: 40px 20px;
  position: relative;
}
.process-step::after {
  content: "";
  position: absolute;
  top: 40px;
  right: -16px;
  width: 32px;
  height: 1px;
  background: var(--border-subtle);
}
.process-step:last-child::after { display: none; }
.process-number {
  font-family: "Playfair Display", serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 16px;
}
.process-step h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.process-step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --- Testimonials --- */
.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  padding: 32px;
  position: relative;
}
.testimonial-card::before {
  content: "\201C";
  font-family: "Playfair Display", serif;
  font-size: 64px;
  color: var(--accent-gold);
  opacity: 0.25;
  position: absolute;
  top: 16px;
  left: 24px;
  line-height: 1;
}
.testimonial-stars {
  color: var(--accent-gold);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testimonial-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-subtle);
}
.testimonial-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
}

/* --- FAQ --- */
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}
.faq-item summary {
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  transition: color 0.3s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 24px;
  color: var(--accent-gold);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--accent-gold); }
.faq-answer {
  padding: 0 0 24px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  padding: var(--spacing-section) 0;
  text-align: center;
  overflow: hidden;
}
.cta-section .cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-section .cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.6) brightness(0.4);
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.82);
  z-index: 1;
}
.cta-section .container {
  position: relative;
  z-index: 2;
}
.cta-section h2 {
  margin-bottom: 16px;
}
.cta-section .lead {
  margin: 0 auto 32px;
  max-width: 560px;
}

/* --- Lead Form (Panel) --- */
.panel {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  padding: 32px;
}
.microcopy {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
}
.lead-form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.field input,
.field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  transition: border-color 0.3s ease;
}
.field input::placeholder { color: var(--text-secondary); opacity: 0.6; }
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent-gold);
}
.error { color: #e74c3c; font-size: 12px; min-height: 16px; }
.form-actions { display: flex; gap: 12px; margin-top: 8px; }
.form-actions .button { flex: 1; }
.form-status { min-height: 20px; color: #e74c3c; font-size: 13px; }
.form-success {
  text-align: left;
  display: grid;
  gap: 14px;
  color: var(--text-primary);
}

/* --- Article --- */
.article { background: var(--bg-surface); }
.article .container { max-width: 860px; }
.article p { color: var(--text-secondary); margin-bottom: 20px; line-height: 1.7; }

/* --- Thank You --- */
.thank-you {
  min-height: 70vh;
  display: grid;
  align-items: center;
  text-align: center;
  background: var(--bg-void);
  color: var(--text-primary);
  padding: 80px 0;
}
.thank-you .lead { margin-left: auto; margin-right: auto; }

/* --- Footer --- */
.site-footer {
  background: var(--bg-void);
  color: var(--text-secondary);
  padding: 56px 0 32px;
  border-top: 1px solid var(--border-subtle);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand strong {
  display: block;
  color: var(--text-primary);
  font-size: 18px;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 8px;
}
.footer-col h4 {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-gold);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 5px 0;
  transition: color 0.3s ease;
}
.footer-col a:hover { color: var(--accent-gold); }
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* --- Scroll Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* --- WhatsApp Float Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}
.whatsapp-float svg { width: 30px; height: 30px; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    padding-top: 100px;
    gap: 32px;
  }
  .hero { height: auto; min-height: 60vh; }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .stat-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img { height: 220px; }
  .testimonial-card { padding: 24px; }
  .hero .container { padding-top: 80px; }
}
