/* =========================================================
   MEMZ — Design System
   Style : éditorial moderne, épuré, conversion-oriented
   ========================================================= */

:root {
  /* Palette */
  --cream:        #F5F3EE;
  --cream-soft:   #ECE9E0;
  --ink:          #0F0F12;
  --ink-soft:     #2A2A30;
  --muted:        #6B6B72;
  --line:         #E2DED2;
  --accent:       #FF5B2E;   /* coral électrique */
  --accent-dark:  #E54718;
  --success:      #1F8A4C;

  /* Typo — un seul système typographique : Inter, sobre et hyper lisible */
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --radius:    14px;
  --radius-lg: 22px;
  --maxw:      1200px;
  --gutter:    clamp(20px, 4vw, 48px);

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 .4em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); font-weight: 600; letter-spacing: -0.03em; }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.55rem); font-weight: 600; }
p  { margin: 0 0 1em; color: var(--ink-soft); }
.lead {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 60ch;
  line-height: 1.55;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--ink);
}
/* Mot mis en exergue dans un titre — italique sobre, même famille */
.italic-serif {
  font-style: italic;
  font-weight: 500;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section { padding: clamp(70px, 9vw, 130px) 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(245, 243, 238, .78);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.scrolled { border-color: var(--line); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.55rem;
  letter-spacing: -.03em;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.brand .dot { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 38px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--ink);
  border-radius: 100px;
  padding: 9px 14px;
  font-weight: 500;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 500;
  font-size: .98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover { background: var(--accent); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover { background: var(--accent-dark); }
.btn .arrow {
  display: inline-block;
  transition: transform .25s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(70px, 12vw, 160px) 0 clamp(60px, 8vw, 120px);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: end;
}
.hero h1 .accent-word {
  font-style: italic;
  color: var(--accent);
}
.hero-meta {
  border-left: 1px solid var(--line);
  padding-left: 28px;
  padding-bottom: 6px;
}
.hero-meta p { font-size: 1rem; }
.hero-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.hero-marquee {
  margin-top: clamp(60px, 8vw, 100px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 50px;
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  flex-wrap: wrap;
}
.hero-marquee span { white-space: nowrap; }

/* ---------- Sections génériques ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(20px, 4vw, 60px);
  margin-bottom: clamp(50px, 6vw, 80px);
  align-items: end;
}
.section-head .lead { margin-bottom: 0; }

/* ---------- Services grid ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: 0 20px 40px -25px rgba(15,15,18,.25);
}
.card .num {
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--muted);
  letter-spacing: .05em;
}
.card h3 { margin-top: 14px; }
.card p { font-size: .96rem; }
.card .arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

/* ---------- Process / Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 50px;
}
.step {
  border-top: 1px solid var(--ink);
  padding-top: 22px;
}
.step .step-n {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.step h4 { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 600; margin: 0 0 8px; }
.step p { font-size: .92rem; margin: 0; color: var(--muted); }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -25px rgba(15,15,18,.2); }
.price-card.featured {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.price-card.featured h3,
.price-card.featured .price,
.price-card.featured .price-meta { color: var(--cream); }
.price-card.featured p, .price-card.featured li { color: rgba(245,243,238,.78); }
.price-card.featured .tag {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 100px;
}
.price-card h3 { font-family: var(--font-sans); font-weight: 600; font-size: 1.1rem; letter-spacing: 0; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.price-card .price {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.2rem);
  line-height: 1;
  letter-spacing: -.035em;
  font-weight: 700;
}
.price-card .price small { font-size: 1rem; font-family: var(--font-sans); color: var(--muted); font-weight: 400; }
.price-card .price-meta { font-size: .9rem; color: var(--muted); margin: 8px 0 24px; }
.price-card ul {
  list-style: none;
  padding: 0; margin: 0 0 30px;
  flex-grow: 1;
}
.price-card li {
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
  position: relative;
}
.price-card.featured li { border-bottom-color: rgba(255,255,255,.1); }
.price-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 16px;
  width: 16px; height: 10px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.price-card li:last-child { border-bottom: 0; }

/* ---------- Add-ons / extras list ---------- */
.addons {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.addon {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  background: var(--cream-soft);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.addon strong { font-weight: 600; }
.addon span { font-family: var(--font-display); color: var(--accent); white-space: nowrap; }

/* ---------- Testimonial / quote ---------- */
.quote-block {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 80px);
  margin: 0 auto;
}
.quote-block blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.25;
  margin: 0 0 30px;
  letter-spacing: -.01em;
}
.quote-block blockquote::before { content: "“"; color: var(--accent); margin-right: 4px; }
.quote-block blockquote::after  { content: "”"; color: var(--accent); }
.quote-author {
  display: flex; gap: 14px; align-items: center;
  font-size: .95rem;
}
.quote-author .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.1rem;
}

/* ---------- Big CTA ---------- */
.cta-band {
  text-align: center;
  padding: clamp(80px, 11vw, 160px) 0;
  border-top: 1px solid var(--line);
}
.cta-band h2 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  max-width: 14ch;
  margin: 0 auto 30px;
}
.cta-band .accent-word { color: var(--accent); font-style: italic; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-grid h5 {
  font-family: var(--font-sans);
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(245,243,238,.5);
  margin: 0 0 18px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: rgba(245,243,238,.85); }
.footer-grid a:hover { color: var(--accent); }
.footer-brand {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 14px;
}
.footer-brand .dot { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 26px;
  font-size: .85rem;
  color: rgba(245,243,238,.5);
  flex-wrap: wrap; gap: 12px;
}

/* ---------- Forms (contact) ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact-info .info-block { margin-bottom: 32px; }
.contact-info h4 {
  font-family: var(--font-sans);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--muted);
  margin-bottom: 8px;
}
.contact-info p, .contact-info a { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); }
.contact-info a:hover { color: var(--accent); }

form.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  display: grid;
  gap: 18px;
}
.field { display: grid; gap: 6px; }
.field.two { grid-template-columns: 1fr 1fr; gap: 18px; }
.field label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color .2s var(--ease), background .2s var(--ease);
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 140px; }
.budget-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.chip {
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 10px 16px;
  border-radius: 100px;
  font-size: .9rem;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip.selected { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.form-foot {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
  margin-top: 6px;
}
.form-foot .small { font-size: .82rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 1.6rem;
  color: var(--accent);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 14px; font-size: 1rem; color: var(--ink-soft); }

/* ---------- Utilities ---------- */
.bg-alt { background: var(--cream-soft); }
.text-center { text-align: center; }
.divider { height: 1px; background: var(--line); margin: 0; border: 0; }

/* =========================================================
   ANIMATIONS
   ========================================================= */

/* ---------- Scroll progress bar (top) ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  z-index: 100;
  transition: width .1s linear;
  pointer-events: none;
}

/* ---------- Reveal on scroll (variants) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: opacity, transform;
}
.reveal.reveal-left  { transform: translateX(-32px); }
.reveal.reveal-right { transform: translateX(32px); }
.reveal.reveal-scale { transform: scale(.94); }
.reveal.reveal-blur  { filter: blur(8px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.reveal.in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Stagger children — appliquer .stagger sur le parent, .reveal sur les enfants */
.stagger.in > .reveal:nth-child(1) { transition-delay: .05s; }
.stagger.in > .reveal:nth-child(2) { transition-delay: .15s; }
.stagger.in > .reveal:nth-child(3) { transition-delay: .25s; }
.stagger.in > .reveal:nth-child(4) { transition-delay: .35s; }
.stagger.in > .reveal:nth-child(5) { transition-delay: .45s; }
.stagger.in > .reveal:nth-child(6) { transition-delay: .55s; }

/* ---------- Hero entrance (au chargement) ---------- */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: none; }
}
@keyframes heroBlurIn {
  from { opacity: 0; transform: translateY(40px); filter: blur(10px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
.hero h1,
.hero .eyebrow,
.hero .hero-cta-row,
.hero .lead,
.hero-meta,
.hero-marquee {
  opacity: 0;
  animation: heroIn .9s var(--ease) forwards;
}
.hero .eyebrow      { animation-delay: .05s; }
.hero h1            { animation: heroBlurIn 1.1s var(--ease) forwards; animation-delay: .15s; }
.hero .lead         { animation-delay: .45s; }
.hero-meta          { animation-delay: .35s; }
.hero .hero-cta-row { animation-delay: .55s; }
.hero-marquee       { animation-delay: .75s; }

/* Mot accent dans le titre — entrée séparée */
.hero h1 .accent-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px) rotate(-2deg);
  animation: heroIn .9s var(--ease) forwards;
  animation-delay: .65s;
}

/* ---------- Marquee infini (hero) ---------- */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.hero-marquee {
  overflow: hidden;
  flex-wrap: nowrap;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.hero-marquee .marquee-track {
  display: flex;
  gap: 50px;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 50px;
}
.hero-marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- Ambient blob derrière le hero ---------- */
.hero { position: relative; }
.hero::before {
  content: "";
  position: absolute;
  top: -10%; right: -10%;
  width: 55vw; max-width: 760px;
  height: 55vw; max-height: 760px;
  background: radial-gradient(circle at 30% 30%, rgba(255,91,46,.22), rgba(255,91,46,0) 60%);
  filter: blur(40px);
  z-index: -1;
  animation: blobFloat 18s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes blobFloat {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-30px, 40px) scale(1.06); }
  100% { transform: translate(40px, -20px) scale(.96); }
}

/* ---------- Float lent (utilitaire) ---------- */
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.float-soft { animation: floaty 6s ease-in-out infinite; }

/* ---------- Compteur de prix ---------- */
.price .num-anim { display: inline-block; }

/* ---------- Soulignement animé (liens texte) ---------- */
.arrow-link {
  border-bottom: 1px solid var(--ink) !important;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .35s var(--ease), color .25s var(--ease);
}
.arrow-link:hover {
  background-size: 100% 1px;
  color: var(--accent);
}

/* ---------- Hover des cards (intensifié) ---------- */
.card { will-change: transform; }
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(255,91,46,.08), transparent 40%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.card:hover::after { opacity: 1; }

/* ---------- Header hide-on-scroll-down ---------- */
.site-header {
  transition: transform .4s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.hide { transform: translateY(-100%); }

/* ---------- Steps : ligne de progression animée ---------- */
.step { position: relative; }
.step::after {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width 1s var(--ease);
}
.step.in::after { width: 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-meta { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
  .section-head { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .menu-toggle { display: inline-flex; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    background: var(--cream);
    padding: 22px var(--gutter) 26px;
    border-bottom: 1px solid var(--line);
    gap: 18px;
  }
  .nav-cta { display: none; }
  .steps { grid-template-columns: 1fr; }
  .field.two { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .hero h1, .hero .lead, .hero .eyebrow, .hero-meta, .hero .hero-cta-row, .hero-marquee, .hero h1 .accent-word { opacity: 1; animation: none; }
  .hero::before { animation: none; }
  .hero-marquee .marquee-track { animation: none; }
}

/* =========================================================
   COOKIE BANNER & PREFERENCES MODAL (RGPD)
   ========================================================= */
.cookie-banner {
  position: fixed;
  left: clamp(12px, 2vw, 24px);
  right: clamp(12px, 2vw, 24px);
  bottom: clamp(12px, 2vw, 24px);
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -25px rgba(15,15,18,.25);
  padding: 26px 28px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transform: translateY(120%);
  opacity: 0;
  transition: transform .5s var(--ease), opacity .4s var(--ease);
}
.cookie-banner.show {
  transform: none;
  opacity: 1;
}
.cookie-banner h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -.01em;
}
.cookie-banner p {
  font-size: .92rem;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
}
.cookie-banner p a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.cookie-actions .btn {
  padding: 11px 20px;
  font-size: .92rem;
  flex: 1 1 auto;
  min-width: 130px;
}
/* Bouton "Personnaliser" plus discret mais accessible */
.cookie-actions .btn-link {
  background: none;
  border: 0;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: .88rem;
  cursor: pointer;
  padding: 8px 4px;
  flex: 0 0 auto;
  font-family: inherit;
  font-weight: 500;
}
.cookie-actions .btn-link:hover { color: var(--accent); }

/* Modal de préférences */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15,15,18,.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 250;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cookie-modal-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: var(--cream);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 36px clamp(24px, 4vw, 40px);
  transform: scale(.96);
  transition: transform .3s var(--ease);
  position: relative;
}
.cookie-modal-backdrop.show .cookie-modal { transform: scale(1); }
.cookie-modal h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: -.025em;
}
.cookie-modal > p {
  font-size: .95rem;
  color: var(--ink-soft);
  margin: 0 0 24px;
}
.cookie-close {
  position: absolute;
  top: 18px; right: 18px;
  background: none;
  border: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background .2s var(--ease);
}
.cookie-close:hover { background: var(--cream-soft); }
.cookie-close svg { width: 18px; height: 18px; }

.cookie-cat {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.cookie-cat:last-of-type { border-bottom: 1px solid var(--line); }
.cookie-cat-text { flex: 1; }
.cookie-cat h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 4px;
}
.cookie-cat p {
  font-size: .87rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.cookie-cat .always-on {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  font-weight: 600;
  padding: 6px 10px;
  border: 1px solid var(--accent);
  border-radius: 100px;
  white-space: nowrap;
}

/* Toggle switch */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.switch input {
  opacity: 0;
  width: 0; height: 0;
}
.switch-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--line);
  border-radius: 100px;
  transition: background .25s var(--ease);
}
.switch-slider::before {
  content: "";
  position: absolute;
  height: 18px; width: 18px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .25s var(--ease);
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.switch input:checked + .switch-slider {
  background: var(--ink);
}
.switch input:checked + .switch-slider::before {
  transform: translateX(20px);
}
.switch input:focus-visible + .switch-slider {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.cookie-modal-foot {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.cookie-modal-foot .btn { flex: 1 1 auto; min-width: 140px; padding: 13px 18px; font-size: .92rem; }

/* Bouton flottant "Cookies" pour rouvrir le banner après consentement */
.cookie-fab {
  position: fixed;
  bottom: 18px;
  left: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  border: 0;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 90;
  box-shadow: 0 10px 25px -10px rgba(15,15,18,.4);
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.cookie-fab.show { display: inline-flex; }
.cookie-fab:hover { background: var(--accent); transform: translateY(-2px); }
.cookie-fab svg { width: 20px; height: 20px; }

@media (max-width: 520px) {
  .cookie-banner { padding: 20px 22px; gap: 14px; }
  .cookie-actions .btn { min-width: 0; width: 100%; }
  .cookie-actions .btn-link { width: 100%; text-align: center; }
  .cookie-modal-foot .btn { width: 100%; }
}
