/* =========================================================================
   Atelier Pied à Terre - Mathilde Roux, céramiste · Sion
   Aperçu réalisé par l'Atelier Numérique.

   THEME LOCK : clair (porcelaine + grès), pour toute la page.
   ACCENT LOCK : une seule teinte, la terracotta (echantillonnee sur ses
   propres pieces et sur son flyer "cours enfants"). Justifie : son medium
   est litteralement la terre cuite. Aucune autre couleur d'accent.
   FORMES : boutons en pilule (999px), tout le reste en 8px.
   ========================================================================= */

:root {
  /* Neutres chauds (porcelaine / gres), pas de beige boueux */
  --paper:     #F5F3EE;
  --mist:      #EBE7DE;
  --card:      #FBFAF7;
  --ink:       #2B2724;
  --ink-soft:  #5C564E;
  --line:      #DED8CC;

  /* Accent unique : terracotta */
  --terra:      #C75B3A;   /* vif, decoratif / grands titres */
  --terra-deep: #A8482C;   /* boutons + liens (contraste AA) */

  --r:  8px;     /* cartes, images, champs */
  --rp: 999px;   /* boutons / pilules */

  --shadow-sm: 0 8px 22px -16px rgba(74,55,40,.40);
  --shadow-md: 0 22px 48px -26px rgba(74,55,40,.45);

  --shell: 1240px;
  --ease: cubic-bezier(.16,1,.3,1);

  --font-display: "Cabinet Grotesk", "Outfit", system-ui, sans-serif;
  --font-body: "General Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: 88px;
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100dvh;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--terra); color: #fff; }
:focus-visible { outline: 2px solid var(--terra-deep); outline-offset: 3px; border-radius: 3px; }

/* Grain fixe, leger, hors flux (pas de repaint au scroll) */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 150px 150px;
  opacity: .03; mix-blend-mode: multiply;
}

/* ---------- Layout helpers ---------- */
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2.5rem); }
.section { padding: clamp(4.5rem, 11vw, 9rem) 0; }
.section--mist { background: var(--mist); }

/* ---------- Typographie ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.04; letter-spacing: -0.025em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); max-width: 60ch; text-wrap: pretty; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--terra-deep);
  margin-bottom: 1.25rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--terra); display: inline-block; }

.section-head { max-width: 64ch; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.35rem); text-wrap: balance; }
.section-head .lead { margin-top: 1.1rem; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.5rem; border-radius: var(--rp);
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn i { font-size: 1.15em; }
.btn--primary { background: var(--terra-deep); color: #fff; }
.btn--primary:hover { background: #8f3c24; transform: translateY(-2px); }
.btn--primary:active { transform: translateY(0) scale(.985); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--terra-deep); color: var(--terra-deep); transform: translateY(-2px); }
.btn--light { background: var(--card); color: var(--ink); }
.btn--light:hover { background: #fff; transform: translateY(-2px); }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,243,238,.78);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.nav.is-stuck { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; letter-spacing: -0.02em; }
.brand__mark { width: 30px; height: 30px; flex-shrink: 0; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-top: 1px; }
.nav__links { display: none; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); }
.nav__links a { font-size: .96rem; font-weight: 500; color: var(--ink); position: relative; padding: .25rem 0; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--terra); transition: width .25s var(--ease); }
.nav__links a:hover { color: var(--terra-deep); }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: .6rem; }
.nav__cta { display: none; }
.nav__burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r); border: 1.5px solid var(--line);
  background: var(--card); color: var(--ink); cursor: pointer; font-size: 1.4rem;
}

/* Menu mobile plein ecran */
.menu {
  position: fixed; inset: 0; z-index: 70;
  background: var(--paper);
  display: flex; flex-direction: column; padding: 1.1rem clamp(1.1rem,5vw,2rem) 2rem;
  transform: translateY(-100%); transition: transform .4s var(--ease);
  visibility: hidden;
}
.menu.is-open { transform: translateY(0); visibility: visible; }
.menu__top { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.menu__close { width: 44px; height: 44px; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--card); font-size: 1.5rem; cursor: pointer; color: var(--ink); }
.menu__links { display: flex; flex-direction: column; gap: .35rem; margin-top: 2.5rem; }
.menu__links a { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 9vw, 2.9rem); letter-spacing: -0.03em; padding: .35rem 0; }
.menu__links a:hover { color: var(--terra-deep); }
.menu__foot { margin-top: auto; display: flex; flex-direction: column; gap: .5rem; padding-top: 2rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .95rem; }

/* =========================================================================
   HERO - split asymetrique (texte 7 / image 5 + bloc decale)
   ========================================================================= */
