/* ============================================================
   Dr. Luiz França — Mastologista
   Reprodução do "DR LUIZ FRANÇA site.psd" (canvas 1920px).

   Medida: 1rem = 100px do mockup. A página escala com a largura
   da janela e trava em 1920px.  Ex.: 248px no PSD -> 2.48rem
   ============================================================ */

/* ------------------------------------------------------------
   FONTES
   O PSD usa Montserrat (livre) e TOP LUXURY (comercial, não
   fornecida). Substituta: Italiana — mesma construção
   geométrica, bojos circulares e serifas finas.
   Se os arquivos originais aparecerem, basta declarar
   @font-face para "TOP LUXURY": o font-family já a busca antes.
   ------------------------------------------------------------ */
@font-face{ font-family:"Montserrat"; font-weight:300; font-style:normal;
  src:url("fonts/Montserrat-300.woff2") format("woff2"); font-display:swap; }
@font-face{ font-family:"Montserrat"; font-weight:400; font-style:normal;
  src:url("fonts/Montserrat-400.woff2") format("woff2"); font-display:swap; }
@font-face{ font-family:"Montserrat"; font-weight:500; font-style:normal;
  src:url("fonts/Montserrat-500.woff2") format("woff2"); font-display:swap; }
@font-face{ font-family:"Montserrat"; font-weight:600; font-style:normal;
  src:url("fonts/Montserrat-600.woff2") format("woff2"); font-display:swap; }
@font-face{ font-family:"Montserrat"; font-weight:700; font-style:normal;
  src:url("fonts/Montserrat-700.woff2") format("woff2"); font-display:swap; }
@font-face{ font-family:"Italiana"; font-weight:400; font-style:normal;
  src:url("fonts/Italiana-Regular.woff2") format("woff2"); font-display:swap; }

