/* ============================================================
   CUSTOM ENERGIA SOLAR — style.css
   Mobile-first | Montserrat | CSS Custom Properties
   ============================================================ */

/* ─── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  color: var(--gray-text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

ul { list-style: none; }

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
}

/* ─── CSS VARIABLES ─────────────────────────────────────────── */
:root {
  --green:       #1F9F3B;
  --green-dark:  #146B28;
  --green-light: #E8F5EC;
  --black:       #000000;
  --white:       #FFFFFF;
  --gray-light:  #F5F5F5;
  --gray-border: #E0E0E0;
  --gray-text:   #333333;
  --gray-mid:    #666666;
  --dark-bg:     #111111;
  --dark-card:   #1A1A1A;

  --radius:      12px;
  --radius-sm:   8px;
  --radius-lg:   20px;

  --shadow-sm:   0 2px 8px rgba(0,0,0,.08);
  --shadow-md:   0 4px 20px rgba(0,0,0,.12);
  --shadow-lg:   0 8px 40px rgba(0,0,0,.16);

  --transition:  0.3s ease;

  --container:   1200px;
  --section-gap: 80px;
}

/* ─── CONTAINER ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ─── SECTION BASE ──────────────────────────────────────────── */
.section {
  padding-block: var(--section-gap);
}

.section__header {
  text-align: center;
  margin-bottom: 56px;
}

.section__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green);
  background: var(--green-light);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section__tag--light {
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.15);
}

.section__title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--black);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section__title--light {
  color: var(--white);
}

.section__subtitle {
  font-size: 1rem;
  color: var(--gray-mid);
  max-width: 600px;
  margin-inline: auto;
}

/* ─── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
  letter-spacing: 0.02em;
}

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn--primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn--primary:hover, .btn--primary:focus-visible {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31,159,59,.35);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--green);
}

.btn--outline-green {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn--outline-green:hover {
  background: var(--green);
  color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--green);
  border-color: var(--white);
  font-weight: 700;
}
.btn--white:hover {
  background: var(--green-light);
  border-color: var(--green-light);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

.btn--lg { padding: 14px 32px; font-size: 1rem; }
.btn--sm { padding: 8px 18px; font-size: 0.8rem; }
.btn--block { width: 100%; justify-content: center; }

/* ─── SCROLL ANIMATION ──────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger delays */
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.35s; }
.fade-in:nth-child(6) { transition-delay: 0.4s; }

/* ─── HEADER ────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-border);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.header__logo img {
  height: 88px;
  width: auto;
  object-fit: contain;
}

.header__nav {
  flex: 1;
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-text);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav__link:hover, .nav__link.active {
  color: var(--green);
  background: var(--green-light);
}

.header__cta { display: none; }

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-text);
  transition: all var(--transition);
  border-radius: 2px;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav open state */
.header__nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
  padding: 16px 20px 24px;
  box-shadow: var(--shadow-md);
}

.header__nav.open .nav__list {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.header__nav.open .nav__link {
  display: block;
  width: 100%;
  padding: 12px 16px;
}

/* ─── HERO ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Fallback gradient when image not loaded */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a2e14 0%, #1F9F3B 100%);
  z-index: -1;
}

.hero__bg img {
  position: relative;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.78) 0%,
    rgba(0,0,0,0.45) 60%,
    rgba(0,0,0,0.2) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-block: 80px;
}

.hero__text {
  max-width: 600px;
}

.hero__badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(31,159,59,0.8);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255,255,255,0.25);
}

.hero__title {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero__title--accent {
  color: #5FD87A;
}

.hero__subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 480px;
}

.hero__subtitle strong { color: #5FD87A; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ─── STATS ─────────────────────────────────────────────────── */
.stats {
  background: var(--green);
  padding-block: 40px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.2);
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px;
  background: var(--green);
  gap: 6px;
}

.stats__number {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

/* Itens estáticos (range de %, estrelas) — tamanho ligeiramente menor para caber */
.stats__number--range {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  letter-spacing: -0.01em;
}

.stats__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── SOLUÇÕES ──────────────────────────────────────────────── */
.solucoes {
  background: var(--gray-light);
}

.solucoes__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

/* ── Photo Grid – Nossas Soluções ── */
.solucoes__photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.sol-card {
  border-radius: var(--radius);
  overflow: hidden;
}

.sol-card__inner {
  position: relative;
  min-height: 380px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.sol-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.72) 65%);
  z-index: 1;
}

