/*
  Ecolife | Direção editorial imersiva — novembro/2026
  CSS incremental: não altera GTM, consentimento, links do Tintim ou eventos.
  Fotografias WebP separadas para desktop e mobile, carregadas por <picture>.
*/
:root {
  --cinematic-green: #83ff30;
  --cinematic-cream: #f4f8ef;
}



/* Faixa fina em loop infinito para reforço promocional */
.campaign-ticker {
  position: relative;
  z-index: 30;
  overflow: hidden;
  background: linear-gradient(90deg, #06140d 0%, #0a2412 45%, #06140d 100%);
  border-top: 1px solid rgba(131,255,48,.16);
  border-bottom: 1px solid rgba(131,255,48,.18);
}
.campaign-ticker-track {
  display: flex;
  width: max-content;
  min-width: 100%;
  animation: campaignTickerMove 22s linear infinite;
  will-change: transform;
}
.campaign-ticker-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 26px;
  padding: 10px 0;
}
.campaign-ticker-group span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-left: 26px;
  color: #e8f6de;
  font-size: .72rem;
  line-height: 1;
  letter-spacing: .22em;
  text-transform: uppercase;
  white-space: nowrap;
  font-weight: 900;
}
.campaign-ticker-group span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: var(--cinematic-green);
  box-shadow: 0 0 12px rgba(131,255,48,.65);
}
@keyframes campaignTickerMove {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-50%,0,0); }
}

