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

:root {
  --obsidian: #080706;
  --obsidian-soft: #12100D;
  --gold: #C4973A;
  --gold-light: #D4A84B;
  --gold-pale: #E8C97A;
  --ivory: #F2EDE4;
  --ivory-dim: #C8C0B4;
  --bg-dark: #080706;
  --bg-light: #F0EBE3;
  --text-on-dark: #F2EDE4;
  --text-on-light: #1A1510;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  background: var(--obsidian);
  color: var(--ivory);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: none;
}

/* ── CUSTOM CURSOR ──────────────────────────────────────────── */
#cursor {
  position: fixed; width: 10px; height: 10px;
  background: var(--gold); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .3s, height .3s;
  mix-blend-mode: difference;
}
#cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1px solid rgba(196,151,58,.5); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: transform .25s cubic-bezier(.23,1,.32,1), width .3s, height .3s;
}

/* ── LOADER ─────────────────────────────────────────────────── */
#loader {
  position: fixed; inset: 0; background: var(--obsidian);
  z-index: 9000; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: opacity .8s ease .2s;
}
#loader.hidden { opacity: 0; pointer-events: none; }
.loader-brand {
  font-family: var(--font-display);
  font-size: clamp(2.2rem,5vw,4.5rem);
  font-weight: 300; letter-spacing: .22em;
  color: var(--ivory); text-transform: uppercase;
  opacity: 0; transform: translateY(18px);
  animation: popIn 1s ease .3s forwards;
}
.loader-sub {
  font-size: .65rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold);
  margin-top: .8rem; opacity: 0;
  animation: popIn .8s ease .7s forwards;
}
.loader-bar-wrap {
  width: min(300px,55vw); height: 1px;
  background: rgba(196,151,58,.15); margin-top: 2.5rem; overflow: hidden;
}
#loader-bar { height: 100%; background: linear-gradient(90deg,var(--gold),var(--gold-pale)); width: 0; transition: width .25s; }
.loader-percent {
  font-family: var(--font-display); font-size: .72rem;
  letter-spacing: .2em; color: var(--gold); margin-top: .6rem;
  opacity: 0; animation: popIn .8s ease .6s forwards;
}
@keyframes popIn { to { opacity: 1; transform: translateY(0); } }

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 1.2rem 4vw;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .4s, padding .4s;
}
.site-header.scrolled {
  background: rgba(8,7,6,.94);
  backdrop-filter: blur(14px);
  padding: .85rem 4vw;
  border-bottom: 1px solid rgba(196,151,58,.14);
}
.header-logo {
  display: flex; align-items: center; gap: .7rem;
  text-decoration: none;
}
/* ── LOGO — grand et bien visible ── */
.header-logo img {
  height: 58px; width: auto;
  filter: brightness(1.25) drop-shadow(0 2px 10px rgba(196,151,58,.5));
  transition: filter .3s;
}
.header-logo:hover img {
  filter: brightness(1.4) drop-shadow(0 4px 16px rgba(196,151,58,.7));
}
.header-logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 500;
  letter-spacing: .06em; color: var(--ivory);
  text-shadow: 0 1px 8px rgba(0,0,0,.6);
}
.header-nav { display: flex; gap: 2rem; align-items: center; list-style: none; }
.header-nav a {
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ivory-dim); text-decoration: none; transition: color .3s;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.header-nav a:hover { color: var(--gold); }
.header-cta {
  background: transparent; border: 1px solid var(--gold);
  color: var(--gold) !important; padding: .45rem 1.4rem;
  border-radius: 2px; font-size: .66rem !important;
  letter-spacing: .2em !important; text-transform: uppercase;
  transition: background .3s, color .3s !important;
}
.header-cta:hover { background: var(--gold) !important; color: var(--obsidian) !important; }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.burger span { width: 24px; height: 1px; background: var(--ivory); transition: all .3s; }
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }
.mobile-menu {
  display: none; position: fixed; inset: 0; top: 70px;
  background: rgba(8,7,6,.98); z-index: 490;
  flex-direction: column; align-items: center; justify-content: center; gap: 2.2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display); font-size: 2rem; font-weight: 300;
  letter-spacing: .08em; color: var(--ivory); text-decoration: none;
  transition: color .3s;
}
.mobile-menu a:hover { color: var(--gold); }

