/* =========================================================
   Joana Pereira — Estética Avançada
   Editorial luxury minimalism · branco / bege / dourado
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Jost:wght@300;400;500;600&display=swap');

/* ---------- Tokens ---------- */
:root {
  --ivory:      #FBF8F3;
  --paper:      #FFFFFF;
  --sand:       #F1EADF;
  --beige:      #E4D8C6;
  --taupe:      #C9B79C;
  --gold:       #B08D57;
  --gold-soft:  #C8A877;
  --gold-deep:  #8A6C40;
  --ink:        #2A2521;
  --ink-soft:   #6A6055;
  --line:       rgba(42, 37, 33, 0.12);
  --line-soft:  rgba(42, 37, 33, 0.07);

  --serif: 'Fraunces', 'Georgia', 'Times New Roman', serif;
  --sans:  'Jost', system-ui, -apple-system, sans-serif;

  --container: 1240px;
  --gutter: clamp(1.25rem, 5vw, 5rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.6s;

  --radius: 2px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--ink);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
::selection { background: var(--gold); color: #fff; }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(5rem, 11vw, 9.5rem); }
.section--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-block;
}

h1, h2, h3, .display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.h-xl { font-size: clamp(2.35rem, 7vw, 5.6rem); overflow-wrap: break-word; }
.h-lg { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.08; }
.h-md { font-size: clamp(1.5rem, 2.6vw, 2.05rem); line-height: 1.15; }
em.accent { font-style: italic; color: var(--gold-deep); }

.lead {
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  line-height: 1.65;
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 46ch;
}
.muted { color: var(--ink-soft); }
.measure { max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1.05rem 2rem;
  border-radius: var(--radius);
  transition: background-color .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease);
  will-change: transform;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn--primary {
  background: var(--ink);
  color: var(--ivory);
  border: 1px solid var(--ink);
}
.btn--primary:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn--gold {
  background: var(--gold);
  color: #fff;
  border: 1px solid var(--gold);
}
.btn--gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn--ghost:hover { border-color: var(--ink); }
.btn--light {
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(251,248,243,0.35);
}
.btn--light:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn:focus-visible,
a:focus-visible,
.link-underline:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

.link-underline {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding-bottom: 0.2em;
  position: relative;
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 100%;
  background: var(--gold);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.link-underline:hover::after { transform: scaleX(1); }
.link-underline svg { width: 1.1em; height: 1.1em; transition: transform .4s var(--ease); }
.link-underline:hover svg { transform: translateX(4px); }
.link-underline--light { color: var(--ivory); }
.link-underline--light::after { background: var(--gold-soft); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease),
              padding .5s var(--ease);
  padding-block: 1.6rem;
}
.nav.is-scrolled {
  background: rgba(251, 248, 243, 0.86);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line-soft);
  padding-block: 1rem;
}
/* Sobre a imagem do hero (topo, não rolado): texto claro.
   :not(.is-scrolled) garante especificidade acima das cores base da nav. */