html{
  font-size: calc(100vw / 19.2);        /* 1rem = 100 "px de mockup" */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (min-width: 1920px){ html{ font-size: 100px; } }

*,*::before,*::after{ box-sizing: border-box; }

body{
  margin: 0;
  background: var(--off-white);
  color: var(--navy-900);
  font-family: "Montserrat",-apple-system,"Segoe UI",sans-serif;
  font-weight: 400;
  /* base sã: sem isto tudo herdaria os 100px da raiz e qualquer
     bloco sem font-size própria ganharia um strut gigante */
  font-size: .2rem;
  line-height: 1.4;
  overflow-x: hidden;
}
@media (min-width: 1920px){ body{ max-width: 1920px; margin-inline: auto; } }

img{ display: block; max-width: 100%; }
a{ text-decoration: none; color: inherit; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,p{ margin: 0; }
button{ font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* --- paleta extraída do PSD --- */
:root{
  --navy-900:#001B39;
  --navy-800:#002242;
  --navy-700:#042D50;
  --navy-600:#103B61;
  --navy-500:#204D78;
  --gold:#EDBE58;
  --off-white:#F5F5F5;
}

.display{ font-family:"TOP LUXURY","Italiana",serif; font-weight:400; }

/* ============================================================
   BOTÕES
   ============================================================ */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  white-space: nowrap;
  transition: filter .25s ease, transform .25s ease;
}
.btn:hover{ filter: brightness(1.08); transform: translateY(-.01rem); }

/* pílula branca do menu */
.btn--nav{
  width: 2.48rem;
  height: .49rem;
  background: #FFFFFF;
  color: var(--navy-900);
  font-size: .155rem;
  font-weight: 700;
  letter-spacing: -.004rem;
}

/* pílula navy sólida ("SAIBA MAIS", "LEIA MAIS", "@dr.luizfranca") */
.btn--navy{
  height: .62rem;
  padding: 0 .27rem;
  background: linear-gradient(90deg,#001B39 0%,#0D365C 100%);
  color: #FFFFFF;
  font-size: .256rem;
  font-weight: 700;
  letter-spacing: -.005rem;
}

/* botão branco + selo de WhatsApp (hero / entre em contato) */
.btn-wpp{
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 4.8rem;
  height: .86rem;
}
.btn-wpp__label{
  display: inline-flex;
  align-items: center;
  width: 4.77rem;
  height: .65rem;
  padding: 0 .8rem 0 .33rem;
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--navy-900);
  font-size: .255rem;
  font-weight: 700;
  letter-spacing: -.005rem;
  transition: filter .25s ease;
}
.btn-wpp__icon{
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: .86rem;
  height: .86rem;
}
.btn-wpp:hover .btn-wpp__label{ filter: brightness(.96); }

/* ============================================================
   HEADER  (header-bg.png — barra navy 1920×240 com base curva)
   ============================================================ */
.header{
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2.4rem;
  z-index: 10;
}
.header__bg{
  position: absolute;
  inset: 0;
  background: url("img/header-bg.png") center top / 100% 100% no-repeat;
  pointer-events: none;
}
.nav{
  position: relative;
  height: 2.28rem;
  display: flex;
  align-items: flex-start;
}
.nav__logo{
  position: absolute;
  left: 7.98rem;
  top: .54rem;
  width: 3.26rem;
}
.nav__list{
  display: flex;
  align-items: center;
}
.nav__list li{ display: flex; align-items: center; }
.nav__list a{
  position: relative;
  font-size: .21rem;
  font-weight: 400;
  color: #FFFFFF;
  letter-spacing: -.005rem;
  white-space: nowrap;
  transition: color .2s ease;
}
.nav__list a:hover{ color: var(--gold); }
.nav__list a.is-active::after{
  content:"";
  position: absolute;
  left: 0; right: 0;
  bottom: -.09rem;
  height: 1px;
  background: #FFFFFF;
}
/* posições exatas do PSD */
.nav__list--left{ position: absolute; left: 1.4rem; top: 1.09rem; gap: 1.06rem; }
.nav__list--right{ position: absolute; left: 12.11rem; top: 1.09rem; gap: .92rem; }
.nav .btn--nav{ position: absolute; left: 15.33rem; top: .97rem; }

.nav__toggle{ display: none; }
/* no desktop o painel não existe no box tree: os filhos continuam
   posicionados em absoluto contra .nav, exatamente como no PSD */
.nav__panel{ display: contents; }

/* ============================================================
   HERO da home  (hero.jpg — 1920×1170)
   ============================================================ */
.hero{
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 1167;
  overflow: hidden;
  background: var(--navy-900) url("img/hero.jpg") center / cover no-repeat;
  border-bottom: 3px solid var(--gold);
}
.hero__content{
  position: absolute;
  left: 1.42rem;
  top: 5.4rem;
  z-index: 2;
}
.hero__title{
  font-family:"TOP LUXURY","Italiana",serif;
  font-weight: 400;
  font-size: .87rem;
  line-height: .8rem;
  color: #FFFFFF;
  letter-spacing: .088rem;
}
.hero__text{
  margin-top: .21rem;
  font-size: .273rem;
  line-height: .285rem;
  color: #FFFFFF;
}
.hero__content .btn-wpp{ margin-top: .32rem; }

/* ============================================================
   CONHEÇA O DOUTOR (home)
   ============================================================ */
.conheca{
  position: relative;
  background: var(--off-white);
  height: 11.85rem;                     /* 1167 -> 2352 */
}
.conheca__media{
  position: absolute;
  left: 1.3rem;
  top: .63rem;                          /* card do PSD em y=1230 */
  width: 7.8rem;
}
.conheca__body{
  position: absolute;
  left: 10.11rem;
  top: 2.68rem;                         /* título do PSD em y=1444 */
  width: 7.75rem;                       /* a linha mais longa do PSD vai até x=1768 */
}
.conheca__title{
  font-family:"TOP LUXURY","Italiana",serif;
  font-weight: 400;
  font-size: .87rem;
  line-height: .84rem;
  color: var(--navy-900);
  letter-spacing: .06rem;
}
.conheca__body p{
  margin-top: .32rem;
  font-size: .245rem;
  line-height: .31rem;
  color: var(--navy-900);
}
.conheca__body p + p{ margin-top: .38rem; }
.conheca__body .btn--navy{ margin-top: .44rem; }

/* ============================================================
   DIVISOR com ornamento
   ============================================================ */
.divisor{
  position: absolute;
  left: 1.38rem;
  top: 11.05rem;                        /* -> y 2272 */
  display: flex;
  align-items: center;
  gap: .19rem;
  width: 16.45rem;
}
.divisor::before, .divisor::after{
  content:"";
  flex: 1;
  height: 2px;
  background: var(--navy-900);
}
.divisor img{ width: .77rem; }

/* ============================================================
   TRATAMENTOS (carrossel)
   ============================================================ */
.trat{
  background: var(--off-white);
  padding: .82rem 0 1.49rem;            /* 2352 -> 2443 ... -> 3506 */
  overflow: hidden;
}
.trat__title{
  font-family:"TOP LUXURY","Italiana",serif;
  font-weight: 400;
  font-size: .81rem;
  line-height: 1;
  text-align: center;
  letter-spacing: .1rem;
  color: var(--navy-900);
}
.trat__intro{
  width: 7.1rem;
  margin: .42rem auto 0;
  font-size: .245rem;
  line-height: .32rem;
  text-align: center;
  color: var(--navy-900);
}

.carousel{
  position: relative;
  margin-top: .45rem;
  height: 6.91rem;
}
.carousel__track{
  position: relative;
  height: 100%;
}
.carousel__slide{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4.73rem;
  transition: transform .5s cubic-bezier(.4,0,.2,1), opacity .5s ease, filter .5s ease;
  cursor: pointer;
}
.carousel__slide img{ width: 100%; border-radius: .2rem; }
.carousel__card{ position: relative; }
.carousel__body{
  position: absolute;
  left: .46rem;
  right: .4rem;
  bottom: .52rem;
  color: #FFFFFF;
}
.carousel__name{
  font-family:"TOP LUXURY","Italiana",serif;
  font-weight: 400;
  font-size: .32rem;
  line-height: .34rem;
  letter-spacing: .002rem;
}
.carousel__text{
  margin-top: .17rem;
  font-size: .155rem;
  line-height: .225rem;
}
.carousel__link{
  display: inline-block;
  margin-top: .16rem;
  font-size: .155rem;
  border-bottom: 1px solid #FFFFFF;
  padding-bottom: .02rem;
}

/* posições: centro ativo (maior) e laterais menores/apagadas */
.carousel__slide[data-pos="center"]{
  transform: translate(-50%,-50%) scale(1.322);   /* 473 -> 625 */
  z-index: 3;
  opacity: 1;
}
/* laterais em opacidade cheia: no PSD os cards de fora não são
   apagados — as fotos é que são escuras (centro cirúrgico). */
.carousel__slide[data-pos="left"]{
  transform: translate(calc(-50% - 4.975rem), -50%);
  z-index: 2;
}
.carousel__slide[data-pos="right"]{
  transform: translate(calc(-50% + 4.975rem), -50%);
  z-index: 2;
}
.carousel__slide[data-pos="hidden"]{
  transform: translate(-50%,-50%) scale(.8);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}
/* No PSD a foto dos cards laterais é opaca, mas o texto some num
   degradê em direção à borda de fora (medido no mockup: pico de
   brilho vai de ~56 a ~192 ao longo do card). Só o texto esmaece. */
.carousel__slide[data-pos="left"] .carousel__body{
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.12), rgba(0,0,0,.66));
          mask-image: linear-gradient(90deg, rgba(0,0,0,.12), rgba(0,0,0,.66));
}
.carousel__slide[data-pos="right"] .carousel__body{
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.66), rgba(0,0,0,.12));
          mask-image: linear-gradient(90deg, rgba(0,0,0,.66), rgba(0,0,0,.12));
}

