/* ==========================================================
   CH Estética Avançada
   Estilos principais
   ========================================================== */

/* ---------- Variáveis ---------- */
:root {
  --white: #FFFFFF;
  --offwhite: #FAF8F6;
  --beige: #EDE5DE;
  --nude: #D4BCAD;
  --nude-dark: #A88A78;
  --black: #181818;
  --gray: #6B6B6B;          /* tom do #777 ajustado para contraste AA em fundo claro */
  --line: rgba(24, 24, 24, .12);

  --font-title: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-body: "Montserrat", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(24, 24, 24, .05);
  --shadow: 0 18px 40px -18px rgba(70, 48, 36, .22);
  --shadow-lg: 0 30px 70px -25px rgba(70, 48, 36, .32);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 84px;
  --container: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) - 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--black);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}

p { margin: 0 0 1.1em; }

em { font-style: italic; color: var(--nude-dark); }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--nude-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-sm);
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.icon { width: 18px; height: 18px; flex-shrink: 0; }

.center { text-align: center; }

/* ---------- Tipografia de seção ---------- */
.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--nude-dark);
}

.section { padding: clamp(80px, 11vw, 140px) 0; }

.section-head {
  max-width: 640px;
  margin: 0 auto clamp(48px, 6vw, 72px);
  text-align: center;
}

.section-title {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  margin-bottom: 20px;
}

.section-sub {
  color: var(--gray);
  font-size: 1.02rem;
  margin: 0;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color .4s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { transform: translateY(-2px); }

.btn--dark { background: var(--black); color: var(--white); }
.btn--dark::before { background: var(--nude-dark); }
.btn--dark:hover { box-shadow: var(--shadow); }

.btn--ghost { border-color: var(--black); color: var(--black); background: transparent; }
.btn--ghost::before { background: var(--black); }
.btn--ghost:hover { color: var(--white); }

.btn--lg { min-height: 60px; padding: 18px 40px; font-size: .82rem; }
.btn--block { width: 100%; }

.inline-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--nude-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  font-size: inherit;
}

/* ==========================================================
   CABEÇALHO
   ========================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.header.is-scrolled {
  --header-h: 70px;
  background: rgba(250, 248, 246, .9);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 6px 24px -14px rgba(70, 48, 36, .18);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; position: relative; z-index: 2; }
.brand__mark { width: 38px; height: auto; transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.04); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.brand__tag {
  font-size: .58rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 0;
}
.nav__link { transition: color .3s; }
.nav__link:hover,
.nav__link.is-active { color: var(--nude-dark); }
.nav__cta { min-height: 44px; padding: 10px 22px; font-size: .72rem; }

.menu-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 48px; height: 48px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  position: absolute;
  left: 12px;
  width: 24px; height: 1.5px;
  background: var(--black);
  transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 23px; width: 16px; }
.menu-toggle span:nth-child(3) { top: 29px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  background:
    radial-gradient(ellipse 60% 70% at 85% 30%, var(--beige) 0%, transparent 70%),
    var(--offwhite);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
}

.hero__title {
  font-size: clamp(2.8rem, 6.2vw, 5.2rem);
  font-weight: 400;
  line-height: 1.02;
  margin-bottom: 28px;
}
.hero__title em { display: block; }

.hero__text {
  max-width: 480px;
  font-size: 1.05rem;
  color: var(--gray);
  margin-bottom: 40px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }

.hero__info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .85rem;
  color: var(--gray);
}
.hero__info li { display: flex; align-items: center; gap: 8px; }
.hero__info .icon { color: var(--nude-dark); }
.hero__info a:hover { color: var(--black); }

.hero__media { position: relative; justify-self: center; width: 100%; max-width: 480px; }

.hero__frame {
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}
.hero__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}


.hero__badge {
  position: absolute;
  z-index: 2;
  left: -36px;
  bottom: 56px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px 16px 18px;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.5;
  animation: float 6s ease-in-out infinite;
}
.hero__badge img { width: 30px; }


/* Animações de entrada do hero */
.hero__anim {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 1s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
.hero__frame { animation: revealArch 1.4s var(--ease) .15s both; }
.hero__frame img { animation: zoomOut 2.2s var(--ease) .15s both; }

@keyframes fadeUp { to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes revealArch {
  from { clip-path: inset(100% 0 0 0 round 999px 999px 24px 24px); }
  to   { clip-path: inset(0 0 0 0 round 999px 999px 24px 24px); }
}
@keyframes zoomOut { from { transform: scale(1.15); } to { transform: scale(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ==========================================================
   SOBRE
   ========================================================== */
.about { background: var(--white); }

.about__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
}

.about__media { position: relative; }
.about__frame {
  margin: 0;
  aspect-ratio: 5 / 6;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}
.about__frame img { width: 100%; height: 100%; object-fit: cover; }
.about__deco {
  position: absolute;
  right: -28px; bottom: -28px;
  width: 62%; height: 62%;
  background: var(--beige);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.about__content p { color: var(--gray); font-size: 1.02rem; }

.about__sign { margin-top: 36px; display: flex; align-items: center; gap: 18px; }
.about__avatar {
  flex: none;
  width: 104px; height: 104px;
  border-radius: 16px;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
}
.about__sign strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.2;
}
.about__sign span {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ==========================================================
   PROCEDIMENTOS
   ========================================================== */
.services { background: var(--offwhite); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.card:hover .card__media img { transform: scale(1.06); }

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 28px 30px;
}
.card__body p { color: var(--gray); font-size: .94rem; flex: 1; }
.card__title { font-size: 1.75rem; margin-bottom: 10px; }
.card__kicker {
  flex: 0 !important;
  margin-bottom: 8px;
  font-size: .68rem !important;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--nude-dark) !important;
}

.card__link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0;
  background: none;
  border: 0;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: gap .4s var(--ease), color .4s;
}
.card__link:hover { gap: 16px; color: var(--nude-dark); }

.card--dark { background: var(--black); color: var(--white); }
.card--dark .card__body p { color: rgba(255, 255, 255, .72); }
.card--dark .card__kicker { color: var(--nude) !important; }
.card--dark .card__link { color: var(--white); }
.card--dark .card__link:hover { color: var(--nude); }

.card--wide { grid-column: 1 / -1; flex-direction: row; }
.card--wide .card__media { flex: 0 0 42%; aspect-ratio: auto; min-height: 280px; }
.card--wide .card__body { justify-content: center; padding: 40px 48px; }
.card--wide .card__body p { flex: 0; margin-bottom: 18px; }

/* ==========================================================
   DIFERENCIAIS
   ========================================================== */
.features { background: var(--white); }

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature {
  text-align: center;
  padding: 44px 26px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .5s var(--ease), background-color .5s var(--ease), transform .5s var(--ease);
}
.feature:hover { border-color: var(--nude); background: var(--offwhite); transform: translateY(-4px); }

.feature__icon {
  display: grid;
  place-items: center;
  width: 84px; height: 84px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--offwhite);
  color: var(--nude-dark);
  transition: background-color .5s var(--ease);
}
.feature:hover .feature__icon { background: var(--beige); }
.feature__icon svg { width: 46px; height: 46px; }
.feature h3 { font-size: 1.5rem; margin-bottom: 12px; }
.feature p { color: var(--gray); font-size: .92rem; margin: 0; }

/* Ícones desenhando-se ao entrar na tela */
.feature .draw {
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  transition: stroke-dashoffset 2s var(--ease) .3s;
}
.feature.is-visible .draw { stroke-dashoffset: 0; }

/* ==========================================================
   GALERIA
   ========================================================== */
.gallery { background: var(--offwhite); }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
}
.gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item:nth-child(1) { grid-column: span 2; }
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter .6s;
}
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(24, 24, 24, .25));
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after { opacity: 1; }

