/* ===================================================================
   São Gabriel Energia Solar, folha de estilos
   =================================================================== */

:root {
  --blue-navy: #0b2f5c;
  --blue-royal: #1b5fae;
  --blue-light: #2c6cb0;
  --yellow: #fdb813;
  --orange: #f7941d;
  --white: #ffffff;
  --gray-bg: #f4f8fc;
  --text-dark: #10233f;
  --text-muted: #5a6b85;

  --gradient-sun: linear-gradient(135deg, var(--yellow), var(--orange));
  --gradient-blue: linear-gradient(135deg, var(--blue-royal), var(--blue-navy));

  --shadow-blue: 0 20px 45px -15px rgba(27, 95, 174, 0.45);
  --shadow-orange: 0 20px 45px -15px rgba(247, 148, 29, 0.4);

  --radius: 20px;
  --container: 1180px;

  --font-head: "Baloo 2", "Poppins", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }

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

.icon { width: 1em; height: 1em; }

/* pular para o conteúdo: invisível até receber foco por teclado */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 1000;
  background: var(--blue-navy);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 20px; }

/* anel de foco consistente para navegação por teclado, sitewide */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- scroll animation hooks ----------
   .reveal e .parallax-el nao levam estado inicial no CSS: o script.js
   define opacity/transform via GSAP so, entao sem JS ou com
   prefers-reduced-motion o conteudo aparece normal, no fluxo do documento. */

/* ---------- barra de progresso de leitura ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--gradient-sun);
  transform: scaleX(0);
  transform-origin: 0 0;
  z-index: 600;
  will-change: transform;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.btn .icon { font-size: 1.2em; }
.btn--primary {
  background: var(--gradient-sun);
  color: var(--blue-navy);
  box-shadow: var(--shadow-orange);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 25px 50px -15px rgba(247, 148, 29, 0.55); }
.btn--outline {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
  backdrop-filter: blur(6px);
}
.btn--outline:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-3px); }
.btn--cta {
  background: #25d366;
  color: var(--white);
  padding: 11px 20px;
  box-shadow: 0 10px 25px -8px rgba(37, 211, 102, 0.6);
}
.btn--cta:hover { transform: translateY(-2px); }
.btn--lg { padding: 18px 36px; font-size: 1.1rem; }

/* ===================================================================
   HEADER
   =================================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(11, 47, 92, 0.08);
  transition: padding 0.3s ease;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 20px;
  transition: padding 0.3s ease;
}
.header.is-scrolled .header__inner { padding: 6px 20px; }
.header__brand { display: flex; align-items: center; }
.header__logo {
  height: 80px;
  width: auto;
  border-radius: 12px;
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.header.is-scrolled .header__logo { height: 46px; }
.header__nav {
  display: none;
  gap: 32px;
}
.nav__link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  position: relative;
  padding: 6px 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 3px;
  background: var(--gradient-sun);
  border-radius: 3px;
  transition: width 0.25s ease;
}
.nav__link:hover::after { width: 100%; }

.header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
}
.header__burger span {
  width: 100%; height: 3px;
  background: var(--blue-navy);
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.header__burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.header__burger.open span:nth-child(2) { opacity: 0; }
.header__burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (min-width: 900px) {
  .header__nav { display: flex; }
  .header__burger { display: none; }
}

@media (max-width: 899px) {
  .header__nav {
    display: flex;
    position: fixed;
    z-index: 490;
    /* 100px = altura do header no topo da pagina (logo 80px + padding 10px*2);
       fica sempre abaixo dele, mesmo antes de rolar a pagina */
    top: 104px; right: 20px; left: 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(11, 47, 92, 0.2);
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .header__nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .header__actions .btn--cta span { display: none; }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 480;
    background: rgba(11, 47, 92, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .nav-backdrop.open { opacity: 1; pointer-events: auto; }
}
@media (min-width: 900px) {
  .nav-backdrop { display: none; }
}

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 90px;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,47,92,0.75) 0%, rgba(11,47,92,0.55) 40%, rgba(11,47,92,0.92) 100%),
    linear-gradient(120deg, rgba(11,47,92,0.6), rgba(27,95,174,0.35));
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  z-index: 0;
}
.hero__blob--1 {
  width: 420px; height: 420px;
  background: var(--gradient-sun);
  top: -120px; right: -100px;
  opacity: 0.35;
}
.hero__blob--2 {
  width: 300px; height: 300px;
  background: var(--blue-light);
  bottom: -80px; left: -80px;
  opacity: 0.4;
}

