/* Opening typography and light. The ambient layer stays behind the 3D device. */
.scene-hero .eyebrow{font-size:10px;letter-spacing:.17em;color:#c5b68d;margin-bottom:30px}
.scene-hero h1{font-size:clamp(60px,6.8vw,112px);font-weight:400;line-height:1.035;letter-spacing:-.064em}
.scene-hero h1>span{display:block;white-space:nowrap}
.scene-hero h1 em{letter-spacing:-.042em}
.scene-hero .description{max-width:420px;font-size:16px;line-height:1.8;letter-spacing:-.025em;margin-top:30px;color:#d5d7ce}
.hero-actions{display:flex;align-items:center;gap:23px;margin-top:34px;flex-wrap:wrap}
.hero-actions .hero-cta{display:inline-flex;align-items:center;justify-content:space-between;gap:33px;min-height:48px;padding:0 21px;border:1px solid #414c37;border-radius:40px;background:#414c37;color:#fbf9f3;font-size:12px;transition:background .2s,box-shadow .2s;white-space:nowrap}
.hero-cta>span{font-size:20px;transition:transform .2s}
.hero-cta:hover{background:#2b3623;box-shadow:0 8px 24px #414c3714}
.hero-cta:hover>span{transform:translate(2px,-2px)}
.hero-availability{display:flex;gap:8px;align-items:center;font-size:10px;line-height:1.5;color:#c9d0c3;white-space:nowrap}
.hero-availability i{width:5px;height:5px;border-radius:50%;background:#c9b378}
/* The same stage coordinates feed the CSS handset and the scroll renderer. */
.home-page #stage {
  --hero-phone-x: 74%;
  --hero-phone-y: calc(var(--svh) * .54);
  --hero-phone-h: min(800px, calc(var(--svh) * .73), 52vw);
  --hero-phone-w: calc(var(--hero-phone-h) * 78 / 163.4);
}
.home-page #start { padding: 0 var(--gutter); }
.home-page #start .copy { width: 50%; max-width: 750px; padding-top: 0; transform: translateY(-12px); }
.home-page #stage .hero-device-slot {
  position: absolute;
  top: var(--hero-phone-y);
  left: var(--hero-phone-x);
  width: var(--hero-phone-w);
  height: var(--hero-phone-h);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
html:not(.enhanced) .home-page #start {
  min-height: var(--svh);
  isolation: auto;
  color: #202821;
  background: white;
}
html:not(.enhanced) .home-page #start .copy { position: relative; z-index: 5; }
html:not(.enhanced) .home-page #stage #css3d-device { display: none; }
/* Keep the image description in the reading order while the handset renders it. */
html:not(.enhanced) .home-page #start .static-shot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  clip-path: inset(50%);
}
/* One studio layer carries the handset through Início and Tudo conectado. */
.home-page #stage .hero-surface {
  position: absolute;
  display: block;
  inset: 0 0 auto;
  height: var(--svh);
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
  opacity: var(--hero-intensity, 1);
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}
html:not(.enhanced) .home-page #stage .hero-surface { opacity: 1; }
.enhanced .home-page #stage .hero-surface {
  z-index: 4;
  background: transparent;
}
.enhanced .home-page #stage.hero-transition #world {
  opacity: var(--hero-hardware-alpha, 0) !important;
}
.enhanced .home-page #stage.hero-active :is(.ambient, .halo, .ground-shadow, .ghost-word) {
  visibility: hidden;
}
/* Stagger the headlines so they never compete in the same text column. */
.enhanced #stage.hero-transition :is(#start, #connected) {
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
}
.enhanced #stage.hero-transition #start .copy {
  visibility: var(--hero-opening-copy-visibility, visible);
  opacity: var(--hero-opening-copy-alpha, 1);
  translate: 0 var(--hero-opening-copy-y, 0px);
}
.enhanced #stage.hero-transition #connected .copy {
  visibility: var(--connected-copy-visibility, hidden);
  opacity: var(--connected-copy-alpha, 0);
  translate: 0 var(--connected-copy-y, 0px);
}
.enhanced #stage.hero-transition #connected .static-shot {
  display: none;
}
.home-page #start h1 { color: #202821; }
.home-page #start h1 em { color: #4a6246; }
.home-page #start .eyebrow { color: #516149; }
.home-page #start .description, .home-page #start .hero-availability { color: #455046; }
.home-page #start .hero-availability i { background: #698552; }
.home-page #start .hero-cta {
  color: #fffffb;
  background: #283c2c;
  border-color: #283c2c;
}
.home-page #start .hero-cta::before { background-color: inherit; }
@media (hover: hover) and (pointer: fine) {
  .home-page #start .hero-cta:hover { background: #3a503b; }
}
.enhanced .stage.hero-active .chapter-bar{bottom:30px}
.enhanced .stage.hero-active .scroll-label{font-size:9px;letter-spacing:.11em}
.enhanced .stage.hero-active .chapter-current>span:last-child{font-size:9px;letter-spacing:.09em}
@media(min-width:761px) and (max-width:1100px){
 .scene-hero h1{font-size:clamp(53px,7vw,77px)}
 .scene-hero .description{font-size:14px;max-width:330px}
 .scene-hero .eyebrow{font-size:9px;max-width:350px}
 .hero-actions{gap:16px;margin-top:27px}
 .hero-actions .hero-cta{padding:0 17px;gap:19px;font-size:11px}
 .hero-availability{font-size:9px}
 .home-page #start .copy{width:53%;transform:translateY(-8px)}
}
@media(min-width:761px) and (max-height:760px){
 .scene-hero h1{font-size:clamp(53px,6.6vw,94px)}
 .scene-hero .eyebrow{margin-bottom:23px}
 .scene-hero .description{margin-top:24px;font-size:14px}
 .hero-actions{margin-top:26px}
 .home-page #start .copy{transform:translateY(0)}
}
@media(max-width:760px){
 .scene-hero h1{font-size:clamp(44px,12.6vw,69px);line-height:1.055;letter-spacing:-.066em}
 .scene-hero h1 em{letter-spacing:-.052em}
 .scene-hero .eyebrow{font-size:8px;letter-spacing:.16em;margin-bottom:24px}
 .scene-hero .description{font-size:13px;line-height:1.7;margin-top:22px;max-width:350px}
 .hero-actions{margin-top:24px;gap:17px;flex-wrap:nowrap}
 .hero-actions .hero-cta{min-height:44px;padding:0 17px;gap:24px;font-size:11px}
 .hero-availability{font-size:9px;gap:6px;white-space:normal;max-width:110px}
 .hero-availability i{flex-shrink:0;width:4px;height:4px}
 .home-page #start { display: block; padding-top: 101px; }
 .home-page #start .copy { width: 100%; padding: 0; transform: none; }
 .home-page #stage {
   --hero-open-copy-end: clamp(334px, calc(162px + 54vw), 421px);
   --hero-connected-copy-room: max(0px, calc(var(--connected-copy-end, 0px) + 17px - var(--hero-open-copy-end)));
   --hero-copy-end: calc(var(--hero-open-copy-end) + var(--hero-connected-copy-room) * var(--hero-connected-mix, 0));
   --hero-camera-room: max(82px, calc(var(--svh) - var(--hero-copy-end) - 64px));
   --hero-phone-x: 51.8%;
   --hero-phone-y: calc(var(--hero-copy-end) + var(--hero-camera-room) * .48);
   --hero-phone-h: min(442px, calc(var(--hero-camera-room) * .96), calc(54vw * 163.4 / 78));
 }
 .enhanced .stage.hero-active .chapter-bar{bottom:max(13px,env(safe-area-inset-bottom));gap:8px}
 .enhanced .stage.hero-active .chapter-current{gap:9px}
 .enhanced .stage.hero-active .chapter-current i{width:22px}
 .enhanced .stage.hero-active .chapter-current>span:last-child{font-size:7px}
 .enhanced .stage.hero-active .chapter-dots a{width:26px;min-height:36px}
}
@media(max-width:760px) and (max-height:740px){
 .scene-hero h1{font-size:clamp(42px,11.8vw,62px)}
 .scene-hero .eyebrow{margin-bottom:18px}
 .scene-hero .description{margin-top:15px;font-size:12px}
 .hero-actions{margin-top:18px}
 .hero-actions .hero-cta{min-height:42px}
}
@media(max-width:360px){
 .home-page #start { padding-top: 93px; }
 .scene-hero h1{font-size:clamp(40px,12.5vw,45px)}
 .hero-actions{gap:12px}
 .hero-actions .hero-cta{gap:17px;padding:0 14px;font-size:10px}
 .hero-availability{font-size:8px;max-width:99px}
 .scene-hero .description{font-size:12px}
 .enhanced .stage.hero-active .chapter-current>span:last-child{display:none}
}
@media(prefers-reduced-motion:reduce){.hero-cta,.hero-cta>span{transition:none}}