.gallery__note {
  margin: 14px 0 40px;
  font-size: .72rem;
  color: var(--gray);
  text-align: right;
}

/* ==========================================================
   CTA AGENDAMENTO
   ========================================================== */
.cta {
  position: relative;
  padding: clamp(80px, 10vw, 130px) 0;
  background: var(--beige);
  overflow: hidden;
  text-align: center;
}

.cta__inner { position: relative; z-index: 1; max-width: 720px; }
.cta__mark { width: 46px; margin: 0 auto 28px; opacity: .85; }
.cta p { color: #5A524D; font-size: 1.05rem; max-width: 560px; margin: 0 auto 40px; }

/* ==========================================================
   CONTATO / FORMULÁRIO
   ========================================================== */
.contact { background: var(--white); }

.contact__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
}
.contact__intro > p { color: var(--gray); }

.contact__list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 20px; }
.contact__list li { display: flex; align-items: center; gap: 16px; }
.contact__list small {
  display: block;
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gray);
  line-height: 1.4;
}
.contact__list a { font-weight: 500; word-break: break-word; transition: color .3s; }
.contact__list a:hover { color: var(--nude-dark); }
.contact__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--offwhite);
  color: var(--nude-dark);
}
.contact__icon svg { width: 20px; height: 20px; }

