/* ============================================================
   AMAGO ENERGIA SOLAR — style.css
   Identidade: Azul cobalto #1A35D8 + Branco
   ABORDAGEM: Mobile-First (min-width breakpoints)
   Breakpoints: 480px | 600px | 768px | 1024px | 1200px
   ============================================================ */

/* ============================
   0. VARIÁVEIS & RESET
   ============================ */
:root {
  --brand-blue:      #1A35D8;
  --brand-blue-dark: #1229AA;
  --brand-blue-light:#2B4FFF;
  --brand-blue-mid:  #1A35D8;
  --orange:          #FFFFFF;
  --orange-dark:     #E8E8E8;
  --green:           #22C55E;
  --white:           #FFFFFF;
  --text:            #1E293B;
  --text-muted:      #64748B;
  --text-light:      #94A3B8;
  --bg-gray:         #F8FAFC;
  --bg-dark:         #0F1A3C;
  --border:          #E2E8F0;
  --shadow-sm:       0 2px 8px rgba(26,53,216,.10);
  --shadow-md:       0 8px 32px rgba(26,53,216,.14);
  --shadow-lg:       0 20px 60px rgba(26,53,216,.18);
  --font:            'Poppins', sans-serif;
  --font-heading:    'Poppins', sans-serif;
  --container:       1180px;
  --radius:          16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
}

p, li, span, label, input, select, textarea, button { font-weight: 400; }
strong, b { font-weight: 700; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ============================
   1. UTILITÁRIOS
   ============================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 480px) { .container { padding: 0 20px; } }
@media (min-width: 768px) { .container { padding: 0 24px; } }

/* Seções — mobile primeiro */
.section { padding: 56px 0; }
@media (min-width: 768px) { .section { padding: 80px 0; } }

.section--dark {
  background: var(--bg-dark);
  color: var(--white);
  --text-muted: rgba(255,255,255,.65);
}
.section--gray { background: var(--bg-gray); }
.section--blue {
  background: var(--brand-blue);
  color: var(--white);
}

/* Tags de seção */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(26,53,216,.10);
  color: var(--brand-blue);
  border: 1px solid rgba(26,53,216,.2);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
@media (min-width: 480px) {
  .section-tag { padding: 6px 18px; font-size: .78rem; gap: 8px; margin-bottom: 16px; }
}
.section--dark .section-tag,
.section--blue .section-tag {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.2);
}

/* Títulos e subtítulos */
.section-title {
  font-size: clamp(1.5rem, 6vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--text);
  text-wrap: balance;
}
@media (min-width: 600px) { .section-title { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 16px; } }
.section--dark .section-title,
.section--blue .section-title { color: #fff; }

.section-subtitle {
  font-size: .9rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 36px;
  font-weight: 500;
}
@media (min-width: 600px) { .section-subtitle { font-size: 1rem; margin-bottom: 48px; } }
.section--dark .section-subtitle { color: rgba(255,255,255,.7); }

.highlight { color: var(--brand-blue); }
.section--dark .highlight,
.section--blue .highlight { color: #fff; }
.hero .highlight { color: rgba(255,255,255,.9); }

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: all .25s ease;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
@media (min-width: 480px) {
  .btn { padding: 15px 32px; font-size: .95rem; gap: 10px; }
}

.btn--primary {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 6px 24px rgba(26,53,216,.35);
}
.btn--primary:hover { background: var(--brand-blue-dark); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(26,53,216,.45); }

.btn--blue {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 6px 24px rgba(26,53,216,.3);
}
.btn--blue:hover { background: var(--brand-blue-dark); transform: translateY(-2px); }

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn--outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn--large { padding: 16px 32px; font-size: .95rem; }
@media (min-width: 480px) { .btn--large { padding: 18px 40px; font-size: 1rem; } }

.btn--full { width: 100%; justify-content: center; }

/* ============================
   2. HEADER
   ============================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 14px 0;
  background: #fff;
  box-shadow: 0 2px 16px rgba(26,53,216,.08);
  transition: background .3s, box-shadow .3s, padding .3s;
}
@media (min-width: 1024px) { .header { padding: 18px 0; } }

.header.scrolled {
  background: #fff;
  backdrop-filter: none;
  box-shadow: 0 2px 24px rgba(26,53,216,.14);
  padding: 10px 0;
}
@media (min-width: 1024px) { .header.scrolled { padding: 12px 0; } }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
@media (min-width: 1024px) { .header__inner { gap: 24px; } }

.header__logo { display: flex; align-items: center; }
.logo-img { height: 48px; width: auto; object-fit: contain; }
@media (min-width: 768px) { .logo-img { height: 56px; } }
@media (min-width: 1024px) { .logo-img { height: 64px; } }

.logo-img--header { filter: none; }

/* Nav desktop — oculta no mobile */
.header__nav { display: none; }
@media (min-width: 1024px) {
  .header__nav {
    display: flex;
    align-items: center;
    gap: 28px;
  }
}
@media (min-width: 1200px) { .header__nav { gap: 32px; } }

.header__nav a {
  color: var(--brand-blue);
  font-size: .88rem;
  font-weight: 600;
  transition: color .2s, opacity .2s;
}
.header__nav a:hover { color: var(--brand-blue-dark); opacity: .8; }

/* CTA desktop — oculto no mobile */
.header__cta { display: none; }
@media (min-width: 1024px) { .header__cta { display: flex; flex-shrink: 0; } }

/* Hamburger — visível no mobile */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
@media (min-width: 1024px) { .hamburger { display: none; } }

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--brand-blue);
  border-radius: 2px;
  transition: all .3s;
}
.hamburger.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 85vw);
  height: 100dvh;
  background: var(--bg-dark);
  z-index: 1001;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: right .35s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
@media (min-width: 480px) { .mobile-nav { padding: 24px; } }
.mobile-nav.is-open { right: 0; }

.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.mobile-nav__close {
  background: rgba(255,255,255,.1);
  border: none;
  color: #fff;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.mobile-nav__close:hover { background: rgba(255,255,255,.2); }
.mobile-nav a {
  display: block;
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 10px;
  transition: background .2s, color .2s;
}
.mobile-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.mobile-nav__cta { margin-top: 16px; }
.mobile-nav__cta .btn { width: 100%; justify-content: center; font-size: 1rem; padding: 15px 24px; }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.nav-overlay.is-open { opacity: 1; pointer-events: all; }

/* Logo do nav mobile */
.mobile-nav .logo-img { height: 44px; width: auto; }

/* ============================
   3. HERO
   ============================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 70px;
  overflow: hidden;
  background: var(--bg-dark);
}
@media (min-width: 600px) { .hero { padding: 140px 0 80px; } }

.hero__bg-photo {
  position: absolute;
  inset: 0;
  background-image: url('../images/amago-hero-bg.jpg');
  background-size: cover;
  background-position: center;
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.10); }
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15,26,60,.85) 0%, rgba(26,53,216,.55) 100%),
    linear-gradient(to top, rgba(15,26,60,.9) 0%, transparent 60%);
}

/* Partículas */
.hero__particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.particle {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.5), transparent);
  animation: floatParticle linear infinite;
}
@keyframes floatParticle {
  from { transform: translateY(100vh) translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: .6; }
  to   { transform: translateY(-20px) translateX(40px); opacity: 0; }
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 820px;
  margin: 0 auto;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}