/* Motion Studio art-direction: space for a taller, more imposing product. */
@media (max-width: 760px) {
  .scene-hero .eyebrow { margin-bottom: 20px; }
  .scene-hero .description { margin-top: 18px; }
  .hero-actions { margin-top: 20px; }
}
@media (max-width: 360px) {
  .scene-hero .eyebrow { margin-bottom: 15px; }
  .scene-hero .description { margin-top: 12px; }
  .hero-actions { margin-top: 15px; }
}
@media (max-height: 540px) and (orientation: landscape) {
  .home-page #start {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-block: 70px 55px;
  }
  .home-page #start .copy { width: 52%; }
  .home-page #start h1 { font-size: clamp(33px, 10vh, 52px); }
  .home-page #start .eyebrow { margin-bottom: 10px; }
  .home-page #start .description { margin-top: 10px; font-size: 12px; line-height: 1.5; }
  .home-page #start .hero-actions { margin-top: 12px; }
}
@media (max-width: 760px) and (max-height: 540px) and (orientation: landscape) {
  .home-page #stage {
    --hero-phone-x: 76%;
    --hero-phone-y: calc(var(--svh) * .52);
    --hero-phone-h: calc(var(--svh) * .65);
  }
  .home-page #start .hero-actions { flex-wrap: wrap; gap: 10px; }
}