.hero__content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 60px 20px 100px;
}
.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  max-width: 820px;
  margin-bottom: 20px;
}
.text-yellow { color: var(--yellow); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.typewriter { display: inline-block; }
.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  margin-left: 4px;
  background: var(--yellow);
  vertical-align: -0.1em;
  animation: typewriter-blink 0.9s steps(1) infinite;
}
@keyframes typewriter-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .typewriter-cursor { animation: none; opacity: 1; }
}
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 620px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 34px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 44px; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}
.trust__item .icon { color: var(--yellow); font-size: 1.1em; }

.hero__scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--white);
  font-size: 1.6rem;
  animation: bounce 2.2s infinite;
  opacity: 0.85;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

/* ---------- section diagonal dividers ---------- */
.divider {
  position: relative;
  height: 70px;
  margin-top: -1px;
  background: var(--white);
}
.divider--down { clip-path: polygon(0 0, 100% 0, 100% 30%, 0 100%); background: var(--gray-bg); }
.divider--up { clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%); background: var(--blue-navy); }

/* ===================================================================
   BRANDS STRIP
   =================================================================== */
.brands { background: var(--gray-bg); padding: 60px 0 70px; position: relative; overflow: hidden; }
.brands__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.brands__blob--1 { width: 320px; height: 320px; background: var(--gradient-sun); top: -140px; left: 8%; }
.brands__blob--2 { width: 280px; height: 280px; background: var(--blue-light); bottom: -140px; right: 10%; }

.brands__label {
  position: relative;
  z-index: 1;
  text-align: center;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 34px;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
}
.brands__row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px 24px;
}

/* chip em vidro liquido: translucido, com brilho no topo e borda fina */
.brand-chip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 184px;
  height: 108px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow:
    0 10px 30px -12px rgba(11, 47, 92, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  overflow: hidden;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.brand-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 45%);
  pointer-events: none;
}
.brand-chip:hover {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 22px 48px -14px rgba(27, 95, 174, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
/* translateY do hover fica a cargo do GSAP, mesmo motivo do .card/.step */

/* faixa de brilho que varre o chip no hover, controlada via GSAP (script.js) */
.brand-chip__shine {
  position: absolute;
  top: -60%; left: -35%;
  width: 35%; height: 220%;
  background: linear-gradient(105deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.75) 50%, rgba(255,255,255,0) 100%);
  pointer-events: none;
  z-index: 2;
}

.brand-chip img {
  position: relative;
  z-index: 1;
  height: 48px;
  width: auto;
  max-width: 80%;
  object-fit: contain;
  filter: grayscale(1) opacity(0.75);
  transition: filter 0.25s ease;
}
.brand-chip:hover img { filter: grayscale(0) opacity(1); }

/* ===================================================================
   SECTION HEADINGS (shared)
   =================================================================== */
.eyebrow {
  display: inline-block;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  margin-bottom: 12px;
}
.eyebrow--light { color: var(--yellow); }
.section-title {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  max-width: 700px;
  margin-bottom: 50px;
}
.section-title--light { color: var(--white); margin-bottom: 30px; }

/* ===================================================================
   SERVICES
   =================================================================== */
.services { padding: 90px 0 60px; background: var(--gray-bg); }
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 640px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.35s ease;
}
/* hover (translateY) fica a cargo do GSAP: mesma propriedade "transform"
   usada na entrada por scroll, então não pode ter transição CSS própria */
