/* ============================================================
   Oyster Dental Clinic — Option 02 · "Pearl Atelier"
   Editorial luxo: paper-cream + deep seaweed + pearl gold
   Cormorant Garamond + Manrope + DM Mono
   ============================================================ */

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

:root {
  /* paper warmth */
  --bone:        #f3ede1;
  --bone-2:      #ebe3d2;
  --bone-3:      #ddd0b6;

  /* ink */
  --ink:         #1c1a17;
  --ink-soft:    #2a2620;
  --muted:       #6b5e4c;
  --rule:        #d6c9b0;

  /* signature darks */
  --deep:        #0a2e2f;     /* deep seaweed teal — almost black */
  --deep-2:      #143c3d;
  --deep-soft:   #1d4a4b;

  /* iridescent pearl */
  --pearl-1:     #e6dac4;
  --pearl-2:     #c8a866;     /* warm gold dust */
  --pearl-3:     #b8c5cb;     /* cool nacre */
  --pearl-4:     #a78a5a;

  /* fonts */
  --serif:       'Cormorant Garamond', 'Times New Roman', serif;
  --sans:        'Manrope', system-ui, sans-serif;
  --mono:        'DM Mono', 'JetBrains Mono', ui-monospace, monospace;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 350;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* selection */
::selection { background: var(--deep); color: var(--bone); }

/* film grain global overlay */
.grain {
  position: fixed; inset: 0; z-index: 200;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.11  0 0 0 0 0.10  0 0 0 0 0.09  0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

/* ============== TYPE UTILS ============== */
.mono { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--muted); }
.mono.small { font-size: 10px; opacity: 0.78; }
.serif-display { font-family: var(--serif); font-weight: 400; line-height: 0.98; letter-spacing: -0.018em; color: var(--ink); margin: 0; }
.serif-display em { font-style: italic; font-weight: 400; }
.serif-line { font-family: var(--serif); font-size: 22px; line-height: 1.35; color: var(--ink); }
.serif-line em { font-style: italic; }

/* ============== TOPBAR ============== */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--bone);
  border-bottom: 1px solid var(--rule);
}
.topbar-inner {
  max-width: 1480px; margin: 0 auto;
  padding: 11px 32px;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--muted);
}
.topbar .dot-live {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--deep);
  box-shadow: 0 0 0 4px rgba(10,46,47,0.10);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(10,46,47,0.10); }
  50% { box-shadow: 0 0 0 8px rgba(10,46,47,0.04); }
}
.topbar .sep { opacity: 0.4; padding: 0 2px; }
.topbar-spacer { flex: 1; }
.lang-pill {
  display: flex; align-items: center; gap: 6px;
}
.lang-pill button {
  border: 0; background: none; cursor: pointer;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--muted); padding: 0;
  transition: color 0.2s;
}
.lang-pill button:hover { color: var(--ink); }
.lang-pill button.active { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.lang-pill span { color: var(--rule); }

@media (max-width: 700px) {
  .topbar .sep:nth-of-type(2) ~ * { display: none; }
  .topbar-spacer { display: none; }
  .lang-pill { display: flex !important; }
}

/* ============== CHAPTERS SIDEBAR ============== */
.chapters {
  position: fixed; top: 50px; left: 0; bottom: 0; width: 220px;
  z-index: 40;
  padding: 36px 28px 32px;
  display: flex; flex-direction: column; gap: 28px;
  border-right: 1px solid var(--rule);
  background: var(--bone);
}
.chapters-brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
}
.brandmark {
  width: 38px; height: 38px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--pearl-1) 0%, var(--pearl-2) 50%, var(--pearl-4) 100%);
  border: 1px solid var(--pearl-4);
  display: grid; place-items: center;
  color: var(--deep); font-family: var(--serif); font-style: italic;
  font-size: 22px; font-weight: 500;
  box-shadow: inset 0 -2px 6px rgba(167,138,90,0.4), inset 0 2px 5px rgba(255,255,255,0.6);
}
.brandmark.large { width: 56px; height: 56px; font-size: 30px; }
.brandname {
  font-family: var(--serif); font-size: 19px; font-weight: 500;
  line-height: 1; letter-spacing: -0.01em; color: var(--ink);
}
.brandname em { font-style: italic; font-weight: 400; color: var(--deep); }
.brandname.large { font-size: 26px; }

