/* Stable hero proportions */
@media(min-width:901px){.hero{height:560px!important;min-height:560px!important;max-height:560px!important}.hero-image{object-fit:cover!important;object-position:center 14%!important}.hero-copy{width:min(560px,46%)!important;margin-left:4.5vw!important}.hero h1{font-size:clamp(49px,5vw,69px)!important;line-height:.96!important}.hero-copy>p:not(.eyebrow){font-size:16px!important;line-height:1.55!important}}
@media(min-width:561px) and (max-width:900px){.hero{height:500px!important;min-height:500px!important;max-height:500px!important}.hero-image{object-position:center 28%!important}.hero-copy{width:58%!important;margin-left:28px!important}.hero h1{font-size:48px!important}.hero-copy>p:not(.eyebrow){font-size:15px!important;line-height:1.5!important}}
@media(max-width:560px){.hero{height:520px!important;min-height:520px!important;max-height:520px!important}.hero-image{object-position:64% 24%!important}.hero-copy{width:82%!important;margin-left:22px!important}.hero h1{font-size:43px!important}.hero-copy>p:not(.eyebrow){font-size:14px!important;line-height:1.5!important}}

/* Presentation: real photo panel + text panel; never reveal baked-in card */
.presentation{display:grid!important;grid-template-columns:46% 54%!important;align-items:stretch!important;max-width:1120px!important;min-height:0!important;margin:65px auto!important;padding:0!important;background:none!important;border-radius:28px!important;overflow:hidden!important;box-shadow:0 20px 48px #55463818!important}.luciana-photo{display:block!important;min-height:570px!important;background-image:url('media/luciana-responsive-master.jpg')!important;background-size:200% 100%!important;background-position:left center!important;background-repeat:no-repeat!important;background-color:#e8eee8!important;border-radius:28px 0 0 28px!important}.luciana-card{position:relative!important;width:auto!important;max-height:none!important;overflow:visible!important;margin:0!important;padding:48px 50px!important;border-radius:0 28px 28px 0!important;background:#fffaf2!important;backdrop-filter:none!important;box-shadow:none!important}.luciana-card h2{font-size:48px!important}.luciana-card>p:not(.eyebrow):not(.credential):not(.intro-line){font-size:13px!important;line-height:1.6!important}.luciana-details{grid-template-columns:repeat(3,minmax(0,1fr))!important}.luciana-details span{min-width:0!important}.luciana-card::-webkit-scrollbar{display:none!important}
@media(max-width:900px){.presentation{grid-template-columns:1fr!important;display:grid!important;margin:38px 20px!important;padding:0!important;background:none!important;border-radius:24px!important}.luciana-photo{display:block!important;min-height:390px!important;background-size:200% 100%!important;background-position:left center!important;border-radius:24px 24px 0 0!important}.luciana-card{width:auto!important;padding:36px!important;border-radius:0 0 24px 24px!important}.luciana-details{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:560px){.presentation{margin:25px 12px!important}.luciana-photo{min-height:300px!important}.luciana-card{padding:27px 21px!important}.luciana-card h2{font-size:38px!important}.luciana-details{grid-template-columns:1fr!important}}

/* Social proof: preserve complete testimonial video frame */
.testimonial:first-child .social-media{background:#554638!important}.testimonial:first-child .social-media video{object-fit:contain!important;object-position:center center!important;width:100%!important;height:100%!important;background:#554638!important}.testimonial .social-media img{object-position:center center!important}
@media(min-width:901px){.testimonial{grid-template-columns:34% 66%!important}.testimonial .social-media,.testimonial .sabrina-media{height:260px!important;min-height:260px!important}.testimonial .card-body{padding:30px 38px!important}}
@media(min-width:681px) and (max-width:900px){.testimonial{grid-template-columns:40% 60%!important}.testimonial .social-media,.testimonial .sabrina-media{height:270px!important;min-height:270px!important}}

/* Results: portrait stories stay vertical; Walmir keeps his landscape format */
@media(min-width:901px){
  .results .cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:26px!important;max-width:920px!important;align-items:start!important}
  .results .testimonial{display:flex!important;flex-direction:column!important;min-height:0!important;border-radius:24px!important}
  .results .testimonial:first-child{grid-column:1!important;grid-row:1!important}
  .results .testimonial:nth-child(3){grid-column:2!important;grid-row:1!important}
  .results .testimonial:nth-child(2){grid-column:1 / -1!important;grid-row:2!important;display:grid!important;grid-template-columns:42% 58%!important}
  .results .testimonial:first-child .social-media,
  .results .testimonial:nth-child(3) .sabrina-media{width:100%!important;height:430px!important;min-height:430px!important}
  .results .testimonial:first-child .social-media video{width:100%!important;height:100%!important;object-fit:contain!important;background:#554638!important}
  .results .testimonial:nth-child(2) .social-media{grid-column:1!important;grid-row:1!important;width:100%!important;height:270px!important;min-height:270px!important}
  .results .testimonial:nth-child(2) .social-media img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important}
  .results .testimonial:nth-child(2) .card-body{grid-column:2!important;grid-row:1!important}
  .results .testimonial .card-body{padding:25px 30px!important}
  .results .testimonial .card-body>p:not(.tag){margin-bottom:10px!important;line-height:1.55!important}
}

/* Definitive seamless desktop hero — must remain the final desktop override */
@media(min-width:901px){
  .hero{background:#315b68!important}
  .hero-picture{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block!important}
  .hero-image{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center center!important;animation:none!important}
  .hero-shade{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;background:linear-gradient(90deg,#183832f7 0%,#21453fe9 31%,#2b5350c2 45%,#3e696774 58%,#537f7a24 70%,transparent 82%)!important}
}

/* This block intentionally stays last to beat legacy mobile photo rules. */
@media screen and (max-width:560px){
  section.presentation .luciana-photo{
    display:block!important;
    min-height:330px!important;
    background-image:url('media/luciana-responsive-master.jpg%3Fv=3')!important;
    background-size:cover!important;
    background-position:center center!important;
    background-repeat:no-repeat!important;
  }
}

/* Absolute final mobile presentation override. */
@media screen and (max-width:560px){
  section.presentation .luciana-photo{
    display:block!important;
    min-height:330px!important;
    background-image:url('media/luciana-responsive-master.jpg%3Fv=2')!important;
    background-size:cover!important;
    background-position:center center!important;
    background-repeat:no-repeat!important;
  }
}

/* Seamless hero transition using the new high-resolution landscape */
@media(min-width:901px){
  .hero{background:#315b68!important}
  .hero-image{inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important;animation:none!important}
  .hero-shade{background:linear-gradient(90deg,#203e42f2 0%,#294f55e7 28%,#355e66bd 45%,#47737b68 59%,transparent 76%)!important}
}
@media(max-width:560px){
  .hero-picture{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block!important}
  .hero-image{inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:64% center!important}
  .hero-shade{background:linear-gradient(90deg,#203e42e8 0%,#294f55c9 38%,#355e6680 67%,transparent 100%)!important}
}

/* Final mobile composition: compact presentation and vertical care window */
@media(max-width:560px){
  .nav{position:relative!important;top:auto!important}
  .hero{height:520px!important;min-height:520px!important;max-height:520px!important;align-items:flex-end!important;padding-bottom:28px!important}
  .hero-image{inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:62% center!important}
  .hero-copy{margin:0 22px!important;width:calc(100% - 44px)!important;padding:0!important}
  .hero h1{font-size:39px!important;line-height:.95!important;margin:10px 0 15px!important}
  .hero-copy>p:not(.eyebrow){font-size:14px!important;line-height:1.45!important;max-width:310px!important;margin:0 0 18px!important}
  .hero .button{padding:14px 22px!important}

  .presentation{margin:26px 14px 34px!important;border-radius:22px!important}
  .luciana-photo{min-height:245px!important;background-size:225% auto!important;background-position:left center!important;border-radius:22px 22px 0 0!important}
  .luciana-card{padding:24px 21px 27px!important;border-radius:0 0 22px 22px!important}
  .luciana-card h2{font-size:36px!important;margin:8px 0 5px!important}
  .luciana-card .credential{margin-bottom:15px!important}
  .luciana-card .intro-line{font-size:18px!important;line-height:1.35!important}

  .care{display:grid!important;grid-template-columns:42% 58%!important;gap:0!important;margin:32px 14px!important;padding:15px!important;align-items:start!important}
  .care .video-wrap{grid-column:1!important;grid-row:1!important;width:100%!important;height:285px!important;border-radius:18px!important;background:transparent!important}
  .care .video-wrap video{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;background:transparent!important}
  .care .care-copy{display:contents!important}
  .care .care-copy>.eyebrow{grid-column:2!important;grid-row:1!important;align-self:start!important;margin:25px 0 0 18px!important}
  .care .care-copy>h2{grid-column:2!important;grid-row:1!important;align-self:start!important;margin:52px 5px 0 18px!important;font-size:31px!important;line-height:1.02!important}
  .care .care-copy>ol{grid-column:1 / -1!important;grid-row:2!important;margin-top:14px!important;padding:0 8px!important}
  .care .care-copy>.button{grid-column:1 / -1!important;grid-row:3!important;justify-self:start!important;margin:5px 8px 12px!important}
  .care li{padding:17px 0!important;gap:15px!important}
  .care li strong{font-size:18px!important}
}

/* Dedicated mobile hero asset: complete Luciana, separate from desktop crop. */
@media(max-width:560px){
  .hero-picture{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block!important}
  .hero-picture .hero-image{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important}
  .hero-shade{background:linear-gradient(90deg,#193a35ee 0%,#234b45d2 42%,#315f598a 68%,transparent 100%)!important}
}

/* Dedicated mobile presentation photo: original crop, never stretched. */
@media(max-width:560px){
  .luciana-photo{min-height:330px!important;background-image:url('media/luciana-responsive-master.jpg')!important;background-size:cover!important;background-position:center center!important;background-repeat:no-repeat!important}
}

/* Final mobile text scale and safe zones for both Luciana portraits. */
@media(max-width:560px){
  .hero{align-items:flex-end!important;padding-bottom:24px!important}
  .hero-copy{width:61%!important;max-width:310px!important;margin:0 0 0 22px!important;padding:0!important}
  .hero-copy .eyebrow{font-size:8px!important;letter-spacing:2px!important;white-space:nowrap!important}
  .hero h1{font-size:31px!important;line-height:.98!important;margin:10px 0 14px!important}
  .hero-copy>p:not(.eyebrow){font-size:11px!important;line-height:1.42!important;max-width:275px!important;margin:0 0 16px!important}
  .hero .button{font-size:11px!important;padding:13px 19px!important}
  .hero-shade{background:linear-gradient(90deg,#193a35f4 0%,#234b45df 40%,#315f5990 62%,transparent 82%)!important}
}

/* Atendimento: preserve the original video, including its captions */
.care .video-wrap{background:#554638!important}
.care .video-wrap video{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center center!important;transform:none!important;background:#554638!important}

/* Sabrina: preserve a real iPhone proportion instead of stretching the proof */
.sabrina-media .sabrina-portrait{width:73%!important;object-position:58% 18%!important}
.sabrina-media .iphone-proof{left:12px!important;right:auto!important;bottom:5%!important;height:90%!important;width:auto!important;aspect-ratio:9/19!important;padding:5px!important;transform:rotate(-1deg)!important;border-radius:24px!important}
.sabrina-media .iphone-proof>img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center top!important;border-radius:18px!important}
@media(max-width:680px){.sabrina-media{height:330px!important;min-height:330px!important}.sabrina-media .sabrina-portrait{display:block!important;width:76%!important;object-position:60% 18%!important}.sabrina-media .iphone-proof{height:86%!important;left:10px!important;bottom:7%!important}}

/* Mobile-only refinements */
@media(max-width:560px){
  .nav{height:96px!important;padding:0 18px 34px!important}
  .nav nav{height:34px!important;gap:20px!important;padding:0 16px!important}
  .nav nav a{font-size:10px!important;padding:10px 0!important}
  .brand-lockup>img{width:38px!important;height:38px!important}
  .brand-lockup .brand-name{font-size:17px!important}
  .hero{height:500px!important;min-height:500px!important;max-height:500px!important}
  .hero-image{object-position:62% 18%!important}
  .hero-copy{margin-left:22px!important;width:88%!important;padding-top:8px!important}
  .hero h1{font-size:42px!important;line-height:.96!important;margin:13px 0 18px!important}
  .hero-copy>p:not(.eyebrow){max-width:335px!important;margin-bottom:22px!important}
  .scroll-note{display:none!important}

  .presentation{margin:28px 14px 38px!important}
  .luciana-photo{min-height:295px!important;background-size:245% 100%!important;background-position:left center!important}
  .luciana-card{padding:27px 22px 30px!important}

  .care{margin:34px 14px!important;padding:14px!important;gap:12px!important}
  .video-wrap{height:300px!important;border-radius:18px!important;background:#554638!important}
  .video-wrap video{height:100%!important;transform:none!important;object-fit:contain!important;object-position:center center!important;background:#554638!important}
  .care-copy{padding:22px 12px 24px!important}
  .care h2{font-size:38px!important;margin:12px 0 18px!important}
}

/* Final proportional corrections for wide desktop screens */
@media(min-width:901px){
  .hero{background:linear-gradient(90deg,#203e38 0%,#315c67 55%,#73a6d3 100%)!important}
  .hero-image{inset:0 0 0 auto!important;width:55%!important;height:100%!important;object-fit:contain!important;object-position:right center!important;animation:none!important}
  .hero-shade{background:linear-gradient(90deg,#172b25e8 0%,#172b25b8 39%,#172b2540 58%,transparent 72%)!important}
  .presentation{grid-template-columns:57% 43%!important}
  .luciana-photo{min-height:470px!important;background-size:200% auto!important;background-position:left center!important}
  .luciana-card{padding:34px 36px!important}
  .luciana-card h2{font-size:43px!important}
  .luciana-card .intro-line{font-size:19px!important}
  .luciana-card>p:not(.eyebrow):not(.credential):not(.intro-line){font-size:12px!important;line-height:1.5!important}
  .luciana-details{gap:14px!important;margin:13px 0 16px!important}
  .luciana-details span{min-height:68px!important}
  .care{grid-template-columns:36% 64%!important}
  .care .video-wrap{width:310px!important;height:550px!important;justify-self:center!important;background:transparent!important}
  .care .video-wrap video{object-fit:cover!important;background:transparent!important}
  .care .care-copy{padding:38px 52px 38px 20px!important}
}

/* Keep the landscape edge-to-edge after every previous desktop override. */
@media(min-width:901px){
  .hero{background:#315b68!important}
  .hero-picture{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block!important}
  .hero-image{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center center!important;animation:none!important}
  .hero-shade{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;background:linear-gradient(90deg,#183832f7 0%,#21453fe9 31%,#2b5350c2 45%,#3e696774 58%,#537f7a24 70%,transparent 82%)!important}
}


/* ===== Ajuste final responsivo da foto da Luciana ===== */
.luciana-photo,
.about-photo,
.apresentacao-foto,
.quem-cuida-foto,
[style*="luciana-responsive-master.jpg"] {
  background-image: url("media/luciana-responsive-master.jpg") !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: 58% 46% !important;
}

/* Caso a foto seja uma <img> */
img[src*="luciana-responsive-master.jpg"] {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: 58% 46% !important;
}

/* Desktop: rosto inteiro dentro do painel esquerdo, sem invadir a divisão */
@media (min-width: 769px) {
  .luciana-photo,
  .about-photo,
  .apresentacao-foto,
  .quem-cuida-foto,
  [style*="luciana-responsive-master.jpg"] {
    background-position: 60% 48% !important;
  }

  img[src*="luciana-responsive-master.jpg"] {
    object-position: 60% 48% !important;
  }
}

/* Mobile: recorte vertical proporcional, sem esticar */
@media (max-width: 768px) {
  .luciana-photo,
  .about-photo,
  .apresentacao-foto,
  .quem-cuida-foto,
  [style*="luciana-responsive-master.jpg"] {
    background-position: 56% 38% !important;
    background-size: cover !important;
  }

  img[src*="luciana-responsive-master.jpg"] {
    object-fit: cover !important;
    object-position: 56% 38% !important;
  }
}
