/* ==========================================================================
   VPS – Vigilance Protection Sécurité — feuille de style (css/style.css)
   --------------------------------------------------------------------------
   Direction « industrielle et éditoriale » : grandes photos, titres géants,
   étiquettes techniques à chasse fixe, filets fins plutôt que des cadres.
   Couleurs du logo : encre bleu nuit, papier, accent bleu électrique.
   Aucune ressource externe (la police Geist est hébergée avec le site).

   Sommaire
    1. Police                     9. Colonnes, onglets, raisons, FAQ
    2. Variables                 10. Appel à l'action
    3. Base et accessibilité     11. Prestations et références
    4. Étiquettes et boutons     12. Galerie
    5. En-tête et menu           13. Demande de devis
    6. En-têtes de pages         14. Contact et pages légales
    7. Sections et titres        15. Repères provisoires et notes
    8. Bandeaux (accueil)        16. Pied de page
                                 17. Animations, adaptations, impression
   ========================================================================== */

/* 1. Police : Geist (licence SIL Open Font License 1.1, voir fonts/licence-geist.txt) */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* 2. Variables : modifiez ici les couleurs et les dimensions -----------------
   Couleurs de l'affichage sombre ; celles de l'affichage clair sont en section 18.
   En affichage clair, les zones posées sur une photo (classe zone-photo), les sections
   claires (classe clair) et l'en-tête posé sur une photo gardent les couleurs ci-dessous. */
:root,
html[data-theme="clair"] .clair,
html[data-theme="clair"] .zone-photo,
html[data-theme="clair"].haut-photo .entete:not(.defile) {
  --encre: #05080f;          /* fond principal (bleu nuit presque noir) */
  --encre-2: #0a1120;        /* fond surélevé */
  --encre-rgb: 5, 8, 15;     /* --encre en rouge, vert, bleu (pour les transparences) */
  --papier-rgb: 242, 244, 247; /* --papier en rouge, vert, bleu */
  --papier: #f2f4f7;         /* texte sur fond sombre, sections claires */
  --ligne: rgba(242, 244, 247, .16);
  --ligne-claire: rgba(5, 8, 15, .14);
  --doux: rgba(242, 244, 247, .66);
  --doux-clair: #545d6b;
  --accent: #3d8bff;         /* bleu électrique du logo, sur fond sombre */
  --accent-clair: #0769da;   /* même bleu, sur fond clair */
  --ambre: #e9c47a;          /* repères provisoires sur fond sombre */
  --ambre-clair: #7a5200;    /* repères provisoires sur fond clair */
  --bordure-champ: rgba(242, 244, 247, .42); /* contour des champs du formulaire */
  --bordure-champ-survol: rgba(242, 244, 247, .6);
  --erreur: #ff9a8f;
  --succes: #7ee2a8;

  --sans: "Geist", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --marge: clamp(20px, 4vw, 56px);
  --entete: 72px;
  --largeur: 1440px;
}

/* 3. Base et accessibilité ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--encre); color-scheme: dark; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--encre); color: var(--papier); font: 400 1rem/1.6 var(--sans); overflow-wrap: break-word; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
a { color: inherit; text-underline-offset: .22em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; text-wrap: balance; }
p, ul, ol, dl, figure { margin: 0; }
strong { font-weight: 600; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.clair :focus-visible { outline-color: var(--accent-clair); }
main:focus { outline: none; }
[id] { scroll-margin-top: calc(var(--entete) + 16px); }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.insecable { white-space: nowrap; }
@media (max-width: 26em) { .insecable { white-space: normal; overflow-wrap: anywhere; } }
.lien-evitement { position: fixed; top: -10rem; left: 1rem; z-index: 100; padding: 12px 16px; background: var(--papier); color: var(--encre); font-weight: 600; text-decoration: none; }
.lien-evitement:focus { top: 12px; }
.conteneur { width: 100%; max-width: var(--largeur); margin-inline: auto; padding-inline: var(--marge); }
.conteneur--etroit { max-width: 64rem; }
.icone { width: 18px; height: 18px; }
.fleche { width: 14px; height: 14px; transition: transform .25s ease; }
a:hover .fleche { transform: translateX(4px); }

/* 4. Étiquettes et boutons ---------------------------------------------------- */
.label { font-family: var(--mono); font-size: .75rem; font-weight: 400; letter-spacing: .06em; line-height: 1.6; text-transform: uppercase; color: var(--doux); }
.label b { font-weight: 400; color: var(--accent); }
.clair .label { color: var(--doux-clair); }
.clair .label b { color: var(--accent-clair); }

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--mono);
  font-size: .75rem;
  letter-spacing: .06em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.bouton--plein { background: var(--papier); color: var(--encre); }