.chapters-list {
  display: flex; flex-direction: column; gap: 1px;
  margin-top: 4px;
  flex: 1;
}
.chapters-list a {
  display: grid; grid-template-columns: 36px 1fr;
  gap: 8px; align-items: baseline;
  padding: 8px 0;
  border-top: 1px solid transparent;
  color: var(--ink); text-decoration: none;
  font-family: var(--sans); font-size: 13.5px; font-weight: 400;
  transition: all 0.2s;
  position: relative;
}
.chapters-list a:not(:first-child) { border-top-color: var(--rule); }
.chapters-list a span {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--muted);
}
.chapters-list a:hover { color: var(--deep); }
.chapters-list a:hover span { color: var(--deep); }
.chapters-list a::after {
  content: "→"; position: absolute; right: 0; top: 50%;
  transform: translate(-8px, -50%); opacity: 0;
  transition: all 0.2s; color: var(--deep);
  font-family: var(--mono); font-size: 12px;
}
.chapters-list a:hover::after { opacity: 1; transform: translate(0, -50%); }

.chapters-cta {
  background: var(--deep); color: var(--bone);
  text-decoration: none; padding: 14px 18px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; letter-spacing: 0.06em;
  transition: background 0.2s;
}
.chapters-cta:hover { background: var(--ink); }
.chapters-cta .arrow { font-family: var(--mono); }

@media (max-width: 1080px) {
  .chapters {
    position: static; width: 100%; height: auto;
    flex-direction: row; align-items: center; gap: 16px;
    padding: 18px 22px; margin-top: 36px;
    border-right: 0; border-bottom: 1px solid var(--rule);
    overflow-x: auto;
  }
  .chapters-list {
    flex-direction: row; gap: 24px; margin: 0;
    flex: none;
  }
  .chapters-list a { grid-template-columns: 1fr; padding: 6px 0; border: 0; }
  .chapters-list a:not(:first-child) { border-top: 0; }
  .chapters-list a::after { display: none; }
  .chapters-list a span { display: block; }
  .chapters-brand .brandname { display: none; }
  .chapters-cta { padding: 10px 16px; }
}
@media (max-width: 700px) {
  .chapters-list { display: none; }
}

/* ============== OPTION SWITCHER PILL ============== */
.option-pill {
  position: fixed; right: 26px; bottom: 26px; z-index: 80;
  background: var(--deep); color: var(--bone);
  padding: 12px 18px; border-radius: 999px;
  text-decoration: none;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 18px 40px rgba(10,46,47,0.30);
  transition: all 0.2s;
  font-size: 12px;
}
.option-pill:hover { background: var(--ink); transform: translateY(-2px); box-shadow: 0 22px 50px rgba(10,46,47,0.4); }
.option-pill strong { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 14px; letter-spacing: -0.01em; }
.option-pill .mono { color: rgba(243,237,225,0.55); font-size: 9.5px; }
.option-pill .mono.small { font-size: 9px; }

@media (max-width: 700px) {
  .option-pill { right: 14px; bottom: 14px; padding: 10px 14px; }
  .option-pill .mono { display: none; }
}

/* ============== STAGE (offset for sidebar) ============== */
.stage { margin-left: 220px; padding-top: 40px; }
@media (max-width: 1080px) { .stage { margin-left: 0; padding-top: 0; } }

