/* =========================================================================
   Edione Carvalho — Esteticista em Barueri/SP
   Folha de estilo única do site. Organizada em blocos:
   1. Fontes  2. Tokens  3. Base  4. Utilitários  5. Botões  6. Cabeçalho
   7. Hero  8. Sobre  9. Serviços  10. Carrossel  11. Antes e depois
   12. Depoimentos  13. Instagram/CTA/Rodapé  14. Lightbox  15. Animações
   ========================================================================= */

/* ---------------------------------------------------------------- 1. Fontes
   Arquivos variáveis (eixo wght) servidos localmente — sem dependência
   externa e sem bloqueio de renderização por rede de terceiros. */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/playfair-display-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/playfair-display-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/work-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/work-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------------------------------------------------------------- 2. Tokens */
:root {
  /* cores */
  --bg: #FBF6F5;
  --surface: #FFFFFF;
  --ink: #2B2223;
  --ink-soft: #5A4B4D;
  --primary: #C05A80;
  --primary-dark: #B44A6E;
  --primary-darker: #8F3A57;
  --primary-tint: rgba(192, 90, 128, 0.12);
  --line: rgba(180, 74, 110, 0.14);
  --blush-1: #F3D8E2;
  --blush-2: #F8E7ED;

  /* sombras */
  --shadow-sm: 0 10px 30px -18px rgba(43, 34, 35, 0.18);
  --shadow-md: 0 24px 48px -20px rgba(43, 34, 35, 0.22);
  --shadow-lg: 0 30px 60px -24px rgba(43, 34, 35, 0.28);
  --shadow-cta: 0 12px 24px -10px rgba(192, 90, 128, 0.55);

  /* formas */
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* tipografia */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* medidas */
  --container: 1280px;
  --gutter: 5vw;
  --section-y: 96px;
  --header-h: 68px;
}

/* ------------------------------------------------------------------ 3. Base */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

img,
video { display: block; max-width: 100%; }

[hidden] { display: none !important; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0; }

a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: color 0.18s ease;
}
a:hover { color: var(--primary-darker); }

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--primary-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 200;
  background: var(--surface);
  color: var(--ink);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ----------------------------------------------------------- 4. Utilitários */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}

.section {
  padding: var(--section-y) var(--gutter);
}
.section--surface { background: var(--surface); }
.section--tight { padding-block: 80px; }

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-dark);
  font-weight: 600;
  margin: 0 0 14px;
}

.section-title { font-size: clamp(28px, 3.2vw, 40px); }

.lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-top: 16px;
}

.note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  opacity: 0.85;
}

/* ----------------------------------------------------------------- 5. Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn--primary:hover { background: var(--primary-dark); color: #fff; }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #3d3132; color: #fff; }

.btn--ghost {
  border: 1.5px solid #D8B6C3;
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary-dark); }

.btn--sm { padding: 11px 22px; font-size: 14px; }

.btn__icon { width: 20px; height: 20px; flex: none; }

/* -------------------------------------------------------------- 6. Cabeçalho */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 246, 245, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.header.is-stuck { box-shadow: 0 8px 24px -18px rgba(43, 34, 35, 0.45); }

.header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px var(--gutter);
}

.header__logo img { height: 38px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav__link:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded='true'] .icon-close { display: block; }
.nav-toggle[aria-expanded='true'] .icon-menu { display: none; }

/* --------------------------------------------------------------------- 7. Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 72px var(--gutter) 88px;
  max-width: var(--container);
  margin-inline: auto;
}

.hero__title {
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.08;
  margin: 0 0 22px;
}
.hero__text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 34px;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 500;
}
.badge svg { width: 16px; height: 16px; color: var(--primary); flex: none; }

/* -------------------------------------------------------------------- 8. Sobre */
.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.about__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__text p + p { margin-top: 18px; }
.about__text .lead { margin-top: 22px; }
.about__actions { margin-top: 30px; }

.about-videos {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 720px;
}

