/* ═══════════════ Octopus 360 — site octopus-360.com ═══════════════
   Thème BLANC et ROUGE (identité Octopus) : fond blanc, textes presque noirs, accent rouge, teintes rosées
   à la place des gris. Aucune ressource externe (polices hébergées sur le site), aucun style en ligne (CSP). */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/inter-latin.woff2) format("woff2"); 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: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/inter-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url(/assets/fonts/jetbrains-mono-latin.woff2) format("woff2"); }

:root {
  --blanc: #ffffff; --rose: #fff5f6; --rose-2: #ffe9ec; --rose-3: #ffd9df; --ligne: #f6d4da; --ligne-2: #eeb9c2;
  --texte: #120a0c; --texte-2: #3b2a2e; --doux: #6e4a51;
  --rouge: #d3132f; --rouge-vif: #ec1f3d; --rouge-fonce: #a50e24; --rouge-nuit: #6d0717;
  --vert: #12a46b;
  --police: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, "Cascadia Mono", monospace;
  --largeur: 1220px; --marge: 28px; --rayon: 16px;
  --ombre: 0 30px 70px -28px rgba(165, 14, 36, .35), 0 12px 30px -18px rgba(18, 10, 12, .25);
  --entree: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--blanc); color: var(--texte); font: 400 16px/1.6 var(--police); font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, canvas { display: block; max-width: 100%; }
