/* =========================================================
   Nature Prime Spa — style.css (COM RESPONSIVO)
   - Mantém layout desktop como está
   - Ajustes via media queries + prevenção de scroll horizontal
   ========================================================= */

/* --------- 1) Reset + Variáveis --------- */
:root{
  --bg: #fbf6ef;
  --card: #ffffff;
  --ink: #1f2328;
  --muted: #5f656d;
  --line: rgba(31,35,40,.10);

  --gold: #c9a46b;
  --gold-2: #e2c999;
  --sand: #efe3d3;
  --olive: #2f3b33;

  --radius: 18px;
  --shadow: 0 16px 44px rgba(31,35,40,.10);

  --font-title: "Playfair Display", ui-serif, Georgia, "Times New Roman", serif;
  --font-body:  "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --container: 1120px;

  /* ✅ Gutter controlado (mantém desktop igual: 48px) */
  --gutter: 48px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

/* ✅ Evita scroll horizontal (sem “quebrar” layout) */
html, body{ overflow-x: hidden; }

body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
p{ margin: 0 0 1rem; }

/* Utilitários */
.container{
  width: min(var(--container), calc(100% - var(--gutter)));
  margin-inline: auto;
}
.muted{ color: var(--muted); }
.lead{
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 58ch;
}

/* Acessibilidade */
.skip-link{
  position:absolute;
  left:-999px;
  top:12px;
  background: var(--card);
  color: var(--ink);
  border:1px solid var(--line);
  padding:10px 12px;
  border-radius:12px;
  box-shadow: var(--shadow);
  z-index: 9999;
}
.skip-link:focus{ left:12px; }

/* Tipografia */
h1,h2,h3{
  font-family: var(--font-title);
  margin: 0 0 12px;
  letter-spacing: .2px;
}
h1{ font-size: 3rem; line-height: 1.06; }
h2{ font-size: 2.15rem; line-height: 1.12; }
h3{ font-size: 1.35rem; line-height: 1.2; }

/* --------- 2) Botões --------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
  user-select:none;
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }

.btn--insta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 14px 22px;
  border-radius: 999px;

  font-weight: 700;
  color: #111;

  background: linear-gradient(90deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
  box-shadow: 0 14px 34px rgba(31,41,55,.18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn--insta:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(31,41,55,.22);
}

/* --------- 3) Header / Nav (logo central) --------- */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,246,239,.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header__inner--split{
  display:grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  gap: 5px;
  padding: 16px 0;
}

/* Nav */
.nav__list{
  display:flex;
  align-items:center;
  gap: 18px;
  list-style:none;
  margin:0;
  padding:0;
}

.nav__link{
  font-weight: 800;
  color: var(--olive);
  opacity: .92;
  padding: 10px 12px;
  border-radius: 999px;
  transition: background .12s ease, opacity .12s ease;
}

.nav__link:hover{
  background: rgba(201,164,107,.14);
  opacity: 1;
}

.nav--left{ justify-self: end; }
.nav--right{ justify-self: start; }

/* Logo central */
.brand--center{
  justify-self: center;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 6px 10px;
  border-radius: 18px;
}
.brand__img{
  display:block;
  height: 70px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(31,35,40,.12));
}

/* --------- 4) Seções --------- */
.section{ padding: 130px 0; }
.section__header{
  max-width: 72ch;
  margin-bottom: 28px;
}
.section__subtitle{
  margin: 0;
  color: var(--muted);
}
.section + .section{
  border-top: 1px solid rgba(31,35,40,.06);
}

/* --------- 5) HERO --------- */
.hero--image-only{
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;

  background-image: url("./img/img-2.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(31,35,40,.45) 0%,
    rgba(31,35,40,.35) 40%,
    rgba(31,35,40,.55) 100%
  );
  z-index: 1;
}

.hero__center{
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 760px;
  padding: 0 20px;
}

.hero__center h1{
  font-family: var(--font-title);
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: .6px;
  margin-bottom: 18px;
  text-shadow:
    0 2px 12px rgba(0,0,0,.45),
    0 0 18px rgba(201,164,107,.25);
}

.hero__cta-text{
  font-size: .95rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,.55);
}

