/* ooMedia : site vitrine (oomedia.eu), version 2. Feuille de style unique, mobile d'abord.
   Couleurs et polices de la plateforme (variante « Cockpit ») : bleu nuit, deux oranges, Montserrat et Inter.
   Jour et nuit suivent l'appareil. Polices auto-hébergées (licence SIL Open Font License), aucun appel à Google. */
@font-face { font-family: "Montserrat"; font-weight: 400 800; font-display: swap; src: url("/fonts/montserrat-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400 600; font-display: swap; src: url("/fonts/inter-latin.woff2") format("woff2"); }

:root {
  /* Marque : identiques le jour et la nuit */
  --nuit: #0B1320;
  --nuit-2: #111C2E;
  --nuit-3: #1A2840;
  --sur-nuit: #E9EDF5;
  --sur-nuit-doux: #A9B4C6;
  --orange: #FF6A13;
  --orange-survol: #FF8540;
  --ligne-nuit: rgba(255, 255, 255, .12);
  /* Jour « Cockpit » */
  --fond: #E7EBF1;
  --surface: #FFFFFF;
  --surface-2: #F3F4F7;
  --encre: #0E1525;
  --doux: #586174;
  --ligne: rgba(14, 21, 37, .1);
  --ligne-champ: #8B94A7;
  --lien: #B34700;
  --vert: #1D754A;
  --rouge: #B42318;
  --ambre: #8A5A00;
  --bleu: #2B5797;
  --teinte-orange: #FFF1E6;
  --teinte-vert: #E3F4EA;
  --teinte-rouge: #FDECEA;
  --teinte-ambre: #FBF0D9;
  --teinte-bleu: #E6EEF9;
  --ombre: 0 1px 2px rgba(14, 21, 37, .05), 0 6px 22px rgba(14, 21, 37, .06);
  --ombre-ecran: 0 24px 60px rgba(11, 19, 32, .28);

  --titre: "Montserrat", "Segoe UI", Arial, sans-serif;
  --texte: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --rayon: 16px;
  --rayon-petit: 10px;
  --gouttiere: 16px;
  --largeur: 1160px;
  --entete: 64px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fond: #070B14; --surface: #0F1726; --surface-2: #162033;
    --encre: #E9EDF5; --doux: #9AA6BA; --ligne: rgba(255, 255, 255, .1); --ligne-champ: #66728A;
    --lien: #FF6A13; --vert: #5EE0A1; --rouge: #FF8A80; --ambre: #F2C46B; --bleu: #8DB4F0;
    --teinte-orange: rgba(255, 106, 19, .14); --teinte-vert: rgba(94, 224, 161, .12); --teinte-rouge: rgba(255, 138, 128, .12);
    --teinte-ambre: rgba(242, 196, 107, .12); --teinte-bleu: rgba(141, 180, 240, .12);
    --ombre: 0 1px 2px rgba(0, 0, 0, .35), 0 8px 26px rgba(0, 0, 0, .3);
    --ombre-ecran: 0 24px 60px rgba(0, 0, 0, .55);
    color-scheme: dark;
  }
}

/* ---------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--entete) + 12px); }
body { margin: 0; background: var(--fond); color: var(--encre); font: 400 1rem/1.6 var(--texte); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--lien); }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--titre); line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 6.5vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding-inline: var(--gouttiere); }
.cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.aller-contenu { position: absolute; left: var(--gouttiere); top: -100px; z-index: 100; padding: .6em 1em; background: var(--orange); color: var(--nuit); font-weight: 600; border-radius: 0 0 8px 8px; }
.aller-contenu:focus { top: 0; }

/* Surtitre : seul élément en capitales, avec la petite barre orange des bandeaux de JT */
.surtitre { display: inline-flex; align-items: center; gap: .6em; margin-bottom: .9rem; font: 700 .8rem/1.2 var(--titre); letter-spacing: .14em; text-transform: uppercase; color: var(--lien); }
.surtitre::before { content: ""; width: 24px; height: 3px; background: currentColor; }
.sur-nuit .surtitre, .heros .surtitre, .appel .surtitre { color: var(--orange); }

/* ---------------------------------------------------------------- boutons */

.bouton { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.35em; border: 2px solid var(--orange); border-radius: 10px; background: var(--orange); color: var(--nuit); font: 700 1rem/1.2 var(--titre); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, transform .15s; }
.bouton:hover { background: var(--orange-survol); border-color: var(--orange-survol); }
.bouton:active { transform: translateY(1px); }
.bouton[disabled] { opacity: .6; cursor: progress; }
.bouton-petit { min-height: 40px; padding: .45em 1em; font-size: .92rem; }
.bouton-contour { background: transparent; color: var(--sur-nuit); border-color: rgba(255, 255, 255, .35); }
.bouton-contour:hover { background: rgba(255, 255, 255, .08); border-color: var(--sur-nuit); }
.lien-fleche { font-weight: 600; text-decoration: none; color: var(--lien); }
.lien-fleche::after { content: " →"; }
.lien-fleche:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- en-tête */

.entete { position: sticky; top: 0; z-index: 50; background: rgba(11, 19, 32, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ligne-nuit); color: var(--sur-nuit); }
.entete-int { display: flex; align-items: center; justify-content: space-between; height: var(--entete); }
.marque img { height: 30px; width: auto; }
.bouton-menu { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -10px; background: none; border: 0; color: var(--sur-nuit); cursor: pointer; }
.barres, .barres::before, .barres::after { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .2s, background-color .2s; }
.barres { position: relative; }
.barres::before, .barres::after { content: ""; position: absolute; left: 0; }
.barres::before { top: -7px; }
.barres::after { top: 7px; }
.bouton-menu[aria-expanded="true"] .barres { background: transparent; }
.bouton-menu[aria-expanded="true"] .barres::before { transform: translateY(7px) rotate(45deg); }
.bouton-menu[aria-expanded="true"] .barres::after { transform: translateY(-7px) rotate(-45deg); }

.navigation { position: absolute; top: var(--entete); left: 0; right: 0; max-height: calc(100vh - var(--entete)); overflow-y: auto; background: var(--nuit); border-bottom: 1px solid var(--ligne-nuit); display: none; }
.navigation.ouvert { display: block; }
.nav-liste { list-style: none; padding: .5rem var(--gouttiere) 1.25rem; }
.nav-lien { display: block; padding: .8rem 0; border-bottom: 1px solid var(--ligne-nuit); color: var(--sur-nuit); text-decoration: none; font: 600 1rem/1.3 var(--titre); }
.nav-lien[aria-current="page"] { color: var(--orange); }
.nav-deroulant { display: none; }
.panneau-outils { display: grid; gap: .25rem; padding: .6rem 0 .8rem; border-bottom: 1px solid var(--ligne-nuit); }
.panneau-col { display: grid; gap: .1rem; }
.rubrique { margin: .6rem 0 .2rem; font: 700 .72rem/1 var(--titre); letter-spacing: .14em; text-transform: uppercase; color: var(--sur-nuit-doux); }
.panneau-outils a { display: grid; padding: .45rem 0; color: var(--sur-nuit); text-decoration: none; }
.panneau-outils a b { font: 700 1rem/1.3 var(--titre); }
.panneau-outils a span { font-size: .88rem; color: var(--sur-nuit-doux); }
.panneau-outils a[aria-current="page"] b { color: var(--orange); }
.nav-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; padding-top: 1rem; }
.lien-connexion { color: var(--sur-nuit); font: 600 .95rem/1.2 var(--titre); text-decoration: none; }
.lien-connexion:hover { color: var(--orange); }

