/* style.css — Couleur Papier : design tokens + composants */

/* ============ TOKENS ============ */
:root,
[data-theme='light'] {
  /* Surfaces — papier chaud */
  --color-bg: #faf7f1;
  --color-surface: #ffffff;
  --color-surface-2: #fdfbf7;
  --color-surface-offset: #f1ece2;
  --color-surface-offset-2: #e9e2d3;
  --color-divider: #e2dbcb;
  --color-border: #d8cfb8;

  /* Texte */
  --color-text: #211c15;
  --color-text-muted: #6f665a;
  --color-text-faint: #b3a998;
  --color-text-inverse: #faf7f1;

  /* Accent primaire — encre framboise */
  --color-primary: #c8006b;
  --color-primary-hover: #9e0056;
  --color-primary-active: #7a0042;
  --color-primary-highlight: #f4d3e3;

  /* Encres secondaires (usage restreint : logo, puces, petits accents) */
  --color-cyan: #00a8c6;
  --color-yellow: #f2b705;

  /* États */
  --color-success: #3f7d3a;
  --color-error: #b3261e;

  /* Rayons */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Ombres (teintées chaudes) */
  --shadow-sm: 0 1px 2px oklch(0.2 0.02 40 / 0.08);
  --shadow-md: 0 6px 16px oklch(0.2 0.02 40 / 0.10);
  --shadow-lg: 0 16px 40px oklch(0.2 0.02 40 / 0.16);

  /* Largeurs de contenu */
  --content-narrow: 640px;
  --content-default: 980px;
  --content-wide: 1240px;
  --content-full: 100%;

  /* Fond « encre » (hero sombre) */
  --color-ink-bg: #1b1712;
  --color-ink-surface: #241f18;
  --color-ink-text: #f3efe6;
  --color-ink-text-muted: #b6ac9b;
  --color-ink-border: #3a3226;

  --font-display: 'Clash Display', 'Helvetica Neue', sans-serif;
  --font-body: 'Satoshi', 'Helvetica Neue', sans-serif;
}

[data-theme='dark'] {
  --color-bg: #17140f;
  --color-surface: #1d1912;
  --color-surface-2: #211c15;
  --color-surface-offset: #251f17;
  --color-surface-offset-2: #2c251b;
  --color-divider: #322b1f;
  --color-border: #453b29;
  --color-text: #ece6d9;
  --color-text-muted: #a89d89;
  --color-text-faint: #6f6552;
  --color-text-inverse: #1d1912;

  --color-primary: #ef5ba3;
  --color-primary-hover: #f382bb;
  --color-primary-active: #f7a9d1;
  --color-primary-highlight: #3a2430;

  --color-cyan: #4fd3ec;
  --color-yellow: #f2c744;

  --color-success: #7cbf6f;
  --color-error: #e37b73;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.35);
  --shadow-md: 0 6px 16px oklch(0 0 0 / 0.4);
  --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.5);

  --color-ink-bg: #0f0d0a;
  --color-ink-surface: #17140f;
  --color-ink-text: #f3efe6;
  --color-ink-text-muted: #a89d89;
  --color-ink-border: #322b1f;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #17140f;
    --color-surface: #1d1912;
    --color-surface-2: #211c15;
    --color-surface-offset: #251f17;
    --color-surface-offset-2: #2c251b;
    --color-divider: #322b1f;
    --color-border: #453b29;
    --color-text: #ece6d9;
    --color-text-muted: #a89d89;
    --color-text-faint: #6f6552;
    --color-text-inverse: #1d1912;
    --color-primary: #ef5ba3;
    --color-primary-hover: #f382bb;
    --color-primary-active: #f7a9d1;
    --color-primary-highlight: #3a2430;
    --color-cyan: #4fd3ec;
    --color-yellow: #f2c744;
    --color-success: #7cbf6f;
    --color-error: #e37b73;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.35);
    --shadow-md: 0 6px 16px oklch(0 0 0 / 0.4);
    --shadow-lg: 0 16px 40px oklch(0 0 0 / 0.5);
    --color-ink-bg: #0f0d0a;
    --color-ink-surface: #17140f;
    --color-ink-text: #f3efe6;
    --color-ink-text-muted: #a89d89;
    --color-ink-border: #322b1f;
  }
}