/* ── HERO STANDALONE ────────────────────────────────────────── */
.hero-standalone {
  position: relative; height: 100vh;
  background: var(--obsidian);
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden; z-index: 10;
}
.hero-bg-grain {
  position: absolute; inset: 0;
  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)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: .45; pointer-events: none;
}
.hero-bg-gradient {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 30% 50%, rgba(196,151,58,.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-line-left { position: absolute; left: 4vw; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg,transparent,rgba(196,151,58,.35),transparent); }
.hero-line-right { position: absolute; right: 4vw; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg,transparent,rgba(196,151,58,.15),transparent); }
.hero-content { position: relative; z-index: 2; padding: 0 5vw; padding-top: 90px; }
.hero-label {
  font-size: .65rem; letter-spacing: .4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 2.2rem;
  opacity: 0; animation: popIn .8s ease .5s forwards;
  text-shadow: 0 1px 6px rgba(0,0,0,.4);
}
.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(4rem,11vw,12rem);
  font-weight: 300; line-height: .88; letter-spacing: -.02em;
  text-shadow: 0 4px 30px rgba(0,0,0,.5);
}
.hero-heading .word { display: inline-block; overflow: hidden; }
.hero-heading .word span {
  display: inline-block; transform: translateY(100%);
  animation: wordReveal 1s cubic-bezier(.76,0,.24,1) forwards;
}
.hero-heading .word:nth-child(1) span { animation-delay: .6s; }
.hero-heading .word:nth-child(2) span { animation-delay: .78s; }
.hero-heading .word:nth-child(3) span { animation-delay: .96s; color: var(--gold); font-style: italic; }
.hero-tagline {
  font-size: clamp(.88rem,1.4vw,1.05rem); font-weight: 300;
  letter-spacing: .04em; color: var(--ivory-dim);
  max-width: 500px; margin-top: 2.5rem; line-height: 1.75;
  opacity: 0; animation: popIn 1s ease 1.4s forwards;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.hero-cta-group {
  display: flex; gap: 1.5rem; align-items: center;
  margin-top: 2.8rem; opacity: 0; animation: popIn 1s ease 1.7s forwards;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--gold); color: var(--obsidian);
  padding: .95rem 2.2rem; font-size: .72rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  border: none; cursor: pointer; transition: background .3s, transform .3s;
}
.btn-primary:hover { background: var(--gold-pale); transform: translateY(-2px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent; color: var(--ivory-dim);
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer; transition: color .3s;
}
.btn-ghost:hover { color: var(--ivory); }
.btn-ghost .arrow { display: inline-block; transition: transform .3s; }
.btn-ghost:hover .arrow { transform: translateX(4px); }
.hero-scroll-indicator {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  opacity: 0; animation: popIn 1s ease 2s forwards;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(180deg,rgba(196,151,58,0),var(--gold));
  animation: scrollPulse 2s ease-in-out infinite;
}
.scroll-text { font-size: .58rem; letter-spacing: .35em; text-transform: uppercase; color: var(--gold); writing-mode: vertical-lr; margin-top: .4rem; }
@keyframes wordReveal { to { transform: translateY(0); } }
@keyframes scrollPulse { 0%,100%{opacity:.4;} 50%{opacity:1;} }

/* ── CANVAS ─────────────────────────────────────────────────── */
.canvas-wrap { position: fixed; inset: 0; z-index: 5; clip-path: circle(0% at 50% 50%); }
canvas#canvas { display: block; width: 100%; height: 100%; }

/* ── DARK OVERLAY ───────────────────────────────────────────── */
#dark-overlay { position: fixed; inset: 0; background: var(--obsidian); opacity: 0; z-index: 6; pointer-events: none; }

/* ── MARQUEE ────────────────────────────────────────────────── */
.marquee-wrap { position: fixed; z-index: 7; pointer-events: none; opacity: 0; transition: opacity .4s; overflow: hidden; width: 100%; }
.marquee-wrap.visible { opacity: 1; }
.marquee-wrap.top { top: 0; }
.marquee-text {
  font-family: var(--font-display);
  font-size: clamp(4.5rem,11vw,13rem);
  font-weight: 300; letter-spacing: .05em;
  text-transform: uppercase; white-space: nowrap;
  color: rgba(196,151,58,.15); line-height: 1;
}

/* ── SCROLL CONTAINER ───────────────────────────────────────── */
#scroll-container { position: relative; height: 1100vh; z-index: 8; }

/* ── SCROLL SECTIONS ────────────────────────────────────────── */
.scroll-section {
  position: absolute; left: 0; right: 0;
  height: 100vh; display: flex; align-items: center;
  pointer-events: none; opacity: 0;
}
.scroll-section.visible { pointer-events: auto; }

/* Side alignment — text in outer 40% zones */
.align-left  { padding-left: 5vw;  padding-right: 55vw; }
.align-right { padding-left: 55vw; padding-right: 5vw; }
.align-left  .section-inner,
.align-right .section-inner { max-width: 42vw; }
.align-center { justify-content: center; }
.align-center .section-inner { max-width: 960px; text-align: center; padding: 0 6vw; }

/* ── Section opaque sombre (Suivi, Point Relais, FAQ) ── */
.section-dark {
  background: var(--obsidian);
  border-top: 1px solid rgba(196,151,58,.12);
  padding: 0 10vw;
  z-index: 9;
}
.section-dark.align-left  { padding-left: 8vw;  padding-right: 50vw; }
.section-dark.align-right { padding-left: 50vw; padding-right: 8vw; }
.section-dark .align-left .section-inner,
.section-dark .align-right .section-inner { max-width: 46vw; }

/* ── Typography — texte toujours lisible ── */
.section-inner { position: relative; }
.section-label {
  display: block; font-size: .62rem; letter-spacing: .4em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1.4rem;
  text-shadow: 0 1px 8px rgba(0,0,0,.7);
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.8rem,5.5vw,6rem);
  font-weight: 300; line-height: 1.02; letter-spacing: -.01em;
  color: var(--ivory); margin-bottom: 1.4rem;
  /* ombres portées pour lisibilité sur vidéo */
  text-shadow: 0 4px 28px rgba(0,0,0,.75), 0 1px 6px rgba(0,0,0,.6);
}
.section-heading em { font-style: italic; color: var(--gold-light); }
.section-body {
  font-size: clamp(.88rem,1.2vw,1.02rem); font-weight: 300;
  line-height: 1.78; color: var(--ivory-dim); margin-bottom: 1.6rem;
  text-shadow: 0 2px 14px rgba(0,0,0,.7);
}
.section-note {
  font-size: .68rem; letter-spacing: .15em; text-transform: uppercase;
  color: rgba(196,151,58,.7);
  text-shadow: 0 1px 8px rgba(0,0,0,.6);
}