@media (min-width: 480px) { .hero__badges { gap: 12px; margin-bottom: 28px; } }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: .76rem;
  font-weight: 700;
  white-space: nowrap;
  animation: fadeInDown .8s ease both;
}
@media (min-width: 480px) {
  .hero__badge { padding: 8px 20px; font-size: .82rem; gap: 8px; }
}
.hero__badge:nth-child(2) { animation-delay: .15s; }
.hero__badge i { font-size: .78rem; }

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__title {
  font-size: clamp(1.9rem, 8vw, 2.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  animation: fadeInUp .8s ease .2s both;
  text-wrap: balance;
}
@media (min-width: 600px) { .hero__title { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 20px; } }
.hero__title span { color: rgba(255,255,255,.9); text-shadow: 0 0 30px rgba(255,255,255,.3); }

.hero__subtitle {
  font-size: .9rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 28px;
  font-weight: 400;
  animation: fadeInUp .8s ease .35s both;
}
@media (min-width: 600px) { .hero__subtitle { font-size: 1.05rem; margin-bottom: 36px; } }

/* Mini-form hero */
.hero__mini-form {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 20px;
  animation: fadeInUp .8s ease .5s both;
}
@media (min-width: 600px) { .hero__mini-form { max-width: 580px; margin-bottom: 28px; } }

.hero__mini-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}
@media (min-width: 600px) {
  .hero__mini-row { flex-direction: row; align-items: stretch; gap: 8px; }
}

.hero__mini-field {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  background: rgba(255,255,255,.15);
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 12px;
  padding: 0 16px;
  cursor: text;
  transition: border-color .2s, background .2s;
}
.hero__mini-field:focus-within {
  border-color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.22);
}
.hero__mini-field i { color: rgba(255,255,255,.7); font-size: .9rem; flex-shrink: 0; }
.hero__mini-field input {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0; margin: 0;
  border: none; outline: none; box-shadow: none;
  background: transparent;
  color: #fff;
  font-size: .9rem;
  font-family: var(--font);
  font-weight: 400;
  caret-color: #fff;
}
@media (min-width: 600px) { .hero__mini-field input { height: 48px; } }
.hero__mini-field input::placeholder { color: rgba(255,255,255,.55); }
.hero__mini-field input:-webkit-autofill,
.hero__mini-field input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 9999px rgba(26,53,216,.9) inset !important;
  -webkit-text-fill-color: #fff !important;
}
.hero__mini-field.mini-field--error { border-color: #f87171; animation: miniShake .35s ease; }
@keyframes miniShake {
  0%,100% { transform: translateX(0); }
  20% { transform: translateX(-5px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.hero__mini-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--brand-blue); color: #fff; border: 2px solid rgba(255,255,255,.5); border-radius: 12px;
  width: 100%; height: 50px;
  font-family: var(--font-heading); font-weight: 700; font-size: .95rem;
  cursor: pointer; white-space: nowrap; flex-shrink: 0;
  transition: background .25s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(26,53,216,.4);
}
@media (min-width: 600px) {
  .hero__mini-submit { width: auto; padding: 0 22px; height: 48px; font-size: .88rem; }
}
.hero__mini-submit:hover { background: var(--brand-blue-dark); transform: translateY(-2px); border-color: #fff; }

.hero__mini-privacy {
  font-size: .72rem; color: rgba(255,255,255,.5); text-align: center;
  margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 5px;
}
.hero__mini-privacy i { font-size: .7rem; color: rgba(255,255,255,.4); }

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeInUp .8s ease .65s both;
}
@media (min-width: 480px) {
  .hero__actions { flex-direction: row; justify-content: center; gap: 16px; }
}

.hero__trust {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  animation: fadeInUp .8s ease .8s both;
}
@media (min-width: 600px) { .hero__trust { gap: 28px; margin-top: 48px; padding-top: 32px; } }

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.8);
  font-size: .76rem;
  font-weight: 600;
}
@media (min-width: 600px) { .trust-item { font-size: .82rem; gap: 8px; } }
.trust-item i { color: #fff; font-size: .85rem; }

.hero__scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.5);
  font-size: .72rem;
  animation: bounce 2s infinite;
  z-index: 2;
}
@media (min-width: 600px) {
  .hero__scroll-indicator { display: flex; bottom: 30px; }
}
.hero__scroll-indicator i { font-size: .9rem; }
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ============================
   4. STATS
   ============================ */