.form {
  padding: clamp(28px, 4vw, 48px);
  background: var(--offwhite);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.field { margin-bottom: 22px; }
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.field .optional { text-transform: none; letter-spacing: 0; color: var(--gray); font-weight: 400; }

.field input:not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: border-color .3s, box-shadow .3s;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input[type="date"] { cursor: pointer; }
.field select:disabled { cursor: not-allowed; color: #A39B96; background: #F4F1EE; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field__hint { margin: -10px 0 22px; font-size: .8rem; color: var(--gray); }
.field input::placeholder, .field textarea::placeholder { color: #A39B96; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--nude-dark);
  box-shadow: 0 0 0 3px rgba(212, 188, 173, .35);
}

.select { position: relative; }
.select::after {
  content: "";
  position: absolute;
  right: 20px; top: 50%;
  width: 8px; height: 8px;
  margin-top: -6px;
  border-right: 1.5px solid var(--gray);
  border-bottom: 1.5px solid var(--gray);
  transform: rotate(45deg);
  pointer-events: none;
}
.select select { padding-right: 48px; cursor: pointer; }
.select select:invalid { color: #A39B96; }
.select option { color: var(--black); }

.field__error {
  display: block;
  min-height: 0;
  margin-top: 6px;
  font-size: .8rem;
  color: #A3392B;
}
.field__error:empty { display: none; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #C2554A; }

.field--check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  align-items: start;
}
.field--check input {
  width: 22px; height: 22px;
  margin: 2px 0 0;
  accent-color: var(--black);
  cursor: pointer;
}
.field--check label {
  margin: 0;
  font-size: .84rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gray);
  line-height: 1.6;
  cursor: pointer;
}
.field--check .field__error { grid-column: 2; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__submit { margin-top: 8px; }
.spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.form.is-loading .spinner { display: inline-block; }
.form.is-loading .form__submit { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

.form__status {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  line-height: 1.6;
  animation: fadeUp .5s var(--ease) both;
}
.form__status.is-success { background: #EEF3EC; color: #2F5130; border: 1px solid #CADBC6; }
.form__status.is-error { background: #F8ECEA; color: #8A2F24; border: 1px solid #EBCBC6; }
.form__status a { text-decoration: underline; font-weight: 500; }

/* ==========================================================
   LOCALIZAÇÃO
   ========================================================== */
.location { background: var(--offwhite); }

.location__grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.location__address {
  display: flex;
  gap: 14px;
  margin-bottom: 36px;
  font-style: normal;
  font-size: 1.05rem;
  line-height: 1.7;
}
.location__address .icon { width: 22px; height: 22px; margin-top: 4px; color: var(--nude-dark); }
.location__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.location__map {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--beige);
}
.location__map iframe {
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(.55) sepia(.12) contrast(1.02);
  transition: filter .6s var(--ease);
}
.location__map:hover iframe { filter: none; }

/* ==========================================================
   RODAPÉ
   ========================================================== */
.footer {
  background: var(--black);
  color: rgba(255, 255, 255, .72);
  padding: 90px 0 0;
  font-size: .9rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}
.footer__brand img { width: 150px; margin-bottom: 22px; }
.footer__brand p {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--nude);
  max-width: 260px;
  line-height: 1.4;
}
.footer h3 {
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 22px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { transition: color .3s; word-break: break-word; }
.footer a:hover { color: var(--nude); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 26px;
  padding-bottom: 26px;
  font-size: .78rem;
}
.footer__bottom p { margin: 0; }
.footer .inline-link { color: rgba(255, 255, 255, .72); }
.footer .inline-link:hover { color: var(--nude); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  box-shadow: 0 12px 30px -8px rgba(24, 24, 24, .45);
  transform: translateY(120px);
  opacity: 0;
  transition: transform .6s var(--ease), opacity .6s var(--ease), background-color .4s;
}
.wa-float.is-visible { transform: none; opacity: 1; }
.wa-float:hover { background: #25D366; }
.wa-float svg { width: 28px; height: 28px; }

/* ==========================================================
   MODAIS
   ========================================================== */
.modal {
  width: min(880px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--black);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.modal::backdrop {
  background: rgba(24, 24, 24, .5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.modal[open] { animation: modalIn .5s var(--ease); }
.modal[open]::backdrop { animation: fadeIn .4s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }

.modal__box {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
}
.modal__media { min-height: 100%; }
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: clamp(28px, 4vw, 48px); overflow-y: auto; }
.modal__body > div p, .modal__body > p { color: var(--gray); font-size: .95rem; }
.modal__title { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
.modal__note {
  font-size: .78rem !important;
  margin-top: 8px;
}
.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .4s var(--ease), background-color .3s;
}
.modal__close:hover { transform: rotate(90deg); background: var(--beige); }
.modal__close svg { width: 20px; height: 20px; }

.modal--text { width: min(680px, calc(100% - 32px)); }
.modal--text .modal__box { grid-template-columns: 1fr; }
.modal--text h4 {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 26px 0 8px;
}
.modal--text a { color: var(--nude-dark); text-decoration: underline; }

/* ==========================================================
   ANIMAÇÕES DE ROLAGEM
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--delay, 0s);
}
.reveal--left { transform: translateX(-40px); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Sem JavaScript, todo o conteúdo fica visível */
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================
   RESPONSIVO
   ========================================================== */
@media (max-width: 1080px) {
  .nav { gap: 24px; }
  .nav__list { gap: 20px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }

  .menu-toggle { display: block; }

  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    padding: 100px 24px 40px;
    background: var(--offwhite);
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s var(--ease), visibility .5s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: center; gap: 8px; }
  .nav__link {
    display: block;
    font-family: var(--font-title);
    font-size: 2.1rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    padding: 6px 0;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .5s var(--ease), transform .5s var(--ease);
  }
  .nav.is-open .nav__link { opacity: 1; transform: none; }
  .nav.is-open li:nth-child(2) .nav__link { transition-delay: .05s; }
  .nav.is-open li:nth-child(3) .nav__link { transition-delay: .1s; }
  .nav.is-open li:nth-child(4) .nav__link { transition-delay: .15s; }
  .nav.is-open li:nth-child(5) .nav__link { transition-delay: .2s; }
  .nav__cta { min-height: 52px; padding: 14px 32px; font-size: .78rem; }

  .header.menu-open { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

  .hero { padding-top: calc(var(--header-h) + 32px); min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__content { text-align: center; }
  .hero__text { margin-left: auto; margin-right: auto; }
  .hero__actions, .hero__info { justify-content: center; }
  .hero__media { max-width: 400px; }

  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; margin: 0 auto; width: 100%; }

  .services__grid { grid-template-columns: repeat(2, 1fr); }

  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery__item:nth-child(1) { grid-column: span 2; }

  .contact__grid, .location__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: .97rem; }
  .container { padding: 0 20px; }

  .brand__name { font-size: 1.2rem; }
  .brand__tag { font-size: .52rem; letter-spacing: .22em; }
  .brand__mark { width: 32px; }

  .hero__title { font-size: clamp(2.5rem, 11vw, 3.2rem); }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__media { max-width: 320px; }
  .hero__badge { left: -12px; bottom: 32px; padding: 12px 16px 12px 14px; font-size: .64rem; }

  .services__grid { grid-template-columns: 1fr; gap: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .card--wide { flex-direction: column; }
  .card--wide .card__media { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
  .card--wide .card__body { padding: 28px 28px 30px; }

  .features__grid { grid-template-columns: 1fr; gap: 16px; }
  .feature { padding: 36px 24px 32px; }

  .gallery__grid { grid-auto-rows: 160px; gap: 10px; }

  .about__deco { right: -12px; bottom: -12px; }

  .location__actions { flex-direction: column; }
  .location__actions .btn { width: 100%; }

  .cta .btn--lg { width: 100%; padding: 18px 24px; }

  .footer { padding-top: 64px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .modal__box { grid-template-columns: 1fr; overflow-y: auto; }
  .modal__media { aspect-ratio: 16 / 9; min-height: 0; }
  .modal__body { overflow: visible; }

  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .reveal, .hero__anim { opacity: 1 !important; transform: none !important; }
  .feature .draw { stroke-dashoffset: 0; }
  .hero__badge { animation: none !important; }
}

/* ==========================================================
   ANIMAÇÕES EXTRAS
   ========================================================== */

/* ---------- Orbes de luz (fundo) ---------- */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  opacity: .55;
  z-index: 0;
  transition: translate 1.2s var(--ease);
}
.orb--hero-1 {
  width: 460px; height: 460px;
  right: 6%; top: 8%;
  background: radial-gradient(circle, #E8CFC0 0%, transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
.orb--hero-2 {
  width: 340px; height: 340px;
  left: -80px; bottom: 4%;
  background: radial-gradient(circle, #EDE5DE 0%, transparent 70%);
  opacity: .9;
  animation: drift 22s ease-in-out infinite alternate-reverse;
}
.orb--cta-1 {
  width: 420px; height: 420px;
  left: -120px; top: -140px;
  background: radial-gradient(circle, #FFFFFF 0%, transparent 70%);
  opacity: .7;
  animation: drift 20s ease-in-out infinite alternate;
}
.orb--cta-2 {
  width: 380px; height: 380px;
  right: -100px; bottom: -160px;
  background: radial-gradient(circle, #D4BCAD 0%, transparent 70%);
  animation: drift 24s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(40px, -30px) scale(1.08); }
  100% { transform: translate(-30px, 25px) scale(.95); }
}
.hero__grid { position: relative; z-index: 1; }

/* ---------- Brilhos ao redor da foto do início ---------- */
.hero__media { transition: translate .9s var(--ease); }
.sparkle {
  position: absolute;
  z-index: 3;
  color: var(--nude-dark);
  pointer-events: none;
  animation: twinkle 3.6s ease-in-out infinite;
}
.sparkle--1 { width: 26px; height: 26px; top: 6%; left: -6%; }
.sparkle--2 { width: 14px; height: 14px; top: 20%; right: -5%; animation-delay: .9s; color: var(--nude); }
.sparkle--3 { width: 18px; height: 18px; bottom: 26%; right: -8%; animation-delay: 1.8s; }
.sparkle--4 { width: 12px; height: 12px; top: 46%; left: -9%; animation-delay: 2.6s; color: var(--nude); }
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(.3) rotate(0deg); }
  50%      { opacity: 1; transform: scale(1) rotate(90deg); }
}

/* ---------- Título do início, palavra por palavra ---------- */
.hero__title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(45%);
  filter: blur(8px);
  animation: wordIn 1s var(--ease) forwards;
  animation-delay: calc(.2s + var(--i, 0) * .09s);
}
@keyframes wordIn { to { opacity: 1; transform: none; filter: blur(0); } }

/* ---------- Faixa de serviços em movimento ---------- */
.marquee {
  overflow: hidden;
  padding: 26px 0;
  background: var(--black);
  color: var(--white);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 45s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul {
  display: flex;
  align-items: center;
  gap: 36px;
  margin: 0;
  padding: 0 18px;
  list-style: none;
}
.marquee li {
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-style: italic;
  white-space: nowrap;
}
.marquee__star { color: var(--nude); }
.marquee__star svg { width: 14px; height: 14px; animation: spin 8s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Revelação das imagens (efeito cortina) ---------- */
.about__media .about__frame {
  clip-path: inset(0 100% 0 0 round 24px);
  transition: clip-path 1.4s var(--ease) .1s;
}
.about__media .about__frame img { transform: scale(1.2); transition: transform 1.8s var(--ease) .1s; }
.about__media.is-visible .about__frame { clip-path: inset(0 0 0 0 round 24px); }
.about__media.is-visible .about__frame img { transform: scale(1); }
.about__deco { transition: translate .9s var(--ease); }

.card.reveal .card__media {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.2s var(--ease);
  transition-delay: calc(var(--delay, 0s) + .15s);
}
.card.reveal.is-visible .card__media { clip-path: inset(0); }

.gallery__item.reveal {
  transform: none;
  transition: opacity .6s var(--ease);
  transition-delay: var(--delay, 0s);
}
.gallery__item.reveal img {
  clip-path: inset(100% 0 0 0);
  transform: scale(1.25);
  transition: clip-path 1.3s var(--ease), transform 1.6s var(--ease), filter .6s;
  transition-delay: var(--delay, 0s);
}
.gallery__item.reveal.is-visible img { clip-path: inset(0); transform: scale(1); }
.gallery__item.reveal.is-visible:hover img { transform: scale(1.06); }

/* ---------- Cards: elevação e inclinação 3D ---------- */
.card.reveal.is-visible {
  transition: opacity 1s var(--ease), transform .6s var(--ease), box-shadow .6s var(--ease);
  transition-delay: var(--delay, 0s);
}
.card.reveal.is-visible:hover {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.card.reveal.is-visible.is-tilting { transition: opacity 1s, transform .15s linear, box-shadow .6s var(--ease); }

.feature.reveal.is-visible {
  transition: opacity 1s var(--ease), transform .5s var(--ease), border-color .5s var(--ease), background-color .5s var(--ease);
  transition-delay: var(--delay, 0s);
}
.feature.reveal.is-visible:hover { transform: translateY(-6px); }
.feature__icon { transition: background-color .5s var(--ease), transform .6s var(--ease); }
.feature:hover .feature__icon { transform: scale(1.08) rotate(-6deg); }

/* ---------- Rótulos e destaques dos títulos ---------- */
.eyebrow.reveal {
  letter-spacing: .6em;
  transition: opacity 1s var(--ease), transform 1s var(--ease), letter-spacing 1.6s var(--ease);
}
.eyebrow.reveal.is-visible { letter-spacing: .28em; }

.section-title em {
  background: linear-gradient(100deg, var(--nude-dark) 40%, #E9D3C4 50%, var(--nude-dark) 60%);
  background-size: 260% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: .06em;
}
.section-title.reveal.is-visible em,
.reveal.is-visible .section-title em { animation: shimmer 2.6s var(--ease) .7s both; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* ---------- Brilho nos botões escuros ---------- */
.btn--dark::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .28), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  transition: left .9s var(--ease);
}
.btn--dark:hover::after { left: 130%; }

/* ---------- Agendamento ---------- */
.cta__mark { animation: float 5s ease-in-out infinite; }

/* ---------- WhatsApp: leve chamada de atenção ---------- */
.wa-float.is-visible svg { animation: nudge 7s ease-in-out 2s infinite; }
@keyframes nudge {
  0%, 86%, 100% { transform: rotate(0); }
  88% { transform: rotate(-14deg) scale(1.08); }
  91% { transform: rotate(12deg) scale(1.08); }
  94% { transform: rotate(-8deg); }
  97% { transform: rotate(4deg); }
}

@media (max-width: 640px) {
  .orb--hero-1 { width: 300px; height: 300px; right: -60px; }
  .sparkle--1 { left: -2%; }
  .sparkle--3 { right: -3%; }
  .sparkle--4 { left: -4%; }
  .marquee { padding: 18px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .orb, .sparkle, .cta__mark, .wa-float svg, .marquee__star svg { animation: none !important; }
  .sparkle { opacity: .8; transform: none; }
  .hero__title .word { opacity: 1; transform: none; filter: none; animation: none; }
  .marquee__track { animation: none; width: auto; justify-content: center; }
  .marquee ul + ul { display: none; }
  .marquee ul { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
  .section-title em { background-position: 0 0; animation: none !important; }
  .about__media .about__frame, .card.reveal .card__media, .gallery__item.reveal img { clip-path: none !important; }
  .about__media .about__frame img, .gallery__item.reveal img { transform: none !important; }
}

/* ==========================================================
   Agendamento: horários, confirmação e pré-visualização
   ========================================================== */
.field__label {
  display: block;
  margin-bottom: 8px;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 8px;
  transition: opacity .2s;
}
.slots.is-loading { opacity: .5; pointer-events: none; }
.slots__empty { grid-column: 1 / -1; margin: 0; padding: 14px 18px; font-size: .9rem; color: var(--gray); background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius-sm); }

.slot {
  min-height: 46px;
  padding: 8px 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: .92rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s;
}
.slot:hover:not(:disabled) { border-color: var(--nude-dark); color: var(--nude-dark); }
.slot.is-selected { background: var(--black); border-color: var(--black); color: var(--white); }
.slot:disabled { cursor: not-allowed; color: #A39B96; background: #F4F1EE; }
.slot.is-busy { text-decoration: line-through; text-decoration-color: #C2554A; }
.field.has-error .slots .slot:not(:disabled):not(.is-selected) { border-color: #EBCBC6; }

.booking-success {
  padding: clamp(32px, 5vw, 56px);
  background: var(--offwhite);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  outline: none;
}
.booking-success__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--white);
  color: var(--nude-dark);
  box-shadow: var(--shadow-sm);
}
.booking-success__icon svg { width: 30px; height: 30px; }
.booking-success__title { font-size: clamp(1.8rem, 3.6vw, 2.4rem); }
.booking-success__resumo {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 500;
}
.booking-success p:not(.booking-success__resumo) { color: var(--gray); }
.booking-success .btn { margin-top: 8px; }

.preview-bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 300;
  height: 32px;
  padding: 6px 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: var(--nude-dark);
  color: var(--white);
  font-size: .8rem;
  text-align: center;
}
.preview-bar strong { letter-spacing: .14em; text-transform: uppercase; margin-right: 8px; }
/* Com a faixa de pré-visualização, o cabeçalho fixo desce 32px */
.is-preview .header { top: 32px; }
.is-preview body { padding-top: 32px; }

/* ==========================================================
   Antes e depois (comparador com controle deslizante)
   ========================================================== */
.results-section { background: #F4EEE9; }
.results-section[hidden] { display: none; }

.results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.result { margin: 0; }

.compare {
  --pos: 50%;
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  background: var(--beige);
  box-shadow: var(--shadow);
}

.compare__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.compare__after { clip-path: inset(0 0 0 var(--pos)); }

/* Espaço reservado enquanto as fotos reais não são enviadas */
.compare__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--nude-dark);
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.3;
}
.compare__ph > div { padding: 0 12px; }
.compare__ph--before { background: linear-gradient(160deg, #EDE5DE, #DCCBBF); padding-right: 50%; }
.compare__ph--after { background: linear-gradient(160deg, #FAF8F6, #EFE6DF); padding-left: 50%; clip-path: inset(0 0 0 var(--pos)); }
.compare__ph svg { display: block; width: 34px; height: 34px; margin: 0 auto 10px; opacity: .6; }

.compare__label {
  position: absolute;
  top: 16px;
  z-index: 3;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .92);
  color: var(--black);
  pointer-events: none;
}
.compare__label--before { left: 16px; }
.compare__label--after { right: 16px; background: var(--black); color: var(--white); }

.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  z-index: 2;
  width: 2px;
  background: var(--white);
  transform: translateX(-1px);
  pointer-events: none;
}
.compare__handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A88A78' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease);
}
.compare:hover .compare__handle::after { transform: translate(-50%, -50%) scale(1.08); }

/* O controle real é um input range invisível por cima (mouse, toque e teclado) */
.compare__range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.compare:has(.compare__range:focus-visible) { outline: 2px solid var(--nude-dark); outline-offset: 4px; }

.result__caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-top: 18px;
}
.result__caption h3 { margin: 0; font-size: 1.4rem; }
.result__caption span { font-size: .8rem; color: var(--gray); text-align: right; }

.results__note { max-width: 640px; margin: 40px auto 0; text-align: center; font-size: .8rem; color: var(--gray); }

@media (max-width: 960px) {
  .results { grid-template-columns: repeat(2, 1fr); }
  /* Tablet: a última comparação sozinha fica centralizada */
  .results .result:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: 100%; max-width: calc(50% - 14px); }
}

@media (max-width: 640px) {
  .results { grid-template-columns: 1fr; gap: 40px; max-width: 440px; margin: 0 auto; }
  .results .result:last-child:nth-child(odd) { grid-column: auto; max-width: none; }
  .result__caption { justify-content: center; flex-wrap: wrap; text-align: center; margin-top: 14px; }
  .result__caption span { text-align: center; }
  .compare__handle::after { width: 42px; height: 42px; }
}

/* ==========================================================
   Promoções (aba opcional, ligada pelo painel /admin)
   ========================================================== */
.promos-section { background: #F4EEE9; }
.promos-section[hidden] { display: none; }

.promos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

.promo {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 1 calc((100% - 56px) / 3);
  min-width: 280px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.promo:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.promo__media { aspect-ratio: 4 / 3; overflow: hidden; }
.promo__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.promo:hover .promo__media img { transform: scale(1.05); }

/* Selo redondo com a porcentagem */
.promo__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  display: grid;
  place-content: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  text-align: center;
  line-height: 1;
  box-shadow: var(--shadow);
}
.promo__badge strong { font-family: var(--font-title); font-size: 2.1rem; font-weight: 600; }
.promo__badge span { margin-top: 4px; font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--nude); }

/* Sem foto, o selo fica no topo do card */
.promo--noimg .promo__badge { position: static; margin: 32px 0 0 28px; }

.promo__body { display: flex; flex-direction: column; flex: 1; padding: 28px 28px 30px; }
.promo__title { font-size: 1.75rem; margin-bottom: 10px; }
.promo__body p { color: var(--gray); font-size: .94rem; margin: 0 0 12px; }
.promo__validade {
  font-size: .7rem !important;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--nude-dark) !important;
}
.promo__cta { align-self: flex-start; margin-top: auto; }
.promo__body > p:last-of-type { margin-bottom: 22px; }

.promos__note { max-width: 640px; margin: 40px auto 0; text-align: center; font-size: .8rem; color: var(--gray); }
.promos__note:empty { display: none; }

@media (max-width: 960px) {
  .promo { flex-basis: calc((100% - 28px) / 2); }
}

@media (max-width: 640px) {
  .promos { gap: 22px; }
  .promo { flex-basis: 100%; min-width: 0; max-width: 440px; }
  .promo__badge { width: 80px; height: 80px; }
  .promo__badge strong { font-size: 1.8rem; }
  .promo__cta { align-self: stretch; }
}

/* Menu com abas opcionais ligadas (Prêmio, Promoções): aperta o espaçamento
   para o logo e o botão não quebrarem linha */
@media (min-width: 961px) {
  .nav:has(.nav__list[data-links="7"]), .nav:has(.nav__list[data-links="8"]) { gap: 22px; }
  .nav__list[data-links="7"] { gap: 20px; }
  .nav__list[data-links="8"] { gap: 16px; }
  .nav__list[data-links="8"] .nav__link { font-size: .68rem; letter-spacing: .1em; }
}
@media (min-width: 961px) and (max-width: 1200px) {
  .nav:has(.nav__list[data-links="7"]), .nav:has(.nav__list[data-links="8"]) { gap: 14px; }
  .nav__list[data-links="7"] { gap: 13px; }
  .nav__list[data-links="7"] .nav__link { font-size: .66rem; letter-spacing: .1em; }
  .nav__list[data-links="8"] { gap: 10px; }
  .nav__list[data-links="8"] .nav__link { font-size: .62rem; letter-spacing: .06em; }
}

/* ---------- Faixa de promoção no topo da tela ---------- */
:root { --promo-h: 0px; }
html.has-promo-bar { --promo-h: 40px; }

.promo-bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 110;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 48px;
  background: var(--black);
  color: var(--white);
  transition: transform .4s var(--ease);
}
.promo-bar[hidden] { display: none; }

.promo-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: .72rem;
  letter-spacing: .08em;
  white-space: nowrap;
}
.promo-bar__star { flex: 0 0 auto; width: 12px; height: 12px; color: var(--nude); }
.promo-bar__text { overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.promo-bar__cta {
  flex: 0 0 auto;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, .25);
  color: var(--nude);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .64rem;
  transition: color .3s;
}
.promo-bar__link:hover .promo-bar__cta { color: var(--white); }

.promo-bar__close {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, .7);
  cursor: pointer;
}
.promo-bar__close:hover { color: var(--white); }
.promo-bar__close svg { width: 14px; height: 14px; }

/* O cabeçalho desce a altura da faixa; ao rolar, a faixa sobe e ele volta ao topo */
html.has-promo-bar body { padding-top: var(--promo-h); }
html.has-promo-bar .header { top: var(--promo-h); transition: top .4s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease); }
html.has-promo-bar.promo-bar-away .promo-bar { transform: translateY(calc(-100% - 40px)); }
html.has-promo-bar.promo-bar-away .header { top: 0; }

/* Junto com a faixa de pré-visualização do painel (32px) */
html.is-preview.has-promo-bar .promo-bar { top: 32px; }
html.is-preview.has-promo-bar body { padding-top: calc(32px + var(--promo-h)); }
html.is-preview.has-promo-bar .header { top: calc(32px + var(--promo-h)); }
html.is-preview.has-promo-bar.promo-bar-away .header { top: 32px; }

@media (max-width: 640px) {
  .promo-bar { padding: 0 40px 0 14px; justify-content: flex-start; }
  .promo-bar__link { font-size: .68rem; gap: 8px; }
  .promo-bar__cta { font-size: 0; padding-left: 8px; }
  .promo-bar__cta span { font-size: .8rem; }
}
/* Com o menu do celular (ou uma janela) aberto, a faixa sai da frente */
html.has-promo-bar body.no-scroll .promo-bar { transform: translateY(calc(-100% - 40px)); }
html.has-promo-bar body.no-scroll .header { top: 0; }

/* Selo com "até" (desconto variável) */
.promo__badge small { margin-bottom: 3px; font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--nude); }
.promo__badge--ate { width: 100px; height: 100px; }
.promo__badge--ate strong { font-size: 1.9rem; }
@media (max-width: 640px) {
  .promo__badge--ate { width: 88px; height: 88px; }
  .promo__badge--ate strong { font-size: 1.65rem; }
}

/* ==========================================================
   PRÊMIO (vídeo vertical + destaques)
   ========================================================== */
.award { background: var(--offwhite); position: relative; overflow: hidden; }
.award__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}
.award__media { position: relative; justify-self: center; width: min(100%, 360px); }
.award__media::before {
  content: "";
  position: absolute;
  inset: 36px -32px -32px 36px;
  border-radius: var(--radius-lg);
  background: var(--beige);
  z-index: 0;
}
.award__video {
  position: relative;
  z-index: 1;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--black);
  box-shadow: var(--shadow-lg);
}
.award__video video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--black); }
.award__medal {
  position: absolute;
  z-index: 2;
  top: 28px;
  left: -34px;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: var(--black);
  background: linear-gradient(145deg, #F4F4F2 0%, #C9C9C6 45%, #EDEDEA 60%, #A9A9A5 100%);
  box-shadow: 0 14px 30px -12px rgba(24, 24, 24, .45), inset 0 0 0 5px rgba(255, 255, 255, .55);
}
.award__medal[hidden] { display: none; }
.award__medal svg { width: 14px; height: 14px; margin-bottom: 6px; color: var(--black); }
.award__medal strong { font-family: var(--font-title); font-size: 2.3rem; font-weight: 600; }
.award__medal span { margin-top: 4px; font-size: .58rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }

.award__content p { color: var(--gray); font-size: 1.02rem; }
.award__list {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.award__list[hidden] { display: none; }
.award__list li {
  padding: 20px 18px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.award__list strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.15;
}
.award__list span { display: block; margin-top: 6px; font-size: .8rem; line-height: 1.5; color: var(--gray); }

@media (max-width: 960px) {
  .award__grid { grid-template-columns: 1fr; }
  .award__media { width: min(78%, 340px); }
  .award__list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .award__media::before { inset: 24px -18px -18px 24px; }
  .award__medal { left: -18px; top: 18px; width: 86px; height: 86px; }
  .award__medal strong { font-size: 1.9rem; }
}

/* ---------- Janela "Saiba mais": várias fotos ---------- */
.modal__media { position: relative; overflow: hidden; background: var(--beige); }
.modal--noimg .modal__box { grid-template-columns: 1fr; }
.modal--noimg .modal__media { display: none; }
.modal__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--black);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background .3s, transform .3s var(--ease);
}
.modal__nav[hidden] { display: none; }
.modal__nav:hover { background: var(--white); transform: scale(1.06); }
.modal__nav svg { width: 18px; height: 18px; }
.modal__nav--prev { left: 14px; }
.modal__nav--prev svg { transform: rotate(180deg); }
.modal__nav--next { right: 14px; }
.modal__thumbs {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  gap: 8px;
  padding: 28px 14px 14px;
  overflow-x: auto;
  scrollbar-width: none;
  background: linear-gradient(to top, rgba(24, 24, 24, .45), transparent);
}
.modal__thumbs[hidden] { display: none; }
.modal__thumbs::-webkit-scrollbar { display: none; }
.modal__thumbs button {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: none;
  cursor: pointer;
  opacity: .7;
  transition: opacity .3s, border-color .3s;
}
.modal__thumbs button[aria-current="true"] { opacity: 1; border-color: var(--white); }
.modal__thumbs button:hover { opacity: 1; }
.modal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) {
  .modal__media { aspect-ratio: 4 / 3; }
  .modal__thumbs button { width: 44px; height: 44px; }
  .modal__nav { width: 38px; height: 38px; margin-top: -19px; }
}

/* Fotos verticais na janela: enquadra pela parte de cima (rostos) */
.modal__media img.is-portrait { object-position: 50% 22%; }
@media (max-width: 640px) {
  .modal__media:has(img.is-portrait) { aspect-ratio: 4 / 5; }
}
/* A foto não define a altura da janela (fotos verticais esticavam a caixa
   e escondiam as miniaturas): ela preenche a área da coluna */
.modal__media { min-height: 0; }
.modal__media > img { position: absolute; inset: 0; }

/* Card inteiro abre a janela "Saiba mais" */
.card--clicavel { cursor: pointer; }

/* Promoções: preços "de / por" e economia */
.promo__precos {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px;
  margin: 2px 0 14px; padding-top: 14px; border-top: 1px solid var(--line);
}
.promo__de { font-size: .85rem; color: var(--gray); }
.promo__de s { text-decoration-thickness: 1px; }
.promo__por { font-size: .85rem; color: var(--black); }
.promo__por strong { font-family: var(--font-title); font-size: 2rem; font-weight: 600; line-height: 1; }
.promo__economia {
  flex-basis: 100%;
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--nude-dark);
}