/* ============== HERO ============== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 80px 80px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
  isolation: isolate;
}
@media (max-width: 900px) { .hero { padding: 80px 32px 60px; min-height: auto; } }

.hero-meta { position: relative; z-index: 2; }
.hero-meta small { color: var(--muted); }

.hero-wordmark {
  position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; opacity: 0.05;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(120px, 22vw, 360px);
  letter-spacing: -0.04em; color: var(--ink); white-space: nowrap;
}
.hero-wordmark .ampersand { font-style: italic; padding: 0 8px; color: var(--deep); opacity: 0.7; }
.hero-wordmark .word { font-style: italic; }

.hero-title {
  position: relative; z-index: 2;
  font-family: var(--serif);
  font-size: clamp(58px, 11vw, 188px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 60px 0 80px;
  color: var(--ink);
}
.hero-title .line { display: block; }
.hero-title .line em {
  font-style: italic; font-weight: 400;
  color: var(--deep);
}
.hero-title .line:nth-child(2) { padding-left: 0.6em; }
.hero-title .line:nth-child(3) { padding-left: 1.4em; }
@media (max-width: 700px) {
  .hero-title { margin: 40px 0 50px; }
  .hero-title .line:nth-child(2) { padding-left: 0.3em; }
  .hero-title .line:nth-child(3) { padding-left: 0.6em; }
}

.hero-bottom {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px;
  align-items: end;
  max-width: 1200px;
}
@media (max-width: 860px) {
  .hero-bottom { grid-template-columns: 1fr; gap: 32px; }
}
.hero-blurb { max-width: 540px; }
.hero-blurb .kicker { display: block; margin-bottom: 14px; }
.hero-blurb p { font-size: 16px; line-height: 1.65; color: var(--ink-soft); margin: 0; }
.hero-blurb strong { font-weight: 600; color: var(--ink); }

.hero-card {
  padding: 22px;
  background: var(--bone-2);
  border: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
}
.hero-card::before, .hero-card::after {
  content: ""; position: absolute; width: 10px; height: 10px;
  background: var(--bone); border: 1px solid var(--rule);
}
.hero-card::before { top: -6px; left: -6px; }
.hero-card::after { bottom: -6px; right: -6px; }
.hero-card .serif-line { font-size: 26px; line-height: 1.25; }
.hero-card footer { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; border-top: 1px solid var(--rule); }
.link-line {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px dotted var(--rule);
  display: flex; justify-content: space-between; align-items: center;
}
.link-line:last-child { border-bottom: 0; }
.link-line span { color: var(--deep); }
.link-line:hover { color: var(--deep); }

.hero-pearl {
  position: absolute; right: -120px; top: 18%; z-index: 1;
  width: 480px; height: 480px;
  pointer-events: none;
}
.pearl-orb {
  position: relative; width: 100%; height: 100%; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%,
    var(--pearl-1) 0%,
    var(--pearl-3) 30%,
    var(--pearl-2) 65%,
    var(--pearl-4) 100%);
  filter: drop-shadow(0 40px 80px rgba(167,138,90,0.30));
  animation: shimmer 12s ease-in-out infinite;
}
.pearl-iridescence {
  position: absolute; inset: 8%; border-radius: 50%;
  background:
    conic-gradient(from 220deg at 50% 50%,
      rgba(184,197,203,0.5) 0deg,
      rgba(200,168,102,0.4) 90deg,
      rgba(230,218,196,0.3) 180deg,
      rgba(184,197,203,0.5) 270deg,
      rgba(200,168,102,0.4) 360deg);
  mix-blend-mode: overlay;
  filter: blur(8px);
  animation: rotate-iris 18s linear infinite;
}
.pearl-highlight {
  position: absolute; top: 16%; left: 22%;
  width: 30%; height: 30%; border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, rgba(255,255,255,0.95), transparent 55%);
}
@keyframes shimmer {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes rotate-iris {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@media (max-width: 1280px) { .hero-pearl { right: -160px; width: 380px; height: 380px; top: 22%; } }
@media (max-width: 900px) { .hero-pearl { width: 280px; height: 280px; right: -100px; top: 8%; opacity: 0.65; } }

.scroll-hint {
  position: absolute; left: 80px; bottom: 28px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-decoration: none;
}
.scroll-hint .mono { font-size: 10px; color: var(--muted); }
.scroll-hint .line-down {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, var(--rule), transparent);
  animation: scrolldown 2.6s ease-in-out infinite;
}
@keyframes scrolldown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@media (max-width: 900px) { .scroll-hint { left: 32px; } }

/* ============== CHAPTER MARKERS ============== */
.chapter-mark {
  display: flex; align-items: center; gap: 14px;
  padding: 26px 0;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.chapter-mark .rule { flex: 1; height: 1px; background: var(--rule); }
.chapter-mark.dark { color: rgba(243,237,225,0.6); }
.chapter-mark .rule.light { background: rgba(243,237,225,0.20); }

/* ============== § I MANIFESTO ============== */
.manifesto { padding: 60px 80px 140px; }
@media (max-width: 900px) { .manifesto { padding: 30px 32px 80px; } }

.pull-quote {
  margin: 0; padding: 60px 0 0;
  text-align: center;
}
.pull-quote p {
  font-family: var(--serif);
  font-size: clamp(30px, 4.5vw, 64px);
  font-weight: 400; font-style: normal;
  line-height: 1.18; letter-spacing: -0.018em;
  color: var(--ink); margin: 0 auto;
  max-width: 1100px;
}
.pull-quote p em {
  font-style: italic; color: var(--deep);
}
.pull-quote footer {
  margin-top: 40px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.pull-quote .signature {
  font-family: var(--serif); font-style: italic;
  font-size: 22px; color: var(--ink);
}

/* ============== § II ATELIER ============== */
.atelier { padding: 100px 80px; }
.atelier-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: start; }
@media (max-width: 980px) {
  .atelier { padding: 50px 32px; }
  .atelier-grid { grid-template-columns: 1fr; gap: 40px; }
}

.atelier-figure { margin: 0; position: relative; }
.figure-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, var(--bone-3) 0%, var(--bone-2) 70%, var(--bone-3) 100%);
  border: 1px solid var(--rule);
  display: grid; place-items: center;
  overflow: hidden;
}
.figure-frame.tall { aspect-ratio: 3 / 4.5; }
.figure-frame::before {
  content: "";
  position: absolute; inset: 14px;
  border: 1px solid rgba(28,26,23,0.10);
}
.figure-frame::after {
  content: "—";
  font-family: var(--serif); font-size: 80px;
  color: rgba(28,26,23,0.10);
}
.figure-label {
  position: absolute; bottom: 22px; left: 22px;
  color: rgba(28,26,23,0.45);
}
.figure-cross {
  position: absolute; top: 14px; right: 14px;
  width: 16px; height: 16px;
}
.figure-cross::before, .figure-cross::after {
  content: ""; position: absolute; background: rgba(28,26,23,0.30);
}
.figure-cross::before { top: 7px; left: 0; right: 0; height: 1px; }
.figure-cross::after { left: 7px; top: 0; bottom: 0; width: 1px; }
.atelier-figure figcaption {
  margin-top: 12px; color: var(--muted);
}

