/* Yanform : du papier au futur. Polices hebergees par le site (OFL), aucune requete vers Google Fonts. */

@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lora";
  src: url("fonts/lora-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Lora";
  src: url("fonts/lora-700-italic-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Mono";
  src: url("fonts/dm-mono-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Mono";
  src: url("fonts/dm-mono-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Caveat";
  src: url("fonts/caveat-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Du papier au futur : design du site, issu de la maquette validee le 15/09/2026.
   Palette relevee sur iapreneurs.com ; illustrations et textes propres au projet.
   Monde assume en deux temps (jour papier, nuit numerique) : un seul theme, tout est peint. */

:root {
  --papier: #F9F4F1;
  --sable: #EBDFD8;
  --blanc: #FFFFFF;
  --encre: #333333;
  --encre-douce: #5F5866;
  --stylo: #2B3A8F;
  --violet: #6956F9;
  --violet-fonce: #5241E6;
  --lavande: #D0C6F3;
  --rose: #F8CCCC;
  --bleu: #C4D9F4;
  --menthe: #C9F5E3;
  --jaune: #FBE38E;
  --aurore-1: #FF6535;
  --aurore-2: #5367FF;
  --aurore-3: #CA93FF;
  --nuit: #120D26;
  --nuit-2: #1C1540;
  --nuit-texte: #F4F0FF;
  --nuit-doux: #B9B0DA;
  --nuit-trait: rgba(208, 198, 243, 0.16);
  --verre: rgba(255, 255, 255, 0.055);
  --aurore: linear-gradient(90deg, var(--aurore-1), var(--aurore-2) 50%, var(--aurore-3));
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --main: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .36 0 0 0 0 .28 0 0 0 0 .22 0 0 0 .11 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  --rayon: 28px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--aurore-3); outline-offset: 3px; border-radius: 6px; }

.conteneur { width: min(1160px, 100%); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.papier { background-color: var(--papier); background-image: var(--grain); }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* -- type ----------------------------------------------------------------- */
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1 { font-weight: 300; font-size: clamp(2.7rem, 7vw, 6rem); line-height: 1; letter-spacing: -0.04em; }
h2 { font-weight: 300; font-size: clamp(2rem, 4.6vw, 3.7rem); line-height: 1.05; letter-spacing: -0.035em; }
h3 { font-weight: 600; font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.01em; }
.fort { font-family: var(--serif); font-style: italic; font-weight: 700; letter-spacing: -0.025em; }
.accroche {
  display: inline-block; font-weight: 500; font-size: 0.98rem;
  background: var(--aurore); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.etiquette {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.chapeau { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--encre-douce); max-width: 60ch; }
.surligne { position: relative; white-space: nowrap; }
.surligne svg { position: absolute; left: -4%; width: 108%; bottom: -0.16em; height: 0.36em; overflow: visible; }

/* -- boutons -------------------------------------------------------------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7em;
  padding: 0.95em 1.6em; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 1.02rem;
  background: var(--violet); color: var(--blanc); border: 3px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 14px 34px -14px rgba(105, 86, 249, 0.85);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.bouton:hover { transform: translateY(-2px); background: var(--violet-fonce); box-shadow: 0 20px 40px -14px rgba(105, 86, 249, 0.95); }
.bouton .fleche { transition: transform 0.2s ease; }
.bouton:hover .fleche { transform: translateX(4px); }
.bouton--clair { background: transparent; color: var(--encre); border: 1px solid rgba(51, 51, 51, 0.22); box-shadow: none; }
.bouton--clair:hover { background: var(--blanc); box-shadow: none; }
.bouton--verre { background: var(--verre); color: var(--nuit-texte); border: 1px solid var(--nuit-trait); box-shadow: none; backdrop-filter: blur(10px); }
.bouton--verre:hover { background: rgba(255, 255, 255, 0.1); box-shadow: none; }
.micro { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 0.3rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--encre-douce); }
.micro span { white-space: nowrap; }
.micro span + span::before { content: "·"; margin-inline: 0.7em; opacity: 0.6; }

/* -- barre du haut ---------------------------------------------------------- */
.barre {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(249, 244, 241, 0.74); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(51, 51, 51, 0.07);
}
.barre .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.marque { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.marque__nom { font-family: var(--mono); font-weight: 500; font-size: 1rem; letter-spacing: -0.01em; }
.marque__nom small { font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--encre-douce); margin-left: 0.4rem; }
.barre nav { display: flex; align-items: center; gap: clamp(0.8rem, 2.4vw, 2rem); }
.barre nav a:not(.bouton) { text-decoration: none; font-size: 0.95rem; color: var(--encre-douce); }
.barre nav a:not(.bouton):hover { color: var(--encre); }
.barre .bouton { padding: 0.62em 1.15em; font-size: 0.93rem; }
@media (max-width: 760px) { .barre nav a:not(.bouton) { display: none; } }

/* -- accueil : tete ------------------------------------------------------------ */
.tete { position: relative; padding-block: clamp(3rem, 8vw, 6.5rem) clamp(2.5rem, 5vw, 4rem); text-align: center; overflow: hidden; }
.tete .conteneur { display: grid; justify-items: center; gap: 1.4rem; }
.tete .chapeau { margin: 0; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; }
.etoile { position: absolute; color: var(--encre); opacity: 0.8; }
.etoile--1 { top: 14%; left: 9%; width: 20px; }
.etoile--2 { top: 20%; right: 11%; width: 26px; }
.etoile--3 { top: 44%; right: 16%; width: 18px; }
@media (max-width: 760px) { .etoile { display: none; } }

/* le cadre video : bordure en aurore, ecran de nuit */
.cadre {
  width: min(1060px, 100%); margin-top: clamp(1.5rem, 4vw, 3rem); padding: 1.5px; border-radius: calc(var(--rayon) + 2px);
  background: linear-gradient(120deg, rgba(255, 101, 53, 0.9), rgba(83, 103, 255, 0.9) 50%, rgba(202, 147, 255, 0.9));
  box-shadow: 0 50px 110px -40px rgba(83, 103, 255, 0.55), 0 30px 60px -40px rgba(255, 101, 53, 0.4);
}
.ecran {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--rayon); overflow: hidden;
  background: radial-gradient(120% 90% at 20% 0%, #2A1F5C 0%, var(--nuit) 55%), var(--nuit);
  color: var(--nuit-texte); text-align: left;
}
.ecran::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(208, 198, 243, 0.22) 1px, transparent 1.2px); background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 78%);
}
.ecran__lueur { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; filter: blur(70px); opacity: 0.45; }
.ecran__lueur--a { background: var(--aurore-2); left: -10%; bottom: -45%; }
.ecran__lueur--b { background: var(--aurore-3); right: -18%; top: -50%; opacity: 0.22; }
.ecran__haut { position: absolute; top: 18px; left: 22px; right: 22px; display: flex; justify-content: space-between; align-items: center; z-index: 3; color: var(--nuit-doux); }
.direct { display: inline-flex; align-items: center; gap: 0.5rem; }
.direct i { width: 8px; height: 8px; border-radius: 50%; background: #5CF2B0; box-shadow: 0 0 10px #5CF2B0; animation: pouls 1.8s ease-in-out infinite; }
.lecture {
  position: absolute; left: 22px; bottom: 20px; z-index: 3; display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.55rem 1rem 0.55rem 0.55rem; border-radius: 999px; font: 500 0.92rem var(--sans); color: var(--nuit-texte);
  background: rgba(18, 13, 38, 0.55); border: 1px solid var(--nuit-trait); backdrop-filter: blur(10px); cursor: pointer;
}
.lecture b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--violet); }
.lecture em { font-style: normal; font-family: var(--mono); font-size: 0.72rem; color: var(--nuit-doux); letter-spacing: 0.08em; }

.scene { position: absolute; inset: 0; display: grid; grid-template-columns: 1.1fr 0.5fr 0.9fr; align-items: center; padding: 64px clamp(20px, 5%, 64px) 70px; z-index: 2; }
.doc { position: relative; display: grid; width: min(330px, 100%); justify-self: end; transform: rotate(-2.5deg); }
.doc__papier, .doc__app { grid-area: 1 / 1; }
.doc__papier, .doc__app { border-radius: 12px; padding: 20px 20px 18px; }
.doc__papier { background: var(--papier) var(--grain); color: var(--encre); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6); }
.doc__titre { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; border-bottom: 2px solid var(--encre); padding-bottom: 6px; margin-bottom: 10px; }
.ligne { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; border-bottom: 1px solid rgba(51, 51, 51, 0.45); padding: 6px 0 2px; font-size: 0.66rem; color: var(--encre-douce); }
.ligne b { font: 400 1.25rem/1 var(--main); color: var(--stylo); }
.cases { display: flex; gap: 12px; font-size: 0.64rem; padding: 10px 0 4px; color: var(--encre-douce); }
.cases span { display: inline-flex; align-items: center; gap: 4px; }
.cases i { width: 10px; height: 10px; border: 1px solid var(--encre); display: inline-grid; place-items: center; font: 400 0.9rem/1 var(--main); color: var(--stylo); font-style: normal; }
.signature { margin-top: 8px; font-size: 0.6rem; color: var(--encre-douce); border-top: 1px solid rgba(51, 51, 51, 0.45); padding-top: 4px; position: relative; height: 34px; }
.signature svg { position: absolute; left: 30%; top: -22px; width: 110px; color: var(--stylo); }

.doc__app {
  position: relative; display: grid; align-content: start; gap: 9px;
  background: linear-gradient(160deg, rgba(52, 40, 120, 0.97), rgba(20, 14, 44, 0.98));
  border: 1px solid rgba(202, 147, 255, 0.35); color: var(--nuit-texte);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  clip-path: inset(0 0 100% 0); animation: revele 8s ease-in-out infinite;
}
.app__barre { display: flex; justify-content: space-between; color: var(--nuit-doux); }
.app__progression { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.app__progression i { display: block; width: 66%; height: 100%; background: var(--aurore); }
.champ { display: grid; gap: 3px; }
.champ small { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--nuit-doux); }
.champ span { padding: 6px 9px; border-radius: 8px; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--nuit-trait); font-size: 0.8rem; }
.puces { display: flex; gap: 6px; flex-wrap: wrap; }
.puces span { padding: 3px 9px; border-radius: 999px; border: 1px solid var(--nuit-trait); font-size: 0.7rem; color: var(--nuit-doux); }
.puces .choisie { background: var(--violet); border-color: transparent; color: var(--blanc); }
.saute { display: flex; justify-content: space-between; align-items: center; padding: 5px 9px; border-radius: 8px; border: 1px dashed var(--nuit-trait); font-size: 0.68rem; color: var(--nuit-doux); text-decoration: line-through; text-decoration-color: rgba(185, 176, 218, 0.6); }
.saute em { font-style: normal; text-decoration: none; font-family: var(--mono); font-size: 0.54rem; letter-spacing: 0.1em; color: #5CF2B0; }
.app__signer { margin-top: 2px; padding: 8px; border-radius: 999px; text-align: center; font-size: 0.78rem; font-weight: 500; background: var(--violet); }
.faisceau {
  position: absolute; left: -8%; right: -8%; top: 0; height: 3px; border-radius: 3px; background: var(--aurore); z-index: 4;
  box-shadow: 0 0 14px 3px rgba(202, 147, 255, 0.75), 0 0 40px 10px rgba(83, 103, 255, 0.35);
  animation: balayage 8s ease-in-out infinite; opacity: 0;
}

.flux { position: relative; height: 2px; margin-inline: 8%; background: repeating-linear-gradient(90deg, rgba(208, 198, 243, 0.35) 0 6px, transparent 6px 12px); }
.flux i { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--aurore-3); box-shadow: 0 0 14px var(--aurore-3); opacity: 0; animation: envoi 8s ease-in-out infinite; }

