/* ═══════════════════════════════════════════════════
   NOUVELLVIE — SECONDARY PAGES CSS
   Shared styles for about, contact, privacy, terms,
   safety, cookies, and success pages
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ── TOKENS (mirrored from main.css) ────────────── */
:root {
  --sand:       #F2EDE4;
  --cream:      #FAF7F2;
  --ink:        #1C1914;
  --ink-70:     rgba(28,25,20,0.70);
  --ink-45:     rgba(28,25,20,0.45);
  --ink-35:     rgba(28,25,20,0.35);
  --amber:      #ef4c23;
  --amber-deep: #c93a14;
  --dark:       #18160F;
  --serif:      'Cormorant Garamond', 'Georgia', serif;
  --sans:       'Outfit', -apple-system, sans-serif;
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --app-w:      500px;
}

/* ── RESET ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  height: 100%;
}

body {
  font-family: var(--sans);
  background: #E8E4DC;
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

a { color: var(--amber); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── FRAME ──────────────────────────────────────── */
.frame {
  width: 100%;
  max-width: var(--app-w);
  min-height: 100vh;
  background: var(--cream);
  box-shadow: 0 0 80px rgba(28,25,20,0.2);
}

/* ── HEADER ─────────────────────────────────────── */
.hdr {
  background: var(--dark);
  padding: 52px 24px 36px;
  position: relative;
  overflow: hidden;
}

.hdr::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(200,133,58,0.15), transparent 55%);
  pointer-events: none;
}

.hdr__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(250,247,242,0.45);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 20px;
  transition: color 280ms var(--ease-out);
}

.hdr__back:hover {
  color: rgba(250,247,242,0.7);
  text-decoration: none;
}

.hdr__back svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.hdr h1 {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--cream);
  line-height: 1;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.hdr__sub {
  font-size: 0.76rem;
  color: rgba(250,247,242,0.4);
  margin-top: 8px;
  position: relative;
  z-index: 1;
}

/* ── BODY ───────────────────────────────────────── */
.body {
  padding: 32px 24px 56px;
}

.body h2 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  margin: 32px 0 10px;
  letter-spacing: -0.01em;
}

.body h2:first-child {
  margin-top: 0;
}

.body p {
  font-size: 0.84rem;
  color: var(--ink-70);
  line-height: 1.75;
  margin-bottom: 12px;
}

.body ul {
  padding-left: 18px;
  margin-bottom: 12px;
}

.body li {
  font-size: 0.84rem;
  color: rgba(28,25,20,0.65);
  line-height: 1.7;
  margin-bottom: 4px;
}

/* ── COMPONENTS ─────────────────────────────────── */
.note-box {
  background: rgba(200,133,58,0.07);
  border: 1px solid rgba(200,133,58,0.18);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.79rem;
  color: rgba(28,25,20,0.65);
  margin: 16px 0;
}

.tip {
  background: rgba(200,133,58,0.07);
  border: 1px solid rgba(200,133,58,0.2);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 0.79rem;
  color: rgba(28,25,20,0.65);
  margin-bottom: 10px;
}

.contact-box {
  background: #fff;
  border: 1px solid rgba(28,25,20,0.1);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 12px;
  font-size: 0.85rem;
}

.contact-box a {
  font-weight: 600;
}

/* ── FOOTER ─────────────────────────────────────── */
.page-footer {
  margin-top: 28px;
  font-size: 0.72rem;
  color: var(--ink-35);
}

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 520px) {
  .hdr { padding: 48px 20px 32px; }
  .body { padding: 28px 20px 48px; }
  .hdr h1 { font-size: 1.9rem; }
}
