/* ═══════════════════════════════════════════════
   Serpa Pinto & Fairbanks — style
   ═══════════════════════════════════════════════ */

:root {
  --ink: #0b1119;
  --ink-soft: #101826;
  --paper: #f4efe6;
  --paper-dim: #eae3d4;
  --gold: #b99657;
  --gold-light: #d8bc85;
  --gold-deep: #8a6d35; /* dourado escurecido p/ texto pequeno sobre fundo claro (contraste AA) */
  --line-dark: rgba(185, 150, 87, 0.22);
  --line-light: rgba(11, 17, 25, 0.14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: var(--ink); }

img, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; }
em { font-style: italic; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 500;
  padding: 12px 20px;
  background: var(--gold); color: var(--ink);
  font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* On fine pointers the custom cursor takes over */
@media (hover: hover) and (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
}

/* ── Logo (máscara recolorível) ────────────── */
.logo-mark {
  display: inline-block;
  aspect-ratio: 136 / 98;
  background: var(--gold);
  -webkit-mask: url("../img/logo-spf-mask.png") center / contain no-repeat;
  mask: url("../img/logo-spf-mask.png") center / contain no-repeat;
}

/* ── Grain ─────────────────────────────────── */
.grain {
  position: fixed; inset: -100%;
  pointer-events: none; z-index: 200;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
}

/* ── Preloader ─────────────────────────────── */
.preloader {
  position: fixed; inset: 0; z-index: 400;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink);
}
.preloader__curtain {
  position: absolute; inset: 0;
  background: var(--ink);
  transform-origin: top;
  z-index: -1;
}
.preloader__inner { text-align: center; }
.preloader__monogram { line-height: 1; }
.preloader__logo {
  width: clamp(110px, 16vw, 160px);
  background: var(--gold);
}
.preloader__line {
  width: min(280px, 50vw); height: 1px;
  margin: 32px auto 16px;
  background: rgba(244, 239, 230, 0.15);
  overflow: hidden;
}
.preloader__line-fill {
  display: block; width: 100%; height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}
.preloader__count {
  font-family: var(--sans);
  font-size: 11px; letter-spacing: 0.35em;
  color: var(--gold);
}

/* ── Cursor ────────────────────────────────── */
.cursor, .cursor-dot { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: flex; align-items: center; justify-content: center;
    position: fixed; top: 0; left: 0; z-index: 300;
    width: 44px; height: 44px;
    margin: -22px 0 0 -22px;
    border: 1px solid rgba(185, 150, 87, 0.6);
    border-radius: 50%;
    pointer-events: none;
    transition: width 0.3s, height 0.3s, margin 0.3s, background-color 0.3s, border-color 0.3s;
  }
  .cursor__label {
    font-size: 14px; color: var(--ink);
    opacity: 0; transition: opacity 0.2s;
  }
  .cursor.is-hover {
    width: 72px; height: 72px; margin: -36px 0 0 -36px;
    background: var(--gold); border-color: var(--gold);
  }
  .cursor.is-hover .cursor__label { opacity: 1; }
  .cursor-dot {
    display: block; position: fixed; top: 0; left: 0; z-index: 301;
    width: 4px; height: 4px; margin: -2px 0 0 -2px;
    background: var(--gold); border-radius: 50%;
    pointer-events: none;
  }
  .cursor.is-hover ~ .cursor-dot { opacity: 0; }
}

/* ── Header ────────────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px clamp(20px, 4vw, 56px);
  transition: transform 0.5s ease;
}
.header.is-hidden { transform: translateY(-110%); }
.header__brand { display: flex; align-items: center; gap: 14px; }
.header__brand-mark { width: 46px; }
.header__brand-name {
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(244, 239, 230, 0.7);
  mix-blend-mode: difference;
}
.header__nav {
  display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px);
  mix-blend-mode: difference;
}
.header__nav a {
  position: relative;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--paper); padding: 6px 0;
}
.header__nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
.header__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__cta {
  border: 1px solid rgba(244, 239, 230, 0.35);
  padding: 10px 22px !important; border-radius: 999px;
  transition: border-color 0.3s, background-color 0.3s, color 0.3s;
}
.header__cta::after { display: none; }
.header__cta:hover { background: var(--paper); color: var(--ink) !important; }
.header__burger { display: none; }

@media (max-width: 900px) {
  .header__nav { display: none; }
  .header__brand-name { display: none; }
  .header__burger {
    display: flex; flex-direction: column; gap: 7px;
    width: 40px; padding: 8px 4px;
    mix-blend-mode: difference;
  }
  .header__burger span {
    display: block; height: 1px; background: var(--paper);
    transition: transform 0.4s, opacity 0.4s;
  }
}

/* ── Menu overlay ──────────────────────────── */
.menu {
  position: fixed; inset: 0; z-index: 150;
  visibility: hidden; pointer-events: none;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 clamp(24px, 8vw, 80px);
}
.menu.is-open { visibility: visible; pointer-events: auto; }
.menu__bg {
  position: absolute; inset: 0;
  background: var(--ink-soft);
  clip-path: inset(0 0 100% 0);
}
.menu__nav { position: relative; display: flex; flex-direction: column; }
.menu__nav a {
  font-family: var(--serif);
  font-size: clamp(38px, 9vw, 72px);
  font-weight: 400; line-height: 1.25;
  color: var(--paper);
  padding: 4px 0;
  display: flex; align-items: baseline; gap: 18px;
  opacity: 0;
}
.menu__nav a small {
  font-family: var(--sans); font-size: 11px;
  letter-spacing: 0.3em; color: var(--gold);
}
.menu__footer {
  position: absolute; bottom: 40px; left: clamp(24px, 8vw, 80px);
  font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(244, 239, 230, 0.5);
  opacity: 0;
}