.stats {
  background: var(--brand-blue);
  padding: 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
@media (min-width: 768px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }

.stat-item {
  padding: 24px 16px;
  text-align: center;
  color: #fff;
  position: relative;
}
@media (min-width: 480px) { .stat-item { padding: 28px 20px; } }
@media (min-width: 768px) { .stat-item { padding: 32px 24px; } }

.stat-item::before {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,.2);
}
/* Mobile: esconde separador no 2º item (linha 1) e no 4º (linha 2) */
.stat-item:nth-child(2)::before,
.stat-item:nth-child(4)::before { display: none; }
@media (min-width: 768px) {
  /* Desktop: só esconde o último */
  .stat-item:nth-child(2)::before,
  .stat-item:nth-child(4)::before { display: block; }
  .stat-item:last-child::before { display: none; }
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
@media (min-width: 480px) { .stat-number { font-size: 2.2rem; } }
@media (min-width: 768px) { .stat-number { font-size: 2.4rem; } }

.stat-suffix { font-size: 1.2rem; font-weight: 900; color: #fff; }
@media (min-width: 768px) { .stat-suffix { font-size: 1.4rem; } }

.stat-label {
  display: block;
  font-size: .76rem;
  color: rgba(255,255,255,.75);
  margin-top: 6px;
  font-weight: 500;
}
@media (min-width: 480px) { .stat-label { font-size: .8rem; } }

/* ============================
   5. GOOGLE / AVALIAÇÕES
   ============================ */
.five-stars-highlight {
  background: var(--brand-blue);
  padding: 48px 0;
}
@media (min-width: 768px) { .five-stars-highlight { padding: 64px 0; } }

.five-stars-highlight__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  text-align: center;
}
@media (min-width: 900px) {
  .five-stars-highlight__inner {
    flex-direction: row;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    text-align: left;
  }
}

.google-card-big {
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px;
  min-width: 260px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  flex-shrink: 0;
  width: 100%;
  max-width: 320px;
}
@media (min-width: 480px) { .google-card-big { padding: 36px 32px; min-width: 280px; } }
@media (min-width: 900px) { .google-card-big { width: auto; } }

.google-logo-img { height: 36px; width: auto; margin: 0 auto 16px; }
.google-card-big__score {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
}
@media (min-width: 600px) { .google-card-big__score { font-size: 5rem; } }

.google-card-big__stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 10px 0;
}
.google-card-big__stars i { font-size: 1.6rem; color: #FBBC05; filter: drop-shadow(0 2px 4px rgba(251,188,5,.3)); }
@media (min-width: 480px) { .google-card-big__stars i { font-size: 1.8rem; } }

.google-card-big__reviews { font-size: .9rem; color: #64748B; font-weight: 500; }
@media (min-width: 480px) { .google-card-big__reviews { font-size: 1rem; } }

.google-card-big__badge {
  display: inline-flex;
  background: var(--brand-blue);
  color: #fff;
  font-size: .84rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 50px;
  margin-top: 16px;
  letter-spacing: .5px;
}

.google-highlight-text {
  flex: 1;
  min-width: 260px;
  max-width: 440px;
  color: #fff;
}
@media (min-width: 900px) { .google-highlight-text { text-align: left; } }

.google-highlight-text h2 {
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.google-highlight-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.google-highlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .92rem;
  color: rgba(255,255,255,.85);
  text-align: left;
}
@media (min-width: 900px) { .google-highlight-list li { justify-content: flex-start; } }
.google-highlight-list i { color: #fff; margin-top: 3px; flex-shrink: 0; }
.google-highlight-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  padding: 14px 28px;
  border-radius: 50px;
  transition: background .2s, transform .2s;
  box-shadow: 0 6px 20px rgba(26,53,216,.3);
}
.google-highlight-cta:hover { background: var(--brand-blue-dark); transform: translateY(-2px); }

/* ============================
   6. BENEFÍCIOS
   ============================ */
.benefits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 16px;
}
@media (min-width: 480px) { .benefits__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 900px) { .benefits__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.benefit-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 18px;
  border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .benefit-card { padding: 32px 28px; } }

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.benefit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.benefit-card:hover::before { transform: scaleX(1); }

.benefit-card--featured {
  background: var(--brand-blue);
  border-color: transparent;
  color: #fff;
}
.benefit-card--featured h3,
.benefit-card--featured h3 * { color: #fff !important; }
.benefit-card--featured p,
.benefit-card--featured p * { color: rgba(255,255,255,.85) !important; }
.benefit-card--featured::before { display: none; }

.benefit-card__icon {
  width: 52px; height: 52px;
  background: rgba(26,53,216,.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--brand-blue);
  margin-bottom: 16px;
  transition: background .25s;
}
@media (min-width: 768px) { .benefit-card__icon { width: 56px; height: 56px; font-size: 1.5rem; margin-bottom: 20px; } }

.benefit-card--featured .benefit-card__icon {
  background: rgba(255,255,255,.15);
  color: #fff;
}
.benefit-card:not(.benefit-card--featured):hover .benefit-card__icon {
  background: rgba(26,53,216,.15);
}
.benefit-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.benefit-card p { font-size: .86rem; color: var(--text-muted); line-height: 1.7; }

/* ============================
   7. COMO FUNCIONA (STEPS)
   ============================ */
.steps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  position: relative;
  margin-top: 16px;
}
@media (min-width: 480px) { .steps__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 900px) {
  .steps__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
  .steps__grid::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 12%; right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-light));
    opacity: .3;
    pointer-events: none;
  }
}

.step-card { text-align: center; position: relative; }
.step-card__number {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-light));
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(26,53,216,.3);
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) { .step-card__number { width: 72px; height: 72px; font-size: 1.4rem; margin-bottom: 20px; } }

.step-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; color: #fff; }
@media (min-width: 480px) { .step-card h3 { font-size: 1rem; } }
.step-card__desc { font-size: .85rem; color: rgba(255,255,255,.75); line-height: 1.7; }

/* ============================
   8. SOLAR PROCESS — Animação "Como funciona na prática"
   ============================ */
.solar-process {
  background: linear-gradient(160deg, #1d4ed8 0%, #1e40af 50%, #1a35a8 100%);
  overflow: hidden;
  position: relative;
}
.solar-process::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 10% 30%, rgba(255,255,255,.08) 0%, transparent 50%),
              radial-gradient(ellipse at 90% 70%, rgba(26,53,150,.25) 0%, transparent 50%);
  pointer-events: none;
}
.solar-process .section-tag { color: #fde047; border-color: rgba(253,224,71,.25); background: rgba(253,224,71,.08); }
.solar-process .section-title { color: #fff; }
.solar-process .highlight { color: #60a5fa; }
.solar-process .section-subtitle { color: rgba(255,255,255,.65); }

/* Layout: cena empilhada no mobile, lado a lado no desktop */
.sp-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 36px;
  align-items: center;
}
@media (min-width: 900px) {
  .sp-layout {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    margin-top: 48px;
  }
}

/* ── CENA SVG ── */
.solar-scene-wrap {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}
@media (min-width: 600px) { .solar-scene-wrap { max-width: 520px; } }

.solar-scene-svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  background: transparent;
}

/* Animações permanentes do sol */
.sp-sun {
  animation: spSunPulse 3s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.sp-sun-halo {
  animation: spHaloPulse 3s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.sp-sun-halo2 {
  animation: spHaloPulse 3s ease-in-out infinite .4s;
  transform-box: fill-box;
  transform-origin: center;
}
.sp-sun-rays {
  animation: spRaysSpin 12s linear infinite;
  transform-origin: 0px 0px;
}
.sp-cloud  { animation: spCloudDrift 18s linear infinite; }
.sp-cloud2 { animation: spCloudDrift 24s linear infinite reverse; }

@keyframes spSunPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.08); opacity: .92; }
}
@keyframes spHaloPulse {
  0%, 100% { transform: scale(1); opacity: .5; }
  50%       { transform: scale(1.15); opacity: .8; }
}
@keyframes spRaysSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes spCloudDrift {
  from { transform: translateX(0); }
  to   { transform: translateX(30px); }
}

