/* Preview 28 — refinamento desktop premium; mobile aprovado no PR 27 preservado */
html,body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
.hero-link-secondary,.hero-actions .hero-link-secondary{color:#594537!important;opacity:1!important;font-weight:600!important;text-decoration:underline!important;text-underline-offset:4px!important;border-bottom:0!important}
.helena-proof.helenia-steps{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:1.5rem!important;align-items:start!important;width:100%!important;margin-top:1.5rem}.helenia-step-item{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:.45rem!important;min-width:0!important}.helenia-step-item span{display:block!important;color:#a06f56!important;font-size:.78rem;font-weight:700;letter-spacing:.08em;line-height:1}.helenia-step-item strong{display:block!important;color:#594537!important;font-size:.86rem;font-weight:600;line-height:1.35;white-space:nowrap!important}
.technology-stage .tech-nav .tech-tab{color:#ded6cd!important;opacity:.82!important}.technology-stage .tech-nav .tech-tab.active,.technology-stage .tech-nav .tech-tab:hover,.technology-stage .tech-nav .tech-tab:focus-visible{color:#fff!important;opacity:1!important}.technology-stage .tech-nav .tech-tab span{color:#e6ccb2!important;opacity:1!important}
footer .footer-signature,footer .footer-signature>span,footer .footer-signature>strong,footer .footer-signature>strong small,footer .footer__logo-text,footer .footer__logo-text strong,footer .footer__logo-text small{color:#e6ded6!important;opacity:1!important}footer .footer-signature>span{border-color:#e6ded6!important}
.card-overlay-text,.home-result-card figcaption,.case-card figure span,.image-caption{color:#fff!important;background:linear-gradient(to top,rgba(0,0,0,.85) 0%,rgba(0,0,0,.4) 60%,transparent 100%)!important}.home-result-card figcaption{padding:3.5rem 1.25rem 1.25rem!important}.case-card figure span{padding:1.25rem!important;left:0!important;right:0!important;bottom:0!important}

@media(min-width:1024px){
  /* Ritmo vertical: remove desertos sem destruir componentes internos. */
  main>section:not(.hero):not(.contact){height:auto!important;min-height:0!important;padding-top:clamp(3.5rem,5vw,5.5rem)!important;padding-bottom:clamp(3.5rem,5vw,5.5rem)!important}

  /* Hero editorial proporcional, sem transforms de centralização. */
  .hero{height:auto!important;min-height:0!important;display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(440px,.95fr)!important;grid-template-areas:"image copy"!important;align-items:stretch!important;background:#f9f7f4!important;color:#2c2520!important;overflow:hidden!important}
  .hero-image{grid-area:image!important;position:relative!important;inset:auto!important;width:100%!important;height:clamp(620px,72vh,780px)!important;min-height:620px!important;overflow:hidden!important;background:#1d211d!important;transform:none!important}.hero-image img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:top center!important;filter:saturate(.82) contrast(1.02)!important}.hero-image::after{background:linear-gradient(to top,rgba(20,18,16,.1),transparent 42%)!important}
  .hero-copy{grid-area:copy!important;position:relative!important;inset:auto!important;transform:none!important;width:100%!important;max-width:none!important;display:flex!important;flex-direction:column!important;justify-content:center!important;padding:clamp(3rem,5vw,5rem) clamp(3rem,5.5vw,6rem)!important;background:#f9f7f4!important;color:#2c2520!important;animation:none!important}.hero h1{max-width:700px!important;margin:.7rem 0 1.1rem!important;color:#2c2520!important;font-size:clamp(3.25rem,4.7vw,5.7rem)!important;line-height:.96!important;text-wrap:balance}.hero h1 br{display:none!important}.hero h1 em{color:#a06f56!important}.hero-lead{max-width:620px!important;color:#5f5750!important;font-size:clamp(15px,1vw,17px)!important;line-height:1.65!important}.hero-actions{align-items:flex-start!important;gap:1rem!important;margin-top:1.6rem!important}.hero-number,.vertical-note,.hero-stamp,.scroll-cue{display:none!important}

  /* Sistema comum de largura editorial. */
  .helena-intro,.assistant-card,.journey-head,.journey-grid,.technology-head,.technology-stage,.cases--official-home .chapter-label,.cases--official-home .cases-intro,.cases--official-home .home-results-grid,.cases--official-home .home-results-action,.professional-copy,.faq-title,.faq-list{box-sizing:border-box!important;width:min(1200px,calc(100% - 6rem))!important;max-width:1200px!important;margin-left:auto!important;margin-right:auto!important}

  /* HelenIA: texto com largura de leitura real + card proporcional. */
  .helena-intro{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(460px,1.15fr)!important;gap:clamp(3rem,5vw,5rem)!important;align-items:center!important}.helena-intro>div:first-child,.helena-intro .helena-copy,.helena-intro .section-copy{width:100%!important;max-width:520px!important;transform:none!important}.helena-intro h2{max-width:520px!important;font-size:clamp(2.2rem,3vw,3.25rem)!important;line-height:1.12!important;text-wrap:balance!important}.helena-intro p{max-width:520px!important;line-height:1.7!important}.assistant-card{width:100%!important;max-width:560px!important;justify-self:end!important;padding:clamp(2.25rem,3vw,3.5rem)!important;box-shadow:0 12px 32px rgba(0,0,0,.06)!important;transform:none!important}.helena-proof.helenia-steps{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:clamp(1.5rem,2.5vw,3rem)!important}.helenia-step-item strong{font-size:.92rem!important}
  .assistant-booking .booking-copy{padding:1.75rem 2rem!important}.assistant-booking .booking-copy .overline{color:#e6ccb2!important;opacity:1!important;font-weight:700!important}.assistant-booking .booking-copy p{line-height:1.65!important}

  .journey-head,.technology-head,.cases--official-home .cases-intro,.professional-copy,.faq-title{padding-left:0!important;padding-right:0!important}.technology-stage{overflow:hidden!important;transform:none!important}.technology-stage .tech-nav{min-width:260px!important}.technology-stage .tech-nav .tech-tab{font-size:clamp(.9rem,1vw,1.05rem)!important;line-height:1.35!important}.home-results-grid{gap:clamp(1.25rem,2vw,2rem)!important}.home-result-card figcaption{left:0!important;right:0!important;bottom:0!important}

  /* Contato: fotografia limpa e conteúdo ao lado, sem texto no rosto. */
  .contact{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:stretch!important;width:min(1200px,calc(100% - 6rem))!important;max-width:1200px!important;min-height:0!important;height:auto!important;margin:clamp(3.5rem,5vw,5.5rem) auto!important;background:#f9f7f4!important;border-radius:16px!important;overflow:hidden!important;color:#2c2520!important}.contact>img{position:relative!important;inset:auto!important;grid-column:1!important;grid-row:1!important;width:100%!important;height:clamp(500px,48vw,650px)!important;min-height:500px!important;object-fit:cover!important;object-position:center top!important;transform:none!important}.contact-overlay{display:none!important}.contact-copy{position:relative!important;inset:auto!important;grid-column:2!important;grid-row:1!important;align-self:center!important;transform:none!important;width:100%!important;max-width:none!important;padding:clamp(3rem,4vw,4.5rem)!important;background:#f9f7f4!important;color:#2c2520!important}.contact-copy,.contact-copy h2,.contact-copy address,.contact-copy p,.contact-copy a{color:#2c2520!important}.contact-copy h2{font-size:clamp(3rem,4.4vw,5.2rem)!important;line-height:.98!important;text-wrap:balance}.contact-copy address{line-height:1.7!important}
  footer{box-sizing:border-box!important;padding-left:max(3rem,calc((100vw - 1200px)/2))!important;padding-right:max(3rem,calc((100vw - 1200px)/2))!important}
}

/* Faixa intermediária notebook/tablet horizontal: mantém desktop organizado sem afetar mobile. */
@media(min-width:769px) and (max-width:1023px){.hero{height:auto!important;min-height:0!important}.hero-copy{transform:none!important}.contact-copy{transform:none!important}}

/* MOBILE — regras aprovadas no PR 27 preservadas. */
@media(max-width:768px){
  .helena-intro,.assistant-card,.journey-head,.journey-grid,.technology-head,.technology-stage,.cases--official-home .chapter-label,.cases--official-home .cases-intro,.cases--official-home .home-results-grid,.cases--official-home .home-results-action,.professional-copy,.faq-title,.faq-list,.contact-copy,footer{box-sizing:border-box!important;padding-left:max(1.25rem,env(safe-area-inset-left))!important;padding-right:max(1.25rem,env(safe-area-inset-right))!important}.helena-proof.helenia-steps{grid-template-columns:1fr!important;gap:1rem!important}.helenia-step-item{padding-bottom:.85rem;border-bottom:1px solid rgba(89,69,55,.18)}.helenia-step-item:last-child{border-bottom:0}.helenia-step-item strong{white-space:normal!important}.assistant-booking .booking-copy{width:calc(100% + 2.5rem)!important;margin-left:-1.25rem!important;padding:1.5rem 1.25rem!important;background:#1d211d!important;color:#fff!important}.assistant-booking .booking-copy .overline{color:#e6ccb2!important;opacity:1!important;letter-spacing:.08em!important;font-size:.85rem!important;font-weight:700!important}.assistant-booking .booking-copy h3{color:#fff!important}.assistant-booking .booking-copy p{color:#f0ebe4!important;line-height:1.6!important}.contact{height:auto!important;min-height:0!important;display:flex!important;flex-direction:column!important;background:#171a17!important;overflow:hidden!important}.contact>img{position:relative!important;inset:auto!important;width:100%!important;height:clamp(390px,56svh,560px)!important;object-fit:cover!important;object-position:top center!important}.contact-overlay{display:none!important}.contact-copy{position:relative!important;inset:auto!important;transform:none!important;width:100%!important;max-width:none!important;padding-top:2.4rem!important;padding-bottom:3rem!important;background:#171a17!important}.contact-copy,.contact-copy h2,.contact-copy address,.contact-copy p,.contact-copy a{color:#fff!important}
}
.booking-step{margin-top:1rem}.booking-step+.booking-step{margin-top:1.35rem}.booking-label{display:block;margin-bottom:.65rem;font-size:.78rem;font-weight:700;letter-spacing:.04em}.date-selector{display:flex!important;flex-wrap:wrap!important;gap:.55rem!important;overflow:visible!important;padding:.15rem 0 .35rem!important;scrollbar-width:none!important}.date-selector::-webkit-scrollbar{display:none!important}.date-chip{flex:0 0 auto;min-height:42px;padding:.7rem .9rem;border:1px solid #c9c0b4;background:#fff;color:#2c2520;border-radius:999px;cursor:pointer;font:600 .82rem/1.1 var(--sans,sans-serif)}.date-chip.is-active{background:#1d211d;color:#fff;border-color:#1d211d}.time-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem}.time-grid .slot{margin:0}.time-grid .slot span{min-height:44px;display:grid;place-items:center;padding:.7rem .5rem;font-weight:600;border-radius:8px}@media(max-width:520px){.time-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* Preview 28 — correções finais após revisão integral */
html,body{max-width:100%;overflow-x:clip}
.contact,.contact *,.helena-panel,.helena-panel *{box-sizing:border-box}
.helenia-floating img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;border-radius:50%!important}
.technology-stage .tech-nav .tech-tab{color:#f1ebe4!important;opacity:1!important}
.technology-stage .tech-nav .tech-tab:not(.active){text-shadow:0 1px 1px rgba(0,0,0,.35)}
.contact-copy{overflow-wrap:anywhere}

/* A grade pertence ao painel; .helena-intro é apenas a coluna de texto. */
@media(min-width:1024px){
  .helena-panel{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(460px,560px)!important;gap:clamp(3rem,5vw,5rem)!important;align-items:center!important;padding:clamp(3.5rem,5vw,5.5rem) max(3rem,calc((100vw - 1200px)/2))!important;height:auto!important;min-height:0!important}
  .helena-panel>.helena-intro{display:block!important;width:100%!important;max-width:520px!important;margin:0!important;padding:0!important;align-self:center!important}
  .helena-panel>.assistant-card{width:100%!important;max-width:560px!important;margin:0!important;padding:clamp(2rem,3vw,3.25rem)!important;align-self:center!important;justify-self:end!important;min-height:0!important}
  .helena-intro h2{font-size:clamp(2.4rem,3.4vw,4rem)!important;line-height:1.05!important}
  .helena-intro h2 br{display:none!important}
  .assistant-controls button:disabled{visibility:hidden}
  .contact-copy{max-width:100%!important}
  .results-hero{min-height:0!important;height:auto!important;padding-top:clamp(8rem,11vw,11rem)!important;padding-bottom:clamp(3.5rem,6vw,6rem)!important}
  .results-intro,.results-category--official{padding-top:clamp(3rem,5vw,5rem)!important;padding-bottom:clamp(3rem,5vw,5rem)!important}
  .results-category--official .category-copy{margin-bottom:clamp(2rem,3vw,3.5rem)!important}
  .results-category--official .category-copy h2{font-size:clamp(2.5rem,4vw,4.5rem)!important;line-height:1.02!important}
  .results-brand .brand-logo-image,.results-header .brand-logo-image{width:clamp(180px,18vw,260px)!important;height:auto!important}
}
@media(min-width:769px) and (max-width:1023px){
  .helena-panel{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(380px,1fr)!important;gap:2rem!important;align-items:center!important;padding:3rem 2.25rem!important;height:auto!important;min-height:0!important}
  .helena-panel>.helena-intro,.helena-panel>.assistant-card{width:100%!important;max-width:none!important;margin:0!important;transform:none!important}
  .helena-panel>.helena-intro{display:block!important;padding:0!important}
  .helena-panel>.assistant-card{padding:2rem!important;min-height:0!important}
  .helena-intro h2{font-size:clamp(2rem,4vw,3rem)!important;line-height:1.08!important}
  .helena-intro h2 br{display:none!important}
  .assistant-controls button:disabled{visibility:hidden}
}
@media(max-width:768px){
  .helenia-floating{width:72px!important;height:72px!important;right:14px!important;bottom:14px!important}
  .results-hero{min-height:0!important;height:auto!important;padding-top:7rem!important;padding-bottom:2.75rem!important;background:#f9f7f4!important;color:#2c2520!important}
  .results-hero::before,.results-hero::after{display:none!important}
  .results-hero h1,.results-hero p{color:#2c2520!important;text-shadow:none!important}
}


/* Preview 28 — eliminação de offsets herdados */
@media(min-width:769px){
  .contact-copy{left:0!important;right:auto!important;top:auto!important;bottom:auto!important;translate:none!important}
}
@media(min-width:1024px){
  .results-hero{height:min(560px,calc(100vh - 86px))!important;min-height:480px!important;max-height:560px!important;padding-top:clamp(7rem,9vw,9rem)!important;padding-bottom:clamp(2.5rem,4vw,4rem)!important}
}

@media(min-width:769px){.contact-copy{margin-left:0!important;margin-right:0!important}}