/* Platform list */
.platform-list { display: flex; flex-direction: column; gap: .7rem; margin: 1.4rem 0; }
.platform-item {
  display: flex; align-items: center; gap: .9rem;
  font-family: var(--font-display); font-size: 1.55rem; font-weight: 300;
  color: var(--ivory); letter-spacing: .02em;
  text-shadow: 0 2px 14px rgba(0,0,0,.7);
}
.platform-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* Process steps */
.process-steps { display: flex; flex-direction: column; gap: 1.1rem; margin: 1.4rem 0; }
.process-step { display: flex; align-items: flex-start; gap: 1.2rem; }
.step-num { font-family: var(--font-display); font-size: .88rem; color: var(--gold); letter-spacing: .15em; min-width: 2rem; padding-top: 2px; }
.step-text { font-size: .88rem; line-height: 1.62; color: var(--ivory-dim); text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.step-text strong { color: var(--ivory); font-weight: 500; display: block; margin-bottom: .15rem; }

/* ── STATS ──────────────────────────────────────────────────── */
.section-stats { justify-content: center; }
.stats-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  text-align: center; width: 100%; padding: 0 5vw;
}
.stat { padding: 3rem 2rem; border-right: 1px solid rgba(196,151,58,.15); }
.stat:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display); font-size: clamp(4rem,8vw,8.5rem);
  font-weight: 300; color: var(--ivory); line-height: 1; display: block;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.stat-suffix { font-family: var(--font-display); font-size: clamp(1.4rem,3vw,3rem); font-weight: 300; color: var(--gold); vertical-align: super; font-style: italic; }
