/* Fox Echo Group — mur d'écrans du poste de commandement */
:root {
  --fond: #0e0f12;
  --surface: #151517;
  --surface-2: #1c1c20;
  --bezel: #2a2a2f;
  --bezel-clair: #3b3b42;
  --texte: #f2f3f5;
  --texte-2: #adadb3;
  --magenta: #c00090;
  --magenta-texte: #f05ad0;
  --magenta-lueur: rgba(192, 0, 144, .35);
  --violet: #7c3aed;
  --violet-texte: #b79cff;
  --turquoise: #25d5b2;
  --police: "Poppins", "Poppins-secours", system-ui, sans-serif;
  --espace-1: .5rem; --espace-2: 1rem; --espace-3: 1.5rem; --espace-4: 2.5rem; --espace-5: 4rem; --espace-6: 6rem;
  --rayon: 6px;
  --gouttiere: clamp(16px, 4vw, 48px);
  --largeur: 1280px;
  --sortie: cubic-bezier(.16, 1, .3, 1);
}
@font-face { font-family: "Poppins-secours"; src: local("Arial"), local("Helvetica"); size-adjust: 112.16%; ascent-override: 93.77%; descent-override: 31.26%; line-gap-override: 8.93%; }
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("/assets/fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("/assets/fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("/assets/fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("/assets/fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-display: swap; src: url("/assets/fonts/poppins-latin-800-normal.woff2") format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--texte); font-family: var(--police); font-size: 1.0625rem; line-height: 1.6; caret-color: var(--magenta-texte); accent-color: var(--magenta); }
img, svg, picture, video { display: block; max-width: 100%; height: auto; }
a { color: var(--magenta-texte); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: #fff; }
h1, h2, h3 { margin: 0 0 .5em; font-weight: 800; letter-spacing: -.025em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: #fff; }
::selection { background: var(--magenta); color: #fff; }
:focus-visible { outline: 2px solid var(--magenta-texte); outline-offset: 3px; border-radius: 3px; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--fond); }
::-webkit-scrollbar-thumb { background: var(--bezel-clair); border: 3px solid var(--fond); border-radius: 8px; }
@supports (scrollbar-color: auto) { html { scrollbar-color: var(--bezel-clair) var(--fond); } }

/* Libellé d'écran : petites capitales espacées, la voix des bandeaux d'état */
.libelle { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--texte-2); }

/* Évitement et en-tête */
.evitement { position: absolute; left: var(--gouttiere); top: -100px; padding: .5rem 1rem; background: var(--magenta); color: #fff; border-radius: var(--rayon); z-index: 100; }
.evitement:focus { top: .5rem; }
.entete { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: var(--espace-3); padding: .85rem var(--gouttiere); background: rgba(14, 15, 18, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--bezel); }
.logo img { width: 200px; height: auto; }
.navigation ul { display: flex; gap: 1.6rem; margin: 0; padding: 0; list-style: none; }
.navigation a { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-2); text-decoration: none; padding: .35rem 0; border-bottom: 2px solid transparent; }
.navigation a:hover { color: #fff; }
.navigation a[aria-current="page"] { color: #fff; border-bottom-color: var(--magenta); }
.navigation a.langue { margin-left: 1.6rem; padding: .3rem .6rem; border: 1px solid var(--bezel-clair); border-radius: var(--rayon); }
.navigation { display: flex; align-items: center; }
.menu-bouton { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--bezel-clair); border-radius: var(--rayon); background: transparent; color: var(--texte); cursor: pointer; }
.menu-bouton svg { margin: auto; }

/* Conteneurs */
main { display: block; }
.section { padding: var(--espace-5) var(--gouttiere); max-width: var(--largeur); margin: 0 auto; }
.section-titre { max-width: 22ch; }
.section-intro { max-width: 62ch; color: var(--texte-2); font-size: 1.125rem; margin-bottom: var(--espace-4); }
.bezel { border: 1px solid var(--bezel); border-radius: var(--rayon); background: var(--surface); }

/* Héros */
.heros { display: grid; grid-template-columns: 7fr 5fr; gap: var(--espace-3) var(--espace-4); align-items: end; padding: var(--espace-3) var(--gouttiere) var(--espace-3); max-width: var(--largeur); margin: 0 auto; }
.heros-titre { max-width: 16ch; margin: 0; }
.heros-sous-titre { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--texte-2); max-width: 40ch; margin: 0 0 var(--espace-2); }
.actions { display: flex; flex-wrap: wrap; gap: var(--espace-2); align-items: center; }
.bouton { display: inline-flex; align-items: center; gap: .6rem; padding: .85rem 1.5rem; border-radius: var(--rayon); background: var(--magenta); color: #fff; font-weight: 600; text-decoration: none; border: 1px solid transparent; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .7); transition: transform .35s var(--sortie), background .2s; cursor: pointer; font: inherit; font-weight: 600; }
.bouton:hover { background: #d90ba3; color: #fff; transform: translateY(-1px); }
.bouton:active { transform: translateY(0); }
.bouton-second { background: transparent; border-color: var(--bezel-clair); color: var(--texte); box-shadow: none; }
.bouton-second:hover { background: var(--surface-2); border-color: var(--texte-2); }
.bouton:disabled { opacity: .55; cursor: wait; transform: none; }

.heros-produit { align-items: start; }
.heros-produit .heros-titre { margin-top: .4rem; }

/* Mur d’écrans : les briques */
.tuiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--espace-2); padding: 0 var(--gouttiere) var(--espace-5); max-width: var(--largeur); margin: 0 auto; list-style: none; }
.tuile { position: relative; display: flex; flex-direction: column; border: 1px solid var(--bezel); border-radius: var(--rayon); background: var(--surface); color: var(--texte); text-decoration: none; overflow: hidden; transition: transform .5s var(--sortie), opacity .4s var(--sortie), border-color .3s; }
.tuile picture, .tuile > img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.tuile picture img { width: 100%; height: 100%; object-fit: cover; }
.tuile-barre { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .55rem .9rem; border-bottom: 1px solid var(--bezel); }
.tuile-verbe { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--texte-2); }
.tuile-badge { display: inline-flex; align-items: center; gap: .45rem; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--turquoise); }
.tuile-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--turquoise); box-shadow: 0 0 0 0 rgba(37, 213, 178, .6); animation: pulsation 2s infinite; }
.tuile-corps { padding: .8rem 1rem 1rem; }
.tuile h2, .tuile h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.tuile p { color: var(--texte-2); font-size: .95rem; }
.tuile-suite { display: inline-block; margin-top: .4rem; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--magenta-texte); }
.tuile-argos h2, .tuile-argos h3 { color: var(--violet-texte); }
@media (hover: hover) {
  .tuiles:has(.tuile:hover) .tuile:not(:hover) { opacity: .5; }
  .tuile:hover { transform: scale(1.03); border-color: var(--bezel-clair); z-index: 1; }
}
.tuiles:has(.tuile:focus-visible) .tuile:not(:focus-visible) { opacity: .5; }
.tuile:focus-visible { transform: scale(1.03); outline-offset: 0; }
@keyframes pulsation { 0% { box-shadow: 0 0 0 0 rgba(37, 213, 178, .6); } 70% { box-shadow: 0 0 0 9px rgba(37, 213, 178, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 213, 178, 0); } }