.atelier-text h2 {
  font-size: clamp(34px, 4.4vw, 60px);
  margin-bottom: 28px;
}
.atelier-text h2 em { color: var(--deep); }
.atelier-text p {
  font-size: 16.5px; line-height: 1.7; margin: 0 0 18px;
  color: var(--ink-soft);
  max-width: 540px;
}
.atelier-text p strong { font-weight: 600; color: var(--ink); }
.atelier-text p em { font-style: italic; color: var(--deep); }

.spec-list {
  margin: 36px 0 0; padding: 0;
  border-top: 1px solid var(--rule);
}
.spec-list > div {
  display: grid; grid-template-columns: 200px 1fr; gap: 24px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.spec-list dt { color: var(--muted); margin: 0; }
.spec-list dd { margin: 0; font-family: var(--serif); font-size: 19px; color: var(--ink); }

/* ============== § III TRATAMENTOS ============== */
.treatments { padding: 100px 80px 120px; background: var(--bone-2); }
@media (max-width: 900px) { .treatments { padding: 50px 32px 80px; } }

.treatments-head {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px;
  align-items: end; margin-bottom: 60px;
}
@media (max-width: 860px) {
  .treatments-head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
}
.treatments-head h2 {
  font-size: clamp(44px, 6vw, 90px);
}
.treatments-head h2 em { color: var(--deep); }
.lead {
  font-size: 16px; line-height: 1.65; color: var(--muted); margin: 0; max-width: 480px;
}
.lead.light { color: rgba(243,237,225,0.75); }

.treatments-list { list-style: none; padding: 0; margin: 0; }
.treatment {
  display: grid;
  grid-template-columns: 100px 1fr 140px 130px;
  align-items: center; gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--rule);
  position: relative;
  transition: padding 0.3s ease;
}
.treatment:last-child { border-bottom: 1px solid var(--rule); }
.treatment::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 0%, var(--bone) 50%, transparent 100%);
  opacity: 0; transition: opacity 0.4s;
  pointer-events: none;
}
.treatment:hover::before { opacity: 0.5; }
.treatment:hover { padding-left: 12px; }