/* ── Buttons ───────────────────────────────── */
.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 999px;
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  overflow: hidden; position: relative;
}
.btn span { position: relative; z-index: 1; display: inline-block; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold::before {
  content: ""; position: absolute; inset: 0;
  background: var(--paper);
  transform: translateY(101%); border-radius: 999px 999px 0 0;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1), border-radius 0.5s;
}
.btn--gold:hover::before { transform: translateY(0); border-radius: 0; }
.btn--ghost {
  border: 1px solid rgba(244, 239, 230, 0.28); color: var(--paper);
  transition: border-color 0.4s;
}
.btn--ghost:hover { border-color: var(--gold); }

/* ── Section head ──────────────────────────── */
.section-head {
  display: flex; align-items: center; gap: 20px;
  padding: 0 clamp(20px, 6vw, 96px);
  margin-bottom: clamp(40px, 7vh, 80px);
}
.section-head__index {
  font-family: var(--serif); font-style: italic;
  font-size: 15px; color: var(--gold);
}
.section-head__label {
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  white-space: nowrap;
}
.section-head__rule { flex: 1; height: 1px; background: var(--line-light); transform-origin: left; }
.section-head--dark .section-head__rule { background: var(--line-dark); }

/* ── Hero ──────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px clamp(20px, 6vw, 96px) 80px;
  overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 30% 45%, rgba(11, 17, 25, 0) 30%, rgba(11, 17, 25, 0.75) 100%),
    linear-gradient(to bottom, rgba(11, 17, 25, 0.55), rgba(11, 17, 25, 0) 25%, rgba(11, 17, 25, 0) 70%, var(--ink) 100%);
}
.hero__content { position: relative; z-index: 2; max-width: 1100px; }
.hero__eyebrow {
  display: flex; align-items: center; gap: 16px;
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: clamp(24px, 4vh, 40px);
}
.hero__eyebrow-rule { width: 56px; height: 1px; background: var(--gold); display: inline-block; }
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 11vw, 152px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--paper);
}
.hero__title em { color: var(--gold); }
.hero__title-line { display: block; }
.hero__sub {
  margin-top: clamp(24px, 4vh, 40px);
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.8;
  color: rgba(244, 239, 230, 0.72);
  max-width: 560px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: clamp(32px, 5vh, 52px); }
.hero__scrollcue {
  position: absolute; right: clamp(20px, 5vw, 72px); bottom: 44px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.hero__scrollcue-text {
  font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase;
  color: rgba(244, 239, 230, 0.55);
  writing-mode: vertical-rl;
}
.hero__scrollcue-line {
  width: 1px; height: 64px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  overflow: hidden; position: relative;
}

/* ── Marquee ───────────────────────────────── */
.marquee {
  overflow: hidden; white-space: nowrap;
  padding: clamp(28px, 5vh, 48px) 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: var(--ink);
}
.marquee__track { display: inline-flex; will-change: transform; }
.marquee__track span {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(22px, 3.4vw, 40px);
  color: rgba(216, 188, 133, 0.5);
}

/* ── Light sections ────────────────────────── */
.section--light { background: var(--paper); color: var(--ink); }

/* ── About ─────────────────────────────────── */
.about { padding: clamp(90px, 14vh, 160px) 0 clamp(80px, 12vh, 140px); }
.about__manifesto {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4.6vw, 58px);
  line-height: 1.28;
  padding: 0 clamp(20px, 6vw, 96px);
  max-width: 1200px;
}
.about__manifesto em { color: var(--gold); }
.about__manifesto .w { display: inline-block; }
.about__gallery {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-auto-rows: minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 32px);
  padding: 0 clamp(20px, 6vw, 96px);
  margin-top: clamp(64px, 10vh, 120px);
}
.gfig { margin: 0; }
.gfig--wide { grid-row: span 2; }
.gfig__mask {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--paper-dim);
}
.gfig--wide .gfig__mask { aspect-ratio: auto; height: 100%; min-height: 420px; }
.gfig__mask img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
}
.gfig figcaption {
  margin-top: 14px;
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold);
}
@media (max-width: 800px) {
  .about__gallery { grid-template-columns: 1fr; }
  .gfig--wide .gfig__mask { aspect-ratio: 4 / 3; height: auto; min-height: 0; }
}

