/*
Theme Name: Vignatti Engenharia
Theme URI: https://vignattiengenharia.com.br
Author: Vignatti
Description: Tema personalizado para Vignatti Engenharia e Consultoria - Landing Page
Version: 1.0
Text Domain: vignatti
*/

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

:root {
  --gold: #C5A059;
  --gold-light: rgba(197, 160, 89, 0.1);
  --gold-border: rgba(197, 160, 89, 0.3);
  --gold-shadow: rgba(197, 160, 89, 0.3);
  --navy: #002147;
  --navy-light: #0a3a6b;
  --gray-soft: #f5f5f5;
  --whatsapp: #25D366;
  --white: #ffffff;
  --text-muted: #6b7280;
  --border-light: rgba(255,255,255,0.1);
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* ── Gradient ── */
.gradient-navy { background: linear-gradient(135deg, #002147, #0a3a6b); }

/* ── Header ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(0, 33, 71, 0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(197,160,89,0.2);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; padding-bottom: 1rem; }
.site-header .logo { height: 2.5rem; width: auto; filter: brightness(0) invert(1); }
.site-header nav a { color: rgba(255,255,255,0.7); font-size: 0.875rem; font-weight: 500; margin-left: 2rem; transition: color 0.2s; }
.site-header nav a:hover { color: var(--gold); }
.header-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--gold); color: var(--navy); font-weight: 700; font-size: 0.875rem;
  padding: 0.5rem 1.25rem; border-radius: 0.5rem; transition: filter 0.2s;
}
.header-cta:hover { filter: brightness(1.1); }

/* ── Mobile Menu ── */
.menu-toggle { display: none; background: none; border: none; color: white; cursor: pointer; }
.menu-toggle svg { width: 24px; height: 24px; }
.mobile-nav { display: none; }

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .desktop-nav, .header-cta-wrap { display: none; }
  .mobile-nav.active {
    display: flex; flex-direction: column; gap: 1rem;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy); padding: 1.5rem; border-top: 1px solid rgba(197,160,89,0.2);
  }
  .mobile-nav a { color: rgba(255,255,255,0.8); font-size: 1rem; }
}

/* ── Hero ── */
.hero {
  position: relative; min-height: 90vh; display: flex; align-items: center; padding-top: 5rem;
}
.hero-content { max-width: 48rem; position: relative; z-index: 2; }
.hero h1 { font-size: 2.5rem; font-weight: 700; color: white; line-height: 1.15; margin-bottom: 1.5rem; }
.hero h1 .highlight { color: var(--gold); }
.hero p { font-size: 1.125rem; color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 2.5rem; max-width: 40rem; }
.hero-cta {
  display: inline-block; background: var(--gold); color: var(--navy); font-weight: 700;
  font-size: 1.125rem; padding: 1rem 2rem; border-radius: 0.5rem;
  box-shadow: 0 4px 20px var(--gold-shadow); transition: filter 0.2s;
}
.hero-cta:hover { filter: brightness(1.1); }
.hero-bg-circle {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.1;
}
.hero-bg-circle-1 { top: 25%; right: 25%; width: 24rem; height: 24rem; background: var(--gold); }
.hero-bg-circle-2 { bottom: 25%; left: 25%; width: 16rem; height: 16rem; background: var(--gold); }

@media (min-width: 768px) { .hero h1 { font-size: 3.25rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; } }

/* ── Section base ── */
.section { padding: 5rem 0; }
.section-title { font-size: 1.875rem; font-weight: 700; text-align: center; margin-bottom: 1rem; }
.section-subtitle { color: var(--text-muted); text-align: center; margin-bottom: 4rem; max-width: 36rem; margin-left: auto; margin-right: auto; }
.section-title .highlight { color: var(--gold); }

@media (min-width: 768px) { .section { padding: 7rem 0; } .section-title { font-size: 2.25rem; } }

/* ── Solutions ── */
.solutions-grid { display: grid; gap: 2rem; max-width: 64rem; margin: 0 auto; }
@media (min-width: 768px) { .solutions-grid { grid-template-columns: repeat(3, 1fr); } }
.solution-card {
  background: white; border-radius: 0.75rem; border: 1px solid var(--gold-border);
  padding: 2rem; transition: box-shadow 0.3s;
}
.solution-card:hover { box-shadow: 0 4px 20px var(--gold-shadow); }
.solution-icon {
  width: 3.5rem; height: 3.5rem; border-radius: 0.5rem; background: var(--gold-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem;
}
.solution-icon svg { width: 1.75rem; height: 1.75rem; color: var(--gold); }
.solution-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
.solution-card p { color: var(--text-muted); line-height: 1.7; }

/* ── Testimonials ── */
.testimonials-grid { display: grid; gap: 2rem; max-width: 72rem; margin: 0 auto; }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card {
  background: white; border-radius: 0.75rem; border: 1px solid rgba(197,160,89,0.2);
  padding: 2rem; position: relative; transition: box-shadow 0.3s;
}
.testimonial-card:hover { box-shadow: 0 4px 20px var(--gold-shadow); }
.testimonial-quote { position: absolute; top: 1.5rem; right: 1.5rem; color: rgba(197,160,89,0.2); }
.testimonial-quote svg { width: 2rem; height: 2rem; }
.testimonial-stars { display: flex; gap: 0.25rem; margin-bottom: 1rem; }
.testimonial-stars svg { width: 1rem; height: 1rem; fill: var(--gold); color: var(--gold); }
.testimonial-text { color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-footer { border-top: 1px solid #e5e7eb; padding-top: 1rem; }
.testimonial-footer strong { display: block; font-family: var(--font-display); }
.testimonial-footer span { font-size: 0.875rem; color: var(--text-muted); }

/* ── Authority ── */
.authority-grid { display: grid; gap: 2.5rem; max-width: 64rem; margin: 0 auto; text-align: center; }
@media (min-width: 768px) { .authority-grid { grid-template-columns: repeat(3, 1fr); } }
.authority-icon {
  width: 4rem; height: 4rem; border-radius: 50%; background: var(--gold-light);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem;
}
.authority-icon svg { width: 2rem; height: 2rem; color: var(--gold); }
.authority-grid h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.authority-grid p { color: var(--text-muted); line-height: 1.7; }

/* ── FAQ ── */
.faq-list { max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: white; border: 1px solid rgba(197,160,89,0.2); border-radius: 0.5rem; overflow: hidden; }
.faq-question {
  width: 100%; padding: 1.25rem 1.5rem; background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--navy);
  text-align: left; display: flex; justify-content: space-between; align-items: center;
}
.faq-question:hover { color: var(--gold); }
.faq-question svg { width: 1.25rem; height: 1.25rem; transition: transform 0.3s; flex-shrink: 0; margin-left: 1rem; }
.faq-item.active .faq-question svg { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 1.5rem 1.25rem; color: var(--text-muted); line-height: 1.7; }
.faq-item.active .faq-answer { display: block; }

/* ── Conversion ── */
.conversion { text-align: center; }
.conversion h2 { color: white; font-size: 1.875rem; font-weight: 700; margin-bottom: 1.5rem; max-width: 48rem; margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .conversion h2 { font-size: 2.25rem; } }
.whatsapp-btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: var(--whatsapp); color: white; font-weight: 700; font-size: 1.125rem;
  padding: 1rem 2rem; border-radius: 0.5rem; transition: filter 0.2s;
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}
.whatsapp-btn:hover { filter: brightness(1.1); }

/* ── Footer ── */
.site-footer { padding: 4rem 0; }
.footer-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.site-footer .logo { height: 3.5rem; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.site-footer p.desc { color: rgba(255,255,255,0.6); font-size: 0.875rem; line-height: 1.7; }
.site-footer h4 { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: white; margin-bottom: 1rem; }
.site-footer .contact-info { display: flex; flex-direction: column; gap: 0.5rem; color: rgba(255,255,255,0.6); font-size: 0.875rem; }
.badge { display: inline-block; padding: 0.375rem 0.75rem; border: 1px solid rgba(255,255,255,0.2); border-radius: 0.25rem; color: rgba(255,255,255,0.6); font-size: 0.75rem; font-weight: 500; margin-right: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 3rem; padding-top: 1.5rem; text-align: center; color: rgba(255,255,255,0.4); font-size: 0.75rem; }

/* ── Animations ── */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