.sp-panel { transition: filter .4s; }
.sp-panel--active { filter: drop-shadow(0 0 8px #60a5fa) brightness(1.4); }

.sp-inv-led { transition: fill .4s, filter .4s; }
.sp-inversor--active .sp-inv-led {
  fill: #4ade80;
  filter: drop-shadow(0 0 6px #4ade80);
  animation: spLedBlink .8s ease-in-out infinite;
}
@keyframes spLedBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

.sp-inv-bar1, .sp-inv-bar2, .sp-inv-bar3, .sp-inv-bar4, .sp-inv-bar5 { transition: opacity .4s; }
.sp-inversor--active .sp-inv-bar1 { opacity: .9; animation: spBar 1.1s ease-in-out infinite; }
.sp-inversor--active .sp-inv-bar2 { opacity: .9; animation: spBar 1.1s ease-in-out infinite .15s; }
.sp-inversor--active .sp-inv-bar3 { opacity: .9; animation: spBar 1.1s ease-in-out infinite .30s; }
.sp-inversor--active .sp-inv-bar4 { opacity: .9; animation: spBar 1.1s ease-in-out infinite .45s; }
.sp-inversor--active .sp-inv-bar5 { opacity: .9; animation: spBar 1.1s ease-in-out infinite .60s; }
@keyframes spBar {
  0%, 100% { transform: scaleY(1); }
  50%       { transform: scaleY(.5); }
}

.sp-house-light { transition: opacity .6s; }
.sp-house--active .sp-house-light { opacity: .55; }

.sp-meter-digits { transition: fill .4s; }
.sp-meter--active .sp-meter-digits {
  fill: #a78bfa;
  animation: spMeterCount .4s steps(1) infinite;
}
@keyframes spMeterCount {
  0%   { content: '0000'; }
  25%  { fill: #c4b5fd; }
  50%  { fill: #a78bfa; }
  75%  { fill: #ddd6fe; }
  100% { fill: #a78bfa; }
}

.sp-wire-solar, .sp-wire-dc, .sp-wire-ac, .sp-wire-meter { transition: opacity .5s ease; }
.sp-label { transition: opacity .5s ease; }

/* ── STEPS ── */
.sp-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 480px) { .sp-steps { gap: 16px; } }

.sp-step-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 16px 18px;
  transition: background .4s, border-color .4s, transform .3s;
  cursor: default;
  position: relative;
  overflow: hidden;
}
@media (min-width: 600px) {
  .sp-step-card { gap: 18px; border-radius: 16px; padding: 20px 22px; }
}
.sp-step-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: transparent;
  border-radius: 3px 0 0 3px;
  transition: background .4s;
}
.sp-step-card.sp-step--active {
  background: rgba(255,255,255,.08);
  border-color: rgba(96,165,250,.3);
  transform: translateX(4px);
}
.sp-step-card.sp-step--active::before { background: #60a5fa; }
.sp-step-card.sp-step--done { border-color: rgba(74,222,128,.2); }
.sp-step-card.sp-step--done::before { background: #4ade80; }

.sp-step-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  transition: transform .3s, box-shadow .3s;
}
@media (min-width: 600px) { .sp-step-icon { width: 46px; height: 46px; font-size: 1.15rem; border-radius: 12px; } }

.sp-step--active .sp-step-icon { transform: scale(1.1); }
.sp-step-icon--yellow { background: rgba(253,224,71,.15); color: #fde047; }
.sp-step-icon--blue   { background: rgba(96,165,250,.15); color: #60a5fa; }
.sp-step-icon--green  { background: rgba(74,222,128,.15); color: #4ade80; }
.sp-step-icon--purple { background: rgba(167,139,250,.15); color: #a78bfa; }
.sp-step--active.sp-step-card:nth-child(1) .sp-step-icon { box-shadow: 0 0 20px rgba(253,224,71,.35); }
.sp-step--active.sp-step-card:nth-child(2) .sp-step-icon { box-shadow: 0 0 20px rgba(96,165,250,.35); }
.sp-step--active.sp-step-card:nth-child(3) .sp-step-icon { box-shadow: 0 0 20px rgba(74,222,128,.35); }
.sp-step--active.sp-step-card:nth-child(4) .sp-step-icon { box-shadow: 0 0 20px rgba(167,139,250,.35); }

.sp-step-body { flex: 1; min-width: 0; }
.sp-step-number {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: rgba(255,255,255,.3);
  margin-bottom: 3px;
  font-family: var(--font-heading);
}
@media (min-width: 480px) { .sp-step-number { font-size: .7rem; margin-bottom: 4px; } }
.sp-step--active .sp-step-number { color: rgba(255,255,255,.6); }

.sp-step-title {
  font-size: .92rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  margin-bottom: 5px;
  font-family: var(--font-heading);
  transition: color .3s;
}
@media (min-width: 480px) { .sp-step-title { font-size: 1rem; margin-bottom: 6px; } }
.sp-step--active .sp-step-title { color: #fff; }

.sp-step-desc {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  line-height: 1.65;
  transition: color .3s;
  display: none;
}
@media (min-width: 480px) { .sp-step-desc { font-size: .82rem; } }
.sp-step--active .sp-step-desc { display: block; color: rgba(255,255,255,.7); }

.sp-step-progress {
  height: 3px;
  background: rgba(255,255,255,.1);
  border-radius: 3px;
  margin-top: 10px;
  overflow: hidden;
  display: none;
}
@media (min-width: 480px) { .sp-step-progress { margin-top: 12px; } }
.sp-step--active .sp-step-progress { display: block; }
.sp-step-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 3px;
  transition: width linear;
}
.sp-step-card:nth-child(1) .sp-step-progress-fill { background: #fde047; }
.sp-step-card:nth-child(2) .sp-step-progress-fill { background: #60a5fa; }
.sp-step-card:nth-child(3) .sp-step-progress-fill { background: #4ade80; }
.sp-step-card:nth-child(4) .sp-step-progress-fill { background: #a78bfa; }

/* ============================
   9. SIMULADOR (formato Sollagos)
   ============================ */
.amg-calculator { background: var(--bg-gray); }

.amg-calc__wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 768px) { .amg-calc__wrapper { gap: 28px; } }

/* Inputs */
.amg-calc__inputs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 480px) { .amg-calc__inputs { padding: 24px; border-radius: 18px; } }
@media (min-width: 768px) {
  .amg-calc__inputs {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: end;
    padding: 28px 32px;
    border-radius: 20px;
  }
}

.amg-calc-group { margin-bottom: 0; }
.amg-calc-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
  font-size: .88rem;
}
@media (min-width: 480px) { .amg-calc-group label { font-size: .9rem; } }

/* Range slider */
.amg-range-wrapper { display: flex; align-items: center; gap: 12px; }
@media (min-width: 480px) { .amg-range-wrapper { gap: 16px; } }

#amgBillValue {
  flex: 1;
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(to right, var(--brand-blue) 0%, var(--brand-blue) 10%, var(--border) 10%);
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
#amgBillValue::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--brand-blue);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(26,53,216,.35);
  border: 3px solid var(--white);
}
#amgBillValue::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--brand-blue);
  cursor: pointer;
  border: 3px solid var(--white);
}
.amg-range-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--brand-blue);
  min-width: 80px;
  text-align: right;
}
@media (min-width: 480px) { .amg-range-value { font-size: 1.1rem; min-width: 100px; } }

/* Botões tipo de imóvel */
.amg-property-selector { display: flex; gap: 8px; flex-wrap: wrap; }
@media (min-width: 480px) { .amg-property-selector { gap: 10px; } }

.amg-prop-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border: 2px solid var(--border);
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font);
}
@media (min-width: 480px) { .amg-prop-btn { padding: 10px 18px; font-size: .85rem; gap: 6px; } }
.amg-prop-btn:hover,
.amg-prop-btn.active {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background: rgba(26,53,216,.06);
}

/* Painel de resultados */
.amg-calc__results {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 480px) { .amg-calc__results { padding: 20px; border-radius: 18px; gap: 12px; } }
@media (min-width: 768px) { .amg-calc__results { padding: 24px; border-radius: 20px; } }

/* Barra visual de economia */
.amg-saving-bar {
  background: linear-gradient(135deg, rgba(26,53,216,.06), rgba(26,53,216,.06));
  border: 1px solid rgba(26,53,216,.15);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 4px;
}
@media (min-width: 480px) { .amg-saving-bar { border-radius: 14px; padding: 18px 20px; } }

.amg-saving-bar__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.amg-saving-bar__label {
  font-size: .76rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}
@media (min-width: 480px) { .amg-saving-bar__label { font-size: .8rem; } }

.amg-saving-bar__pct {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--brand-blue);
  line-height: 1;
}
@media (min-width: 480px) { .amg-saving-bar__pct { font-size: 1.6rem; } }

.amg-saving-bar__track {
  height: 30px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}
@media (min-width: 480px) { .amg-saving-bar__track { height: 36px; } }

.amg-saving-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-light));
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
  transition: width .6s cubic-bezier(.4,0,.2,1);
  min-width: 60px;
  position: relative;
}
@media (min-width: 480px) { .amg-saving-bar__fill { padding-right: 14px; } }