.nav:not(.is-scrolled) .brand__name { color: var(--ivory); }
.nav:not(.is-scrolled) .brand__tag { color: var(--gold-soft); }
.nav:not(.is-scrolled) .nav__links a { color: var(--ivory); }
.nav:not(.is-scrolled) .nav__toggle span { background: var(--ivory); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; flex: none; }
.brand__name {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}
.brand__tag {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 0.45rem;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}
.nav__links a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink);
  position: relative;
  padding-block: 0.3rem;
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { display: inline-flex; }
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.nav__toggle span {
  width: 24px; height: 1.5px; background: var(--ink);
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Menu dropdown (canto superior direito) */
.mobile-menu {
  position: fixed;
  top: 6rem;
  right: var(--gutter);
  z-index: 49;
  width: min(264px, calc(100vw - 2rem));
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 26px 54px -24px rgba(42, 37, 33, 0.55);
  padding: 0.5rem 1.1rem 1.1rem;
  transform-origin: top right;
  transform: translateY(-8px) scale(0.97);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s var(--ease), transform .28s var(--ease), visibility .28s;
}
.mobile-menu.is-open { opacity: 1; transform: translateY(0) scale(1); visibility: visible; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; }
.mobile-menu li { border-bottom: 1px solid var(--line-soft); }
.mobile-menu li:last-child { border-bottom: none; }
.mobile-menu a {
  font-family: var(--sans);
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  color: var(--ink);
  display: block;
  padding: 0.74rem 0.2rem;
  transition: color .3s var(--ease);
}
.mobile-menu a:hover { color: var(--gold-deep); }
.mobile-menu .btn { margin-top: 1rem; width: 100%; justify-content: center; }

/* =========================================================
   HERO — imagem de fundo + overlay (mobile-first)
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: 7rem;                       /* espaço para a nav */
  padding-bottom: clamp(3rem, 9vw, 5.5rem);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;                        /* aplica-se quando for <img> */
  filter: brightness(0.74) saturate(1.04);  /* escurece a foto p/ legibilidade */
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(20, 16, 12, 0.45) 0%,
      rgba(20, 16, 12, 0.32) 35%,
      rgba(20, 16, 12, 0.88) 100%),
    linear-gradient(90deg,
      rgba(20, 16, 12, 0.55) 0%,
      rgba(20, 16, 12, 0.12) 70%);
}
/* Tom fotográfico para o placeholder (removido ao colocar <img>) */
.hero .hero__photo {
  background:
    radial-gradient(85% 75% at 78% 18%, rgba(200,168,119,0.42), transparent 60%),
    radial-gradient(120% 120% at 15% 100%, rgba(34,27,20,0.55), transparent 62%),
    linear-gradient(158deg, #6f5c46 0%, #8c7459 42%, #c9b79c 100%);
}
.hero .photo__tag { top: auto; bottom: 1.1rem; left: auto; right: 1.1rem; }
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__content { max-width: 42rem; }
.hero h1 { color: var(--ivory); text-shadow: 0 2px 24px rgba(0,0,0,0.55); }
.hero em.accent { color: var(--gold-soft); font-style: italic; }
.hero__sub {
  margin-top: 1.6rem;
  color: rgba(251, 248, 243, 0.88);
  max-width: 40ch;
}
.hero__actions {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 1.6rem;
  align-items: center;
}

/* Desktop: respira mais e dá presença ao título. Coluna escura à esquerda
   (onde fica o texto) e o espaço da clínica visível à direita. */
@media (min-width: 768px) {
  .hero { align-items: center; padding-top: 8rem; }
  .hero__overlay {
    background:
      linear-gradient(90deg,
        rgba(20,16,12,0.86) 0%,
        rgba(20,16,12,0.60) 32%,
        rgba(20,16,12,0.22) 62%,
        rgba(20,16,12,0.05) 100%),
      linear-gradient(180deg,
        rgba(20,16,12,0.30) 0%,
        rgba(20,16,12,0.20) 50%,
        rgba(20,16,12,0.55) 100%);
  }
}

/* ---------- Photo placeholder (swap with real photos) ---------- */
.photo {
  position: relative;
  width: 100%;
  background:
    radial-gradient(120% 90% at 20% 12%, rgba(255,255,255,0.55), transparent 55%),
    radial-gradient(120% 110% at 85% 100%, rgba(138,108,64,0.30), transparent 60%),
    linear-gradient(150deg, var(--beige) 0%, var(--taupe) 48%, var(--gold-soft) 100%);
  overflow: hidden;
}
.photo::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 9px);
  mix-blend-mode: overlay;
  opacity: 0.5;
}
.photo__tag {
  position: absolute;
  left: 1.1rem; top: 1.1rem;
  z-index: 2;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(42,37,33,0.6);
  background: rgba(251,248,243,0.78);
  padding: 0.4rem 0.7rem;
  border-radius: 2px;
}

/* =========================================================
   MARQUEE / brands
   ========================================================= */
.brands {
  border-block: 1px solid var(--line);
  background: var(--sand);
}
.brands__inner {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  flex-wrap: wrap;
  justify-content: center;
  padding-block: 2.3rem;
}
.brands__label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.brands__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  list-style: none;
}
.brands__list li {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  letter-spacing: 0.04em;
  color: var(--ink);
  opacity: 0.62;
  transition: opacity .35s var(--ease);
}
.brands__list li:hover { opacity: 1; }

/* =========================================================
   SOBRE
   ========================================================= */