.hero__cta-text a{
  color: #fff;
  font-weight: 600;
  padding-bottom: 6px;
  border-bottom: 2px solid rgba(201,164,107,.95);
  transition: opacity .15s ease, border-color .15s ease;
}
.hero__cta-text a:hover{
  opacity: .85;
  border-color: #fff;
}

/* --------- 6) Sobre --------- */
.about__grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
  align-items:center;
}

.about__values{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin-top: 18px;
}

.mini-card{
  background: rgba(255,255,255,.65);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}
.mini-card h3{
  font-size: 1.12rem;
  margin-bottom: 8px;
}
.mini-card p{
  font-size: .8rem;
  margin:0;
  color: var(--muted);
}

.about__media{
  position: relative;
}
.about__media img{
  border-radius: 26px;
  border: 1px solid rgba(201,164,107,.25);
  box-shadow: var(--shadow);
  width: 100%;
  height: 520px;
  object-fit: cover;

  animation: floatVertical 6s ease-in-out infinite;
  will-change: transform;
}

@keyframes floatVertical {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* --------- 7) Slider Massagens --------- */
.slider{
  position: relative;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(31,35,40,.10);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.60);
}

.slider__viewport{ overflow: hidden; }

.slider__track{
  display: flex;
  transition: transform .6s ease;
  will-change: transform;
}

.slide{
  position: relative;
  min-width: calc(100% / 3);
  height: 420px;
  border-radius: 0;
  cursor: pointer;
}

.slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.95) contrast(1.02);
}

.slide__overlay{
  position: absolute;
  inset: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;

  background: linear-gradient(
    90deg,
    rgba(15,18,20,.55) 0%,
    rgba(15,18,20,.30) 45%,
    rgba(15,18,20,0) 75%
  );

  opacity: 0;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
}

.slide:hover .slide__overlay{
  opacity: 1;
  transform: translateY(0);
}

.slide__overlay h3{
  margin: 0;
  color: #fff;
  font-size: 1.4rem;
  letter-spacing: .5px;
  text-shadow: 0 10px 28px rgba(0,0,0,.40);
}

.slide__overlay p{
  margin: 0;
  max-width: 42ch;
  color: rgba(255,255,255,.90);
  font-size: .95rem;
  text-shadow: 0 10px 22px rgba(0,0,0,.45);
}

.slide__cta{
  margin-top: auto;
  align-self: flex-start;

  display: inline-flex;
  align-items: center;

  padding: 10px 14px;
  border-radius: 999px;

  color: #fff;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: .82rem;

  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);

  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.slide__cta:hover{
  background: rgba(201,164,107,.26);
  border-color: rgba(201,164,107,.55);
  transform: translateY(-1px);
}

/* Setas */
.slider__btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;

  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.26);
  color: #fff;

  font-size: 26px;
  cursor: pointer;

  display: grid;
  place-items: center;

  z-index: 3;
  backdrop-filter: blur(8px);
  transition: transform .12s ease, background .12s ease, opacity .12s ease;
  opacity: .92;
}
.slider__btn:hover{
  background: rgba(0,0,0,.34);
  transform: translateY(-50%) scale(1.04);
  opacity: 1;
}
.slider__btn--prev{ left: 10px; }
.slider__btn--next{ right: 10px; }

/* Dots */
.slider__dots{
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.18);
  cursor: pointer;
  transition: transform .12s ease, background .12s ease;
}
.dot.is-active{
  background: rgba(201,164,107,.95);
  border-color: rgba(201,164,107,.95);
  transform: scale(1.15);
}

/* --------- 8) Depoimentos --------- */
.testimonials__grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 42px;
  align-items: center;
}

.testimonials__photo{
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(31,41,55,.18);
}

.floaty{
  animation: floaty 3.8s ease-in-out infinite;
}
@keyframes floaty{
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.testimonials__card{
  width: 320px;
  min-height: 220px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(31,41,55,.12);
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(31,41,55,.10);

  padding: 18px 18px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonials__card .quote{
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: #2b2f36;
}
.testimonials__card .meta{
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: .95rem;
}
.testimonials__card .meta strong{ color: #111827; }

/* --------- 9) Instagram (feed) --------- */
.insta__kicker{
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 800;
  font-size: .78rem;
  color: var(--muted);
}

.insta__grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  overflow: hidden;
  border-radius: 0;
  border: 1px solid rgba(31,41,55,.10);
}

.insta__item{
  position: relative;
  display: block;
  cursor: pointer;
}

.insta__item img{
  width: 100%;
  height: 260px;
  object-fit: cover;
  filter: saturate(.98) contrast(1.02);
  transition: transform .35s ease, filter .35s ease;
}

/* overlay */
.insta__overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15,18,20,.45);
  opacity: 0;
  transition: opacity .3s ease;
}