/* ----------------------------------------------------------------- 9. Serviços */
.services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.service {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(180, 74, 110, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(43, 34, 35, 0.3);
}
.service__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-tint);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service__icon svg { width: 26px; height: 26px; }
.service__name { font-size: 20px; margin-bottom: 10px; }
.service__desc { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }

.section-cta { text-align: center; margin-top: 56px; }

/* --------------------------------------------------------------- 10. Carrossel */
.carousel { position: relative; }

.carousel__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.carousel__head .section-head { margin-bottom: 0; }

.carousel__nav {
  display: flex;
  gap: 10px;
  flex: none;
  padding-bottom: 4px;
}
.carousel__btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}
.carousel__btn svg { width: 18px; height: 18px; }
.carousel__btn:hover:not(:disabled) { background: var(--primary); color: #fff; }
.carousel__btn:disabled { opacity: 0.35; cursor: default; }

.carousel__viewport {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 6px 2px 10px;
  margin: -6px -2px -10px;
  overscroll-behavior-x: contain;
}
.carousel__viewport::-webkit-scrollbar { display: none; }

.carousel__slide {
  scroll-snap-align: start;
  flex: 0 0 auto;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  background: rgba(180, 74, 110, 0.25);
  transition: width 0.22s ease, background-color 0.22s ease;
}
.carousel__dot[aria-current='true'] {
  width: 24px;
  border-radius: var(--radius-pill);
  background: var(--primary);
}

/* Cartão de mídia genérico (usado por antes/depois, depoimentos e vídeos) */
.media-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -22px rgba(43, 34, 35, 0.32);
}
.media-card__frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blush-1), var(--blush-2));
}
.media-card__frame img { width: 100%; height: 100%; }
.media-card__body { padding: 20px 22px 24px; }
.media-card__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: var(--primary-tint);
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  margin-bottom: 12px;
}
.media-card__title {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.25;
  margin-bottom: 8px;
}
.media-card__desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.media-card__author {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

/* Selo de play sobre pôsteres de vídeo */
.play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(43, 34, 35, 0) 45%, rgba(43, 34, 35, 0.5));
  transition: background-color 0.2s ease;
}
.play-badge__circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px -8px rgba(43, 34, 35, 0.5);
  transition: transform 0.2s ease;
}
.play-badge__circle svg { width: 22px; height: 22px; margin-left: 3px; }
.media-card:hover .play-badge__circle { transform: scale(1.08); }
.play-badge__time {
  position: absolute;
  right: 12px;
  bottom: 12px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: rgba(43, 34, 35, 0.65);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
}

/* --------------------------------------------------------- 11. Antes e depois */
.results {
  background: var(--surface);
  --slide-w: clamp(260px, 76vw, 360px);
}

.slide--result { width: var(--slide-w); }
/* `contain` preserva o enquadramento original das comparações — recortar
   distorceria a leitura do antes/depois. */
.slide--result .media-card__frame {
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  /* fundo neutro: as comparações têm proporções diferentes e o
     letterbox precisa desaparecer, não competir com a foto */
  background: #F6F0F1;
}
.slide--result .media-card__frame img { object-fit: contain; }

.results__note {
  margin-top: 32px;
  text-align: center;
  max-width: 620px;
  margin-inline: auto;
}