.dossier {
  justify-self: start; width: min(250px, 100%); padding: 14px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--nuit-trait); backdrop-filter: blur(12px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
.dossier__tete { display: flex; align-items: center; gap: 8px; color: var(--nuit-doux); margin-bottom: 10px; }
.dossier__tete svg { width: 18px; color: var(--aurore-3); }
.fichier { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; font-size: 0.72rem; color: var(--nuit-doux); }
.fichier + .fichier { border-top: 1px solid rgba(208, 198, 243, 0.08); }
.fichier--neuf { color: var(--nuit-texte); background: rgba(92, 242, 176, 0.08); border: 1px solid rgba(92, 242, 176, 0.3); animation: arrivee 8s ease-in-out infinite; }
.fichier--neuf em { font-style: normal; font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.08em; color: #5CF2B0; }

@keyframes revele {
  0%, 8% { clip-path: inset(0 0 100% 0); }
  48% { clip-path: inset(0 0 0% 0); }
  90% { clip-path: inset(0 0 0% 0); }
  98%, 100% { clip-path: inset(0 0 100% 0); }
}
@keyframes balayage {
  0%, 7% { top: 0%; opacity: 0; }
  10% { opacity: 1; }
  48% { top: 100%; opacity: 1; }
  53%, 100% { top: 100%; opacity: 0; }
}
@keyframes envoi {
  0%, 50% { left: 0%; opacity: 0; }
  53% { opacity: 1; }
  62% { left: calc(100% - 10px); opacity: 1; }
  65%, 100% { left: calc(100% - 10px); opacity: 0; }
}
@keyframes arrivee {
  0%, 60% { opacity: 0; transform: translateY(8px); }
  66%, 92% { opacity: 1; transform: none; }
  99%, 100% { opacity: 0; transform: none; }
}
@keyframes pouls { 50% { opacity: 0.35; } }

@media (max-width: 760px) {
  .ecran { aspect-ratio: auto; }
  .scene { position: relative; grid-template-columns: 1fr; grid-template-rows: auto 34px auto; justify-items: center; padding: 58px 20px 88px; gap: 6px; }
  .doc { justify-self: center; width: min(290px, 88%); }
  .flux { width: 2px; height: 100%; margin: 0; background: repeating-linear-gradient(180deg, rgba(208, 198, 243, 0.35) 0 6px, transparent 6px 12px); }
  .flux i { left: -4px !important; animation-name: envoi-vertical; }
  .dossier { justify-self: center; width: min(290px, 88%); }
}
@keyframes envoi-vertical {
  0%, 50% { top: 0%; opacity: 0; }
  53% { opacity: 1; }
  62% { top: calc(100% - 10px); opacity: 1; }
  65%, 100% { top: calc(100% - 10px); opacity: 0; }
}

.confiance { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 2rem; margin-top: 2rem; }
.confiance span { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.92rem; color: var(--encre-douce); }
.confiance svg { width: 18px; color: var(--violet); flex: none; }

/* -- sections papier ---------------------------------------------------------- */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.entete-section { display: grid; gap: 1rem; max-width: 780px; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.entete-section--centre { margin-inline: auto; text-align: center; justify-items: center; }
.entete-section p { margin: 0; }

.douleurs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.6rem); }
.douleur { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; padding: 1.5rem; border-radius: 22px; background: rgba(255, 255, 255, 0.55); border: 1px solid rgba(51, 51, 51, 0.06); }
.douleur p { margin: 0.35rem 0 0; color: var(--encre-douce); }
.tache { width: 62px; height: 58px; display: grid; place-items: center; border-radius: 58% 42% 55% 45% / 50% 60% 40% 50%; flex: none; }
.tache svg { width: 28px; height: 28px; color: var(--encre); }
.tache--rose { background: var(--rose); }
.tache--menthe { background: var(--menthe); border-radius: 45% 55% 40% 60% / 60% 45% 55% 40%; }
.tache--bleu { background: var(--bleu); border-radius: 52% 48% 62% 38% / 42% 58% 42% 58%; }
.tache--lavande { background: var(--lavande); border-radius: 40% 60% 48% 52% / 55% 40% 60% 45%; }
.tache--jaune { background: var(--jaune); }
@media (max-width: 760px) { .douleurs { grid-template-columns: 1fr; } }

/* -- horizon : le papier devient nuit ----------------------------------------- */
.horizon { position: relative; background: var(--nuit); color: var(--nuit-texte); padding-block: clamp(5rem, 11vw, 9rem) clamp(3rem, 6vw, 5rem); text-align: center; overflow: hidden; }
.horizon::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--aurore);
  box-shadow: 0 0 18px 4px rgba(202, 147, 255, 0.6), 0 0 80px 30px rgba(83, 103, 255, 0.35);
}
.horizon::after {
  content: ""; position: absolute; left: 50%; top: -40%; width: 120%; height: 80%; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(83, 103, 255, 0.35), rgba(255, 101, 53, 0.12) 40%, transparent 70%);
  filter: blur(20px); pointer-events: none;
}
.horizon h2 { position: relative; z-index: 1; font-size: clamp(2.2rem, 5.6vw, 4.6rem); max-width: 16ch; margin-inline: auto; }
.horizon .etiquette { position: relative; z-index: 1; display: block; color: var(--nuit-doux); margin-bottom: 1.4rem; }

