/* ============================================
   Great Power Solar — Landing Page
   Cores oficiais da referência
   ============================================ */

:root {
  --green: #00412B;
  --green-dark: #00281A;
  --green-soft: #0A5A3C;
  --green-muted: #0D4F36;
  --yellow: #FFCC00;
  --yellow-hover: #E6B800;
  --gray-bg: #F4F4F4;
  --gray-light: #F8F9FA;
  --text: #1A1A1A;
  --text-muted: #5C5C5C;
  --white: #FFFFFF;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  --shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.06);
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;
  --header-h: 78px;
  --font: "Montserrat", system-ui, -apple-system, sans-serif;
  --transition: 0.3s ease;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

button,
input {
  font-family: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--yellow);
  color: var(--green);
  padding: 0.75rem 1rem;
  z-index: 10000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--yellow);
  color: var(--text);
  border-color: var(--yellow);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--yellow-hover);
  border-color: var(--yellow-hover);
}

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

.btn-outline:hover,
.btn-outline:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
  min-height: 42px;
  padding: 0.55rem 1.2rem;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-dark {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.btn-dark:hover {
  background: var(--green-soft);
  border-color: var(--green-soft);
}

.btn-block {
  width: 100%;
}

.btn-nav {
  margin-left: 0.35rem;
}

/* Tags / badges */
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green);
  margin-bottom: 0.85rem;
}

.tag-on-dark {
  color: var(--green);
  background: var(--white);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.badge-light {
  background: var(--white);
  color: var(--green);
}

.section-header {
  margin-bottom: 2.5rem;
  max-width: 640px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  color: var(--text);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Header ========== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(0, 65, 43, 0.55) 0%, rgba(0, 65, 43, 0) 100%);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
  background: var(--green);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  overflow: hidden;
}

.logo {
  display: flex;
  align-items: center;
  align-self: stretch;
  height: 100%;
  max-height: var(--header-h);
  flex-shrink: 0;
  line-height: 0;
}

.logo img {
  display: block;
  /* Altura amarrada ao header; largura acompanha a proporção da imagem */
  height: calc(var(--header-h) - 22px);
  width: auto;
  max-width: min(200px, 55vw);
  object-fit: contain;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-list a:not(.btn) {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 500;
  transition: opacity var(--transition);
}

.nav-list a:not(.btn):hover,
.nav-list a:not(.btn):focus-visible {
  opacity: 0.8;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  color: var(--white);
  overflow: hidden;
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(0, 65, 43, 0.94) 0%,
    rgba(0, 65, 43, 0.82) 48%,
    rgba(0, 65, 43, 0.55) 100%
  );
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-content {
  max-width: 640px;
}

.hero h1 {
  font-size: clamp(1.85rem, 3.6vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--white);
}

.hero-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 520px;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-features li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-features i {
  color: var(--yellow);
}

.form-card--hero {
  width: 100%;
  max-width: 440px;
  margin-left: auto;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.form-card-title {
  font-size: 1.2rem;
  margin: 0 0 0.35rem;
  color: var(--green);
}

.form-card-subtitle {
  margin: 0 0 1.15rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contato-intro .btn {
  margin-top: 0.5rem;
}

.processo-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.processo-cta .btn {
  min-width: min(100%, 320px);
  box-shadow: 0 10px 28px rgba(255, 204, 0, 0.35);
}

.parceiro-content .btn {
  margin-top: 1.5rem;
}

.card-body .btn-primary {
  margin-top: 0.25rem;
  box-shadow: 0 8px 20px rgba(255, 204, 0, 0.35);
}

.card-body .btn-primary i {
  font-size: 1.15rem;
}

/* ========== Stats ========== */
.stats {
  background: var(--white);
  padding: 36px 0;
  border-bottom: 1px solid #ECECEC;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
}

.stat-item i {
  font-size: 1.55rem;
  color: #C5A100;
  width: 42px;
  text-align: center;
  flex-shrink: 0;
}

.stat-item strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text);
}

.stat-item span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========== Portfolio ========== */
.portfolio {
  background: var(--gray-bg);
}

.portfolio-grid {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.portfolio-grid::-webkit-scrollbar {
  display: none;
}

.portfolio-grid .card {
  flex: 0 0 calc((100% - 3rem) / 3);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.portfolio-grid .card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.portfolio-grid .card-body .btn {
  margin-top: auto;
}

.portfolio-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.portfolio-carousel:not(.is-scrollable) .portfolio-controls {
  display: none;
}

.portfolio-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
}

.portfolio-arrow:hover:not(:disabled) {
  transform: translateY(-2px);
}

.portfolio-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.portfolio-dots {
  display: flex;
  gap: 0.45rem;
}

.portfolio-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 65, 43, 0.25);
  transition: width var(--transition), background var(--transition);
}

