/* CyberAtlantic. Couleurs du logo, titres Jost, texte Hanken Grotesk, polices hébergées sur le site.
   Le produit en mouvement porte le visuel : pas de cartes, pas d'ombres, pas d'apparition au défilement. */
@font-face { font-family: Jost; src: url(../fonts/jost.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url(../fonts/hanken-grotesk.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --marine: #0b2a4a;
  --marine-2: #123a62;
  --encre: #0a2038;
  --houle: #1d6fe0;
  --lien: #1a62c8;
  --clair: #9dbdf0;
  --ecume: #f2f5f8;
  --filet: #d6dee6;
  --gris: #4a5d71;
  --gris-nuit: #b5c6d8;
  --signal: #c8402f;
  --titre: Jost, "Century Gothic", system-ui, sans-serif;
  --texte: "Hanken Grotesk", system-ui, sans-serif;
  --rythme: clamp(4.5rem, 9vw, 8rem);
  --bord: min(1240px, 100% - 3rem);
  --r: 10px;
  --r-f: 16px;
  --ciel: #e8f0fb;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--ecume); color: var(--encre); font: 400 1.125rem/1.65 var(--texte); }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; font-family: var(--titre); font-weight: 600; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.3rem); font-weight: 700; color: var(--marine); letter-spacing: -.01em; }
.ensemble { white-space: nowrap; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); letter-spacing: -.005em; }
h3 { font-size: 1.3rem; line-height: 1.25; }
p { margin: 0; max-width: 68ch; text-wrap: pretty; }
p + p { margin-top: 1rem; }
a { color: var(--lien); text-underline-offset: .18em; }
a:hover { color: var(--marine); }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--houle); outline-offset: 2px; }
.marine :focus-visible, .ouverture-demo :focus-visible, .pied :focus-visible { outline-color: #fff; }

.cadre { width: var(--bord); margin-inline: auto; }
.bande { padding-block: var(--rythme); }
.marine + .marine { padding-top: 0; }
.blanc { background: #fff; }
.marine { background: var(--marine); color: #fff; }
.marine a:not(.btn) { color: #fff; }
.marine a:not(.btn):hover { color: var(--clair); }
.chapo { font-size: clamp(1.15rem, 1.5vw, 1.3rem); margin-top: 1rem; color: var(--gris); }
.marine .chapo { color: var(--gris-nuit); }
.entete { margin-bottom: clamp(2.5rem, 5vw, 3.75rem); max-width: 50rem; }
.note { font-size: .9375rem; color: var(--gris); }
.marine .note, .ouverture-demo .note { color: var(--gris-nuit); }
.saut { position: absolute; left: -999px; }
.saut:focus { left: 1rem; top: .75rem; z-index: 100; background: var(--marine); color: #fff; padding: .6rem 1rem; }

.btn { display: inline-flex; align-items: center; min-height: 48px; padding: .7rem 1.4rem; border: 0; border-radius: var(--r); background: var(--houle); color: #fff; font: 700 1rem var(--texte); text-decoration: none; cursor: pointer; transition: background 150ms; }
.btn:hover { background: var(--marine); color: #fff; }
.marine .btn { background: #fff; color: var(--marine); }
.marine .btn:hover { background: var(--clair); color: var(--marine); }
.btn.second { background: none; box-shadow: inset 0 0 0 1px var(--filet); color: var(--encre); }
.btn.second:hover { box-shadow: inset 0 0 0 1px var(--marine); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 2rem; }

/* En-tête */
.tete { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--filet); }
.tete .cadre { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1rem; }
.marque img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav > a:not(.btn), .menu > a { padding: .5rem 0; color: var(--encre); font-weight: 500; text-decoration: none; }
.nav > a:not(.btn):hover, .menu > a:hover, .nav a[aria-current]:not(.btn) { color: var(--houle); }
.menu { position: relative; }
.sous { position: absolute; top: 100%; left: -1rem; width: 300px; padding: .4rem; display: grid; background: #fff; border: 1px solid var(--filet); border-radius: var(--r-f); box-shadow: 0 12px 28px rgb(10 32 56 / .14); visibility: hidden; opacity: 0; transition: opacity 150ms, visibility 150ms; }
.menu:hover .sous, .menu:focus-within .sous { visibility: visible; opacity: 1; }
.sous a { display: grid; padding: .5rem .7rem; border-radius: var(--r); color: var(--encre); font-weight: 600; text-decoration: none; }
.sous a:hover, .sous a[aria-current] { background: var(--ecume); color: var(--houle); }
.sous small { color: var(--gris); font-size: .875rem; font-weight: 400; }
.burger { display: none; width: 48px; height: 48px; padding: 0; background: none; border: 0; color: var(--marine); cursor: pointer; place-items: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 24px; height: 2px; background: currentColor; }
.burger span { position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
@media (max-width: 960px) {
  .tete { position: static; }
  .tete .cadre { flex-wrap: wrap; }
  .js .burger { display: grid; }
  .nav { flex-basis: 100%; flex-direction: column; align-items: flex-start; gap: .4rem; padding-bottom: 1rem; }
  .js .nav:not(.ouvert) { display: none; }
  .sous { position: static; width: auto; visibility: visible; opacity: 1; border: 0; box-shadow: none; padding: 0 0 0 1rem; }
  .sous small { display: none; }
  .sous a { padding: .3rem 0; font-weight: 400; }
}

/* Ouverture : texte à gauche, produit à droite, alignés sur le cadre du site quelle que soit la largeur */
.ouverture { display: grid; grid-template-columns: minmax(1.5rem, 1fr) minmax(0, 33rem) minmax(0, 44.5rem) minmax(1.5rem, 1fr); padding-block: clamp(1.75rem, 3vw, 2.75rem); background: #fff; }
.ouverture-texte { grid-column: 2; padding-right: clamp(1.5rem, 3vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.ouverture-demo { grid-column: 3; min-width: 0; padding: 1.25rem; background: var(--marine); border-radius: 20px; color: #fff; display: flex; flex-direction: column; justify-content: center; gap: .75rem; }
.detail { margin-top: 1.5rem; font-size: 1rem; color: var(--gris); max-width: 58ch; }
.titre-page { background: #fff; padding-block: clamp(2.5rem, 5vw, 4.5rem); border-bottom: 1px solid var(--filet); }
.fil { margin-bottom: 1.5rem; font-size: .9375rem; }
.fil ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
.fil li + li::before { content: "/"; margin-right: .5rem; color: var(--gris); }
.fil a { color: var(--gris); }
.fil [aria-current] { color: var(--encre); }
@media (max-width: 1000px) {
  .ouverture { grid-template-columns: 1.5rem minmax(0, 1fr) 1.5rem; row-gap: 1.75rem; }
  .ouverture-texte { padding-right: 0; }
  .ouverture-demo { grid-column: 2; }
}
@media (max-width: 480px) { .ouverture-demo { padding: .6rem; border-radius: var(--r-f); } .ecran-corps { padding-inline: .7rem; } }

/* Lecteur de démonstration */
.onglets { display: grid; gap: .5rem; margin-top: 1.75rem; }
.onglets button { display: grid; gap: .1rem; padding: .8rem 1rem; text-align: left; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .16); border-radius: var(--r); color: var(--gris-nuit); font: 400 .9375rem var(--texte); cursor: pointer; transition: background 150ms, border-color 150ms; }
.onglets b { font: 600 1.15rem var(--titre); color: #fff; }
.onglets button:hover { border-color: rgb(255 255 255 / .4); }
.onglets button[aria-selected="true"] { background: rgb(255 255 255 / .13); border-color: var(--clair); color: #fff; }
.lecteur { border: 1px solid rgb(255 255 255 / .18); border-radius: var(--r-f); overflow: hidden; background: var(--marine-2); }
.lecteur[hidden] { display: none; }
.lecteur > img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: #0e1a2c; }
.lecteur-barre { padding: .4rem .8rem; font-size: .8125rem; color: var(--gris-nuit); border-bottom: 1px solid rgb(255 255 255 / .12); }
.lecteur-vue { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0e1a2c; container-type: inline-size; }
.lecteur-pied { display: flex; align-items: center; gap: .9rem; padding: .6rem .9rem; min-height: 3.6rem; }
.lecteur-legende { flex: 1; margin: 0; font-weight: 600; font-size: .9375rem; line-height: 1.3; }
.avance { flex: none; width: 90px; height: 2px; background: rgb(255 255 255 / .2); }
.avance i { display: block; height: 100%; width: 0; background: #fff; transition: width 300ms; }
.pause { flex: none; min-height: 36px; padding: 0 .7rem; background: none; border: 1px solid rgb(255 255 255 / .3); border-radius: var(--r); color: #fff; font: 500 .875rem var(--texte); cursor: pointer; }
.pause:hover { border-color: #fff; }
@media (max-width: 560px) { .avance { display: none; } }
.plan { position: absolute; inset: 0; transform-origin: 0 0; transition: transform 900ms cubic-bezier(.65, 0, .35, 1); will-change: transform; }
.ecr { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 250ms, visibility 250ms; }
.ecr.actif { opacity: 1; visibility: visible; }
img.ecr { width: 100%; height: 100%; object-fit: cover; }
.curseur { position: absolute; left: 60%; top: 70%; width: 30px; height: 30px; z-index: 3; pointer-events: none; transition: left 900ms cubic-bezier(.65, 0, .35, 1), top 900ms cubic-bezier(.65, 0, .35, 1); }
.curseur { filter: drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff) drop-shadow(0 2px 3px rgb(0 0 0 / .45)); }
.curseur::before { content: ""; position: absolute; inset: 0; background: var(--encre); clip-path: polygon(0 0, 0 80%, 24% 60%, 42% 100%, 56% 94%, 38% 56%, 72% 56%); transition: transform 150ms; }
.curseur.clic::before { transform: scale(.82); }
.curseur::after { content: ""; position: absolute; left: -19px; top: -19px; width: 38px; height: 38px; border: 3px solid var(--houle); border-radius: 50%; opacity: 0; }
.curseur.clic::after { animation: onde 500ms ease-out; }
@keyframes onde { from { opacity: 1; transform: scale(.3); } to { opacity: 0; transform: scale(1.8); } }

/* Maquettes du bastion */
.maq { font: 400 1.5cqw/1.35 var(--texte); color: #1c2433; }
.maq p { max-width: none; margin: 0; }
.portail { display: grid; grid-template-columns: 17% 1fr; background: #f6f8fc; }
.portail aside { background: #fff; border-right: 1px solid #e3e8f0; padding: 1.4em 1em; display: grid; gap: .5em; align-content: start; }
.portail aside b { letter-spacing: .1em; }
.portail aside small { letter-spacing: .2em; color: #8a94a6; font-size: .65em; margin-bottom: 1em; }
.portail aside span { padding: .5em .7em; border-radius: .5em; color: #56617a; }
.portail aside .on { background: #e8ecfd; color: #3a4fd8; font-weight: 600; }
.zone { padding: 1em 1.6em; }
.zone header { display: flex; align-items: center; justify-content: space-between; gap: 1em; margin-bottom: .4em; font-size: .82em; color: #56617a; }
.zone header span { padding: .45em .9em; border-radius: 99em; background: #fff; border: 1px solid #e3e8f0; }
.zone .rech { flex: 1; max-width: 45%; border-radius: .6em; color: #9aa3b5; }
.zone h4 { margin: 1em 0 .5em; font: 600 .7em var(--texte); letter-spacing: .1em; text-transform: uppercase; color: #6b7690; }
.rangee { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; }
.res { display: grid; grid-template-columns: auto 1fr; gap: .15em .8em; align-items: center; padding: .8em 1em; background: #fff; border: 1px solid #e3e8f0; border-left: .28em solid #4f6bed; border-radius: .6em; position: relative; transition: transform 400ms, box-shadow 400ms; }
.res i { grid-row: span 2; width: 2.5em; height: 2.5em; border-radius: .55em; background: #e8ecfd; }
.res b { font-weight: 600; }
.res em { font: 600 .65em var(--texte); color: #3a4fd8; background: #e8ecfd; justify-self: start; padding: .1em .55em; border-radius: .3em; }
.res::after { content: ""; position: absolute; right: .7em; bottom: .7em; width: .5em; height: .5em; border-radius: 50%; background: #2fbf71; }
.res.ssh { border-left-color: #2a9d8f; }
.res.ssh i, .res.ssh em { background: #dff3ef; }
.res.ssh em { color: #1f7a6f; }
.res.web { border-left-color: #c8742b; }
.res.web i, .res.web em { background: #f8e7d8; }
.res.web em { color: #a35a1c; }
.res.survol { transform: scale(1.1); box-shadow: 0 1.2em 2.4em -1em rgb(30 50 110 / .55); z-index: 2; }
.session { display: grid; place-items: center; background: #eef2f8; }
.carte-ses { width: 50%; background: #fff; border-radius: 1em; padding: 1.5em; border: 1px solid #dfe5ee; display: grid; gap: .5em; text-align: center; }
.carte-ses > small { letter-spacing: .14em; color: var(--houle); font-weight: 600; font-size: .7em; text-transform: uppercase; }
.carte-ses > b { font-size: 1.3em; }
.carte-ses > em { font: 600 .65em var(--texte); color: #8a94a6; letter-spacing: .1em; }
.jalons { margin: .4em 0; display: grid; gap: .45em; text-align: left; font-size: .8em; }
.jalons li { padding: .55em .8em .55em 2.3em; border-radius: .5em; background: #f4f6fa; color: #7d8799; position: relative; transition: background 300ms, color 300ms; }
.jalons li::before { content: ""; position: absolute; left: .8em; top: 50%; width: .8em; height: .8em; margin-top: -.4em; border-radius: 50%; border: .15em solid #c5ccd9; transition: background 300ms, border-color 300ms; }
[data-jalons="1"] [data-j="1"], [data-jalons="2"] [data-j="1"], [data-jalons="2"] [data-j="2"], [data-jalons="3"] li[data-j] { background: #e6f7ee; color: #17603a; }
[data-jalons="1"] [data-j="1"]::before, [data-jalons="2"] [data-j="1"]::before, [data-jalons="2"] [data-j="2"]::before, [data-jalons="3"] li[data-j]::before { background: #2fbf71; border-color: #2fbf71; }
.chrono-b { border: 1px solid var(--filet); border-radius: .6em; padding: .5em; }
.chrono-b small { display: block; font-size: .6em; color: var(--gris); }
.chrono-b strong { font: 600 1.9em var(--titre); color: var(--marine); font-variant-numeric: tabular-nums; }
.carte-ses .fin { display: none; padding: .8em; border-radius: .5em; background: #eaf1fd; color: #174f9e; font-weight: 600; font-size: .85em; }
[data-fin="1"] .carte-ses .fin { display: block; }
[data-fin="1"] .jalons, [data-fin="1"] .chrono-b { display: none; }
.distant { display: grid; grid-template-rows: auto 1fr; background: #1b1b1b; }
.rdp-barre { display: flex; justify-content: space-between; gap: 1em; padding: .45em .9em; background: #2b2b2b; color: #e8e8e8; font-size: .75em; }
.rdp-ecran { position: relative; overflow: hidden; color: #fff; background: #0b3d7a; }
.verrou { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .7em; text-align: center; transition: opacity 400ms; }
.avatar { width: 6em; height: 6em; border-radius: 50%; background: rgb(255 255 255 / .2); position: relative; overflow: hidden; }
.avatar::before { content: ""; position: absolute; left: 50%; top: 22%; width: 2em; height: 2em; margin-left: -1em; border-radius: 50%; background: #fff; }
.avatar::after { content: ""; position: absolute; left: 50%; top: 62%; width: 4em; height: 4em; margin-left: -2em; border-radius: 50%; background: #fff; }
.verrou b { font: 500 1.5em var(--texte); letter-spacing: .02em; }
.verrou p { display: flex; gap: .6em; align-items: center; font-size: .88em; }
.roue { width: 1.1em; height: 1.1em; border-radius: 50%; border: .15em solid rgb(255 255 255 / .3); border-top-color: #fff; animation: tourne 800ms linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }
.verrou .msg-b { display: none; font-size: 1.25em; }
[data-rdp="bienvenue"] .msg-v { display: none; }
[data-rdp="bienvenue"] .verrou .msg-b { display: flex; }
[data-rdp="bureau"] .verrou { opacity: 0; }
.bureau { position: absolute; inset: 0; opacity: 0; transition: opacity 400ms; }
[data-rdp="bureau"] .bureau { opacity: 1; }
.fenetre { position: absolute; left: 8%; top: 10%; width: 58%; background: #fff; color: #1c2433; border-radius: .4em; overflow: hidden; }
.fenetre header { background: #e9edf3; padding: .5em .8em; font-size: .75em; font-weight: 600; }
.fenetre p { padding: .5em .9em; font-size: .82em; }
.taches-b { position: absolute; left: 0; right: 0; bottom: 0; height: 2.4em; background: rgb(10 15 30 / .85); display: flex; align-items: center; gap: .6em; padding: 0 .8em; }
.taches-b i { width: 1.3em; height: 1.3em; border-radius: .2em; background: rgb(255 255 255 / .35); }

/* Maquette du client VPN : l'application à gauche, les contrôles qui se valident à droite */
.vpn-maq { display: grid; grid-template-columns: 37% 1fr; gap: 6%; padding: 3% 6%; align-items: center; background: #0e1a2c; color: #fff; font-size: 1.9cqw; }
.vpn-appli { position: relative; height: 94cqw; max-height: 56cqw; }
.vpn-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 250ms; }
.vpn-img.actif { opacity: 1; }
.vpn-cible { position: absolute; left: 50%; top: 88%; width: 2px; height: 2px; }
.preuves { display: grid; gap: 1em; }
.preuves li { padding: .7em 1em .7em 2.6em; border: 1px solid rgb(255 255 255 / .16); border-radius: .4em; position: relative; font-weight: 600; opacity: .45; transition: opacity 300ms, border-color 300ms; }
.preuves li::before { content: ""; position: absolute; left: .9em; top: 50%; width: .9em; height: .9em; margin-top: -.45em; border-radius: 50%; border: .13em solid rgb(255 255 255 / .4); transition: background 300ms, border-color 300ms; }
.preuves small { display: block; font-weight: 400; font-size: .82em; color: var(--gris-nuit); }
[data-preuves="1"] .preuves li:nth-child(-n+1), [data-preuves="2"] .preuves li:nth-child(-n+2), [data-preuves="3"] .preuves li:nth-child(-n+3), [data-preuves="4"] .preuves li { opacity: 1; border-color: var(--clair); }
[data-preuves="1"] .preuves li:nth-child(-n+1)::before, [data-preuves="2"] .preuves li:nth-child(-n+2)::before, [data-preuves="3"] .preuves li:nth-child(-n+3)::before, [data-preuves="4"] .preuves li::before { background: var(--clair); border-color: var(--clair); }

/* Scènes animées des services */
.ecran { background: #fff; color: var(--encre); border-radius: var(--r-f); overflow: hidden; font-size: .9375rem; line-height: 1.5; }
.ecran-titre { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .65rem 1rem; border-bottom: 1px solid var(--filet); color: var(--gris); font-size: .875rem; }
.ecran-titre span:first-child { display: flex; align-items: center; gap: .6rem; color: var(--encre); font-weight: 600; }
.ecran-titre .logo { width: 20px; height: 20px; }
.ecran-corps { padding: 1.1rem 1rem 1.25rem; min-height: 300px; position: relative; }
.ecran:hover * { animation-play-state: paused; }
.logo { flex: none; width: 28px; height: 28px; object-fit: contain; }
.logo.large { width: 85px; height: 17px; }
.ecran-titre .logo.large { width: 75px; height: 15px; }

.arbre, .arbre ul { list-style: none; }
.arbre ul { margin-left: .25rem; padding-left: .85rem; border-left: 1px solid var(--filet); }
.arbre li { padding: .2rem 0; position: relative; }
.arbre ul > li::before { content: ""; position: absolute; left: -.85rem; top: .95em; width: .8rem; border-top: 1px solid var(--filet); }
.arbre .ou { color: var(--houle); font-weight: 600; }
.arbre .compte { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .1rem .75rem; overflow-wrap: anywhere; }
.pastille { font-size: .8125rem; padding: 0 .6rem; border-radius: var(--r); background: #e6f4ec; color: #17603a; white-space: nowrap; }
.pastille.non { background: #fbe9e6; color: #9b2c1e; }
.bascule { display: grid; }
.bascule > * { grid-area: 1 / 1; justify-self: end; animation: bascule 6s infinite; }
.bascule > .non { animation-delay: -3s; }
@keyframes bascule { 0%, 44% { opacity: 1; } 50%, 94% { opacity: 0; } 100% { opacity: 1; } }

.voie { position: relative; height: 270px; overflow: clip; }
.voie .filtre { position: absolute; left: 50%; top: 0; bottom: 0; border-left: 2px dashed var(--houle); }
.voie .filtre span { position: absolute; top: 0; left: .6rem; color: var(--houle); font-weight: 600; font-size: .875rem; white-space: nowrap; }
.voie .depot { position: absolute; bottom: 0; color: var(--gris); font-size: .875rem; }
.pli { position: absolute; left: 0; top: var(--y); padding: .25rem .6rem; border-radius: var(--r); white-space: nowrap; background: var(--ecume); border: 1px solid var(--filet); font-size: .875rem; animation: passe 6s linear infinite both; animation-delay: var(--d, 0s); }
.pli.faux { border-color: var(--signal); color: #9b2c1e; background: #fbe9e6; animation-name: bloque; }
@keyframes passe { 0% { left: 0; transform: translateX(0); opacity: 0; } 8%, 90% { opacity: 1; } 100% { left: 100%; transform: translateX(-100%); opacity: 0; } }
@keyframes bloque { 0% { left: 0; transform: translateX(0); opacity: 0; } 8% { opacity: 1; } 42% { left: 50%; transform: translate(-108%, 0); opacity: 1; } 60% { left: 50%; transform: translate(-108%, 30px); opacity: 1; } 76%, 100% { left: 50%; transform: translate(-108%, 44px); opacity: 0; } }

.taches { display: grid; gap: 1rem; }
.tache { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; }
.tache .barre { grid-column: 1 / -1; height: 5px; border-radius: 3px; background: var(--ecume); overflow: hidden; }
.tache .barre i { display: block; height: 100%; background: var(--houle); transform-origin: left; animation: remplit 7s cubic-bezier(.4, 0, .2, 1) infinite both; animation-delay: var(--d, 0s); }
.tache .fait { color: #17603a; font-weight: 600; animation: apparait 7s infinite both; animation-delay: var(--d, 0s); }
@keyframes remplit { 0% { transform: scaleX(0); } 55%, 94% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes apparait { 0%, 52% { opacity: 0; } 60%, 94% { opacity: 1; } 100% { opacity: 0; } }

.flux-journal { height: 270px; overflow: hidden; font-family: ui-monospace, Consolas, monospace; font-size: .8125rem; }
.flux-journal ul { animation: monte-journal 16s linear infinite; }
.flux-journal li { display: grid; grid-template-columns: 4.5rem 1fr; gap: .6rem; padding: .3rem 0; white-space: nowrap; }
.flux-journal .oui { color: #17603a; }
.flux-journal .non { color: #9b2c1e; }
@keyframes monte-journal { to { transform: translateY(-50%); } }

.hotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.hote { border: 1px solid var(--filet); border-radius: var(--r-f); padding: .8rem; min-height: 230px; }
.hote > span { color: var(--gris); display: block; margin-bottom: .6rem; font-size: .875rem; }
.vm { background: var(--ecume); border-radius: var(--r); padding: .35rem .6rem; margin-bottom: .45rem; border-left: 3px solid var(--marine); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .875rem; }
.vm.migre { border-left-color: var(--houle); position: relative; z-index: 1; animation: migre 7s ease-in-out infinite; }
@keyframes migre { 0%, 20% { transform: translateX(0); } 40%, 72% { transform: translateX(calc(100% + 2.8rem + 2px)); } 92%, 100% { transform: translateX(0); } }

.graphe { width: 100%; }
.graphe .axe { stroke: var(--filet); fill: none; }
.graphe .trace { fill: none; stroke: var(--houle); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 700; stroke-dashoffset: 700; animation: trace 7s linear infinite; }
.graphe .seuil { stroke: var(--signal); stroke-dasharray: 5 5; fill: none; }
@keyframes trace { 62%, 100% { stroke-dashoffset: 0; } }
.bulle { display: inline-block; margin-top: .8rem; padding: .25rem .7rem; border-radius: var(--r); background: #fbe9e6; color: #9b2c1e; font-size: .875rem; animation: apparait 7s infinite both; }

/* Chemin : les étapes d'un accès ou d'une intervention, avec un point qui les parcourt */
.chemin { --pas: 1.8s; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 2rem; counter-reset: etape; position: relative; padding-top: 2.25rem; }
.chemin::before { content: ""; position: absolute; left: 0; right: 0; top: .5rem; height: 2px; background: var(--filet); }
.marine .chemin::before { background: rgb(255 255 255 / .22); }
.chemin::after { content: ""; position: absolute; top: calc(.5rem - 5px); left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--houle); animation: parcourt calc(var(--pas) * var(--n)) linear infinite; }
.marine .chemin::after { background: #fff; }
@keyframes parcourt { from { left: 0; } to { left: calc(100% - 12px); } }
.chemin li { counter-increment: etape; display: grid; gap: .3rem; align-content: start; position: relative; }
.chemin li::before { content: counter(etape); font: 500 1rem var(--titre); color: var(--gris); }
.marine .chemin li::before { color: var(--gris-nuit); }
.chemin b { font: 600 1.3rem/1.2 var(--titre); }
.chemin span { font-size: 1.0625rem; line-height: 1.45; color: var(--gris); }
.marine .chemin span { color: var(--gris-nuit); }
.chemin.sans-numero li::before { content: none; }
.usages { display: grid; gap: 2.5rem; }
.usage { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1.5rem; }
.usage h3 { padding-top: 1.9rem; font-size: 1.25rem; }
@media (max-width: 900px) { .usage { grid-template-columns: minmax(0, 1fr); gap: .75rem; } .usage h3 { padding-top: 0; } }
.chemin .robot { position: absolute; top: calc(.5rem - 5px); left: 0; width: 12px; height: 12px; border-radius: 50%; background: #e8705f; animation: robot calc(var(--pas) * var(--n)) linear infinite; animation-delay: calc(var(--pas) * -.6); }
@keyframes robot { 0% { left: 0; opacity: 1; } 15% { left: calc(100% / var(--n)); opacity: 1; } 19%, 100% { left: calc(100% / var(--n)); opacity: 0; } }
.legende-chemin { display: flex; flex-wrap: wrap; gap: .4rem 2rem; margin-top: 2rem; font-size: .9375rem; color: var(--gris-nuit); }
.legende-chemin span { display: inline-flex; align-items: center; gap: .55rem; }
.legende-chemin i { width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.legende-chemin .rouge { background: #e8705f; }
@media (max-width: 900px) {
  .chemin { grid-template-columns: minmax(0, 1fr); padding: 0 0 0 1.75rem; gap: 1.5rem; }
  .chemin::before { left: .4rem; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .chemin::after { left: calc(.4rem - 5px); animation-name: descend; }
  .chemin .robot { display: none; }
}
@keyframes descend { from { top: 0; } to { top: calc(100% - 12px); } }

/* Texte et liste côte à côte */
.deux { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.faits { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem; }
.faits > div { padding: 1.75rem; background: #fff; border: 1px solid var(--filet); border-radius: var(--r-f); }
.blanc .faits > div { background: var(--ecume); border-color: transparent; }
.faits h3 { margin-bottom: .4rem; font-size: 1.25rem; }
.faits h3 a { color: inherit; text-decoration: none; }
.faits p { font-size: 1.0625rem; line-height: 1.5; }
.ico { display: block; width: 46px; height: 46px; margin-bottom: 1.1rem; padding: 11px; border-radius: var(--r); background: var(--ciel); fill: none; stroke: var(--houle); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.blanc .ico { background: #fff; }
.faits p { color: var(--gris); }
.marine .faits p { color: var(--gris-nuit); }
@media (max-width: 900px) {
  .deux { grid-template-columns: minmax(0, 1fr); }
}

/* Attaque et parade */
.parades { width: 100%; border-collapse: collapse; table-layout: fixed; overflow-wrap: anywhere; }
.parades th { text-align: left; font: 500 1.05rem var(--titre); padding: 0 1.5rem .7rem 0; border-bottom: 2px solid var(--marine); }
.parades td { padding: .85rem 1.5rem .85rem 0; border-bottom: 1px solid var(--filet); vertical-align: top; }
.parades td:first-child { font-weight: 600; width: 42%; }

/* Capture avec légende */
.capture { margin: 0; }
.capture img { border: 1px solid var(--filet); border-radius: var(--r-f); width: 100%; }
.capture figcaption { margin-top: .6rem; font-size: .9375rem; color: var(--gris); }
.marine .capture img { border-color: rgb(255 255 255 / .2); }
.marine .capture figcaption { color: var(--gris-nuit); }

/* Liste des services */
.rangs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.rangs a { height: 100%; display: flex; flex-direction: column; gap: .4rem; padding: 1.75rem; background: #fff; border: 1px solid var(--filet); border-radius: var(--r-f); color: var(--encre); text-decoration: none; transition: border-color 150ms; }
.rangs a:hover { border-color: var(--houle); }
.rangs h3 { transition: color 150ms; }
.rangs a:hover h3 { color: var(--lien); }
.rangs p { color: var(--gris); font-size: 1rem; }
.rangs .insignes { order: -1; display: flex; gap: .8rem; align-items: center; min-height: 30px; margin-bottom: .6rem; }
@media (max-width: 1000px) { .rangs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .rangs { grid-template-columns: minmax(0, 1fr); } }

/* Étapes numérotées */
.methode { counter-reset: pas; }
.methode li { counter-increment: pas; display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: .3rem .6rem; padding: 1.25rem 1.35rem; margin-bottom: .75rem; background: #fff; border: 1px solid var(--filet); border-radius: var(--r-f); }
.blanc .methode li { background: var(--ecume); border-color: transparent; }
.methode li::before { content: counter(pas); grid-row: span 2; font: 500 2.4rem/1 var(--titre); color: var(--houle); }
.methode li p { grid-column: 2; color: var(--gris); }

/* Listes simples */
.points { margin-top: 1.5rem; display: grid; gap: .8rem; }
.points li { padding-left: 1.1rem; position: relative; max-width: 62ch; }
.points li::before { content: ""; position: absolute; left: 0; top: .72em; width: .45rem; height: 2px; background: var(--houle); }
.marine .points li::before { background: var(--clair); }
.technos { margin-top: 1.25rem; font-size: .9375rem; color: var(--gris); }
.ouverture-texte .technos { order: 1; }
.ouverture-texte .actions { margin-top: 1.25rem; }

/* Questions fréquentes */
.faq { background: #fff; border: 1px solid var(--filet); border-radius: var(--r); padding-inline: 1.2rem; margin-bottom: .6rem; }
.blanc .faq { background: var(--ecume); border-color: transparent; }
.faq summary { padding: 1rem 0; font-weight: 600; font-size: 1.0625rem; cursor: pointer; }
.faq summary:hover { color: var(--houle); }
.faq p { padding-bottom: 1.1rem; color: var(--gris); }

/* Appel à l'action et pages voisines */
.appel h2 { max-width: 22ch; }
.voisins { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / .22); display: flex; flex-wrap: wrap; gap: .4rem 1.75rem; font-size: 1rem; }

/* Contact */
.courriel { display: inline-block; margin-top: 1.5rem; font: 600 clamp(1.4rem, 2.6vw, 2.1rem)/1.15 var(--titre); overflow-wrap: anywhere; }
.coordonnees { margin-top: 1.5rem; display: grid; gap: .25rem; }

/* Pages légales */
.legal > * { max-width: 46rem; }
.legal h2 { font-size: 1.5rem; margin: 2.5rem 0 .75rem; }
.legal h2:first-child { margin-top: 0; }
.legal p + ul, .legal ul + p { margin-top: 1rem; }
.legal ul { display: grid; gap: .35rem; }
.legal li { padding-left: 1.1rem; position: relative; }
.legal li::before { content: ""; position: absolute; left: 0; top: .72em; width: .45rem; height: 2px; background: var(--houle); }
.legal dl { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: .35rem 1.5rem; margin: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .legal dl { grid-template-columns: minmax(0, 1fr); gap: 0; } .legal dd { margin-bottom: .6rem; } }
.legal dt { font-weight: 600; }
.legal dd { margin: 0; }
.todo { background: #fff3cd; color: #5c4400; padding: 0 .3rem; }

/* Pied de page */
.pied { background: var(--marine); color: var(--gris-nuit); padding-block: 3.5rem 2rem; font-size: 1rem; border-top: 1px solid rgb(255 255 255 / .18); }
.pied a { color: #fff; text-decoration: none; }
.pied a:hover { color: var(--clair); text-decoration: underline; }
.pied-haut { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 2.5rem; }
.pied h2 { font: 600 1rem var(--texte); letter-spacing: 0; color: var(--gris-nuit); margin-bottom: .8rem; }
.pied ul { display: grid; gap: .4rem; }
.pied-marque img { height: 60px; width: auto; margin-bottom: 1.1rem; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / .18); }
.pied-bas ul { display: flex; flex-wrap: wrap; gap: .4rem 1.75rem; }
.marques { margin-top: 1rem; font-size: .875rem; max-width: 90ch; }
@media (max-width: 860px) { .pied-haut { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .pied-marque { grid-column: 1 / -1; } }

/* Haut de page : accroche à gauche, formulaire d'audit gratuit à droite, dans le cadre du site */
.accueil { background: #fff; padding-block: clamp(2rem, 3.5vw, 3rem); }
.accueil .cadre { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 27rem); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.etiquette { display: inline-block; margin-bottom: .75rem; padding: .15rem .85rem; border-radius: 99px; background: var(--ciel); color: var(--marine); font-size: .9375rem; font-weight: 600; }
h1 .suite { display: block; margin-top: .45rem; font-size: .54em; font-weight: 600; line-height: 1.2; color: var(--houle); }
.appel-mobile { display: none; }
.coches { margin-top: 1.75rem; display: grid; gap: .7rem; }
.coches li { display: flex; align-items: center; gap: .7rem; font-weight: 500; }
.coches .ico { flex: none; width: 24px; height: 24px; margin: 0; padding: 0; background: none; stroke-width: 2.4; }

.fiche-audit { padding: 1.25rem 1.4rem; background: var(--ecume); border: 1px solid var(--filet); border-radius: 20px; }
.fiche-audit h2 { font-size: 1.45rem; color: var(--marine); }
.fiche-audit > p { margin-top: .2rem; color: var(--gris); font-size: .9375rem; }
.champs { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: .5rem .6rem; margin-top: .75rem; }
.champ { display: grid; gap: .1rem; font-size: .875rem; font-weight: 600; }
.champ.large { grid-column: 1 / -1; }
.champ input, .champ select, .champ textarea { width: 100%; min-height: 42px; padding: .4rem .7rem; background: #fff; border: 1px solid var(--filet); border-radius: var(--r); color: var(--encre); font: 400 1rem var(--texte); }
.champ textarea { resize: vertical; }
.fiche-audit .btn { width: 100%; justify-content: center; margin-top: .7rem; }
.fiche-audit .reponse-form { margin-top: .5rem; color: var(--marine); font-weight: 600; }
.fiche-audit .reponse-form:empty { display: none; }
.fiche-audit .mention-form { margin-top: .5rem; font-size: .8125rem; line-height: 1.35; }
@media (max-width: 1100px) {
  .accueil .cadre { grid-template-columns: minmax(0, 1fr); }
  .appel-mobile { display: inline-flex; margin-top: 1.25rem; }
}

/* Technologies administrées : logos en couleur */
.tuiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.tuiles a { height: 100%; display: grid; justify-items: center; align-content: center; gap: .7rem; padding: 1.5rem .75rem; background: #fff; border: 1px solid var(--filet); border-radius: var(--r-f); color: var(--encre); font-weight: 600; font-size: .9375rem; line-height: 1.2; text-align: center; text-decoration: none; transition: border-color 150ms; }
.tuiles a:hover { border-color: var(--houle); color: var(--encre); }
.blanc .tuiles a { background: var(--ecume); border-color: transparent; }
.blanc .tuiles a:hover { border-color: var(--houle); }
.tuiles .autres { color: var(--marine); }
.tuiles .autres .tuile-logo { width: 42px; border-radius: var(--r); background: var(--ciel); color: var(--houle); font: 600 1.6rem/1 var(--titre); }
.blanc .tuiles .autres .tuile-logo { background: #fff; }
.tuile-logo { display: grid; place-items: center; height: 42px; }
.tuiles .logo { width: 40px; height: 40px; }
.tuiles .logo.large { width: 100px; height: 20px; }
@media (max-width: 1000px) { .tuiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Démonstrations de nos outils */
.demos-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.demos-vue { min-width: 0; display: grid; gap: .75rem; }
@media (max-width: 1000px) { .demos-grille { grid-template-columns: minmax(0, 1fr); } }

/* Méthode en trois étapes */
.methode.trois, .methode.quatre { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.25rem; }
.methode.trois li, .methode.quatre li { margin: 0; padding: 1.75rem; grid-template-columns: minmax(0, 1fr); gap: .4rem; }
.methode.trois li p, .methode.quatre li p { grid-column: 1; }

/* Sans et avec CyberAtlantic */
.comparaison { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.comparaison > div { padding: clamp(1.75rem, 3vw, 2.5rem); border-radius: var(--r-f); }
.sans { background: var(--ecume); }
.avec { background: var(--marine); color: #fff; }
.comparaison h3 { font-size: 1.45rem; margin-bottom: .9rem; }
.comparaison ul { display: grid; gap: .8rem; }
.comparaison li { position: relative; padding-left: 1.6rem; }
.comparaison li::before { position: absolute; left: 0; font-weight: 700; }
.sans li { color: var(--gris); }
.sans li::before { content: "✕"; color: var(--signal); }
.avec li::before { content: "✓"; color: var(--clair); }
@media (max-width: 760px) { .comparaison { grid-template-columns: minmax(0, 1fr); } }

/* Questions et détail technique, repliés par défaut */
.liste-faq { max-width: 54rem; }
.technique { background: #fff; border: 1px solid var(--filet); border-radius: var(--r-f); padding-inline: clamp(1.25rem, 3vw, 2rem); }
.technique summary { padding-block: 1.25rem; font: 600 1.25rem var(--titre); cursor: pointer; }
.technique summary:hover { color: var(--lien); }
.technique[open] { padding-bottom: 2rem; }
.technique .technos { margin: 0 0 1.5rem; }
.faits-texte { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); gap: 1.5rem 2.5rem; margin-bottom: 2rem; }
.faits-texte h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.faits-texte p { color: var(--gris); font-size: 1rem; }

/* Réduire les animations : captures et scènes restent lisibles, à l'arrêt */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .chemin::after, .chemin .robot { display: none; }
  .pli { position: static; width: max-content; margin-bottom: .5rem; opacity: 1; }
  .graphe .trace { stroke-dashoffset: 0; }
  .bascule > .pastille:not(.non) { display: none; }
  .tache .fait { opacity: 1; }
}