.sol-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--green);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  z-index: 2;
  text-transform: uppercase;
}

.sol-card__content {
  position: relative;
  z-index: 2;
  padding: 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sol-card__icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.18);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  margin-bottom: 4px;
}

.sol-card__icon svg {
  width: 20px;
  height: 20px;
  color: #fff;
  stroke: #fff;
}

.sol-card__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sol-card__desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
}

.sol-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5de07a;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  margin-top: 6px;
  transition: gap 0.2s;
}

.sol-card__cta:hover { gap: 12px; }

.sol-card__cta svg {
  width: 14px;
  height: 14px;
  stroke: #5de07a;
}

@media (max-width: 600px) {
  .solucoes__photo-grid { grid-template-columns: 1fr; }
}

.card--solution {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--gray-border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.card--solution:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card__icon {
  width: 56px;
  height: 56px;
  background: var(--green-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card__icon svg {
  width: 26px;
  height: 26px;
  color: var(--green);
  stroke: var(--green);
}

.card__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card__text {
  font-size: 0.9rem;
  color: var(--gray-mid);
  line-height: 1.6;
}

.card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--gray-text);
}

.card__list li svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  stroke: var(--green);
  flex-shrink: 0;
}

/* ─── POR QUE A CUSTOM ──────────────────────────────────────── */
.porque {
  background: var(--white);
}

.porque__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.diferencial {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.diferencial__icon {
  width: 52px;
  height: 52px;
  background: var(--green-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.diferencial__icon svg {
  width: 24px;
  height: 24px;
  color: var(--green);
  stroke: var(--green);
}

.diferencial__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
}

.diferencial__text {
  font-size: 0.875rem;
  color: var(--gray-mid);
  line-height: 1.65;
}

/* ─── SIMULADOR ─────────────────────────────────────────────── */
.simulador {
  background: var(--green);
}

.simulador__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.simulador__desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 32px;
}

.simulador__beneficios {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.simulador__beneficio {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}

.simulador__beneficio svg {
  width: 20px;
  height: 20px;
  color: rgba(255,255,255,0.8);
  stroke: rgba(255,255,255,0.8);
  flex-shrink: 0;
}

/* Form card */
.simulador__form-wrap {
  background: rgba(0,0,0,0.2);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.simulador__form,
.simulador__resultado {
  padding: 32px 28px;
}

/* ─── SIMULADOR LOGO ─────────────────────────────────────────── */
.simulador__form-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.simulador__form-logo img {
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.footer__logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.simulador__form-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  text-align: center;
}

/* ─── FORM ELEMENTS ─────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

/* Override for contato section */
.contato__form .form-label {
  color: var(--gray-text);
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 0.9rem;
  font-family: 'Montserrat', sans-serif;
  transition: border-color var(--transition), background var(--transition);
}

.form-input::placeholder { color: rgba(255,255,255,0.45); }

.form-input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.18);
}

.form-input:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.form-help {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}

.optional {
  font-weight: 400;
  opacity: 0.7;
}

.input-prefix {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}

.input-prefix:focus-within {
  border-color: rgba(255,255,255,0.7);
}

.input-prefix span {
  padding: 12px 12px 12px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.input-prefix .form-input {
  border: none;
  background: transparent;
  border-radius: 0;
  flex: 1;
}

.input-prefix .form-input:focus { background: transparent; }

/* Contact form overrides (white bg) */
.contato__form .form-input {
  background: var(--white);
  border-color: var(--gray-border);
  color: var(--gray-text);
}

.contato__form .form-input::placeholder {
  color: #aaa;
}

.contato__form .form-input:focus {
  border-color: var(--green);
  background: var(--white);
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

/* Garante texto visível nas opções nativas do select em todos os browsers */
.form-select option {
  color: #1a1a1a;
  background-color: #ffffff;
}

.form-textarea { resize: vertical; min-height: 100px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.form-privacy {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--gray-mid);
  margin-top: 12px;
  text-align: center;
  justify-content: center;
}

/* ─── SIMULADOR RESULTADO ───────────────────────────────────── */
.simulador__resultado {
  border-top: 1px solid rgba(255,255,255,0.15);
  animation: slideDown 0.4s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.resultado__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  margin-bottom: 20px;
}

.resultado__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.resultado__item {
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.resultado__label {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.resultado__valor {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.resultado__disclaimer {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
  margin-bottom: 16px;
}

/* ─── CUSTO DE DISPONIBILIDADE (FASE / ANEEL) ───────────────── */
.resultado__cd {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(31, 159, 59, 0.08);
  border: 1px solid rgba(31, 159, 59, 0.3);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 16px 0 8px;
}

.resultado__cd svg {
  width: 18px;
  height: 18px;
  color: var(--green);
  stroke: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

.resultado__cd strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  display: block;
  margin-bottom: 4px;
}

.resultado__cd p {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
  margin: 0;
}

.resultado__cd strong span,
.resultado__cd p strong {
  color: var(--green);
  font-weight: 700;
}

/* ─── PROJETOS ──────────────────────────────────────────────── */
.projetos {
  background: var(--gray-light);
}

.projetos__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 48px;
}

.projeto__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  background: var(--gray-border);
}

.projeto__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.projeto__item:hover img {
  transform: scale(1.06);
}

.projeto__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  padding: 28px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.projeto__caption strong {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
}

.projeto__caption span {
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
}

.projetos__cta {
  text-align: center;
}

/* ─── DEPOIMENTOS / CAROUSEL ────────────────────────────────── */
.depoimentos {
  background: var(--white);
}

.carousel {
  position: relative;
  overflow: hidden;
}

.carousel__track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.testimonial {
  min-width: 100%;
  padding: 40px 28px;
  background: var(--gray-light);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial__stars {
  color: #F6A800;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testimonial__text {
  font-size: 1rem;
  font-style: italic;
  color: var(--gray-text);
  line-height: 1.75;
  border: none;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial__name {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--black);
}

.testimonial__role {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-mid);
}

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.carousel__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--gray-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  background: var(--white);
  flex-shrink: 0;
}

.carousel__btn svg {
  width: 18px;
  height: 18px;
  color: var(--gray-text);
  stroke: var(--gray-text);
}

.carousel__btn:hover {
  background: var(--green);
  border-color: var(--green);
}

.carousel__btn:hover svg {
  color: var(--white);
  stroke: var(--white);
}

.carousel__dots {
  display: flex;
  gap: 8px;
}

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-border);
  border: none;
  transition: all var(--transition);
  cursor: pointer;
  padding: 0;
}

.carousel__dot.active {
  background: var(--green);
  width: 24px;
  border-radius: 4px;
}

/* ─── FINANCIAMENTO ─────────────────────────────────────────── */
.financiamento {
  background: var(--dark-bg);
}

.financiamento__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

.financiamento__desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 28px;
}