/* -- nuit ---------------------------------------------------------------------- */
.nuit { position: relative; background: var(--nuit); color: var(--nuit-texte); overflow: hidden; }
.nuit::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(208, 198, 243, 0.12) 1px, transparent 1.2px); background-size: 26px 26px;
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
}
.nuit .chapeau, .nuit p { color: var(--nuit-doux); }
.nuit .etiquette { color: var(--aurore-3); }
.lueur { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; opacity: 0.35; }
.lueur--bleu { width: 520px; height: 520px; background: var(--aurore-2); left: -180px; top: 20%; }
.lueur--orange { width: 420px; height: 420px; background: var(--aurore-1); right: -160px; bottom: 5%; opacity: 0.18; }
.nuit .conteneur { position: relative; z-index: 1; }

.piliers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.pilier {
  display: grid; grid-template-rows: auto auto 1fr; gap: 0.8rem; padding: 1.6rem; border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--nuit-trait); backdrop-filter: blur(14px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.pilier:hover { transform: translateY(-4px); border-color: rgba(202, 147, 255, 0.45); }
.pilier p { margin: 0; }
.mini { margin-top: 0.6rem; padding: 0.9rem; border-radius: 16px; background: rgba(18, 13, 38, 0.7); border: 1px solid var(--nuit-trait); display: grid; gap: 7px; align-content: start; font-size: 0.78rem; }
.mini .champ span { font-size: 0.78rem; }
.mini__telephone { display: flex; align-items: center; gap: 12px; }
.mini__telephone i { width: 44px; height: 44px; border-radius: 12px; background: var(--aurore); display: grid; place-items: center; font: 700 1.1rem var(--mono); color: var(--blanc); font-style: normal; flex: none; }
.mini__pastille { justify-self: start; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--nuit-trait); font-size: 0.72rem; color: var(--nuit-texte); }
.mini__tableur { display: grid; grid-template-columns: 1.4fr 1fr 0.8fr; gap: 1px; background: var(--nuit-trait); border-radius: 8px; overflow: hidden; font-family: var(--mono); font-size: 0.6rem; }
.mini__tableur span { background: var(--nuit-2); padding: 5px 6px; color: var(--nuit-doux); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini__tableur .ok { color: #5CF2B0; }
@media (max-width: 900px) { .piliers { grid-template-columns: 1fr; } }

.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; position: relative; }
.etapes::before { content: ""; position: absolute; left: 6%; right: 6%; top: 27px; height: 1px; background: linear-gradient(90deg, transparent, rgba(202, 147, 255, 0.6), transparent); }
.etape { position: relative; display: grid; gap: 0.7rem; padding-top: 0.2rem; }
.etape__num {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font: 500 0.95rem var(--mono);
  background: var(--nuit); border: 1px solid rgba(202, 147, 255, 0.55); color: var(--nuit-texte);
  box-shadow: 0 0 24px -4px rgba(202, 147, 255, 0.6);
}
.etape p { margin: 0; }
.apres-etapes { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 3rem; }
.nuit .micro { color: var(--nuit-doux); }
@media (max-width: 900px) {
  .etapes { grid-template-columns: 1fr; gap: 2rem; }
  .etapes::before { left: 27px; right: auto; top: 20px; bottom: 20px; width: 1px; height: auto; background: linear-gradient(180deg, transparent, rgba(202, 147, 255, 0.6), transparent); }
  .etape { grid-template-columns: 56px 1fr; column-gap: 1.1rem; }
  .etape > :not(.etape__num) { grid-column: 2; }
  .etape__num { grid-row: span 2; }
}

/* flux de securite */
.securite { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.schema { position: relative; padding: 1.4rem; border-radius: 26px; border: 1px solid var(--nuit-trait); background: rgba(255, 255, 255, 0.03); display: grid; gap: 0.9rem; }
.noeud { display: flex; align-items: center; gap: 0.9rem; padding: 0.9rem 1rem; border-radius: 16px; background: var(--nuit-2); border: 1px solid var(--nuit-trait); }
.noeud svg { width: 22px; height: 22px; flex: none; color: var(--aurore-3); }
.noeud b { display: block; font-weight: 500; color: var(--nuit-texte); }
.noeud small { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--nuit-doux); }
.noeud--baa { border-color: rgba(92, 242, 176, 0.45); box-shadow: 0 0 30px -10px rgba(92, 242, 176, 0.45); }
.noeud--baa small { color: #5CF2B0; }
.noeud--nous { background: transparent; border-style: dashed; }
.lien { position: relative; height: 26px; margin-left: 2.1rem; width: 2px; background: linear-gradient(180deg, rgba(202, 147, 255, 0.7), rgba(83, 103, 255, 0.5)); }
.lien em { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-style: normal; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--nuit-doux); }
.lien--compte { background: repeating-linear-gradient(180deg, rgba(185, 176, 218, 0.5) 0 4px, transparent 4px 8px); }
.securite .liste-verifiee { margin-top: 1.5rem; }
@media (max-width: 900px) { .securite { grid-template-columns: 1fr; } }

.liste-verifiee { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.liste-verifiee li { display: grid; grid-template-columns: 24px 1fr; gap: 0.7rem; align-items: start; }
.liste-verifiee li::before {
  content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--violet)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* -- retour au papier : objections, types, prix -------------------------------- */
/* lever du jour : le papier revient en arc, bord souligne d'une lueur aurore */
.aube { position: relative; height: clamp(90px, 11vw, 150px); background: var(--nuit); overflow: hidden; }
.aube::before {
  content: ""; position: absolute; left: -45%; right: -45%; top: 34%; height: 260%;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: var(--papier) var(--grain);
  box-shadow: 0 -1.5px 0 rgba(202, 147, 255, 0.95), 0 -8px 26px rgba(83, 103, 255, 0.5), 0 -26px 80px rgba(255, 101, 53, 0.1);
}
.aube::after {
  content: ""; position: absolute; left: 50%; top: 20%; width: 60%; height: 60%; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(202, 147, 255, 0.35), transparent 70%); filter: blur(18px); pointer-events: none;
}

.comparaison { display: grid; grid-template-columns: 1fr 1.08fr; gap: 1rem; align-items: stretch; }
.colonne { border-radius: 26px; padding: clamp(1.4rem, 3vw, 2rem); display: grid; align-content: start; gap: 1.1rem; }
.colonne--eux { background: var(--sable) var(--grain); color: var(--encre-douce); }
.colonne--nous { background: var(--blanc); border: 2px solid var(--violet); box-shadow: 0 30px 70px -40px rgba(105, 86, 249, 0.55); position: relative; }
.colonne--nous::before { content: ""; position: absolute; left: 24px; right: 24px; top: -2px; height: 3px; border-radius: 3px; background: var(--aurore); }
.colonne h3 { font-family: var(--mono); font-weight: 500; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.rangee { display: grid; gap: 0.2rem; padding-top: 1rem; border-top: 1px solid rgba(51, 51, 51, 0.1); }
.rangee small { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--encre-douce); opacity: 0.8; }
.rangee span { font-size: 1.05rem; }
.colonne--nous .rangee span { color: var(--encre); font-weight: 500; }
@media (max-width: 760px) { .comparaison { grid-template-columns: 1fr; } }

.types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.type {
  display: grid; justify-items: center; align-content: start; gap: 1rem; text-align: center; padding: 1.8rem 1rem 1.6rem;
  border-radius: 24px; background: var(--sable) var(--grain); transition: transform 0.25s ease, background-color 0.25s ease;
}
.type:hover { transform: translateY(-4px) rotate(-0.6deg); background-color: #F2E8E2; }
.type b { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; line-height: 1.3; color: var(--encre); }
.type--dernier { background: transparent; border: 1.5px dashed rgba(51, 51, 51, 0.3); }
@media (max-width: 900px) { .types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.duo { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1rem; }
.carte { border-radius: 28px; padding: clamp(1.6rem, 4vw, 2.6rem); display: grid; align-content: start; gap: 1rem; }
.carte--prix { background: linear-gradient(145deg, #E7DFFB, var(--lavande)); position: relative; overflow: hidden; }
.carte--prix::after { content: "$75"; position: absolute; right: -0.08em; bottom: -0.28em; font: 700 italic clamp(7rem, 16vw, 12rem)/1 var(--serif); color: rgba(105, 86, 249, 0.12); pointer-events: none; }
.carte--garantie { background: var(--rose) var(--grain); }
.carte h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.carte p { margin: 0; max-width: 46ch; }
.carte .bouton { justify-self: start; position: relative; z-index: 1; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }

.faq { display: grid; gap: 0.7rem; max-width: 820px; margin-inline: auto; }
.faq details { border-radius: 18px; background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(51, 51, 51, 0.07); padding: 0 1.4rem; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; font-weight: 500; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.5rem/1 var(--mono); color: var(--violet); transition: transform 0.25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.2rem; color: var(--encre-douce); max-width: 65ch; }

/* -- final ----------------------------------------------------------------------- */
.final { text-align: center; padding-block: clamp(5rem, 11vw, 9rem); }
.final .conteneur { display: grid; justify-items: center; gap: 1.4rem; }
.final h2 { font-size: clamp(2.4rem, 6vw, 5rem); max-width: 14ch; }
.final__aurore {
  position: absolute; left: 50%; bottom: -55%; width: 140%; height: 100%; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse at 30% 50%, rgba(255, 101, 53, 0.45), transparent 55%),
              radial-gradient(ellipse at 55% 45%, rgba(83, 103, 255, 0.55), transparent 55%),
              radial-gradient(ellipse at 78% 55%, rgba(202, 147, 255, 0.5), transparent 55%);
  filter: blur(40px); animation: respire 9s ease-in-out infinite alternate;
}
@keyframes respire { to { transform: translateX(-50%) scale(1.08); opacity: 0.8; } }

.pied { border-top: 1px solid var(--nuit-trait); padding-block: 2rem calc(2rem + env(safe-area-inset-bottom, 0px)); }
.pied .conteneur { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; color: var(--nuit-doux); font-size: 0.9rem; }
.pied nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.pied a { text-decoration: none; color: var(--nuit-doux); }
.pied a:hover { color: var(--nuit-texte); }
.pied .marque__nom small { color: var(--nuit-doux); }

/* -- tarifs ---------------------------------------------------------------------- */
.offre {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; text-align: left;
  width: min(1060px, 100%); margin-top: clamp(1.5rem, 4vw, 3rem); padding: clamp(1.6rem, 4vw, 3rem); border-radius: 32px;
  background: var(--blanc) var(--grain); border: 2px solid var(--violet); box-shadow: 0 50px 100px -50px rgba(105, 86, 249, 0.6); position: relative;
}
.offre::before { content: ""; position: absolute; left: 32px; right: 32px; top: -2px; height: 3px; border-radius: 3px; background: var(--aurore); }
.offre__prix { display: grid; gap: 1rem; justify-items: start; }
.montant { display: flex; align-items: flex-start; gap: 0.3rem; line-height: 0.9; }
.montant b { font: 700 italic clamp(4.5rem, 10vw, 7rem)/0.9 var(--serif); letter-spacing: -0.04em; }
.montant span { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--encre-douce); margin-top: 0.8rem; line-height: 1.5; }
.pastille-offerte { display: inline-flex; padding: 0.35rem 0.8rem; border-radius: 999px; background: var(--menthe); font-weight: 500; font-size: 0.9rem; }
.offre__prix p { margin: 0; color: var(--encre-douce); }
@media (max-width: 860px) { .offre { grid-template-columns: 1fr; } }

.chronologie { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; position: relative; }
.chronologie::before { content: ""; position: absolute; left: 4%; right: 4%; top: 11px; height: 1px; background: linear-gradient(90deg, rgba(202, 147, 255, 0.2), rgba(202, 147, 255, 0.7), rgba(92, 242, 176, 0.6)); }
.moment { display: grid; gap: 0.6rem; align-content: start; }
.moment__point { width: 22px; height: 22px; border-radius: 50%; background: var(--nuit); border: 2px solid var(--aurore-3); box-shadow: 0 0 16px -2px rgba(202, 147, 255, 0.8); position: relative; }
.moment__point--fin { border-color: #5CF2B0; box-shadow: 0 0 16px -2px rgba(92, 242, 176, 0.8); }
.moment .etiquette { color: var(--aurore-3); }
.moment h3 { color: var(--nuit-texte); }
.moment p { margin: 0; font-size: 0.95rem; }
.issues { display: grid; gap: 0.5rem; margin-top: 0.3rem; }
.issue { display: flex; justify-content: space-between; gap: 0.6rem; padding: 0.55rem 0.8rem; border-radius: 12px; font-size: 0.88rem; border: 1px solid var(--nuit-trait); background: rgba(255, 255, 255, 0.04); color: var(--nuit-texte); }
.issue em { font-style: normal; font-family: var(--mono); font-size: 0.72rem; color: #5CF2B0; white-space: nowrap; }
.issue--zero em { color: var(--nuit-doux); }
@media (max-width: 900px) {
  .chronologie { grid-template-columns: 1fr; gap: 1.8rem; padding-left: 2.2rem; }
  .chronologie::before { left: 10px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; background: linear-gradient(180deg, rgba(202, 147, 255, 0.7), rgba(92, 242, 176, 0.6)); }
  .moment__point { position: absolute; left: -2.2rem; top: 0; }
  .moment { position: relative; }
}

.garanties { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.garantie { display: grid; gap: 0.8rem; align-content: start; padding: 1.7rem; border-radius: 24px; background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(51, 51, 51, 0.06); }
.garantie p { margin: 0; color: var(--encre-douce); }
@media (max-width: 900px) { .garanties { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .doc__app { clip-path: none; }
  .faisceau, .flux i { display: none; }
  .fichier--neuf { opacity: 1; transform: none; }
}

/* arc retourne : le papier se referme sur la nuit */
.aube--descente { transform: scaleY(-1); }
/* l'arc remplace la ligne droite de l'horizon */
.aube--descente + .horizon::before { display: none; }

/* sections de nuit consecutives : un seul fond continu, aucune couture entre elles */
.nuit-continue { position: relative; background: var(--nuit); overflow: hidden; }
.nuit-continue::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(208, 198, 243, 0.12) 1px, transparent 1.2px); background-size: 26px 26px;
}
.nuit-continue > .nuit, .nuit-continue > .horizon { background: transparent; overflow: visible; }
.nuit-continue > .nuit::before { display: none; }
.nuit-continue > .nuit > .lueur { opacity: 0.22; }

/* sous un arc, l horizon ne redessine ni sa ligne droite ni sa lueur (meme dans la nuit continue) */
.aube--descente + .horizon::before, .aube--descente + .horizon::after,
.aube--descente + .nuit-continue > .horizon:first-child::before,
.aube--descente + .nuit-continue > .horizon:first-child::after { display: none; }

/* la grille de points apparait et disparait en fondu aux bords du bloc de nuit */
.nuit-continue::before { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 260px, #000 calc(100% - 260px), transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 260px, #000 calc(100% - 260px), transparent 100%); }

/* -- moteur du site : elements produits par les modules JS -------------------- */
[hidden] { display: none !important; }
.message { margin: 0; padding: 0.85em 1.1em; border-radius: 14px; font-size: 0.95rem; line-height: 1.5; }
.message a { color: inherit; font-weight: 500; }
.message--erreur { background: rgba(248, 204, 204, 0.6); color: #7A1F1F; border: 1px solid rgba(180, 35, 24, 0.22); }
.message--succes { background: var(--menthe); color: #0B5B3D; border: 1px solid rgba(11, 91, 61, 0.18); }
.nuit .message--erreur, .carte-drive .message--erreur { background: rgba(255, 101, 53, 0.14); color: #FFD9CC; border-color: rgba(255, 138, 92, 0.35); }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bouton:disabled, .petit-bouton:disabled, .bouton-google:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.est-arme { box-shadow: 0 0 0 3px rgba(255, 101, 53, 0.55) !important; }
.carte-demo { display: grid; gap: 0.5rem; padding: 1rem 1.1rem; border: 1px dashed rgba(51, 51, 51, 0.25); border-radius: 16px; background: var(--blanc); }
.carte-demo p { margin: 0; font-size: 0.85rem; color: var(--encre-douce); }
.carte-demo .titre { font: 500 0.75rem var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--encre-douce); }
.carte-demo input { font: inherit; padding: 0.75em 0.9em; border-radius: 12px; border: 1px solid rgba(51, 51, 51, 0.2); background: var(--papier); }
.apercu-cadre { display: block; width: 100%; height: 100%; border: 0; background: var(--blanc); }
.vide-etat { margin: 0; color: var(--encre-douce); font-size: 0.95rem; }
.lien-email { display: grid; gap: 1.1rem; }
.statut-lien { margin: 0; font-size: 0.92rem; color: var(--encre-douce); }
.statut-lien:empty { display: none; }
.deja { margin: 0; padding: 0.7rem 0.9rem; border-radius: 14px; background: var(--menthe); font-size: 0.92rem; }
