/* Moodheel Display — feuille de style unique du site */
@font-face{font-family:"Inter";src:url("../fonts/inter-latin-wght-normal.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"Space Grotesk";src:url("../fonts/space-grotesk-latin-wght-normal.woff2") format("woff2");font-weight:300 700;font-style:normal;font-display:swap}

:root{
  --fond:#060A12;--panneau:rgba(13,20,32,.92);--creux:#08101C;
  --trait:#1C2740;--trait-fort:#2B3A5C;
  --texte:#EAF0FA;--doux:#A3B0C7;
  --accent:#4FD8FF;--accent-clair:#9BE9FF;--sur-accent:#04121A;
  --whatsapp:#25D366;--sur-whatsapp:#04200F;
  --titre:"Space Grotesk",system-ui,sans-serif;--corps:"Inter",system-ui,sans-serif;
  --large:1200px;--rayon:18px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--fond);color:var(--texte);font-family:var(--corps);font-size:16px;line-height:1.6}
img{max-width:100%;height:auto;display:block}
a{color:var(--accent)}
a:hover{color:var(--accent-clair)}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}
h1,h2,h3,p{margin:0}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.evitement{position:absolute;left:-9999px;top:0;background:var(--accent);color:var(--sur-accent);padding:10px 16px;z-index:50;font-weight:600}
.evitement:focus{left:8px;top:8px}

/* Fond animé */
#fond{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
.page{position:relative;z-index:1}

/* Structure */
.bloc{max-width:var(--large);margin:0 auto;padding:72px 24px}
.bloc--serre{padding-top:56px;padding-bottom:56px}
.bloc--fin{padding-bottom:96px}
.entete-bloc{display:flex;flex-direction:column;gap:12px;margin-bottom:40px;max-width:720px}
.surtitre{font-size:13px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--accent)}
.titre-2{font-family:var(--titre);font-weight:600;font-size:clamp(1.8rem,3.2vw,2.6rem);line-height:1.15}
.titre-3{font-family:var(--titre);font-weight:600;font-size:21px;line-height:1.25}
.doux{color:var(--doux)}
.lien-fort{font-weight:600;text-decoration:none;display:inline-block;padding:10px 0}
.lien-fort:hover{text-decoration:underline}
.apres{margin-top:28px}