.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.about__figure {
  aspect-ratio: 5 / 6;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.about__figure .photo { height: 100%; }
.about__body > * + * { margin-top: 1.5rem; }
.about__body h2 { margin-top: 1.4rem; }
.signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--gold-deep);
  margin-top: 1.8rem;
}
.about__meta {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}
.about__meta dt {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold-deep);
  line-height: 1;
}
.about__meta dd {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 0.5rem;
  letter-spacing: 0.02em;
}

/* =========================================================
   SECTION HEAD
   ========================================================= */
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.sec-head__text { max-width: 38rem; }
.sec-head h2 { margin-top: 1.3rem; }
.sec-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.sec-head--center .sec-head__text { margin-inline: auto; }
.sec-head--center .eyebrow::before { display: none; }

/* =========================================================
   TRATAMENTOS
   ========================================================= */
.treatments { background: var(--paper); }
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.feature__figure {
  aspect-ratio: 4 / 3.2;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.feature__figure .photo { height: 100%; }
.feature__tagline {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.feature h3 { margin-top: 1rem; }
.feature p { margin-top: 1.2rem; color: var(--ink-soft); max-width: 42ch; }
.feature__list {
  list-style: none;
  margin-top: 1.6rem;
  display: grid;
  gap: 0.7rem;
}
.feature__list li {
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
  font-size: 0.96rem;
  color: var(--ink);
}
.feature__list li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
  transform: translateY(-2px);
}
.feature__actions { margin-top: 2rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  background: var(--ivory);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -38px rgba(42,37,33,0.4);
  border-color: var(--line);
}
.card__num {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--gold-deep);
  letter-spacing: 0.1em;
}
.card__icon {
  width: 2.6rem; height: 2.6rem;
  color: var(--gold-deep);
  margin-bottom: 1.6rem;
}
.card__icon svg { width: 100%; height: 100%; }
.card h3 { font-size: 1.45rem; margin-bottom: 0.8rem; }
.card p { color: var(--ink-soft); font-size: 0.96rem; flex-grow: 1; }
.card__foot {
  margin-top: 1.6rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line-soft);
}

/* =========================================================
   RESULTADOS — before / after
   ========================================================= */
