
:root {
  --paper: #e3edf9;
  --mist: #d5deea;
  --fern: #162f56;
  --section-pad: clamp(64px, 8.2vw, 124px);
  --column-gap: clamp(28px, 6vw, 90px);
}
.container { width: min(1240px, calc(100% - clamp(36px, 9vw, 136px))); }
.section-title { font-size: clamp(3.35rem, 5.5vw, 5.85rem); max-width: 16ch; text-wrap: balance; margin: 0; }
.section-title em { display: inline; }
:is(.problema-grid,.servicos-grid,.acompanhamento-top,.duvidas-grid,.contato-grid) { gap: var(--column-gap); }
:is(.section-problema,.section-virada,.section-servicos,.section-acompanhamento,.section-provas,.section-detalhes,.section-duvidas,.section-contato) { padding-block: var(--section-pad); }
:is(.problema-body,.servicos-subtitle,.acompanhamento-lead,.provas-lead,.duvidas-lead,.contato-lead) { margin-block: 22px 26px; }
:is(.section-problema,.section-virada,.section-acompanhamento,.section-contato) .section-title { color: var(--paper); }
:is(.section-problema,.section-virada,.section-acompanhamento,.section-contato) .section-title em { color: var(--lime); }

.opening-sequence { position: relative; isolation: isolate; }
.opening-vein { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 4; }
.opening-vein path { fill: none; stroke: #809ecc; stroke-width: .12; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: .54; }
.section-hero { isolation: isolate; overflow: clip; background: var(--navy); --camera: 0; }
.hero-grid { grid-template-columns: 1fr; min-height: max(620px, calc(100svh - 78px)); padding-block: clamp(80px, 13svh, 142px); z-index: 3; }
.hero-copy { margin-inline: auto; width: min(100%, 900px); max-width: none; text-align: center; }
.hero-headline { font-size: clamp(5rem, 10vw, 10.6rem); line-height: .83; letter-spacing: -.051em; text-wrap: initial; }
.hero-headline em { margin-top: .08em; }
.hero-lead { margin: 31px auto 0; max-width: 45ch; text-wrap: pretty; color: #eaf5ff; }
.hero-actions { justify-content: center; margin-top: 29px; gap: 13px 24px; }
.hero-secondary-cta { border-bottom-color: #dfe9f570; }
.hero-location { margin-top: 16px; }
.hero-background { z-index: 0; }
.hero-background img {
  object-position: 50% 63%;
  transform: translate3d(0, calc(var(--camera) * 22px), 0) scale(calc(1.02 + var(--camera) * .19));
  filter: brightness(.82) saturate(.76);
}
.hero-background::after { background: linear-gradient(180deg,#05112652,#051126b0 54%,#051126),linear-gradient(90deg,#05112654,transparent 48%,#05112666); }
.hero-film { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.film-leaf {
  position: absolute; width: clamp(310px, 44vw, 650px); height: clamp(430px, 64vh, 700px);
  right: 8%; top: 8%; object-fit: cover; object-position: 54% 50%;
  border-radius: 58% 42% 52% 48% / 62% 55% 45% 38%;
  transform-origin: 67% 62%;
  transform: translate3d(calc(var(--camera) * -8vw), calc(var(--camera) * 21vh), 0) rotate(calc(-11deg + var(--camera) * 16deg)) scale(calc(1 + var(--camera) * 1.78));
  opacity: calc(.54 + var(--camera) * .33); filter: saturate(.68) brightness(.78);
  box-shadow: inset 0 0 40px #060e1f, 0 32px 72px #00000088;
}
.film-frond { position: absolute; width: min(27vw, 370px); height: auto; opacity: .48; }
.film-frond-left { bottom: -10%; left: -4%; transform: translate3d(calc(var(--camera) * -24px),calc(var(--camera) * 102px),0) rotate(-21deg); }
.film-frond-right { top: -13%; right: -7%; transform: translate3d(calc(var(--camera) * 34px),calc(var(--camera) * -68px),0) rotate(166deg); }
.film-light { position: absolute; inset: 0; background: radial-gradient(ellipse at 73% 22%,#7c98c632,transparent 50%); opacity: .9; }
.opening-sequence::after { content: ''; position: absolute; z-index: 2; pointer-events: none; top: calc(var(--opening-edge, 620px) - 66px); height: 132px; left: 0; right: 0; background: radial-gradient(ellipse at 68% 50%,#708ab620,transparent 64%); opacity: var(--seam-light,0); }

.section-problema { background: radial-gradient(ellipse at 80% 8%,#102342 0,transparent 56%),linear-gradient(160deg,#051126,#0b2033); }
.problema-grid { grid-template-columns: minmax(0,1.04fr) minmax(0,.96fr); align-items: center; }
.problema-visual-col { min-width: 0; }
.problema-ambient-frame { height: clamp(390px,48vw,620px); border-radius: 46% 46% 20px 20px / 25% 25% 20px 20px; box-shadow: 0 27px 64px #020813a8; border: 1px solid #ccd5e030; }
.problema-ambient-img { object-position: 54% 48%; filter: saturate(.72) brightness(.86); }
.problema-ambient-shade { background: linear-gradient(180deg,transparent 42%,#05112662); }
.problema-scan-svg { opacity: .7; }
.depth-carousel { margin-top: 28px; padding: 0; }
.depth-carousel-label { display: none; }
.depth-carousel-controls { justify-content: flex-start; }
.depth-stage { margin-block: 12px 17px; min-height: 132px; }
.depth-slide,.depth-slide.is-active { min-height: 132px; border-color: #cad3de38; background: linear-gradient(135deg,#152d40,#0a192c); }
.depth-nav { justify-content: flex-start; }
.problema-microcopy { margin-block: 20px 0; }

.section-virada { background: radial-gradient(ellipse at 19% 30%,#0f203e,transparent 53%),#07162a; }
.section-virada > .container > h2 { max-width: 18ch; margin-bottom: clamp(32px,5vw,64px); }
.garden-story { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); gap: var(--column-gap); align-items: start; }
.story-stage {
  position: sticky; top: calc(var(--header-height) + 28px); margin: 0;
  min-width: 0; width: 100%; height: min(63svh,530px); min-height: 310px;
  overflow: hidden; isolation: isolate; border-radius: 44% 44% 24px 24px / 25% 25% 24px 24px;
  background: #122939; border: 1px solid #bec7d251; box-shadow: 0 26px 70px #020915b3;
}
.story-stage img,.story-grading,.story-blueprint { position: absolute; inset: 0; width: 100%; height: 100%; }
.story-stage img { object-fit: cover; opacity: .34; transform: scale(1.07); transition: opacity .7s ease, transform 1.05s cubic-bezier(.16,1,.3,1); }
.story-grading { background: linear-gradient(0deg,#051126ed,transparent 51%),linear-gradient(130deg,#1e41732b,transparent 67%); }
.story-blueprint { fill: none; stroke: #bbc4cf; stroke-width: 1.3; opacity: .74; transform: scale(.86); transition: opacity .65s, transform .8s cubic-bezier(.16,1,.3,1); }
.story-plan-secondary { stroke-dasharray: 4 8; }
.story-canopy { opacity: 0; transition: opacity .45s ease; }
.story-stage figcaption { position: absolute; bottom: 16px; left: 20px; right: 20px; color: #e9f4ff; font-size: .84rem; }
[data-chapter="1"] .story-stage img { opacity: .63; transform: scale(1.02); }
[data-chapter="1"] .story-blueprint { transform: scale(1); opacity: .9; }
[data-chapter="1"] .story-canopy { opacity: 1; }
[data-chapter="2"] .story-stage img { opacity: 1; transform: scale(1); }
[data-chapter="2"] .story-blueprint { transform: scale(1.12); opacity: 0; }
.story-steps { list-style: none; margin: 0; padding: 0; }
.story-step { display: grid; align-content: center; gap: 10px; min-height: clamp(205px,36svh,335px); padding: 20px 0 20px clamp(15px,3vw,34px); border-inline-start: 1px solid #dbe4f042; color: #dfe9f5; transition: border-color .45s ease; }
.story-step.is-current { border-color: var(--lime); }
.story-step h3 { color: var(--paper); font: 400 clamp(2.05rem,4vw,3.75rem)/1 var(--font-display); }
.story-phase { color: #bcc5d0; font-size: .86rem; font-weight: 600; }
.story-step a { justify-self: start; color: #c8d1dc; text-decoration: underline; text-underline-offset: 5px; padding-block: 9px; }

.section-servicos { background: radial-gradient(ellipse at 78% 0,#ebf6ff,transparent 54%),var(--mist); }
#produtos .servicos-grid { grid-template-columns: minmax(0,1.04fr) minmax(0,.96fr); align-items: start; }
.servicos-gallery-col { min-width: 0; }
.servicos-arch-stage { height: clamp(270px,36vw,460px); border-radius: 42% 42% 18px 18px / 24% 24% 18px 18px; box-shadow: 0 22px 44px #152c513b; }
.servicos-detail-box { margin-top: 14px; }
.garden-option-trigger { text-align: left; min-height: 81px; }
.garden-option { box-shadow: 0 6px 15px #17315912; }
.garden-option.is-selected { box-shadow: 0 10px 22px #17315924; }
.garden-gallery-section { margin-top: clamp(45px,6vw,78px); }
.garden-column-photo { box-shadow: 0 10px 22px #17325b29; }
.garden-column-photo img { filter: saturate(.8) contrast(1.04); }

.section-acompanhamento { background: radial-gradient(ellipse at 83% 25%,#142c51,transparent 53%),#102438; }
.acompanhamento-top { align-items: center; }
.acompanhamento-concept { box-shadow: 0 22px 45px #07121f7f; }
.acompanhamento-concept img,.contact-figure img,.stack-photo img { filter: saturate(.82) contrast(1.045); }
.journey-step { box-shadow: 0 12px 32px #07121f54; }
.section-provas { background: linear-gradient(150deg,#e8f3ff,var(--mist)); }
.provas-copy { grid-template-columns: 1fr .8fr; gap: 4px var(--column-gap); }
.provas-copy h2 { grid-row: span 2; }
.provas-actions { margin-top: 0; }
.provas-cards-layout { grid-template-columns: 1.15fr 1fr 1fr; align-items: stretch; }
.review-card { min-width: 0; border-radius: 16px; box-shadow: 0 9px 30px #152e5314; }
.review-card-featured { box-shadow: 0 16px 35px #152e5325; }
.section-detalhes { background: linear-gradient(155deg,#dce6f2,#c8d1dc); }
.section-detalhes .sticky-stack-deck { padding-bottom: 0; }
.stack-card { margin-bottom: clamp(28px,7vw,80px); box-shadow: 0 14px 36px #12284a29; }
.section-duvidas { background: linear-gradient(160deg,#e9f4ff,#dde7f3); }
.duvidas-grid { align-items: start; }
.faq-trigger { min-height: 64px; text-align: left; gap: 14px; }
.faq-question { min-width: 0; overflow-wrap: anywhere; }
.section-contato { background: radial-gradient(ellipse at 78% 33%,#112545,transparent 55%),#051126; }
.contact-figure img { box-shadow: 0 22px 50px #0109169e; }
.site-footer .footer-grid { align-items: start; gap: clamp(20px,4vw,54px); }

.botanical-flight { position: absolute; z-index: 5; top: 13%; right: max(10px,2.8vw); pointer-events: none; }
#hero .botanical-flight { top: 24%; }
#virada .botanical-flight { top: 8%; }
#produtos .botanical-flight { top: 7%; }
.botanical-trigger {
  display: grid; place-items: center; position: relative; width: 62px; height: 62px;
  border-radius: 50%; border: 1px solid #c1cad57d;
  background: #0b2434; color: #c1cad5; box-shadow: 0 9px 28px #00000055;
  pointer-events: auto; touch-action: manipulation;
}
.botanical-trigger svg { width: 33px; height: 33px; overflow: visible; }
.botanical-trigger path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.botanical-echo { position: absolute; inset: 10px; pointer-events: none; border-radius: inherit; border: 1px solid currentColor; opacity: 0; }
.botanical-trigger.is-blooming svg { animation: botanical-open 950ms cubic-bezier(.16,1,.3,1) both; }
.botanical-trigger.is-blooming path { animation: botanical-draw 760ms ease-out both; }
.botanical-trigger.is-blooming .botanical-echo { animation: botanical-echo 940ms ease-out both; }
.botanical-trigger[data-kind="gota"].is-blooming svg { --turn: 0deg; --lift: 9px; }
.botanical-trigger[data-kind="broto"].is-blooming svg { --turn: -10deg; --lift: -13px; }
.botanical-trigger[data-kind="sementes"].is-blooming svg { --turn: 27deg; --lift: -10px; }
@keyframes botanical-open {
  0% { transform: scale(.85) rotate(-9deg); opacity: .66; }
  55% { transform: translateY(var(--lift,-7px)) scale(1.3) rotate(var(--turn,15deg)); opacity: 1; }
  100% { transform: none; opacity: 1; }
}
@keyframes botanical-draw { from { stroke-dasharray: 1; stroke-dashoffset: .85; } to { stroke-dasharray: 1; stroke-dashoffset: 0; } }
@keyframes botanical-echo { 20% { opacity: .65; transform: scale(.86); } 100% { opacity: 0; transform: scale(1.86); } }
.motion-paused :is(.botanical-trigger svg,.botanical-trigger path,.botanical-echo) { animation-play-state: paused !important; }
.is-inview .btn::after,.is-inview .btn-primary::before,.is-inview .soft-neon::before { animation: none; }

@media (max-width: 860px) {
  :root { --section-pad: clamp(56px,10vw,78px); --column-gap: 30px; }
  .section-title { font-size: clamp(3rem,9vw,4.7rem); }
  .hero-grid { min-height: max(590px,calc(100svh - 68px)); padding-block: 76px 70px; }
  .hero-headline { font-size: clamp(3.75rem,12.5vw,6.3rem); line-height: .88; }
  .hero-actions { max-width: 340px; margin-inline: auto; }
  .hero-lead { max-width: 34ch; margin-top: 24px; }
  .film-leaf { right: -10%; width: 71%; height: 73%; transform: translate3d(0,calc(var(--camera) * 11vh),0) rotate(-10deg) scale(calc(1 + var(--camera) * .65)); }
  .film-frond { opacity: .29; width: 39vw; }
  .opening-vein { opacity: .52; }
  .problema-grid,.garden-story,.provas-copy,.provas-cards-layout,.duvidas-grid,.contato-grid { grid-template-columns: minmax(0,1fr); }
  .problema-ambient-frame { height: clamp(245px,62vw,410px); }
  .problema-ambient-img { width: 100%; height: 100%; object-fit: cover; }
  .story-stage { height: clamp(155px,37vw,250px); min-height: 0; top: calc(var(--header-height) + 8px); z-index: 2; border-radius: 18px; }
  .story-step { min-height: 0; padding-block: 18px; }
  .story-step + .story-step { margin-top: 12px; }
  .story-stage figcaption { font-size: .76rem; bottom: 8px; left: 12px; }
  .provas-copy h2 { grid-row: auto; }
  .provas-actions { margin: 0; }
  .botanical-trigger { width: 44px; height: 44px; }
  .botanical-trigger svg { width: 25px; height: 25px; }
  .botanical-flight { right: 7px; top: 25px; }
  #hero .botanical-flight { top: 7%; }
  #virada .botanical-flight,#produtos .botanical-flight { top: 22px; }
  .section-detalhes .stack-card { position: relative; top: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-background img,.film-leaf,.film-frond,.botanical-flight,.story-stage img,.story-blueprint { transform: none !important; }
  .botanical-flight { display: none; }
  .opening-vein path { stroke-dashoffset: 0 !important; }
  .story-stage { position: relative; top: auto; }
  .story-stage img { opacity: .87 !important; }
  .story-blueprint { opacity: .42 !important; }
  .story-canopy { opacity: 1; }
  .story-stage *,.story-step { transition: none !important; }
}


.film-leaf,.film-frond,.hero-background img { backface-visibility: hidden; }
.is-inview :is(.film-leaf,.film-frond,.hero-background img) { will-change: transform; }
.opening-sequence::after {
  background: radial-gradient(ellipse at 68% 50%,#6d86b242,transparent 67%);
  mix-blend-mode: screen;
}
.botanical-trigger[data-kind="folha"].is-blooming svg { animation-name: leaf-unfold; transform-origin: 27% 72%; }
.botanical-trigger[data-kind="gota"].is-blooming svg { animation-name: drop-land; }
.botanical-trigger[data-kind="gota"] .botanical-echo { inset: 50% 7% 9%; }
.botanical-trigger[data-kind="broto"].is-blooming svg { animation-name: shoot-grow; transform-origin: 50% 92%; }
.botanical-trigger[data-kind="sementes"] .botanical-echo { inset: 19% auto auto 63%; width: 4px; height: 4px; background: currentColor; box-shadow: -16px 11px currentColor, 13px 9px currentColor; }
.botanical-trigger[data-kind="sementes"].is-blooming .botanical-echo { animation-name: seed-release; }
@keyframes leaf-unfold {
  0% { transform: scaleX(.36) rotate(-28deg); }
  62% { transform: scale(1.22) rotate(12deg); }
  100% { transform: none; }
}
@keyframes drop-land {
  0% { transform: translateY(-11px) scale(.84,1.12); }
  47% { transform: translateY(8px) scale(1.23,.75); }
  100% { transform: none; }
}
@keyframes shoot-grow {
  0% { transform: scale(.73,.32); }
  68% { transform: scale(1.07,1.3) rotate(-8deg); }
  100% { transform: none; }
}
@keyframes seed-release {
  18% { opacity: .92; transform: translate(0,0) rotate(0); }
  100% { opacity: 0; transform: translate(23px,-25px) rotate(48deg) scale(1.9); }
}

#scrollProgressBar { width: 100%; transform: scaleX(0); transform-origin: left; transition: none; }
.site-header,.site-header.is-scrolled { background: #071427; backdrop-filter: none; }
.hero-background img,.film-leaf { filter: none; }
.film-leaf { opacity: .64; box-shadow: none; }
.opening-sequence::after { display: none; }
.is-inview .scan-ring { animation: none; }
@media (max-width: 860px) {
  .film-frond-right { display: none; }
  .is-inview .film-frond-left { will-change: auto; }
}

@media (max-width: 860px) {
  .hero-actions .hero-secondary-cta { align-self: center; }
}

/* The connecting vein is painted once. Camera and floating leaf provide the movement. */
.opening-vein path { stroke-dasharray: none; }
.is-inview :is(.rastro-node-pulse,.scan-ring,.abstract-status-dot,.pulse-dot) { animation: none; }

@media (max-width: 420px) {
  .hero-headline { font-size: clamp(3.25rem,15.3vw,3.75rem); }
}

.story-mobile-visual,.story-mobile-caption { display: none; }
@media (max-width: 860px) {
  .garden-story { gap: 16px; }
  .story-stage { display: none; }
  .story-mobile-caption { display: block; color: #d1dbe6; font-size: .84rem; }
  .story-mobile-visual {
    display: block; position: relative; height: clamp(130px,36vw,230px); overflow: hidden;
    border: 1px solid #bec7d251; border-radius: 15px; margin-bottom: 7px; background: #132d3c;
  }
  .story-mobile-visual :is(img,svg) { position: absolute; inset: 0; width: 100%; height: 100%; }
  .story-mobile-visual img { object-fit: cover; opacity: .35; }
  .story-mobile-visual svg { fill: none; stroke: #bbc4cf; stroke-width: 1.5; opacity: .78; }
  .story-step:nth-child(2) .story-mobile-visual img { opacity: .72; }
  .story-step:nth-child(3) .story-mobile-visual img { opacity: 1; }
  .story-step:nth-child(3) .story-mobile-visual svg { display: none; }
  .story-step { padding-block: 0 17px; }
  .story-step + .story-step { margin-top: 22px; }
}