.portfolio-dot.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--green);
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #E8EEEB;
}

.card-media.is-empty {
  background: linear-gradient(135deg, #E8EEEB 0%, #d5e0da 100%);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 0.5s ease;
}

.card:hover .card-media img {
  transform: scale(1.04);
}

.card-body {
  padding: 1.4rem 1.35rem 1.6rem;
}

.card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.card-body p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.btn-card-saiba {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--green);
  transition: color var(--transition), gap var(--transition);
}

.btn-card-saiba i {
  font-size: 1.05rem;
  color: #25D366;
}

.btn-card-saiba:hover,
.btn-card-saiba:focus-visible {
  color: var(--green-soft);
  gap: 0.65rem;
}

/* ========== Investimento ========== */
.investimento {
  background: var(--green);
  color: var(--white);
}

.investimento-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.investimento-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--white);
}

.investimento-content p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.6rem;
  max-width: 520px;
}

.investimento-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-box {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--green-muted);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--green);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.feature-box h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--white);
}

.feature-box p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}

/* ========== Parceiro WEG ========== */
.parceiro {
  background: var(--white);
}

.parceiro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.parceiro-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.5rem;
  padding: 1rem;
}

.parceiro-anos {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--green);
  max-width: 14ch;
}

.parceiro-selo {
  width: min(100%, 320px);
  aspect-ratio: 1 / 1;
}

.parceiro-selo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.parceiro-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  color: var(--text);
}

.check-list {
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.check-list i {
  color: var(--green);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* ========== Processo ========== */
.processo {
  background: var(--gray-bg);
}

.processo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem 1.35rem 1.7rem;
  box-shadow: var(--shadow-soft);
  min-height: 100%;
}

.step-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 0.85rem;
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ========== Mobilidade ========== */
.mobilidade {
  background: var(--white);
}

.mobilidade-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.mobilidade-content h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.mobilidade-content p {
  color: var(--text-muted);
  margin-bottom: 1.6rem;
}

.mobilidade-media {
  position: relative;
}

.mobilidade-media > img:first-child {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.app-float {
  position: absolute;
  left: 6%;
  bottom: -8%;
  width: min(28%, 140px);
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.25));
}

/* ========== Depoimentos ========== */
.depoimentos {
  background: var(--gray-bg);
}

.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.depoimento-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.55rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  height: 100%;
}

.depoimento-topo {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.depoimento-foto {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid rgba(0, 65, 43, 0.12);
  background: #d9dee3;
}

.depoimento-foto-placeholder {
  border-color: rgba(154, 163, 173, 0.35);
  object-fit: contain;
  padding: 0;
}

.depoimento-foto-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d9dee3;
  color: #9aa3ad;
  font-weight: 700;
  font-size: 1.25rem;
  border: none;
}

.depoimento-pessoa {
  min-width: 0;
}

.depoimento-nome {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1.25;
}

.depoimento-cargo {
  margin: 0.2rem 0 0.45rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.depoimento-estrelas {
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
  color: #fbbc04;
  font-size: 0.92rem;
  line-height: 1;
}

.depoimento-google {
  margin-left: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.depoimento-texto {
  margin: 0;
  position: relative;
}

.depoimento-texto::before {
  content: "“";
  position: absolute;
  top: -0.55rem;
  left: -0.15rem;
  font-size: 2.4rem;
  line-height: 1;
  color: rgba(0, 65, 43, 0.18);
  font-weight: 700;
}

.depoimento-texto p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ========== FAQ ========== */
.faq {
  background: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.faq-intro h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.faq-item {
  border-bottom: 1px solid #E5E5E5;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  border: 0;
  padding: 1.15rem 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

.faq-question i {
  color: var(--green);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.is-open .faq-question i {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 0 1.15rem;
}

.faq-answer p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ========== Contato / Form ========== */
.contato {
  background: var(--green);
  color: var(--white);
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contato-intro h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  color: var(--white);
}

.contato-intro p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 460px;
}

.form-card {
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-card.is-attention {
  border-color: #C0392B;
  box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.18), var(--shadow);
  animation: form-attention-pulse 0.7s ease-in-out 3;
}

.form-card.is-attention .form-group input,
.form-card.is-attention .form-group select {
  border-color: #C0392B;
}

@keyframes form-attention-pulse {
  0%,
  100% {
    transform: translateX(0);
    box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.18), var(--shadow);
  }
  25% {
    transform: translateX(-6px);
    box-shadow: 0 0 0 6px rgba(192, 57, 43, 0.28), var(--shadow);
  }
  75% {
    transform: translateX(6px);
    box-shadow: 0 0 0 6px rgba(192, 57, 43, 0.28), var(--shadow);
  }
}

@media (prefers-reduced-motion: reduce) {
  .form-card.is-attention {
    animation: none;
  }
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.form-group input,
.form-group select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #D9D9D9;
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2300412B' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 12px 8px;
  padding-right: 2.4rem;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 65, 43, 0.12);
}

.form-group input.is-invalid,
.form-group select.is-invalid {
  border-color: #C0392B;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-feedback {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  min-height: 1.3em;
}

.form-feedback.is-success {
  color: var(--green);
}

.form-feedback.is-error {
  color: #C0392B;
}

.form-card .btn-primary:disabled,
.form-simulacao .btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}

/* ========== Footer ========== */
.site-footer {
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 48px;
}

.footer-brand img {
  display: block;
  width: auto;
  max-width: 200px;
  height: auto;
  max-height: 56px;
  object-fit: contain;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.92rem;
  max-width: 360px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-nav h3,
.footer-social h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-nav a {
  display: inline-block;
  padding: 0.25rem 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--yellow);
}

.social-list {
  display: flex;
  gap: 0.75rem;
}

.social-list a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.social-list a:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--green);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.1rem 0;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1100;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.85rem;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: scale(1.06);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
  color: var(--white);
}