.hero { position: relative; padding-top: clamp(2rem, 5vw, 4.5rem); padding-bottom: clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; min-height: calc(100dvh - 72px - clamp(5rem,12vw,10.5rem)); }
.hero__copy { max-width: 36ch; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; margin: 0 0 1.4rem; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--terra-deep); }
@media (min-width: 760px) { .hero h1 { text-wrap: nowrap; } .hero h1 .hl { display: block; } .hero h1 em { display: block; } }
.hero__sub { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--ink-soft); max-width: 44ch; text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.hero__media { position: relative; }
.hero__media::before {
  content: ""; position: absolute; z-index: 0;
  inset: auto -1.2rem -1.2rem auto; width: 62%; height: 70%;
  background: var(--terra); border-radius: var(--r); opacity: .9;
}
.hero__media img {
  position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5;
  object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow-md);
}
.hero__tag {
  position: absolute; z-index: 2; left: -.6rem; bottom: 1.6rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--rp);
  padding: .55rem 1.1rem; font-size: .85rem; font-weight: 600; box-shadow: var(--shadow-sm);
  display: inline-flex; align-items: center; gap: .5rem;
}
.hero__tag i { color: var(--terra-deep); font-size: 1.1rem; }

/* =========================================================================
   HISTOIRE - bande editoriale (citation dominante, portrait + faits)
   ========================================================================= */
.story__quote {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 3rem); line-height: 1.12; letter-spacing: -0.02em;
  max-width: 20ch; text-wrap: balance;
}
.story__quote span { color: var(--terra-deep); }
.story__grid { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 3.5rem); margin-top: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.story__portrait { position: relative; }
.story__portrait img { width: 100%; aspect-ratio: 4 / 7; object-fit: cover; object-position: 82% 50%; border-radius: var(--r); box-shadow: var(--shadow-md); }
.story__prose p { font-size: 1.08rem; color: var(--ink-soft); max-width: 52ch; }
.story__prose p + p { margin-top: 1.1rem; }
.story__sign { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin-top: 1.6rem; }
.story__sign small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .9rem; color: var(--ink-soft); letter-spacing: 0; text-transform: none; margin-top: .15rem; }
.story__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.fact { border-top: 2px solid var(--terra); padding-top: .8rem; }
.fact b { display: block; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; }
.fact span { font-size: .85rem; color: var(--ink-soft); }

/* =========================================================================
   CREATIONS - galerie masonry (colonnes, ratios varies)
   ========================================================================= */
.masonry { columns: 1; column-gap: 1.25rem; }
.masonry figure { break-inside: avoid; margin-bottom: 1.25rem; position: relative; overflow: hidden; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.masonry img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.masonry figure:hover img { transform: scale(1.045); }
.masonry figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.4rem .9rem .85rem; font-size: .92rem; font-weight: 600; color: #fff;
  background: linear-gradient(to top, rgba(43,39,36,.78), transparent);
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease);
}
.masonry figure:hover figcaption { opacity: 1; transform: translateY(0); }

/* =========================================================================
   BONS-HOMMES - carrousel horizontal (scroll-snap + drag)
   ========================================================================= */