:root {
  /* Échelle typographique fluide */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.25rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.5rem);

  /* Espacements — base 4px */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;
}

/* ============ LAYOUT DE BASE ============ */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 5vw, var(--space-12));
}

.container--default {
  max-width: var(--content-default);
}

.container--narrow {
  max-width: var(--content-narrow);
}

section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}

.section-tight {
  padding-block: clamp(var(--space-8), 5vw, var(--space-16));
}

img,
svg {
  color-scheme: light dark;
}

/* ============ TYPOGRAPHIE ============ */
h1,
h2,
h3,
.font-display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 {
  font-size: var(--text-2xl);
}

h2 {
  font-size: var(--text-xl);
}

h3 {
  font-size: var(--text-lg);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.lede {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 46ch;
}

.text-muted {
  color: var(--color-text-muted);
}

.accent {
  color: var(--color-primary);
}

/* ============ HEADER / NAVIGATION ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-surface) l c h / 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-divider);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header--scrolled {
  box-shadow: var(--shadow-sm);
}

.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-4);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.brand__mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.brand__word strong {
  color: var(--color-primary);
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  padding-block: var(--space-2);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-interactive);
}

.nav__link:hover::after,
.nav__link[aria-current='page']::after {
  width: 100%;
}

.nav__link[aria-current='page'] {
  color: var(--color-primary);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-text);
  background: var(--color-surface-offset);
  border: 1px solid var(--color-border);
}

.icon-btn:hover {
  background: var(--color-surface-offset-2);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 860px) {
  /* backdrop-filter on .header creates a new containing block, which breaks
     the mobile nav's position:fixed (it would size against the header box
     instead of the viewport). Disable it here so the fullscreen mobile menu
     sizes correctly against the viewport. */
  .header {
    backdrop-filter: none;
  }

  .nav {
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--color-surface);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-8) var(--space-6);
    transform: translateX(100%);
    transition: transform var(--transition-interactive);
    overflow-y: auto;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-5);
    width: 100%;
  }

  .nav__link {
    font-size: var(--text-lg);
  }

  .nav-toggle {
    display: inline-flex;
  }
}