/* ========== Responsivo ========== */

/* Notebook: 992–1199 */
@media (max-width: 1199px) {
  .container {
    width: min(100% - 2rem, 960px);
  }

  .hero h1 {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  }

  .hero-grid,
  .investimento-grid,
  .parceiro-grid,
  .mobilidade-grid,
  .faq-grid,
  .contato-grid {
    gap: 2.25rem;
  }

  .case-featured {
    min-height: 360px;
  }
}

/* Tablet: 768–991 */
@media (max-width: 991px) {
  :root {
    --header-h: 70px;
  }

  .section {
    padding: 72px 0;
  }

  .nav-toggle {
    display: block;
    z-index: 1002;
  }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 320px);
    background: var(--green);
    padding: calc(var(--header-h) + 1.5rem) 1.5rem 2rem;
    transform: translateX(105%);
    transition: transform 0.35s ease;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.25);
    z-index: 1001;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .nav-list a:not(.btn) {
    display: block;
    width: 100%;
    padding: 0.85rem 0;
    font-size: 1.05rem;
  }

  .btn-nav {
    margin: 0.75rem 0 0;
    width: 100%;
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 999;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .portfolio-grid {
    gap: 1.25rem;
  }

  .portfolio-grid .card {
    flex-basis: calc((100% - 1.25rem) / 2);
  }

  .investimento-grid,
  .parceiro-grid,
  .mobilidade-grid,
  .faq-grid,
  .contato-grid,
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .form-card--hero {
    max-width: 520px;
    margin-inline: auto;
  }

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

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .app-float {
    bottom: -6%;
    width: min(26%, 120px);
  }
}

/* Celular: até 767 */
@media (max-width: 767px) {
  .container {
    width: min(100% - 1.5rem, 100%);
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-h) + 28px) 0 56px;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 65, 43, 0.9) 0%,
      rgba(0, 65, 43, 0.82) 100%
    );
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-features {
    flex-direction: column;
    gap: 0.65rem;
  }

  .form-card--hero {
    max-width: none;
  }

  .portfolio-grid {
    gap: 1rem;
  }

  .portfolio-grid .card {
    flex-basis: 100%;
  }

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

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

  .form-card {
    padding: 1.35rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
    font-size: 1.65rem;
  }

  .app-float {
    display: none;
  }
}

/* Celulares pequenos: até 480 */
@media (max-width: 480px) {
  :root {
    --header-h: 64px;
  }

  .logo img {
    max-width: min(150px, 50vw);
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .hero-text {
    font-size: 0.95rem;
  }

  .section-header h2,
  .investimento-content h2,
  .parceiro-content h2,
  .mobilidade-content h2,
  .faq-intro h2,
  .contato-intro h2 {
    font-size: 1.45rem;
  }

  .stat-item {
    align-items: flex-start;
  }

  .feature-box {
    padding: 1.1rem;
  }

  .case-featured {
    min-height: 220px;
  }

  .btn {
    min-height: 46px;
    font-size: 0.9rem;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .card,
  .whatsapp-float,
  .nav {
    transition: none;
  }
}