svg { max-width: 100%; }
.bouton-google svg, .bouton-google img { display: inline-block; max-width: none; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -.025em; font-weight: 750; }
button { font: inherit; color: inherit; }
::selection { background: var(--rouge); color: #fff; }
:focus-visible { outline: 2px solid var(--rouge); outline-offset: 3px; border-radius: 4px; }
.cache-visuel { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 var(--marge); }
.mono { font-family: var(--mono); }
.rouge { color: var(--rouge); }

/* ── Boutons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; height: 50px; padding: 0 24px; border-radius: 12px; font-weight: 650; font-size: 15px; letter-spacing: -.005em; border: 1.5px solid transparent; cursor: pointer; transition: transform .25s var(--entree), background .2s, border-color .2s, box-shadow .25s, color .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-rouge { background: linear-gradient(180deg, var(--rouge-vif), var(--rouge)); color: #fff; box-shadow: 0 12px 28px -12px rgba(211, 19, 47, .75), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn-rouge:hover { transform: translateY(-2px); background: linear-gradient(180deg, var(--rouge), var(--rouge-fonce)); box-shadow: 0 18px 36px -14px rgba(211, 19, 47, .85); }
.btn-contour { background: var(--blanc); border-color: var(--ligne-2); color: var(--rouge-fonce); }
.btn-contour:hover { border-color: var(--rouge); color: var(--rouge); transform: translateY(-2px); }
.btn-blanc { background: #fff; color: var(--rouge); box-shadow: 0 14px 30px -14px rgba(60, 0, 10, .6); }
.btn-blanc:hover { transform: translateY(-2px); background: var(--rose); }
.btn-transparent { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-transparent:hover { border-color: #fff; background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.btn-petit { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn[disabled], .btn.inactif { opacity: .45; pointer-events: none; }
.lien-fleche { display: inline-flex; align-items: center; gap: .45em; color: var(--rouge); font-weight: 650; font-size: 15px; }
.lien-fleche::after { content: "→"; transition: transform .25s var(--entree); }
.lien-fleche:hover::after { transform: translateX(4px); }

/* ── En-tête ── */
.entete { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.entete.defile { background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px) saturate(1.5); -webkit-backdrop-filter: blur(14px) saturate(1.5); box-shadow: 0 1px 0 var(--ligne), 0 10px 30px -22px rgba(165, 14, 36, .4); }
.entete .conteneur { display: flex; align-items: center; height: 74px; gap: 28px; }
.marque { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: .06em; font-size: 15px; flex: none; color: var(--texte); }
.marque img { width: 36px; height: 36px; filter: drop-shadow(0 6px 12px rgba(211, 19, 47, .35)); transition: transform .6s var(--entree); }
.marque:hover img { transform: rotate(-25deg); }
.marque b { color: var(--rouge); font-weight: 800; }
.nav { display: flex; gap: 2px; margin-right: auto; }
.nav a { padding: 8px 13px; border-radius: 9px; color: var(--texte-2); font-size: 14.5px; font-weight: 550; transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--rouge); background: var(--rose); }
.entete-actions { display: flex; align-items: center; gap: 10px; }
.langue { font-family: var(--mono); font-size: 12.5px; color: var(--rouge-fonce); padding: 6px 9px; border: 1px solid var(--ligne); border-radius: 8px; letter-spacing: .04em; font-weight: 600; }
.langue:hover { border-color: var(--rouge); color: var(--rouge); }
.burger { display: none; width: 44px; height: 44px; border: 1.5px solid var(--ligne-2); border-radius: 10px; background: var(--blanc); cursor: pointer; padding: 0; }
.burger span { display: block; width: 18px; height: 2px; background: var(--rouge); margin: 4px auto; border-radius: 2px; transition: transform .3s var(--entree), opacity .2s; }
.menu-ouvert .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-ouvert .burger span:nth-child(2) { opacity: 0; }
.menu-ouvert .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Héros ── */
.heros { position: relative; min-height: min(100svh, 980px); display: flex; align-items: center; padding: 110px 0 70px; overflow: hidden; isolation: isolate; background: var(--blanc); }
.heros::before { content: ""; position: absolute; z-index: -2; width: 1100px; height: 1100px; right: -280px; top: 50%; margin-top: -560px; border-radius: 50%; background: radial-gradient(closest-side, rgba(236, 31, 61, .22), rgba(236, 31, 61, .08) 55%, transparent 72%); opacity: 0; animation: apparait 1.8s .1s var(--entree) forwards; }
.heros::after { content: ""; position: absolute; z-index: -2; inset: auto 0 0; height: 160px; background: linear-gradient(180deg, transparent, var(--blanc)); }
.spirale { position: absolute; z-index: 0; left: -10%; top: -8%; width: 120%; height: auto; pointer-events: none; overflow: visible; }
.spirale path { fill: none; stroke: var(--rouge); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: trace 3.2s .2s var(--entree) forwards; }
.spirale .s1 { stroke-width: 2.2; opacity: .55; }
.spirale .s2 { stroke-width: 1.2; opacity: .28; animation-delay: .45s; animation-duration: 3.6s; }
.spirale circle { fill: var(--blanc); stroke: var(--rouge); stroke-width: 1.6; opacity: 0; animation: ventouse .6s var(--entree) forwards; transform-box: fill-box; transform-origin: center; }
.spirale .c1 { animation-delay: 1.9s } .spirale .c2 { animation-delay: 2s } .spirale .c3 { animation-delay: 2.1s } .spirale .c4 { animation-delay: 2.2s } .spirale .c5 { animation-delay: 2.3s } .spirale .c6 { animation-delay: 2.4s } .spirale .c7 { animation-delay: 2.5s } .spirale .c8 { animation-delay: 2.6s }
@keyframes ventouse { from { opacity: 0; transform: scale(.2); } to { opacity: .7; transform: none; } }
.section-rouge .lien-fleche { color: #fff; }
.heros-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: 30px; }
.surtitre { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--rouge); font-weight: 600; margin-bottom: 26px; padding: 7px 14px 7px 12px; border-radius: 30px; background: var(--rose); border: 1px solid var(--ligne); }
.surtitre::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rouge); box-shadow: 0 0 0 4px rgba(211, 19, 47, .15); }
.heros h1 { font-size: clamp(2.8rem, 5.7vw, 5.1rem); font-weight: 800; letter-spacing: -.048em; line-height: .98; }
.heros h1 .ligne { display: block; overflow: hidden; padding-bottom: .07em; }
.heros h1 .mot { display: inline-block; transform: translateY(105%); animation: monte 1s var(--entree) forwards; }
.heros h1 .accent { color: var(--rouge); }
.mot.w1 { animation-delay: .25s } .mot.w2 { animation-delay: .33s } .mot.w3 { animation-delay: .41s } .mot.w4 { animation-delay: .49s } .mot.w5 { animation-delay: .57s } .mot.w6 { animation-delay: .65s } .mot.w7 { animation-delay: .73s } .mot.w8 { animation-delay: .81s }
.heros .chapeau { font-size: clamp(1.03rem, 1.35vw, 1.2rem); color: var(--texte-2); max-width: 34em; margin: 28px 0 34px; line-height: 1.6; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.heros-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; font-family: var(--mono); font-size: 12.5px; color: var(--doux); }
.heros-meta span { display: inline-flex; align-items: center; gap: 8px; }
.heros-meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--rouge); opacity: .45; }
.heros-meta .ok { color: var(--vert); font-weight: 600; }
.heros-meta .ok::before { background: var(--vert); opacity: 1; box-shadow: 0 0 0 3px rgba(18, 164, 107, .18); }
.entre { opacity: 0; transform: translateY(18px); animation: entre .9s var(--entree) forwards; }
.r1 { animation-delay: .55s } .r2 { animation-delay: .7s } .r3 { animation-delay: .85s } .r4 { animation-delay: 1s } .r5 { animation-delay: 1.15s }

