/* ============================================================
   Studio Andressa Souza Beauty — Design System
   Paleta extraída do logo (terracota) sobre fundo espresso.
   Compartilhado por todas as landing pages do studio.
   ============================================================ */

:root {
  --bg: #130b07;
  --bg-2: #1a100a;
  --surface: #211409;
  --surface-2: #2a1a10;
  --line: rgba(217, 176, 140, 0.16);
  --line-strong: rgba(217, 176, 140, 0.32);
  --cream: #f4eadf;
  --cream-dim: #e6d5c5;
  --muted: #b39c8b;
  --terra: #c67a5b;
  --terra-deep: #a75f43;
  --terra-soft: #e0a483;
  --gold: #d9b08c;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.65);
  --radius: 18px;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Jost", "Segoe UI", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

/* Textura de grão sutil sobre toda a página (acabamento filmográfico) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}

a { color: inherit; text-decoration: none; }

::selection { background: var(--terra); color: #fff; }

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

/* ---------- Tipografia ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0.005em;
  color: var(--cream);
}

h1.display { line-height: 0.98; }

.display em {
  font-style: italic;
  color: var(--terra-soft);
}

/* Emphasis dourada com gradiente (com fallback seguro) */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .display em {
    background: linear-gradient(100deg, var(--gold) 0%, var(--terra-soft) 52%, var(--terra) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

.display strong { font-weight: 700; }

h1.display { font-weight: 600; }

.lead b {
  font-weight: 500;
  color: var(--cream-dim);
}

h1.display { font-size: clamp(2.2rem, 6vw, 4.6rem); }
h2.display { font-size: clamp(1.9rem, 4.4vw, 3.2rem); }

h1.display, h2.display { text-wrap: balance; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
}

.kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--terra);
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 56ch;
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 1.05em 2.4em;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
  will-change: transform;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--terra-soft), var(--terra-deep));
  color: #241008;
  box-shadow: 0 18px 40px -14px rgba(198, 122, 91, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px -14px rgba(198, 122, 91, 0.7);
}

/* Brilho que atravessa o botão no hover */
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 244, 235, 0.4), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}
.btn-primary:hover::after { animation: btnShimmer 0.9s ease; }
@keyframes btnShimmer { to { left: 150%; } }

.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--cream);
}

.btn-ghost:hover { background: rgba(217, 176, 140, 0.08); }

/* ---------- Seções ---------- */

section { position: relative; padding: clamp(52px, 6.5vw, 78px) 0; }

.section-head {
  display: grid;
  gap: 16px;
  max-width: 640px;
  margin-bottom: clamp(32px, 5vw, 52px);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Ajustes mobile globais ---------- */

@media (max-width: 560px) {
  body { font-size: 16px; }

  .kicker {
    font-size: 0.6rem;
    letter-spacing: 0.24em;
    gap: 10px;
  }

  .kicker::before { width: 22px; }

  .btn { padding: 1em 1.9em; letter-spacing: 0.18em; }

  .lead { font-size: 1rem; }
}