.about__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 64px);
  padding: 0 clamp(20px, 6vw, 96px);
  margin-top: clamp(64px, 10vh, 120px);
}
.about__col h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(22px, 2.2vw, 28px);
  margin-bottom: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
}
.about__col p { font-size: 14px; line-height: 1.9; color: rgba(11, 17, 25, 0.72); }
@media (max-width: 800px) { .about__grid { grid-template-columns: 1fr; } }

/* ── Stats ─────────────────────────────────── */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 0 clamp(20px, 6vw, 96px);
  margin-top: clamp(64px, 10vh, 120px);
}
.stats__item {
  padding: 28px 24px 0;
  border-left: 1px solid var(--line-light);
}
.stats__num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 400; line-height: 1;
  color: var(--ink);
}
.stats__num::after { content: ""; }
.stats__item:not(:first-child) .stats__num::before { content: ""; }
.stats__label {
  display: block; margin-top: 12px;
  font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold);
}
@media (max-width: 800px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
}

/* ── Areas ─────────────────────────────────── */
.areas { background: var(--ink); padding: clamp(90px, 14vh, 160px) 0; }
.areas__title, .team__title, .contact__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 6.5vw, 88px);
  line-height: 1.05;
  padding: 0 clamp(20px, 6vw, 96px);
  margin-bottom: clamp(48px, 8vh, 96px);
}
.areas__title em, .team__title em, .contact__title em { color: var(--gold); }
.areas__list { list-style: none; }
.area { border-top: 1px solid var(--line-dark); }
.area:last-child { border-bottom: 1px solid var(--line-dark); }
.area__head {
  display: flex; align-items: center; gap: clamp(20px, 4vw, 56px);
  width: 100%; text-align: left;
  padding: clamp(22px, 3.2vh, 34px) clamp(20px, 6vw, 96px);
  position: relative;
  transition: padding-left 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}
.area__head::before {
  content: ""; position: absolute; inset: 0;
  background: var(--gold);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}
.area:hover .area__head::before, .area.is-open .area__head::before { transform: scaleY(1); }
.area:hover .area__head, .area.is-open .area__head { padding-left: clamp(32px, 7vw, 116px); }
.area__num, .area__name, .area__icon { position: relative; z-index: 1; transition: color 0.35s; }
.area__num {
  font-family: var(--serif); font-style: italic;
  font-size: 15px; color: var(--gold);
  width: 42px; flex-shrink: 0;
}
.area__name {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(24px, 3.6vw, 44px);
  color: var(--paper); flex: 1;
}
.area:hover .area__num, .area.is-open .area__num,
.area:hover .area__name, .area.is-open .area__name { color: var(--ink); }
.area__icon {
  width: 16px; height: 16px; flex-shrink: 0; position: relative;
}
.area__icon::before, .area__icon::after {
  content: ""; position: absolute; background: var(--gold);
  transition: background-color 0.35s, transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}
.area__icon::before { left: 0; top: 7px; width: 16px; height: 1px; }
.area__icon::after { left: 7px; top: 0; width: 1px; height: 16px; }
.area:hover .area__icon::before, .area:hover .area__icon::after,
.area.is-open .area__icon::before, .area.is-open .area__icon::after { background: var(--ink); }
.area.is-open .area__icon::after { transform: scaleY(0); }
.area__body {
  height: 0; overflow: hidden;
}
.area__body p {
  padding: 6px clamp(20px, 6vw, 96px) 36px;
  padding-left: calc(clamp(20px, 6vw, 96px) + 42px + clamp(20px, 4vw, 56px));
  max-width: 780px;
  font-size: 15px; line-height: 1.9;
  color: rgba(244, 239, 230, 0.66);
}

/* ── Team ──────────────────────────────────── */
.team { overflow: hidden; }
.team__pin { padding: clamp(90px, 14vh, 150px) 0; }
.team__scroller {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.team__scroller::-webkit-scrollbar { display: none; }
.team__scroller.is-dragging { cursor: grabbing; }
.team__scroller.is-dragging .member { pointer-events: none; }
.team__scroller img { -webkit-user-drag: none; }
.team__track {
  display: flex; gap: clamp(24px, 3vw, 48px);
  padding: 0 clamp(20px, 6vw, 96px);
  width: max-content;
}
.team__hint {
  display: flex; align-items: center; gap: 16px;
  padding: 0 clamp(20px, 6vw, 96px);
  margin-top: clamp(32px, 5vh, 56px);
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold);
}
.team__hint-line {
  width: 56px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.member {
  width: clamp(230px, 24vw, 320px);
  flex-shrink: 0;
}
.member__frame {
  position: relative;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line-light);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, rgba(11, 17, 25, 0.03), rgba(185, 150, 87, 0.07));
  overflow: hidden;
  transition: border-color 0.4s;
}
.member__frame::after {
  content: ""; position: absolute; inset: 10px;
  border: 1px solid rgba(185, 150, 87, 0.35);
  opacity: 0; transform: scale(0.96);
  transition: opacity 0.45s, transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}