/* Bandeau des preuves : une main courante en une ligne */
.preuves { padding: 0 8px; border-top: 1px solid var(--bezel); border-bottom: 1px solid var(--bezel); background: var(--surface); }
.preuves ul { display: flex; flex-wrap: wrap; gap: .5rem 0; max-width: var(--largeur); margin: 0 auto; padding: 1rem calc(var(--gouttiere) - 8px); list-style: none; }
.preuves li { display: flex; align-items: baseline; gap: .5rem; padding: .25rem 1.4rem .25rem 0; margin-right: 1.4rem; border-right: 1px solid var(--bezel-clair); font-size: .95rem; color: var(--texte-2); }
.preuves li:last-child { border-right: 0; margin-right: 0; }
.preuves strong { font-weight: 700; color: #fff; letter-spacing: -.01em; }

/* Scénarios : chaque brique s'emboîte sur l'assemblage précédent */
.scenarios { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--espace-3); }
.scenario { padding: 1.4rem 1.4rem 1.6rem; }
.scenario h3 { margin-bottom: .8rem; }
.etapes { margin: 0; padding: 0; list-style: none; counter-reset: etape; }
.etapes li { position: relative; padding: .55rem 0 .55rem 2.4rem; border-top: 1px solid var(--bezel); color: var(--texte); font-size: .95rem; counter-increment: etape; }
.etapes li:not(:last-child) { color: rgba(173, 173, 179, .75); }
.etapes li:not(:last-child) .brique { border-color: rgba(59, 59, 66, .8); color: rgba(242, 243, 245, .6); }
.etapes li:not(:last-child) .brique-argos { border-color: rgba(124, 58, 237, .5); color: rgba(183, 156, 255, .6); }
.etapes li:last-child .brique { background: #fff; border-color: #fff; color: var(--fond); }
.etapes li:last-child .brique-argos { background: var(--violet); border-color: var(--violet); color: #fff; }
.etapes li::before { content: counter(etape, decimal-leading-zero); position: absolute; left: 0; top: .6rem; font-size: .75rem; font-weight: 700; letter-spacing: .08em; color: var(--texte-2); font-variant-numeric: tabular-nums; }
.etapes .brique { display: inline-block; margin-right: .35rem; padding: .05rem .5rem; border: 1px solid var(--bezel-clair); border-radius: 999px; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; vertical-align: .1em; }
.etapes .brique-argos { border-color: var(--violet); color: var(--violet-texte); }

.section-lien { margin-top: 1.5rem; font-weight: 600; }

/* Fiche technique */
.fiche { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.fiche th, .fiche td { padding: .8rem 1rem; border-top: 1px solid var(--bezel); text-align: left; vertical-align: top; }
.fiche th { width: 34%; font-weight: 600; color: var(--texte-2); font-size: .9rem; }
.fiche tr:last-child td, .fiche tr:last-child th { border-bottom: 1px solid var(--bezel); }
.fiche caption { text-align: left; padding: 0 0 .6rem; }

/* Galerie d'écrans */
.galerie { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--espace-2); }
.capture { margin: 0; border: 1px solid var(--bezel); border-radius: var(--rayon); overflow: hidden; background: var(--surface); }
.capture.large { grid-column: 1 / -1; }
.capture img { width: 100%; }
.capture figcaption { padding: .6rem .9rem; border-top: 1px solid var(--bezel); font-size: .8rem; color: var(--texte-2); }

/* Colonnes et écrans secondaires */
.colonnes { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--espace-3); align-items: start; }
.colonnes-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--espace-3); }
.ecran { padding: 1.4rem; border: 1px solid var(--bezel); border-radius: var(--rayon); background: var(--surface); }
.ecran h3, .ecran h2 { margin-bottom: .5rem; }
.ecran h2 { font-size: 1.35rem; letter-spacing: -.01em; }
.ecran p { color: var(--texte-2); font-size: .97rem; }
.ecran-argos { border-color: rgba(124, 58, 237, .5); }
.ecran-argos h3 { color: var(--violet-texte); }
.ecran picture, .ecran > img { margin: -1.4rem -1.4rem 1rem; width: calc(100% + 2.8rem); max-width: none; border-bottom: 1px solid var(--bezel); }