.stat-label { display: block; font-size: .65rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ivory-dim); margin-top: 1rem; }

/* ── SUIVI SECTION ──────────────────────────────────────────── */
.section-suivi { flex-direction: column; justify-content: center; padding: 0 10vw; }
.section-suivi .suivi-inner {
  width: 100%; max-width: 760px; margin: 0 auto;
}
.tracking-input-group { display: flex; gap: 0; margin: 2rem 0 2.5rem; }
.tracking-input {
  flex: 1; background: transparent;
  border: none; border-bottom: 1px solid rgba(196,151,58,.35);
  padding: .8rem 0; font-family: var(--font-body); font-size: 1rem;
  color: var(--ivory); outline: none; transition: border-color .3s;
  letter-spacing: .05em;
}
.tracking-input::placeholder { color: rgba(196,151,58,.4); }
.tracking-input:focus { border-color: var(--gold); }
.tracking-btn {
  background: var(--gold); color: var(--obsidian); border: none;
  padding: .8rem 2rem; font-family: var(--font-body); font-size: .7rem;
  letter-spacing: .2em; text-transform: uppercase; cursor: pointer;
  margin-left: 1rem; transition: background .3s;
  white-space: nowrap;
}
.tracking-btn:hover { background: var(--gold-pale); }
.tracking-result { display: none; }
.tracking-result.visible { display: block; }
.tracking-order-id {
  font-family: var(--font-display); font-size: 2rem; font-weight: 400;
  color: var(--ivory); margin-bottom: .25rem;
}
.tracking-client { font-size: .75rem; color: rgba(196,151,58,.7); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.8rem; }
.tracking-timeline { position: relative; padding-left: 1.5rem; }
.tracking-timeline::before { content: ''; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: rgba(196,151,58,.2); }
.timeline-step { position: relative; padding: 0 0 1.4rem 1.5rem; opacity: .35; }
.timeline-step.active { opacity: 1; }
.timeline-step.current { opacity: 1; }
.timeline-dot {
  position: absolute; left: -1.5rem; top: 5px;
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid rgba(196,151,58,.3); background: transparent; transition: all .3s;
}
.timeline-step.active .timeline-dot { background: var(--gold); border-color: var(--gold); }
.timeline-step.current .timeline-dot { background: var(--ivory); border-color: var(--ivory); box-shadow: 0 0 0 3px rgba(242,237,228,.2); }
.timeline-label { font-family: var(--font-body); font-size: .88rem; color: var(--ivory); margin-bottom: .2rem; }
.timeline-date { font-size: .68rem; color: rgba(196,151,58,.6); }
.tracking-error, .tracking-loading { font-size: .88rem; color: var(--ivory-dim); padding: 1rem 0; }