.carousel__dots{
  display: flex;
  justify-content: center;
  gap: .06rem;                          /* PSD: bolinha 15px, passo 21px */
  margin-top: .52rem;
}
.carousel__dots button{
  width: .15rem;
  height: .15rem;
  border-radius: 50%;
  background: #C9CDD2;
  transition: background .25s ease;
}
.carousel__dots button[aria-current="true"]{ background: var(--navy-900); }

/* ============================================================
   FAIXA NAVY: instagram + blog  (navy-section.jpg 1920×1173)
   Bloco de altura fixa (3506 -> 4678) com filhos absolutos,
   nas coordenadas do PSD.
   ============================================================ */
.navy{
  position: relative;
  width: 100%;
  height: 11.72rem;
  background: var(--navy-700) url("img/navy-section.jpg") center top / cover no-repeat;
}
.insta__eyebrow{
  position: absolute;
  left: 1.86rem; top: 2.0rem;           /* 3719 */
  font-size: .278rem;
  letter-spacing: 0;
  color: #FFFFFF;
}
.insta__title{
  position: absolute;
  left: 1.86rem; top: 2.6rem;           /* 3775 */
  font-family:"TOP LUXURY","Italiana",serif;
  font-weight: 400;
  font-size: 1.04rem;
  line-height: 1;
  color: #FFFFFF;
  letter-spacing: .036rem;
}
.insta .btn--navy{
  position: absolute;
  left: 1.86rem; top: 3.71rem;          /* 3877 */
  background: #FFFFFF;
  color: var(--navy-900);
}
.insta__grid{
  position: absolute;
  left: 7.59rem; top: 1.09rem;          /* 3615 */
  display: flex;
  gap: .23rem;
}
.insta__grid a{
  display: block;
  width: 3.25rem;
  overflow: hidden;
  transition: transform .3s ease;
}
.insta__grid a:hover{ transform: translateY(-.06rem); }