.amg-saving-bar__fill::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.18) 0%, transparent 100%);
  border-radius: inherit;
}
.amg-saving-bar__value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .88rem;
  color: #fff;
  position: relative;
  z-index: 1;
  white-space: nowrap;
}
@media (min-width: 480px) { .amg-saving-bar__value { font-size: .95rem; } }

.amg-saving-bar__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  gap: 8px;
  flex-wrap: wrap;
}
.amg-saving-bar__remain { font-size: .78rem; color: var(--text-muted); }
.amg-saving-bar__remain strong { color: var(--text); }
.amg-saving-bar__note {
  font-size: .72rem;
  color: var(--brand-blue);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}
@media (min-width: 480px) { .amg-saving-bar__note { font-size: .75rem; } }
.amg-saving-bar__note i { font-size: .68rem; }

/* Cards de resultado — grade 1→2 colunas */
.amg-calc-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 360px) { .amg-calc-cards-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 480px) { .amg-calc-cards-grid { gap: 12px; } }

.amg-calc-result-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  transition: all .2s;
}
@media (min-width: 480px) { .amg-calc-result-card { gap: 16px; border-radius: 14px; padding: 16px 20px; } }

.amg-calc-result-card i {
  font-size: 1.3rem;
  color: var(--text-muted);
  flex-shrink: 0;
}
@media (min-width: 480px) { .amg-calc-result-card i { font-size: 1.5rem; } }

.amg-calc-result-card--highlight {
  background: linear-gradient(135deg, rgba(26,53,216,.07), rgba(26,53,216,.07));
  border-color: rgba(26,53,216,.20);
}
.amg-calc-result-card--highlight i { color: var(--brand-blue); }
.amg-calc-result-card--green { background: rgba(34,197,94,.06); border-color: rgba(34,197,94,.2); }
.amg-calc-result-card--green i { color: var(--green); }

.amg-calc-result-card div { display: flex; flex-direction: column; }
.amg-calc-label {
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
@media (min-width: 480px) { .amg-calc-label { font-size: .78rem; } }

.amg-calc-value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text);
}
@media (min-width: 480px) { .amg-calc-value { font-size: 1.35rem; } }
.amg-calc-result-card--highlight .amg-calc-value { color: var(--brand-blue); }

/* Disclaimer */
.amg-calc-disclaimer {
  font-size: .76rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 12px 14px;
  background: rgba(0,0,0,.03);
  border-left: 3px solid var(--brand-blue);
  border-radius: 0 10px 10px 0;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.amg-calc-disclaimer i {
  color: var(--brand-blue);
  font-size: .85rem;
  margin-top: 1px;
  flex-shrink: 0;
}

/* ============================
   10. PORTFÓLIO / GALERIA
   ============================ */
.portfolio__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 24px;
}
@media (min-width: 480px) { .portfolio__filters { gap: 10px; margin-bottom: 32px; } }

.filter-btn {
  border: 2px solid var(--border);
  border-radius: 50px;
  padding: 7px 14px;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  background: #fff;
  color: var(--text-muted);
}
@media (min-width: 480px) { .filter-btn { padding: 8px 22px; font-size: .84rem; } }
.filter-btn:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.filter-btn.active { border-color: var(--brand-blue); background: var(--brand-blue); color: #fff; }

.gal-accordion { position: relative; }
.gal-accordion__inner {
  position: relative;
  overflow: hidden;
  max-height: 420px;
  transition: max-height .7s cubic-bezier(.4,0,.2,1);
}
@media (min-width: 480px) { .gal-accordion__inner { max-height: 560px; } }
.gal-accordion__inner.is-open { max-height: 5000px; }

.gal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
@media (min-width: 600px) { .gal-grid { gap: 12px; } }
@media (min-width: 900px) { .gal-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

.gal-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s;
}
@media (min-width: 480px) { .gal-item { border-radius: 14px; } }
.gal-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.gal-item--photo { aspect-ratio: 3/4; }
.gal-item--extra {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .4s, transform .4s;
  pointer-events: none;
}
.gal-accordion__inner.is-open .gal-item--extra {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.gal-item--extra:nth-child(7)  { transition-delay: .05s; }
.gal-item--extra:nth-child(8)  { transition-delay: .10s; }
.gal-item--extra:nth-child(9)  { transition-delay: .15s; }
.gal-item--extra:nth-child(10) { transition-delay: .20s; }
.gal-item--extra:nth-child(11) { transition-delay: .25s; }
.gal-item--extra:nth-child(12) { transition-delay: .30s; }

.gal-item__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
  background: linear-gradient(135deg, #1A35D8 0%, #0F1A3C 100%);
}
.gal-item__img[src=""],
.gal-item__img:not([src]) { visibility: hidden; }
.gal-item:hover .gal-item__img { transform: scale(1.07); }

.gal-item__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,26,60,.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
}
@media (min-width: 480px) { .gal-item__overlay { padding: 16px; } }
.gal-item:hover .gal-item__overlay { opacity: 1; }

.gal-item__tag {
  background: var(--brand-blue);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 50px;
  align-self: flex-start;
  margin-bottom: 5px;
}
@media (min-width: 480px) { .gal-item__tag { font-size: .72rem; padding: 3px 10px; margin-bottom: 6px; } }

.gal-item__caption {
  color: #fff;
  font-size: .76rem;
  line-height: 1.4;
  font-weight: 500;
}
@media (min-width: 480px) { .gal-item__caption { font-size: .8rem; } }

.gal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(26,53,216,.08);
  border: 2px solid var(--brand-blue);
  color: var(--brand-blue);
  border-radius: 50px;
  padding: 12px 28px;
  font-weight: 700;
  font-size: .88rem;
  cursor: pointer;
  margin: 24px auto 0;
  transition: all .2s;
  width: fit-content;
}
@media (min-width: 480px) { .gal-btn { padding: 12px 32px; font-size: .9rem; margin-top: 28px; } }
.gal-btn:hover { background: var(--brand-blue); color: #fff; }

/* ============================
   11. DEPOIMENTOS
   ============================ */
.testimonials__track-wrapper {
  overflow: hidden;
  border-radius: 16px;
  position: relative;
}
@media (min-width: 480px) { .testimonials__track-wrapper { border-radius: 20px; } }

.testimonials__track {
  display: flex;
  gap: 16px;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
@media (min-width: 600px) { .testimonials__track { gap: 24px; } }

.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px 16px 18px;
  box-shadow: 0 4px 24px rgba(26,53,216,.10);
  border: 1px solid rgba(26,53,216,.08);
  flex-shrink: 0;
  transition: box-shadow .3s;
  min-width: 100%;
}
@media (min-width: 600px) { .testimonial-card { border-radius: 20px; padding: 28px 28px 24px; } }
@media (min-width: 900px) { .testimonial-card { min-width: calc(50% - 8px); } }
@media (min-width: 1200px) { .testimonial-card { min-width: calc(33.333% - 11px); } }

.testimonial-card:hover { box-shadow: 0 12px 40px rgba(26,53,216,.16); }

.testimonial__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}
.google-badge-sm {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f1f3f4;
  border-radius: 50px;
  padding: 4px 10px 4px 6px;
  font-size: .72rem;
  font-weight: 600;
  color: #3c4043;
}
@media (min-width: 480px) { .google-badge-sm { font-size: .75rem; } }