.card--shadow-blue:hover { box-shadow: var(--shadow-blue); }
.card--shadow-orange:hover { box-shadow: var(--shadow-orange); }
.card__img { aspect-ratio: 4/3; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
/* foto vertical de produto: mostra inteira, sem cortar, mesmo tamanho de card */
.card__img--contain { background: var(--white); }
.card__img--contain img { object-fit: contain; padding: 14px; }
.card:hover .card__img img { transform: scale(1.08); }
.card__body { padding: 26px; position: relative; }
.card__icon {
  position: absolute;
  top: -30px; right: 26px;
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  box-shadow: 0 12px 24px -8px rgba(0,0,0,0.3);
}
.card__icon--yellow { background: var(--gradient-sun); color: var(--blue-navy); }
.card__icon--blue { background: var(--gradient-blue); }
.card__body h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card__body p { color: var(--text-muted); font-size: 0.95rem; }

.card--cta {
  background: var(--gradient-blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.card--cta__inner { padding: 40px 30px; }
.card--cta h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card--cta p { color: rgba(255,255,255,0.85); margin-bottom: 22px; font-size: 0.95rem; }

/* ===================================================================
   WHY / CALCULATOR
   =================================================================== */
.why { background: var(--blue-navy); color: var(--white); padding: 90px 0; position: relative; overflow: hidden; }
.why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: start;
}
@media (min-width: 900px) { .why__grid { grid-template-columns: 1.1fr 0.9fr; } }

.why__list { display: flex; flex-direction: column; gap: 16px; margin-top: 10px; }
.why__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.02rem;
  font-weight: 500;
}
.why__list .icon {
  flex-shrink: 0;
  margin-top: 3px;
  width: 24px; height: 24px;
  background: var(--gradient-sun);
  color: var(--blue-navy);
  border-radius: 50%;
  padding: 4px;
}

.why__calc {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-blue);
}
.why__calc h3 { font-size: 1.3rem; margin-bottom: 8px; }
.why__calc-desc { color: rgba(255,255,255,0.75); font-size: 0.92rem; margin-bottom: 22px; }
.why__calc label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: rgba(255,255,255,0.85); }
.why__calc input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: none;
  font-size: 1.1rem;
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 22px;
  color: var(--blue-navy);
}
.why__calc input:focus { outline: 3px solid var(--yellow); }
.why__calc-result {
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 16px;
}
.calc-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 0.95rem; }
.calc-row strong { font-family: var(--font-head); font-size: 1.2rem; color: var(--yellow); }
.calc-row + .calc-row { border-top: 1px solid rgba(255,255,255,0.12); }
.why__calc-note { font-size: 0.875rem; color: rgba(255,255,255,0.72); }

/* ===================================================================
   STEPS
   =================================================================== */
.steps { padding: 90px 0; background: var(--white); }
.steps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
@media (min-width: 640px) { .steps__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps__grid { grid-template-columns: repeat(4, 1fr); } }

.step {
  position: relative;
  background: var(--gray-bg);
  border-radius: var(--radius);
  padding: 34px 26px;
  border-top: 4px solid transparent;
  border-image: var(--gradient-sun) 1;
  transition: box-shadow 0.3s ease;
}
/* translateY do hover fica a cargo do GSAP, ver script.js */
.step:hover { box-shadow: var(--shadow-orange); }
.step__number {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gradient-blue);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.92rem; }

/* ===================================================================
   IMPACT (faixa com foto de usina solar, parallax)
   =================================================================== */
.impact {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.impact__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.impact__img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.impact__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,47,92,0.85) 0%, rgba(11,47,92,0.65) 45%, rgba(11,47,92,0.85) 100%);
}
.impact__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 70px 20px;
}
.impact__title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  max-width: 760px;
  margin: 0 auto 16px;
}
.impact__subtitle {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin: 0 auto;
}

/* ===================================================================
   GALLERY
   =================================================================== */
.gallery { background: var(--gray-bg); padding: 90px 0; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (min-width: 700px) { .gallery__grid { grid-template-columns: repeat(4, 1fr); } }
.gallery__item {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1/1;
  box-shadow: 0 10px 30px -10px rgba(11,47,92,0.25);
  will-change: transform;
}
.gallery__item--big { grid-column: span 2; grid-row: span 2; aspect-ratio: 1/1; }
@media (max-width: 699px) { .gallery__item--big { grid-column: span 2; aspect-ratio: 16/10; } }
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery__item:hover img { transform: scale(1.1); }

/* ===================================================================
   FAQ
   =================================================================== */
.faq { padding: 90px 0; background: var(--white); }
.faq__wrap { max-width: 820px; }
.faq__list { display: flex; flex-direction: column; gap: 14px; }
.faq__item {
  background: var(--gray-bg);
  border-radius: 16px;
  overflow: hidden;
}
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  cursor: pointer;
}
.faq__chevron { color: var(--orange); transition: transform 0.3s ease; flex-shrink: 0; }
.faq__item.open .faq__chevron { transform: rotate(180deg); }
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
}
.faq__answer p { color: var(--text-muted); font-size: 0.95rem; padding-bottom: 0; }
.faq__item.open .faq__answer { max-height: 220px; padding: 0 24px 22px; }

/* ===================================================================
   FINAL CTA
   =================================================================== */
.final-cta {
  position: relative;
  background: var(--gradient-blue);
  padding: 100px 0;
  overflow: hidden;
  text-align: center;
}
.final-cta__blob {
  position: absolute;
  width: 500px; height: 500px;
  background: var(--gradient-sun);
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.3;
  top: -200px; left: 50%;
  transform: translateX(-50%);
}
.final-cta__content { position: relative; z-index: 1; color: var(--white); }
.final-cta__content h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; }
.final-cta__content p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 34px; font-size: 1.05rem; }
.final-cta__actions { display: flex; justify-content: center; }

/* ===================================================================
   PÁGINA LEGAL (política de privacidade)
   =================================================================== */