.results { background: var(--sand); }
.results__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.compare {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  box-shadow: 0 40px 80px -50px rgba(42,37,33,0.5);
}
.compare__layer {
  position: absolute;
  inset: 0;
  height: 100%;
}
.compare__layer .photo { height: 100%; }
.compare__after { z-index: 1; }
.compare__before {
  z-index: 2;
  width: 100%;
  /* recorta a imagem "antes" mantendo-a em tamanho real (não esticada) */
  clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
}
.compare__before .compare__inner { position: relative; height: 100%; width: 100%; }
.compare__tag {
  position: absolute;
  bottom: 1rem;
  z-index: 4;
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(251,248,243,0.9);
  padding: 0.4rem 0.8rem;
  border-radius: 2px;
}
.compare__tag--before { left: 1rem; }
.compare__tag--after { right: 1rem; }
.compare__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: var(--ivory);
  z-index: 3;
  transform: translateX(-1px);
}
.compare__grip {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ivory);
  box-shadow: 0 8px 24px -8px rgba(42,37,33,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
  cursor: ew-resize;
}
.compare__grip svg { width: 22px; height: 22px; }
.compare__range {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.results__body h2 { margin-top: 1.3rem; }
.results__body p { margin-top: 1.4rem; color: var(--ink-soft); }
.results__note {
  margin-top: 2rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* =========================================================
   DIFERENCIAIS
   ========================================================= */
.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.value {
  padding: clamp(2rem, 3vw, 2.8rem);
  border-right: 1px solid var(--line);
  background: var(--paper);
  transition: background-color .4s var(--ease);
}
.value:last-child { border-right: none; }
.value:hover { background: var(--sand); }
.value__num {
  font-family: var(--serif);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
}
.value h3 {
  font-size: 1.3rem;
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
}
.value p { font-size: 0.92rem; color: var(--ink-soft); }

/* =========================================================
   DEPOIMENTOS
   ========================================================= */
.testimonials { background: var(--ink); color: var(--ivory); }
.testimonials .eyebrow { color: var(--gold-soft); }
.testimonials .eyebrow::before,
.testimonials .eyebrow::after { background: var(--gold-soft); }
.testimonials h2 { color: var(--ivory); }
.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.t-card {
  border: 1px solid rgba(251,248,243,0.14);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.02);
}
.t-card__stars { display: flex; gap: 0.25rem; color: var(--gold-soft); margin-bottom: 1.4rem; }
.t-card__stars svg { width: 1rem; height: 1rem; }
.t-card__quote {
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.5;
  color: var(--ivory);
  flex-grow: 1;
}
.t-card__quote::before { content: "“"; color: var(--gold-soft); }
.t-card__quote::after { content: "”"; color: var(--gold-soft); }
.t-card__person {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(251,248,243,0.14);
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.t-card__avatar {
  width: 2.8rem; height: 2.8rem;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--taupe), var(--gold-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  color: #fff;
  font-size: 1.05rem;
  flex: none;
}
.t-card__name { font-weight: 500; font-size: 0.95rem; letter-spacing: 0.02em; }
.t-card__role { font-size: 0.78rem; color: rgba(251,248,243,0.6); }

/* =========================================================
   FAQ
   ========================================================= */
.faq__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  padding: 1.6rem 0;
  font-family: var(--serif);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  color: var(--ink);
  transition: color .3s var(--ease);
}
.faq__q:hover { color: var(--gold-deep); }
.faq__icon {
  position: relative;
  width: 18px; height: 18px;
  flex: none;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--gold-deep);
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.faq__icon::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq__icon::after { left: 50%; top: 0; height: 100%; width: 1.5px; transform: translateX(-50%); }
.faq__item.is-open .faq__icon::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.faq__a {
  overflow: hidden;
  height: 0;
  transition: height .45s var(--ease);
}
.faq__a-inner {
  padding-bottom: 1.7rem;
  color: var(--ink-soft);
  max-width: 56ch;
}

/* =========================================================
   CTA
   ========================================================= */
.cta { position: relative; overflow: hidden; }
.cta__panel {
  background:
    radial-gradient(120% 140% at 12% 0%, rgba(200,168,119,0.35), transparent 55%),
    linear-gradient(135deg, var(--beige), var(--taupe));
  border-radius: var(--radius);
  padding: clamp(3rem, 7vw, 6rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(125deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 11px);
  opacity: 0.6;
}
.cta__panel > * { position: relative; }
.cta h2 { margin: 1.4rem auto 0; max-width: 18ch; }
.cta p { margin: 1.5rem auto 0; max-width: 44ch; color: #5a4f3e; }
.cta__actions {
  margin-top: 2.6rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--ink);
  color: var(--ivory);
  padding-top: clamp(4rem, 7vw, 6rem);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(251,248,243,0.14);
}
.footer__brand .brand__name { color: var(--ivory); font-size: 1.6rem; }
.footer__brand .brand__tag { color: var(--gold-soft); }
.footer__brand p {
  margin-top: 1.4rem;
  color: rgba(251,248,243,0.62);
  max-width: 34ch;
  font-size: 0.95rem;
}
.footer__col h4 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1.4rem;
}
.footer__col ul { list-style: none; display: grid; gap: 0.85rem; }
.footer__col a, .footer__col li {
  color: rgba(251,248,243,0.72);
  font-size: 0.95rem;
  transition: color .3s var(--ease);
}
.footer__col a:hover { color: var(--gold-soft); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-block: 2rem;
  font-size: 0.78rem;
  color: rgba(251,248,243,0.5);
}
.footer__socials { display: flex; gap: 1rem; }
.footer__socials a {
  width: 40px; height: 40px;
  border: 1px solid rgba(251,248,243,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ivory);
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.footer__socials a:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--ink); }
.footer__socials svg { width: 18px; height: 18px; }

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 40;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 34px -10px rgba(37,211,102,0.6);
  transition: transform .4s var(--ease);
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 28px; height: 28px; }

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
/* Faixa intermédia: aperta a nav para caber em ecrãs médios */
@media (max-width: 1400px) {
  .nav__inner { gap: 1.25rem; }
  .nav__links { gap: 1.45rem; }
  .nav__links a { font-size: 0.74rem; }
  .nav__cta { padding: 0.9rem 1.4rem; font-size: 0.78rem; }
  .brand__logo { height: clamp(44px, 4vw, 52px); }
  .nav.is-scrolled .brand__logo { height: clamp(40px, 3.6vw, 48px); }
}
/* Tablets e notebooks pequenos: menu-hambúrguer (evita corte da nav) */
@media (max-width: 1200px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
}
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__figure { max-width: 26rem; }
  .feature { grid-template-columns: 1fr; }
  .feature--reverse .feature__figure { order: -1; }
  .results__grid { grid-template-columns: 1fr; }
  .compare { max-width: 30rem; }
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .value:nth-child(2) { border-right: none; }
  .value:nth-child(1), .value:nth-child(2) { border-bottom: 1px solid var(--line); }
  .faq__grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .cards { grid-template-columns: 1fr; }
  .t-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 2.5rem; }
  .about__meta { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .values__grid { grid-template-columns: 1fr; }
  .value { border-right: none; border-bottom: 1px solid var(--line); }
  .value:last-child { border-bottom: none; }
  .about__meta { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .hero__actions .btn, .cta__actions .btn { width: 100%; }
}

/* =========================================================
   AJUSTES — logo, vídeos, cards com foto, comparador c/ abas,
   secção Método Santarelli
   ========================================================= */

/* ---------- Logo na navbar ---------- */
.brand__logo {
  height: clamp(48px, 5vw, 60px);
  width: auto;
  max-width: none;
  flex: none;
  display: block;
  transition: height .5s var(--ease);
}
.nav.is-scrolled .brand__logo { height: clamp(42px, 4.6vw, 52px); }
/* Dourado sobre o hero (topo); escuro sobre o fundo claro (rolado) */
.brand__logo--dark { display: none; }
.nav.is-scrolled .brand__logo--gold { display: none; }
.nav.is-scrolled .brand__logo--dark { display: block; }

/* ---------- Vídeo dentro de figuras ---------- */
.feature__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feature__figure--video { aspect-ratio: 4 / 5; }

/* ---------- Cards com foto grande + descrição em overlay ---------- */
.card__title {
  font-size: clamp(1.35rem, 2.4vw, 1.6rem);
  margin-bottom: 1.1rem;
  min-height: 2.3em;
  display: flex;
  align-items: flex-end;
}
.card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}
.card:hover .card__media img { transform: scale(1.05); }
.card__desc {
  margin-top: 1.3rem;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.6;
  flex-grow: 1;
}
.card__cta { margin-top: 1.5rem; }