.testimonial__meta { font-size: .75rem; color: var(--text-light); text-align: right; }
@media (min-width: 480px) { .testimonial__meta { font-size: .78rem; } }

.testimonial__stars { color: #FBBC05; font-size: 1rem; letter-spacing: 2px; margin-bottom: 10px; }
@media (min-width: 480px) { .testimonial__stars { font-size: 1.1rem; letter-spacing: 3px; margin-bottom: 12px; } }

.testimonial__text {
  font-size: .9rem;
  line-height: 1.75;
  color: #334155;
  font-style: italic;
  padding-left: 18px;
  margin-bottom: 14px;
  position: relative;
}
@media (min-width: 480px) { .testimonial__text { font-size: 1rem; line-height: 1.8; padding-left: 20px; margin-bottom: 16px; } }

.testimonial__text::before {
  content: '\201C';
  position: absolute;
  left: 0; top: -4px;
  font-size: 1.8rem;
  color: var(--brand-blue);
  opacity: .3;
  line-height: 1;
}
@media (min-width: 480px) { .testimonial__text::before { font-size: 2rem; } }

.testimonial__author { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .84rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
@media (min-width: 480px) { .testimonial__avatar { width: 42px; height: 42px; font-size: .88rem; } }

.testimonial__name { font-weight: 700; font-size: .88rem; color: var(--text); }
@media (min-width: 480px) { .testimonial__name { font-size: .92rem; } }
.testimonial__info { font-size: .72rem; color: var(--text-light); }
@media (min-width: 480px) { .testimonial__info { font-size: .76rem; } }

/* Owner reply */
.testimonial__owner-reply {
  margin-top: 12px;
  padding: 10px 12px;
  background: linear-gradient(135deg, rgba(26,53,216,.06), rgba(26,53,216,.03));
  border-left: 3px solid var(--brand-blue);
  border-radius: 0 10px 10px 0;
  font-size: .8rem;
  color: #374151;
  max-height: 120px;
  overflow: hidden;
}
@media (min-width: 600px) {
  .testimonial__owner-reply { margin-top: 14px; padding: 12px 14px; font-size: .82rem; max-height: none; }
}

.owner-reply__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.owner-reply__avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-light));
  display: flex; align-items: center; justify-content: center;
  font-size: .68rem;
  color: #fff;
  flex-shrink: 0;
}
.owner-reply__header strong { font-size: .8rem; color: var(--brand-blue); display: block; line-height: 1.2; }
.owner-reply__header span { font-size: .72rem; color: #6b7280; font-style: italic; }
.testimonial__owner-reply p { margin: 0; line-height: 1.55; color: #4b5563; font-size: .79rem; }

/* Controles */
.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: nowrap;
}
@media (min-width: 600px) { .testimonials__controls { gap: 16px; margin-top: 28px; } }

.testimonial-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--brand-blue);
  border: 1.5px solid var(--brand-blue);
  color: #fff;
  font-size: .95rem;
  cursor: pointer;
  transition: all .2s;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(26,53,216,.2);
}
@media (min-width: 600px) {
  .testimonial-btn {
    width: 48px; height: 48px;
    background: #fff;
    border-color: var(--border);
    color: var(--text);
  }
  .testimonial-btn:hover { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; transform: scale(1.08); }
}

.testimonials__dots { display: none; gap: 8px; align-items: center; }
@media (min-width: 600px) { .testimonials__dots { display: flex; } }

.testimonials__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #CBD5E1;
  transition: all .3s;
  cursor: pointer;
  border: none;
}
.testimonials__dot.active { background: var(--brand-blue); width: 24px; border-radius: 4px; }
.testimonials__counter {
  font-size: .84rem;
  font-weight: 700;
  color: var(--brand-blue);
  min-width: 40px;
  text-align: center;
}
@media (min-width: 600px) {
  .testimonials__counter { color: var(--text-light); font-weight: 500; font-size: .82rem; }
}

/* ============================
   12. GOOGLE BANNER
   ============================ */
.google-banner {
  background: var(--brand-blue);
  padding: 0;
  position: relative;
  overflow: hidden;
}
.google-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 16px;
  flex-wrap: wrap;
  text-align: center;
}
@media (min-width: 600px) {
  .google-banner__inner {
    flex-direction: row;
    gap: 24px;
    padding: 20px 24px;
    text-align: left;
  }
}