.bouton--plein:hover { background: var(--accent-clair); color: #fff; }
.bouton--ligne { border-color: rgba(var(--papier-rgb), .45); background: transparent; color: var(--papier); }
.bouton--ligne:hover { border-color: var(--papier); background: rgba(var(--papier-rgb), .08); }
.clair .bouton--plein { background: var(--encre); color: var(--papier); }
.clair .bouton--plein:hover { background: var(--accent-clair); }
.clair .bouton--ligne { border-color: rgba(var(--encre-rgb), .45); color: var(--encre); }
.bouton--large { min-width: min(100%, 15rem); }
.bouton:disabled, .bouton[aria-disabled="true"] { border-color: var(--ligne); background: rgba(var(--papier-rgb), .06); color: var(--doux); cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.lien { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid currentColor; font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.lien:hover { color: var(--accent); }
.clair .lien:hover { color: var(--accent-clair); }

/* 5. En-tête et menu ------------------------------------------------------------- */
.entete { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--entete); border-bottom: 1px solid transparent; transition: background-color .35s ease, border-color .35s ease; }
.entete.defile, .entete-opaque .entete { background: rgba(var(--encre-rgb), .84); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom-color: var(--ligne); }
.entete-interieur { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; padding-inline: var(--marge); }
.marque { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.marque img { width: 34px; height: 34px; border-radius: 50%; }
.marque-nom { font-size: .9375rem; font-weight: 600; letter-spacing: .24em; }
.nav-liste { display: flex; gap: 32px; margin: 0; padding: 0; list-style: none; }
.nav-liste a { font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--doux); transition: color .2s ease; }
.nav-liste a:hover, .nav-liste a[aria-current="page"] { color: var(--papier); }
.nav-liste a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 8px; text-decoration-thickness: 1px; }
.entete .bouton { min-height: 40px; gap: 16px; }
.bouton-menu { display: none; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--ligne); border-radius: 2px; background: transparent; color: var(--papier); font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.bouton-menu:hover { border-color: var(--papier); }
/* Zone de droite de l'en-tête et sélecteur de langue (FR / EN) */
.entete-actions { display: flex; align-items: center; gap: 20px; }
.langues { display: inline-flex; align-items: center; min-height: 40px; padding: 0 6px; border: 1px solid var(--ligne); border-radius: 2px; font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.langues a, .langue-active { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; min-height: 38px; padding: 0 4px; }
.menu-mobile li.menu-langue a { font-family: var(--mono); font-size: .875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--doux); }
.service-complement { margin-top: 14px; color: var(--doux); }
.langues a { color: var(--doux); text-decoration: none; transition: color .2s ease; }
.langues a:hover { color: var(--papier); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 6px; text-decoration-thickness: 1px; }
.langue-active { color: var(--papier); }
.langue-separateur { color: rgba(var(--papier-rgb), .32); }
/* Message d'aperçu local (fichier config/infos-vps.ini illisible) : jamais affiché sur le site en ligne */
.alerte-locale { position: fixed; right: 16px; bottom: 16px; left: 16px; z-index: 80; display: flex; align-items: center; gap: 16px; max-width: 56rem; margin-inline: auto; padding: 14px 18px; border-radius: 2px; background: var(--ambre); color: var(--encre); box-shadow: 0 12px 32px rgba(0, 0, 0, .45); font-size: .875rem; line-height: 1.45; }
.alerte-locale p { flex: 1; }
.alerte-locale button { flex-shrink: 0; min-height: 36px; padding: 0 14px; border: 1px solid currentColor; border-radius: 2px; background: transparent; color: inherit; font-family: var(--mono); font-size: .75rem; text-transform: uppercase; cursor: pointer; }

.menu-mobile { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; gap: 32px; padding: 88px var(--marge) 32px; overflow-y: auto; background: var(--encre); }
.menu-mobile .fermer { position: absolute; top: 16px; right: var(--marge); display: inline-flex; }
.menu-mobile ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ligne); }
.menu-mobile li a { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--ligne); font-size: clamp(1.5rem, 6vw, 2rem); letter-spacing: -.02em; text-decoration: none; }
.menu-mobile li a[aria-current="page"] { color: var(--accent); }
.menu-mobile .label { margin-top: auto; }
html.menu-ouvert { overflow: hidden; }

/* Écrans de moins de 64em (1024 px) : menu plein écran.
   Ce seuil doit rester identique à celui de js/main.js. */
@media (max-width: 63.99em) {
  .entete .nav, .entete .bouton { display: none; }
  .js .bouton-menu { display: inline-flex; }
  /* Sans JavaScript : en-tête statique et liens visibles */
  .no-js .entete { position: relative; height: auto; background: var(--encre); border-bottom-color: var(--ligne); }
  .no-js .entete-interieur { flex-wrap: wrap; padding-block: 16px; }
  .no-js .entete .nav { display: block; width: 100%; }
  .no-js .nav-liste { flex-wrap: wrap; gap: 12px 24px; }
}

/* 6. En-têtes de pages --------------------------------------------------------------- */
.heros {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: max(100vh, 40rem);
  min-height: max(100svh, 40rem);
  padding: calc(var(--entete) + clamp(40px, 9vh, 120px)) var(--marge) 32px;
  overflow: hidden;
  background: radial-gradient(70% 60% at 50% 0%, rgba(7, 105, 218, .2), rgba(7, 105, 218, 0) 70%), var(--encre);
}
.heros--page { min-height: max(80vh, 36rem); min-height: max(80svh, 36rem); }
.heros--court { min-height: max(62vh, 30rem); min-height: max(62svh, 30rem); }
.heros--mini { min-height: max(46vh, 24rem); min-height: max(46svh, 24rem); justify-content: flex-end; }
.heros-media { position: absolute; inset: 0; z-index: -2; }
.heros-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.heros::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--encre-rgb), .72) 0%, rgba(var(--encre-rgb), .25) 38%, rgba(var(--encre-rgb), .4) 62%, rgba(var(--encre-rgb), .95) 100%); pointer-events: none; }
.heros--mini::after { background: linear-gradient(90deg, rgba(var(--papier-rgb), .04) 1px, transparent 1px) 0 0 / calc(100% / 12) 100%; -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent); }
.coins { position: absolute; inset: calc(var(--entete) + 12px) 16px 16px; z-index: -1; pointer-events: none; }
.coins i { position: absolute; width: 18px; height: 18px; border: 0 solid rgba(var(--papier-rgb), .55); }
.coins i:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.coins i:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.coins i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.coins i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.legende-visuel { position: absolute; top: calc(var(--entete) + 22px); right: calc(var(--marge) + 12px); font-family: var(--mono); font-size: .625rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ambre); }
.heros-haut { max-width: 1120px; }
.heros-haut > .label { margin-bottom: 28px; color: var(--papier); opacity: .82; }
.heros-titre { font-size: clamp(3rem, 7.6vw, 8.25rem); line-height: .94; letter-spacing: -.048em; }
.heros--page .heros-titre, .heros--court .heros-titre { font-size: clamp(2.75rem, 6.2vw, 6.75rem); }
.heros--mini .heros-titre { font-size: clamp(2.5rem, 5.4vw, 5.5rem); }
.heros-texte { max-width: 34rem; margin-top: 28px; color: rgba(var(--papier-rgb), .84); font-size: 1.0625rem; }
.heros-bas { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; padding-top: 48px; }
.heros-bas .heros-texte { margin-top: 0; }
.heros-bas .actions { margin-top: 28px; }
.heros .actions .bouton { min-width: 230px; }
.defiler { display: grid; justify-items: end; gap: 10px; text-align: right; }
.defiler a { color: var(--papier); text-decoration: none; }
.heros > .actions, .heros-haut .actions { margin-top: 32px; }

