/* ============================================================
   Atelier Goubiahn — CSS global (complementa o Tailwind).
   Texturas sutis, filetes hairline e refinos tipográficos que
   não cabem bem em classes utilitárias.
   ============================================================ */

:root {
  --navy: #0F2540;
  --offwhite: #FAF7F2;
  --gold: #B8945A;
  --bordo: #6B2737;
  --pergaminho: #E8E3D9;
  --quadro: #2D4A3E;
  --muted: #6B6B6B;
}

/* Rolagem suave para a navegação por âncoras, com offset do header fixo. */
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 88px; }

body {
  background-color: var(--offwhite);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Grão de papel discreto no background off-white (SVG inline, leve, sem request). */
.paper-grain {
  position: relative;
}
.paper-grain::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}

/* Filete hairline decorativo (0.5–1px) em dourado ou navy. */
.hairline { height: 1px; border: 0; background: rgba(15, 37, 64, 0.12); }
.hairline-gold { height: 1px; border: 0; background: var(--gold); opacity: 0.55; }
.hairline-vertical { width: 1px; background: rgba(15, 37, 64, 0.12); }

/* Eyebrow / label em caixa alta com tracking generoso. */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Linha sublinhada fina para o CTA secundário (texto). */
.link-underline {
  position: relative;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  transition: color 160ms ease, border-color 160ms ease;
}
.link-underline:hover { color: var(--bordo); }

/* Placeholder de foto — moldura editorial enquanto a sessão fotográfica não acontece. */
.photo-placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  background:
    repeating-linear-gradient(45deg, rgba(15,37,64,0.03) 0 12px, transparent 12px 24px),
    var(--pergaminho);
  border: 1px solid rgba(15, 37, 64, 0.12);
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

/* Reveal suave ao entrar na viewport (respeita prefers-reduced-motion). */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.is-visible { opacity: 1; transform: none; }
}

/* Foco visível e elegante para navegação por teclado (acessibilidade). */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
