/* Orion Web Design, test de visibilité dans les IA. Police du système, bleu nuit et or de la marque. */
:root {
  --fond: #0e1729; --surface: #18263f; --surface-2: #1f3050; --encre: #f6f6fc; --doux: #bec9db; --pale: #8d9bb3;
  --or: #ebcd9a; --or-encre: #1a1408; --vert: #8fd3c8; --rouge: #f0a8a0; --trait: rgba(255, 255, 255, 0.12);
  --rayon: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--fond); color: var(--encre); font: 100%/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--or); text-underline-offset: 0.18em; }
a:hover { color: #fff; }
img { max-width: 100%; }
.essai { margin: 0; padding: 0.5rem 1rem; background: #7a4b00; color: #fff; font-size: 0.88rem; font-weight: 600; text-align: center; }
.large { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }
.etroit { max-width: 44rem; margin: 0 auto; padding: 0 1.25rem; }

/* Barre du haut : une couche translucide, le contenu défile dessous. */
.barre { position: sticky; top: 0; z-index: 10; background: rgba(14, 23, 41, 0.72); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border-bottom: 1px solid var(--trait); }
.barre .large { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem; }
.marque { display: flex; align-items: center; gap: 0.6rem; color: var(--encre); text-decoration: none; font-weight: 650; letter-spacing: 0.01em; }
.marque img { width: 1.9rem; height: 1.9rem; border-radius: 50%; }
.barre nav { display: flex; gap: 1.25rem; align-items: center; font-size: 0.94rem; }
.barre nav a { color: var(--doux); text-decoration: none; }
.barre nav a:hover { color: var(--encre); }
.barre nav a.bouton, .barre nav a.bouton:hover { color: var(--or-encre); min-height: 2.4rem; padding: 0.45rem 1.05rem; }
@media (max-width: 40rem) { .barre nav a.secondaire { display: none; } }

/* Titres : interlettrage resserré quand le corps grandit. */
h1, h2, h3 { line-height: 1.12; margin: 0; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); letter-spacing: -0.028em; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.2rem); letter-spacing: -0.02em; }
h3 { font-size: 1.12rem; letter-spacing: -0.005em; line-height: 1.3; margin-bottom: 0.45rem; }
p { margin: 0 0 1rem; }
.surtitre { color: var(--or); font-size: 0.8rem; font-weight: 650; letter-spacing: 0.09em; text-transform: uppercase; margin: 0 0 0.9rem; }
.chapo { color: var(--doux); font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 40rem; }
.petit { color: var(--pale); font-size: 0.88rem; }
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
section + section { border-top: 1px solid var(--trait); }
.hero { padding-top: clamp(3rem, 8vw, 6rem); }
.hero h1 { max-width: 17ch; margin-bottom: 1.1rem; }

