/* ============================================================
   DTM MEDIAS — Hospitality
   Base design system: tokens, reset, typography, primitives
   Each demo theme overrides --c-* vars and font stacks.
   ============================================================ */

:root {
  /* Default tokens (Marais / classic editorial) */
  --c-bg:        #FBF8F2;
  --c-bg-warm:   #F4EEE3;
  --c-bg-dark:   #1B1614;
  --c-ink:       #1A1614;
  --c-ink-soft:  #4D453F;
  --c-muted:     #8A7F75;
  --c-line:      #E5DCCD;
  --c-line-soft: #EFE7D9;
  --c-brand:     #2E4F3E;
  --c-brand-ink: #FBF8F2;
  --c-accent:    #B8884C;
  --c-danger:    #C0392B;

  --font-serif: "Fraunces", "Cormorant Garamond", "Times New Roman", serif;
  --font-sans:  "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:  "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 22px;
  --r-pill: 999px;

  --shadow-sm:  0 1px 2px rgba(20, 14, 6, 0.04), 0 2px 6px rgba(20, 14, 6, 0.04);
  --shadow-md:  0 4px 14px rgba(20, 14, 6, 0.06), 0 12px 32px rgba(20, 14, 6, 0.06);
  --shadow-lg:  0 18px 50px rgba(20, 14, 6, 0.10);
  --shadow-pop: 0 24px 60px rgba(20, 14, 6, 0.18);

  --t-fast: 180ms cubic-bezier(.4,0,.2,1);
  --t-med:  280ms cubic-bezier(.4,0,.2,1);
  --t-slow: 480ms cubic-bezier(.4,0,.2,1);

  --wrap: 1200px;
  --wrap-narrow: 760px;
}

/* ─── reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--c-bg);
  color: var(--c-ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul { padding: 0; margin: 0; list-style: none; }

/* ─── typography ────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-variation-settings: "opsz" 144; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-variation-settings: "opsz" 96; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
h4 { font-size: 1.15rem; line-height: 1.25; }
em { font-style: italic; font-variation-settings: "SOFT" 80, "opsz" 96; color: var(--c-brand); }
p  { margin: 0; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.18rem); color: var(--c-ink-soft); line-height: 1.6; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.text-center { text-align: center; }
.mt-sm { margin-top: 12px; } .mt-md { margin-top: 22px; } .mt-lg { margin-top: 36px; }

/* ─── layout primitives ─────────────────────────────── */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { width: 100%; max-width: var(--wrap-narrow); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; position: relative; }
@media (max-width: 720px) { section { padding: 64px 0; } }

.section-head { max-width: 720px; margin: 0 0 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-top: 14px; }
.section-head .lead { margin-top: 16px; }

/* ─── buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.94rem;
  border-radius: var(--r-pill); cursor: pointer;
  transition: all var(--t-fast); white-space: nowrap;
  border: 1px solid transparent;
}
.btn--primary  { background: var(--c-ink); color: var(--c-bg); }
.btn--primary:hover  { background: var(--c-brand); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--ghost    { border-color: var(--c-ink); color: var(--c-ink); }
.btn--ghost:hover { background: var(--c-ink); color: var(--c-bg); }
.btn--accent   { background: var(--c-accent); color: #fff; }
.btn--accent:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--lg { padding: 16px 28px; font-size: 1rem; }
.btn--sm { padding: 10px 16px; font-size: 0.86rem; }
.btn .arrow { transition: transform var(--t-fast); }
.btn:hover .arrow { transform: translateX(3px); }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

/* ─── trust badges ──────────────────────────────────── */
.trust-row {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em;
  color: var(--c-muted); align-items: center;
}
.trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.trust-row .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-brand); }

/* ─── topnav ────────────────────────────────────────── */
.topnav {
  position: sticky; top: 0; z-index: 80;
  background: rgba(251, 248, 242, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-line-soft);
}
.topnav__inner { max-width: var(--wrap); margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-serif); font-size: 1.18rem; }
.brand small { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-muted); margin-left: 6px; }
.brand__mark {
  width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--c-ink); color: var(--c-bg); font-family: var(--font-serif); font-style: italic; border-radius: 50%;
}
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { font-size: 0.92rem; color: var(--c-ink-soft); transition: color var(--t-fast); }
.nav-links a:hover { color: var(--c-ink); }
.nav-cta { margin-left: 8px; }
@media (max-width: 820px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } }

/* ─── footer ────────────────────────────────────────── */
.foot { padding: 80px 0 40px; background: var(--c-bg-dark); color: rgba(251,248,242,0.78); }
.foot a { color: rgba(251,248,242,0.78); transition: color var(--t-fast); }
.foot a:hover { color: var(--c-bg); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
@media (max-width: 820px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
.foot__brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-serif); font-size: 1.4rem; color: var(--c-bg); margin-bottom: 14px; }
.foot__brand .brand__mark { background: var(--c-bg); color: var(--c-ink); }
.foot h5 { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(251,248,242,0.5); margin: 0 0 16px; }
.foot ul li { margin-bottom: 8px; font-size: 0.92rem; }
.foot__bottom { padding-top: 28px; border-top: 1px solid rgba(251,248,242,0.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: rgba(251,248,242,0.5); }

/* ─── reveal animation ─────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity var(--t-slow), transform var(--t-slow); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ─── form fields ───────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-muted); }
.field input, .field select, .field textarea {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-sm);
  padding: 12px 14px; font-size: 1rem; outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--c-ink); box-shadow: 0 0 0 3px rgba(26, 22, 20, 0.08);
}
.field textarea { min-height: 110px; resize: vertical; font-family: var(--font-sans); }

/* ─── sticky funnel CTA ─────────────────────────────── */
.sticky-cta {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  background: var(--c-ink); color: var(--c-bg);
  padding: 14px 22px; border-radius: var(--r-pill); font-weight: 600;
  box-shadow: var(--shadow-pop);
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform var(--t-fast);
}
.sticky-cta:hover { transform: translateY(-2px); }
.sticky-cta__pulse {
  width: 8px; height: 8px; border-radius: 50%; background: #6FCF6F;
  box-shadow: 0 0 0 0 rgba(111, 207, 111, 0.5);
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(111,207,111,0.55); } 70% { box-shadow: 0 0 0 14px rgba(111,207,111,0); } 100% { box-shadow: 0 0 0 0 rgba(111,207,111,0); } }
@media (max-width: 720px) { .sticky-cta__label-long { display: none; } .sticky-cta { right: 14px; bottom: 14px; padding: 12px 18px; } }

/* ─── small utilities ───────────────────────────────── */
.hidden { display: none !important; }
.subtle-divider { height: 1px; background: var(--c-line-soft); margin: 0; border: 0; }
