:root {
  --color-blue-dark: #2B3F52;
  --color-blue: #3F5A78;
  --color-blue-light: #5C7896;
  --color-gold: #D89B3C;
  --color-gold-dark: #BD832A;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F6F7FA;
  --color-text: #1F2933;
  --color-text-light: #5B6B79;
  --color-border: #E4E8EC;
  --shadow-sm: 0 2px 8px rgba(43, 63, 82, 0.08);
  --shadow-md: 0 10px 30px rgba(43, 63, 82, 0.12);
  --radius: 14px;
  --container: 1180px;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-blue-dark);
  margin: 0 0 .5em;
  line-height: 1.2;
}

p { margin: 0 0 1em; color: var(--color-text-light); }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--color-gold); color: #fff; }
.btn-primary:hover { background: var(--color-gold-dark); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }
.btn-ghost { border-color: var(--color-border); color: var(--color-blue-dark); }
.btn-ghost:hover { background: var(--color-bg-alt); }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 999;
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  padding: 12px 24px;
  gap: 32px;
}
.brand { margin-right: auto; }
.brand-logo { height: 80px; width: auto; }
.main-nav ul { display: flex; gap: 28px; }
.main-nav a {
  font-weight: 500;
  font-size: .95rem;
  color: var(--color-blue-dark);
  position: relative;
}
.main-nav a:hover { color: var(--color-gold-dark); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-blue-dark);
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.social-icon:hover {
  color: #fff;
  background-color: var(--color-blue-dark);
  border-color: var(--color-blue-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  margin: 0 auto;
  background: var(--color-blue-dark);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--color-blue-dark), var(--color-blue) 60%, var(--color-blue-light));
  color: #fff;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.badge {
  display: inline-block;
  background: rgba(216,155,60,.18);
  color: var(--color-gold);
  border: 1px solid rgba(216,155,60,.4);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .03em;
  margin-bottom: 18px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 18px;
}
.hero h1 span { color: var(--color-gold); }
.hero-sub { color: rgba(255,255,255,.85); font-size: 1.05rem; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; font-size: .9rem; color: rgba(255,255,255,.85); }

.hero-art { display: flex; justify-content: center; }
.hero-card {
  background: #fff;
  color: var(--color-blue-dark);
  border-radius: var(--radius);
  padding: 32px 40px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: rotate(-2deg);
}
.hero-card-label { font-size: .85rem; color: var(--color-text-light); }
.hero-card-value { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 700; color: var(--color-gold-dark); }
.hero-card-foot { font-size: .85rem; color: var(--color-text-light); }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-title { text-align: center; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-sub { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.sobre-content { max-width: 720px; margin: 0 auto; font-size: 1.02rem; line-height: 1.7; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.mini-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.mini-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.mini-icon { font-size: 2rem; display: block; margin-bottom: 10px; }
.mini-card h3 { font-size: 1rem; margin: 0; }

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon { font-size: 2rem; display: block; margin-bottom: 14px; }
.card h3 { font-size: 1.1rem; }
.card p { margin: 0; font-size: .95rem; }

/* Lead form */
.lead-section .section-sub { margin-bottom: 36px; }
.lead-wrap { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.lead-whatsapp { align-self: center; }
.lead-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 20px;
}
.lead-form .full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: .9rem; font-weight: 600; color: var(--color-blue-dark); }
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: .95rem;
  background: #fff;
  color: var(--color-text);
}

/* Steps */
.steps { text-align: center; }
.step { position: relative; }
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-gold);
  color: #fff;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 14px;
}
.step h3 { font-size: 1.05rem; }
.step p { font-size: .92rem; }

/* Testimonials */
.testimonial {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
}
.stars { color: var(--color-gold); margin-bottom: 12px; letter-spacing: 2px; }
.testimonial p { font-style: italic; color: var(--color-text); }
.testimonial-author { font-weight: 600; font-size: .9rem; color: var(--color-blue-dark); }

/* Accordion */
.accordion { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.accordion-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .98rem;
  color: var(--color-blue-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.accordion-icon { color: var(--color-gold-dark); font-size: 1.2rem; transition: transform .2s ease; }
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  padding: 0 22px;
}
.accordion-panel p { padding-bottom: 18px; margin: 0; }

/* Alerts */
.alert { padding: 12px 16px; border-radius: 10px; font-size: .9rem; }
.alert-success { background: #E5F6EC; color: #1E7A45; border: 1px solid #BFE6CC; }
.alert-error { background: #FBE9E9; color: #B3261E; border: 1px solid #F2C6C4; }

/* Footer */
.site-footer { background: var(--color-blue-dark); color: rgba(255,255,255,.85); padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-logo { height: 72px; margin-bottom: 12px; filter: brightness(0) invert(1); }
.footer-tagline { font-size: .82rem; color: rgba(255,255,255,.55); margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social .social-icon { width: 38px; height: 38px; border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.75); }
.footer-social .social-icon:hover { background-color: var(--color-gold); border-color: var(--color-gold); color: var(--color-blue-dark); }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; font-size: .9rem; }
.footer-col a { color: rgba(255,255,255,.75); }
.footer-col a:hover { color: var(--color-gold); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
}
.footer-crm-link { color: rgba(255,255,255,.35); font-size: .78rem; }
.footer-crm-link:hover { color: rgba(255,255,255,.6); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav { position: fixed; top: 73px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--color-border); max-height: 0; overflow: hidden; transition: max-height .25s ease; }
  .main-nav.open { max-height: 400px; }
  .main-nav ul { flex-direction: column; padding: 16px 24px; gap: 16px; }
  .nav-toggle { display: flex; }
  .header-actions .btn-ghost { display: none; }
  .header-actions .social-icon { display: none; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
  .hero { padding: 56px 0 72px; }
  .section { padding: 60px 0; }
  .lead-form { grid-template-columns: 1fr; }
}