/* Chiffres clés */
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; border-top: 1px solid var(--ligne); }
.specs > div { display: flex; flex-direction: column-reverse; gap: 6px; min-width: 0; padding: 20px 24px 0; border-left: 1px solid var(--ligne); }
.specs > div:first-child { padding-left: 0; border-left: 0; }
.specs dt { font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--doux); }
.specs dd { margin: 0; font-size: clamp(1.25rem, 1rem + .9vw, 1.75rem); letter-spacing: -.02em; line-height: 1.2; }
.specs--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (min-width: 48em) and (max-width: 63.99em) {
  .specs--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .specs--4 > div:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* 7. Sections et titres -------------------------------------------------------------- */
.section { padding-block: clamp(96px, 12vw, 176px); }
.section--serree { padding-block: clamp(56px, 7vw, 96px); }
.section--sans-haut { padding-top: 0; }
.clair { background: var(--papier); color: var(--encre); color-scheme: light; }
.titre-section { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; margin-bottom: clamp(48px, 6vw, 88px); }
.titre-section > .label { grid-column: 1 / 4; padding-top: 12px; }
.titre-section > div { grid-column: 4 / 12; }
.titre-section h2 { font-size: clamp(2.25rem, 4.8vw, 5rem); line-height: 1; letter-spacing: -.04em; }
.titre-section p:not(.label) { max-width: 40rem; margin-top: 24px; color: var(--doux); font-size: 1.0625rem; }
.clair .titre-section p:not(.label) { color: var(--doux-clair); }
.titre-section .etiquette { margin-top: 20px; }

.declaration { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; }
.declaration > .label { grid-column: 1 / 4; padding-top: 14px; }
.declaration-corps { grid-column: 4 / 13; }
.declaration-texte { font-size: clamp(1.875rem, 3.6vw, 3.75rem); line-height: 1.1; letter-spacing: -.035em; }
.declaration-texte .mot { opacity: .2; transition: opacity .35s ease; }
.declaration-texte .mot.vu { opacity: 1; }
.declaration-corps > p:not(.declaration-texte) { max-width: 44rem; margin-top: 28px; color: var(--doux); font-size: 1.0625rem; }
.declaration-corps .lien { margin-top: 48px; }

/* 8. Bandeaux (accueil) ---------------------------------------------------------------- */
.references-bande { padding-block: 40px 56px; border-top: 1px solid var(--ligne); }
.references-bande > .label { margin-bottom: 24px; }
.references-bande ul { display: flex; flex-wrap: wrap; gap: 14px 48px; margin: 0; padding: 0; list-style: none; color: rgba(var(--papier-rgb), .5); font-size: clamp(1.25rem, 2vw, 1.75rem); letter-spacing: -.02em; }
.references-bande .lien { margin-top: 32px; }
.bandeau { overflow: hidden; padding-block: 22px; border-block: 1px solid var(--ligne); }
.bandeau-piste { display: flex; width: max-content; animation: defile 48s linear infinite; }
.bandeau-piste > div { display: flex; align-items: center; gap: 40px; padding-right: 40px; font-size: clamp(1.625rem, 3vw, 2.75rem); letter-spacing: -.03em; white-space: nowrap; }
.bandeau .point { color: var(--accent); font-size: .5em; }
@keyframes defile { to { transform: translateX(-50%); } }

/* 9. Colonnes, onglets, raisons, FAQ ------------------------------------------------------ */
.colonnes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ligne); }
.colonnes--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.colonne { display: flex; flex-direction: column; gap: 18px; min-height: 300px; padding: 28px 32px 8px; border-left: 1px solid var(--ligne); }
.colonne:first-child { padding-left: 0; border-left: 0; }
.colonne h3 { max-width: 22rem; margin-top: 48px; font-size: clamp(1.5rem, 2.2vw, 2.125rem); line-height: 1.08; letter-spacing: -.03em; }
.colonnes--4 .colonne { min-height: 240px; }
.colonnes--4 .colonne h3 { font-size: clamp(1.375rem, 1.8vw, 1.75rem); }
.colonne > p:not(.label) { max-width: 22rem; color: var(--doux); }
.colonne .lien { align-self: flex-start; margin-top: auto; }
.actions-section { margin-top: clamp(40px, 5vw, 64px); }
.clair .colonnes { border-top-color: var(--ligne-claire); }
.clair .colonne { border-left-color: var(--ligne-claire); border-bottom-color: var(--ligne-claire); }
.clair .colonne > p:not(.label) { color: var(--doux-clair); }
.bloc-fiche-titre p:not(.label) { max-width: 26rem; margin-top: 24px; color: var(--doux-clair); }