/* ---------------------------------------------------------------- héros */

.heros { position: relative; overflow: hidden; color: var(--sur-nuit); background:
  radial-gradient(ellipse 70% 55% at 88% 12%, rgba(255, 106, 19, .13), transparent 62%),
  linear-gradient(180deg, var(--nuit), var(--nuit-2)); padding-block: 3rem 3.5rem; }
.heros::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 44px 44px; pointer-events: none; }
.heros-int { position: relative; display: grid; gap: 2.5rem; align-items: center; }
.heros h1 { color: #FFFFFF; }
.heros h1 em { font-style: normal; color: var(--orange); }
.chapo { font-size: 1.15rem; color: var(--sur-nuit-doux); max-width: 36rem; }
.heros-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; margin: 1.6rem 0 1rem; }
.heros-note { font-size: .9rem; color: var(--sur-nuit-doux); margin: 0; }
.heros-outil .nom-outil { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: .6rem; font: 700 1rem/1 var(--titre); color: var(--sur-nuit); }
.heros-outil .nom-outil::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.heros-outil h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.heros-court { padding-block: 2.6rem 2.8rem; }
.heros-court h1 { font-size: clamp(2rem, 5.5vw, 3.2rem); }

/* ---------------------------------------------------------------- sections */

.section { padding-block: 4rem; }
.section-surface { background: var(--surface); }
.sur-nuit { background: var(--nuit-2); color: var(--sur-nuit); }
.sur-nuit h2, .sur-nuit h3 { color: #FFFFFF; }
.intro { font-size: 1.1rem; color: var(--doux); max-width: 44rem; margin-bottom: 2.25rem; }
.sur-nuit .intro { color: var(--sur-nuit-doux); }
.section h2 { max-width: 26ch; }
.note { font-size: .88rem; color: var(--doux); }
.sur-nuit .note { color: var(--sur-nuit-doux); }

.grille-2, .grille-3, .grille-4 { display: grid; gap: 1.1rem; }
.carte { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 1.4rem; box-shadow: var(--ombre); min-width: 0; }
.section-surface .carte { background: var(--surface-2); box-shadow: none; }
.carte h3 { margin-bottom: .4rem; }
.carte p:last-child { margin-bottom: 0; }
.carte .doux, .doux { color: var(--doux); }
.sur-nuit .carte { background: var(--nuit-3); border-color: var(--ligne-nuit); box-shadow: none; }
.sur-nuit .carte p { color: var(--sur-nuit-doux); }

/* Liste à puces sobre */
.liste { list-style: none; display: grid; gap: .55rem; }
.liste li { position: relative; padding-left: 1.4rem; }
.liste li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 3px; background: var(--orange); }