/* ---------- Comparador com abas + múltiplos pares ---------- */
.compare-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.compare-tab {
  padding: 0.55rem 1.1rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.compare-tab:hover { border-color: var(--ink); color: var(--ink); }
.compare-tab.is-active {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}
.compare-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-top: 1.2rem;
}
.compare-nav:empty { display: none; }
.compare-nav__btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.compare-nav__btn:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.compare-nav__btn svg { width: 20px; height: 20px; }
.compare-nav__count {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  min-width: 6.5rem;
  text-align: center;
}

/* ---------- Secção Método Santarelli ---------- */
.santarelli {
  background:
    radial-gradient(120% 80% at 90% 0%, rgba(200,168,119,0.16), transparent 60%),
    var(--ivory);
}
.santarelli__badge {
  background: var(--gold);
  color: #fff;
  padding: 0.42rem 0.85rem;
  border-radius: 2px;
}
.santarelli__feature {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.santarelli__media {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 80px -50px rgba(42,37,33,0.5);
}
.santarelli__body > * + * { margin-top: 1.3rem; }
.santarelli__body p { color: var(--ink-soft); }
.santarelli__highlight {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--gold-deep) !important;
}
.santarelli__note { margin-top: 1.8rem; text-align: center; font-size: 0.9rem; }

/* ---------- Carrossel ---------- */
.carousel { margin-top: clamp(2.5rem, 5vw, 4rem); }
.carousel__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  padding-bottom: 0.4rem;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; }
.carousel__slide {
  flex: 0 0 auto;
  width: clamp(240px, 33%, 360px);
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
}
.carousel__slide img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

@media (max-width: 1024px) {
  .compare-wrap { max-width: 30rem; margin-inline: auto; width: 100%; }
  .santarelli__feature { grid-template-columns: 1fr; }
  .santarelli__media { max-width: 26rem; margin-inline: auto; }
}
@media (max-width: 820px) {
  .carousel__slide { width: clamp(220px, 60%, 300px); }
}
@media (max-width: 520px) {
  .carousel__slide { width: 78%; }
  .compare-tab { flex: 1 1 auto; text-align: center; }
}