/* Vue 3D */
.scene { position: relative; aspect-ratio: 1 / .96; width: 100%; max-width: 680px; margin-left: auto; opacity: 0; animation: apparait 1.2s .35s var(--entree) forwards; }
.scene canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1s var(--entree); cursor: grab; touch-action: pan-y; }
.scene canvas:active { cursor: grabbing; }
.scene.prete canvas { opacity: 1; }
.scene .repli-3d { position: absolute; inset: 6% 4% 12%; opacity: 0; transition: opacity .8s; }
.scene .repli-3d img { width: 100%; height: 100%; object-fit: contain; }
.scene.sans-3d .repli-3d { opacity: 1; }
.scene.sans-3d canvas { display: none; }
.viseur { position: absolute; inset: 0; pointer-events: none; }
.viseur i { position: absolute; width: 22px; height: 22px; border-color: var(--rouge); border-style: solid; border-width: 0; opacity: .55; }
.viseur i:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.viseur i:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.viseur i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.viseur i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.etiquette-vue { position: absolute; top: 14px; left: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--doux); text-transform: uppercase; }
.etiquette-vue b { color: var(--rouge); font-weight: 600; }
.etapes-3d { position: absolute; left: 32px; right: 32px; bottom: -6px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; pointer-events: none; margin: 0; padding: 0; }
.etapes-3d li { list-style: none; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; color: var(--ligne-2); padding-top: 9px; border-top: 2px solid var(--rose-3); transition: color .4s, border-color .4s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.etapes-3d li b { color: inherit; font-weight: 700; margin-right: 5px; }
.etapes-3d li.faite { color: var(--texte-2); border-color: var(--rouge-fonce); }
.etapes-3d li.en-cours { color: var(--rouge); border-color: var(--rouge-vif); }
.defiler-indice { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 24px; height: 38px; border: 2px solid var(--ligne-2); border-radius: 12px; opacity: 0; animation: apparait 1s 2.4s forwards; }
.defiler-indice::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--rouge); animation: molette 1.8s 2.6s infinite; }