.google-banner__stars { display: flex; gap: 4px; align-items: center; }
.google-banner__stars i { color: #FBBC05; font-size: 1.1rem; }
.google-banner__text { color: #fff; font-size: .92rem; font-weight: 600; }
@media (min-width: 480px) { .google-banner__text { font-size: .95rem; } }
.google-banner__text span { color: #fff; font-weight: 800; }
.google-banner__cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.15);
  color: #fff; font-size: .82rem; font-weight: 600;
  padding: 8px 18px; border-radius: 50px;
  border: 1px solid rgba(255,255,255,.3);
  transition: background .2s;
}
.google-banner__cta:hover { background: rgba(255,255,255,.25); }

/* ============================
   13. FORMULÁRIO DUPLO SOLAR + EV
   ============================ */

/* ── Seção wrapper ── */
/* ═══════════════════════════════════════════════════
   SEÇÃO ORÇAMENTO — Design revisado (prints referência)
   ═══════════════════════════════════════════════════ */
.form-section {
  background: var(--bg-dark);
  padding: 56px 0 64px;
}
@media (min-width: 768px) { .form-section { padding: 80px 0 96px; } }

/* Cabeçalho mobile-only */
.form-section__header {
  text-align: center;
  margin-bottom: 36px;
}
@media (min-width: 1024px) { .form-section__header { display: none; } }
.form-section__header .section-title { color: #fff; }
.form-section__header .section-subtitle { color: rgba(255,255,255,.65); margin-left: auto; margin-right: auto; }

/* Layout: info | form */
.form-section__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 1024px) {
  .form-section__body {
    grid-template-columns: 1fr 520px;
    gap: 64px;
  }
}

/* ── Coluna info ── */
.form-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.form-info__title,
.form-info__subtitle,
.form-section__body > .form-info > .fi-tag {
  display: none;
}
@media (min-width: 1024px) {
  .form-info__title,
  .form-info__subtitle,
  .form-section__body > .form-info > .fi-tag { display: block; }
}
.form-info__title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 14px;
  margin-top: 16px;
}
.form-info__title .highlight { color: #FFB500; }
.form-info__subtitle {
  font-size: .92rem;
  color: rgba(255,255,255,.65);
  line-height: 1.75;
  margin-bottom: 36px;
}

/* Lista de features (benefícios do orçamento) */
.form-info__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
}
.form-info__feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.form-info__feature:first-child { padding-top: 0; }
.form-info__feature:last-child  { border-bottom: none; }
.form-info__feature-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,181,0,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  color: #FFB500;
  flex-shrink: 0;
}
.form-info__feature h4 { font-size: .88rem; font-weight: 700; margin-bottom: 2px; color: #fff; }
.form-info__feature p  { font-size: .8rem; color: rgba(255,255,255,.55); line-height: 1.5; }

/* Badges de confiança */
.trust-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: .78rem;
  color: rgba(255,255,255,.75);
  font-weight: 500;
}
.trust-badge i { color: #FFB500; font-size: .85rem; flex-shrink: 0; }
.trust-badge span { font-size: .78rem; color: rgba(255,255,255,.8); font-weight: 600; }

/* Mini widget Google */
.form-google-mini {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 16px 20px;
}
.form-google-mini__stars { display: flex; gap: 3px; flex-shrink: 0; }
.form-google-mini__stars i { color: #FBBC05; font-size: 1.1rem; }
.form-google-mini__info { display: flex; flex-direction: column; gap: 2px; }
.form-google-mini__text { font-size: .9rem; color: #fff; font-weight: 700; margin: 0; }
.form-google-mini__sub { font-size: .75rem; color: rgba(255,255,255,.55); margin: 0; }
.form-google-mini__sub a { color: rgba(255,255,255,.7); text-decoration: underline; }

/* ── Coluna form ── */
.form-container { display: flex; flex-direction: column; }

/* ── Card branco unificado ── */
.form-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(0,0,0,.3);
  overflow: hidden;
  padding: 0;
}

/* ── Seletor de abas — estilo pill/segmented ── */
.form-tab-selector {
  display: flex;
  gap: 8px;
  background: #f1f5f9;
  border-radius: 50px;
  padding: 5px;
  margin: 24px 24px 0;
}
@media (min-width: 480px) { .form-tab-selector { margin: 28px 32px 0; } }

.form-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 16px;
  font-family: var(--font);
  font-size: .88rem;
  font-weight: 700;
  color: #64748b;
  background: transparent;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background .22s, color .22s, box-shadow .22s;
  white-space: nowrap;
}
@media (min-width: 480px) { .form-tab { font-size: .94rem; padding: 12px 20px; } }
.form-tab:hover { color: var(--brand-blue); }
.form-tab--active {
  background: #fff;
  color: var(--brand-blue);
  box-shadow: 0 2px 12px rgba(26,53,216,.15);
  border: 1.5px solid rgba(26,53,216,.25);
}

/* ── Eyebrow do form ── */
.form-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 20px 0 16px;
}
@media (min-width: 480px) { .form-eyebrow { font-size: .86rem; margin: 22px 0 18px; } }
.form-eyebrow i { color: #FFB500; font-size: .9rem; }

/* ── Painéis ── */
.form-panel { display: none; padding: 0 24px 24px; }
@media (min-width: 480px) { .form-panel { padding: 0 32px 32px; } }
.form-panel--active { display: block; }

/* Animação de entrada */
@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.form-panel--active { animation: panelFadeIn .25s ease both; }

/* Grid de campos 2 colunas */
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 500px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
  }
}

/* Grupos de campo */
.form-group { margin-bottom: 16px; }
@media (min-width: 480px) { .form-group { margin-bottom: 18px; } }
.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--brand-blue);
  letter-spacing: -.01em;
}
@media (min-width: 480px) { .form-group label { font-size: .86rem; } }

/* Asterisco laranja */
.req { color: #FFB500; font-weight: 800; margin-left: 2px; }
.form-optional { font-weight: 400; color: var(--text-muted); font-size: .75rem; }

.input-wrap { position: relative; display: flex; align-items: center; }
.input-icon {
  position: absolute;
  left: 14px;
  color: var(--brand-blue);
  font-size: .88rem;
  pointer-events: none;
  z-index: 1;
}
@media (min-width: 480px) { .input-icon { left: 16px; } }

.input-wrap input,
.input-wrap select {
  width: 100%;
  padding: 13px 14px 13px 38px;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  font-size: .88rem;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
@media (min-width: 480px) {
  .input-wrap input,
  .input-wrap select { padding: 14px 14px 14px 42px; font-size: .92rem; }
}
.input-wrap input::placeholder { color: #94a3b8; }
.input-wrap input:focus,
.input-wrap select:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(26,53,216,.1);
}
.input-wrap input.error,
.input-wrap select.error { border-color: #EF4444; box-shadow: 0 0 0 3px rgba(239,68,68,.1); }

.input-wrap--select::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 14px;
  color: var(--text-light);
  pointer-events: none;
  font-size: .85rem;
}

.field-error {
  display: block;
  font-size: .73rem;
  color: #EF4444;
  margin-top: 4px;
  font-weight: 500;
  min-height: 16px;
}

/* Botão submit — LARANJA */
.form-submit-btn {
  width: 100%;
  background: #FFB500;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 16px 24px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: background .22s, transform .2s, box-shadow .22s;
  box-shadow: 0 8px 28px rgba(255,181,0,.4);
  margin-top: 8px;
  position: relative;
  letter-spacing: -.01em;
}
@media (min-width: 480px) { .form-submit-btn { padding: 18px 28px; font-size: 1.05rem; } }
.form-submit-btn:hover { background: #e6a200; transform: translateY(-2px); box-shadow: 0 12px 36px rgba(255,181,0,.5); }
.form-submit-btn:disabled { opacity: .65; cursor: not-allowed; transform: none; }

.btn-loader {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: none;
  flex-shrink: 0;
}
.form-submit-btn.loading .btn-loader { display: block; }
.form-submit-btn.loading span { opacity: .7; }

/* Privacidade */
.form-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: .75rem;
  color: #64748b;
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}
.form-privacy i { color: #22c55e; font-size: .8rem; }
.form-terms {
  font-size: .72rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 6px;
  line-height: 1.6;
}
.form-terms__link { color: var(--brand-blue); font-weight: 600; }

/* Mensagem de sucesso */
.form-success { text-align: center; padding: 48px 24px; }
.success-icon { font-size: 3rem; color: var(--green); margin-bottom: 16px; }
.form-success h3 { font-size: 1.3rem; margin-bottom: 8px; color: var(--text); }
.form-success p  { color: var(--text-muted); font-size: .9rem; line-height: 1.6; }

/* ── Cards EV ── */
.ev-section { margin-bottom: 18px; }
.ev-section__label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.ev-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ev-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 12px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--bg-gray);
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s, box-shadow .2s;
  text-align: center;
  user-select: none;
}
@media (min-width: 480px) { .ev-card { padding: 20px 16px; } }
.ev-card i { font-size: 1.4rem; color: var(--text-muted); transition: color .2s; }
@media (min-width: 480px) { .ev-card i { font-size: 1.6rem; } }
.ev-card span { font-size: .82rem; font-weight: 600; color: var(--text-muted); transition: color .2s; }
@media (min-width: 480px) { .ev-card span { font-size: .86rem; } }

.ev-card:hover {
  border-color: var(--brand-blue);
  background: rgba(26,53,216,.04);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(26,53,216,.12);
}
.ev-card:hover i, .ev-card:hover span { color: var(--brand-blue); }

.ev-card.ev-card--active {
  border-color: var(--brand-blue);
  background: rgba(26,53,216,.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(26,53,216,.18);
}
.ev-card.ev-card--active i,
.ev-card.ev-card--active span { color: var(--brand-blue); }
.ev-card.ev-card--active::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 8px; right: 10px;
  font-size: .7rem;
  color: var(--brand-blue);
}
.ev-card { position: relative; }

/* ── Texto prefilled nos inputs ── */
.input-wrap input.prefilled { border-color: var(--brand-blue); background: rgba(26,53,216,.04); }

/* ============================
   14. FAQ
   ============================ */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 480px) { .faq-list { gap: 12px; } }