.t-num {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--muted);
}
.t-body h3 {
  font-family: var(--serif); font-size: clamp(28px, 3vw, 42px);
  font-weight: 400; line-height: 1.05; letter-spacing: -0.015em;
  margin: 0 0 8px;
}
.t-body h3 em { font-style: italic; color: var(--deep); }
.t-body p {
  font-size: 14.5px; line-height: 1.6; color: var(--muted);
  margin: 0; max-width: 580px;
}
.t-tag {
  color: var(--ink); padding: 5px 10px;
  border: 1px solid var(--rule); border-radius: 999px;
  justify-self: start;
}
.t-link {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--ink); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  justify-self: end;
  border-bottom: 1px solid var(--ink); padding-bottom: 2px;
  transition: all 0.2s;
}
.t-link span { display: inline-block; transition: transform 0.2s; }
.t-link:hover { color: var(--deep); border-color: var(--deep); }
.t-link:hover span { transform: translateX(4px); }

@media (max-width: 1100px) {
  .treatment {
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto auto;
    row-gap: 12px;
  }
  .t-num { grid-column: 1; grid-row: 1; }
  .t-body { grid-column: 2; grid-row: 1; }
  .t-tag { grid-column: 2; grid-row: 2; }
  .t-link { grid-column: 2; grid-row: 2; justify-self: end; }
}

/* ============== § IV EQUIPE ============== */
.team-edit { padding: 120px 80px; }
@media (max-width: 900px) { .team-edit { padding: 60px 32px; } }

.team-head {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px;
  align-items: end; margin: 30px 0 80px;
}
@media (max-width: 860px) { .team-head { grid-template-columns: 1fr; gap: 24px; align-items: start; margin-bottom: 50px; } }
.team-head h2 {
  font-size: clamp(48px, 7vw, 110px);
}
.team-head h2 em { color: var(--deep); }

.member {
  display: grid; grid-template-columns: 0.95fr 1fr; gap: 80px;
  align-items: center; margin-bottom: 100px;
}
.member.reverse { grid-template-columns: 1fr 0.95fr; }
.member.reverse .member-figure { order: 2; }
.member.reverse .member-body { order: 1; }
@media (max-width: 980px) {
  .member, .member.reverse { grid-template-columns: 1fr; gap: 30px; }
  .member.reverse .member-figure { order: 0; }
  .member.reverse .member-body { order: 0; }
}

.member-figure { margin: 0; }
.member-figure figcaption { margin-top: 12px; color: var(--muted); }
.member-body small.mono { display: block; margin-bottom: 12px; }
.member-body h3 {
  font-size: clamp(42px, 5vw, 76px);
  margin: 0 0 22px;
}
.member-body h3 em { color: var(--deep); }
.member-body p {
  font-size: 16.5px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 22px;
  max-width: 540px;
}
.member-body strong { font-weight: 600; color: var(--ink); }
.member-body em { font-style: italic; color: var(--deep); font-weight: 400; }
.member-creds { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.member-creds li {
  display: grid; grid-template-columns: 28px 1fr; gap: 6px;
  align-items: baseline;
  font-size: 14px; color: var(--ink-soft);
}
.member-creds li span.mono { color: var(--deep); }

/* ============== § V RITUAL (Processo) ============== */
.ritual {
  padding: 120px 80px;
  background: var(--deep); color: var(--bone);
  position: relative; overflow: hidden;
}
.ritual::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 0%, rgba(200,168,102,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(184,197,203,0.15) 0%, transparent 60%);
  pointer-events: none;
}
@media (max-width: 900px) { .ritual { padding: 60px 32px; } }

