/* Dumped · landing page, bêta 1
   Rendu tiré de wireframe/landing-beta-1.html. */

/* ---------- Identité ---------- */
:root {
  --encre: #141210;
  --encre-2: #1B1815;
  --popover: #2A2927;
  --orange: #FF5A1F;
  --orange-clair: #FF8A5C;
  --creme: #F4EFE8;
  --texte-2: #C9C3BA;
  --texte-3: #A8A29A;
  --rouge: #FF453A;
  --ambre: #FF9F0A;
  --vert: #32D74B;
  --bleu: #0A7AFF;

  --filet: rgba(255, 255, 255, 0.08);
  --filet-carte: rgba(255, 255, 255, 0.1);
  --filet-faq: rgba(255, 255, 255, 0.14);
  --contour: rgba(244, 239, 232, 0.35);

  --largeur: 72rem;
  --marge: 1.5rem;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--encre);
  color: var(--creme);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.6;
}

h1, h2, h3, p, ol, ul { margin: 0; }
h1, h2, h3, strong { font-weight: 600; }
ol, ul { list-style: none; padding: 0; }

a { color: var(--orange-clair); }
a:hover { color: var(--orange); }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 0.25rem; }

[id] { scroll-margin-top: 1rem; }

.cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.lien-evitement {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--orange); color: var(--encre);
  padding: 0.625rem 1rem; border-radius: 0.625rem; font-weight: 600; text-decoration: none;
}
.lien-evitement:focus { top: 1rem; color: var(--encre); }

/* ---------- Mise en page ---------- */
.contenu {
  max-width: var(--largeur);
  margin: 0 auto;
  padding-left: var(--marge);
  padding-right: var(--marge);
}

.section { padding-top: 5rem; padding-bottom: 5rem; display: flex; flex-direction: column; gap: 2.5rem; }

.bande {
  background: var(--encre-2);
  border-top: 1px solid var(--filet);
  border-bottom: 1px solid var(--filet);
}

.entete-section { display: flex; flex-direction: column; gap: 0.75rem; }

/* ---------- Typographie ---------- */
.sur-titre {
  font-size: 0.875rem;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
}