.blogcta__card{
  position: absolute;
  left: 1.36rem; top: 6.11rem;          /* 4117 */
  width: 8.27rem;
}
.blogcta__card img{ width: 100%; }
.blogcta__cardText{
  position: absolute;
  left: .63rem;
  bottom: .65rem;
  color: #FFFFFF;
}
.blogcta__cardTitle{
  font-family:"TOP LUXURY","Italiana",serif;
  font-weight: 400;
  font-size: .51rem;
  line-height: .52rem;
  letter-spacing: .06rem;
}
.blogcta__cardSub{
  margin-top: .21rem;
  font-size: .278rem;
  line-height: .28rem;
}
.blogcta__eyebrow{
  position: absolute;
  left: 10.56rem; top: 7.4rem;          /* 4257 */
  font-size: .278rem;
  letter-spacing: 0;
  color: #FFFFFF;
}
.blogcta__title{
  position: absolute;
  left: 10.57rem; top: 7.9rem;          /* 4306 */
  font-family:"TOP LUXURY","Italiana",serif;
  font-weight: 400;
  font-size: .85rem;
  line-height: 1;
  color: #FFFFFF;
  letter-spacing: .127rem;
}
.blogcta__side .btn--navy{
  position: absolute;
  left: 10.55rem; top: 8.94rem;         /* 4400 */
  background: #FFFFFF;
  color: var(--navy-900);
}

/* ============================================================
   CTA "ENTRE EM CONTATO" (card compartilhado)
   ============================================================ */
.cta{
  background: var(--off-white);
  padding: .98rem 0 .59rem;             /* 4678 -> 4776 ... -> 5518 */
}
.cta__card{
  position: relative;
  width: 16.48rem;
  margin-left: 1.36rem;
}
.cta__card > img{ width: 100%; }
.cta__body{
  position: absolute;
  left: 9.32rem;
  top: 1.76rem;
}
.cta__lead{
  font-size: .293rem;
  line-height: .37rem;
  color: var(--navy-900);
}
.cta__title{
  margin-top: .16rem;
  font-family:"TOP LUXURY","Italiana",serif;
  font-weight: 400;
  font-size: .85rem;
  line-height: .82rem;
  color: var(--navy-900);
  letter-spacing: .113rem;
}
.cta__body .btn-wpp{ margin-top: .28rem; }
.cta__body .btn-wpp__label{ border: 1px solid var(--navy-900); }