.ritual-head {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px;
  align-items: end; margin: 30px 0 70px;
  position: relative; z-index: 1;
}
@media (max-width: 860px) { .ritual-head { grid-template-columns: 1fr; align-items: start; gap: 24px; } }
.ritual-head h2 {
  font-size: clamp(44px, 6vw, 90px);
  color: var(--bone);
}
.ritual-head h2 em { color: var(--pearl-2); }

.ritual-steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(243,237,225,0.18);
  position: relative; z-index: 1;
}
@media (max-width: 1100px) { .ritual-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ritual-steps { grid-template-columns: 1fr; } }

.ritual-steps li {
  padding: 32px 24px;
  border-right: 1px solid rgba(243,237,225,0.18);
  border-bottom: 1px solid rgba(243,237,225,0.18);
  display: flex; flex-direction: column; gap: 14px;
  min-height: 240px;
  transition: background 0.25s;
}
.ritual-steps li:hover { background: rgba(243,237,225,0.04); }
.ritual-steps li:last-child { border-right: 0; }
@media (max-width: 1100px) {
  .ritual-steps li:nth-child(2n) { border-right: 0; }
}
@media (max-width: 600px) {
  .ritual-steps li { border-right: 0; }
}

.ritual-steps li header {
  display: flex; justify-content: space-between; align-items: baseline;
}
.ritual-steps li header .mono { color: var(--pearl-2); }
.ritual-steps li header .dur { color: rgba(243,237,225,0.5); }
.ritual-steps h4 {
  font-family: var(--serif); font-size: 30px; font-weight: 400;
  margin: 0; color: var(--bone); letter-spacing: -0.015em;
}
.ritual-steps p {
  font-size: 14px; line-height: 1.6; color: rgba(243,237,225,0.72); margin: 0;
}

/* ============== § VI CLUB ============== */
.club-edit { padding: 120px 80px; }
@media (max-width: 900px) { .club-edit { padding: 60px 32px; } }

.card-club {
  background: var(--bone);
  border: 1px solid var(--rule);
  padding: 56px 56px 50px;
  position: relative;
  max-width: 1080px; margin: 30px 0;
}
.card-club::before, .card-club::after {
  content: ""; position: absolute; width: 14px; height: 14px;
  background: var(--bone); border: 1px solid var(--rule);
}
.card-club::before { top: -8px; left: -8px; }
.card-club::after { bottom: -8px; right: -8px; }
@media (max-width: 720px) { .card-club { padding: 32px 24px; } }

.card-club-top {
  display: grid; grid-template-columns: 1fr 140px;
  gap: 32px; align-items: end;
  padding-bottom: 32px; border-bottom: 1px solid var(--rule);
  margin-bottom: 32px;
}
.card-club-top small.mono { display: block; margin-bottom: 14px; }
.card-club-top h2 {
  font-size: clamp(38px, 5vw, 78px);
}
.card-club-top h2 em { color: var(--deep); }

.club-seal {
  width: 140px; height: 140px;
  border: 1px solid var(--rule); border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle, var(--bone-2) 0%, var(--bone-3) 100%);
  position: relative;
}
.club-seal::before, .club-seal::after {
  content: ""; position: absolute; inset: 6px;
  border: 1px solid var(--rule); border-radius: 50%;
}
.club-seal::after { inset: 12px; border-color: var(--pearl-4); opacity: 0.4; }
.seal-inner {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  z-index: 1;
}
.seal-inner em {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 30px; color: var(--deep);
}
.seal-inner .mono { font-size: 9px; color: var(--muted); }

@media (max-width: 720px) {
  .card-club-top { grid-template-columns: 1fr; }
  .club-seal { width: 110px; height: 110px; }
}

.club-lead { font-size: 17px; line-height: 1.65; color: var(--ink-soft); margin: 0 0 30px; max-width: 580px; }