.bons__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; }
.bons__head .lead { margin-top: 1rem; }
.bons__nav { display: flex; gap: .6rem; }
.carousel-btn { width: 50px; height: 50px; border-radius: var(--rp); border: 1.5px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; font-size: 1.3rem; display: inline-flex; align-items: center; justify-content: center; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.carousel-btn:hover { background: var(--terra-deep); color: #fff; border-color: var(--terra-deep); }
.carousel-btn:active { transform: scale(.94); }
.carousel-btn:disabled { opacity: .35; cursor: default; }
.track {
  display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .5rem clamp(1.1rem, 4vw, 2.5rem) 1.5rem; margin: 0 calc(-1 * clamp(1.1rem, 4vw, 2.5rem));
  -ms-overflow-style: none; scrollbar-width: none; cursor: grab;
}
.track::-webkit-scrollbar { display: none; }
.track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.track.is-dragging .figure-bon, .track.is-dragging .figure-piece { pointer-events: none; }
.figure-bon { scroll-snap-align: start; flex: 0 0 auto; width: clamp(220px, 70vw, 320px); }
.figure-bon img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); background: var(--mist); box-shadow: var(--shadow-sm); }
.figure-bon figcaption { margin-top: .85rem; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.figure-bon span { display: block; font-size: .88rem; color: var(--ink-soft); }

/* Cartes du carrousel Realisations (pieces, format carre) */
.figure-piece { scroll-snap-align: start; flex: 0 0 auto; width: clamp(230px, 72vw, 300px); }
.figure-piece img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r); background: var(--mist); box-shadow: var(--shadow-sm); }
.figure-piece figcaption { margin-top: .85rem; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.figure-piece span { display: block; font-size: .85rem; color: var(--ink-soft); }

/* Mobile : marge d'espace devant la premiere image du carrousel */
@media (max-width: 599px) {
  .track { padding-left: 2rem; scroll-padding-left: 2rem; }
}

/* =========================================================================
   TRAVAIL - bento (5 cellules, tailles variees, diversite visuelle)
   ========================================================================= */
.bento { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.tile { position: relative; overflow: hidden; border-radius: var(--r); min-height: 230px; display: flex; box-shadow: var(--shadow-sm); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile__label {
  position: relative; z-index: 1; margin-top: auto; padding: 1.2rem 1.3rem;
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  width: 100%; background: linear-gradient(to top, rgba(43,39,36,.82), transparent);
}
.tile__label small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .85rem; opacity: .85; margin-top: .15rem; }
.tile--text { background: var(--terra-deep); color: #fff; align-items: flex-start; }
.tile--text .tile__inner { padding: 1.6rem; }
.tile--text h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.tile--text p { font-size: .98rem; opacity: .92; max-width: 30ch; }

/* =========================================================================
   COURS - banniere + duo de cartes (Adultes / Enfants)
   ========================================================================= */
.cours__banner { position: relative; height: clamp(220px, 34vw, 360px); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-md); margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.cours__banner img { width: 100%; height: 100%; object-fit: cover; }
.cours__banner .badge {
  position: absolute; left: 1.2rem; bottom: 1.2rem; z-index: 1;
  background: var(--card); border-radius: var(--rp); padding: .6rem 1.2rem;
  font-weight: 600; box-shadow: var(--shadow-sm); display: inline-flex; gap: .5rem; align-items: center;
}
.cours__banner .badge i { color: var(--terra-deep); }
.cours__cards { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.cours-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.5rem, 3vw, 2.2rem); }
.cours-card h3 { font-size: 1.6rem; display: flex; align-items: center; gap: .6rem; }
.cours-card h3 i { color: var(--terra-deep); }
.cours-card > p { color: var(--ink-soft); margin-top: .7rem; max-width: 46ch; }
.cours-card dl { margin-top: 1.3rem; display: grid; grid-template-columns: auto 1fr; gap: .55rem 1rem; font-size: .97rem; }
.cours-card dt { font-weight: 600; color: var(--terra-deep); white-space: nowrap; }
.cours-card dd { color: var(--ink); }
.cours-card .price { margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.cours-card .price b { font-family: var(--font-display); font-size: 1.25rem; }
.cours-card .price span { font-size: .85rem; color: var(--ink-soft); align-self: center; }
.cours__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }
.cours__actions .note { font-size: .9rem; color: var(--ink-soft); max-width: 42ch; }
/* Sous-sections de la carte Enfants (cours, stages, anniversaires) */
.cours-sub { margin-top: 1.4rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.cours-sub h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: var(--terra-deep); margin-bottom: .5rem; }
.cours-sub__note { font-size: .94rem; color: var(--ink-soft); margin: .35rem 0; max-width: 46ch; }
.cours-sub dl { margin-top: .4rem; }
.cours-sub .price { margin-top: .7rem; padding-top: 0; border-top: 0; }

/* =========================================================================
   NEWSLETTER - carte centree (placeholder news + Instagram)
   ========================================================================= */
.newsletter__card { max-width: 720px; margin: 0 auto; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.4rem, 4vw, 3rem); box-shadow: var(--shadow-sm); }
.newsletter__card > i { display: block; font-size: 2.6rem; color: var(--terra-deep); margin-bottom: 1rem; }
.newsletter__card h2 { font-size: clamp(2rem, 4.6vw, 3rem); }
.newsletter__card .lead { margin: 1rem auto 0; }
.newsletter__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; }

/* =========================================================================
   CARTE - Google Maps pleine largeur, juste avant le footer
   ========================================================================= */
.map { padding: clamp(3.5rem, 7vw, 5.5rem) 0 0; }
.map__head { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.6rem; }
.map__head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.map__frame { width: 100%; height: clamp(320px, 44vw, 470px); background: var(--mist); }
.map__frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.92); }

/* =========================================================================
   LIVRE D'OR - temoignages asymetriques (1 grand + 2 petits)
   ========================================================================= */