.financiamento__cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fin-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}

.fin-card svg {
  width: 24px;
  height: 24px;
  color: var(--green);
  stroke: var(--green);
  flex-shrink: 0;
}

.fin-card strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.fin-card span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

.fin-highlight {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.fin-highlight__icon {
  width: 48px;
  height: 48px;
  color: var(--green);
  stroke: var(--green);
}

.fin-highlight__text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
}

.fin-highlight__text strong {
  color: #5FD87A;
}

.fin-highlight__sub {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
}

/* ─── FAQ ───────────────────────────────────────────────────── */
.faq {
  background: var(--gray-light);
}

.faq__list {
  max-width: 780px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-border);
  overflow: hidden;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--black);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
}

.faq__question:hover { color: var(--green); }

.faq__question[aria-expanded="true"] { color: var(--green); }

.faq__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gray-mid);
  stroke: var(--gray-mid);
  transition: transform var(--transition);
}

.faq__question[aria-expanded="true"] .faq__icon {
  transform: rotate(180deg);
  color: var(--green);
  stroke: var(--green);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq__answer.open {
  max-height: 300px;
}

.faq__answer p {
  padding: 0 24px 20px;
  font-size: 0.875rem;
  color: var(--gray-mid);
  line-height: 1.75;
  border-top: 1px solid var(--gray-border);
  padding-top: 16px;
}

/* ─── CONTATO ───────────────────────────────────────────────── */
.contato {
  background: var(--green);
}

.contato__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.contato__desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 28px;
}

.contato__canais {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.canal {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(0,0,0,0.15);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  transition: background var(--transition);
}

a.canal:hover { background: rgba(0,0,0,0.25); }

.canal svg {
  width: 22px;
  height: 22px;
  color: rgba(255,255,255,0.85);
  stroke: rgba(255,255,255,0.85);
  flex-shrink: 0;
}

.canal strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.canal span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
}

/* Contato form card */
.contato__form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-lg);
}