.titre-2 {
  font-size: clamp(1.625rem, 3.2vw, 2.25rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.discret { color: var(--texte-3); }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.8125rem 1.375rem;
  border-radius: 0.75rem;
  transition: background-color 0.15s, border-color 0.15s;
}
.bouton-plein { background: var(--orange); color: var(--encre); }
.bouton-plein:hover { background: var(--orange-clair); color: var(--encre); }
.bouton-contour { color: var(--creme); border: 1.5px solid var(--contour); }
.bouton-contour:hover { color: var(--creme); border-color: var(--creme); }
.bouton-petit { font-size: inherit; padding: 0.625rem 1.125rem; border-radius: 0.625rem; }
.bouton-grand { font-size: 1.0625rem; padding: 0.875rem 1.5rem; }

/* ---------- Marque ---------- */
.marque { fill: none; stroke: var(--orange); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- En-tête ---------- */
.entete {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.75rem;
  color: var(--creme);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.375rem;
  letter-spacing: -0.03em;
}
.logo:hover { color: var(--creme); }
.logo svg { width: 2rem; height: 2rem; }

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.75rem; }
.nav a:not(.bouton) { color: var(--creme); text-decoration: none; padding: 0.625rem 0; }
.nav a:not(.bouton):hover { color: var(--orange-clair); }

/* ---------- Fond animé ---------- */
.fond { position: relative; overflow: hidden; }
.fond > .contenu { position: relative; }

.d-grid {
  position: absolute;
  inset: 0;
  background-color: rgba(244, 239, 232, 0.07);
  background-image: linear-gradient(100deg, rgba(255, 90, 31, 0) 30%, rgba(255, 90, 31, 0.6) 50%, rgba(255, 90, 31, 0) 70%);
  background-size: 60% 100%;
  background-repeat: no-repeat;
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 14px, transparent 14px 20px), repeating-linear-gradient(0deg, #000 0 14px, transparent 14px 20px);
  -webkit-mask-composite: source-in;
  mask-image: repeating-linear-gradient(90deg, #000 0 14px, transparent 14px 20px), repeating-linear-gradient(0deg, #000 0 14px, transparent 14px 20px);
  mask-composite: intersect;
  animation: dScan 8s linear infinite;
}
.d-grid-ok {
  background-image: linear-gradient(100deg, rgba(50, 215, 75, 0) 30%, rgba(50, 215, 75, 0.5) 50%, rgba(50, 215, 75, 0) 70%);
  animation-duration: 10s;
}

.d-glow {
  position: absolute;
  right: -6rem;
  top: -8rem;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.2;
  animation: dDrift 18s ease-in-out infinite, dHue 15s linear infinite;
}

.voile { position: absolute; inset: 0; }
.voile-hero { background: linear-gradient(90deg, #141210 0%, rgba(20, 18, 16, 0.86) 45%, rgba(20, 18, 16, 0.35) 100%); }
.voile-bas { top: auto; height: 8rem; background: linear-gradient(180deg, rgba(20, 18, 16, 0) 0%, #141210 100%); }
.voile-appel { background: radial-gradient(ellipse at center, rgba(20, 18, 16, 0.92) 0%, rgba(20, 18, 16, 0.7) 45%, rgba(20, 18, 16, 0.3) 100%); }

.grain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.08; mix-blend-mode: overlay; pointer-events: none; }

@keyframes dScan { from { background-position: -150% 0; } to { background-position: 250% 0; } }
@keyframes dDrift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-8%, 10%) scale(1.18); } }
@keyframes dHue {
  0%, 22% { background-color: #FF453A; }
  36%, 58% { background-color: #FF9F0A; }
  72%, 94% { background-color: #32D74B; }
  100% { background-color: #FF453A; }
}
@keyframes dPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }

/* ---------- Hero ---------- */
.hero {
  padding-top: 4rem;
  padding-bottom: 5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}

.hero-texte { flex: 1 1 28rem; min-width: 0; display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.hero-titre { font-size: clamp(2.375rem, 5.6vw, 4.25rem); line-height: 1.04; letter-spacing: -0.035em; }
.hero-accroche { font-size: 1.0625rem; line-height: 1.55; color: var(--texte-2); max-width: 32rem; }
.hero-boutons { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-visuel { flex: 1 1 24rem; min-width: 0; display: flex; justify-content: center; }

/* ---------- Popover ---------- */
.popover {
  width: 100%;
  max-width: 27rem;
  background: var(--popover);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.55), 0 0 5rem rgba(50, 215, 75, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.popover-tete { display: flex; gap: 0.875rem; align-items: flex-start; }
.popover-tete > div { display: flex; flex-direction: column; gap: 0.125rem; }
.popover-tete span:not(.orbe) { color: var(--texte-2); }
.popover-etat { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; }
.popover-pret { color: var(--vert); font-weight: 600; }
.popover-bouton { background: var(--bleu); color: #fff; font-weight: 600; padding: 0.3125rem 0.875rem; border-radius: 0.4375rem; }
.popover-filet { height: 1px; background: rgba(255, 255, 255, 0.12); }
.popover-ligne { display: flex; justify-content: space-between; gap: 1rem; }
.popover-ligne span:last-child { color: var(--texte-2); }
.popover-ligne .ok { color: var(--vert); }

/* ---------- Orbes ---------- */
.orbe { display: block; flex: none; width: 3rem; height: 3rem; border-radius: 50%; }
.orbe-petit { width: 2.75rem; height: 2.75rem; }
.orbe-rouge { background: var(--rouge); box-shadow: 0 0 1.5rem rgba(255, 69, 58, 0.5); }
.orbe-ambre { background: var(--ambre); box-shadow: 0 0 1.5rem rgba(255, 159, 10, 0.5); }
.orbe-vert { background: var(--vert); box-shadow: 0 0 1.5rem rgba(50, 215, 75, 0.5); }
.orbe-petit.orbe-vert { box-shadow: 0 0 1.25rem rgba(50, 215, 75, 0.5); }

.d-pulse { animation: dPulse 3.2s ease-in-out infinite; }
.d-pulse-2 { animation-delay: 0.5s; }
.d-pulse-3 { animation-delay: 1s; }

.section-orbes { padding-top: 4rem; padding-bottom: 4rem; }
.section-orbes .titre-2 { max-width: 40rem; }

/* ---------- Cartes ---------- */
.grille { display: grid; gap: 1.25rem; }
.grille-orbes { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.grille-etapes { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.grille-fonctions { grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }

.carte {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--encre);
  border: 1px solid var(--filet-carte);
}
.carte h3 { font-size: 1.03125rem; letter-spacing: -0.01em; }
.carte p { color: var(--texte-2); }
.carte-orbe { gap: 0.75rem; }
.carte-orbe h3 { font-size: 1.0625rem; }

/* ---------- Étapes ---------- */
.etape { display: flex; flex-direction: column; gap: 0.625rem; padding-top: 1.25rem; border-top: 2px solid var(--orange); }
.etape h3 { font-size: 1.125rem; letter-spacing: -0.015em; }
.etape p { color: var(--texte-2); }

/* ---------- Vidéo ---------- */
.section-video { padding-top: 0; gap: 1.5rem; }

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--encre-2);
  border: 1px solid var(--filet-carte);
}
.video video { display: block; width: 100%; height: 100%; object-fit: cover; }

.video-lecture {
  position: absolute;
  inset: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  border: 0;
  background: rgba(20, 18, 16, 0.35);
  color: var(--creme);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}
.video-lecture:hover { background: rgba(20, 18, 16, 0.15); }
.video-lecture svg { width: 4.5rem; height: 4.5rem; transition: transform 0.2s; }
.video-lecture:hover svg { transform: scale(1.06); }
.video-lecture:focus-visible { outline-offset: -6px; border-radius: 1.25rem; }
.video-lecture[hidden] { display: none; }

/* ---------- Fonctions ---------- */
.section-fonctions .titre-2 { max-width: 44rem; }
.et-aussi { display: flex; flex-direction: column; gap: 1rem; padding-top: 1rem; }
.et-aussi h3 { font-size: 1.125rem; color: var(--texte-3); }
.pastilles { display: flex; flex-wrap: wrap; gap: 0.625rem; }
.pastilles li { padding: 0.5rem 0.875rem; border-radius: 999px; border: 1px solid rgba(244, 239, 232, 0.3); }

/* ---------- Pourquoi Dumped ---------- */
.auteur { flex-direction: row; flex-wrap: wrap; align-items: center; }
.auteur-photo {
  flex: 0 1 18rem;
  min-width: 12rem;
  aspect-ratio: 4 / 5;
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--encre-2);
}
.auteur-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.auteur-texte { flex: 1 1 24rem; min-width: 0; display: flex; flex-direction: column; gap: 1rem; }
.auteur-texte .titre-2 { line-height: 1.15; }
.auteur-mot { color: var(--texte-2); font-size: 1rem; max-width: 36rem; }

/* Emplacement encore vide (voir LISEZMOI.md) */
.a-remplir {
  border: 2px dashed var(--contour);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  font-weight: 600;
}

/* ---------- Questions ---------- */
.faq { max-width: 48rem; gap: 2rem; }
.faq-liste > div { display: flex; flex-direction: column; gap: 0.375rem; padding: 1.25rem 0; border-top: 1px solid var(--filet-faq); }
.faq-liste > div:last-child { border-bottom: 1px solid var(--filet-faq); }
.faq-liste dt { font-size: 1.03125rem; font-weight: 600; }
.faq-liste dd { margin: 0; color: var(--texte-2); }
.faq-liste { margin: 0; }

/* ---------- Appel final ---------- */
.appel { padding-top: 6rem; padding-bottom: 6rem; align-items: center; text-align: center; gap: 1.5rem; }
.appel > svg { width: 5rem; height: 5rem; }
.appel-titre { font-size: clamp(2rem, 4.6vw, 3.25rem); letter-spacing: -0.035em; line-height: 1.05; }
.appel-note { max-width: 34rem; font-size: 0.875rem; }

/* ---------- Pied de page ---------- */
.pied { border-top: 1px solid var(--filet); color: var(--texte-3); }
.pied .contenu { padding-top: 2rem; padding-bottom: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 2rem; }
.pied-liens { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.pied-liens > * { padding: 0.625rem 0; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .d-grid, .d-glow, .d-pulse { animation: none; }
  .d-glow { background-color: var(--orange); }
  .bouton, .video-lecture, .video-lecture svg { transition: none; }
}

/* ---------- Pages de texte (notes de version, confidentialité) ---------- */
.page { max-width: 48rem; padding-top: 3rem; padding-bottom: 5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.page section { display: flex; flex-direction: column; gap: 0.75rem; padding-top: 1.75rem; margin-top: 0.75rem; border-top: 1px solid var(--filet-faq); }
.page h2 { font-size: 1.375rem; letter-spacing: -0.02em; line-height: 1.2; }
.page h3 { font-size: 1.03125rem; margin-top: 0.5rem; }
.page section p:not(.discret), .page li { color: var(--texte-2); }
.page ul { list-style: disc; padding-left: 1.25rem; display: flex; flex-direction: column; gap: 0.375rem; }
.page li::marker { color: var(--orange); }

/* ---------- Choix de langue ---------- */
.langues { display: flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; color: var(--texte-3); }
.nav .langues a { color: var(--texte-3); padding: 0.625rem 0.25rem; letter-spacing: 0.04em; }
.nav .langues a[aria-current] { color: var(--creme); font-weight: 600; }

/* ---------- Mémoire des shoots ---------- */
.memoire { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 3rem; }
.memoire-texte { flex: 1 1 24rem; min-width: 0; display: flex; flex-direction: column; gap: 1rem; }
.memoire-texte p:not(.sur-titre):not(.discret) { color: var(--texte-2); font-size: 1rem; max-width: 34rem; }
.section-etapes { padding-top: 0; }

.shoots { flex: 1 1 26rem; min-width: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.shoots li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.125rem 1rem;
  align-items: center;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  background: var(--encre-2);
  border: 1px solid var(--filet-carte);
}
.shoot-nom { color: var(--texte-2); min-width: 0; }
.shoot-nom strong { color: var(--creme); }
.shoot-disque { grid-column: 1; font-size: 0.875rem; color: var(--texte-3); }
.shoot-etat { grid-column: 2; grid-row: 1 / span 2; font-size: 0.875rem; color: var(--ambre); }
.shoot-etat.ok { color: var(--vert); }