/* Variantes de grille et offres */
.colonnes-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--espace-2); }
.offre ul { margin: .6rem 0 0; padding: 0; list-style: none; color: var(--texte-2); font-size: .95rem; }
.offre li { padding: .35rem 0; border-top: 1px solid var(--bezel); }
.offre-prix { display: block; margin-top: .8rem; font-weight: 600; color: var(--texte); }
.offre-phare { border-color: var(--violet); }
.heros-badge { display: inline-flex; align-items: center; gap: .45rem; margin-top: .2rem; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--turquoise); }
.heros-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--turquoise); animation: pulsation 2s infinite; }
.heros-argos .heros-titre { color: var(--violet-texte); }
.heros-slogan { font-size: clamp(1.3rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -.02em; color: #fff; margin-bottom: .6rem; }
.etapes-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--espace-2); counter-reset: etape; list-style: none; padding: 0; margin: 0; }
.etapes-3 li { counter-increment: etape; padding: 1.2rem 1.4rem; border: 1px solid var(--bezel); border-radius: var(--rayon); background: var(--surface); }
.etapes-3 li::before { content: counter(etape, decimal-leading-zero); display: block; margin-bottom: .5rem; font-size: .75rem; font-weight: 700; letter-spacing: .12em; color: var(--texte-2); }
.etapes-3 strong { display: block; font-size: 1.1rem; margin-bottom: .3rem; }
.etapes-3 span { color: var(--texte-2); font-size: .95rem; }