/* ─── FOOTER ────────────────────────────────────────────────── */
.footer {
  background: var(--dark-bg);
  padding-top: 64px;
  color: rgba(255,255,255,0.75);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer__logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.footer__logo-text {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
}

.footer__tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all var(--transition);
  color: rgba(255,255,255,0.75);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}

.footer__social a span {
  display: inline;
}

.footer__social a:hover {
  transform: translateY(-2px);
  border-color: transparent;
}

.footer__social-link--instagram:hover {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
}

.footer__social-link--facebook:hover {
  background: #1877f2;
  color: #fff;
}

.footer__social-link--whatsapp:hover {
  background: #25d366;
  color: #fff;
}

.footer__social svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ─── FOOTER DEV CREDIT ─────────────────────────────────────── */
.footer__dev {
  padding-top: 10px;
  padding-bottom: 4px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 8px;
}

.footer__dev p {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
}

.footer__dev strong {
  color: rgba(255,255,255,0.4);
  font-weight: 600;
}

.footer__nav-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav-list a,
.footer__nav-list span {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer__nav-list a:hover { color: var(--green); }

.footer__nav-list--contact li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__nav-list--contact svg {
  width: 14px;
  height: 14px;
  color: var(--green);
  stroke: var(--green);
  flex-shrink: 0;
}

.footer__bottom {
  padding-block: 20px;
}

.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer__bottom-links {
  display: flex;
  gap: 20px;
}

.footer__bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}

.footer__bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ─── WHATSAPP FLOAT ────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 990;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: waPulse 2.5s infinite;
  color: var(--white);
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37,211,102,.65);
  animation: none;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.5); }
  50%       { box-shadow: 0 4px 20px rgba(37,211,102,.5), 0 0 0 10px rgba(37,211,102,.12); }
}

.whatsapp-float__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  background: rgba(0,0,0,0.8);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.whatsapp-float__tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: rgba(0,0,0,0.8);
}

.whatsapp-float:hover .whatsapp-float__tooltip { opacity: 1; }

/* ─── COOKIE BANNER ─────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--dark-bg);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 20px;
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.cookie-banner__inner {
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.cookie-banner__text {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
}

.cookie-banner__text a {
  color: var(--green);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 12px;
}

/* ─── RESPONSIVE: 600px ─────────────────────────────────────── */
@media (min-width: 600px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .solucoes__grid { grid-template-columns: repeat(2, 1fr); }
  .projetos__grid { grid-template-columns: repeat(2, 1fr); }
  .porque__grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }

  .cookie-banner__inner {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }

  .footer__bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ─── RESPONSIVE: 768px ─────────────────────────────────────── */