/* Frase de efeito no final das promoções */
.promos__mimo {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  max-width: 720px; margin: 44px auto 0; padding: 20px 28px;
  border: 1px solid var(--nude); border-radius: var(--radius);
  background: var(--offwhite);
  font-family: var(--font-title); font-style: italic; font-size: 1.4rem; line-height: 1.35;
  color: var(--black); text-align: center;
}
.promos__mimo[hidden] { display: none; }
.promos__mimo-icon { width: 28px; height: 28px; flex: none; color: var(--nude-dark); }
.promos__mimo + .promos__note { margin-top: 20px; }
@media (max-width: 640px) {
  .promos__mimo { font-size: 1.2rem; padding: 18px 20px; gap: 12px; }
}

/* Tamanho dos cards (painel → Procedimentos / Promoções → Tamanho dos cards) */
@media (min-width: 961px) {
  .services__grid[data-cols="2"] { grid-template-columns: repeat(2, 1fr); }
  .services__grid[data-cols="4"] { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .services__grid[data-cols="4"] .card:not(.card--wide) .card__body { padding: 22px 22px 24px; }
  .services__grid[data-cols="4"] .card:not(.card--wide) .card__title { font-size: 1.45rem; }

  .promos[data-cols="2"] .promo { flex-basis: calc((100% - 28px) / 2); }
  .promos[data-cols="4"] { gap: 22px; }
  .promos[data-cols="4"] .promo { flex-basis: calc((100% - 66px) / 4); }
  .promos[data-cols="4"] .promo__body { padding: 22px 22px 24px; }
  .promos[data-cols="4"] .promo__title { font-size: 1.45rem; }
  .promos[data-cols="4"] .promo__badge { width: 76px; height: 76px; }
  .promos[data-cols="4"] .promo__badge strong { font-size: 1.6rem; }
}
.services__grid[data-foto="baixa"] .card:not(.card--wide) .card__media,
.promos[data-foto="baixa"] .promo__media { aspect-ratio: 16 / 9; }
.services__grid[data-foto="quadrada"] .card:not(.card--wide) .card__media,
.promos[data-foto="quadrada"] .promo__media { aspect-ratio: 1 / 1; }
.services__grid[data-foto="vertical"] .card:not(.card--wide) .card__media,
.promos[data-foto="vertical"] .promo__media { aspect-ratio: 4 / 5; }

/* ==========================================================
   ESTATÍSTICAS: aviso de consentimento (js/analytics.js)
   ========================================================== */
.consent {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 95; /* acima do WhatsApp flutuante, abaixo do menu e dos modais */
  width: min(420px, calc(100% - 44px));
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--beige);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  animation: consent-in .5s var(--ease) both;
}
.consent__text { margin: 0 0 14px; font-size: .84rem; line-height: 1.6; color: var(--black); }
.consent__actions { display: flex; gap: 10px; justify-content: flex-end; }
.consent__btn { min-height: 42px; padding: 10px 20px; font-size: .7rem; }
@keyframes consent-in { from { opacity: 0; transform: translateY(16px); } }

.privacy-analytics {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--offwhite);
  font-size: .86rem;
}

@media (max-width: 560px) {
  .consent { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 16px 18px; }
  .consent__actions .consent__btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .consent { animation: none; }
}
@media print {
  .consent { display: none; }
}
