/* ==========================================================================
   Dra. Lidiane Pérola — Design System
   Paleta extraída da logo: creme, pérola e ouro
   ========================================================================== */

:root {
  --cream: #faf7f2;
  --cream-2: #f4eee4;
  --cream-3: #ece3d5;
  --pearl: #ffffff;

  --gold: #c5a028;
  --gold-light: #e3c578;
  --gold-soft: #f0e2bd;
  --gold-deep: #8b6914;

  --ink: #241f16;
  --ink-2: #4a4235;
  --ink-3: #7d7364;

  --line: rgba(139, 105, 20, 0.18);
  --line-strong: rgba(139, 105, 20, 0.32);

  --shadow-sm: 0 2px 8px rgba(36, 31, 22, 0.05);
  --shadow-md: 0 12px 32px rgba(36, 31, 22, 0.08);
  --shadow-lg: 0 28px 64px rgba(36, 31, 22, 0.12);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", "Segoe UI", system-ui, sans-serif;

  --nav-h: 76px;
  --radius: 4px;
  --radius-lg: 10px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --maxw: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-2);
  background-color: var(--cream);
  background-image:
    radial-gradient(60rem 32rem at 88% -8%, rgba(227, 197, 120, 0.24), transparent 62%),
    radial-gradient(48rem 30rem at -10% 8%, rgba(197, 160, 40, 0.10), transparent 58%);
  background-attachment: fixed;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--gold-deep);
  text-decoration: none;
  transition: color .25s ease;
}

a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.12;
  margin: 0;
  letter-spacing: .01em;
}

p { margin: 0; }

::selection {
  background: var(--gold-soft);
  color: var(--ink);
}

/* ---------- Layout ---------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--flush-top { padding-top: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 1rem;
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--gold);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin-bottom: .85rem;
}

.section-head p {
  color: var(--ink-3);
  font-size: 1.02rem;
  max-width: 40rem;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow { justify-content: center; }
.section-head--center p { margin-inline: auto; }

.rule {
  width: 4.5rem;
  height: 1px;
  border: 0;
  margin: 1.1rem 0;
  background: linear-gradient(90deg, var(--gold), rgba(197, 160, 40, 0));
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

.btn-solid {
  background: linear-gradient(135deg, #d9b64a, var(--gold) 58%, var(--gold-deep));
  color: #241f16;
  box-shadow: 0 10px 24px rgba(197, 160, 40, .28);
}

.btn-solid:hover {
  color: #241f16;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(197, 160, 40, .36);
}

.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-outline:hover {
  color: var(--ink);
  border-color: var(--gold);
  background: rgba(197, 160, 40, .07);
  transform: translateY(-2px);
}

.btn-light {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
  backdrop-filter: blur(6px);
}

.btn-light:hover {
  color: var(--ink);
  background: #fff;
}

.btn-sm {
  padding: .7rem 1.15rem;
  font-size: .68rem;
}

/* ---------- Navbar ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250, 247, 242, .82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
}

.site-nav.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--ink);
  flex-shrink: 0;
}

.brand:hover { color: var(--ink); }

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text b {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.brand-text span {
  font-size: .58rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  position: relative;
  font-size: .88rem;
  font-weight: 400;
  color: var(--ink-2);
  padding-block: .35rem;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .32s ease;
}

.nav-menu a:hover,
.nav-menu a.is-active { color: var(--ink); }

.nav-menu a:hover::after,
.nav-menu a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: transform .3s ease, opacity .2s ease;
}

.nav-toggle span { top: 50%; margin-top: -.75px; }
.nav-toggle span::before { content: ""; left: 0; transform: none; top: -6px; }
.nav-toggle span::after { content: ""; left: 0; transform: none; top: 6px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg) translate(4px, -4px); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-block: clamp(2rem, 4.5vh, 3.75rem) clamp(2.5rem, 6vh, 4.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .78fr);
  align-items: center;
  gap: clamp(1.75rem, 5vw, 4.5rem);
}

.hero-content { min-width: 0; }

.hero-title {
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: .005em;
}

.hero-title em {
  display: block;
  font-style: italic;
  color: var(--gold-deep);
  font-size: .42em;
  letter-spacing: .04em;
  margin-top: .55rem;
  line-height: 1.3;
}

.hero-lead {
  max-width: 30rem;
  font-size: 1.05rem;
  color: var(--ink-2);
  margin-bottom: 1.9rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2.25rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  list-style: none;
  margin: 0;
}

.hero-facts li {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.hero-facts b {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
}

.hero-facts span {
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.hero-figure {
  position: relative;
  width: min(100%, 370px);
  margin-inline: auto 0;
}

.hero-figure::before {
  content: "";
  position: absolute;
  inset: 1.35rem -1.35rem -1.35rem 1.35rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  z-index: 0;
}

.hero-photo {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--cream-3);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  transition: transform 1.4s cubic-bezier(.2, .7, .3, 1);
}

.hero-figure:hover .hero-photo img { transform: scale(1.05); }

.hero-badge {
  position: absolute;
  z-index: 2;
  left: -1.15rem;
  bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .1rem;
  padding: .85rem 1.15rem;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.hero-badge b {
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--ink);
  font-weight: 600;
}

.hero-badge span {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* ---------- Marquee ---------- */