.onglets { display: flex; gap: 40px; margin: 0 0 28px; border-bottom: 1px solid var(--ligne); overflow-x: auto; scrollbar-width: none; }
.onglets::-webkit-scrollbar { display: none; }
.onglet { position: relative; display: inline-flex; align-items: baseline; gap: 12px; padding: 18px 0; border: 0; background: none; color: var(--doux); font-family: var(--mono); font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; cursor: pointer; }
.onglet .num { font-size: .6875rem; opacity: .85; }
.onglet:hover { color: var(--papier); }
.onglet[aria-selected="true"] { color: var(--papier); }
.onglet[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); }
.panneau-onglet { position: relative; overflow: hidden; border-radius: 2px; aspect-ratio: 21 / 9; background: var(--encre-2); }
.panneau-onglet img { width: 100%; height: 100%; object-fit: cover; animation: fondu .7s ease both; }
.carte-onglet { position: absolute; left: 28px; bottom: 28px; width: min(500px, calc(100% - 56px)); padding: 28px; border: 1px solid var(--ligne); background: rgba(var(--encre-rgb), .8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.carte-onglet h3 { margin: 14px 0 12px; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.1; letter-spacing: -.03em; }
.carte-onglet > p:not(.label) { color: var(--doux); }
.legende-image { position: absolute; top: 16px; right: 16px; font-family: var(--mono); font-size: .625rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ambre); }
@keyframes fondu { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }

.liste-tirets { margin: 20px 0 24px; padding: 0; list-style: none; font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.liste-tirets li { padding: 9px 0; border-top: 1px solid var(--ligne); }
.liste-tirets li::before { content: "— "; color: var(--accent); }
.clair .liste-tirets li { border-top-color: var(--ligne-claire); }
.clair .liste-tirets li::before { color: var(--accent-clair); }

.raisons { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; }
.raisons-titre { grid-column: 1 / 6; }
.raisons-titre > .label { margin-bottom: 28px; }
.raisons-titre h2 { position: sticky; top: calc(var(--entete) + 40px); font-size: clamp(2.25rem, 4.2vw, 4.25rem); line-height: 1; letter-spacing: -.04em; }
.raisons-liste { grid-column: 7 / 13; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ligne-claire); }
.raisons-liste > li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px 0; padding: 32px 0; border-bottom: 1px solid var(--ligne-claire); }
.raisons-liste .num { grid-row: span 2; padding-top: 8px; font-family: var(--mono); font-size: .75rem; color: var(--accent-clair); }
.raisons-liste h3 { font-size: clamp(1.375rem, 2vw, 1.875rem); letter-spacing: -.03em; }
.raisons-liste p { color: var(--doux-clair); }

.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; }
.faq-titre { grid-column: 1 / 5; }
.faq-titre > .label { margin-bottom: 28px; }
.faq-titre h2 { font-size: clamp(2.25rem, 4vw, 4rem); line-height: 1; letter-spacing: -.04em; }
.faq-liste { grid-column: 6 / 13; border-top: 1px solid var(--ligne); }
.question { border-bottom: 1px solid var(--ligne); }
.question summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; font-size: clamp(1.1875rem, 1.6vw, 1.5rem); letter-spacing: -.02em; list-style: none; cursor: pointer; }
.question summary::-webkit-details-marker { display: none; }
.question summary:hover { color: #fff; }
.plus { position: relative; flex: none; width: 16px; height: 16px; }
.plus::before, .plus::after { content: ""; position: absolute; top: 7.5px; left: 0; width: 16px; height: 1px; background: currentColor; transition: transform .3s ease; }
.plus::after { transform: rotate(90deg); }
.question[open] .plus::after { transform: rotate(0); }
.question > p { max-width: 40rem; padding-bottom: 28px; color: var(--doux); }

/* 10. Appel à l'action ------------------------------------------------------------------- */
.appel { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 88vh; min-height: 88svh; padding: 120px var(--marge) 72px; overflow: hidden; }
.appel .heros-media img { object-position: center 30%; filter: saturate(.85); }
.appel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--encre-rgb), .92) 0%, rgba(var(--encre-rgb), .55) 45%, rgba(var(--encre-rgb), .9) 100%); }
.appel > .label { margin-bottom: 28px; color: var(--papier); opacity: .82; }
.appel h2 { font-size: clamp(3rem, 7vw, 7.5rem); line-height: .95; letter-spacing: -.048em; }
.appel h2 + p { max-width: 30rem; margin-top: 24px; color: rgba(var(--papier-rgb), .84); font-size: 1.0625rem; }
.appel .actions { margin-top: 28px; }
.appel .actions .bouton { min-width: 230px; }
.appel--simple { min-height: 0; padding-block: clamp(96px, 12vw, 160px); background: radial-gradient(70% 90% at 0% 100%, rgba(7, 105, 218, .22), rgba(7, 105, 218, 0) 70%), var(--encre); border-top: 1px solid var(--ligne); }
.appel--simple::after { display: none; }

/* 11. Prestations et références ---------------------------------------------------------- */
.raccourcis { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0 0 clamp(32px, 4vw, 48px); padding: 0 0 20px; list-style: none; border-bottom: 1px solid var(--ligne); }
.raccourcis a { font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--doux); text-decoration: none; }
.raccourcis a:hover { color: var(--papier); }
.service { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding-block: clamp(48px, 6vw, 88px); border-top: 1px solid var(--ligne); }
.raccourcis + .service { border-top: 0; }
.service-tete { grid-column: 1 / 6; }
.service-tete h2 { margin: 18px 0 20px; font-size: clamp(1.875rem, 3.2vw, 3.25rem); line-height: 1.02; letter-spacing: -.035em; }
.service-corps { grid-column: 7 / 13; }
.service-corps > p:first-child { color: var(--doux); font-size: 1.125rem; }
.service-corps > .label { margin-top: 28px; }
.service-corps .liste-tirets { margin-top: 12px; }
.bande-image { position: relative; overflow: hidden; margin-bottom: clamp(24px, 3vw, 40px); border-radius: 2px; aspect-ratio: 21 / 9; background: var(--encre-2); }
.bande-image img { width: 100%; height: 100%; object-fit: cover; }
.service > .bande-image { grid-column: 1 / -1; margin-bottom: 8px; }