/* Boutons : la réponse est immédiate, à l'appui, pas au relâchement. */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3rem; padding: 0.7rem 1.35rem; border: 0; border-radius: 999px; background: var(--or); color: var(--or-encre); font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; transition: transform 100ms ease-out, filter 100ms ease-out; -webkit-tap-highlight-color: transparent; }
.bouton:hover { color: var(--or-encre); filter: brightness(1.06); }
.bouton:active { transform: scale(0.97); filter: brightness(0.94); }
.bouton:focus-visible, input:focus-visible, textarea:focus-visible, a:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }
.bouton.discret { background: transparent; color: var(--encre); box-shadow: inset 0 0 0 1px var(--trait); }
.bouton.discret:hover { color: #fff; box-shadow: inset 0 0 0 1px var(--pale); }
.bouton[disabled] { opacity: 0.55; cursor: progress; }

/* Formulaires */
.carte { background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon); padding: clamp(1.1rem, 3vw, 1.75rem); }
form.test { display: grid; gap: 0.85rem; margin-top: 1.75rem; max-width: 34rem; }
label { display: grid; gap: 0.35rem; font-size: 0.92rem; color: var(--doux); }
input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="password"], textarea {
  width: 100%; min-height: 3rem; padding: 0.7rem 0.9rem; border-radius: 10px; border: 1px solid var(--trait); background: rgba(255, 255, 255, 0.04); color: var(--encre); font: inherit;
}
textarea { min-height: 5.2rem; resize: vertical; line-height: 1.45; }
input::placeholder, textarea::placeholder { color: var(--pale); }
.case { display: grid; grid-template-columns: 1.3rem 1fr; gap: 0.7rem; align-items: start; color: var(--doux); font-size: 0.92rem; }
.case input { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; accent-color: var(--or); }
/* Confirmation d'un envoi : en tête de page, impossible à manquer. */
.succes { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: center; margin: 0 0 2.25rem; padding: 1.35rem 1.5rem; border-radius: var(--rayon); border: 2px solid var(--vert); background: rgba(143, 211, 200, 0.16); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35); animation: arrivee 420ms cubic-bezier(0.2, 0.9, 0.3, 1) both; }
.succes h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); margin: 0 0 0.35rem; color: #fff; }
.succes p { margin: 0; color: #d8f3ee; }
.succes:focus { outline: none; }
.coche { position: relative; display: inline-block; width: 3.1rem; height: 3.1rem; border-radius: 50%; background: var(--vert); flex: none; }
.coche::after { content: ""; position: absolute; left: 31%; top: 22%; width: 30%; height: 48%; border: solid #0e1729; border-width: 0 0.3rem 0.3rem 0; transform: rotate(45deg); }
.coche.petite { width: 1.3rem; height: 1.3rem; vertical-align: -0.25rem; margin-right: 0.45rem; }
.coche.petite::after { border-width: 0 0.14rem 0.14rem 0; }
.envoye { color: #d8f3ee !important; }
@keyframes arrivee { from { opacity: 0; transform: translateY(-10px) scale(0.98); } to { opacity: 1; transform: none; } }
.alerte { margin: 0 0 1.25rem; padding: 0.8rem 1rem; border-radius: 10px; border: 1px solid rgba(240, 168, 160, 0.45); background: rgba(240, 168, 160, 0.08); color: #ffd9d4; }
.alerte ul { margin: 0.3rem 0 0; padding-left: 1.1rem; }
.pot { position: absolute; left: -100vw; width: 1px; height: 1px; overflow: hidden; } /* piège à robots, invisible */

/* Grilles et listes */
.trois { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin-top: 2rem; }
.etape .num { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: rgba(235, 205, 154, 0.14); color: var(--or); font-weight: 700; margin-bottom: 0.8rem; }
.etape p, .carte p { color: var(--doux); margin-bottom: 0; }
ul.coches { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
ul.coches li { padding-left: 1.6rem; position: relative; color: var(--doux); }
ul.coches li::before { content: ""; position: absolute; left: 0.15rem; top: 0.5em; width: 0.7rem; height: 0.38rem; border-left: 2px solid var(--vert); border-bottom: 2px solid var(--vert); transform: rotate(-45deg); }
.prix { display: flex; align-items: baseline; gap: 0.5rem; margin: 0.4rem 0 0.2rem; }
.prix b { font-size: clamp(2.6rem, 6vw, 3.6rem); letter-spacing: -0.03em; line-height: 1; }
.deux { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); align-items: start; }

/* Exemple chiffré */
.exemple { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.chiffre { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--or); font-variant-numeric: tabular-nums; }
.chiffre small { font-size: 1rem; font-weight: 500; color: var(--pale); letter-spacing: 0; }
.chiffre + p { margin: 0.4rem 0 0; color: var(--doux); font-size: 0.92rem; }
.etiquette { display: inline-block; padding: 0.1rem 0.6rem; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: var(--doux); font-size: 0.78rem; font-weight: 600; }

details { border-bottom: 1px solid var(--trait); padding: 0.9rem 0; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--or); font-weight: 400; font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--doux); margin: 0.6rem 0 0; }

/* Suivi d'une commande */
.constats { display: grid; gap: 0.55rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.constats li { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.6rem; color: var(--doux); }
.constats .ok { color: var(--vert); } .constats .non { color: var(--rouge); }
.avance { height: 0.5rem; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin: 1.1rem 0 0.6rem; }
.avance i { display: block; height: 100%; width: 4%; border-radius: inherit; background: var(--or); transition: width 600ms ease; }
.questions { display: grid; gap: 0.9rem; counter-reset: q; margin-top: 1.25rem; }
.questions label { counter-increment: q; }
.questions label span::before { content: counter(q) ". "; color: var(--or); font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.25rem; }

/* Pages légales */
.texte h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 0.5rem; }
.texte h2 { font-size: 1.2rem; letter-spacing: -0.005em; margin: 2rem 0 0.6rem; }
.texte p, .texte li { color: var(--doux); }
.texte table { width: 100%; border-collapse: collapse; margin: 0.6rem 0 1rem; font-size: 0.94rem; }
.texte td, .texte th { text-align: left; padding: 0.5rem 0.6rem 0.5rem 0; border-bottom: 1px solid var(--trait); vertical-align: top; color: var(--doux); }
.texte th { color: var(--encre); font-weight: 600; }

footer.pied { border-top: 1px solid var(--trait); padding: 2.25rem 0 3rem; color: var(--pale); font-size: 0.88rem; }
footer.pied .large { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }
footer.pied a { color: var(--doux); text-decoration: none; margin-right: 1.1rem; }
footer.pied a:hover { color: var(--encre); }

table.admin { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
table.admin td, table.admin th { text-align: left; padding: 0.45rem 0.6rem 0.45rem 0; border-bottom: 1px solid var(--trait); vertical-align: top; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .succes { animation: none; }
  .bouton, .avance i { transition: none; }
  .bouton:active { transform: none; }
}
@media (prefers-reduced-transparency: reduce) { .barre { background: var(--fond); backdrop-filter: none; -webkit-backdrop-filter: none; } }
@media (prefers-contrast: more) { :root { --trait: rgba(255, 255, 255, 0.4); --doux: #e6ebf3; --pale: #cfd6e2; } }