.club-perks { list-style: none; padding: 0; margin: 0 0 36px; }
.club-perks li {
  display: grid; grid-template-columns: 50px 1fr;
  gap: 14px; align-items: baseline;
  padding: 12px 0; border-top: 1px solid var(--rule);
  font-family: var(--serif); font-size: 20px;
  color: var(--ink);
}
.club-perks li:last-child { border-bottom: 1px solid var(--rule); }
.club-perks li span.mono { color: var(--deep); font-size: 11px; }
.club-perks li strong { font-weight: 600; }

.cta-line {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--ink); padding: 8px 0;
  transition: all 0.2s;
}
.cta-line span { font-family: var(--mono); transition: transform 0.2s; }
.cta-line:hover { color: var(--deep); border-color: var(--deep); }
.cta-line:hover span { transform: translateX(6px); }

/* ============== § VII FAQ ============== */
.faq-edit { padding: 120px 80px; background: var(--bone-2); }
@media (max-width: 900px) { .faq-edit { padding: 60px 32px; } }

.faq-head {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px;
  align-items: end; margin: 30px 0 60px;
}
@media (max-width: 860px) { .faq-head { grid-template-columns: 1fr; gap: 24px; align-items: start; } }
.faq-head h2 { font-size: clamp(44px, 6vw, 90px); }

.faq-list { border-top: 1px solid var(--rule); max-width: 1100px; }
.faq-list details {
  border-bottom: 1px solid var(--rule);
  padding: 20px 0;
  transition: background 0.2s;
}
.faq-list details[open] { padding: 28px 0 24px; }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 60px 1fr 28px;
  gap: 14px; align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .mono { color: var(--muted); }
.faq-list summary .q {
  font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400; line-height: 1.15; letter-spacing: -0.015em;
  color: var(--ink);
}
.faq-list summary .ind {
  width: 22px; height: 22px;
  border: 1px solid var(--rule); border-radius: 50%;
  position: relative;
  transition: all 0.25s;
}
.faq-list summary .ind::before, .faq-list summary .ind::after {
  content: ""; position: absolute; background: var(--ink);
  top: 50%; left: 50%;
}
.faq-list summary .ind::before { width: 9px; height: 1px; transform: translate(-50%, -50%); }
.faq-list summary .ind::after { width: 1px; height: 9px; transform: translate(-50%, -50%); transition: transform 0.25s; }
.faq-list details[open] summary .ind { border-color: var(--deep); background: var(--deep); }
.faq-list details[open] summary .ind::before { background: var(--bone); }
.faq-list details[open] summary .ind::after { transform: translate(-50%, -50%) scaleY(0); }

.faq-list details p {
  margin: 18px 0 0 74px;
  font-size: 15px; line-height: 1.7; color: var(--ink-soft);
  max-width: 760px;
}
@media (max-width: 700px) {
  .faq-list details p { margin-left: 0; }
  .faq-list summary { grid-template-columns: 40px 1fr 22px; }
}
.faq-list details p strong { font-weight: 600; color: var(--ink); }
.faq-list details p a { color: var(--deep); text-decoration: underline; text-underline-offset: 3px; }

/* ============== § VIII CONTATO ============== */
.contact-edit { padding: 120px 80px; background: var(--deep); color: var(--bone); position: relative; overflow: hidden; }
.contact-edit::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(200,168,102,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 0% 100%, rgba(184,197,203,0.12) 0%, transparent 60%);
  pointer-events: none;
}
@media (max-width: 900px) { .contact-edit { padding: 60px 32px; } }

.contact-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start; margin-top: 30px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.contact-left h2 {
  font-size: clamp(50px, 7vw, 110px);
  margin-bottom: 28px;
}
.contact-left h2 em { color: var(--pearl-2); }

.contact-dl { margin: 40px 0 0; padding: 0; border-top: 1px solid rgba(243,237,225,0.18); }
.contact-dl > div {
  display: grid; grid-template-columns: 180px 1fr; gap: 24px;
  padding: 14px 0; border-bottom: 1px solid rgba(243,237,225,0.18);
  align-items: baseline;
}
.contact-dl dt { color: rgba(243,237,225,0.55); margin: 0; }
.contact-dl dd { margin: 0; font-family: var(--serif); font-size: 19px; color: var(--bone); line-height: 1.4; }
.contact-dl dd a { color: var(--bone); text-decoration: none; border-bottom: 1px dotted rgba(243,237,225,0.4); }
.contact-dl dd a:hover { color: var(--pearl-2); border-bottom-color: var(--pearl-2); }
.contact-dl dd .mono.small { display: block; color: rgba(243,237,225,0.5); margin-top: 4px; }