.insta__overlay span{
  color: #fff;
  font-weight: 700;
  letter-spacing: .04em;
  font-size: .95rem;

  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 999px;
  backdrop-filter: blur(2px);
}

.insta__item:hover img{
  transform: scale(1.05);
  filter: brightness(.85);
}
.insta__item:hover .insta__overlay{ opacity: 1; }

.insta__text{
  margin: 28px auto 18px;
  max-width: 720px;
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
}

.insta_btn_wrap{
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* --------- 10) Atendimento --------- */
.atendimento__grid{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.atendimento__kicker{
  letter-spacing: .18em;
  font-weight: 700;
  font-size: 12px;
  opacity: .7;
  margin: 0 0 8px;
}

.atendimento__title{
  margin: 0 0 14px;
  font-size: 56px;
  line-height: 1;
  letter-spacing: .06em;
  font-weight: 300;
}

.atendimento__desc{
  margin: 0 0 28px;
  max-width: 48ch;
  opacity: .85;
}

.atendimento__bloco{ margin: 18px 0; }

.atendimento__bloco h3{
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .7;
}

.atendimento__bloco p{ margin: 0; opacity: .9; }

.atendimento__link{
  display: inline-block;
  margin-top: 2px;
  font-weight: 800;
}

/* Mapa */
.atendimento__map{
  width: 80%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(31,41,55,.12);
  box-shadow: 0 18px 40px rgba(31,41,55,.10);
}
.atendimento__map iframe{
  width: 100%;
  height: 100%;
  display: block;
}

/* Hover flutuante */
.float-card{
  transform: translateY(0);
  transition: transform .35s ease, box-shadow .35s ease;
}
.float-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 26px 60px rgba(31,41,55,.16);
}

/* --------- 11) Footer --------- */
.footer{
  border-top: 1px solid var(--line);
  padding: 24px 0 28px;
  background: rgba(255,255,255,.35);
}
.footer__inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 14px;
}
.footer__link{
  font-weight: 600;
  border-bottom: 1px dashed rgba(0,0,0,.3);
  transition: opacity .2s ease, border-bottom-color .2s ease;
}
.footer__link:hover{
  opacity: .8;
  border-bottom-color: currentColor;
}