.gold { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.quote-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.5rem, 3vw, 2.4rem); display: flex; flex-direction: column; }
.quote-card i.mark { font-size: 2.2rem; color: var(--terra); line-height: .6; }
.quote-card p { font-size: 1.08rem; color: var(--ink); margin: 1rem 0 1.3rem; text-wrap: pretty; }
.quote-card--feature { background: var(--terra-deep); color: #fff; }
.quote-card--feature i.mark { color: rgba(255,255,255,.6); }
.quote-card--feature p { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.25; }
.quote-card cite { margin-top: auto; font-style: normal; font-weight: 600; }
.quote-card cite span { display: block; font-weight: 500; font-size: .88rem; color: var(--ink-soft); }
.quote-card--feature cite span { color: rgba(255,255,255,.8); }
.gold__more { margin-top: 1.6rem; text-align: center; font-size: .85rem; color: var(--ink-soft); }
.gold__more a { display: inline-flex; align-items: center; gap: .45rem; color: var(--ink-soft); transition: color .2s; }
.gold__more a:hover { color: var(--terra-deep); }
.gold__more i { font-size: 1.05rem; color: var(--terra-deep); }

/* =========================================================================
   CONTACT - bande media (photo de l'atelier + carte d'infos sur scrim)
   ========================================================================= */
.contact { position: relative; padding: clamp(4.5rem, 10vw, 8rem) 0; overflow: hidden; }
.contact__bg { position: absolute; inset: 0; z-index: 0; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(43,39,36,.92) 0%, rgba(43,39,36,.78) 42%, rgba(43,39,36,.28) 100%); }
.contact .shell { position: relative; z-index: 1; }
.contact__card { max-width: 560px; color: #F7F2EC; }
.contact__card h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); color: #fff; }
.contact__card > p { color: #E7DECF; margin-top: 1rem; max-width: 46ch; }
.contact__info { margin-top: 2rem; display: grid; gap: 1rem; }
.contact__info a, .contact__info div { display: flex; gap: .85rem; align-items: flex-start; font-size: 1.05rem; color: #F7F2EC; }
.contact__info i { color: var(--terra); font-size: 1.4rem; flex-shrink: 0; margin-top: .1rem; }
.contact__info a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.contact__hours { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(247,242,236,.22); }
.contact__hours h3 { font-size: 1rem; color: #fff; margin-bottom: .6rem; display: inline-flex; gap: .5rem; align-items: center; }
.contact__hours h3 i { color: var(--terra); }
.contact__hours dl { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1.2rem; font-size: .98rem; color: #E7DECF; }
.contact__hours dt { font-weight: 600; color: #fff; }
.contact__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .85rem; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { background: var(--ink); color: #E7DECF; padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.footer .brand { color: #fff; }
.footer .brand small { color: rgba(231,222,207,.7); }
.footer__col h4 { font-family: var(--font-display); font-size: 1rem; color: #fff; margin-bottom: .9rem; }
.footer__col a, .footer__col p { display: block; color: #C9BEAC; font-size: .95rem; padding: .18rem 0; }
.footer__col a:hover { color: #fff; }
.footer__bar { margin-top: 2.5rem; padding-top: 1.6rem; border-top: 1px solid rgba(231,222,207,.18); display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; font-size: .82rem; color: rgba(231,222,207,.7); }
.footer__bar a { color: rgba(231,222,207,.85); }
.footer__bar a:hover { color: #fff; }

/* =========================================================================
   MENTIONS LEGALES - page de texte legal
   ========================================================================= */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .4rem; }
.legal__updated { color: var(--ink-soft); font-size: .95rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.legal h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin: clamp(2rem, 4vw, 2.8rem) 0 .8rem; }
.legal p { color: var(--ink-soft); margin: .6rem 0; max-width: 68ch; }
.legal__list { margin: .9rem 0 .4rem; padding: 0; list-style: none; display: grid; gap: .6rem; }
.legal__list li { color: var(--ink-soft); padding-left: 1.4rem; position: relative; max-width: 68ch; }
.legal__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--terra); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--terra-deep); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: #8f3c24; }
.legal__note { margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .88rem; font-style: italic; }

/* =========================================================================
   MOTION - reveal au scroll (IntersectionObserver), MOTION_INTENSITY 5
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (min-width: 600px) {
  .masonry { columns: 2; }
  .cours__cards { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 760px) {
  .hero__grid { grid-template-columns: 1.25fr .75fr; }
  .story__grid { grid-template-columns: .8fr 1.2fr; }
  .story__portrait img { aspect-ratio: 3 / 4; object-position: 58% 14%; }
  .gold { grid-template-columns: 1.1fr .9fr; grid-auto-rows: 1fr; }
  .quote-card--feature { grid-row: span 2; }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
}
@media (min-width: 920px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__burger { display: none; }
  .masonry { columns: 3; }
  .bento {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
  }
  .tile--a { grid-column: span 2; grid-row: span 2; }
  .tile--b { grid-column: span 2; }
  .tile--c { grid-column: span 2; }
  .tile--d { grid-column: span 2; }
  .tile--e { grid-column: span 2; }
}

/* =========================================================================
   PREFERS-REDUCED-MOTION - tout devient instantane / statique
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .track { scroll-behavior: auto; }
}