/* ── POINT RELAIS SECTION ───────────────────────────────────── */
.relay-content {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  align-items: center; width: 100%;
}
.relay-info-list { display: flex; flex-direction: column; gap: 1.6rem; margin-top: 2rem; }
.relay-info-item { display: flex; align-items: flex-start; gap: 1.1rem; }
.relay-info-icon {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(196,151,58,.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--gold); font-size: .85rem;
}
.relay-info-text strong { display: block; font-size: .8rem; letter-spacing: .08em; color: var(--ivory); margin-bottom: .2rem; }
.relay-info-text span { font-size: .85rem; color: var(--ivory-dim); line-height: 1.5; }
.relay-map-box {
  border: 1px solid rgba(196,151,58,.2);
  padding: 2.5rem 2rem;
  text-align: center;
  background: rgba(196,151,58,.04);
}
.relay-map-label { font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.relay-map-name { font-family: var(--font-display); font-size: 1.8rem; font-weight: 300; color: var(--ivory); line-height: 1.2; margin-bottom: .5rem; }
.relay-map-sub { font-size: .8rem; color: var(--ivory-dim); margin-bottom: 1.8rem; }
.relay-wa-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #25D366; color: white; padding: .7rem 1.5rem;
  font-size: .72rem; letter-spacing: .15em; text-transform: uppercase;
  text-decoration: none; font-family: var(--font-body); transition: background .3s;
}
.relay-wa-btn:hover { background: #1ebe5d; }

/* ── FAQ SECTION ────────────────────────────────────────────── */
.section-faq { flex-direction: column; justify-content: center; padding: 0 10vw; }
.faq-inner { width: 100%; max-width: 820px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 0; margin-top: 2.5rem; }
.faq-item {
  border-bottom: 1px solid rgba(196,151,58,.15);
}
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.3rem 0; cursor: pointer;
  font-family: var(--font-body); font-size: 1rem; font-weight: 400;
  color: var(--ivory); transition: color .3s;
  user-select: none;
}
.faq-question:hover { color: var(--gold-light); }
.faq-icon {
  width: 22px; height: 22px; flex-shrink: 0; margin-left: 1.5rem;
  border: 1px solid rgba(196,151,58,.4); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; color: var(--gold); transition: transform .4s, background .3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(196,151,58,.12); }
.faq-answer {
  overflow: hidden; max-height: 0;
  transition: max-height .45s cubic-bezier(.4,0,.2,1);
}
.faq-answer p {
  padding: 0 0 1.4rem; font-size: .9rem; color: var(--ivory-dim); line-height: 1.72;
}
.faq-item.open .faq-answer { max-height: 300px; }