.liste-references { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ligne); }
.reference { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px 24px; padding-block: 36px; border-bottom: 1px solid var(--ligne); }
.reference-nom { grid-column: 1 / 6; }
.reference-nom h3 { margin: 10px 0 6px; font-size: clamp(1.75rem, 3vw, 2.75rem); line-height: 1.05; letter-spacing: -.035em; }
.reference-nom h3 .a-completer { font-size: .45em; vertical-align: middle; }
.reference-nom p:not(.label) { color: var(--doux); }
.reference-details { grid-column: 6 / 10; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 20px; align-content: start; padding-top: 34px; }
.reference-details dt { font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--doux); }
.reference-details dd { margin: 0; }
.reference-statut { grid-column: 10 / 13; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 34px; color: var(--doux); font-size: .875rem; }

/* 12. Galerie ------------------------------------------------------------------------------ */
.carrousel-piste { display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 56rem); gap: 20px; margin: 0; padding: 0 var(--marge) 20px; overflow-x: auto; list-style: none; scroll-snap-type: x mandatory; scroll-padding-inline: var(--marge); overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: rgba(var(--papier-rgb), .3) transparent; }
.carrousel-piste > li { scroll-snap-align: start; min-width: 0; }
.carrousel img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; background: var(--encre-2); }
.carrousel figcaption { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 16px; }
.galerie-titre { font-size: 1.25rem; letter-spacing: -.02em; }
.galerie-legende { color: var(--doux); font-size: .9375rem; }
.carrousel-controles { display: none; align-items: center; gap: 16px; margin-top: 24px; padding-inline: var(--marge); }
.carrousel--actif .carrousel-controles { display: flex; }
.carrousel-bouton { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--ligne); border-radius: 2px; background: transparent; color: var(--papier); cursor: pointer; }
.carrousel-bouton:hover:not(:disabled) { border-color: var(--papier); }
.carrousel-bouton:disabled { opacity: .3; cursor: default; }
.carrousel-compteur { min-width: 4rem; font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; color: var(--doux); text-align: center; }

/* 13. Demande de devis ---------------------------------------------------------------------- */
.studio { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 62em) { .studio { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.studio-visuel { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: calc(var(--entete) + 48px) var(--marge) 40px; overflow: hidden; }
.studio-visuel .heros-media img { object-position: center 55%; }
.studio-visuel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--encre-rgb), .72) 0%, rgba(var(--encre-rgb), .38) 50%, rgba(var(--encre-rgb), .92) 100%); }
@media (min-width: 62em) { .studio-visuel { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 38rem; } }
.studio-visuel h1 { margin: 24px 0 20px; font-size: clamp(2.5rem, 4.4vw, 4.5rem); line-height: .98; letter-spacing: -.045em; }
.studio-visuel .heros-texte { margin: 0; }
.studio-etapes { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ligne); counter-reset: etape; }
.studio-etapes li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 0; padding: 16px 0; border-bottom: 1px solid var(--ligne); counter-increment: etape; }
.studio-etapes li::before { content: counter(etape, decimal-leading-zero); grid-row: span 2; padding-top: 3px; font-family: var(--mono); font-size: .75rem; color: var(--accent); }
.studio-etapes span { color: var(--doux); font-size: .9375rem; }
.studio-formulaire { padding: clamp(40px, 6vw, 72px) var(--marge) clamp(64px, 8vw, 96px); border-left: 1px solid var(--ligne); }
@media (min-width: 62em) { .studio-formulaire { padding: calc(var(--entete) + 48px) clamp(32px, 5vw, 80px) 96px; } }
.studio-formulaire > .note { margin-bottom: 40px; }

.formulaire fieldset { margin: 0 0 40px; padding: 0; border: 0; }
.formulaire legend { margin-bottom: 24px; padding: 0; font-size: clamp(1.5rem, 2vw, 1.875rem); letter-spacing: -.03em; }
.grille-champs { display: grid; gap: 24px 20px; }
@media (min-width: 40em) {
  .grille-champs { grid-template-columns: 1fr 1fr; }
  .champ--plein { grid-column: 1 / -1; }
}
.champ label { display: block; margin-bottom: 8px; font-family: var(--mono); font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--doux); }
.obligatoire { margin-left: 2px; color: var(--ambre); }
.champ input, .champ select, .champ textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--bordure-champ);
  border-radius: 2px;
  background: rgba(var(--papier-rgb), .03);
  color: var(--papier);
  font: inherit;
  font-size: 1rem;
  transition: border-color .2s ease, background-color .2s ease;
}
.champ select { -webkit-appearance: none; appearance: none; padding-right: 44px; background-image: linear-gradient(45deg, transparent 50%, var(--papier) 50%), linear-gradient(135deg, var(--papier) 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.champ select option { background: var(--encre-2); color: var(--papier); }
.champ textarea { min-height: 10rem; resize: vertical; }
.champ input:hover, .champ select:hover, .champ textarea:hover { border-color: var(--bordure-champ-survol); }
.champ input:focus-visible, .champ select:focus-visible, .champ textarea:focus-visible { border-color: var(--accent); background: rgba(61, 139, 255, .06); outline: 2px solid var(--accent); outline-offset: 1px; }
.champ [aria-invalid="true"] { border-color: var(--erreur); box-shadow: 0 0 0 1px var(--erreur); }
.aide { margin-top: 8px; color: var(--doux); font-size: .8125rem; }
.formulaire > .aide { margin: 0 0 32px; }
.erreur-champ { margin-top: 8px; color: var(--erreur); font-size: .875rem; }
.champ-piege { display: none !important; }
.info-donnees { margin: 8px 0 32px; padding: 20px 0 0; border-top: 1px solid var(--ligne); color: var(--doux); font-size: .875rem; }
.info-donnees h2 { margin-bottom: 8px; font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--papier); }
.info-donnees p + p { margin-top: 8px; }
.info-donnees a { color: var(--papier); }
.actions-formulaire { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.actions-formulaire .bouton { width: 100%; justify-content: center; }
.statut-formulaire { margin: 0; font-weight: 500; }
.statut-formulaire.est-succes { color: var(--succes); }
.statut-formulaire.est-erreur { color: var(--erreur); }
.formulaire-alternative { width: 100%; margin: 0; color: var(--doux); font-size: .875rem; }
.formulaire-alternative a { color: var(--papier); white-space: nowrap; }
.formulaire-alternative:not(:has(a)) { display: none; } /* masqué tant que l'e-mail est vide */

/* 14. Contact et pages légales ------------------------------------------------------------------ */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px 24px; }
.contact-coordonnees { grid-column: 1 / 8; }
.contact-coordonnees > .label { margin-bottom: 28px; }
.contact-coordonnees h2 { margin-bottom: 40px; font-size: clamp(2.25rem, 4vw, 4rem); line-height: 1; letter-spacing: -.04em; }
.coordonnees { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ligne); }
.coordonnees li { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: 4px 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--ligne); }
.coordonnees .label { margin: 0; }
.coordonnees span:last-child { font-size: 1.1875rem; letter-spacing: -.01em; }
.contact-appel { grid-column: 9 / 13; align-self: end; padding-top: 28px; border-top: 1px solid var(--ligne); }
.contact-appel h2 { margin: 16px 0 16px; font-size: clamp(1.75rem, 2.4vw, 2.5rem); line-height: 1.05; letter-spacing: -.035em; }
.contact-appel p:not(.label) { margin-bottom: 28px; color: var(--doux); }