/* ── Bandeau défilant (rouge) ── */
.bandeau { background: linear-gradient(90deg, var(--rouge-fonce), var(--rouge) 30%, var(--rouge-vif) 70%, var(--rouge)); overflow: hidden; padding: 17px 0; }
.bandeau ul { display: flex; gap: 44px; width: max-content; margin: 0; padding: 0; animation: defile 60s linear infinite; }
.bandeau li { list-style: none; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: #fff; text-transform: uppercase; display: flex; align-items: center; gap: 44px; white-space: nowrap; font-weight: 500; }
.bandeau li::after { content: "✦"; color: rgba(255, 255, 255, .6); font-size: 10px; }
.bandeau:hover ul { animation-play-state: paused; }

/* ── Chiffres ── */
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); }
.chiffres > div { padding: 44px 28px; border-right: 1px solid var(--ligne); }
.chiffres > div:last-child { border-right: 0; }
.chiffres strong { display: block; font-size: clamp(2.2rem, 3.6vw, 3.1rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; color: var(--rouge); }
.chiffres strong small { font-size: .5em; margin-left: 3px; letter-spacing: 0; }
.chiffres span { display: block; margin-top: 10px; color: var(--texte-2); font-size: 14.5px; }

/* ── Sections ── */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section-rose { background: linear-gradient(180deg, var(--rose), #fff 85%); }
.section-rouge { background: radial-gradient(90% 120% at 90% 0%, var(--rouge-vif), var(--rouge) 40%, var(--rouge-fonce)); color: #fff; }
.etiquette { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--rouge); font-weight: 600; margin-bottom: 22px; }
.etiquette::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.section-rouge .etiquette { color: #fff; }
.titre-section { font-size: clamp(2rem, 4.2vw, 3.4rem); max-width: 16em; }
.titre-section .doux { color: var(--rouge); }
.section-rouge .titre-section .doux { color: #ffd0d7; }
.intro { color: var(--texte-2); font-size: clamp(1rem, 1.25vw, 1.15rem); max-width: 38em; margin-top: 22px; }
.section-rouge .intro { color: #ffe6ea; }
.entete-section { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 64px; flex-wrap: wrap; }

/* Étapes 01 → 05 */
.etape { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(30px, 6vw, 90px); align-items: center; padding: 56px 0; }
.etape + .etape { border-top: 1px dashed var(--ligne-2); }
.etape:nth-child(even) { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
.etape:nth-child(even) .etape-texte { order: 2; }
.numero { font-family: var(--mono); font-size: 13px; color: var(--doux); letter-spacing: .12em; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.numero b { display: inline-grid; place-items: center; min-width: 38px; height: 28px; padding: 0 8px; border-radius: 8px; background: var(--rouge); color: #fff; font-weight: 700; font-size: 13px; }
.etape h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin-bottom: 18px; }
.etape p { color: var(--texte-2); }
.puces { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.puces li { position: relative; padding-left: 26px; color: var(--texte-2); font-size: 15px; }
.puces li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 2px; border-radius: 2px; background: var(--rouge); }

/* Fenêtre (capture du logiciel) */
.fenetre { position: relative; border-radius: var(--rayon); background: #fff; box-shadow: var(--ombre); overflow: hidden; border: 1px solid var(--ligne); transform: perspective(1600px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform .5s var(--entree), box-shadow .5s; }
.fenetre:hover { box-shadow: 0 40px 80px -28px rgba(165, 14, 36, .5), 0 14px 30px -18px rgba(18, 10, 12, .3); }
.media { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--rose), var(--rose-2)); }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; }
.media.charge img { opacity: 1; }
.media .repli { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 12px; color: var(--rouge); font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; text-align: center; padding: 20px; opacity: .6; }
.media .repli svg { width: 46px; height: 46px; }
.media.charge .repli { display: none; }
.legende { font-family: var(--mono); font-size: 11.5px; color: var(--doux); margin-top: 14px; letter-spacing: .03em; }
.legende a { color: var(--rouge); text-decoration: underline; text-underline-offset: 2px; }
.duo { position: relative; padding-bottom: 14%; }
.duo figure:nth-child(2) { position: absolute; width: 62%; right: -4%; bottom: 0; z-index: 2; margin: 0; }
figure { margin: 0; }

/* Démonstration paramétrique */
.param { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.plan-cote { background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 34px; position: relative; overflow: hidden; box-shadow: var(--ombre); }
.plan-cote svg { width: 100%; height: auto; overflow: visible; }
.plan-cote .piece { fill: rgba(211, 19, 47, .08); stroke: var(--rouge); stroke-width: 2.2; animation: largeur 6s var(--entree) infinite; transform-origin: 60px 0; }
.plan-cote .trou { fill: #fff; stroke: var(--rouge); stroke-width: 1.8; }
.plan-cote .t-droite { animation: glisse 6s var(--entree) infinite; }
.plan-cote .cote { stroke: var(--texte); stroke-width: 1; fill: none; }
.plan-cote text { font-family: var(--mono); font-size: 13px; fill: var(--texte); font-weight: 600; }
.plan-cote .val-a { animation: val-a 6s steps(1) infinite; }
.plan-cote .val-b { animation: val-b 6s steps(1) infinite; opacity: 0; fill: var(--rouge); }
.plan-cote .ligne-cote { animation: cote-l 6s var(--entree) infinite; transform-origin: 60px 0; }
.plan-cote .eq { position: absolute; top: 16px; right: 18px; font-family: var(--mono); font-size: 12px; color: var(--texte-2); background: var(--rose); border: 1px solid var(--ligne); border-radius: 8px; padding: 6px 10px; }
.plan-cote .eq b { color: var(--rouge); font-weight: 700; }
.arbre { margin-top: 26px; display: grid; gap: 6px; font-family: var(--mono); font-size: 12.5px; color: var(--texte-2); }
.arbre div { display: flex; align-items: center; gap: 10px; padding: 8px 11px; border-radius: 8px; background: var(--rose); border: 1px solid transparent; animation: reconstruit 6s infinite; }
.arbre div:nth-child(2) { animation-delay: .12s } .arbre div:nth-child(3) { animation-delay: .24s } .arbre div:nth-child(4) { animation-delay: .36s }
.arbre i { width: 8px; height: 8px; border-radius: 2px; background: var(--rouge); flex: none; }

/* Cartes */
.cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.carte { background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 28px; position: relative; overflow: hidden; transition: border-color .3s, transform .4s var(--entree), box-shadow .4s; }
.carte:hover { border-color: var(--ligne-2); transform: translateY(-4px); box-shadow: var(--ombre); }
.carte::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(236, 31, 61, .10), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.carte:hover::before { opacity: 1; }
.carte .icone { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--rouge); color: #fff; margin-bottom: 20px; box-shadow: 0 10px 22px -10px rgba(211, 19, 47, .8); }
.carte .icone svg { width: 22px; height: 22px; }
.carte h3 { font-size: 1.2rem; margin-bottom: 10px; letter-spacing: -.015em; }
.carte p { color: var(--texte-2); font-size: 15px; margin: 0; }
.carte .norme { display: inline-block; margin-top: 16px; font-family: var(--mono); font-size: 11.5px; color: var(--rouge-fonce); background: var(--rose); border: 1px solid var(--ligne); padding: 3px 8px; border-radius: 6px; margin-right: 6px; font-weight: 600; }

/* MCP : conversation */
.mcp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.discussion { background: #fff; border-radius: 20px; box-shadow: 0 40px 80px -30px rgba(60, 0, 10, .55); overflow: hidden; font-size: 14.5px; color: var(--texte); }
.discussion-entete { display: flex; align-items: center; gap: 10px; padding: 15px 20px; border-bottom: 1px solid var(--ligne); font-weight: 700; font-size: 14px; }
.discussion-entete .etoile { color: var(--rouge); font-size: 16px; }
.discussion-entete small { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--vert); font-weight: 600; display: flex; align-items: center; gap: 7px; }
.discussion-entete small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 0 3px rgba(18, 164, 107, .18); }
.discussion-corps { padding: 20px 20px 24px; display: grid; gap: 12px; min-height: 360px; align-content: start; }
.bulle { max-width: 88%; padding: 12px 16px; border-radius: 16px; line-height: 1.5; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s var(--entree); }
.bulle.vue { opacity: 1; transform: none; }
.bulle-moi { justify-self: end; background: var(--rouge); color: #fff; border-bottom-right-radius: 5px; }
.bulle-ia { background: var(--rose); color: var(--texte); border-bottom-left-radius: 5px; }
.outil { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; color: var(--rouge-fonce); font-weight: 600; padding: 8px 12px; border: 1px solid var(--ligne); border-radius: 10px; background: #fff; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--entree); }
.outil.vue { opacity: 1; transform: none; }
.outil::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--rose-3); border-top-color: var(--rouge); animation: tourne .8s linear infinite; flex: none; }
.outil.fini::before { animation: none; border: 0; background: var(--vert) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 12px no-repeat; }
.outil span { color: var(--texte-2); font-weight: 400; }

/* Offres */
.offres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 980px; margin: 0 auto; }
.offre { border: 1px solid var(--ligne); border-radius: 22px; padding: 38px; background: #fff; display: flex; flex-direction: column; position: relative; overflow: hidden; box-shadow: var(--ombre); }
.offre.vedette { border-color: transparent; background: radial-gradient(120% 90% at 100% 0%, var(--rouge-vif), var(--rouge) 45%, var(--rouge-fonce)); color: #fff; }
.offre .badge { position: absolute; top: 24px; right: 24px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 20px; background: rgba(18, 164, 107, .1); color: var(--vert); font-weight: 700; }
.offre.vedette .badge { background: rgba(255, 255, 255, .18); color: #fff; }
.offre h3 { font-size: 1.5rem; }
.offre .prix { font-size: 2.8rem; font-weight: 800; letter-spacing: -.045em; margin: 18px 0 4px; color: var(--rouge); }
.offre.vedette .prix { color: #fff; }
.offre .prix small { font-size: 1rem; font-weight: 550; color: var(--doux); letter-spacing: 0; margin-left: 6px; }
.offre.vedette .prix small, .offre.vedette .sous { color: #ffe0e5; }
.offre .sous { color: var(--texte-2); font-size: 14.5px; margin-bottom: 26px; }
.offre ul { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; flex: 1; }
.offre li { display: flex; gap: 12px; font-size: 15px; color: var(--texte-2); }
.offre.vedette li { color: #fff; }
.offre li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--rouge) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 13px no-repeat; }
.offre.vedette li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23d3132f' stroke-width='2'/%3E%3C/svg%3E"); }
.offre.vedette li.plus::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 4v8M4 8h8' fill='none' stroke='%23d3132f' stroke-width='2'/%3E%3C/svg%3E"); }
.comparatif { list-style: none; margin: 0 0 30px; padding: 0; border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; background: #fff; }
.comparatif li { display: grid; grid-template-columns: 1fr 110px 110px; align-items: center; padding: 14px 22px; border-top: 1px solid var(--ligne); font-size: 15px; }
.comparatif li:first-child { border-top: 0; }
.comparatif li b { text-align: center; color: var(--rouge); font-weight: 700; }
.comparatif .tete { background: var(--rose); font-weight: 700; }
.comparatif .tete b { color: var(--texte); }

/* Appel final (rouge) */
.appel { position: relative; overflow: hidden; border-radius: 26px; padding: clamp(46px, 7vw, 90px); background: radial-gradient(90% 140% at 90% 0%, var(--rouge-vif), var(--rouge) 45%, var(--rouge-fonce)); color: #fff; box-shadow: 0 40px 90px -40px rgba(165, 14, 36, .8); }
.appel h2 { font-size: clamp(2rem, 4.5vw, 3.6rem); max-width: 14em; }
.appel p { color: #ffe3e8; max-width: 36em; margin: 20px 0 34px; font-size: 1.1rem; }
.appel .etiquette { color: #fff; }
.appel .logo-fond { position: absolute; right: -50px; bottom: -70px; width: 420px; opacity: .2; transform: rotate(-12deg); pointer-events: none; filter: brightness(0) invert(1); }

/* Pages internes */
.page-titre { padding: 160px 0 70px; position: relative; overflow: hidden; isolation: isolate; }
.page-titre::before { content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; right: -300px; top: -420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(236, 31, 61, .18), transparent 70%); }
.page-titre::after { content: ""; position: absolute; left: var(--marge); right: var(--marge); bottom: 0; height: 2px; max-width: calc(var(--largeur) - 2 * var(--marge)); margin: 0 auto; background: linear-gradient(90deg, var(--rouge), transparent); }
.page-titre h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); letter-spacing: -.045em; max-width: 15em; font-weight: 800; }
.page-titre p { color: var(--texte-2); font-size: 1.15rem; max-width: 40em; margin-top: 22px; }
.prose { max-width: 780px; color: var(--texte-2); }
.prose h2 { color: var(--texte); font-size: 1.6rem; margin: 2.2em 0 .7em; }
.prose h3 { color: var(--texte); font-size: 1.15rem; margin: 1.8em 0 .5em; }
.prose a { color: var(--rouge); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--rouge); }
.prose .a-completer { background: #fff1b8; color: #7a5a00; padding: 1px 6px; border-radius: 4px; font-family: var(--mono); font-size: .9em; }
.liste-fonctions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 40px; }
.bloc { border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 30px; background: #fff; transition: box-shadow .4s, transform .4s var(--entree); }
.bloc:hover { box-shadow: var(--ombre); transform: translateY(-3px); }
.bloc h3 { font-size: 1.25rem; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.bloc h3 .mono { font-size: 12px; color: #fff; background: var(--rouge); border-radius: 7px; padding: 3px 8px; font-weight: 700; letter-spacing: .06em; }
.bloc ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.bloc li { color: var(--texte-2); font-size: 15px; padding-left: 20px; position: relative; }
.bloc li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 2px; border-radius: 2px; background: var(--rouge); }
.faq details { border-bottom: 1px solid var(--ligne); padding: 6px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; font-size: 1.12rem; font-weight: 650; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 15px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--rose); color: var(--rouge); font-size: 1.3rem; font-weight: 500; transition: transform .3s var(--entree), background .2s, color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--rouge); color: #fff; }
.faq details p { color: var(--texte-2); margin: 0 0 22px; max-width: 46em; }

/* Téléchargement */
.telecharger { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: start; }
.carte-dl { border: 1px solid var(--ligne); border-radius: 22px; background: #fff; padding: 36px; box-shadow: var(--ombre); }
.carte-dl .titre-dl { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.carte-dl .titre-dl img { width: 58px; height: 58px; }
.carte-dl .titre-dl strong { display: block; font-size: 1.35rem; }
.carte-dl .titre-dl span { color: var(--doux); font-size: 14px; }
.fiche { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; margin: 26px 0 0; font-size: 14px; padding-top: 22px; border-top: 1px solid var(--ligne); }
.fiche dt { color: var(--doux); }
.fiche dd { margin: 0; font-family: var(--mono); font-size: 13px; color: var(--texte); word-break: break-all; }
.etapes-install { counter-reset: e; list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 18px; }
.etapes-install li { counter-increment: e; position: relative; padding: 3px 0 0 48px; color: var(--texte-2); }
.etapes-install li::before { content: counter(e); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--rouge); color: #fff; display: grid; place-items: center; font-family: var(--mono); font-size: 13px; font-weight: 700; }
.etapes-install b { color: var(--texte); }
.avis { border: 1px solid var(--ligne); background: var(--rose); border-radius: 12px; padding: 16px 18px; color: var(--texte-2); font-size: 14.5px; margin-top: 22px; }
.avis b { color: var(--rouge); }
#config { margin-top: 10px; }

/* Compte et connexion de l'application */
.panneau { max-width: 640px; margin: 0 auto; border: 1px solid var(--ligne); border-radius: 22px; background: #fff; padding: clamp(26px, 5vw, 46px); box-shadow: var(--ombre); position: relative; overflow: hidden; }
.panneau::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--rouge-fonce), var(--rouge-vif)); }
.panneau h2 { font-size: 1.6rem; margin-bottom: 10px; }
.panneau > .etat > p { color: var(--texte-2); }
.etat { display: none; }
.etat.actif { display: block; animation: entre .5s var(--entree) forwards; }
.bouton-google { min-height: 44px; margin: 24px 0 8px; display: flex; }
.profil { display: flex; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--ligne); border-radius: 14px; background: var(--rose); margin: 22px 0; }
.profil img { width: 52px; height: 52px; border-radius: 50%; background: var(--rose-3); }
.profil > div { min-width: 0; flex: 1; }
.profil strong { display: block; font-size: 1.05rem; }
.profil span { color: var(--doux); font-size: 14px; word-break: break-all; }
.pastille { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 20px; background: var(--rose-2); color: var(--rouge-fonce); font-weight: 700; flex: none; }
.pastille.pro { background: var(--rouge); color: #fff; }
.ligne-reglage { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid var(--ligne); }
.ligne-reglage p { margin: 4px 0 0; color: var(--doux); font-size: 14px; }
.ligne-reglage strong { font-size: 15px; }
.interrupteur { position: relative; width: 48px; height: 28px; flex: none; }
.interrupteur input { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 1; margin: 0; }
.interrupteur span { position: absolute; inset: 0; border-radius: 20px; background: var(--rose-3); transition: background .2s; }
.interrupteur span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(109, 7, 23, .3); transition: transform .25s var(--entree); }
.interrupteur input:checked + span { background: var(--rouge); }
.interrupteur input:checked + span::after { transform: translateX(20px); }
.interrupteur input:focus-visible + span { outline: 2px solid var(--rouge); outline-offset: 2px; }
.appareils { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.appareils li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--ligne); border-radius: 12px; font-size: 14px; }
.appareils li span { color: var(--doux); font-size: 13px; margin-left: auto; }
.message { padding: 12px 14px; border-radius: 12px; font-size: 14.5px; margin: 16px 0 0; display: none; }
.message.actif { display: block; }
.message.erreur { background: var(--rose-2); border: 1px solid var(--ligne-2); color: var(--rouge-nuit); }
.message.ok { background: rgba(18, 164, 107, .08); border: 1px solid rgba(18, 164, 107, .3); color: #0b6e48; }
.code-secours { font-family: var(--mono); font-size: clamp(1.1rem, 3.4vw, 1.5rem); letter-spacing: .08em; background: var(--rose); border: 2px dashed var(--ligne-2); border-radius: 12px; padding: 16px; text-align: center; margin: 14px 0; word-break: break-all; user-select: all; color: var(--rouge-nuit); font-weight: 700; }
.code-secours.expire { opacity: .4; text-decoration: line-through; }
.zone-danger { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--ligne); }
.zone-danger summary { cursor: pointer; color: var(--rouge-fonce); font-size: 14px; font-weight: 600; }
.champ { display: grid; gap: 6px; margin: 12px 0; }
.champ label { font-size: 13.5px; color: var(--doux); }
.champ input { height: 46px; border-radius: 10px; border: 1.5px solid var(--ligne-2); background: #fff; color: var(--texte); padding: 0 14px; font: inherit; }
.champ input:focus { outline: none; border-color: var(--rouge); box-shadow: 0 0 0 4px rgba(211, 19, 47, .12); }
.dev { margin-top: 20px; padding: 16px; border: 1.5px dashed #e7b100; border-radius: 12px; background: #fffbea; }
.dev p { color: #7a5a00; font-size: 13px; font-family: var(--mono); margin: 0 0 8px; }

/* Pied de page */
.pied { padding: 70px 0 40px; background: var(--rose); border-top: 3px solid var(--rouge); }
.pied-grille { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.pied .marque { margin-bottom: 16px; }
.pied p { color: var(--texte-2); font-size: 14px; max-width: 26em; }
.pied h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--rouge); font-weight: 700; margin-bottom: 16px; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pied li a { color: var(--texte-2); font-size: 14.5px; }
.pied li a:hover { color: var(--rouge); }
.pied-bas { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--ligne-2); color: var(--doux); font-size: 13px; font-family: var(--mono); }

/* Apparition au défilement */
.revele { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--entree), transform .9s var(--entree); }
.revele.vu { opacity: 1; transform: none; }
.revele.d1 { transition-delay: .08s } .revele.d2 { transition-delay: .16s } .revele.d3 { transition-delay: .24s }

/* Animations */
@keyframes apparait { to { opacity: 1; } }
@keyframes trace { to { stroke-dashoffset: 0; } }
@keyframes monte { to { transform: none; } }
@keyframes entre { to { opacity: 1; transform: none; } }
@keyframes defile { to { transform: translateX(-50%); } }
@keyframes tourne { to { transform: rotate(360deg); } }
@keyframes molette { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
@keyframes largeur { 0%, 38% { transform: scaleX(1); } 50%, 88% { transform: scaleX(1.4); } 100% { transform: scaleX(1); } }
@keyframes glisse { 0%, 38% { transform: translateX(0); } 50%, 88% { transform: translateX(96px); } 100% { transform: translateX(0); } }
@keyframes cote-l { 0%, 38% { transform: scaleX(1); } 50%, 88% { transform: scaleX(1.4); } 100% { transform: scaleX(1); } }
@keyframes val-a { 0%, 44% { opacity: 1; } 45%, 94% { opacity: 0; } 95%, 100% { opacity: 1; } }
@keyframes val-b { 0%, 44% { opacity: 0; } 45%, 94% { opacity: 1; } 95%, 100% { opacity: 0; } }
@keyframes reconstruit { 0%, 40% { border-color: transparent; background: var(--rose); } 46% { border-color: var(--rouge); background: var(--rose-2); } 60%, 100% { border-color: transparent; background: var(--rose); } }

/* Tablette et mobile */
@media (max-width: 1080px) {
  .nav a { padding: 8px 9px; font-size: 14px; }
  .entete-actions .compte-lien { display: none; }
}
@media (max-width: 920px) {
  :root { --marge: 20px; }
  .burger { display: block; }
  .nav { position: fixed; inset: 74px 0 auto; flex-direction: column; gap: 0; padding: 12px var(--marge) 24px; background: rgba(255, 255, 255, .98); backdrop-filter: blur(14px); box-shadow: 0 20px 40px -20px rgba(165, 14, 36, .35); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--entree); }
  .nav a { padding: 15px 4px; font-size: 17px; border-bottom: 1px solid var(--ligne); border-radius: 0; background: none !important; }
  .menu-ouvert .entete { background: #fff; }
  .menu-ouvert .nav { opacity: 1; transform: none; pointer-events: auto; }
  .entete-actions .btn-telecharger { display: none; }
  .heros { padding-top: 104px; min-height: auto; }
  .heros-grille, .etape, .etape:nth-child(even), .param, .mcp, .telecharger { grid-template-columns: minmax(0, 1fr); }
  .etape:nth-child(even) .etape-texte { order: 0; }
  .scene { max-width: 560px; margin: 10px auto 0; }
  .chiffres { grid-template-columns: repeat(2, 1fr); }
  .chiffres > div:nth-child(2) { border-right: 0; }
  .chiffres > div:nth-child(-n+2) { border-bottom: 1px solid var(--ligne); }
  .cartes { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .offres, .liste-fonctions { grid-template-columns: minmax(0, 1fr); }
  .pied-grille { grid-template-columns: 1fr 1fr; }
  .defiler-indice { display: none; }
}
@media (max-width: 600px) {
  :root { --marge: 16px; }
  .entete .conteneur { gap: 12px; }
  .marque span { display: none; }
  .langue { padding: 5px 7px; }
  .heros h1 { font-size: clamp(2.4rem, 11.8vw, 3.3rem); }
  .actions .btn { width: 100%; }
  .cartes { grid-template-columns: minmax(0, 1fr); }
  .chiffres > div { padding: 26px 16px; }
  .etapes-3d li { font-size: 9.5px; }
  .etapes-3d li b { display: block; }
  .duo { padding-bottom: 0; }
  .duo figure:nth-child(2) { position: relative; width: 100%; right: 0; margin-top: 14px; }
  .pied-grille { grid-template-columns: 1fr; }
  .offre, .carte-dl { padding: 26px; }
  .comparatif li { grid-template-columns: 1fr 70px 70px; padding: 12px 14px; font-size: 14px; }
  .profil { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .bandeau ul { animation: none; }
  .revele { opacity: 1; transform: none; }
}