/* Les outils rangés par usage */
.usages { display: grid; gap: 1.1rem; }
.usage { display: grid; gap: .9rem; align-content: start; }
.usage-titre { margin: 0; font: 700 .78rem/1 var(--titre); letter-spacing: .14em; text-transform: uppercase; color: var(--doux); }
.outil { display: grid; gap: .35rem; padding: 1.3rem; background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--rayon); box-shadow: var(--ombre); color: var(--encre); text-decoration: none; transition: border-color .2s, transform .2s; }
.outil:hover { border-color: rgba(255, 106, 19, .55); transform: translateY(-2px); }
.outil-nom { display: flex; align-items: center; gap: .55rem; font: 700 1.25rem/1.2 var(--titre); }
.outil-nom::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); flex: none; }
.outil-desc { font: 600 .92rem/1.35 var(--titre); color: var(--lien); }
.outil p { margin: .2rem 0 0; color: var(--doux); font-size: .95rem; }
.outil .lien-fleche { margin-top: .4rem; font-size: .92rem; }

/* Le cycle du sujet */
.cycle { list-style: none; display: grid; gap: 1rem; counter-reset: temps; }
.temps { position: relative; padding: 1.3rem 1.3rem 1.2rem; background: var(--nuit-3); border: 1px solid var(--ligne-nuit); border-radius: var(--rayon); counter-increment: temps; }
.temps-tete { display: flex; align-items: baseline; gap: .6rem; margin-bottom: .5rem; }
.temps-tete::before { content: counter(temps); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: var(--nuit); font: 700 .85rem/1 var(--titre); flex: none; align-self: center; }
.temps h3 { margin: 0; color: #FFFFFF; font-size: 1.25rem; }
.temps p { color: var(--sur-nuit-doux); font-size: .95rem; margin-bottom: .7rem; }
.temps .avec { margin: 0; font-size: .85rem; color: var(--sur-nuit); }
.temps .avec b { color: var(--orange); font-family: var(--titre); }

/* La journée d'une rédaction */
.journee { --col: 6.4rem; list-style: none; position: relative; display: grid; gap: 0; }
.journee::before { content: ""; position: absolute; left: calc(var(--col) + .7rem - 1px); top: .8rem; bottom: .8rem; width: 2px; background: var(--ligne); }
.moment { display: grid; grid-template-columns: var(--col) minmax(0, 1fr); gap: 0 1.4rem; padding-block: .75rem; position: relative; }
.moment-heure { font: 700 1rem/1.4 var(--titre); color: var(--encre); font-variant-numeric: tabular-nums; text-align: right; padding-right: .4rem; }
.moment-corps { position: relative; padding-left: .2rem; }
.moment-corps::before { content: ""; position: absolute; left: calc(-.7rem - 7px); top: .3rem; width: 14px; height: 14px; border-radius: 50%; background: var(--fond); border: 3px solid var(--orange); }
.moment-corps h3 { font-size: 1.02rem; margin: 0 0 .15rem; }
.moment-corps p { margin: 0; color: var(--doux); font-size: .95rem; }
.nom-pastille { display: inline-block; margin-left: .35rem; padding: .1em .5em; border-radius: 5px; background: var(--teinte-orange); color: var(--lien); font: 700 .72rem/1.3 var(--titre); vertical-align: .1em; }

/* L'e-mail et la plateforme */
.duo { display: grid; gap: 1.1rem; }
.duo .carte h3 { display: flex; align-items: center; gap: .6rem; }

/* Tableau de comparaison */
.tableau { overflow-x: auto; border: 1px solid var(--ligne-nuit); border-radius: var(--rayon-petit); }
.tableau table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .95rem; }
.tableau th, .tableau td { padding: .85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--ligne-nuit); }
.tableau tbody tr:last-child > * { border-bottom: 0; }
.tableau thead th { font: 700 .95rem/1.2 var(--titre); color: var(--sur-nuit-doux); background: var(--nuit-3); }
.tableau thead th:last-child { color: var(--orange); }
.tableau tbody th { font-weight: 600; color: #FFFFFF; width: 26%; }
.tableau td { color: var(--sur-nuit-doux); }
.tableau td:last-child { color: #FFFFFF; font-weight: 500; }

/* Références */
.refs { list-style: none; display: grid; gap: 1.1rem; }
.ref-nom { font: 700 1.6rem/1.1 var(--titre); margin-bottom: .2rem; }
.ref-quoi { font-weight: 600; color: var(--lien); margin-bottom: .5rem; }
.citation { margin: 2.25rem 0 0; padding: 1.6rem 1.5rem; border-left: 5px solid var(--orange); background: var(--surface); border-radius: 0 var(--rayon) var(--rayon) 0; box-shadow: var(--ombre); }
.citation p { font: 500 clamp(1.15rem, 3vw, 1.45rem)/1.4 var(--titre); margin-bottom: .8rem; }
.citation footer { font-weight: 600; }
.citation footer span { display: block; font-weight: 400; color: var(--doux); }

/* Données */
.points { display: grid; gap: 1rem; }
.point { display: grid; gap: .25rem; padding-left: 1rem; border-left: 3px solid var(--orange); }
.point b { font: 700 1rem/1.3 var(--titre); }
.point span { color: var(--doux); font-size: .95rem; }
.sur-nuit .point span { color: var(--sur-nuit-doux); }

/* Étapes de mise en route */
.etapes { list-style: none; display: grid; gap: 1rem; counter-reset: etape; }
.etape { position: relative; padding: 1.3rem 1.3rem 1.2rem 4.2rem; background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--rayon); counter-increment: etape; }
.etape::before { content: counter(etape); position: absolute; left: 1.2rem; top: 1.2rem; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--nuit); color: #FFFFFF; font: 700 1.05rem/1 var(--titre); }
.etape h3 { margin-bottom: .3rem; }
.etape p { margin: 0; color: var(--doux); }

/* Offres */
.offres { display: grid; gap: 1.1rem; }
.offre { display: flex; flex-direction: column; padding: 1.6rem 1.4rem; background: var(--nuit-3); border: 1px solid var(--ligne-nuit); border-radius: var(--rayon); }
.offre-vedette { border: 2px solid var(--orange); }
.offre-badge { align-self: flex-start; margin-bottom: .8rem; padding: .3em .6em; border-radius: 6px; background: var(--orange); color: var(--nuit); font: 700 .72rem/1 var(--titre); letter-spacing: .1em; text-transform: uppercase; }
.offre h3 { color: #FFFFFF; margin-bottom: .2rem; }
.prix { font: 700 1.6rem/1.2 var(--titre); color: var(--orange); margin-bottom: 1rem; }
.offre .liste { flex: 1; margin-bottom: 1.4rem; color: var(--sur-nuit); }

/* Questions fréquentes */
.questions { display: grid; gap: .7rem; max-width: 52rem; }
.questions details { background: var(--surface); border: 1px solid var(--ligne); border-radius: var(--rayon-petit); padding: 0 1.2rem; }
.questions summary { cursor: pointer; padding: 1rem 0; font: 600 1.02rem/1.4 var(--titre); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; color: var(--lien); font-size: 1.3rem; line-height: 1; }
.questions details[open] summary::after { content: "–"; }
.questions details p { color: var(--doux); }

/* Bloc « Ce que vous recevez » d'une page d'outil */
.recoit { display: grid; gap: 1.1rem; }
.recoit .carte h3 { font-size: 1.05rem; }
.a-venir { display: inline-block; margin-left: .4rem; padding: .2em .5em; border-radius: 5px; background: var(--teinte-ambre); color: var(--ambre); font: 700 .66rem/1.2 var(--titre); letter-spacing: .1em; text-transform: uppercase; vertical-align: .15em; }

/* Bandeau d'appel en bas des pages */
.appel { padding-block: 3rem; background: linear-gradient(120deg, var(--nuit) 0%, var(--nuit-2) 100%); color: var(--sur-nuit); border-top: 1px solid var(--ligne-nuit); }
.appel-int { display: grid; gap: 1.5rem; align-items: center; }
.appel h2 { color: #FFFFFF; margin-bottom: .3rem; }
.appel p { color: var(--sur-nuit-doux); margin: 0; }
.appel-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------------------------------------------------------------- contact */

.section-contact { background: var(--surface); }
.contact-grille { display: grid; gap: 2.4rem; }
.bloc-apercu { display: grid; gap: 2.2rem; }
.contact-texte p { color: var(--doux); font-size: 1.05rem; max-width: 32rem; }
.contact-direct a { font-weight: 600; }
.contact-signature { font: 600 .95rem/1.4 var(--titre); color: var(--encre) !important; }
.formulaire { padding: 1.5rem; background: var(--surface-2); border: 1px solid var(--ligne); border-radius: var(--rayon); }
.champ { margin-bottom: 1.05rem; }
.champs-ligne { display: grid; gap: 0 1rem; }
.champ label { display: block; margin-bottom: .35rem; font-weight: 600; font-size: .95rem; }
.champ label span { color: var(--lien); }
.champ input, .champ textarea { width: 100%; padding: .75rem .85rem; border: 1.5px solid var(--ligne-champ); border-radius: 8px; background: var(--surface); color: var(--encre); font: inherit; font-size: 1rem; }
.champ textarea { resize: vertical; min-height: 110px; }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 106, 19, .3); }
.champ input:user-invalid, .champ textarea:user-invalid { border-color: var(--rouge); }
.piege { position: absolute; left: -9999px; }
.formulaire-legal, .formulaire-requis { font-size: .84rem; color: var(--doux); }
.formulaire .bouton { width: 100%; }
.formulaire-etat { margin: 1rem 0 0; font-weight: 600; min-height: 1.5em; }
.formulaire-etat.succes { color: var(--vert); }
.formulaire-etat.erreur { color: var(--rouge); }

/* ---------------------------------------------------------------- pied de page */

.pied { background: var(--nuit); color: var(--sur-nuit-doux); font-size: .92rem; padding-top: 3rem; }
.pied-grille { display: grid; gap: 2rem; padding-bottom: 2rem; }
.pied-marque img { width: 210px; height: auto; margin-bottom: .9rem; }
.pied-marque p { max-width: 22rem; }
.pied-titre { margin: 0 0 .7rem; font: 700 .95rem/1.2 var(--titre); color: #FFFFFF; }
.pied ul { list-style: none; display: grid; gap: .45rem; }
.pied a { color: var(--sur-nuit); text-decoration: none; }
.pied a:hover { color: var(--orange); text-decoration: underline; }
.pied-bas { display: grid; gap: .4rem; padding-block: 1.3rem 2rem; border-top: 1px solid var(--ligne-nuit); font-size: .85rem; }
.pied-bas p { margin: 0; }

/* ---------------------------------------------------------------- pages simples (mentions, merci, 404) */

.page-simple { padding-block: 3.5rem 5rem; min-height: 60vh; }
.page-simple .conteneur { max-width: 780px; }
.page-simple h1 { font-size: clamp(2rem, 5.5vw, 2.8rem); }
.page-simple h2 { font-size: 1.4rem; margin-top: 2.2rem; }

/* ================================================================ aperçus de la plateforme
   Dessinés en HTML avec les couleurs de la plateforme ; données et média fictifs. */

.apercu { margin: 0; }
.apercu figcaption { margin-top: .7rem; font-size: .8rem; color: var(--doux); text-align: right; }
.heros .apercu figcaption, .sur-nuit .apercu figcaption { color: var(--sur-nuit-doux); }
.ecran { display: grid; grid-template-columns: 1fr; border-radius: 14px; overflow: hidden; background: var(--fond); border: 1px solid var(--ligne); box-shadow: var(--ombre-ecran); font-size: .82rem; line-height: 1.4; color: var(--encre); text-align: left; }
.heros .ecran, .sur-nuit .ecran { border-color: var(--ligne-nuit); }
.ecran-menu { display: none; background: var(--nuit); color: var(--sur-nuit); padding: .9rem .7rem; }
.ecran p { margin: 0; }
.ecran .em-logo { display: grid; gap: .35rem; margin: 0 .3rem .9rem; }
.ecran-menu .em-logo img { height: 15px; width: auto; }
.ecran-menu .em-logo span { justify-self: start; padding: .2rem .45rem; border-radius: 6px; background: rgba(255, 255, 255, .08); color: var(--sur-nuit); font: 700 .66rem/1.1 var(--titre); white-space: nowrap; }
.ecran .em-rub { margin: .8rem .3rem .3rem; font: 700 .58rem/1 var(--titre); letter-spacing: .14em; text-transform: uppercase; color: var(--sur-nuit-doux); }
.em-lien { display: flex; justify-content: space-between; align-items: center; gap: .4rem; padding: .38rem .5rem; border-radius: 7px; font: 600 .76rem/1.2 var(--titre); color: var(--sur-nuit); }
.em-lien.actif { background: rgba(255, 255, 255, .09); }
.em-lien i { font-style: normal; min-width: 1.35rem; padding: .12rem .35rem; border-radius: 999px; background: var(--orange); color: var(--nuit); font: 700 .66rem/1 var(--titre); text-align: center; }
.ecran-corps { padding: .9rem; display: grid; gap: .7rem; align-content: start; min-width: 0; }
.ec-barre { display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.ec-titre { margin: 0; font: 700 1.05rem/1.2 var(--titre); }
.ec-sous { margin: .1rem 0 0; color: var(--doux); font-size: .74rem; }
.ec-rdv { padding: .3rem .55rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--ligne); font: 600 .68rem/1 var(--titre); white-space: nowrap; }
.ec-carte { background: var(--surface); border: 1px solid var(--ligne); border-radius: 11px; padding: .7rem .8rem; min-width: 0; font-size: .82rem; line-height: 1.4; display: grid; gap: .5rem; align-content: start; color: var(--encre); text-align: left; }
.ec-carte p { margin: 0; }
.ec-carte .ec-carte-titre { margin: 0; }
.ec-carte-titre { margin: 0 0 .45rem; font: 700 .64rem/1 var(--titre); letter-spacing: .12em; text-transform: uppercase; color: var(--doux); }
.ec-brief { margin: 0; font-size: .8rem; }
.ec-tuiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; }
.ec-tuile { background: var(--surface); border: 1px solid var(--ligne); border-radius: 10px; padding: .5rem .55rem; display: grid; gap: .1rem; min-width: 0; }
.ec-tuile b { font: 700 1.15rem/1.1 var(--titre); font-variant-numeric: tabular-nums; }
.ec-tuile span { font: 600 .66rem/1.25 var(--titre); color: var(--doux); }
.ec-tuile .ec-outil { color: var(--encre); }
.ec-lignes { list-style: none; display: grid; }
.ec-ligne { display: grid; gap: .2rem; padding: .5rem 0; border-top: 1px solid var(--ligne); }
.ec-ligne:first-child { border-top: 0; padding-top: 0; }
.ec-ligne p { margin: 0; }
.ec-ligne .ec-l-titre { font-weight: 600; font-size: .8rem; }
.ec-ligne .ec-l-meta { color: var(--doux); font-size: .72rem; }
.ec-ligne .ec-l-piste { font-size: .74rem; color: var(--encre); }
.ec-ligne .ec-l-piste b { color: var(--lien); font-family: var(--titre); }
.ec-actions { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .2rem; }
.ec-btn { padding: .28rem .55rem; border-radius: 7px; background: var(--orange); color: var(--nuit); font: 700 .66rem/1 var(--titre); }
.ec-btn.second { background: var(--surface-2); color: var(--encre); border: 1px solid var(--ligne); }
.ec-personne { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font: 700 .58rem/1 var(--titre); color: #FFFFFF; vertical-align: middle; }
.pers-1 { background: #2B5797; }
.pers-2 { background: #1D754A; }
.pers-3 { background: #9A5B00; }
.ec-deux { display: grid; gap: .7rem; }
.ec-chiffres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
.ec-chiffre { display: grid; gap: .05rem; padding: .5rem .6rem; border-radius: 9px; background: var(--surface-2); }
.ec-chiffre b { font: 700 1.05rem/1.1 var(--titre); font-variant-numeric: tabular-nums; }
.ec-chiffre span { font-size: .68rem; color: var(--doux); }
.ec-chiffre em { font-style: normal; font: 700 .68rem/1 var(--titre); }
.hausse { color: var(--vert); }
.baisse { color: var(--rouge); }
.ec-barres { display: flex; align-items: flex-end; gap: 3px; height: 34px; margin-top: .3rem; }
.ec-barres i { flex: 1; background: var(--orange); border-radius: 2px 2px 0 0; opacity: .85; }
.ec-barres i.pale { background: var(--doux); opacity: .35; }
.ec-ia { display: grid; grid-template-columns: 1fr auto; gap: .35rem .6rem; align-items: center; font-size: .78rem; }
.ec-ia .jauge { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.ec-ia .jauge i { display: block; height: 100%; background: var(--vert); border-radius: 999px; }
.j-38 { width: 38%; }
.j-25 { width: 25%; }
.j-21 { width: 21%; }
.j-13 { width: 13%; }
.ec-frise { list-style: none; display: grid; gap: .35rem; }
.ec-frise li { display: grid; grid-template-columns: 3.1rem 1fr; gap: .5rem; font-size: .76rem; }
.ec-frise time { font: 700 .72rem/1.4 var(--titre); color: var(--doux); font-variant-numeric: tabular-nums; }
.ec-frise li.nous { background: var(--teinte-orange); border-radius: 6px; padding: .2rem .3rem; margin-inline: -.3rem; }
.ec-agenda { list-style: none; display: grid; gap: .45rem; }
.ec-agenda li { display: grid; grid-template-columns: 2.6rem 1fr; gap: .6rem; align-items: start; }
.ec-date { display: grid; place-items: center; padding: .3rem 0; border-radius: 8px; background: var(--nuit); color: #FFFFFF; font: 700 .95rem/1 var(--titre); }
.ec-date small { display: block; font: 600 .55rem/1 var(--titre); letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin-bottom: .15rem; }

/* Statuts : seuls éléments en petites capitales */
.etiquette { display: inline-block; padding: .18em .5em; border-radius: 5px; font: 700 .6rem/1.3 var(--titre); letter-spacing: .08em; text-transform: uppercase; vertical-align: .1em; white-space: nowrap; }
.e-orange { background: var(--teinte-orange); color: var(--lien); }
.e-vert { background: var(--teinte-vert); color: var(--vert); }
.e-rouge { background: var(--teinte-rouge); color: var(--rouge); }
.e-ambre { background: var(--teinte-ambre); color: var(--ambre); }
.e-bleu { background: var(--teinte-bleu); color: var(--bleu); }
.e-gris { background: var(--surface-2); color: var(--doux); }

/* E-mail du matin, dessiné */
.courriel { color: var(--encre); border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid var(--ligne); box-shadow: var(--ombre); font-size: .8rem; }
.courriel-tete { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .7rem .9rem; background: var(--nuit); color: var(--sur-nuit); }
.courriel-tete img { height: 14px; width: auto; }
.courriel-tete span { font: 600 .7rem/1.2 var(--titre); color: var(--sur-nuit-doux); }
.courriel-corps { padding: .9rem; display: grid; gap: .6rem; }
.courriel-corps h4 { margin: 0; font: 700 .95rem/1.25 var(--titre); }
.courriel-corps p { margin: 0; color: var(--doux); }
.courriel-avis { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; padding-top: .6rem; border-top: 1px solid var(--ligne); color: var(--doux); font-size: .74rem; }
.courriel-avis b { padding: .2rem .5rem; border: 1px solid var(--ligne); border-radius: 6px; color: var(--encre); font: 600 .7rem/1.2 var(--titre); }

/* ---------------------------------------------------------------- page 404 : « coupée au montage » */

.erreur { position: relative; overflow: hidden; color: var(--sur-nuit); background:
  radial-gradient(ellipse 60% 55% at 85% 20%, rgba(255, 106, 19, .14), transparent 62%),
  linear-gradient(180deg, var(--nuit), var(--nuit-2)); padding-top: 3rem; }
.erreur::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 44px 44px; pointer-events: none; }
.erreur-int { position: relative; display: grid; gap: 2.5rem; align-items: center; padding-bottom: 3rem; }
.erreur h1 { color: #FFFFFF; font-size: clamp(2rem, 5vw, 3.1rem); }
.erreur .apercu figcaption { color: var(--sur-nuit-doux); }
.quatre-cent-quatre { display: flex; align-items: center; gap: .06em; margin: 0 0 1.2rem; font: 800 clamp(5rem, 15vw, 8.5rem)/.9 var(--titre); color: #FFFFFF; letter-spacing: -.03em; }
.anneau { display: inline-block; width: .68em; height: .68em; border: .13em solid var(--orange); border-radius: 50%; animation: chercher 3.2s ease-in-out infinite; }
@keyframes chercher {
  0%, 100% { transform: translate(0, -.04em); }
  25% { transform: translate(.05em, -.12em); }
  50% { transform: translate(0, -.04em); }
  75% { transform: translate(-.05em, -.12em); }
}
.erreur-carte { max-width: 26rem; justify-self: end; transform: rotate(-1.5deg); box-shadow: var(--ombre-ecran); border-color: var(--ligne-nuit); }
.depeche { position: relative; display: flex; align-items: stretch; background: rgba(0, 0, 0, .3); border-top: 1px solid var(--ligne-nuit); }
.depeche-titre { flex: none; display: flex; align-items: center; padding: 0 1rem; background: var(--orange); color: var(--nuit); font: 800 .74rem/1 var(--titre); letter-spacing: .12em; text-transform: uppercase; }
.depeche-fenetre { flex: 1; overflow: hidden; }
.depeche-defile { display: flex; width: max-content; animation: defiler 45s linear infinite; }
.depeche-defile span { padding: .8rem 1.4rem; font: 600 .95rem/1.2 var(--titre); color: var(--sur-nuit); white-space: nowrap; }
.depeche-defile span::after { content: "·"; margin-left: 2.8rem; color: var(--orange); }
@keyframes defiler { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- tablette */

@media (min-width: 640px) {
  :root { --gouttiere: 24px; }
  .grille-2, .duo, .recoit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grille-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grille-4, .points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cycle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .champs-ligne { grid-template-columns: 1fr 1fr; }
  .formulaire { padding: 2rem; }
  .formulaire .bouton { width: auto; }
  .ecran { grid-template-columns: 9.5rem minmax(0, 1fr); }
  .ecran-menu { display: block; }
  .ec-deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .appel-int { grid-template-columns: 1fr auto; }
}

/* ---------------------------------------------------------------- ordinateur */

@media (min-width: 960px) {
  :root { --gouttiere: 32px; --entete: 72px; }
  .bouton-menu { display: none; }
  .navigation { position: static; display: block; max-height: none; overflow: visible; background: none; border: 0; }
  .nav-liste { display: flex; align-items: center; gap: 1.6rem; padding: 0; }
  .nav-lien { padding: .4rem 0; border: 0; font-size: .95rem; }
  .nav-lien:hover { color: var(--orange); }
  .nav-outils { position: relative; }
  .nav-deroulant { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem 0; background: none; border: 0; color: var(--sur-nuit); font: 600 .95rem/1.3 var(--titre); cursor: pointer; }
  .nav-deroulant::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
  .nav-deroulant[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
  .nav-deroulant:hover, .nav-outils.actif .nav-deroulant { color: var(--orange); }
  .panneau-outils { position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%); width: 640px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding: 1.1rem 1.2rem 1.2rem; background: var(--nuit); border: 1px solid var(--ligne-nuit); border-radius: 14px; box-shadow: 0 18px 50px rgba(0, 0, 0, .45); display: none; }
  .panneau-outils.ouvert { display: grid; }
  .panneau-outils a { padding: .45rem .5rem; margin-inline: -.5rem; border-radius: 8px; }
  .panneau-outils a:hover { background: rgba(255, 255, 255, .07); }
  .nav-actions { padding: 0; margin-left: .4rem; gap: 1.2rem; }

  .heros { padding-block: 4.5rem 5rem; }
  .heros-int { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3.5rem; }
  .heros-court { padding-block: 3.6rem 3.8rem; }
  .section { padding-block: 5.5rem; }
  .grille-3, .refs, .etapes, .offres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grille-4, .points { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .usages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cycle { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .recoit { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-grille { grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: start; }
  .pied-grille { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .bloc-apercu { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3.5rem; align-items: center; }
  .bloc-apercu.inverse > :first-child { order: 2; }
  .erreur-int { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3.5rem; padding-bottom: 4rem; }
  .erreur { padding-top: 4.5rem; }
}

/* ---------------------------------------------------------------- mouvement réduit */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .depeche-defile, .anneau { animation: none; }
  .depeche-fenetre { overflow-x: auto; }
}