.colonnes > div > .ecran + .ecran { margin-top: 1rem; }

/* Listes à filets : titre + texte séparés par un trait, sans boîte */
.filets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--espace-4); }
.filets-3 { grid-template-columns: repeat(3, 1fr); }
.filets > * { padding: 1.1rem 0 1.2rem; border-top: 1px solid var(--bezel); }
.filets h3 { margin-bottom: .35rem; }
.filets p { color: var(--texte-2); font-size: .97rem; }
.filets-argos h3 { color: var(--violet-texte); }

/* Bandeau de statut (en développement, etc.) */
.statut { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.2rem; border: 1px solid var(--bezel-clair); border-radius: var(--rayon); background: var(--surface-2); color: var(--texte-2); }
.statut .libelle { color: var(--texte-2); white-space: nowrap; }

/* FAQ */
.faq { border-top: 1px solid var(--bezel); }
.faq:last-of-type { border-bottom: 1px solid var(--bezel); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--texte-2); border-bottom: 2px solid var(--texte-2); transform: rotate(45deg); transition: transform .3s var(--sortie); margin-right: .3rem; }
.faq[open] summary::after { transform: rotate(-135deg); }
.faq p { padding: 0 0 1.1rem; color: var(--texte-2); max-width: 70ch; }

/* Appel à la démo */
.appel { padding: var(--espace-5) var(--gouttiere); max-width: var(--largeur); margin: 0 auto; }
.appel-cadre { padding: 3rem; border: 1px solid var(--bezel-clair); border-radius: var(--rayon); background: linear-gradient(135deg, var(--surface-2), var(--surface) 60%); display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--espace-3); align-items: center; }
.appel h2 { max-width: 18ch; }
.appel p { color: var(--texte-2); max-width: 46ch; }
.appel-tel { font-size: 1.25rem; font-weight: 600; color: #fff; text-decoration: none; }
.appel-tel:hover { color: var(--magenta-texte); }

/* Formulaire */
.formulaire { display: grid; gap: 1rem; }
.formulaire label { display: grid; gap: .35rem; font-size: .9rem; font-weight: 500; }
.formulaire input, .formulaire textarea { width: 100%; padding: .75rem .9rem; border: 1px solid var(--bezel-clair); border-radius: var(--rayon); background: var(--surface); color: var(--texte); font: inherit; }
.formulaire input:focus, .formulaire textarea:focus { outline: none; border-color: var(--magenta-texte); box-shadow: 0 0 0 3px var(--magenta-lueur); }
.formulaire textarea { min-height: 9rem; resize: vertical; }
.formulaire input::placeholder, .formulaire textarea::placeholder { color: #7c828e; }
.formulaire fieldset { border: 1px solid var(--bezel); border-radius: var(--rayon); padding: .8rem 1rem 1rem; margin: 0; }
.formulaire legend { padding: 0 .4rem; font-size: .9rem; font-weight: 500; }
.formulaire .cases { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }
.formulaire .cases label { display: inline-flex; align-items: center; gap: .5rem; font-weight: 400; }
.formulaire .cases input { width: 18px; height: 18px; padding: 0; }
.formulaire .piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulaire-message { min-height: 1.5em; font-size: .95rem; }
.formulaire-message[data-etat="erreur"] { color: #ff8a8a; }
.formulaire-message[data-etat="ok"] { color: var(--turquoise); }
.contact-coordonnees address { font-style: normal; line-height: 1.8; }
.contact-coordonnees a { text-decoration: none; }

/* Prose (pages légales, récits) */
.prose { max-width: 70ch; }
.prose h2 { margin-top: var(--espace-4); font-size: 1.5rem; }
.prose ul { padding-left: 1.2rem; color: var(--texte-2); }

/* Frise (Drone 31) */
.frise { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--espace-2); list-style: none; padding: 0; margin: 0; }
.frise li { padding: 1.2rem; border: 1px solid var(--bezel); border-radius: var(--rayon); background: var(--surface); }
.frise strong { display: block; font-size: 1.1rem; margin-bottom: .3rem; }
.frise span { color: var(--texte-2); font-size: .95rem; }

/* Schéma de l'écosystème (SVG inline) */
.schema { border: 1px solid var(--bezel); border-radius: var(--rayon); background: var(--surface); padding: 1rem; }
.schema svg { width: 100%; height: auto; }

/* Pied */
.pied { margin-top: var(--espace-5); border-top: 1px solid var(--bezel); background: var(--surface); }
.pied-colonnes { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--espace-3); max-width: var(--largeur); margin: 0 auto; padding: var(--espace-4) var(--gouttiere) var(--espace-2); }
.pied address { font-style: normal; line-height: 1.8; color: var(--texte-2); }
.pied a { color: var(--texte-2); text-decoration: none; }
.pied a:hover { color: #fff; }
.pied nav { font-size: .9rem; }
.pied-signature { max-width: var(--largeur); margin: 0 auto; padding: 0 var(--gouttiere) var(--espace-3); font-size: .85rem; color: var(--texte-2); }
.pied-signature strong { letter-spacing: .12em; }

/* Adaptation */
@media (max-width: 1100px) {
  .frise, .colonnes-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .menu-bouton { display: inline-flex; }
  .navigation { position: fixed; inset: 61px 0 auto 0; flex-direction: column; align-items: stretch; padding: var(--espace-2) var(--gouttiere) var(--espace-3); background: var(--fond); border-bottom: 1px solid var(--bezel); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s var(--sortie), transform .3s var(--sortie), visibility 0s .3s; }
  .navigation[data-ouvert] { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .navigation ul { flex-direction: column; gap: 0; }
  .navigation a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--bezel); }
  .navigation a[aria-current="page"] { border-bottom-color: var(--magenta); }
  .navigation a.langue { margin: var(--espace-2) 0 0; text-align: center; }
  .tuiles, .scenarios, .colonnes, .colonnes-3, .colonnes-4, .galerie, .etapes-3, .filets, .filets-3 { grid-template-columns: 1fr; }
  .capture.large { grid-column: auto; }
  .appel-cadre { grid-template-columns: 1fr; padding: 1.6rem; }
  .heros { grid-template-columns: 1fr; align-items: start; }
  .section, .heros, .appel { padding-top: var(--espace-4); padding-bottom: var(--espace-4); }
  .preuves li { border-right: 0; margin-right: 0; padding-right: 0; width: 100%; }
  .logo img { width: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
  .tuile:hover, .tuile:focus-visible { transform: none; }
}