@media (min-width: 768px) {
  :root { --section-gap: 96px; }

  .header__nav { display: flex; }
  .header__cta { display: inline-flex; }
  .hamburger  { display: none; }

  .hero__content { padding-block: 100px; }

  .simulador__inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .contato__inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .financiamento__inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .simulador__beneficios { flex-direction: column; }

  .footer__inner { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
}

/* ─── RESPONSIVE: 1024px ────────────────────────────────────── */
@media (min-width: 1024px) {
  :root { --section-gap: 112px; }

  .solucoes__grid { grid-template-columns: repeat(4, 1fr); }
  .projetos__grid { grid-template-columns: repeat(3, 1fr); }
  .porque__grid { grid-template-columns: repeat(3, 1fr); }

  .container { padding-inline: 32px; }
}

/* ─── RESPONSIVE: 1280px ────────────────────────────────────── */
@media (min-width: 1280px) {
  .hero__title { font-size: 4rem; }
}

/* ─── ACCESSIBILITY ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
  }
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* ─── ONDE ATUAMOS ──────────────────────────────────────────── */
.atuamos {
  background: var(--white);
}

.atuamos__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

/* Mapa SVG */
.atuamos__mapa {
  display: flex;
  justify-content: center;
}

.brasil-mapa {
  width: 100%;
  max-width: 320px;
  height: auto;
  filter: drop-shadow(0 8px 32px rgba(31,159,59,0.15));
}

.brasil-shape {
  fill: var(--gray-light);
  stroke: var(--gray-border);
  stroke-width: 1.5;
}

/* Pins dos estados ativos */
.estado-pin .pin-circle {
  fill: var(--green);
  opacity: 0.9;
  transition: transform 0.2s, opacity 0.2s;
  transform-origin: center;
  transform-box: fill-box;
}

.estado-pin:hover .pin-circle {
  opacity: 1;
  transform: scale(1.15);
}

.pin-text {
  fill: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 8px;
  font-weight: 800;
  text-anchor: middle;
  pointer-events: none;
  letter-spacing: 0.5px;
}

.conexoes line {
  stroke: var(--green);
  stroke-width: 1.5;
  stroke-dasharray: 4 3;
}

/* Cards dos estados */
.atuamos__estados {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.estado-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--gray-light);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.estado-card:hover {
  border-color: var(--green);
  box-shadow: 0 4px 16px rgba(31,159,59,.12);
  transform: translateY(-2px);
}

.estado-card__sigla {
  width: 48px;
  height: 48px;
  background: var(--green);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.estado-card__info strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 2px;
}

.estado-card__info span {
  font-size: 0.78rem;
  color: var(--gray-mid);
}

.atuamos__cta {
  grid-column: 1 / -1;
  background: var(--green-light);
  border: 1px solid rgba(31,159,59,.2);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.atuamos__cta p {
  font-size: 0.9rem;
  color: var(--green-dark);
  font-weight: 600;
}

/* Responsive */
@media (min-width: 768px) {
  .atuamos__inner {
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
  }

  .brasil-mapa { max-width: 380px; }

  .atuamos__estados {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .brasil-mapa { max-width: 420px; }

  .atuamos__estados {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .atuamos__cta {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .atuamos__cta p { text-align: left; }
}

/* ── Mapa 3D imagem ── */
.brasil-map-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 0 0 8px;
}

.brasil-mapa-img {
  width: 100%;
  max-width: 460px;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,0.15));
}

.brasil-map-legenda {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  font-size: 0.78rem;
  color: var(--gray-mid);
  font-weight: 600;
}

.legenda-item {
  display: flex;
  align-items: center;
  gap: 7px;
}

.legenda-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #dedede;
  border: 1px solid #c5c5c5;
  flex-shrink: 0;
}

.legenda-dot--ativo {
  background: var(--green);
  border-color: #16852f;
}

/* ══════════════════════════════════════════════════════
   SEÇÃO PROCESSO — Timeline do processo de instalação
   ══════════════════════════════════════════════════════ */
.processo { background: var(--gray-light); }

.processo__timeline {
  display: grid;
  gap: 24px;
  margin: 48px 0 40px;
  position: relative;
}

@media (min-width: 768px) {
  .processo__timeline {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }
  .processo__timeline::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(to right, var(--green), var(--green-dark));
    z-index: 0;
  }
}

.processo__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.processo__numero {
  width: 48px;
  height: 48px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 12px;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(31,159,59,.35);
}

.processo__icon {
  width: 56px;
  height: 56px;
  background: #fff;
  border: 2px solid rgba(31,159,59,.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 14px;
}

.processo__icon [data-lucide] { width: 24px; height: 24px; }

.processo__titulo {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.processo__desc {
  font-size: 0.78rem;
  color: var(--gray-mid);
  line-height: 1.55;
  margin-bottom: 8px;
}

.processo__prazo {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.processo__cta {
  text-align: center;
  margin-top: 8px;
}

/* ══════════════════════════════════════════════════════
   FAQ — Itens de destaque (perguntas emocionais)
   ══════════════════════════════════════════════════════ */
.faq__item--destaque {
  border-left: 3px solid var(--green);
  background: var(--green-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.faq__item--destaque .faq__question {
  font-weight: 700;
}

/* ══════════════════════════════════════════════════════
   SEÇÃO TRANSPARÊNCIA
   ══════════════════════════════════════════════════════ */
.transparencia {
  background: var(--black);
  padding: 56px 0;
}

.transparencia__inner {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .transparencia__inner {
    grid-template-columns: 1.2fr 1fr;
  }
}

.transparencia__bloco {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.transp__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: rgba(255,255,255,0.9);
}

.transp__item [data-lucide] {
  width: 20px;
  height: 20px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

.transp__item strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.transp__item span {
  font-size: 0.9rem;
  color: #fff;
  font-weight: 500;
}

.transparencia__titulo {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 14px;
}

.transparencia__desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  margin-bottom: 24px;
}

/* Resultado simulador — grid 3 colunas quando 6 itens */
@media (min-width: 600px) {
  .resultado__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Print styles */
@media print {
  .header, .whatsapp-float, .cookie-banner { display: none; }
}