/* ============================================================
   FOOTER  (footer-bg.jpg — 1920×757)
   ============================================================ */
.footer{
  position: relative;
  width: 100%;
  min-height: 7.57rem;
  background: var(--navy-700) url("img/footer-bg.jpg") center top / cover no-repeat;
  color: #FFFFFF;
}
.footer__logo{
  position: absolute;
  left: 2.3rem;
  top: 1.36rem;                          /* 5654 - 5518 */
  width: 5.81rem;
}
.footer__insta{
  position: absolute;
  left: 3.99rem;
  top: 5.05rem;                          /* 6023 - 5518 */
  display: flex;
  align-items: center;
  gap: .15rem;
  font-size: .243rem;
  transition: color .2s ease;
}
.footer__insta:hover{ color: var(--gold); }
.footer__insta img{ width: .36rem; }

.footer__infos{
  position: absolute;
  left: 9.91rem;
  top: 1.17rem;                          /* 5635 - 5518 */
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.footer__unit{ position: relative; }
.footer__addr{
  display: flex;
  align-items: flex-start;
  gap: .24rem;
  font-size: .254rem;
  line-height: .29rem;
}
.footer__addr img{ width: .32rem; flex: none; margin-top: .04rem; }
.footer__addr strong{ font-weight: 700; }
.footer__tel{
  display: flex;
  align-items: center;
  gap: .19rem;
  margin-top: .1rem;
  font-size: .254rem;
  transition: color .2s ease;
}
.footer__tel:hover{ color: var(--gold); }
.footer__tel img{ width: .41rem; flex: none; }

.footer__copy{
  position: absolute;
  left: 0; right: 0;
  top: 6.9rem;                           /* 6208 - 5518 */
  text-align: center;
  font-size: .212rem;
  color: #E7EDF3;
}

/* ============================================================
   PÁGINAS INTERNAS — faixa de topo com foto
   ============================================================ */
.pagehero{
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 1264;
  background: var(--off-white) center / cover no-repeat;
  border-bottom: 4px solid var(--gold);
}
.pagehero--sobre{ background-image: url("img/sobre-hero.jpg"); }
.pagehero--trat{ background-image: url("img/tratamentos-hero.jpg"); }
.pagehero__body{
  position: absolute;
  left: 1.47rem;
  width: 8.1rem;
}
.pagehero--sobre .pagehero__body{ top: 4.03rem; }   /* título em y=415 */
.pagehero--trat  .pagehero__body{ top: 4.46rem; }   /* eyebrow em y=458 */
.pagehero__eyebrow{
  font-size: .264rem;
  letter-spacing: .092rem;
  color: var(--navy-900);
  margin-bottom: .25rem;
}
.pagehero__title{
  font-family:"TOP LUXURY","Italiana",serif;
  font-weight: 400;
  font-size: .81rem;
  line-height: .82rem;
  color: var(--navy-900);
  letter-spacing: .06rem;
}
.pagehero__body p{
  margin-top: .43rem;
  font-size: .245rem;
  line-height: .32rem;
  color: var(--navy-900);
}
.pagehero__body p + p{ margin-top: .32rem; }

/* ============================================================
   BLOG — artigo
   ============================================================ */
.bloghero{
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 856;
  background: var(--navy-900) url("img/blog-hero.jpg") center / cover no-repeat;
  border-bottom: 4px solid var(--gold);
}
.article{
  position: relative;
  background: var(--off-white);
  height: 12.62rem;                     /* 856 -> 2118 (onde entra o CTA) */
}
.article__inner{
  position: absolute;
  left: 1.45rem;
  top: 1.06rem;                         /* eyebrow em y=968 */
  width: 16.1rem;
}
.article__eyebrow{
  font-size: .264rem;
  letter-spacing: .092rem;
  color: var(--navy-900);
}
.article__title{
  margin-top: .25rem;
  font-family:"TOP LUXURY","Italiana",serif;
  font-weight: 400;
  font-size: .81rem;
  line-height: .82rem;
  color: var(--navy-900);
  letter-spacing: .06rem;
}
.article__body{ margin-top: .45rem; width: 16rem; }
.article__body p{
  font-size: .245rem;
  line-height: .32rem;
  color: var(--navy-900);
}
.article__body p + p{ margin-top: .34rem; }

.share{
  position: absolute;
  left: 1.4rem;
  top: 10.78rem;                        /* 1934 - 856 */
  display: flex;
  align-items: center;
  gap: .55rem;
}
.share__label{
  font-family:"TOP LUXURY","Italiana",serif;
  font-weight: 400;
  font-size: .58rem;
  letter-spacing: .02rem;
  color: var(--navy-900);
}
.share__list{ display: flex; align-items: center; gap: .55rem; }
.share__list a{ display: flex; align-items: center; transition: transform .2s ease, opacity .2s ease; }
.share__list a:hover{ transform: translateY(-.03rem); opacity: .75; }
.share__list img{ height: .53rem; width: auto; }

/* ============================================================
   PÁGINA CONTATO
   ============================================================ */
.contatohero{
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 1367;
  background: var(--off-white) url("img/contato-hero.jpg") center top / cover no-repeat;
  border-bottom: 4px solid var(--gold);
}
.contatohero__body{
  position: absolute;
  left: 10.5rem;
  top: 4.5rem;                          /* texto em y=465 */
  width: 7.6rem;
}
.contatohero__body p{
  font-size: .293rem;
  line-height: .37rem;
  color: var(--navy-900);
}
.contatohero__body p + p{ margin-top: .4rem; }
.contatohero__title{
  margin-top: .52rem;
  font-family:"TOP LUXURY","Italiana",serif;
  font-weight: 400;
  font-size: .85rem;
  line-height: .82rem;
  color: var(--navy-900);
  letter-spacing: .113rem;
}
.contatohero__body .btn-wpp{ margin-top: .3rem; }
.contatohero__body .btn-wpp__label{ border: 1px solid var(--navy-900); }

/* nas internas o CTA começa 14px mais abaixo que na home */
.cta--interna{ padding-top: 1.12rem; }
/* no blog o card encosta no fim do artigo */
.cta--blog{ padding-top: 0; }

/* respiro claro entre a seção de contato e o rodapé (1367 -> 1500) */
.gap-contato{ height: 1.33rem; background: var(--off-white); }

/* ============================================================
   RESPONSIVO — abaixo de 900px vira fluxo vertical
   ============================================================ */
@media (max-width: 900px){
  html{ font-size: 62.5px; }

  /* ---- header / menu ---- */
  .header{ position: fixed; height: 1.15rem; }
  .header__bg{
    background: linear-gradient(90deg,#001B39 0%,#204D78 100%);
    border-bottom: 2px solid var(--gold);
  }
  .nav{ height: 1.15rem; align-items: center; }
  .nav__logo{ position: static; width: 1.9rem; margin-left: .4rem; }
  .nav__toggle{
    display: flex;
    position: absolute;
    right: .35rem; top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    justify-content: center;
    gap: .07rem;
    width: .6rem; height: .6rem;
    z-index: 3;
  }
  .nav__toggle span{
    display: block; height: 2px; width: .42rem;
    background: #fff; border-radius: 2px;
    transition: transform .3s ease, opacity .2s ease;
  }
  .nav[data-open="true"] .nav__toggle span:nth-child(1){ transform: translateY(.09rem) rotate(45deg); }
  .nav[data-open="true"] .nav__toggle span:nth-child(2){ opacity: 0; }
  .nav[data-open="true"] .nav__toggle span:nth-child(3){ transform: translateY(-.09rem) rotate(-45deg); }

  /* um único painel: as duas listas e o botão empilham na ordem do DOM.
     Antes cada <ul> era fixed no mesmo top e a da direita cobria a
     da esquerda — HOME e SOBRE MIM ficavam invisíveis. */
  .nav__panel{
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    left: 0; right: 0;
    top: 1.15rem;
    background: #001B39;
    border-bottom: 2px solid var(--gold);
    overflow: hidden;
    max-height: 0;
    transition: max-height .35s ease;
  }
  .nav[data-open="true"] .nav__panel{ max-height: 7rem; }
  .nav__list--left, .nav__list--right{
    position: static; left: auto; top: auto;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0;
  }
  .nav__list a{ display: block; padding: .28rem 0; font-size: .3rem; }
  .nav__list a.is-active::after{ display: none; }
  .nav .btn--nav{
    position: static; left: auto; top: auto;
    margin: .3rem 0 .45rem;
    width: 3.4rem; height: .72rem;
    font-size: .24rem;
  }

  /* ---- hero ---- */
  .hero{ aspect-ratio: auto; min-height: 9.5rem; padding: 2rem .5rem 1rem; background-position: 72% center; }
  .hero::after{
    content:"";
    position:absolute; inset:0;
    background: linear-gradient(180deg, rgba(0,27,57,.62) 0%, rgba(0,27,57,.42) 45%, rgba(0,27,57,.82) 100%);
  }
  .hero__content{ position: relative; z-index: 2; left: auto; top: auto; }
  .hero__title{ font-size: .62rem; line-height: .66rem; }
  .hero__text{ font-size: .26rem; line-height: .38rem; }
  .hero__text br{ display: none; }

  /* ---- conheça ---- */
  .conheca{ padding: .8rem .5rem; }
  .conheca__media{ position: static; left: auto; top: auto; width: 100%; max-width: 6rem; margin-inline: auto; }
  .conheca__body{ position: static; left: auto; top: auto; margin-left: 0; width: 100%; padding-top: .6rem; }
  .conheca__title{ font-size: .66rem; line-height: .66rem; }
  .conheca__body p{ font-size: .26rem; line-height: .38rem; }
  .conheca__body p br{ display: none; }

  .conheca{ height: auto; }
  .divisor{ position: static; width: 100%; margin-top: .6rem; }

  /* ---- tratamentos ---- */
  .trat{ padding: .8rem .5rem; }
  .trat__title{ font-size: .66rem; }
  .trat__intro{ width: 100%; font-size: .26rem; line-height: .38rem; }
  .trat__intro br{ display: none; }
  .carousel{ height: auto; margin-top: .6rem; }
  .carousel__track{ display: flex; flex-direction: column; gap: .4rem; height: auto; }
  .carousel__slide{
    position: static; width: 100%;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }
  .carousel__slide[data-pos="hidden"]{ pointer-events: auto; }
  /* empilhados, todos são "o card ativo": sem degradê no texto */
  .carousel__body{ -webkit-mask-image: none !important; mask-image: none !important; }
  .carousel__name{ font-size: .42rem; line-height: .46rem; }
  .carousel__text{ font-size: .22rem; line-height: .3rem; }
  .carousel__link{ font-size: .22rem; }
  .carousel__dots{ display: none; }

  /* ---- navy: instagram + blog ---- */
  .navy{ padding: .8rem .5rem; }
  .navy{ height: auto; }
  .insta__eyebrow, .insta__title, .insta .btn--navy, .insta__grid,
  .blogcta__eyebrow, .blogcta__title, .blogcta__side .btn--navy{
    position: static; left: auto; top: auto;
  }
  /* relative, não static: .blogcta__cardText é absoluto e precisa
     do card como referência — senão escapa para .navy */
  .blogcta__card{ position: relative; left: auto; top: auto; }
  .insta__title{ font-size: .66rem; margin-top: .1rem; }
  .insta .btn--navy{ margin-top: .4rem; }
  .insta__grid{ margin-top: .6rem; gap: .16rem; }
  .insta__grid a{ width: 33.33%; }

  .blogcta{ height: auto; margin-top: .8rem; }
  .blogcta__card{ width: 100%; }
  .blogcta__cardText{ left: .3rem; bottom: .3rem; }
  .blogcta__cardTitle{ font-size: .42rem; line-height: .46rem; }
  .blogcta__cardSub{ font-size: .22rem; }
  .blogcta__side{ margin-top: .6rem; }
  .blogcta__title{ font-size: .66rem; }

  /* ---- CTA ---- */
  .cta{ padding: .8rem .5rem; }
  .cta__card{ width: 100%; margin-left: 0; }
  .cta__card > img{ border-radius: .2rem; }
  .cta__body{ position: static; margin-top: .5rem; }
  .cta__lead{ font-size: .26rem; line-height: .36rem; }
  .cta__lead br{ display: none; }
  .cta__title{ font-size: .66rem; line-height: .66rem; }

  /* ---- páginas internas ---- */
  .pagehero{ aspect-ratio: auto; padding: 2rem .5rem 1rem; background-position: 78% top; }
  .pagehero::after{
    content:""; position:absolute; inset:0;
    background: linear-gradient(180deg, rgba(245,245,245,.92) 0%, rgba(245,245,245,.8) 100%);
  }
  .pagehero__body,
  .pagehero--sobre .pagehero__body,
  .pagehero--trat .pagehero__body{ position: relative; z-index: 2; left: auto; top: auto; width: 100%; }
  /* .62rem estoura 328px em "Rastreamento do" e "Câncer de Mama" e
     rebobina o título em linhas órfãs */
  .pagehero__title{ font-size: .54rem; line-height: .6rem; }
  .pagehero__body p{ font-size: .26rem; line-height: .38rem; }
  .pagehero__body p br{ display: none; }   /* quebras do desktop reembrulhariam */

  .bloghero{ aspect-ratio: 16/10; }
  .article{ height: auto; padding: .8rem .5rem; }
  .article__inner{ position: static; left: auto; top: auto; width: 100%; }
  .article__body{ width: 100%; }
  .share{ position: static; left: auto; top: auto; }
  .gap-contato{ display: none; }
  .article__inner, .article__body{ margin-left: 0; width: 100%; }
  .article__title{ font-size: .5rem; line-height: .56rem; }
  .article__body p{ font-size: .24rem; line-height: .36rem; }
  .share{ flex-direction: column; align-items: flex-start; gap: .3rem; margin-top: .7rem; }
  .share__label{ font-size: .5rem; }
  .share__list img{ height: .6rem; }

  .contatohero{ aspect-ratio: auto; padding: 2rem .5rem 1rem; background-position: 30% top; }
  .contatohero::after{
    content:""; position:absolute; inset:0;
    background: linear-gradient(180deg, rgba(245,245,245,.9) 0%, rgba(245,245,245,.82) 100%);
  }
  .contatohero__body{ position: relative; z-index: 2; left: auto; top: auto; width: 100%; }
  .contatohero__body p{ font-size: .26rem; line-height: .38rem; }
  .contatohero__body p br{ display: none; }
  .contatohero__title{ font-size: .62rem; line-height: .64rem; }

  /* ---- footer ---- */
  .footer{ min-height: 0; padding: .8rem .5rem 1rem; background-size: cover; }
  .footer__logo{ position: static; width: 100%; max-width: 4.6rem; margin: 0 auto; }
  .footer__insta{ position: static; justify-content: center; margin-top: .4rem; font-size: .26rem; }
  .footer__insta img{ width: .44rem; }
  .footer__infos{ position: static; margin-top: .8rem; gap: .5rem; }
  .footer__addr{ font-size: .24rem; line-height: .32rem; }
  .footer__addr img{ width: .38rem; }
  .footer__tel{ font-size: .24rem; }
  .footer__tel img{ width: .46rem; }
  .footer__copy{ position: static; margin-top: .8rem; font-size: .2rem; }
}