.member:hover .member__frame { border-color: var(--gold); }
.member:hover .member__frame::after { opacity: 1; transform: scale(1); }
.member__initials {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(48px, 5vw, 72px);
  color: var(--gold);
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.member:hover .member__initials { transform: translateY(-6px) scale(1.05); }
.member__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(100%) contrast(1.02);
  transform: scale(1.001);
  transition: filter 0.6s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.member:hover .member__photo { filter: grayscale(0%); transform: scale(1.045); }
.member--founder .member__frame { background: var(--ink); border-color: var(--ink); }
.member--founder .member__initials { color: var(--gold-light); }
.member__name {
  font-family: var(--serif); font-weight: 500;
  font-size: 21px; line-height: 1.25;
  margin-top: 18px;
}
.member__role {
  margin-top: 6px;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}

/* ── Cities ────────────────────────────────── */
.cities { background: var(--ink); padding: clamp(90px, 14vh, 160px) 0; }
.cities__list { list-style: none; }
.city {
  border-top: 1px solid var(--line-dark);
  padding: clamp(28px, 4.5vh, 48px) clamp(20px, 6vw, 96px);
  transition: background-color 0.4s;
}
.city:last-child { border-bottom: 1px solid var(--line-dark); }
.city:hover { background: var(--ink-soft); }
.city__row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.city__name {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 6vw, 72px);
  color: var(--paper);
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1), color 0.4s;
}
.city:hover .city__name { transform: translateX(16px); color: var(--gold-light); }
.city__tag {
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--line-dark);
  padding: 8px 16px; border-radius: 999px;
  white-space: nowrap;
}
.city__address {
  margin-top: 10px;
  font-size: 13px; letter-spacing: 0.06em;
  color: rgba(244, 239, 230, 0.55);
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.5s, margin-top 0.5s;
}
.city:hover .city__address { max-height: 40px; opacity: 1; }
@media (hover: none) {
  .city__address { max-height: 40px; opacity: 1; }
}

/* ── Contact / footer ──────────────────────── */
.contact {
  background: var(--ink);
  padding: clamp(110px, 18vh, 200px) clamp(20px, 6vw, 96px) 48px;
  text-align: center;
}
.contact__eyebrow {
  font-size: 11px; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px;
}
.contact__title { padding: 0; margin-bottom: clamp(40px, 7vh, 72px); font-size: clamp(56px, 11vw, 160px); }
.contact__mail {
  display: inline-block;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(20px, 3.2vw, 36px);
  color: var(--paper);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 8px;
  transition: color 0.4s;
}
.contact__mail:hover { color: var(--gold-light); }
.contact__actions { margin-top: 36px; }
.contact__phone {
  display: block; margin-top: 24px;
  font-size: 12px; letter-spacing: 0.3em;
  color: rgba(244, 239, 230, 0.6);
  transition: color 0.4s;
}
.contact__phone:hover { color: var(--gold); }

.footer {
  margin-top: clamp(90px, 14vh, 160px);
  border-top: 1px solid var(--line-dark);
  padding-top: 40px;
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
  text-align: left;
}
.footer__brand { display: flex; flex-direction: column; gap: 10px; }
.footer__logo { width: 64px; }
.footer__by {
  font-size: 10px; letter-spacing: 0.18em;
  color: rgba(244, 239, 230, 0.4);
}
.footer__cols { display: flex; gap: clamp(32px, 6vw, 96px); flex-wrap: wrap; }
.footer__cols p {
  font-size: 11px; line-height: 2; letter-spacing: 0.08em;
  color: rgba(244, 239, 230, 0.5);
}
.footer__top {
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--line-dark);
  padding: 14px 24px; border-radius: 999px;
  transition: background-color 0.4s, color 0.4s;
}
.footer__top:hover { background: var(--gold); color: var(--ink); }

/* ── Reveal helpers ────────────────────────── */
.reveal-lines .line { overflow: hidden; }

/* ── Contraste: dourado escuro p/ texto pequeno em fundo claro ── */
.section--light .section-head__index,
.stats__label,
.member__role,
.gfig figcaption,
.team__hint { color: var(--gold-deep); }

/* ── Reduced motion ────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