.texte-legal { max-width: 52rem; margin-inline: auto; }
.texte-legal h2 { margin: 64px 0 20px; font-size: clamp(1.5rem, 2.2vw, 2.125rem); letter-spacing: -.03em; }
.texte-legal .bloc-note + h2, .texte-legal h2:first-child { margin-top: 0; }
.texte-legal .note-titre { margin: 0 0 6px; font-size: .75rem; letter-spacing: .06em; }
.texte-legal > p, .texte-legal > ul { margin-bottom: 16px; }
.texte-legal ul { padding-left: 1.25rem; }
.texte-legal a { color: inherit; }
.clair .texte-legal a { color: var(--accent-clair); }
.citation-legale { margin: 20px 0; padding: 20px 24px; border-left: 2px solid var(--accent-clair); background: rgba(var(--encre-rgb), .04); font-style: italic; }

.fiche { container-type: inline-size; display: grid; margin: 0 0 16px; border-top: 1px solid var(--ligne); }
.clair .fiche { border-top-color: var(--ligne-claire); }
.fiche-ligne { display: grid; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--ligne); }
.clair .fiche-ligne { border-bottom-color: var(--ligne-claire); }
@container (min-width: 34rem) { .fiche-ligne { grid-template-columns: minmax(10rem, 16rem) minmax(0, 1fr); } }
.fiche dt { font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--doux); padding-top: 3px; }
.clair .fiche dt { color: var(--doux-clair); }
.fiche dd { margin: 0; min-width: 0; }
.bloc-fiche { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 24px; }
.bloc-fiche-titre { grid-column: 1 / 6; }
.bloc-fiche-titre > .label { margin-bottom: 28px; }
.bloc-fiche-titre h2 { font-size: clamp(2.25rem, 4vw, 4rem); line-height: 1; letter-spacing: -.04em; }
.bloc-fiche > .fiche { grid-column: 7 / 13; }