/* ============ BOUTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--color-primary-hover);
}

.btn--ghost {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}

.btn--ghost:hover {
  background: var(--color-surface-offset);
}

.btn--on-ink {
  background: var(--color-ink-text);
  color: var(--color-ink-bg);
}

.btn--on-ink:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn--ghost-on-ink {
  border-color: var(--color-ink-border);
  color: var(--color-ink-text);
}

.btn--ghost-on-ink:hover {
  border-color: var(--color-ink-text);
}

/* ============ HERO (accueil) ============ */
.hero {
  background: var(--color-ink-bg);
  background-image:
    radial-gradient(circle at 12% 20%, oklch(from var(--color-cyan) l c h / 0.16), transparent 40%),
    radial-gradient(circle at 90% 15%, oklch(from var(--color-yellow) l c h / 0.14), transparent 45%),
    radial-gradient(circle at 75% 85%, oklch(from var(--color-primary) l c h / 0.20), transparent 45%);
  color: var(--color-ink-text);
  position: relative;
  overflow: hidden;
  padding-block: clamp(var(--space-20), 14vw, var(--space-32));
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.5;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero__eyebrow {
  color: var(--color-yellow);
}

.hero__title {
  font-size: var(--text-3xl);
  margin-top: var(--space-4);
  color: var(--color-ink-text);
}

.hero__title em {
  font-style: normal;
  color: var(--color-primary);
  background: linear-gradient(90deg, var(--color-primary), var(--color-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lede {
  margin-top: var(--space-6);
  font-size: var(--text-lg);
  color: var(--color-ink-text-muted);
  max-width: 52ch;
}

.hero__actions {
  margin-top: var(--space-10);
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero__dots {
  position: absolute;
  right: clamp(-40px, 4vw, 40px);
  bottom: -60px;
  display: flex;
  z-index: 0;
  opacity: 0.9;
}

.hero__dots span {
  width: clamp(90px, 12vw, 180px);
  height: clamp(90px, 12vw, 180px);
  border-radius: 50%;
  filter: blur(1px);
  mix-blend-mode: screen;
  opacity: 0.7;
}

.hero__dots span:nth-child(1) {
  background: var(--color-cyan);
  margin-right: -40px;
}

.hero__dots span:nth-child(2) {
  background: var(--color-primary);
  margin-right: -40px;
}

.hero__dots span:nth-child(3) {
  background: var(--color-yellow);
}

/* ============ BANNIÈRE DE PAGE (pages intérieures) ============ */
.page-banner {
  background: var(--color-ink-bg);
  color: var(--color-ink-text);
  position: relative;
  overflow: hidden;
  padding-block: clamp(var(--space-16), 9vw, var(--space-24));
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, oklch(from var(--color-primary) l c h / 0.22), transparent 45%),
    radial-gradient(circle at 10% 90%, oklch(from var(--color-cyan) l c h / 0.16), transparent 45%);
}

.page-banner__inner {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  color: var(--color-ink-text);
}

.page-banner .lede {
  color: var(--color-ink-text-muted);
  margin-top: var(--space-4);
}

.breadcrumb {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  font-size: var(--text-xs);
  color: var(--color-ink-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-5);
}

.breadcrumb a {
  color: var(--color-ink-text-muted);
  text-decoration: none;
}

.breadcrumb svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  opacity: 0.6;
}

.breadcrumb a:hover {
  color: var(--color-ink-text);
}

/* ============ CARTES / GRILLES ============ */
.grid {
  display: grid;
  gap: var(--space-8);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 860px) {
  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  margin-bottom: var(--space-3);
}

.card p {
  color: var(--color-text-muted);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin-top: var(--space-5);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}

.card__link svg {
  width: 16px;
  height: 16px;
}

/* ============ ESPACES RÉSERVÉS PHOTOS ============ */
.photo-slot {
  position: relative;
  width: 100%;
  aspect-ratio: var(--ratio, 4 / 3);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--color-border);
  background:
    repeating-linear-gradient(
      135deg,
      var(--color-surface-offset),
      var(--color-surface-offset) 10px,
      var(--color-surface-offset-2) 10px,
      var(--color-surface-offset-2) 20px
    );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-3);
  padding: var(--space-6);
  color: var(--color-text-muted);
  overflow: hidden;
}

.photo-slot svg {
  width: 34px;
  height: 34px;
  opacity: 0.6;
}

.photo-slot__label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  max-width: 22ch;
}

.photo-slot__dim {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.photo-slot--sm {
  --ratio: 1 / 1;
}

.photo-slot--wide {
  --ratio: 16 / 9;
}

.photo-slot--portrait {
  --ratio: 3 / 4;
}

/* ============ SECTIONS DIVERSES ============ */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(var(--space-8), 6vw, var(--space-16));
  align-items: center;
}

.split--reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.split--reverse > *:first-child {
  order: 2;
}

@media (max-width: 860px) {
  .split,
  .split--reverse {
    grid-template-columns: 1fr;
  }

  .split--reverse > *:first-child {
    order: 0;
  }
}

.list-check {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.list-check li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
}

.list-check svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-primary);
}

.tag-strip {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-8);
}

.tag {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  background: var(--color-surface-offset);
  border: 1px solid var(--color-divider);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
}

.divider-dots {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.divider-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.divider-dots span:nth-child(1) {
  background: var(--color-cyan);
}

.divider-dots span:nth-child(2) {
  background: var(--color-primary);
}

.divider-dots span:nth-child(3) {
  background: var(--color-yellow);
}

.section-head {
  max-width: 640px;
  margin-bottom: var(--space-12);
}

.section-head h2 {
  margin-top: var(--space-3);
}

/* ============ CTA BANNER ============ */
.cta-banner {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-10), 7vw, var(--space-16));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.cta-banner h2 {
  color: #fff;
  max-width: 26ch;
}