/* --------- 12) Botões flutuantes --------- */
.float-actions{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-wpp{
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #fff;
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
  cursor: pointer;
  transition: transform .12s ease;
}
.float-wpp:hover{ transform: translateY(-1px); }
.wpp-ico{ width: 30px; height: 30px; }

.wpp-bubble{
  position: absolute;
  right: 66px;
  top: 50%;
  transform: translateY(-50%);
  background: #111;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 12px;
  white-space: nowrap;
  box-shadow: 0 14px 34px rgba(0,0,0,.22);

  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.wpp-bubble::after{
  content:"";
  position:absolute;
  right:-6px;
  top:50%;
  transform: translateY(-50%);
  border-left: 6px solid #111;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
.wpp-bubble.is-show{
  opacity: 1;
  transform: translateY(-50%) translateX(-2px);
}

.float-top{
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 0;
  background: rgba(17,17,17,.92);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
  cursor: pointer;

  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.float-top.is-show{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* --------- 13) Modal de Zoom (mantém seu padrão: is-active) --------- */
.image-zoom{
  position: fixed;
  inset: 0;
  background: rgba(15,18,20,.85);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;

  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  padding: 24px;
}

.image-zoom.is-active{
  opacity: 1;
  pointer-events: auto;
}

.image-zoom img{
  max-width: 88vw;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  transform: scale(.9);
  transition: transform .25s ease;
}

.image-zoom.is-active img{ transform: scale(1); }

.image-zoom__close{
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
  opacity: .85;
  background: transparent;
  border: 0;
}
.image-zoom__close:hover{ opacity: 1; }

.image-zoom__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;

  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 28px;
  cursor: pointer;
  user-select: none;

  transition: background .15s ease, transform .15s ease;
}
.image-zoom__nav:hover{
  background: rgba(0,0,0,.65);
  transform: translateY(-50%) scale(1.05);
}

.image-zoom__nav--prev{ left: 24px; }
.image-zoom__nav--next{ right: 24px; }


/* =========================================================
   14) RESPONSIVIDADE (somente overrides)
   Breakpoints solicitados:
   - Mobile: (max-width: 575.98px)
   - Tablet: (min-width: 576px) and (max-width: 991.98px)
   - Desktop: (min-width: 992px) and (max-width: 1199.98px)
   - Extra Large: (min-width: 1200px)
   ========================================================= */


/* --------- 14.1) Ajustes globais (anti overflow) --------- */
/* ✅ Evita itens estourando em grids/flex (sem mudar identidade visual) */
.section__header,
.lead,
.insta__text,
.slide__overlay p,
.atendimento__desc{
  overflow-wrap: anywhere;
  word-break: normal;
}

/* ✅ Se algum link/cta muito longo aparecer, quebra sem criar scroll */
.btn,
.nav__link{
  max-width: 100%;
}


/* --------- 14.2) Mobile (até 575.98px) --------- */
@media (max-width: 575.98px){

  /* ✅ Mais “respiro” lateral para textos (nada colado nas bordas) */
  :root{ --gutter: 28px; }

  /* Tipografia mais confortável */
  h1{ font-size: 2.15rem; line-height: 1.12; }
  h2{ font-size: 1.85rem; line-height: 1.15; }
  h3{ font-size: 1.22rem; }

  .lead{ font-size: 1rem; }

  /* Seções com menos altura (mobile) */
  .section{ padding: 82px 0; }
  .section__header{ margin-bottom: 20px; }

  /* Header: empilha sem mexer no desktop */
  .header__inner--split{
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 0;
  }
  .brand--center{ order: 1; }
  .nav--left{ order: 2; justify-self: center; }
  .nav--right{ order: 3; justify-self: center; }

  /* Nav: wrap + área de toque melhor */
  .nav__list{
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }
  .nav__link{
    padding: 12px 14px;
    font-size: .95rem;
  }

  .brand__img{ height: 56px; }

  /* HERO */
  .hero--image-only{ min-height: 86vh; }
  .hero__center{ padding: 0 12px; }
  .hero__center h1{
    font-size: 2.05rem;
    line-height: 1.2;
    margin-bottom: 14px;
  }
  .hero__cta-text{
    font-size: .88rem;
    letter-spacing: 2.5px;
  }

  /* SOBRE */
  .about__grid{
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .about__values{
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .about__media img{
    height: 360px;
    animation: none; /* ✅ reduz “pulo” no mobile e melhora performance */
  }

  /* SLIDER: 1 slide por vez */
  .slide{
    min-width: 100%;
    height: 360px;
  }
  .slide__overlay{
    padding: 18px;
    opacity: 1;              /* ✅ mobile não depende de hover */
    transform: none;
    background: linear-gradient(
      180deg,
      rgba(15,18,20,.55) 0%,
      rgba(15,18,20,.28) 55%,
      rgba(15,18,20,.0) 100%
    );
  }
  .slide__overlay h3{ font-size: 1.25rem; }
  .slide__overlay p{ font-size: .92rem; }
  .slider__btn{
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
  .slider__btn--prev{ left: 8px; }
  .slider__btn--next{ right: 8px; }
  .slider__dots{ bottom: 8px; gap: 8px; }

  /* DEPOIMENTOS */
  .testimonials__grid{
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .testimonials__photo{
    height: 360px;
  }
  .testimonials__card{
    width: 100%;
    max-width: 420px;
  }

  /* INSTAGRAM: 2 colunas */
  .insta__grid{
    grid-template-columns: repeat(2, 1fr);
  }
  .insta__item img{ height: 180px; }
  .insta__text{
    margin: 20px auto 14px;
    font-size: .98rem;
    padding-inline: 2px;
  }

  /* ATENDIMENTO */
  .atendimento__grid{
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .atendimento__title{
    font-size: 38px;
    letter-spacing: .05em;
  }
  .atendimento__desc{
    margin-bottom: 18px;
    max-width: 60ch;
  }
  .atendimento__map{
    width: 100%;
    margin-inline: auto;
  }

  /* FOOTER */
  .footer__inner{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* Botões flutuantes: um pouco menores */
  .float-actions{ right: 14px; bottom: 14px; gap: 10px; }
  .float-wpp, .float-top{ width: 52px; height: 52px; }
  .wpp-ico{ width: 28px; height: 28px; }

  /* Modal: setas/close mais “safe” em telas pequenas */
  .image-zoom{ padding: 18px; }
  .image-zoom__nav{
    width: 46px;
    height: 46px;
    font-size: 24px;
  }
  .image-zoom__nav--prev{ left: 14px; }
  .image-zoom__nav--next{ right: 14px; }
  .image-zoom__close{ top: 14px; right: 14px; }
}


/* --------- 14.3) Tablet (576px a 991.98px) --------- */
@media (min-width: 576px) and (max-width: 991.98px){

  :root{ --gutter: 40px; }

  /* Seções levemente menores */
  .section{ padding: 105px 0; }

  /* Header: mantém 3 colunas, mas dá respiro e evita “aperto” */
  .header__inner--split{ gap: 10px; }
  .nav__list{ gap: 14px; flex-wrap: wrap; }

  /* SOBRE */
  .about__grid{
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .about__values{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .about__media img{ height: 440px; }

  /* SLIDER: 2 por vez */
  .slide{
    min-width: 50%;
    height: 400px;
  }
  .slide__overlay{
    padding: 22px;
    opacity: 1;     /* ✅ tablets nem sempre têm hover confiável */
    transform: none;
  }

  /* DEPOIMENTOS */
  .testimonials__grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .testimonials__photo{ height: 440px; }
  .testimonials__card{ width: 100%; max-width: 520px; }

  /* INSTAGRAM: 3 colunas */
  .insta__grid{ grid-template-columns: repeat(3, 1fr); }
  .insta__item img{ height: 220px; }

  /* ATENDIMENTO */
  .atendimento__grid{
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .atendimento__title{ font-size: 46px; }
  .atendimento__map{
    width: 100%;
    margin-inline: auto;
  }
}


/* --------- 14.4) Desktop (992px a 1199.98px) --------- */
@media (min-width: 992px) and (max-width: 1199.98px){
  /* ✅ Mantém layout desktop; só ajuste fino de respiro */
  :root{ --gutter: 48px; }

  .section{ padding: 120px 0; }

  /* Instagram: garante que não “aperte” demais visualmente */
  .insta__item img{ height: 250px; }
}


/* --------- 14.5) Extra Large (>= 1200px) --------- */
@media (min-width: 1200px){
  /* ✅ Desktop/XL como você já desenhou */
  :root{ --gutter: 48px; }
}

/* =========================================================
   FIX MOBILE (Samsung/Android) — Sobre / Missão Visão Valores
   Cole no FINAL do CSS
========================================================= */
@media (max-width: 575.98px){

  /* Evita qualquer estouro horizontal por textos/elementos */
  body{ overflow-x: hidden; }
  .container{ width: min(var(--container), calc(100% - 28px)); }

  /* SOBRE: layout em 1 coluna */
  .about__grid{
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* ✅ Missão / Visão / Valores em 1 coluna (nada de texto “em pé”) */
  .about__values{
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .mini-card{
    padding: 16px !important;
    border-radius: 16px;
  }

  .mini-card h3{
    font-size: 1.1rem !important;
    line-height: 1.2 !important;
    margin-bottom: 6px !important;
  }

  .mini-card p{
    font-size: .95rem !important;
    line-height: 1.45 !important;
    /* garante quebra bonita e evita “coluna estreita” */
    overflow-wrap: anywhere;
    word-break: normal;
  }

  /* Imagem do sobre: altura mais adequada no mobile */
  .about__media img{
    height: 360px !important;
    width: 100%;
    object-fit: cover;
    animation: none !important; /* melhora estabilidade/performance no Android */
  }
}