.marquee {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, .35);
  overflow: hidden;
  padding-block: .95rem;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  animation: marquee 42s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: .1em;
  color: var(--ink-3);
  white-space: nowrap;
}

.marquee-track span::after {
  content: "◆";
  font-size: .45rem;
  color: var(--gold);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Pilares ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.pillar {
  padding: 1.75rem 1.5rem;
  background: rgba(255, 255, 255, .55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.pillar:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.pillar b {
  display: block;
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: .4rem;
}

.pillar p {
  font-size: .92rem;
  color: var(--ink-3);
}

.pillar-num {
  display: block;
  font-size: .68rem;
  letter-spacing: .2em;
  color: var(--gold);
  margin-bottom: .9rem;
}

/* ---------- Sobre ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 5vw, 4rem);
  align-items: center;
}

.split-figure {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 560px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.split-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transition: transform 1.4s cubic-bezier(.2, .7, .3, 1);
}

.split-figure:hover img { transform: scale(1.05); }

.split-figure::after {
  content: "";
  position: absolute;
  inset: .85rem;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: var(--radius);
  pointer-events: none;
}

.checklist {
  list-style: none;
  margin: 1.75rem 0;
  padding: 0;
  display: grid;
  gap: .75rem;
}

.checklist li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--ink-2);
  font-size: .97rem;
}

.checklist li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: .15rem;
  font-size: .5rem;
  color: var(--gold);
}

/* ---------- Cards de serviço ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}

.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, .68);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lg);
}

.card-media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--cream-3);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(.2, .7, .3, 1);
}

.card:hover .card-media img { transform: scale(1.07); }

.card-tag {
  position: absolute;
  top: .8rem;
  left: .8rem;
  padding: .3rem .7rem;
  background: rgba(255, 255, 255, .92);
  border-radius: 99px;
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.35rem 1.4rem 1.5rem;
}

.card-body h3 {
  font-size: 1.4rem;
  margin-bottom: .5rem;
}

.card-body p {
  font-size: .93rem;
  color: var(--ink-3);
  flex: 1;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.card-price {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
}

.card-more {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: gap .25s ease;
}

.card:hover .card-more { gap: .75rem; }

/* ---------- Passos ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 2.6rem;
  counter-increment: step;
}

.step::before {
  content: "0" counter(step);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold-light);
  line-height: 1;
}

.step::after {
  content: "";
  position: absolute;
  top: 1rem;
  left: 3rem;
  right: 0;
  height: 1px;
  background: var(--line);
}

.step:last-child::after { display: none; }

.step b {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: .35rem;
}

.step p {
  font-size: .92rem;
  color: var(--ink-3);
}

/* ---------- FAQ ---------- */

.faq-list {
  display: grid;
  gap: .55rem;
  max-width: 56rem;
}

.faq-item {
  background: rgba(255, 255, 255, .55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .3s ease, background .3s ease;
}

.faq-item[open] {
  background: #fff;
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 1.35rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.22rem;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.faq-item .faq-answer {
  padding: 0 1.35rem 1.25rem;
  color: var(--ink-3);
  font-size: .97rem;
  max-width: 46rem;
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  color: #fff;
  text-align: center;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("/images/services/relax-premium.jpeg") center/cover no-repeat;
  transform: scale(1.05);
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(130deg, rgba(30, 25, 15, .9), rgba(93, 71, 20, .82));
}

.cta h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: .9rem;
}

.cta p {
  color: rgba(255, 255, 255, .82);
  max-width: 36rem;
  margin: 0 auto 1.9rem;
}

.cta .eyebrow { color: var(--gold-light); justify-content: center; }
.cta .eyebrow::before { background: var(--gold-light); }

.cta-actions {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Cabeçalho de página ---------- */

.page-head {
  position: relative;
  padding-block: clamp(2.75rem, 6vw, 4.5rem) clamp(1.75rem, 3vw, 2.5rem);
}

.page-head h1 {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
}

.page-head p {
  max-width: 42rem;
  color: var(--ink-3);
  font-size: 1.03rem;
}

.breadcrumb {
  display: flex;
  gap: .5rem;
  font-size: .78rem;
  color: var(--ink-3);
  margin-bottom: 1.25rem;
}

.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--gold-deep); }

/* ---------- Detalhe do serviço ---------- */

.detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

.detail-figure {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.detail-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-body p {
  color: var(--ink-2);
  font-size: 1.03rem;
}

.price-block {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  padding: 1.1rem 1.35rem;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, .6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.price-block b {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--ink);
}

.price-block span {
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.detail-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.9rem;
}

/* ---------- Contato ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  align-items: start;
}

.panel {
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}

.field { margin-bottom: 1.15rem; }

.field label {
  display: block;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: .5rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: .85rem 1rem;
  font: inherit;
  font-size: .97rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s ease, box-shadow .25s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 160, 40, .13);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field-error {
  display: block;
  margin-top: .4rem;
  font-size: .82rem;
  color: #a4442e;
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.info-list li {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--line);
}

.info-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.info-list li:first-child { padding-top: 0; }

.info-list b {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.info-list span {
  color: var(--ink-2);
  font-size: .98rem;
}

.alert {
  padding: .95rem 1.15rem;
  margin-bottom: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: rgba(197, 160, 40, .12);
  color: var(--ink);
  font-size: .95rem;
}

/* ---------- Vídeos ---------- */

.video-card {
  background: rgba(255, 255, 255, .68);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.video-frame {
  aspect-ratio: 16 / 9;
  background: #17140e;
}

.video-frame video,
.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}

.video-card .card-body h3 { font-size: 1.28rem; }

.empty-state {
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  color: var(--ink-3);
  background: rgba(255, 255, 255, .4);
}

/* ---------- Galeria ---------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.75rem;
}

.filter-chip {
  padding: .55rem 1.1rem;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 99px;
  cursor: pointer;
  transition: color .25s ease, border-color .25s ease, background .25s ease;
}

.filter-chip:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}

.filter-chip.is-active {
  color: #241f16;
  background: linear-gradient(135deg, #d9b64a, var(--gold) 58%, var(--gold-deep));
  border-color: transparent;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.7rem, 1.4vw, 1.1rem);
}

.gallery-item {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream-3);
  box-shadow: var(--shadow-sm);
}

.gallery-item.is-hidden { display: none; }

/* Ritmo editorial: algumas fotos ocupam mais espaço */
.gallery-item:nth-child(6n + 1) { grid-row: span 2; }
.gallery-item:nth-child(6n + 1) .gallery-open { aspect-ratio: 4 / 5; }

.gallery-open {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
}

.gallery-open img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(.2, .7, .3, 1);
}

.gallery-open:hover img,
.gallery-open:focus-visible img { transform: scale(1.06); }

.gallery-overlay {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: 2.5rem 1.1rem 1rem;
  text-align: left;
  background: linear-gradient(180deg, transparent, rgba(20, 16, 9, .82));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}

.gallery-open:hover .gallery-overlay,
.gallery-open:focus-visible .gallery-overlay {
  opacity: 1;
  transform: none;
}

.gallery-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: #fff;
}

.gallery-desc {
  font-size: .84rem;
  color: rgba(255, 255, 255, .78);
  line-height: 1.5;
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(20, 16, 9, .92);
  backdrop-filter: blur(6px);
  animation: fadeIn .25s ease;
}

.lightbox[hidden] { display: none; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-figure {
  margin: 0;
  max-width: min(1000px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  align-items: center;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
}

.lightbox-figure figcaption {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: rgba(255, 255, 255, .88);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: clamp(.75rem, 2vw, 1.5rem);
  right: clamp(.75rem, 2vw, 1.5rem);
  width: 44px;
  height: 44px;
  font-size: 1.9rem;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  cursor: pointer;
  transition: background .25s ease;
}

.lightbox-close:hover { background: rgba(255, 255, 255, .22); }

body.is-locked { overflow: hidden; }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 0;
  padding-block: clamp(2.75rem, 6vw, 4rem) 1.75rem;
  background: var(--ink);
  color: rgba(255, 255, 255, .68);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.site-footer .brand { color: #fff; }
.site-footer .brand:hover { color: #fff; }
.site-footer .brand img {
  mix-blend-mode: normal;
  filter: brightness(1.05);
  border-radius: 50%;
}
.site-footer .brand-text span { color: var(--gold-light); }

.footer-about {
  margin-top: 1.15rem;
  font-size: .93rem;
  max-width: 26rem;
  color: rgba(255, 255, 255, .6);
}

.footer-col h4 {
  color: #fff;
  font-size: .72rem;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .6rem;
}

.footer-col a,
.footer-col li {
  color: rgba(255, 255, 255, .68);
  font-size: .93rem;
}

.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1.5rem;
  font-size: .82rem;
  color: rgba(255, 255, 255, .45);
}

/* ---------- Utilidades / animações ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s cubic-bezier(.2, .7, .3, 1), transform .8s cubic-bezier(.2, .7, .3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.fade-up {
  opacity: 0;
  animation: fadeUp .9s cubic-bezier(.2, .7, .3, 1) forwards;
}

.d1 { animation-delay: .08s; }
.d2 { animation-delay: .18s; }
.d3 { animation-delay: .28s; }
.d4 { animation-delay: .38s; }
.d5 { animation-delay: .48s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Responsivo ---------- */

@media (max-width: 1080px) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step::after { display: none; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav-menu {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem var(--gutter) 1.5rem;
    background: rgba(250, 247, 242, .98);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav-menu li { border-bottom: 1px solid var(--line); }
  .nav-menu li:last-child { border-bottom: 0; }
  .nav-menu a { display: block; padding: .95rem 0; font-size: 1rem; }
  .nav-menu a::after { display: none; }

  .nav-toggle { display: block; }
  .nav-actions .btn { display: none; }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-figure {
    order: -1;
    width: min(100%, 300px);
    margin-inline: auto;
  }

  .hero-figure::before { inset: 1rem -1rem -1rem 1rem; }
  .hero-badge { left: -.5rem; bottom: 1.25rem; }

  .hero-content { text-align: center; }
  .hero-content .eyebrow { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-facts { justify-content: center; text-align: center; }
  .hero-facts li { align-items: center; }
  .rule { margin-inline: auto; }

  .split,
  .detail,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split-figure { max-height: 420px; }
  .detail-figure { position: static; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .pillars,
  .steps,
  .card-grid,
  .card-grid--2 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
  .gallery-item:nth-child(6n + 1) { grid-row: auto; }
  .gallery-item:nth-child(6n + 1) .gallery-open { aspect-ratio: 4 / 3; }
  .gallery-overlay { opacity: 1; transform: none; padding: 1.75rem .7rem .7rem; }
  .gallery-title { font-size: .95rem; }
  .gallery-desc { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand img { width: 38px; height: 38px; }
  .brand-text b { font-size: .95rem; }
  .hero-facts { gap: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .fade-up { opacity: 1; }
}