.cta-banner p {
  color: oklch(from #fff l c h / 0.85);
  margin-top: var(--space-2);
}

.cta-banner .btn--primary {
  background: #fff;
  color: var(--color-primary);
}

.cta-banner .btn--primary:hover {
  background: var(--color-surface-offset);
}

/* ============ RÉALISATIONS (portfolio) ============ */
.portfolio-block {
  margin-bottom: clamp(var(--space-16), 8vw, var(--space-24));
}

.portfolio-block:last-child {
  margin-bottom: 0;
}

.portfolio-block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.portfolio-block__head h2 {
  font-size: var(--text-lg);
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1.2fr;
  gap: clamp(var(--space-8), 5vw, var(--space-12));
}

@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info h3 {
  font-size: var(--text-base);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.contact-info .contact-info__row {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin-bottom: var(--space-3);
}

.contact-info__row svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.hours-table {
  margin-top: var(--space-2);
}

.hours-table tr td {
  padding-block: var(--space-1);
  font-size: var(--text-sm);
}

.hours-table td:first-child {
  color: var(--color-text-muted);
  padding-right: var(--space-4);
}

.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-6), 4vw, var(--space-8));
  box-shadow: var(--shadow-sm);
}

.form-field {
  margin-bottom: var(--space-5);
}

.form-field label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  font-size: var(--text-sm);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--color-primary);
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-4);
}

.form-success {
  display: none;
  margin-top: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: color-mix(in oklab, var(--color-success) 15%, var(--color-surface));
  color: var(--color-success);
  font-size: var(--text-sm);
  font-weight: 600;
}

.form-success.is-visible {
  display: block;
}

.map-slot {
  margin-top: var(--space-16);
  aspect-ratio: 16 / 5;
  min-height: 280px;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--color-surface-offset);
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-16) var(--space-10);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

@media (max-width: 860px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer__top {
    grid-template-columns: 1fr;
  }
}

.footer__brand .brand {
  margin-bottom: var(--space-4);
}

.footer__brand p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  max-width: 34ch;
}

.footer__col h4 {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__col a {
  font-size: var(--text-sm);
  color: var(--color-text);
  text-decoration: none;
}

.footer__col a:hover {
  color: var(--color-primary);
}

.footer__social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.footer__legal {
  display: flex;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.footer__legal a {
  color: var(--color-text-faint);
  text-decoration: none;
}

.footer__legal a:hover {
  color: var(--color-text-muted);
}

/* ============ BANNIÈRE COOKIES ============ */
.cookie-banner {
  position: fixed;
  left: var(--space-4);
  right: var(--space-4);
  bottom: var(--space-4);
  z-index: 200;
  max-width: 380px;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-4) var(--space-5);
  display: none;
  gap: var(--space-3);
}

.cookie-banner.is-visible {
  display: flex;
  flex-direction: column;
  margin-left: auto;
}

.cookie-banner p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.cookie-banner .btn {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
}

@media (max-width: 480px) {
  .cookie-banner {
    max-width: none;
  }
}

/* ============ PAGES LÉGALES ============ */
.legal-content h2 {
  margin-top: var(--space-10);
  margin-bottom: var(--space-3);
}

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

.legal-content p,
.legal-content li {
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.legal-content ul {
  padding-left: var(--space-6);
  list-style: disc;
}

.legal-content strong {
  color: var(--color-text);
}

.placeholder-note {
  display: inline-block;
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  font-weight: 700;
  padding: 0.1em 0.4em;
  border-radius: var(--radius-sm);
  font-size: 0.95em;
}

/* ============ UTILITAIRES ============ */
.mt-0 {
  margin-top: 0 !important;
}

.text-center {
  text-align: center;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