/* En-tête */
.entete{position:sticky;top:0;z-index:20;border-bottom:1px solid var(--trait);background:rgba(6,10,18,.9);backdrop-filter:blur(8px)}
.entete__in{max-width:var(--large);margin:0 auto;padding:12px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.entete__logo img{height:44px;width:auto}
.menu{display:flex;align-items:center;gap:28px;font-size:15px;font-weight:500}
.menu a{color:var(--texte);text-decoration:none;padding:10px 0;border-bottom:2px solid transparent}
.menu a:hover{color:var(--accent)}
.menu a[aria-current="page"]{color:var(--accent);border-bottom-color:var(--accent)}
.menu .bouton{padding:11px 20px;border-radius:10px;border-bottom:0;color:var(--sur-accent)}
.menu .bouton:hover{color:var(--sur-accent)}
.burger{display:none;width:48px;height:48px;border:1px solid var(--trait-fort);border-radius:10px;background:transparent;color:var(--texte);cursor:pointer;align-items:center;justify-content:center}
@media (max-width:860px){
  .burger{display:inline-flex}
  .menu{display:none;position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;gap:0;padding:8px 24px 20px;background:var(--fond);border-bottom:1px solid var(--trait)}
  .menu.est-ouvert{display:flex}
  .menu a{padding:14px 0;border-bottom:1px solid var(--trait)}
  .menu .bouton{margin-top:14px;text-align:center;padding:14px 20px}
}

/* Boutons */
.bouton{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:14px 26px;border-radius:12px;border:0;background:var(--accent);color:var(--sur-accent);font:inherit;font-weight:600;text-decoration:none;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}
.bouton:hover{color:var(--sur-accent);transform:translateY(-2px);box-shadow:0 10px 28px rgba(79,216,255,.22)}
.bouton--whatsapp{background:var(--whatsapp);color:var(--sur-whatsapp)}
.bouton--whatsapp:hover{color:var(--sur-whatsapp);box-shadow:0 10px 28px rgba(37,211,102,.22)}
.bouton--contour{background:transparent;color:var(--texte);border:1px solid var(--accent)}
.bouton--contour:hover{color:var(--texte)}
.bouton--plein{width:100%}
.boutons{display:flex;flex-wrap:wrap;gap:14px;margin-top:8px}

/* Fil d'Ariane */
.ariane{max-width:var(--large);margin:0 auto;padding:20px 24px 0;font-size:14px;color:var(--doux)}
.ariane ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.ariane li+li::before{content:"/";margin-right:8px;color:var(--trait-fort)}
.ariane a{text-decoration:none}

/* Bandeau d'ouverture */
.ouverture{max-width:var(--large);margin:0 auto;padding:72px 24px 88px;display:flex;flex-wrap:wrap;align-items:center;gap:56px}
.ouverture__texte{flex:1 1 520px;min-width:0;display:flex;flex-direction:column;gap:24px}
.ouverture__visuel{flex:0 1 440px;margin:0 auto;display:flex;justify-content:center}
.titre-1{font-family:var(--titre);font-weight:700;font-size:clamp(2.3rem,4.6vw,3.9rem);line-height:1.06;letter-spacing:-.02em}
.chapeau{max-width:600px;font-size:18px;color:var(--doux)}

/* Cartes */
.cartes{display:flex;flex-wrap:wrap;gap:24px}
.carte{flex:1 1 300px;min-width:0;background:var(--panneau);border:1px solid var(--trait);border-radius:var(--rayon);padding:22px;display:flex;flex-direction:column;gap:12px;transition:transform .25s ease,border-color .25s ease}
.carte:hover{transform:translateY(-4px);border-color:var(--accent)}
.cartes--larges .carte{flex-basis:420px}
.carte__visuel{aspect-ratio:4/3;border-radius:12px;border:1px solid var(--trait);background:var(--creux);display:flex;align-items:center;justify-content:center;overflow:hidden}
.photo{display:block;width:100%;height:100%;object-fit:cover}
.ouverture__visuel .photo{height:auto;border-radius:var(--rayon);border:1px solid var(--trait);box-shadow:0 0 60px rgba(79,216,255,.12)}
.carte .lien-fort{margin-top:auto}

/* Étapes */
.etapes{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:24px}
.etapes li{flex:1 1 200px;min-width:0;border-top:2px solid var(--accent);padding-top:18px;display:flex;flex-direction:column;gap:8px}
.etapes__num{font-family:var(--titre);font-weight:700;font-size:15px;letter-spacing:.1em;color:var(--accent)}

/* Pastilles */
.pastilles{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:12px}
.pastilles li{border:1px solid var(--trait-fort);border-radius:999px;padding:12px 22px;background:var(--panneau)}

/* Lignes numérotées */
.duo{display:flex;flex-wrap:wrap;gap:48px}
.duo__texte{flex:1 1 380px;min-width:0;display:flex;flex-direction:column;gap:14px}
.duo__liste{flex:1 1 480px;min-width:0}
.lignes{display:flex;flex-direction:column}
.ligne{display:flex;gap:20px;padding:20px 0;border-bottom:1px solid var(--trait)}
.ligne:last-child{border-bottom:0}
.ligne__num{font-family:var(--titre);font-weight:700;font-size:20px;color:var(--accent);min-width:36px}
.ligne h3{font-size:18px;font-weight:600}
.ligne div{display:flex;flex-direction:column;gap:4px}

/* Références */
.references{display:flex;flex-wrap:wrap;gap:16px}
.references li{flex:1 1 150px;height:92px;border-radius:12px;background:#F4F7FB;display:flex;align-items:center;justify-content:center;padding:14px}
.references{list-style:none;margin:0;padding:0}
.references img{max-height:64px;width:auto;object-fit:contain}
.titre-ref{font-family:var(--titre);font-weight:600;font-size:22px;margin-bottom:24px}

/* Encadré */
.encadre{background:var(--panneau);border:1px solid var(--trait);border-radius:var(--rayon);padding:40px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px}
.encadre__texte{flex:1 1 480px;min-width:0;display:flex;flex-direction:column;gap:8px}
.encadre .titre-2{font-size:clamp(1.5rem,2.6vw,2rem)}

/* Devis et formulaire */
.devis{max-width:var(--large);margin:0 auto;padding:72px 24px 96px;display:flex;flex-wrap:wrap;gap:48px}
.devis__texte{flex:1 1 380px;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.devis__texte a:not(.bouton){text-decoration:none}
.formulaire{flex:1 1 480px;min-width:0;background:var(--panneau);border:1px solid var(--trait);border-radius:var(--rayon);padding:28px;display:flex;flex-direction:column;gap:16px}
.rang{display:flex;flex-wrap:wrap;gap:16px}
.champ{flex:1 1 200px;display:flex;flex-direction:column;gap:6px}
.champ label{font-size:14px;font-weight:500}
.champ input,.champ select,.champ textarea{min-height:48px;border-radius:10px;border:1px solid var(--trait-fort);background:var(--creux);color:var(--texte);padding:0 14px;font:inherit;width:100%}
.champ textarea{padding:12px 14px;resize:vertical}
.champ input:focus,.champ select:focus,.champ textarea:focus{outline:2px solid var(--accent);outline-offset:1px;border-color:var(--accent)}
.piege{position:absolute;left:-9999px}
.note{font-size:14px;color:var(--doux)}
.etat{font-weight:600}
.etat:empty{display:none}
.etat.est-ok{color:var(--whatsapp)}
.etat.est-erreur{color:#FF9B9B}
.coordonnees{display:flex;flex-direction:column;gap:22px}
.coordonnees h2{font-size:18px;font-weight:600}
.coordonnees a{text-decoration:none}

/* Pied de page */
.pied{position:relative;z-index:1;border-top:1px solid var(--trait);background:rgba(6,10,18,.94)}
.pied__in{max-width:var(--large);margin:0 auto;padding:48px 24px 32px;display:flex;flex-wrap:wrap;gap:40px}
.pied__marque{flex:1 1 300px;display:flex;flex-direction:column;gap:14px}
.pied__marque img{height:48px;width:auto;align-self:flex-start}
.pied__marque p{max-width:340px;color:var(--doux)}
.pied__liens{flex:1 1 180px;display:flex;flex-direction:column;gap:4px}
.pied__liens a{text-decoration:none;padding:6px 0}
.pied__coord{flex:1 1 260px;display:flex;flex-direction:column;gap:6px;color:var(--doux)}
.pied__coord a{text-decoration:none}
.pied__titre{font-weight:600;color:var(--texte);margin-bottom:6px}
.pied__wa{color:var(--whatsapp);font-weight:600}
.pied__bas{padding:20px 24px;border-top:1px solid var(--trait);text-align:center;font-size:14px;color:var(--doux)}

/* Illustrations produits (dessinées en CSS, dimensions en em) */
.totem,.borne{display:flex;flex-direction:column;align-items:center;font-size:10px}
.totem--petit{font-size:4.1px}.borne--petit{font-size:4.6px}
.totem__corps{position:relative;width:23em;height:43em;border:2px solid var(--trait-fort);border-radius:2.2em;background:#0D1420;padding:1.4em}
.totem__ecran{height:100%;border-radius:1.2em;background:var(--creux);border:1px solid var(--trait);padding:1.6em;display:flex;flex-direction:column;gap:1.2em}
.totem__barre{height:.8em;width:60%;border-radius:4px;background:var(--accent)}
.totem__image{height:12em;border-radius:1em;background:#12203A;border:1px solid #24406B}
.totem__tuiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1em}
.totem__tuiles span{height:6.4em;border-radius:1em;background:#0F1A2E;border:1px solid var(--trait)}
.totem__tuiles span:nth-child(2){border-color:var(--accent)}
.totem__toucher{position:absolute;right:3.4em;bottom:12.2em;width:4.6em;height:4.6em;border:2px solid var(--accent);border-radius:50%;animation:toucher 2.2s ease-out infinite}
.totem__pied{width:6em;height:7em;background:#0D1420;border-left:2px solid var(--trait-fort);border-right:2px solid var(--trait-fort)}
.totem__socle{width:20em;height:1.4em;border-radius:8px;background:#16233C;border:2px solid var(--trait-fort)}
.totem--plan .totem__corps,.totem--plan .totem__pied,.totem--plan .totem__socle{background:transparent;border-style:dashed;border-color:var(--accent)}
.totem--plan .totem__ecran,.totem--plan .totem__image,.totem--plan .totem__tuiles span{background:transparent;border-style:dashed;border-color:var(--accent)}
.totem--plan .totem__toucher{display:none}
.borne__corps{width:30em;height:20em;border:2px solid var(--trait-fort);border-radius:1.8em;background:#0D1420;padding:1.2em}
.borne__ecran{height:100%;border-radius:1em;background:var(--creux);border:1px solid var(--trait);padding:1.4em;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1em}
.borne__ecran span{border-radius:8px;background:#0F1A2E;border:1px solid var(--trait)}
.borne__ecran span:first-child{background:#12203A;border-color:#24406B}
.borne__ecran span:nth-child(2){border-color:var(--accent)}
.borne__pied{width:7em;height:19em;background:#0D1420;border-left:2px solid var(--trait-fort);border-right:2px solid var(--trait-fort)}
.borne__socle{width:21em;height:1.4em;border-radius:8px;background:#16233C;border:2px solid var(--trait-fort)}
@keyframes toucher{0%{transform:scale(.3);opacity:.9}100%{transform:scale(1.9);opacity:0}}

/* Apparition au défilement (uniquement si JavaScript est actif) */
.js [data-apparition]{opacity:0;transform:translateY(14px);transition:opacity .5s ease,transform .5s ease}
.js [data-apparition].est-visible{opacity:1;transform:none}

/* Page introuvable */
.introuvable{max-width:720px;margin:0 auto;padding:120px 24px;display:flex;flex-direction:column;align-items:flex-start;gap:20px}

@media (max-width:600px){
  .bloc{padding:56px 20px}
  .ouverture{padding:48px 20px 64px;gap:40px}
  .devis{padding:56px 20px 72px}
  .encadre{padding:28px}
  .formulaire{padding:22px}
  .entete__logo img{height:38px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .bouton,.carte{transition:none}
  .bouton:hover,.carte:hover{transform:none}
  .totem__toucher{animation:none;opacity:.6}
  .js [data-apparition]{opacity:1;transform:none;transition:none}
}