/* ── CTA SECTION (formulaire de commande) ───────────────────── */
.section-cta {
  background: var(--bg-light);
  position: absolute !important; height: auto !important; min-height: 100vh;
  padding: 7rem 8vw 5rem;
  flex-direction: column; justify-content: flex-start; align-items: flex-start;
  border-top: 3px solid var(--gold);
}
.cta-header { margin-bottom: 3.5rem; }
.cta-header .section-label { color: var(--gold); text-shadow: none; }
.form-title { font-family: var(--font-display); font-size: clamp(2rem,4vw,3.5rem); font-weight: 400; color: var(--text-on-light); margin-bottom: .4rem; }
.form-subtitle { font-size: .72rem; letter-spacing: .12em; color: #999; text-transform: uppercase; margin-bottom: 1.8rem; }
.form-divider { width: 36px; height: 1px; background: var(--gold); margin-bottom: 2.2rem; }

/* Forms */
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: .62rem; letter-spacing: .25em; text-transform: uppercase; color: #999; margin-bottom: .35rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: transparent; border: none;
  border-bottom: 1px solid #D0C8C0; padding: .6rem 0;
  font-family: var(--font-body); font-size: .92rem;
  color: var(--text-on-light); outline: none; transition: border-color .3s;
}
.form-group select { background: white; border: 1px solid #D8D0C8; padding: .6rem .5rem; border-radius: 2px; cursor: pointer; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group select:focus { border-color: var(--gold); outline: none; }
.form-group textarea { resize: vertical; min-height: 70px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit {
  width: 100%; background: var(--obsidian); color: var(--ivory); border: none;
  padding: 1rem 2rem; font-family: var(--font-body); font-size: .7rem;
  letter-spacing: .25em; text-transform: uppercase; cursor: pointer;
  margin-top: 1.4rem; transition: background .3s;
}
.form-submit:hover { background: var(--gold); color: var(--obsidian); }
.form-success { display: none; text-align: center; padding: 3rem 1.5rem; }
.form-success .success-icon { font-size: 2.5rem; margin-bottom: 1rem; color: var(--gold); }
.form-success h3 { font-family: var(--font-display); font-size: 2.2rem; font-weight: 400; color: var(--text-on-light); margin-bottom: .6rem; }
.form-success p { font-size: .9rem; color: #888; line-height: 1.65; }
.success-order-id {
  display: inline-block; margin-top: 1rem; padding: .5rem 1.5rem;
  background: rgba(196,151,58,.1); border: 1px solid rgba(196,151,58,.3);
  font-family: var(--font-display); font-size: 1.2rem; letter-spacing: .1em; color: var(--gold);
}

/* ── WHATSAPP FLOAT ─────────────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 400;
  width: 54px; height: 54px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; box-shadow: 0 4px 20px rgba(37,211,102,.35);
  transition: transform .3s, box-shadow .3s;
}
.whatsapp-float:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 8px 30px rgba(37,211,102,.45); }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer { background: var(--bg-light); padding: 2.5rem 8vw; border-top: 1px solid rgba(0,0,0,.08); margin-top: 5rem; width: 100%; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-brand { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; color: var(--text-on-light); }
.footer-copy { font-size: .68rem; color: #AAA; letter-spacing: .06em; }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #999; text-decoration: none; transition: color .3s; }
.footer-links a:hover { color: var(--gold); }

/* Toast */
.toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(100px);
  background: var(--obsidian); color: var(--ivory); padding: 1rem 2rem;
  font-size: .82rem; border-left: 3px solid var(--gold); z-index: 9100; opacity: 0;
  transition: all .4s;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .header-nav { display: none; }
  .burger { display: flex; }
  .header-logo img { height: 46px; }
  .header-logo-text { font-size: .95rem; }

  .hero-heading { font-size: clamp(3rem,16vw,5rem); }
  .hero-sub { font-size: clamp(.65rem,3vw,.85rem); letter-spacing: .18em; }
  .hero-content { padding: 0 5vw; padding-top: 80px; }
  .hero-cta-group { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .hero-cta { padding: .9rem 2rem; font-size: .65rem; }

  #scroll-container { height: 900vh; }

  /* All sections: semi-transparent glass (canvas visible behind) */
  .scroll-section {
    background: rgba(8,7,6,.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  /* Dark sections: fully opaque — no glass effect needed */
  .section-dark {
    background: var(--obsidian) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 6vw;
  }

  .align-left, .align-right { padding-left: 6vw; padding-right: 6vw; }
  .align-left .section-inner, .align-right .section-inner { max-width: 100%; }
  .section-dark.align-left, .section-dark.align-right { padding-left: 6vw; padding-right: 6vw; }

  /* Section headings + labels */
  .section-heading { font-size: clamp(2rem,10vw,3.2rem); line-height: 1.15; }
  .section-body { font-size: .88rem; line-height: 1.7; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr; gap: 0; }
  .stat { border-right: none; border-bottom: 1px solid rgba(196,151,58,.12); padding: 1.5rem 1rem; }
  .stat-number { font-size: clamp(2.8rem,14vw,5rem); }

  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Plateformes */
  .platform-grid { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .platform-item { padding: 1.2rem 1rem; }

  /* Processus */
  .process-steps { gap: 1.5rem; }
  .step-num { font-size: 3rem; }
  .step-text strong { font-size: 1rem; }

  /* Tarifs */
  .tarifs-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Point relais */
  .relay-content { grid-template-columns: 1fr; gap: 2.5rem; }

  /* FAQ */
  .section-faq { padding: 0 6vw; }
  .faq-inner { max-width: 100%; }
  .faq-question { font-size: .88rem; padding: 1.1rem 0; }

  /* Suivi */
  .section-suivi { padding: 0 6vw; }
  .section-suivi .suivi-inner { max-width: 100%; }
  .tracking-input-group { flex-direction: column; gap: .8rem; }
  .tracking-btn { margin-left: 0; width: 100%; justify-content: center; padding: 1rem; }

  /* CTA / Commander */
  .section-cta { padding: 5rem 6vw 4rem; }
  .form-row { grid-template-columns: 1fr; }
  /* Prevent iOS auto-zoom on inputs */
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; }
  .form-submit { padding: 1.1rem 2rem; }

  /* Marquee */
  .marquee-text { font-size: clamp(3rem,18vw,7rem); }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-links { gap: 1.2rem; flex-wrap: wrap; }

  /* WhatsApp button — more accessible on touch */
  .whatsapp-float { bottom: 1.2rem; right: 1.2rem; width: 48px; height: 48px; }

  /* Disable custom cursor on touch */
  body { cursor: auto; }
  #cursor, #cursor-ring { display: none; }
}