/* 15. Repères provisoires et notes -------------------------------------------------------------- */
.etiquette { display: inline-flex; align-items: center; padding: 3px 8px; border: 1px solid rgba(233, 196, 122, .55); border-radius: 2px; color: var(--ambre); font-family: var(--mono); font-size: .65625rem; font-weight: 400; letter-spacing: .06em; line-height: 1.5; text-transform: uppercase; white-space: nowrap; }
.clair .etiquette { border-color: #c58a1a; color: var(--ambre-clair); }
.a-completer { padding: 0 .2em; border-bottom: 1px dashed rgba(233, 196, 122, .6); background: rgba(233, 196, 122, .08); color: var(--ambre); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.a-completer--court { white-space: nowrap; }
.clair .a-completer { border-bottom-color: #c58a1a; background: #fff3d6; color: var(--ambre-clair); }
.note { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border-left: 2px solid var(--ambre); background: rgba(233, 196, 122, .06); text-align: left; }
.note > .icone { margin-top: 2px; color: var(--ambre); }
.note-titre { margin: 0 0 6px; font-family: var(--mono); font-size: .75rem; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--ambre); }
.note p { color: rgba(var(--papier-rgb), .86); font-size: .9375rem; }
.note p + p { margin-top: 8px; }
.note a { font-weight: 600; }
.note--info { border-left-color: var(--accent); background: rgba(61, 139, 255, .07); }
.note--info > .icone, .note--info .note-titre { color: var(--accent); }
.clair .note { background: #fff6e2; }
.clair .note p { color: var(--encre); }
.clair .note .note-titre, .clair .note > .icone { color: var(--ambre-clair); }
.clair .note--info { border-left-color: var(--accent-clair); background: #eaf2fd; }
.clair .note--info .note-titre, .clair .note--info > .icone { color: var(--accent-clair); }
.bloc-note { margin-bottom: clamp(40px, 5vw, 64px); }

/* 16. Pied de page --------------------------------------------------------------------------------- */
.pied { padding: 72px var(--marge) 28px; border-top: 1px solid var(--ligne); }
.pied-colonnes { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 24px; }
.pied-colonnes > * { grid-column: span 2; }
.pied-colonnes > :first-child { grid-column: 1 / 5; }
.pied-colonnes > :last-child { grid-column: 10 / 13; }
.pied-colonnes .label { margin-bottom: 18px; }
.pied-colonnes ul { margin: 0; padding: 0; list-style: none; }
.pied-colonnes li { padding: 4px 0; }
.pied-colonnes a { color: var(--doux); text-decoration: none; }
.pied-colonnes a:hover, .pied-colonnes a[aria-current="page"] { color: var(--papier); }
.pied-slogan { max-width: 20rem; color: var(--doux); }
.geant { margin: 64px 0 24px; font-size: 18.6vw; font-weight: 600; line-height: .8; letter-spacing: -.07em; color: rgba(var(--papier-rgb), .08); white-space: nowrap; user-select: none; }
.mentions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 20px; border-top: 1px solid var(--ligne); color: rgba(var(--papier-rgb), .6); font-size: .75rem; }
.mentions p:first-child { max-width: 56rem; }

/* 17. Animations, adaptations, impression ------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .js .apparition { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
  .js .apparition.vu { opacity: 1; transform: none; }
  .heros > .heros-media img { animation: approche 14s ease-out both; }
}
@keyframes approche { from { transform: scale(1.1); } to { transform: scale(1.02); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bandeau-piste, .panneau-onglet img { animation: none; }
  .declaration-texte .mot { opacity: 1; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

@media (max-width: 63.99em) {
  .titre-section > .label, .titre-section > div, .declaration > .label, .declaration-corps,
  .raisons-titre, .raisons-liste, .faq-titre, .faq-liste, .service-tete, .service-corps,
  .reference-nom, .reference-details, .reference-statut, .contact-coordonnees, .contact-appel,
  .bloc-fiche-titre, .bloc-fiche > .fiche { grid-column: 1 / -1; }
  .titre-section > .label, .declaration > .label { padding: 0 0 24px; }
  .raisons-titre, .faq-titre, .bloc-fiche-titre { margin-bottom: 40px; }
  .raisons-titre h2 { position: static; }
  .reference-details, .reference-statut { padding-top: 0; }
  .colonnes, .colonnes--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .colonne:nth-child(odd) { padding-left: 0; border-left: 0; }
  .colonne { border-bottom: 1px solid var(--ligne); }
  .pied-colonnes > *, .pied-colonnes > :first-child, .pied-colonnes > :last-child { grid-column: span 6; }
}
@media (max-width: 47.99em) {
  .heros-bas { grid-template-columns: minmax(0, 1fr); }
  .defiler { justify-items: start; text-align: left; }
  .heros .actions .bouton, .appel .actions .bouton { min-width: 0; flex: 1 1 220px; }
  .coins { display: none; }
  .legende-visuel { top: calc(var(--entete) + 8px); right: var(--marge); }
  .specs { grid-template-columns: minmax(0, 1fr); }
  .specs > div { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--ligne); }
  .colonnes, .colonnes--4 { grid-template-columns: minmax(0, 1fr); }
  .colonne { min-height: 0; padding: 28px 0 36px; border-left: 0; }
  .colonne h3 { margin-top: 20px; }
  .panneau-onglet { aspect-ratio: auto; }
  .panneau-onglet img { aspect-ratio: 4 / 3; height: auto; }
  .carte-onglet { position: static; width: auto; border: 0; border-top: 1px solid var(--ligne); background: var(--encre-2); }
  .bande-image { aspect-ratio: 4 / 3; }
  .coordonnees li { grid-template-columns: minmax(0, 1fr); }
  .pied-colonnes > *, .pied-colonnes > :first-child, .pied-colonnes > :last-child { grid-column: 1 / -1; }
  .studio-formulaire { border-left: 0; border-top: 1px solid var(--ligne); }
}

/* Logo mis en avant : identité de l'entreprise (accueil, entreprise, devis, contact, pied de page) */
.identite-grille { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 56px 24px; align-items: center; }
.identite-embleme { grid-column: 1 / 6; position: relative; display: grid; place-items: center; isolation: isolate; padding: 24px; }
.identite-embleme::before { content: ""; position: absolute; z-index: -1; width: 82%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(61, 139, 255, .32) 0%, rgba(61, 139, 255, .1) 42%, rgba(61, 139, 255, 0) 70%); }
.identite-logo { width: min(100%, 420px); height: auto; border-radius: 50%; outline: 1px solid var(--ligne); outline-offset: 22px; box-shadow: 0 40px 90px rgba(0, 0, 0, .55); }
.identite-texte { grid-column: 7 / 13; }
.identite-texte > .label { margin-bottom: 28px; }
.identite-texte .declaration-texte { font-size: clamp(1.75rem, 2.9vw, 3rem); }
.identite-mention { max-width: 36rem; margin-top: 28px; color: var(--doux); font-size: 1.0625rem; }
.identite-texte .lien { margin-top: 40px; }
.logo-carte { width: clamp(140px, 15vw, 216px); height: auto; margin-bottom: 40px; border-radius: 50%; box-shadow: 0 24px 60px rgba(var(--encre-rgb), .3); }
.logo-contact { width: 128px; height: auto; margin-bottom: 28px; border-radius: 50%; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.logo-studio { width: 84px; height: auto; margin-bottom: 28px; border-radius: 50%; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.pied-logo { width: 64px; height: 64px; margin-bottom: 20px; border-radius: 50%; }
/* Paragraphe ne contenant qu'une information facultative vide (config/infos-vps.ini) : masqué */
p:has(> [data-info]:only-child:empty) { display: none; }
/* Visuels « sécurité incendie » : cadrage (agent, tableau SSI, extincteurs toujours visibles) */
.visuel-incendie-ssi { object-position: 70% 20%; }
.visuel-incendie-ronde { object-position: 55% 40%; }
/* Visuel « agents cynophiles » : agent et chien toujours visibles */
.visuel-cynophile { object-position: 60% 57%; }
/* En-tête Prestations : 5 chiffres clés (une ligne sur grand écran, 3 + 2 sur tablette, une colonne sur téléphone) */
@media (min-width: 64em) { .specs.specs--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 48em) and (max-width: 63.99em) {
  .specs.specs--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
  .specs.specs--5 > div:nth-child(4) { padding-left: 0; border-left: 0; }
}
@media (max-width: 63.99em) {
  .identite-embleme, .identite-texte { grid-column: 1 / -1; }
  .identite-logo { width: min(66vw, 320px); }
}

/* Bouton d'affichage clair / sombre : en-tête (lune ou soleil) et menu mobile (voir js/theme.js) */
.bouton-theme { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--ligne); border-radius: 2px; background: transparent; color: var(--papier); cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.bouton-theme:hover { border-color: var(--papier); background: rgba(var(--papier-rgb), .06); }
.bouton-theme svg, .menu-theme svg { width: 16px; height: 16px; }
.menu-mobile li.menu-theme button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 16px 0; border: 0; border-bottom: 1px solid var(--ligne); background: none; color: var(--doux); font-family: var(--mono); font-size: .875rem; letter-spacing: .06em; text-transform: uppercase; text-align: left; cursor: pointer; }
.menu-mobile li.menu-theme button:hover { color: var(--papier); }
/* Le bouton montre l'affichage proposé : lune en affichage clair, soleil en affichage sombre */
html[data-theme="clair"] .icone-soleil,
html[data-theme="clair"] .theme-vers-clair,
html:not([data-theme="clair"]) .icone-lune,
html:not([data-theme="clair"]) .theme-vers-sombre { display: none; }
/* Sans JavaScript, le site reste en affichage sombre et le bouton est masqué */
.no-js .bouton-theme, .no-js .menu-theme { display: none; }
/* Téléphones : en-tête plus compact pour loger le bouton */
@media (max-width: 29.99em) {
  .entete-interieur { gap: 12px; }
  .entete-actions { gap: 8px; }
}
@media (max-width: 22.49em) { .marque-nom { display: none; } }

/* 18. Affichage clair ------------------------------------------------------------------------------
   Actif lorsque la balise <html> porte data-theme="clair" (réglé par js/theme.js).
   Les zones posées sur une photo (en-têtes, appels finaux, panneau du devis), les sections
   claires et l'en-tête posé sur une photo gardent les couleurs de la section 2 : leurs textes
   restent lisibles. Modifiez ci-dessous les couleurs de l'affichage clair. */
html[data-theme="clair"] {
  --encre: #ffffff;               /* fond principal */
  --encre-2: #eef1f5;             /* fond surélevé (cartes, emplacements d'images) */
  --papier: #05080f;              /* texte principal (bleu nuit du logo) */
  --encre-rgb: 255, 255, 255;     /* --encre en rouge, vert, bleu */
  --papier-rgb: 5, 8, 15;         /* --papier en rouge, vert, bleu */
  --ligne: rgba(5, 8, 15, .14);   /* filets */
  --doux: #545d6b;                /* texte secondaire */
  --accent: #0769da;              /* bleu du logo, lisible sur fond clair */
  --ambre: #8a5d00;               /* repères « À compléter », champs obligatoires */
  --erreur: #b42318;
  --succes: #127a46;
  --bordure-champ: rgba(5, 8, 15, .5);
  --bordure-champ-survol: rgba(5, 8, 15, .75);
  color-scheme: light;
}
/* Textes des zones posées sur une photo : restent clairs */
html[data-theme="clair"] .zone-photo,
html[data-theme="clair"].haut-photo .entete:not(.defile) { color: var(--papier); }
/* En-tête opaque (après défilement) : blanc presque plein, même au-dessus d'une photo */
html[data-theme="clair"] .entete.defile, html[data-theme="clair"].entete-opaque .entete { background: rgba(255, 255, 255, .92); }
/* Carte des onglets de l'accueil posée sur la photo : verre dépoli clair */
html[data-theme="clair"] .carte-onglet { background: rgba(255, 255, 255, .92); }
@media (max-width: 47.99em) { html[data-theme="clair"] .carte-onglet { background: var(--encre-2); } }
html[data-theme="clair"] .heros:not(.zone-photo) { background: radial-gradient(70% 60% at 50% 0%, rgba(7, 105, 218, .14), rgba(7, 105, 218, 0) 70%), var(--encre); }
html[data-theme="clair"] .references-bande ul { color: rgba(5, 8, 15, .62); }
html[data-theme="clair"] .question summary:hover { color: var(--accent); }
html[data-theme="clair"] .a-completer { border-bottom-color: #c58a1a; background: #fff3d6; color: var(--ambre-clair); }
html[data-theme="clair"] .etiquette { border-color: #c58a1a; color: var(--ambre-clair); }
html[data-theme="clair"] .note { background: #fff6e2; }
html[data-theme="clair"] .note--info { background: #eaf2fd; }
html[data-theme="clair"] .identite-embleme::before { background: radial-gradient(circle, rgba(7, 105, 218, .18) 0%, rgba(7, 105, 218, .06) 42%, rgba(7, 105, 218, 0) 70%); }
html[data-theme="clair"] .identite-logo { box-shadow: 0 30px 70px rgba(5, 8, 15, .22); }
html[data-theme="clair"] .logo-contact { box-shadow: 0 16px 40px rgba(5, 8, 15, .2); }
html[data-theme="clair"] .alerte-locale { background: #e9c47a; color: #05080f; }
/* Fondu des couleurs au changement d'affichage (désactivé si l'appareil demande moins d'animations) */
@media (prefers-reduced-motion: no-preference) {
  html.theme-transition, html.theme-transition *, html.theme-transition *::before, html.theme-transition *::after {
    transition: background-color .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease !important;
  }
}

@media print {
  .entete, .menu-mobile, .lien-evitement, .bandeau, .carrousel-controles, .heros-media, .coins, .legende-visuel, .appel { display: none !important; }
  html, body, .clair { background: #fff; color: #000; }
  .heros { min-height: 0; padding: 24px 0; }
  .heros::after { display: none; }
  .label, .note p, .colonne > p, .faq-liste p { color: #000 !important; }
}