@media (max-width: 720px) {
  .contact-dl > div { grid-template-columns: 1fr; gap: 6px; }
}

.contact-right {
  background: var(--bone);
  color: var(--ink);
  padding: 44px 40px;
  border-radius: 0;
  position: relative;
}
.contact-right::before, .contact-right::after {
  content: ""; position: absolute; width: 12px; height: 12px;
  background: var(--deep); border: 1px solid var(--pearl-2);
}
.contact-right::before { top: -7px; left: -7px; }
.contact-right::after { bottom: -7px; right: -7px; }
@media (max-width: 720px) { .contact-right { padding: 30px 24px; } }

.contact-right header { margin-bottom: 28px; }
.contact-right header small.mono { display: block; margin-bottom: 10px; }
.contact-right h3 { font-size: clamp(34px, 4vw, 50px); margin: 0; }

.contact-right label { display: block; margin-bottom: 18px; }
.contact-right label > span.mono { display: block; margin-bottom: 6px; color: var(--muted); }
.contact-right input,
.contact-right select,
.contact-right textarea {
  width: 100%; padding: 10px 0;
  border: 0; border-bottom: 1px solid var(--rule);
  background: transparent;
  font-family: var(--serif); font-size: 19px;
  color: var(--ink);
  transition: border-color 0.2s;
}
.contact-right input:focus,
.contact-right select:focus,
.contact-right textarea:focus {
  outline: none; border-bottom-color: var(--deep);
}
.contact-right textarea { resize: vertical; min-height: 64px; line-height: 1.4; }
.contact-right select { appearance: none; cursor: pointer; }
.contact-right button {
  margin-top: 16px;
  background: var(--deep); color: var(--bone);
  border: 0; padding: 16px 24px; border-radius: 0;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; cursor: pointer;
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.2s;
}
.contact-right button:hover { background: var(--ink); }
.contact-right button.done { background: var(--pearl-2); color: var(--ink); }
.contact-right button .arr { font-family: var(--mono); }
.fineprint { display: block; text-align: center; margin-top: 14px; color: var(--muted); }

/* ============== FOOTER ============== */
.foot {
  padding: 80px 80px 30px;
  margin-left: 220px;
  background: var(--bone);
  border-top: 1px solid var(--rule);
}
@media (max-width: 1080px) { .foot { margin-left: 0; } }
@media (max-width: 900px) { .foot { padding: 60px 32px 30px; } }

.foot-top {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px;
  align-items: center;
  padding-bottom: 40px; border-bottom: 1px solid var(--rule);
  margin-bottom: 40px;
}
@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr; gap: 30px; } }

.foot-brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.foot-tag {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 400; line-height: 1.3; color: var(--ink); margin: 0;
}
.foot-tag em { color: var(--deep); }

.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 860px) { .foot-cols { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 480px) { .foot-cols { grid-template-columns: 1fr; } }

.foot-cols h5 { margin: 0 0 14px; color: var(--ink); }
.foot-cols a {
  display: block; color: var(--ink-soft); text-decoration: none;
  padding: 4px 0; font-size: 14px;
  transition: color 0.2s;
}
.foot-cols a:hover { color: var(--deep); }
.foot-cols p { margin: 0 0 8px; }
.foot-cols small.mono { color: var(--muted); }

.foot-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 30px; border-top: 1px solid var(--rule);
  margin-top: 40px;
}
.foot-bottom small.mono { color: var(--muted); }

/* ============== LOAD-IN ANIMATION ============== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-meta, .hero-title, .hero-bottom, .scroll-hint {
  animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.hero-meta { animation-delay: 0.1s; }
.hero-title { animation-delay: 0.3s; }
.hero-bottom { animation-delay: 0.6s; }
.scroll-hint { animation-delay: 1.2s; }

/* Reveal on scroll (CSS only via IO-less heuristic — light approach) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