.faq-item {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
@media (min-width: 480px) { .faq-item { border-radius: 14px; } }
.faq-item.is-open { border-color: var(--brand-blue); box-shadow: var(--shadow-sm); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 18px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: color .2s;
}
@media (min-width: 480px) { .faq-question { padding: 20px 24px; font-size: .95rem; gap: 16px; } }
.faq-item.is-open .faq-question { color: var(--brand-blue); }
.faq-question i { font-size: .85rem; transition: transform .3s; flex-shrink: 0; color: var(--text-light); }
.faq-item.is-open .faq-question i { transform: rotate(180deg); color: var(--brand-blue); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s;
  padding: 0 18px;
}
@media (min-width: 480px) { .faq-answer { padding: 0 24px; } }
.faq-item.is-open .faq-answer { max-height: 300px; padding: 0 18px 18px; }
@media (min-width: 480px) { .faq-item.is-open .faq-answer { padding: 0 24px 20px; } }
.faq-answer p { font-size: .86rem; color: var(--text-muted); line-height: 1.75; }
@media (min-width: 480px) { .faq-answer p { font-size: .88rem; } }

/* ============================
   15. FOOTER
   ============================ */
.footer {
  background: #fff;
  color: var(--text-muted);
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
@media (min-width: 768px) { .footer { padding-top: 64px; } }

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 600px) { .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (min-width: 1024px) { .footer__inner { grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; padding-bottom: 48px; } }

.footer__brand { max-width: 280px; }
.footer__brand .logo-img { height: 56px; margin-bottom: 14px; }
@media (min-width: 768px) { .footer__brand .logo-img { height: 70px; margin-bottom: 16px; } }
.footer__brand p { font-size: .82rem; line-height: 1.7; margin-bottom: 18px; color: var(--text-muted); }
@media (min-width: 480px) { .footer__brand p { font-size: .84rem; margin-bottom: 20px; } }

.footer__social { display: flex; gap: 10px; }
@media (min-width: 480px) { .footer__social { gap: 12px; } }
.footer__social a {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: .88rem;
  transition: background .2s, color .2s, transform .2s;
}
@media (min-width: 480px) { .footer__social a { width: 38px; height: 38px; border-radius: 10px; font-size: .9rem; } }
.footer__social a:hover { background: rgba(255,255,255,.2); color: #fff; transform: translateY(-3px); }

.footer__col h4 {
  color: var(--brand-blue);
  font-size: .84rem;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
@media (min-width: 480px) { .footer__col h4 { font-size: .88rem; margin-bottom: 16px; } }

.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 480px) { .footer__col ul { gap: 10px; } }
.footer__col ul li a { font-size: .82rem; color: var(--text-muted); transition: color .2s; }
@media (min-width: 480px) { .footer__col ul li a { font-size: .84rem; } }
.footer__col ul li a:hover { color: var(--brand-blue); }

.footer__contact { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 480px) { .footer__contact { gap: 12px; } }
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .82rem;
  color: var(--text-muted);
}
@media (min-width: 480px) { .footer__contact-item { font-size: .84rem; } }
.footer__contact-item i { color: var(--brand-blue); font-size: .88rem; margin-top: 2px; flex-shrink: 0; }

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 0;
  font-size: .74rem;
  color: var(--text-light);
  flex-wrap: wrap;
  gap: 8px;
  text-align: center;
}
@media (min-width: 600px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 0;
    font-size: .78rem;
    gap: 12px;
    text-align: left;
  }
}
.footer__bottom a { color: var(--brand-blue); transition: color .2s; }
.footer__bottom a:hover { color: var(--brand-blue-dark); }

/* ============================
   16. BACK TO TOP / FLUTUANTES
   ============================ */
.back-to-top {
  position: fixed;
  bottom: 96px; right: 16px;
  width: 44px; height: 44px;
  background: var(--brand-blue);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: .88rem;
  cursor: pointer;
  z-index: 800;
  box-shadow: 0 4px 16px rgba(26,53,216,.4);
  transition: opacity .3s, transform .3s, background .2s;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
@media (min-width: 600px) { .back-to-top { bottom: 32px; right: 32px; width: 46px; height: 46px; font-size: .9rem; } }
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--brand-blue-light); transform: translateY(-3px); }

/* CTA flutuante mobile */
.mobile-cta-bar {
  display: block;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 990;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(15,26,60,.98) 60%, rgba(15,26,60,0));
  pointer-events: none;
}
@media (min-width: 600px) { .mobile-cta-bar { display: none; } }

body { padding-bottom: 76px; }
@media (min-width: 600px) { body { padding-bottom: 0; } }

.mobile-cta-bar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--brand-blue);
  color: #fff;
  border-radius: 14px;
  padding: 15px 24px;
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(26,53,216,.4);
  pointer-events: auto;
  transition: background .2s;
}
.mobile-cta-bar__btn:hover { background: var(--brand-blue-dark); }
.mobile-cta-bar__btn i { font-size: .95rem; }

/* ============================
   17. SCROLL REVEAL
   ============================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].revealed { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }
[data-reveal-delay="4"] { transition-delay: .4s; }