.legal { padding: 150px 0 90px; background: var(--white); }
.legal__wrap { max-width: 760px; }
.legal .eyebrow { color: var(--orange); }
.legal h1 { margin-bottom: 30px; }
.legal h2 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--blue-navy);
  margin: 36px 0 14px;
}
.legal p { color: var(--text-muted); font-size: 1rem; margin-bottom: 14px; }
.legal p a { color: var(--blue-royal); text-decoration: underline; text-underline-offset: 2px; }
.legal p a:hover { color: var(--blue-navy); }
.legal__list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.legal__list li { color: var(--text-muted); font-size: 1rem; padding-left: 22px; position: relative; }
.legal__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gradient-sun);
}
.legal__list strong { color: var(--text-dark); }
.legal__back { margin-top: 30px; }

/* ===================================================================
   FOOTER
   =================================================================== */
.footer { background: var(--blue-navy); color: rgba(255,255,255,0.85); padding: 70px 0 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__logo { height: 60px; border-radius: 12px; margin-bottom: 14px; background: var(--white); padding: 4px; }
.footer__brand p { font-size: 0.88rem; color: rgba(255,255,255,0.6); }
.footer__col h3 { font-family: var(--font-head); color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.footer__col a, .footer__col p { display: block; font-size: 0.92rem; margin-bottom: 10px; color: rgba(255,255,255,0.75); }
.footer__col a:hover { color: var(--yellow); }
.footer__bottom {
  padding: 24px 0;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}
.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
@media (min-width: 700px) {
  .footer__bottom-inner { flex-direction: row; justify-content: space-between; padding-right: 76px; text-align: left; }
}
.footer__legal { display: flex; flex-direction: column; gap: 6px; align-items: center; }
@media (min-width: 700px) {
  .footer__legal { align-items: flex-start; }
}
.footer__credit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.72);
  font-size: 0.875rem;
  transition: color 0.25s ease;
}
.footer__credit:hover { color: rgba(255,255,255,0.9); }
.footer__credit-logo { height: 26px; width: auto; }
.footer__credit-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
}
.footer__credit-name b { color: var(--yellow); font-weight: 800; }
.footer__credit:hover .footer__credit-name { color: #ffffff; }

.footer__privacy {
  font-size: 0.875rem;
}
.footer__privacy a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__privacy a:hover { color: var(--white); }

/* ---------- contador de visitas: odômetro mecânico ---------- */
.visit-odometer {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 6px;
  border-radius: 10px;
  background: linear-gradient(180deg, #123f75 0%, #0a2c56 100%);
  border: 1px solid rgba(253, 184, 19, 0.32);
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.4),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    0 2px 8px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}
.visit-odometer__eye {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  color: var(--yellow);
  flex-shrink: 0;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}
.visit-odometer__eye .icon { width: 10px; height: 10px; }
.visit-odometer__digits {
  display: flex;
  gap: 1px;
  padding: 2px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 4px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.55);
}
.visit-odometer__digit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12px;
  height: 17px;
  background: #061f42;
  color: #f5f1e6;
  font-family: "Courier New", ui-monospace, monospace;
  font-weight: 700;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  border-radius: 2px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.65);
}
.visit-odometer__digit--sep {
  background: none;
  box-shadow: none;
  color: rgba(253, 184, 19, 0.6);
  min-width: 4px;
  align-items: flex-end;
  padding-bottom: 1px;
  font-size: 9px;
}
.visit-odometer__label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(253, 184, 19, 0.75);
}

@keyframes visit-odometer-roll {
  0% { transform: translateY(-55%); opacity: 0.25; }
  55% { transform: translateY(8%); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.visit-odometer__digit.is-rolling { animation: visit-odometer-roll 0.4s cubic-bezier(0.22, 0.8, 0.32, 1); }

@media (max-width: 480px) {
  .visit-odometer { padding: 4px 10px 4px 5px; gap: 5px; }
  .visit-odometer__digit { min-width: 10px; height: 15px; font-size: 10px; }
  .visit-odometer__label { font-size: 0.55rem; }
}

/* ===================================================================
   FLOATING WHATSAPP
   =================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.7);
  z-index: 400;
  animation: pulse 2.4s ease-out 3;
}
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), 0 10px 30px -8px rgba(37,211,102,0.7); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), 0 10px 30px -8px rgba(37,211,102,0.7); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 10px 30px -8px rgba(37,211,102,0.7); }
}

/* ===================================================================
   PREFERÊNCIA POR MENOS MOVIMENTO
   =================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__scroll, .whatsapp-float { animation: none; }
  .visit-odometer__digit.is-rolling { animation: none; }
}