/* HERO: fotografia de fachada ocupando a largura inteira */
.hero.hero-cinematic {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(720px, 91svh, 1000px);
  padding: 164px 0 93px;
  overflow: hidden;
  isolation: isolate;
  background: #0a1b11;
}
.hero-cinematic .cinematic-hero-bg,
.scene-panel .scene-bg {
  position: absolute;
  z-index: -3;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.hero-cinematic .cinematic-hero-bg img,
.scene-panel .scene-bg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.hero-cinematic .cinematic-hero-bg img { object-position: 50% 55%; }
.hero-cinematic .cinematic-hero-scrim {
  z-index: -2;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(3,13,6,.81), transparent 20%, transparent 75%, rgba(3,14,7,.38)),
    linear-gradient(90deg, rgba(3,16,8,.97) 0%, rgba(3,16,8,.93) 24%, rgba(3,15,8,.79) 41%, rgba(3,16,8,.28) 71%, rgba(4,14,8,.10) 100%);
}
.hero-cinematic .cinematic-hero-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  grid-template-columns: none;
  width: min(calc(100% - 112px), 1260px);
  gap: 0;
  margin: 0 auto;
}
.hero-cinematic .cinematic-hero-panel {
  width: min(100%, 665px);
  max-width: 665px;
}
.hero-cinematic .cinematic-hero-panel h1 {
  max-width: 650px;
  margin: 9px 0 23px;
  font-size: clamp(3.5rem, 5.0vw, 5.6rem);
  line-height: 1.07;
  letter-spacing: -.06em;
  color: #fcfff9;
  text-wrap: balance;
}
.hero-cinematic .campaign-headline-bright { color: var(--cinematic-green); }
.hero-cinematic .cinematic-hero-panel .lead {
  max-width: 568px;
  margin-bottom: 25px;
  font-size: clamp(.98rem, 1.22vw, 1.13rem);
  line-height: 1.67;
  color: #edf5e8;
}
.hero-cinematic .campaign-hero-kicker { margin: 12px 0 0; }
.cinematic-offer {
  width: fit-content;
  max-width: 100%;
  padding: 19px 22px 17px;
  background: linear-gradient(135deg, rgba(0,8,3,.77), rgba(11,34,14,.72));
  border: 1px solid rgba(131,255,48,.38);
  border-radius: 8px;
  box-shadow: 0 20px 52px rgba(0,0,0,.20), inset 0 1px rgba(255,255,255,.06);
  backdrop-filter: blur(7px);
}
.cinematic-offer-kicker {
  display: block;
  margin-bottom: 6px;
  color: #cbf5b7;
  font-size: .69rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 900;
}
.cinematic-offer-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  line-height: 1.1;
}
.cinematic-offer-price > span:first-child {
  color: #edf6e8;
  font-weight: 800;
  font-size: 1.0rem;
}
.cinematic-offer-price s { font-size: 1.4rem; text-decoration-thickness: 2px; text-decoration-color: var(--cinematic-green); }
.cinematic-offer-arrow { color: var(--cinematic-green); font-size: 1.3rem; }
.cinematic-offer-price strong {
  color: var(--cinematic-green);
  font-size: clamp(2.45rem, 3.8vw, 3.65rem);
  font-weight: 900;
  letter-spacing: -.065em;
}
.cinematic-offer-price strong small { font-size: .36em; letter-spacing: -.01em; }
.cinematic-offer-term { display: block; margin-top: 4px; color: #e3eedb; font-size: .69rem; }
.hero-cinematic .cinematic-hero-cta { margin: 25px 0 17px; }
.hero-cinematic .cinematic-hero-cta .btn {
  min-height: 60px;
  max-width: 100%;
  padding: 0 28px;
  background: var(--cinematic-green);
  color: #0e240d;
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 12px 40px rgba(31,125,19,.26);
}
.hero-cinematic .cinematic-hero-cta .btn:hover { background: #baff7c; }
.cinematic-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: .75rem;
  font-weight: 700;
  color: #f1f8e9;
}
.cinematic-illustration-note {
  position: absolute;
  z-index: 4;
  bottom: 26px;
  right: max(38px, calc((100vw - 1260px)/2));
  margin: 0;
  padding: 7px 10px;
  border-radius: 4px;
  font-size: .67rem;
  line-height: 1.4;
  background: rgba(2,12,6,.65);
  color: #f1f7e9;
  backdrop-filter: blur(6px);
}

/* CENAS HUMANIZADAS: imagens amplas e copy legível sobre filtro lateral */
.scene-panel {
  position: relative;
  z-index: 0;
  isolation: isolate;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: clamp(640px, 76svh, 820px);
  padding: 130px 0 116px;
  margin: 0;
  background: #0b2017;
  overflow: hidden;
}
.scene-panel::before { display: none !important; }
.scene-panel .scene-bg { z-index: -3; }
.scene-panel .scene-bg img { object-position: center 54%; }
.scene-panel .scene-shade { position: absolute; z-index: -2; inset: 0; }
.scene-panel.scene-planning .scene-shade {
  background:
    linear-gradient(0deg, rgba(2,13,8,.65) 0%, transparent 30%),
    linear-gradient(90deg, rgba(3,18,11,.04) 0%, rgba(3,18,11,.14) 31%, rgba(3,18,11,.85) 65%, rgba(3,18,11,.96) 100%);
}
.scene-panel.scene-backyard .scene-shade {
  background:
    linear-gradient(0deg, rgba(2,13,8,.60) 0%, transparent 32%),
    linear-gradient(90deg, rgba(3,18,11,.95) 0%, rgba(3,18,11,.81) 27%, rgba(3,18,11,.29) 66%, rgba(3,18,11,.04) 100%);
}
.scene-panel .scene-inner {
  width: min(calc(100% - 112px), 1260px);
  display: flex;
  align-items: center;
  margin-inline: auto;
}
.scene-panel .scene-copy-right { justify-content: flex-end; }
.scene-panel .scene-copy-left { justify-content: flex-start; }
.scene-panel .scene-copy {
  width: min(100%, 550px);
  color: #fff;
}
.scene-panel .scene-label {
  display: block;
  margin-bottom: 17px;
  color: var(--cinematic-green);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.scene-panel .scene-copy h2 {
  max-width: 560px;
  margin: 0 0 23px;
  font-size: clamp(2.85rem, 4.4vw, 4.7rem);
  line-height: 1.12;
  color: #fff;
  letter-spacing: -.055em;
  font-weight: 600;
  text-wrap: balance;
}
.scene-panel .scene-copy .accent-script { color: #d6f9bd; font-style: italic; }
.scene-panel .scene-copy p {
  max-width: 520px;
  margin: 0 0 20px;
  color: #f0f6ec;
  font-size: clamp(.98rem, 1.15vw, 1.1rem);
  line-height: 1.7;
}
.scene-panel .scene-mini-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}
.scene-mini-benefits span {
  color: #edf9e5;
  padding: 8px 11px;
  font-size: .73rem;
  font-weight: 800;
  border-radius: 999px;
  background: rgba(6,28,11,.55);
  border: 1px solid rgba(227,255,212,.21);
}
.scene-panel .scene-copy > .btn {
  min-height: 57px;
  padding: 0 24px;
  background: var(--cinematic-green);
  color: #10260d;
  font-weight: 900;
  box-shadow: 0 12px 35px rgba(5,31,8,.20);
}
.scene-panel .scene-copy > .btn:hover { background: #baff85; }
.scene-panel .scene-caption {
  position: absolute;
  bottom: 20px;
  left: max(42px, calc((100vw - 1260px)/2));
  z-index: 5;
  color: #f5f9ef;
  background: rgba(2,16,7,.58);
  padding: 7px 11px;
  margin: 0;
  max-width: 490px;
  border-radius: 4px;
  font-size: .67rem;
  line-height: 1.4;
}
.scene-panel.scene-planning .scene-caption {
  left: max(42px, calc((100vw - 1260px)/2));
}

/* Transição visual com informação: outras seções claras mantêm respiro */
.payment { position: relative; }
.payment .section-heading h2 { text-wrap: balance; }
.real .section-intro p { max-width: 650px; }

@media (max-width: 1100px) and (min-width: 761px) {
  .hero.hero-cinematic { min-height: 750px; padding: 160px 0 72px; }
  .hero-cinematic .cinematic-hero-content,
  .scene-panel .scene-inner { width: calc(100% - 64px); }
  .hero-cinematic .cinematic-hero-panel { width: 61%; }
  .hero-cinematic .cinematic-hero-panel h1 { font-size: clamp(3.05rem, 5.5vw, 4.55rem); }
  .scene-panel .scene-copy { width: 51%; }
  .scene-panel .scene-copy h2 { font-size: clamp(2.7rem, 4.7vw, 3.7rem); }
}

/* No celular, a imagem ocupa toda a seção, mas o conteúdo fica sobre um fundo de contraste,
   evitando texto sobre o rosto das pessoas e mantendo CTA em área confortável para toque. */
@media (max-width: 760px) {
  .hero.hero-cinematic {
    min-height: 850px;
    padding: 143px 0 75px;
    align-items: flex-end;
  }
  .hero-cinematic .cinematic-hero-bg img { object-position: center 30%; }
  .hero-cinematic .cinematic-hero-scrim {
    background:
      linear-gradient(0deg, rgba(3,16,8,.97) 0%, rgba(3,16,8,.94) 34%, rgba(3,16,8,.56) 67%, rgba(3,16,8,.52) 100%);
  }
  .hero-cinematic .cinematic-hero-content { display: block; width: calc(100% - 40px); }
  .hero-cinematic .cinematic-hero-panel { width: 100%; max-width: none; }
  .hero-cinematic .cinematic-hero-panel h1 {
    font-size: clamp(2.55rem, 9.45vw, 3.72rem);
    line-height: 1.05;
    margin: 8px 0 13px;
  }
  .hero-cinematic .cinematic-hero-panel .lead { font-size: .93rem; line-height: 1.53; margin-bottom: 14px; }
  .hero-cinematic .campaign-hero-kicker { font-size: .61rem; margin: 7px 0 0; }
  .hero-cinematic .cinematic-offer { padding: 12px 14px 11px; }
  .hero-cinematic .cinematic-offer-kicker { font-size: .58rem; }
  .hero-cinematic .cinematic-offer-price { gap: 8px; }
  .hero-cinematic .cinematic-offer-price s { font-size: 1.02rem; }
  .hero-cinematic .cinematic-offer-price strong { font-size: clamp(2rem, 9.3vw, 2.75rem); }
  .hero-cinematic .cinematic-offer-term { font-size: .60rem; }
  .hero-cinematic .cinematic-hero-cta { margin: 16px 0 12px; }
  .hero-cinematic .cinematic-hero-cta .btn { width: 100%; min-height: 56px; padding: 0 12px; font-size: .84rem; }
  .cinematic-trust { gap: 7px 10px; font-size: .67rem; }
  .cinematic-illustration-note { left: 20px; right: 20px; bottom: 16px; text-align: center; font-size: .60rem; }

  .scene-panel {
    min-height: 770px;
    padding: 370px 0 78px;
    align-items: flex-end;
  }
  .scene-panel .scene-bg img { object-position: center 22%; }
  .scene-panel.scene-planning .scene-shade,
  .scene-panel.scene-backyard .scene-shade {
    background:
      linear-gradient(0deg, rgba(3,18,11,.97) 0%, rgba(3,18,11,.94) 36%, rgba(3,18,11,.52) 68%, rgba(3,18,11,.05) 100%);
  }
  .scene-panel .scene-inner { width: calc(100% - 40px); }
  .scene-panel .scene-copy { width: 100%; }
  .scene-panel .scene-label { margin-bottom: 10px; font-size: .65rem; }
  .scene-panel .scene-copy h2 { font-size: clamp(2.5rem, 9.0vw, 3.7rem); margin-bottom: 15px; }
  .scene-panel .scene-copy p { font-size: .92rem; line-height: 1.55; }
  .scene-panel .scene-copy > .btn { width: 100%; min-height: 56px; padding: 0 16px; font-size: .88rem; }
  .scene-panel .scene-mini-benefits { margin-bottom: 15px; gap: 6px; }
  .scene-mini-benefits span { font-size: .68rem; padding: 6px 9px; }
  .scene-panel .scene-caption,
  .scene-panel.scene-planning .scene-caption {
    left: 20px; right: 20px; bottom: 14px; max-width: none;
    text-align: center; font-size: .59rem;
  }
}
@media (max-width: 380px) {
  .hero.hero-cinematic { min-height: 865px; }
  .hero-cinematic .cinematic-hero-panel h1 { font-size: 2.48rem; }
  .scene-panel { padding-top: 330px; }
  .scene-panel .scene-copy h2 { font-size: 2.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-cinematic .reveal,
  .scene-panel .reveal { opacity: 1 !important; transform: none !important; }
}

/* Mobile: CTA da oferta sem obstrução; contato flutuante compacto e animado. */
@media (max-width: 760px) {
  .hero.hero-cinematic { min-height: 790px; }
  .floating-whatsapp {
    width: 58px;
    height: 58px;
    min-width: 58px;
    min-height: 58px;
    padding: 7px;
    right: 13px;
    bottom: 15px;
    justify-content: center;
    border-radius: 50%;
    gap: 0;
  }
  .floating-whatsapp .floating-whatsapp-copy { display: none; }
  .floating-whatsapp .floating-whatsapp-icon { width: 43px; height: 43px; }
}


/* Apenas a faixa animada no topo; a barra estatica foi removida. */
.site-header { top: 34px; }
body.campaign-expired .site-header { top: 0; }
@media (max-width: 760px) {
  .site-header { top: 28px; }
  body.campaign-expired .site-header { top: 0; }
}