/* -------------------------------------------------------------- 12. Depoimentos */
.testimonials {
  background: linear-gradient(180deg, var(--bg) 0%, #F7EBEF 100%);
  --slide-w: clamp(240px, 70vw, 296px);
}

.slide--testimonial { width: var(--slide-w); }
.slide--testimonial .media-card__frame { aspect-ratio: 9 / 16; }
.slide--testimonial .media-card__frame img { object-fit: cover; object-position: top center; }

.about-videos .media-card__frame { aspect-ratio: 4 / 5; }
.about-videos .media-card__frame img { object-fit: cover; object-position: center 22%; }

/* ------------------------------------------------- 13. Instagram / CTA / Rodapé */
.instagram {
  background: linear-gradient(135deg, var(--blush-1), var(--blush-2));
  text-align: center;
}
.instagram__mark {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  border: 2.5px solid var(--primary-dark);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.instagram__mark svg { width: 30px; height: 30px; }
.instagram .lead { max-width: 520px; margin-inline: auto; }
.instagram .btn { margin-top: 30px; }

.cta-final {
  background: var(--ink);
  text-align: center;
  padding: 80px var(--gutter);
}
.cta-final__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  color: #fff;
  max-width: 640px;
  margin: 0 auto 26px;
  line-height: 1.3;
}
.cta-final__text {
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
  margin-bottom: 32px;
}

.footer {
  padding: 40px var(--gutter);
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer img { height: 30px; width: auto; }
.footer__links {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.footer__links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.footer__legal {
  width: 100%;
  font-size: 13px;
  color: var(--ink-soft);
  opacity: 0.8;
}

/* Botão flutuante de WhatsApp */
.whatsapp-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 55;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -10px rgba(37, 211, 102, 0.8);
  transition: transform 0.2s ease;
}
.whatsapp-fab:hover { transform: scale(1.06); color: #fff; }
.whatsapp-fab svg { width: 30px; height: 30px; }

/* ------------------------------------------------------------------ 14. Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(30, 22, 24, 0.92);
  backdrop-filter: blur(4px);
}
.lightbox[open],
.lightbox.is-open { display: flex; }

.lightbox__dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: min(980px, 100%);
  max-height: 100%;
}
.lightbox__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 74vh;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #16100f;
  box-shadow: 0 30px 70px -30px #000;
}
.lightbox__stage img,
.lightbox__stage video {
  max-height: 74vh;
  max-width: min(88vw, 900px);
  width: auto;
  height: auto;
  object-fit: contain;
}
.lightbox__caption {
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.55;
}
.lightbox__caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 6px;
}
.lightbox__counter {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.lightbox__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.18s ease;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox__btn svg { width: 20px; height: 20px; }
.lightbox__btn--prev { left: -66px; }
.lightbox__btn--next { right: -66px; }
.lightbox__btn--close {
  position: fixed;
  top: 18px;
  right: 18px;
  transform: none;
}

body.has-lightbox { overflow: hidden; }

/* ----------------------------------------------------------------- 15. Animações */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------ 16. Responsivo */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lightbox__btn--prev { left: 4px; }
  .lightbox__btn--next { right: 4px; }
}

@media (max-width: 900px) {
  :root { --section-y: 72px; }

  .hero,
  .about { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .about__media { max-width: 420px; margin-inline: auto; }

  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -24px rgba(43, 34, 35, 0.6);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__link {
    padding: 14px 2px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .nav__link::after { display: none; }
  .nav .btn { margin-top: 16px; }

  .nav-toggle { display: flex; }

  .carousel__head { flex-direction: column; align-items: stretch; }
  .carousel__nav { justify-content: flex-end; }

  /* No mobile só cabe um slide por vez: em vez de encostar na borda
     esquerda e deixar sobra à direita, o item atual fica centralizado.
     O padding lateral é o que permite ao primeiro e ao último item
     alcançarem o centro do viewport. */
  .carousel__viewport {
    --carousel-edge: max(2px, calc((100% - var(--slide-w, 100%)) / 2));
    padding-inline: var(--carousel-edge);
    margin-inline: 0;
    scroll-padding-inline: var(--carousel-edge);
  }
  .carousel__slide { scroll-snap-align: center; }

  .about-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .services { grid-template-columns: 1fr; }
  .hero__actions .btn,
  .cta-final .btn { width: 100%; }
  .carousel__viewport { gap: 16px; }
  .about-videos { grid-template-columns: 1fr; max-width: 360px; }
  .lightbox { padding: 12px; }
  .lightbox__stage img,
  .lightbox__stage video { max-height: 66vh; max-width: 92vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel__viewport { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
