/* =========================================================
   Styles communs du site (partagé Armin / Jean-Pierre)
   Mobile d'abord : les règles de base sont pour le téléphone,
   les @media (min-width) ajoutent la tablette et l'ordinateur.
   ========================================================= */

/* ---------- Police hébergée sur le site (fichier dans fonts/, licence libre OFL) ----------
   Archivo, une grotesque dans l'esprit du graphisme suisse (affiches, panneaux de randonnée).
   Un seul fichier « variable » : toutes les graisses (100 à 900) et toutes les largeurs (62 % à 125 %).
   Titres en version élargie, textes en largeur normale. Plus rapide qu'un serveur extérieur,
   et aucune donnée des visiteurs n'est envoyée à Google. « swap » : le texte s'affiche tout de suite. */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("../fonts/archivo-latin.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;
}
/* (Nunito, la police du texte « fait de nuage » de l'intro, a été retirée le 17.11.2026 : plus utilisée) */
/* ---------- Couleurs et polices ---------- */
:root {
  --blanc: #f6f4ef;        /* blanc cassé */
  --brume: #dfe4e7;        /* gris brume clair */
  --gris: #56626b;         /* gris texte doux (assez foncé pour être lisible sur la brume : contraste ≥ 4,5) */
  --lac: #1d4561;          /* bleu lac */
  --lac-profond: #0e2233;  /* bleu nuit */
  --encre: #1b2630;        /* texte foncé */
  --dore: #d9a441;         /* accent chaud : boutons, et texte sur fond SOMBRE */
  --dore-fonce: #c18d2c;
  --dore-texte: #8a6414;   /* doré pour les petits textes sur fond CLAIR (le doré vif y serait illisible) */
  --dore-clair: #f0d39b;   /* doré pour les petits textes sur bleu moyen */

  --police-titre: "Archivo", "Helvetica Neue", Arial, sans-serif; /* titres : en version élargie (--largeur-titre) */
  --police-texte: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --largeur-titre: 115%;    /* largeur des lettres des titres (100 % = normale, 125 % = très large) */

  --marge: clamp(1rem, 5vw, 3rem);
  --largeur-max: 72rem;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
/* Lenis (scroll doux, js/intro.js) : c'est lui qui gère la douceur */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--police-texte);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--encre);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--police-titre); font-stretch: var(--largeur-titre); font-weight: 400;
  line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .6em; text-wrap: balance;
}
/* Sous-titres (cartes, packs) : un peu moins larges que les grands titres, pour tenir sur une ligne */
h3 { font-weight: 500; font-stretch: 104%; letter-spacing: -.015em; line-height: 1.15; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; text-underline-offset: .2em; }
img, svg { display: block; max-width: 100%; }

:focus-visible { outline: 2px solid var(--dore); outline-offset: 3px; }

/* Les petits détails du navigateur, aux couleurs du site */
html { scrollbar-color: #9aa6b1 var(--blanc); accent-color: var(--dore-fonce); caret-color: var(--dore-fonce); }
::selection { background: rgba(217,164,65,.38); color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.lien-evitement {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: .6rem 1rem; background: var(--dore); color: var(--encre); border-radius: .4rem;
}
.lien-evitement:focus { top: 1rem; }

.conteneur { width: 100%; max-width: var(--largeur-max); margin: 0 auto; padding: 0 var(--marge); }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-block;
  padding: .9rem 1.6rem;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  transition: transform .3s ease, background-color .3s ease;
  position: relative;
}
.bouton-principal { background: var(--dore); color: var(--encre); }
.bouton-secondaire { border-color: currentColor; color: var(--lac-profond); background: rgba(255,255,255,.35); }

@media (hover: hover) {
  .bouton:hover { transform: translateY(-2px); }
  .bouton-principal:hover { background: var(--dore-fonce); }
  /* Ombre préparée à l'avance : seule son opacité change (jamais d'animation de box-shadow) */
  .bouton-principal::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    box-shadow: 0 10px 25px -10px rgba(193,141,44,.7); opacity: 0; transition: opacity .3s ease;
  }
  .bouton-principal:hover::after { opacity: 1; }
}

/* ---------- En-tête ---------- */
.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--marge);
  transition: background-color .4s ease, color .4s ease; /* jamais d'animation du flou (coûteux) */
}
.entete.entete-fond { background: rgba(246,244,239,.82); backdrop-filter: blur(10px); }
/* Lisibilité du menu sur les photos de l'intro (16.11.2026, audit) : une ombre douce en haut de l'écran, derrière
   l'en-tête (traitement « cinéma » classique), et un léger halo derrière les mots. Seulement pendant le film de l'accueil,
   tant que l'en-tête n'a pas de fond ; un dégradé dont seule l'opacité change (rien n'est recalculé). */
.entete::before {
  content: ""; position: absolute; inset: 0 0 -3rem 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,18,28,.66) 0%, rgba(8,18,28,.4) 55%, transparent 100%);
  opacity: 0; transition: opacity .4s ease;
}
html.anime .entete:not(.entete-fond):not(.entete-nuit):not(.entete-sombre)::before { opacity: 1; }
html.anime .entete:not(.entete-fond):not(.entete-nuit):not(.entete-sombre) .menu > ul > li > a,
html.anime .entete:not(.entete-fond):not(.entete-nuit):not(.entete-sombre) .logo-nom { text-shadow: 0 1px 2px rgba(8,18,28,.5), 0 1px 10px rgba(8,18,28,.6); }

/* Logo Noviera (10.11.2026) : le logo officiel (images/logo/noviera-logo.svg) à gauche du nom, un seul lien.
   32 px de haut sur ordinateur, 28 px sur téléphone, 10 px d'écart ; il arrive en fondu avec une légère montée.
   « era » en doré ; sur fond clair, le doré passe en --dore-texte (lisible). */
.logo {
  display: inline-flex; align-items: center; gap: 10px; margin: 0; line-height: 1;
  font-family: var(--police-titre); text-decoration: none; color: inherit;
}
.logo-img { display: block; flex: none; width: auto; height: 32px; object-fit: contain; } /* hauteur seulement : jamais recadré ni étiré */
.entete .logo-img { animation: logo-arrive .8s cubic-bezier(.2,.7,.2,1) .1s both; }
@keyframes logo-arrive { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.logo-nom { font-size: 1.4rem; font-weight: 600; font-stretch: 120%; letter-spacing: .2em; text-transform: uppercase; }
.logo-dore { color: var(--logo-or, var(--dore)); transition: color .4s ease; }
.entete.entete-fond:not(.entete-nuit) .logo, .entete.entete-sombre:not(.entete-nuit) .logo { --logo-or: var(--dore-texte); }
.pied .logo-img { height: 26px; }
@media (max-width: 47.99em) {
  .logo-img { height: 28px; }
  .logo-nom { font-size: 1.15rem; letter-spacing: .17em; }
}
/* Tablette : l'en-tête (logo + 5 entrées du menu, 13.11.2026) tient sur une ligne, sur toutes les pages (pages légales comprises) */
@media (min-width: 48em) and (max-width: 64em) {
  .entete .logo { white-space: nowrap; }
  .entete .logo-nom { font-size: 1.05rem; letter-spacing: .15em; }
  .entete .menu ul { flex-wrap: nowrap; gap: .3rem .85rem; align-items: center; }
  .entete .menu a { font-size: .85rem; white-space: nowrap; }
  .entete { gap: 1rem; } /* jamais collé au logo */
}
/* Tablette étroite (17.11.2026) : le bouton du menu est plus long (« Demander un devis », « Décrire mon problème ») :
   entrées un peu plus serrées pour que tout tienne sur une ligne, sans toucher le logo */
@media (min-width: 48em) and (max-width: 56em) {
  .entete .logo-nom { font-size: .95rem; letter-spacing: .12em; }
  .entete .menu ul { gap: .3rem .55rem; }
  .entete .menu a { font-size: .8rem; }
  .entete .menu .menu-cta { padding: .4rem .75rem; }
}
/* (19.11.2026) « Tarifs », sans petite flèche : un peu d'air avant « Dépannage » sur tablette */
@media (min-width: 48em) and (max-width: 64em) { .entete .menu .menu-tarifs { margin-right: .3rem; } }

.menu-bouton {
  display: none; /* visible seulement si le JavaScript marche (voir plus bas) */
  width: 44px; height: 44px; border: 0; background: none; cursor: pointer; color: inherit;
}
.menu-barres, .menu-barres::before, .menu-barres::after {
  display: block; width: 24px; height: 2px; background: currentColor; margin: 0 auto;
  transition: transform .3s ease, opacity .3s ease;
}
.menu-barres { position: relative; }
.menu-barres::before, .menu-barres::after { content: ""; position: absolute; left: 0; }
.menu-barres::before { top: -7px; }
.menu-barres::after { top: 7px; }
.menu-bouton[aria-expanded="true"] .menu-barres { background: transparent; }
.menu-bouton[aria-expanded="true"] .menu-barres::before { transform: translateY(7px) rotate(45deg); }
.menu-bouton[aria-expanded="true"] .menu-barres::after { transform: translateY(-7px) rotate(-45deg); }

.menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.menu a { text-decoration: none; font-size: .95rem; padding: .4rem 0; display: inline-block; }
.menu-cta { color: var(--lac); font-weight: 600; }

/* Sans JavaScript : le menu reste affiché en ligne, sous le logo */
.no-js .entete { flex-wrap: wrap; position: absolute; }

/* Avec JavaScript, sur téléphone : menu burger plein écran */
@media (max-width: 47.99em) {
  html:not(.no-js) .menu-bouton { display: block; position: relative; z-index: 2; }
  html:not(.no-js) .menu {
    position: fixed; inset: 0; background: var(--blanc);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s;
  }
  html:not(.no-js) .menu.ouvert { opacity: 1; visibility: visible; }
  html:not(.no-js) .menu ul { flex-direction: column; align-items: center; gap: 1.2rem; }
  html:not(.no-js) .menu a { font-family: var(--police-titre); font-size: 2rem; }
  /* Groupes « Sites web » et « Dépannage » (13.11.2026) : le titre, puis ses 2 liens décalés dessous (tout visible) ;
     sur un écran peu haut (téléphone à l'horizontale), le menu défile au lieu d'être coupé (margin: auto centre sans rien cacher) */
  html:not(.no-js) .menu { overflow-y: auto; overscroll-behavior: contain; padding: 4.5rem 1.5rem 2rem; }
  html:not(.no-js) .menu > ul { align-items: flex-start; gap: 1.05rem; margin: auto; }
  html:not(.no-js) .menu .sous-menu {
    align-items: flex-start; gap: .2rem; margin: .45rem 0 0 .25rem; padding-left: 1rem; border-left: 1px solid rgba(217,164,65,.7);
  }
  html:not(.no-js) .menu .sous-menu a { font-family: var(--police-texte); font-size: 1.12rem; padding: .25rem 0; color: #33414c; }
  /* (19.11.2026) « Tarifs » est aussi au 1er niveau : sur téléphone, où tout est affiché, pas deux fois de suite */
  html:not(.no-js) .menu .sous-menu .menu-doublon { display: none; }
}

@media (min-width: 48em) {
  .menu ul { gap: 2rem; }
  .menu a { position: relative; }
  .menu a::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
    background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s ease;
  }
  .menu a:hover::after { transform: scaleX(1); transform-origin: left; }
}

/* ---------- Sous-menus « Sites web » et « Dépannage » (13.11.2026, js/main.js) ----------
   Ordinateur et tablette : petit panneau clair et arrondi sous le titre, ouvert au survol, à la petite flèche
   (bouton, aria-expanded) ou au clavier ; le haut du panneau est un « pont » invisible (padding-top) : la souris
   passe du titre au panneau sans le fermer. Sans JavaScript : ouvert au survol et au focus.
   Téléphone : les sous-liens sont toujours affichés sous leur titre, légèrement décalés. */
.menu-ouvrir { display: none; }
@media (min-width: 48em) {
  .menu-groupe { position: relative; display: flex; align-items: center; gap: .2rem; }
  html:not(.no-js) .menu-ouvrir {
    display: grid; place-items: center; width: 1.45rem; height: 1.45rem; padding: 0; margin: 0;
    border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer;
  }
  .menu-ouvrir::before {
    content: ""; width: .36rem; height: .36rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg); transition: transform .2s ease;
  }
  .menu-groupe.ouvert .menu-ouvrir::before { transform: translateY(1px) rotate(225deg); }
  .menu-ouvrir:focus-visible { outline: 2px solid var(--dore); outline-offset: 2px; }
  .menu .sous-menu {
    position: absolute; top: 100%; left: -.9rem; z-index: 60; min-width: 12.5rem;
    display: block; margin: 0; padding: .55rem 0 0; /* le « pont » invisible entre le titre et le panneau */
    opacity: 0; visibility: hidden; transform: translateY(-4px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
  }
  .menu .sous-menu::before {
    content: ""; position: absolute; inset: .55rem 0 0 0; z-index: -1; border-radius: .9rem;
    background: rgba(246,244,239,.98); border: 1px solid rgba(14,34,51,.08); box-shadow: 0 18px 40px -20px rgba(14,34,51,.45);
  }
  .menu .sous-menu li:first-child { margin-top: .4rem; }
  .menu .sous-menu li:last-child { margin-bottom: .4rem; }
  .menu .sous-menu a {
    display: block; margin: 0 .4rem; padding: .55rem .8rem; border-radius: .6rem;
    font-size: .9rem; white-space: nowrap; color: var(--encre); transition: background-color .2s ease;
  }
  .menu .sous-menu a::after { display: none; }
  .menu .sous-menu a:hover, .menu .sous-menu a:focus-visible { background: rgba(217,164,65,.16); }
  .menu .sous-menu a:focus-visible { outline: 2px solid var(--dore); outline-offset: -2px; }
  .menu-groupe.ouvert .sous-menu,
  .no-js .menu-groupe:hover .sous-menu, .no-js .menu-groupe:focus-within .sous-menu { opacity: 1; visibility: visible; transform: none; }
}
@media (min-width: 48em) and (prefers-reduced-motion: reduce) {
  .menu .sous-menu, .menu-ouvrir::before { transition: none; transform: none; }
  .menu-groupe.ouvert .menu-ouvrir::before { transform: rotate(225deg); }
}

/* =========================================================
   Écran d'accueil (hero) : « Des Alpes à chez vous »
   Sans animation : un écran de nuit fixe (100vh).
   Avec animation (classe .anime ajoutée par main.js) : la section
   devient plus haute et la scène reste collée pendant qu'on scrolle.
   ========================================================= */

/* En-tête en clair au-dessus de la nuit */
.entete { color: var(--blanc); }
.entete.entete-fond { color: var(--encre); }
.entete:not(.entete-fond) .menu-cta { color: var(--dore); }
.menu-bouton[aria-expanded="true"], .menu.ouvert { color: var(--encre); }
.menu.ouvert .menu-cta { color: var(--lac); }
/* Téléphone (18.11.2026) : dans le menu ouvert, « Contact » est un vrai bouton doré, en dernier, bien mis en avant */
@media (max-width: 47.99em) {
  .menu.ouvert .menu-cta {
    display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; margin-top: .4rem; padding: .7rem 2rem;
    border-radius: 999px; background: var(--dore); color: var(--encre); font-weight: 700; text-shadow: none;
  }
  .menu.ouvert .menu-cta::after { display: none; }
}

/* Sans JavaScript ou avec « réduire les animations » : les 4 étapes l'une sous l'autre, scroll normal.
   Avec le film (classe .intro-film, posée par js/intro-etapes.js) : une seule scène plein écran collante,
   les 4 étapes superposées, puis le crépuscule au scroll (hauteur fixée par js/intro.js). */
.hero { position: relative; }
.hero-scene { position: relative; color: var(--blanc); text-align: center; }
.intro-film .hero { height: 100vh; height: 100svh; }
.intro-film .hero-scene { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
/* Pendant l'intro, la page ne défile pas : chaque geste fait avancer d'une étape (js/intro-etapes.js bloque
   la molette, le doigt et le clavier). La barre de défilement reste affichée (« auto », même quand Lenis est
   en pause) : la largeur de la page ne change pas en sortant de l'intro, les animations suivantes restent calées. */
html.intro-verrou, html.intro-verrou.lenis-stopped { overflow: auto; overscroll-behavior: none; }

/* Les 4 étapes de l'intro (js/intro-etapes.js). Chacune : son image nette (même cadrage « cover »
   que la vidéo, pour que le passage de l'une à l'autre soit invisible) et son texte. */
.etape { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; }
.etape-image, .etape-image img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.etape-image img { object-fit: cover; object-position: 50% 50%; }
/* Sans film : les textes des étapes 2 à 4 sont posés sur leur image, toujours visibles */
.etape-textes { position: relative; z-index: 1; display: grid; gap: 2.5rem; padding: 20vh 0 16vh; }
.intro-videos, .chapitres, .passer-intro, .automne-crepuscule, .nuit-rideau, .automne-nuit, .crepuscule { display: none; }

/* Avec le film : tout est superposé dans la scène. Dessous, la vidéo de la transition en cours ;
   au-dessus, l'image nette de l'étape (fondu court à l'arrêt) ; puis les textes. */
.intro-film .etape { position: absolute; inset: 0; min-height: 0; overflow: visible; pointer-events: none; }
.intro-film .etape a, .intro-film .etape button { pointer-events: auto; }
.intro-film .etape-image { z-index: 2; opacity: 0; will-change: opacity; }
.intro-film .etape-1 .etape-image { opacity: 1; }
.intro-film .etape-textes { position: static; display: block; padding: 0; }
.intro-film .intro-videos { display: block; position: absolute; inset: 0; z-index: 1; background: #0e2233; }
.intro-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; opacity: 0; }
/* .prete : vidéo du prochain geste, affichée SOUS l'image nette (pour que Firefox ne la mette pas en veille) ;
   .visible : la vidéo qui joue, au-dessus des autres */
.intro-video.prete { opacity: 1; }
.intro-video.visible { opacity: 1; z-index: 1; }
.intro-film .passer-intro, .intro-film .chapitres { display: block; }
.intro-film .automne-crepuscule, .intro-film .nuit-rideau, .intro-film .automne-nuit { display: block; }
.hero.hors-ecran .etape-image { will-change: auto; }
/* Le crépuscule passe par-dessus l'image de la 4e étape */
.automne-crepuscule, .nuit-rideau, .automne-nuit { z-index: 2; }
/* Voile bleu nuit : la nuit tombe avant les Services */
.automne-nuit { position: absolute; inset: 0; background: #0b1824; opacity: 0; }

/* Voile du 1er écran (10.11.2026) : sombre à gauche derrière le texte, transparent vers la droite
   pour laisser le Mont-Blanc lumineux ; un peu en haut (menu) et en bas (sur les nuages clairs) */
.ciel-ombre {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10,22,34,.74) 0%, rgba(10,22,34,.66) 28%, rgba(10,22,34,.4) 46%, rgba(10,22,34,0) 64%), /* (17.11.2026 : un peu plus sombre, le texte est plus long) */
    linear-gradient(0deg, rgba(10,22,34,.45) 0%, rgba(10,22,34,0) 42%),
    linear-gradient(180deg, rgba(14,34,51,.4) 0%, rgba(14,34,51,0) 22%);
}
/* Téléphone et tablette en portrait : le texte est en bas, sur toute la largeur → voile depuis le bas */
@media (max-width: 47.99em), (orientation: portrait) and (max-width: 70em) {
  .ciel-ombre { background: linear-gradient(0deg, rgba(10,22,34,.82) 0%, rgba(10,22,34,.7) 36%, rgba(10,22,34,.42) 60%, rgba(10,22,34,.14) 80%, rgba(10,22,34,0) 94%), linear-gradient(180deg, rgba(14,34,51,.45) 0%, rgba(14,34,51,0) 22%); }
}
/* Tablette en portrait : le texte reste bas, le voile aussi (le Mont-Blanc reste lumineux) */
@media (min-width: 48em) and (orientation: portrait) and (max-width: 70em) {
  /* (17.11.2026 : un peu plus haut, le titre est plus long) */
  .ciel-ombre { background: linear-gradient(0deg, rgba(10,22,34,.82) 0%, rgba(10,22,34,.7) 30%, rgba(10,22,34,.52) 46%, rgba(10,22,34,.28) 58%, rgba(10,22,34,0) 70%), linear-gradient(180deg, rgba(14,34,51,.45) 0%, rgba(14,34,51,0) 22%); }
}

/* Grands calques plein écran dont seule la transparence (ou la position) change pendant le film :
   préparés dès le chargement, ils ne sont plus redessinés au moment où ils apparaissent.
   Retiré quand l'accueil est sorti de l'écran (classe posée sur .hero, pas sur toute la page). */
.anime .automne-nuit { will-change: opacity; }
.hero.hors-ecran .automne-nuit { will-change: auto; }

/* Les 3 étapes, à droite au milieu : un trait, un numéro et un nom par étape (cliquables).
   10.11.2026 : les noms sont toujours visibles (on sait ce qui arrive) ; sur téléphone, les numéros seuls */
.chapitres { position: absolute; z-index: 7; right: calc(var(--marge) - .6rem); top: 50%; transform: translateY(-50%); }
.chapitres ol { list-style: none; margin: 0; padding: 0; display: grid; justify-items: end; }
.chapitres button {
  display: flex; align-items: center; gap: .6rem; min-height: 2.75rem; padding: 0 .6rem;
  background: none; border: 0; color: inherit; cursor: pointer;
  font: inherit; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(10,22,34,.7), 0 1px 12px rgba(10,22,34,.6); opacity: .7; transition: opacity .3s ease;
}
.chapitres button::after {
  content: ""; width: 1.6rem; height: 1px; background: currentColor;
  transform: scaleX(.45); transform-origin: 100% 50%; transition: transform .35s ease;
}
.chapitres button[aria-current="step"] { opacity: 1; }
.chapitres button[aria-current="step"]::after { transform: none; background: var(--dore); }
@media (hover: hover) { .chapitres button:hover { opacity: 1; } }
/* Téléphone (10.11.2026) : les numéros en ligne, juste sous l'en-tête, pour ne jamais toucher les textes */
@media (max-width: 47.99em) {
  .chapitre-nom { display: none; }
  .chapitres { top: 4.9rem; transform: none; right: calc(var(--marge) - .6rem); }
  .chapitres ol { display: flex; }
  .chapitres button { gap: .4rem; }
  .chapitres button::after { width: 1rem; }
  /* à l'arrêt 2 (l'arbre), le texte « nuage » occupe le haut : la ligne descend en bas à gauche, face à « Passer l'intro » */
  .chapitres:has([data-aller="2"][aria-current="step"]) { top: auto; bottom: .55rem; right: auto; left: calc(var(--marge) - .6rem); }
}
/* Étape très claire (les nuages blancs) : repères et « Passer l'intro » en foncé */
.hero.etape-claire .chapitres, .hero.etape-claire .passer-intro { color: var(--lac-profond); }
.hero.etape-claire .chapitres button { text-shadow: none; }

/* Les textes du premier écran (10.11.2026) : en bas à gauche, un seul message et un seul bouton principal.
   Le bloc ne peut jamais monter sous l'en-tête : il est borné en haut (top) et reste collé en bas (flex-end).
   La taille du titre suit la largeur ET la hauteur de l'écran (petits portables 1366 × 768). */
.hero-texte {
  position: absolute; z-index: 7; left: var(--marge); right: var(--marge);
  top: calc(4.8rem + clamp(1.5rem, 5vh, 3rem));
  bottom: 9.5rem; /* téléphone : laisse la place à la carte « Exemple » en dessous */
  display: flex; flex-direction: column; justify-content: safe flex-end;
  max-width: 48rem; text-align: left; pointer-events: none;
}
.hero-texte > * { pointer-events: auto; }
@media (min-width: 48em) { .hero-texte { bottom: clamp(5rem, 13vh, 8rem); right: auto; } }
/* 17.11.2026 : « Un site qui vous amène des clients, pendant que vous travaillez. » (11 mots, lignes équilibrées) */
.hero-titre {
  max-width: 15.5em; font-size: clamp(2rem, min(3.9vw, 6.4vh), 3.7rem); line-height: 1.06; letter-spacing: -.01em;
  margin: 0 0 clamp(.9rem, 2.2vh, 1.4rem); text-wrap: balance;
  text-shadow: 0 2px 30px rgba(10,22,34,.5);
}
/* Arrivée : les mots montent l'un après l'autre (transform et opacity seulement) ; ordre d'arrivée --i
   (ici et non dans le HTML : les attributs style sont interdits par la protection CSP du fichier _headers) */
.hero-titre .hm:nth-child(2) { --i: 1; } .hero-titre .hm:nth-child(3) { --i: 2; } .hero-titre .hm:nth-child(4) { --i: 3; }
.hero-titre .hm:nth-child(5) { --i: 4; } .hero-titre .hm:nth-child(6) { --i: 5; } .hero-titre .hm:nth-child(7) { --i: 6; }
.hero-titre .hm:nth-child(8) { --i: 7; } .hero-titre .hm:nth-child(9) { --i: 8; } .hero-titre .hm:nth-child(10) { --i: 9; }
.hero-titre .hm:nth-child(11) { --i: 10; }
.hero-titre .hm { --i: 0; display: inline-block; animation: hero-mot .9s cubic-bezier(.2,.75,.2,1) calc(.25s + var(--i) * .07s) both; }
@keyframes hero-mot { from { opacity: 0; transform: translateY(.45em); } to { opacity: 1; transform: none; } }
/* « clients, » (avant le 17.11.2026 : « rayonner ») : en doré, et un reflet de lumière passe une fois sur les lettres.
   Le reflet est une copie dessinée en CSS (lue nulle part) ; seule exception à la règle « transform et opacity » :
   sa lumière glisse (background-position) une seule fois, sur un seul mot, pendant 1,3 s. */
/* (doré plus lumineux que --dore : il reste lisible sur les nuages orangés, contraste ≥ 3:1 mesuré) */
.hero-rayon { position: relative; color: #f2c267; }
.hero-rayon::after {
  content: attr(data-t); content: attr(data-t) / "";
  position: absolute; inset: 0; pointer-events: none; text-shadow: none;
  background: linear-gradient(100deg, transparent 38%, rgba(255,247,226,.95) 50%, transparent 62%) 130% 0 / 260% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; animation: hero-reflet 1.3s ease-in-out 1.45s both;
}
@keyframes hero-reflet {
  0% { opacity: 0; background-position: 130% 0; }
  15%, 80% { opacity: 1; }
  100% { opacity: 0; background-position: -30% 0; }
}
.hero-accroche {
  max-width: 31rem; margin: 0 0 clamp(1.3rem, 3.2vh, 1.9rem);
  font-size: clamp(1rem, min(1.45vw, 2.3vh), 1.18rem); line-height: 1.55; color: var(--blanc);
  text-shadow: 0 1px 12px rgba(10,22,34,.6);
  animation: monte 1s ease-out .85s both;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.6rem; animation: monte 1s ease-out 1.1s both; }
/* La zone (2e ligne courte du sous-titre) et la petite ligne du dépannage, sous les boutons (17.11.2026) */
.hero-zone { display: block; margin-top: .3rem; }
@media (max-width: 47.99em) and (max-height: 700px) { .hero-zone { display: none; } } /* téléphone peu haut : la place manque */
.hero-actions, .hero-depannage { width: fit-content; max-width: 100%; } /* (leurs blocs ne passent jamais sous la carte de l'assistant) */
.hero-depannage { margin: clamp(.8rem, 2vh, 1.1rem) 0 0; font-size: .92rem; animation: monte 1s ease-out 1.25s both; }
.hero-depannage a {
  display: inline-block; padding: .55rem 0; color: var(--blanc); text-decoration: none; /* (la flèche suit le texte, même sur 2 lignes) */
  text-shadow: 0 1px 10px rgba(10,22,34,.7); opacity: .92;
}
.hero-depannage a:focus-visible { outline: 2px solid var(--dore); outline-offset: 3px; border-radius: .3rem; }
@media (hover: hover) { .hero-depannage a:hover { opacity: 1; text-decoration: underline; text-underline-offset: .25em; } }
/* Téléphone : la ligne passe sur 2 lignes, plus compacte (elle ne touche jamais la carte du guide, même sur 360 × 640) */
@media (max-width: 47.99em) { .hero-depannage { margin-top: .5rem; font-size: .875rem; } .hero-depannage a { padding: .3rem 0; } }
/* Téléphone : le titre tient toujours sur 2 lignes (les repères 01-03 sont en ligne sous l'en-tête) */
@media (max-width: 47.99em) {
  .hero-texte { top: calc(4.9rem + 2.75rem + 1rem); }
  .hero-titre { font-size: min(7vw, 2.2rem); }
  .hero-accroche { font-size: .98rem; }
}
/* Téléphone peu haut : le texte monte jusque dans le ciel clair → voile plus haut */
@media (max-width: 47.99em) and (max-height: 700px) {
  .ciel-ombre { background: linear-gradient(0deg, rgba(10,22,34,.84) 0%, rgba(10,22,34,.72) 40%, rgba(10,22,34,.56) 62%, rgba(10,22,34,.38) 80%, rgba(10,22,34,.2) 100%); }
}
/* Tablette en portrait : la carte « Exemple » est sous le texte, pas à côté */
@media (min-width: 48em) and (orientation: portrait) and (max-width: 70em) {
  .hero-texte { bottom: calc(clamp(5rem, 13vh, 8rem) + 8rem); }
}

/* Invitation secondaire : un simple lien avec une flèche (même style partout sur le site) */
.lien-fleche {
  display: inline-flex; align-items: center; gap: .45rem; padding: .4rem 0;
  font-weight: 500; text-decoration: none; color: inherit;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .35s ease;
}
.lien-fleche span { transition: transform .3s ease; }
@media (hover: hover) {
  .lien-fleche:hover { background-size: 100% 1px; }
  .lien-fleche:hover span { transform: translateX(4px); }
}
.hero .lien-fleche { color: var(--blanc); text-shadow: 0 1px 10px rgba(14,34,51,.5); }

/* Carte du 1er écran (« Assistant du site » depuis le 13.11.2026 ; avant : « Exemple de démonstration ») :
   2e point d'attention, en bas à droite (en bas sur téléphone) */
.carte-exemple {
  position: absolute; z-index: 7; left: var(--marge); right: var(--marge); bottom: 1.2rem;
  display: flex; align-items: center; gap: .9rem; padding: .65rem .9rem .65rem .65rem;
  border-radius: 1rem; text-decoration: none; color: var(--blanc);
  background: rgba(14,34,51,.55); border: 1px solid rgba(246,244,239,.22);
  box-shadow: 0 20px 40px -24px rgba(0,0,0,.6);
  /* « backwards » : une fois apparue, la carte peut s'effacer au scroll (animée par GSAP) */
  animation: monte 1.2s ease-out 1.3s backwards;
  transition: transform .35s ease, background-color .35s ease;
}
@media (min-width: 48em) { .carte-exemple { left: auto; width: 22.5rem; bottom: clamp(5rem, 13vh, 8rem); } }
@media (hover: hover) { .carte-exemple:hover { transform: translateY(-4px); background: rgba(14,34,51,.72); } }
.carte-exemple-texte { display: grid; flex: 1; line-height: 1.3; }
.carte-exemple-texte small { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dore); }
.carte-exemple-texte strong { font-family: var(--police-titre); font-weight: 400; font-size: 1.25rem; }
.carte-exemple-fleche {
  display: grid; place-items: center; width: 2.2rem; height: 2.2rem; flex: none;
  border-radius: 50%; background: var(--blanc); color: var(--lac-profond); font-weight: 600;
  transition: transform .3s ease;
}
@media (hover: hover) { .carte-exemple:hover .carte-exemple-fleche { transform: translateX(3px); } }
/* Carte « Assistant du site » (13.11.2026, à la place de l'exemple du paysagiste) : un vrai bouton qui ouvre l'assistant */
.carte-assistant { font: inherit; text-align: left; cursor: pointer; }
.carte-assistant[hidden] { display: none; }
.carte-assistant:focus-visible { outline: 2px solid var(--dore); outline-offset: 3px; }
.carte-assistant .carte-exemple-texte strong { text-wrap: balance; } /* « Une question ? » / « Je vous guide. » */
.carte-assistant-icone {
  position: relative; flex: none; display: grid; place-items: center; width: 3.1rem; height: 3.1rem; border-radius: 50%;
  color: var(--lac-profond); background: radial-gradient(circle at 32% 28%, #f8e2b0, var(--dore) 72%);
  box-shadow: 0 0 0 1px rgba(246,244,239,.28), 0 8px 18px -8px rgba(217,164,65,.55);
}
.carte-assistant-icone .icone { width: 1.45rem; height: 1.45rem; color: inherit; }
/* Un halo doré qui « respire » doucement autour de l'icône (opacité et taille seulement, rien avec « réduire les animations ») */
.carte-assistant-icone::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(240,211,155,.75);
  opacity: 0; animation: assistant-halo 3.4s ease-in-out 2.8s infinite;
}
@keyframes assistant-halo { 0%, 100% { opacity: 0; transform: scale(.9); } 50% { opacity: .85; transform: scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .carte-assistant-icone::after { animation: none; } }
.carte-assistant[aria-expanded="true"] .carte-exemple-fleche { transform: rotate(90deg); }

/* « Passer l'intro » : discret, apparaît pendant le film (js/intro.js) */
.passer-intro {
  position: absolute; z-index: 7; right: var(--marge); bottom: 1.6rem;
  font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  color: inherit; opacity: 0; visibility: hidden;
}
@media (hover: hover) { .passer-intro:hover { text-decoration: underline; } }
@media (max-width: 47.99em) { .hero .hero-scroll { display: none; } } /* la carte « Exemple » occupe le bas */

/* Phrases des étapes : sans film, posées sur leur image ; avec le film, elles apparaissent à l'arrêt */
.hero-phrase {
  padding: 0 var(--marge); margin: 0;
  font-family: var(--police-titre); font-weight: 300; line-height: 1.2;
  font-size: clamp(1.7rem, 5vw, 3.2rem);
  text-shadow: 0 2px 24px rgba(14,34,51,.4);
}
.intro-film .hero-phrase { position: absolute; left: 0; right: 0; top: 18vh; z-index: 7; opacity: 0; visibility: hidden; }
/* Phrases posées sur la vidéo (ciel clair, feuilles) : une ombre un peu plus présente pour rester lisibles */
.hero-phrase-f { font-weight: 400; text-shadow: 0 2px 6px rgba(14,34,51,.35), 0 2px 28px rgba(14,34,51,.55); }
/* Sur la rafale de feuilles (image très chargée) : ombre plus dense pour rester lisible */
.hero-phrase-f { text-shadow: 0 1px 3px rgba(14,34,51,.7), 0 2px 14px rgba(14,34,51,.7), 0 0 44px rgba(14,34,51,.65); }

/* Arrêt « 02 Notre vitrine » (l'arbre), 17.11.2026 : la police des titres du site (Archivo élargie) en lettres fines
   blanc cassé, « nouvelle ère » en doré (c'est le sens du nom Noviera) ; 2 lignes : le surtitre en petites majuscules
   espacées, puis la phrase en grand. (Avant : un texte « fait de nuage » en Nunito avec des filtres SVG, retiré.)
   Lisibilité sur l'image (arbres sombres à gauche, nuages clairs à droite) : un dégradé sombre très doux derrière
   le bloc, sans bord visible, et une ombre de texte douce. Rien n'est animé ici (js/intro-etapes.js : fondu, transform). */
.phrase-arbre {
  display: grid; justify-items: center; text-align: center; color: var(--blanc);
  text-shadow: 0 0 2px rgba(20,12,6,.55), 0 1px 3px rgba(20,12,6,.55), 0 2px 24px rgba(20,12,6,.6);
}
.arbre-bloc { position: relative; isolation: isolate; display: grid; justify-items: center; gap: .85rem; padding: 0 1rem; }
.arbre-bloc::before {
  content: ""; position: absolute; inset: -70% -18%; z-index: -1; pointer-events: none;
  /* (17.11.2026 : un peu plus sombre, la phrase « …travaille pour vous » est plus longue) */
  background: radial-gradient(closest-side, rgba(22,14,8,.74), rgba(22,14,8,.58) 45%, rgba(22,14,8,.26) 75%, transparent);
}
.arbre-sur {
  font-family: var(--police-titre); font-stretch: var(--largeur-titre); font-weight: 600;
  font-size: clamp(.72rem, .56rem + .34vw, .92rem); line-height: 1.4; letter-spacing: .3em; text-transform: uppercase;
  color: var(--blanc);
  /* petit texte sur le ciel clair : un halo serré autour des lettres (≥ 4,5:1) */
  text-shadow: 0 0 2px rgba(20,12,6,.8), 0 1px 6px rgba(20,12,6,.75), 0 2px 18px rgba(20,12,6,.6);
}
.arbre-titre {
  font-family: var(--police-titre); font-stretch: var(--largeur-titre); font-weight: 300;
  font-size: clamp(2rem, 1rem + 3.1vw, 4.2rem); line-height: 1.08; letter-spacing: -.02em;
  max-width: 22ch; text-wrap: balance;
}
.arbre-dore { color: #f2c267; } /* le même doré lumineux que « rayonner » au 1er écran (le --dore est trop sombre sur une photo) */
@media (max-width: 47.99em) {
  .arbre-bloc { gap: .6rem; padding: 0; }
  .arbre-sur { font-size: .68rem; letter-spacing: .16em; font-stretch: 100%; }
  .arbre-titre { font-size: clamp(1.4rem, 6.3vw, 1.9rem); font-stretch: 100%; max-width: none; }
}
/* Sommaire (fin de l'intro, sur le paysage d'automne) : les deux offres, posées en bas à gauche comme le
   texte du 1er écran (le paysage reste dégagé). Chaque carte entière est un lien (grande zone à toucher),
   avec le prix de départ et un petit lien vers les prix. Pas de flou derrière (backdrop-filter) : un voile
   sombre en dégradé depuis le bas de l'écran, et des cartes sombres translucides. */
.sommaire { position: relative; z-index: 7; padding: 2rem var(--marge); text-align: left; }
.intro-film .sommaire {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--marge) clamp(4.2rem, 9vh, 6.5rem);
  opacity: 0; visibility: hidden;
}
/* le voile sombre derrière (sans animation : sur le haut du sommaire ; avec le film : depuis le bas de l'écran) */
.sommaire::before {
  content: ""; position: absolute; inset: -3rem 0 0 0; z-index: -1; pointer-events: none;
  background: linear-gradient(0deg, rgba(8,18,28,.74) 0%, rgba(8,18,28,.66) 78%, transparent 100%);
}
.intro-film .sommaire::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 75vh; z-index: -1; pointer-events: none;
  background: linear-gradient(0deg, rgba(8,18,28,.8) 0%, rgba(8,18,28,.58) 50%, transparent 100%);
}
.sommaire-titre {
  display: flex; align-items: center; gap: .9rem; margin: 0 0 1.3rem;
  font-family: var(--police-titre); font-stretch: var(--largeur-titre); font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.1; letter-spacing: -.02em;
  color: var(--blanc); text-shadow: 0 2px 18px rgba(8,18,28,.55);
}
.sommaire-titre::before { content: ""; flex: none; width: 2.4rem; height: 1px; background: var(--dore); }
.sommaire-offres { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; max-width: 56rem; }
/* 2 offres (18.11.2026) : l'une sous l'autre sur tablette en portrait, côte à côte dès 1024 px */
@media (min-width: 48em) and (max-width: 63.99em) { .sommaire-offres { max-width: 34rem; gap: 1rem; } }
@media (min-width: 64em) { .sommaire-offres { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; max-width: 60rem; } }
.sommaire-offre {
  position: relative; display: flex; align-items: flex-start; gap: 1.1rem;
  padding: 1.35rem 1.4rem 1.25rem; border-radius: 1.1rem;
  background: rgba(10,24,38,.72); border: 1px solid rgba(246,244,239,.16);
  box-shadow: 0 24px 48px -28px rgba(0,0,0,.7);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), background-color .35s ease, border-color .35s ease;
}
.sommaire-icone {
  flex: none; display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: .85rem;
  background: rgba(217,164,65,.14); border: 1px solid rgba(217,164,65,.35); color: var(--dore);
}
.sommaire-icone .icone { width: 1.45rem; height: 1.45rem; color: inherit; }
.sommaire-corps { flex: 1; min-width: 0; }
/* le lien principal couvre toute la carte (::after) */
.sommaire-lien { color: var(--blanc); text-decoration: none; }
.sommaire-lien::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.sommaire-lien:focus-visible { outline: none; }
.sommaire-offre:has(.sommaire-lien:focus-visible) { outline: 2px solid var(--dore); outline-offset: 3px; }
.sommaire-nom {
  display: block; font-family: var(--police-titre); font-stretch: 108%; font-weight: 500;
  font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.2; letter-spacing: -.01em;
}
.sommaire-desc { margin: .3rem 0 .85rem; font-size: .93rem; line-height: 1.5; color: rgba(246,244,239,.84); }
.sommaire-bas { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1.2rem; margin: 0; font-size: .9rem; }
.sommaire-prix { color: rgba(246,244,239,.8); }
.sommaire-prix strong { color: var(--dore-clair); font-weight: 600; font-size: 1.05rem; }
/* le petit lien des prix passe au-dessus du grand lien de la carte */
.sommaire-second {
  position: relative; z-index: 1; color: var(--blanc); text-decoration: underline;
  text-decoration-color: rgba(240,211,155,.6); text-underline-offset: .25em; padding: .35rem 0;
}
.sommaire-fleche {
  flex: none; align-self: center; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  border: 1px solid rgba(246,244,239,.35); color: var(--blanc); font-size: 1.1rem;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), background-color .35s ease, color .35s ease, border-color .35s ease;
}
@media (hover: hover) {
  .sommaire-offre:hover { transform: translateY(-4px); background: rgba(10,24,38,.84); border-color: rgba(217,164,65,.55); }
  .sommaire-offre:hover .sommaire-fleche { transform: translateX(4px); background: var(--dore); border-color: var(--dore); color: var(--lac-profond); }
  .sommaire-second:hover { text-decoration-color: var(--dore-clair); }
}
.sommaire-offre:active { transform: scale(.985); }
/* Téléphone : cartes compactes l'une sous l'autre (10.11.2026 : les repères des étapes sont passés sous l'en-tête,
   la marge à droite qui leur laissait la place n'est plus utile) */
@media (max-width: 47.99em) {
  .intro-film .sommaire { padding-bottom: 3.6rem; }
  .intro-film .sommaire::before { height: 95vh; } /* le titre est plus haut : le voile monte avec lui */
  .sommaire-titre { font-size: 1.35rem; margin-bottom: .9rem; gap: .7rem; }
  .sommaire-titre::before { width: 1.6rem; }
  .sommaire-offre { gap: .85rem; padding: 1rem 1rem .9rem; }
  .sommaire-icone { width: 2.4rem; height: 2.4rem; border-radius: .7rem; }
  .sommaire-icone .icone { width: 1.2rem; height: 1.2rem; }
  .sommaire-desc { font-size: .86rem; margin-bottom: .55rem; }
  .sommaire-fleche { display: none; }
}
/* Écran très étroit : sans le petit trait, le titre tient sur une ligne */
@media (max-width: 23.75em) { .sommaire-titre::before { display: none; } }
/* Téléphone peu haut : sans la petite description, les cartes restent compactes */
@media (max-width: 47.99em) and (max-height: 720px) { .intro-film .sommaire-desc { display: none; } .intro-film .sommaire-bas { margin-top: .35rem; } }
/* Arbre doré + Mont-Blanc au loin : le texte de cet arrêt en haut, pour laisser la montagne dégagée,
   mais jamais sous le menu (au moins 6,5rem du haut de l'écran) */
.intro-film .etape-3 .hero-phrase { top: clamp(6.5rem, 14vh, 10rem); }
/* Chaque phrase (et les 2 lignes du texte de l'arbre) sur son propre calque : leurs fondus et
   déplacements (opacity, transform) ne redessinent ni la vidéo ni les autres textes */
.intro-film .hero-phrase, .intro-film .phrase-arbre .arbre-sur, .intro-film .phrase-arbre .arbre-titre { will-change: transform, opacity; }
.hero.hors-ecran .hero-phrase, .hero.hors-ecran .phrase-arbre .arbre-sur, .hero.hors-ecran .phrase-arbre .arbre-titre { will-change: auto; }
.hero-scroll { text-shadow: 0 1px 10px rgba(14,34,51,.5); }

.hero-scroll {
  position: absolute; z-index: 7; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-size: .75rem; letter-spacing: .25em; text-transform: uppercase; text-decoration: none;
}
.hero-scroll-trait { width: 1px; height: 2.5rem; background: currentColor; animation: trait 2.2s ease-in-out infinite; transform-origin: top; }

/* Voile blanc cassé : fondu vers la section suivante */
.voile { position: absolute; inset: 0; z-index: 8; pointer-events: none; opacity: 0; background: var(--blanc); }

/* ---------- Animations CSS ---------- */
/* Titre : seulement opacité + zoom (pas d'espacement des lettres ni de flou animés, trop coûteux) */
@keyframes apparition { from { opacity: 0; transform: scale(1.12); } to { opacity: 1; transform: none; } }
@keyframes monte { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes scintille { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes trait { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* =========================================================
   Sections : couleurs qui passent de la brume au lac profond
   ========================================================= */
.section { padding: clamp(5rem, 14vw, 9rem) 0; }
.section-claire   { background: var(--blanc); }
.section-brume    { background: linear-gradient(180deg, var(--blanc), var(--brume)); }
/* Assombri plus tôt : le titre blanc reste lisible, et la fin rejoint le bleu nuit de la section suivante */
/* Le bleu arrive avant le titre : le texte blanc n'est jamais posé sur la partie claire du dégradé */
.section-lac      { background: linear-gradient(180deg, var(--brume) 0, #46647a 1.6rem, var(--lac) 3.5rem, var(--lac-profond) 100%); }
.section-profonde { background: var(--lac-profond); color: var(--blanc); }
.section-lac .titre-section, .section-lac .liste-atouts { color: var(--blanc); }
/* (18.11.2026, audit vente) les arguments de « Pourquoi nous », fusionnés dans « Qui sommes-nous » : 4 cartes */
.section-nous .liste-atouts { color: var(--blanc); }
.nous-atouts { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 48em) { .liste-atouts.nous-atouts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }
@media (min-width: 72em) { .liste-atouts.nous-atouts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.section-lac .surtitre { color: var(--dore-clair); }

.surtitre { font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gris); margin-bottom: 1rem; }
.section-profonde .surtitre { color: var(--dore); }
.titre-section { font-size: clamp(2.2rem, 7vw, 4.2rem); max-width: 18ch; }
.texte-intro { font-size: 1.1rem; max-width: 38rem; color: inherit; }

/* ---------- Cartes de services ---------- */
.grille-cartes { display: grid; gap: 1rem; margin-top: 3rem; }
.carte {
  padding: 2rem 1.6rem; border-radius: 1.2rem; background: #fff;
  border: 1px solid rgba(29,69,97,.08);
  transition: transform .4s ease;
  position: relative;
}
.carte h3 { font-size: 1.8rem; margin-bottom: .4rem; }
.carte p { color: var(--gris); margin: 0; }
.carte-numero { display: block; font-size: .8rem; letter-spacing: .2em; color: var(--dore-texte); margin-bottom: 1.5rem; }
@media (hover: hover) {
  .carte:hover { transform: translateY(-6px); }
  .carte::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    box-shadow: 0 25px 50px -25px rgba(14,34,51,.35); opacity: 0; transition: opacity .4s ease;
  }
  .carte:hover::after { opacity: 1; }
}
@media (min-width: 40em) { .grille-cartes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .grille-cartes { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Pourquoi nous ---------- */
.liste-atouts { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; gap: 1.5rem; }
.liste-atouts li { padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.35); }
.liste-atouts strong { display: block; font-family: var(--police-titre); font-weight: 400; font-size: 1.7rem; }
@media (min-width: 48em) { .liste-atouts { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }

/* ---------- Étapes ---------- */
.liste-etapes { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; gap: 2rem; }
.liste-etapes li { display: flex; gap: 1.4rem; align-items: flex-start; }
.liste-etapes span {
  flex: none; width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid var(--dore);
  display: grid; place-items: center; font-family: var(--police-titre); font-size: 1.4rem; color: var(--dore);
}
.liste-etapes h3 { font-size: 1.8rem; margin-bottom: .2rem; }
.liste-etapes p { opacity: .75; margin: 0; }
.liste-etapes span { transition: background-color .4s ease, color .4s ease; }
.liste-etapes li.active span { background: var(--dore); color: var(--lac-profond); }
/* (18.11.2026) Étapes de l'accueil sur fond CLAIR : elles sont juste avant la demande de devis (bleu nuit) et s'en
   détachent nettement. Fond décoré dans css/refonte.css. Contrastes mesurés sur le fond le plus foncé (brume + lueur
   dorée) : titre 12:1, texte 5,8:1, « Délais prudents… » 4,6:1, surtitre 4,8:1, chiffres dans leur rond blanc 5,4:1,
   chiffre de l'étape en cours 7,2:1. */
.section-etapes { background: linear-gradient(180deg, var(--brume), #eceff1); color: var(--encre); }
.section-etapes .surtitre { color: #7a5812; }
.section-etapes .titre-section, .section-etapes .liste-etapes h3 { color: var(--lac-profond); }
.section-etapes .liste-etapes p { opacity: 1; color: #47535c; }
.section-etapes .liste-etapes .etape-precision { color: var(--gris); }
.section-etapes .liste-etapes span { background: #fff; border-color: var(--dore-fonce); color: var(--dore-texte); }
.section-etapes .liste-etapes li.active span { background: var(--dore); border-color: var(--dore); color: var(--lac-profond); }

/* Ordinateur : titre à gauche, étapes à droite (un geste de scroll = une étape : js/etapes-projet.js) */
@media (min-width: 64em) {
  #etapes { padding: 5rem 0; min-height: 100vh; display: flex; align-items: center; }
  #etapes .conteneur { display: grid; grid-template-columns: 1fr 1.2fr; column-gap: 4rem; }
  #etapes .surtitre, #etapes .titre-section { grid-column: 1; }
  #etapes .surtitre { align-self: end; }
  #etapes .liste-etapes { grid-column: 2; grid-row: 1 / span 2; margin: 0; gap: 1.6rem; }
}

/* ---------- Contact ---------- */
#contact { padding-top: 0; }
.contact { display: grid; gap: 3rem; }
@media (min-width: 56em) { .contact { grid-template-columns: 1fr 1fr; align-items: start; } }
.lien-clair { color: var(--blanc); }

.formulaire {
  display: grid; gap: .5rem; padding: 2rem 1.5rem; border-radius: 1.2rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
}
.formulaire label { font-size: .9rem; margin-top: .6rem; }
.formulaire input, .formulaire textarea {
  width: 100%; padding: .8rem 1rem; border-radius: .6rem; font: inherit;
  color: var(--blanc); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25);
}
.formulaire button { margin-top: 1rem; justify-self: start; }
.formulaire-retour { margin: .5rem 0 0; color: var(--dore); }
.badge-demo {
  justify-self: start; margin: 0 0 .5rem; padding: .25rem .7rem; border-radius: 999px;
  font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(217,164,65,.2); color: var(--dore-texte);
}
/* Sur fond sombre (formulaire de contact), le badge garde le doré vif */
.section-profonde .badge-demo { color: var(--dore); }

/* ---------- Pied de page ---------- */
.pied { background: #08151f; color: rgba(246,244,239,.75); padding: 3rem 0; font-size: .9rem; }
.pied-contenu { display: grid; gap: 1.5rem; }
.pied ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
/* Pied de page court (récapitulatif, pages légales, 404) sur téléphone : des liens faciles à toucher
   (16.11.2026, audit : 16 px de haut avant ; ici dans style.css car ces pages ne chargent pas refonte.css) */
@media (max-width: 47.99em) {
  .pied-contenu > ul { gap: 0 1.5rem; }
  .pied-contenu > ul a { display: inline-block; padding: .7rem 0; }
}
.pied .logo { color: var(--blanc); }
.pied-copyright { margin: 0; opacity: .7; }

/* ---------- Pages légales ---------- */
.page-legale { padding: 8rem 0 5rem; background: linear-gradient(180deg, var(--brume), var(--blanc) 30rem); }
.texte-legal { max-width: 46rem; }
.texte-legal h1 { font-size: clamp(2.4rem, 8vw, 4rem); }
.texte-legal h2 { font-size: 1.8rem; margin-top: 2.5rem; }
.texte-legal ul { padding-left: 1.2rem; }
.texte-legal li { margin-bottom: .7rem; }
.texte-legal p, .texte-legal li { max-width: 60ch; } /* ~70 signes par ligne au plus (16.11.2026, audit : 89 avant) */
.texte-legal a { color: var(--lac); }
/* (18.11.2026) Pages légales : numéros classés par pays, chacun avec son bouton WhatsApp (version claire du bouton
   .bouton-whatsapp de css/demande.css, que ces pages ne chargent pas). Bouton bleu nuit sur blanc cassé : 14:1 ;
   au moins 2,25rem (36 px) de haut, comme sur l'accueil. */
.texte-legal .contact-pays { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .7rem; margin: .5rem 0; }
.texte-legal .bouton-whatsapp {
  display: inline-flex; align-items: center; min-height: 2.25rem; padding: .25rem .9rem; border-radius: 999px;
  font-size: .85rem; font-weight: 600; text-decoration: none; color: var(--lac-profond);
  border: 1px solid rgba(14,34,51,.4); transition: border-color .2s ease, color .2s ease;
}
.texte-legal .bouton-whatsapp:focus-visible { outline: 2px solid var(--dore-texte); outline-offset: 3px; }
@media (hover: hover) { .texte-legal .bouton-whatsapp:hover { border-color: var(--dore-texte); color: var(--dore-texte); } }
.mise-a-jour { margin-top: 3rem; font-size: .9rem; color: var(--gris); }

/* ---------- Curseur décoratif (ordinateur seulement, créé par main.js) ----------
   Le vrai curseur reste visible : ce cercle le suit simplement. */
.curseur {
  position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none;
  width: 2.2rem; height: 2.2rem; margin: -1.1rem 0 0 -1.1rem; border-radius: 50%;
  border: 1px solid var(--dore); opacity: 0;
  transition: width .3s ease, height .3s ease, margin .3s ease, background-color .3s ease, opacity .3s ease;
}
.curseur.visible { opacity: .9; }
.curseur.survol { width: 3.6rem; height: 3.6rem; margin: -1.8rem 0 0 -1.8rem; background: rgba(217,164,65,.15); }

/* ---------- Respect de « réduire les animations » ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =========================================================
   Performance
   ========================================================= */
/* Les petites animations en boucle s'arrêtent quand on ne les voit pas */
/* (classes posées sur la scène ou sur l'accueil seulement : jamais sur toute la page, ce qui forcerait
   le navigateur à recalculer le style de tous les éléments) */
.hero.hors-ecran .hero-scroll-trait { animation-play-state: paused; }
/* Téléphone : pas de flou derrière le menu (coûteux pendant le scroll), fond un peu plus opaque à la place */
@media (max-width: 47.99em) {
  .entete.entete-fond { backdrop-filter: none; background: rgba(246,244,239,.95); }
}
/* Pendant le film : quand l'image est claire, le texte du menu passe simplement en foncé.
   Pas de fond flouté (backdrop-filter) par-dessus l'animation : il faudrait re-flouter
   tout l'écran à chaque image. Le fond flouté revient une fois le film terminé. */
.entete.entete-sombre { color: var(--encre); }
.entete.entete-sombre .menu-cta { color: var(--lac); }
/* La bulle de l'assistant se fait discrète pendant l'intro (un seul message à la fois),
   et apparaît dès qu'on arrive sur le contenu du site */
.chat { transition: opacity .4s ease, transform .4s ease, visibility .4s; }
.chat.chat-discret { opacity: 0; visibility: hidden; transform: translateY(1rem); }
/* Téléphone (17.11.2026) : pendant le film des Services, la pastille laisse la place aux raccourcis du bas (js/services.js) */
.chat.chat-svc { opacity: 0; visibility: hidden; transform: translateY(1rem); }
/* =========================================================
   Boutons et menu : un seul style partout
   - .bouton-principal : doré plein, UN seul par écran
   - .bouton-secondaire : contour, pour les formulaires de démo
   - .lien-fleche : invitation douce (« Voir les tarifs → »)
   ========================================================= */
/* « Contact » se démarque dans le menu : petite pastille à contour (ordinateur) */
@media (min-width: 48em) {
  .menu .menu-cta {
    padding: .45rem 1.15rem; border: 1px solid currentColor; border-radius: 999px;
    transition: background-color .3s ease, color .3s ease, border-color .3s ease;
  }
  .menu .menu-cta::after { display: none; }
}
@media (min-width: 48em) and (hover: hover) {
  .menu .menu-cta:hover { background: var(--dore); border-color: var(--dore); color: var(--encre); }
}
/* Sur les photos de l'intro (16.11.2026, audit : doré sur le ciel = 3,3:1, illisible sur le ciel clair de l'arbre) :
   la pastille devient du verre sombre au contour doré, comme les cartes du sommaire */
@media (min-width: 48em) {
  .entete:not(.entete-fond):not(.entete-nuit):not(.entete-sombre) .menu .menu-cta { background: rgba(8,18,28,.62); text-shadow: none; }
}
@media (min-width: 48em) and (hover: hover) {
  .entete:not(.entete-fond):not(.entete-nuit):not(.entete-sombre) .menu .menu-cta:hover { background: var(--dore); color: var(--encre); }
}
.bouton-secondaire { background: transparent; }
.section-brume .bouton-secondaire, .demo-bloc .bouton-secondaire { color: var(--lac-profond); }
@media (hover: hover) { .demo-bloc .bouton-secondaire:hover { background: var(--lac-profond); color: var(--blanc); } }
/* ---------- Pourquoi nous : nos engagements en pastilles (17.11.2026 : l'ancien bandeau, fusionné ici) ---------- */
.garanties-liste { list-style: none; margin: 2.2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .7rem; }
.garanties-liste li {
  display: flex; align-items: center; gap: .55rem; padding: .5rem 1rem .5rem .55rem; border-radius: 999px;
  font-size: .92rem; color: var(--blanc); border: 1px solid rgba(246,244,239,.2); background: rgba(246,244,239,.07);
}
.garanties-liste li::before {
  content: "✓"; display: grid; place-items: center; width: 1.4rem; height: 1.4rem; flex: none;
  border-radius: 50%; font-size: .75rem; font-weight: 700; color: var(--lac-profond); background: var(--dore);
}
@media (max-width: 47.99em) { .garanties-liste { flex-direction: column; align-items: flex-start; } }
/* ---------- Le dépannage sur l'accueil (17.11.2026) : un seul bandeau sobre vers depannage.html ---------- */
.bandeau-depannage { background: var(--blanc); border-top: 1px solid rgba(14,34,51,.08); padding: 1.3rem 0; text-align: center; }
.bandeau-depannage-lien {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; padding: .4rem 0;
  font-weight: 500; color: var(--lac-profond); text-decoration: none; text-align: left;
}
.bandeau-depannage-lien .icone-mini { flex: none; width: 1.15rem; height: 1.15rem; color: var(--dore-texte); }
.bandeau-depannage-fleche { display: inline-block; color: var(--dore-texte); transition: transform .2s ease; } /* (dans le texte : elle suit la dernière ligne) */
.bandeau-depannage-lien:focus-visible { outline: 2px solid var(--dore); outline-offset: 4px; border-radius: .3rem; }
@media (hover: hover) {
  .bandeau-depannage-lien:hover > span { text-decoration: underline; text-underline-offset: .25em; }
  .bandeau-depannage-lien:hover .bandeau-depannage-fleche { transform: translateX(3px); }
}
@media (prefers-reduced-motion: reduce) { .bandeau-depannage-fleche { transition: none; } }
#services { padding-top: clamp(3.5rem, 9vw, 6rem); }

/* Cartes de services : le bénéfice en titre, le nom du service en petit au-dessus */
.carte h3 { font-size: clamp(1.45rem, 2vw, 1.7rem); }
.carte-numero { letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; font-weight: 600; }
/* Une seule invitation douce en fin de section */
.suite-section { margin: 2.5rem 0 0; }
/* ---------- D. Mots qui s'allument au scroll (« Pourquoi nous », accroche des Tarifs) ----------
   Sans JavaScript ou avec « réduire les animations » : texte normal, bien lisible, mots-clés dorés.
   Animé (classe .allumage-actif, js/transitions.js) : tout est gris, puis chaque mot s'allume. */
.phrase-allumee {
  max-width: 24ch; margin: 2.5rem 0 3.5rem;
  font-family: var(--police-titre); font-weight: 300; line-height: 1.2;
  font-size: clamp(1.9rem, 4.4vw, 3.4rem); line-height: 1.25; color: rgba(246,244,239,.88);
  --mot-eteint: rgba(246,244,239,.32); --mot-allume: var(--blanc);
}
.mot-cle { font-weight: 400; color: var(--dore); white-space: nowrap; }
.section-tarifs .texte-intro { --mot-eteint: rgba(27,38,48,.25); --mot-allume: var(--encre); }
/* Chaque mot existe en double : éteint (gris) et allumé (superposé) ; seule l'opacité
   du mot allumé change (très léger pour le navigateur) */
.allumage-actif { color: var(--mot-eteint); opacity: 1; }
.allumage-actif .mot-cle { color: inherit; }
.mot-d { position: relative; display: inline-block; }
/* Copies animées dessinées en CSS (27.10.2026) : leur texte vient de data-t. Il n'est ni copié au
   copier-coller, ni lu par les lecteurs d'écran (texte de remplacement vide « / "" »), ni indexé par Google :
   chaque titre n'existe qu'une fois dans la page. (1re ligne : navigateurs plus anciens) */
.t-gen::before { content: attr(data-t); content: attr(data-t) / ""; }
.mot-allume { position: absolute; left: 0; top: 0; color: var(--mot-allume); }
.mot-cle .mot-allume { color: var(--dore); text-shadow: 0 0 24px rgba(217,164,65,.35); }
/* (Les grands mots en contour qui glissaient en haut des Services, retirés le 16.10.2026 : leur code a été
   supprimé le 16.11.2026 ; il reste dans l'historique Git) */

/* =========================================================
   Partie « Dépannage informatique » (Jean-Pierre)
   ========================================================= */
/* ---------- Icônes (SVG style Lucide, voir le haut de index.html) ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icone, .icone-mini {
  flex: none; fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.icone { width: 2rem; height: 2rem; color: var(--lac); }
.icone-mini { width: 1rem; height: 1rem; }
.insecable { white-space: nowrap; }

/* ---------- Packs ---------- */
.pack {
  position: relative; display: flex; flex-direction: column; gap: .8rem;
  padding: 1.8rem 1.5rem; border-radius: 1.2rem; background: #fff;
  border: 1px solid rgba(29,69,97,.1);
  /* « translate » (et pas « transform ») pour ne pas gêner l'apparition au scroll */
  transition: translate .25s ease;
}
/* Ombre préparée à l'avance : seule son opacité change (jamais d'animation de box-shadow) */
@media (hover: hover) {
  .pack::after, .combo::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    box-shadow: 0 25px 50px -25px rgba(14,34,51,.35); opacity: 0; transition: opacity .25s ease;
  }
  .pack:hover, .combo:hover { translate: 0 -6px; }
  .pack:hover::after, .combo:hover::after { opacity: 1; }
}
.pack h3 { font-size: 1.8rem; margin: 0; }
.pack-phrase { color: var(--gris); margin: 0; }
.pack-inclus { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; font-size: .95rem; }
.pack-inclus li { padding-left: 1.5rem; position: relative; }
/* Petite coche dorée devant chaque élément inclus */
.pack-inclus li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: .9rem; height: .5rem;
  border-left: 2px solid var(--dore-fonce); border-bottom: 2px solid var(--dore-fonce);
  transform: rotate(-45deg) scale(.8); transform-origin: left top;
}
.pack-bas {
  margin-top: auto; padding-top: 1rem; border-top: 1px solid rgba(29,69,97,.1);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem;
}
.pack-temps { display: flex; align-items: center; gap: .4rem; margin: 0; font-size: .9rem; color: var(--gris); white-space: nowrap; }
.pack-prix { margin: 0; text-align: right; font-family: var(--police-titre); font-size: 2rem; font-weight: 500; line-height: 1; color: var(--lac-profond); }
.pack-prix small { display: block; margin-top: .35rem; font-family: var(--police-texte); font-size: .78rem; font-weight: 400; line-height: 1.35; color: var(--gris); }
/* Le pack mis en avant (bordure dorée, sans badge : pas de chiffre ni d'avis inventé) */
.pack-vedette { border: 2px solid var(--dore); box-shadow: 0 20px 45px -30px rgba(193,141,44,.8); }

/* Le diagnostic : en pleine largeur, la porte d'entrée */
.pack-diagnostic { margin-top: 3rem; border-style: dashed; border-color: rgba(29,69,97,.3); }
@media (min-width: 48em) {
  .pack-diagnostic { flex-direction: row; align-items: center; gap: 1.5rem; }
  .pack-diagnostic .pack-corps { flex: 1; }
  .pack-diagnostic .pack-bas { margin: 0; padding: 0 0 0 1.5rem; border-top: 0; border-left: 1px solid rgba(29,69,97,.1); align-items: center; gap: 1.5rem; }
}

.grille-packs { display: grid; gap: 1.6rem 1rem; margin-top: 1.8rem; }
@media (min-width: 40em) { .grille-packs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .grille-packs { grid-template-columns: repeat(3, 1fr); } }

/* Les combos */
.combos { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 48em) { .combos { grid-template-columns: repeat(2, 1fr); } }
.combo {
  position: relative; padding: 1.8rem 1.5rem; border-radius: 1.2rem; color: var(--blanc);
  background: linear-gradient(135deg, var(--lac) 0%, var(--lac-profond) 100%);
  transition: translate .25s ease;
}
.combo h3 { font-size: 1.9rem; margin-bottom: .3rem; }
.combo p { margin: 0; color: rgba(246,244,239,.85); }
.combo .combo-etiquette { margin-bottom: .6rem; font-size: .75rem; letter-spacing: .25em; text-transform: uppercase; color: var(--dore-clair); }
.combo .combo-prix { margin-top: 1.2rem; font-family: var(--police-titre); font-size: 2.2rem; font-weight: 500; color: var(--dore); }
.combo-prix s { margin-left: .5rem; font-family: var(--police-texte); font-size: 1rem; color: rgba(246,244,239,.6); }
.packs-note { margin: 2rem 0 0; max-width: 46rem; font-size: .9rem; color: var(--gris); }

/* ---------- Étapes du dépannage : titre à gauche, étapes à droite (sans section collante) ---------- */
@media (min-width: 64em) {
  #etapes-depannage .conteneur { display: grid; grid-template-columns: 1fr 1.2fr; column-gap: 4rem; }
  #etapes-depannage .surtitre, #etapes-depannage .titre-section { grid-column: 1; }
  #etapes-depannage .surtitre { align-self: end; }
  #etapes-depannage .liste-etapes { grid-column: 2; grid-row: 1 / span 2; margin: 0; gap: 1.6rem; }
}

/* ---------- Qui sommes-nous ---------- */
.section-nous { background: linear-gradient(180deg, var(--lac-profond), var(--lac)); color: var(--blanc); }
.section-nous .surtitre { color: var(--dore-clair); }
.nous { display: grid; gap: 2.5rem; align-items: center; }
/* (17.11.2026) 2 colonnes seulement quand la photo existe (classe posée par js/main.js) ; sinon, le texte seul */
@media (min-width: 56em) { .nous.avec-photo { grid-template-columns: .8fr 1.2fr; gap: 4rem; } }
.nous:not(.avec-photo) .nous-texte { max-width: 46rem; }
.nous-photo-cadre { margin: 0; }
/* Emplacement de la photo (à remplacer par une vraie photo) */
.nous-photo {
  width: 100%; max-width: 24rem; aspect-ratio: 4 / 5; border-radius: 1.2rem; object-fit: cover;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, rgba(217,164,65,.35), transparent 60%), rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  font-family: var(--police-titre); font-size: 3rem; color: rgba(246,244,239,.6);
}

/* Nos 2 photos (18.11.2026, prompt de Jean-Pierre) : texte à gauche, photos à droite côte à côte, la 2e un peu plus bas ;
   sur téléphone et tablette en portrait, les photos passent sous le texte (toujours côte à côte).
   Coins arrondis, fine bordure dorée, ombre légère ; aucune retouche (images/equipe/, 480 × 600). */
@media (min-width: 60em) { .nous.nous-equipe { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(3rem, 6vw, 6rem); } }
.nous-equipe .nous-texte { min-width: 0; }
/* 3 points de confiance : icône dorée dans une pastille */
.nous-confiance { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: .75rem; }
.nous-confiance li { display: flex; align-items: center; gap: .75rem; font-weight: 500; color: var(--blanc); }
.nous-confiance .icone-mini {
  flex: none; box-sizing: content-box; width: 1.1rem; height: 1.1rem; padding: .5rem; border-radius: 50%;
  color: var(--dore); background: rgba(217,164,65,.16);
}
.nous-action { margin: 2rem 0 0; }
.nous-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.9rem, 2.5vw, 1.6rem); align-items: start; min-width: 0; max-width: 34rem; }
.nous-portrait { margin: 0; min-width: 0; }
.nous-portrait-bas { margin-top: clamp(1.8rem, 6vw, 3.5rem); } /* la 2e photo un peu plus bas : effet décalé */
.nous-portrait picture { display: block; }
.nous-portrait img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 1.1rem; border: 1px solid var(--dore);
  box-shadow: 0 26px 50px -28px rgba(0,0,0,.7), 0 6px 16px -8px rgba(0,0,0,.35);
}
.nous-portrait figcaption { margin-top: .8rem; font-size: .86rem; line-height: 1.45; color: rgba(246,244,239,.82); }
.nous-portrait figcaption strong { color: var(--blanc); font-weight: 600; }
@media (max-width: 47.99em) { .nous-portrait img { box-shadow: 0 14px 28px -16px rgba(0,0,0,.6); } } /* ombre plus courte sur téléphone */

/* ---------- Entreprises ---------- */
.entreprises { display: grid; gap: 3rem; align-items: center; }
.entreprises .titre-section { font-size: clamp(2rem, 5vw, 3.2rem); max-width: 22ch; }
@media (min-width: 56em) { .entreprises { grid-template-columns: 1.1fr .9fr; gap: 4rem; } }
.offres { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .8rem; }
.offres li {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem;
  border-radius: 1rem; background: #fff; border: 1px solid rgba(29,69,97,.1);
}
.offres li div { flex: 1; }
.offres strong { display: block; font-weight: 600; }
.offres span { font-size: .9rem; color: var(--gris); }
.offre-prix { margin: 0; text-align: right; white-space: nowrap; font-family: var(--police-titre); font-size: 1.6rem; font-weight: 500; color: var(--lac-profond); }
.offre-prix small { font-family: var(--police-texte); font-size: .8rem; color: var(--gris); }
.entreprises-photo { margin: 0; border-radius: 1.2rem; overflow: hidden; }
.entreprises-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
/* Léger zoom de la photo au survol */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .entreprises-photo img { transition: scale 1.2s ease; }
  .entreprises-photo:hover img { scale: 1.03; }
}

/* ---------- Questions fréquentes (accordéon sans JavaScript) ---------- */
.faq { margin-top: 2.5rem; display: grid; gap: .8rem; max-width: 46rem; }
.faq-item { border-radius: 1rem; background: #fff; border: 1px solid rgba(29,69,97,.1); }
.faq-item summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 1.2rem 3.5rem 1.2rem 1.3rem; font-weight: 600; min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
/* Le « + » qui devient « − » à l'ouverture */
.faq-item summary::before, .faq-item summary::after {
  content: ""; position: absolute; right: 1.4rem; top: 50%; width: .9rem; height: 2px; margin-top: -1px;
  background: var(--dore-fonce); transition: transform .25s ease;
}
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0); }
.faq-item p { margin: 0; padding: 0 1.3rem 1.3rem; color: var(--gris); }
/* Une réponse avec une petite liste (17.11.2026 : « Combien ça coûte par an, au total ? ») */
.faq-item ul { margin: -.6rem 0 0; padding: 0 1.3rem 1.1rem 2.6rem; color: var(--gris); }
.faq-item li + li { margin-top: .2rem; }

/* Le contact vient maintenant après les questions (fond clair) : il retrouve son espace en haut */
#contact { padding-top: clamp(5rem, 14vw, 9rem); }

/* ---------- Pied de page : silhouette du Jet d'eau de Genève, très pâle ---------- */
.pied { position: relative; overflow: hidden; }
.jet-deau { position: absolute; right: 6%; bottom: 0; width: auto; height: 85%; fill: var(--blanc); opacity: .07; pointer-events: none; }
.pied-contenu { position: relative; }
/* =========================================================
   Tarifs des sites web (#tarifs) : texte officiel de l'annonce
   ========================================================= */
/* Transition douce depuis la section sombre des étapes, puis fond clair */
.section-tarifs {
  background: linear-gradient(180deg, var(--lac-profond) 0, #6d8798 5rem, var(--brume) 10rem, var(--blanc) 18rem);
  padding-top: clamp(9rem, 18vw, 12rem);
}
/* Avec le rideau (transitions.js), les Tarifs sont un panneau clair net qui monte par-dessus les Étapes */
.section-tarifs.rideau { background: var(--blanc); padding-top: clamp(5.5rem, 12vw, 8rem); }
.section-tarifs .titre-section { max-width: 20ch; }

/* Badge bien visible « Tarifs de lancement » */
.badge-lancement {
  display: inline-flex; align-items: center; gap: .65rem; margin: 1.6rem 0 0;
  padding: .65rem 1.25rem; border-radius: 999px;
  background: var(--lac-profond); color: var(--blanc); font-size: .92rem; font-weight: 600;
}
.badge-lancement::before {
  content: ""; width: .55rem; height: .55rem; border-radius: 50%; flex: none;
  background: var(--dore); box-shadow: 0 0 0 4px rgba(217,164,65,.3);
}

/* Choix de la monnaie « CHF | € » (17.11.2026, js/prix.js) : un petit encadré discret en haut des tarifs
   (index.html#tarifs, depannage.html#packs, toujours sur fond clair). 2 vrais boutons radio :
   flèches du clavier pour changer, nom lu par les lecteurs d'écran (« CHF (francs suisses) », « € (euros) »).
   Sans JavaScript : sélecteur caché, seule la phrase reste (prix en CHF). */
.monnaie-boite {
  display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1rem; width: fit-content; max-width: 100%;
  margin: 1.2rem 0 0; padding: .45rem 1rem .45rem .45rem; border-radius: 1.4rem;
  border: 1px solid rgba(29,69,97,.14); background: rgba(255,255,255,.75);
}
.monnaie-choix { display: inline-flex; gap: .2rem; margin: 0; padding: .2rem; border: 0; border-radius: 999px; background: rgba(29,69,97,.08); }
.monnaie-choix[hidden] { display: none; }
.monnaie-option { position: relative; display: block; margin: 0; cursor: pointer; }
.monnaie-option input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.monnaie-option > span {
  display: block; min-width: 3rem; padding: .45rem .85rem; border-radius: 999px; text-align: center;
  font-size: .9rem; font-weight: 600; line-height: 1.2; color: var(--lac);
  transition: background-color .2s ease, color .2s ease;
}
.monnaie-option input:checked + span { background: var(--lac-profond); color: var(--blanc); }
.monnaie-option input:focus-visible + span { outline: 2px solid var(--dore-texte); outline-offset: 2px; }
@media (hover: hover) { .monnaie-option:hover input:not(:checked) + span { background: rgba(29,69,97,.1); } }
.monnaie-texte { margin: 0; font-size: .88rem; line-height: 1.45; color: var(--gris); }
/* L'unité d'un prix (posée par js/prix.js) : exactement l'apparence du texte autour */
abbr.m-unite { text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .monnaie-option > span { transition: none; } }

/* Les 3 packs (16.11.2026) : l'un sous l'autre (téléphone, tablette en portrait : colonne centrée),
   côte à côte et de même hauteur dès 960 px (les boutons alignés en bas) */
.grille-tarifs { display: grid; gap: 1.6rem; margin-top: 2.8rem; align-items: stretch; }
@media (min-width: 40em) and (max-width: 59.99em) { .grille-tarifs { max-width: 36rem; margin-inline: auto; } }
@media (min-width: 60em) { .grille-tarifs { grid-template-columns: repeat(3, 1fr); gap: 1.3rem; } }
/* Les ancres sans JavaScript (#essentiel, #pro…) : l'étiquette de la carte ne passe pas sous le menu */
.grille-tarifs > .tarif, .tarif-sur-mesure { scroll-margin-top: 6.5rem; }
.tarif {
  position: relative; display: flex; flex-direction: column; gap: .55rem;
  padding: 2rem 1.5rem 1.5rem; border-radius: 1.2rem;
  background: #fff; border: 1px solid rgba(14,34,51,.1);
  transition: transform .4s ease;
}
.tarif h3 { font-size: 1.7rem; margin: 0; }
.tarif-prix { margin: 0; font-family: var(--police-titre); font-size: 1.25rem; color: var(--lac); font-variant-numeric: lining-nums; } /* chiffres droits : « 1 400 » et non « I 400 » */
.tarif-prix strong { font-size: 2.9rem; font-weight: 400; line-height: 1; color: var(--encre); }
.tarif-prix small { font-size: 1.05rem; }
/* Délai de mise en ligne, sous le prix (18.11.2026) : une petite ligne discrète */
.tarif-delai { margin: .4rem 0 0; font-size: .84rem; color: var(--gris); }
.tarif-sur-mesure .tarif-delai { color: rgba(246,244,239,.78); }
/* Étape « Création » : « Délais prudents, souvent plus rapides. » */
.etape-precision { margin: .35rem 0 0; font-size: .88rem; opacity: .85; }
.tarif .bouton { display: block; width: 100%; text-align: center; padding: .85rem .8rem; font-size: .93rem; white-space: nowrap; }
/* Le Pack Pro mis en avant : contour et reflet dorés, badge doré, seul bouton doré
   (16.11.2026 : plus surélevé, les 3 cartes restent alignées) */
.tarif-vedette { border: 2px solid var(--dore); background: linear-gradient(180deg, rgba(217,164,65,.13), #fff 45%); }
.tarif-badge {
  position: absolute; top: -.85rem; left: 1.5rem; margin: 0;
  padding: .32rem .85rem; border-radius: 999px; background: var(--dore); color: var(--encre);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
@media (hover: hover) {
  .tarif:hover { transform: translateY(-6px); }
}
/* Présentation des packs (13.11.2026) : étiquette, accroche, « Tout l'Essentiel, plus : », liste cochée, mention.
   Le bouton prend la place libre au-dessus de lui : les boutons des 4 cartes restent alignés en bas. */
.tarif-etiquette {
  position: absolute; top: -.85rem; left: 1.5rem; margin: 0;
  padding: .3rem .8rem; border-radius: 999px; background: #fff; border: 1px solid rgba(138,100,20,.45);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dore-texte);
}
.tarif-accroche { margin: .15rem 0 .1rem; font-size: .98rem; line-height: 1.5; color: var(--encre); }
.tarif-plus { margin: .4rem 0 0; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dore-texte); }
.tarif > .bouton { margin-top: auto; } /* le bouton toujours en bas de la carte */
.tarif-liste { list-style: none; margin: .15rem 0 .3rem; padding: 0; display: grid; align-content: start; gap: .45rem; font-size: .92rem; line-height: 1.45; color: var(--gris); }
.tarif-liste li { display: flex; align-items: flex-start; gap: .55rem; }
/* Petite précision sous une ligne (17.11.2026 : coût éventuel de l'outil de réservation du Pack Pro) */
/* (17.11.2026) Pack Pro : « Assistant du site inclus » en évidence (argument pour choisir le Pro plutôt que l'Essentiel) */
.tarif-liste .tarif-fort { color: var(--encre); }
.tarif-liste .tarif-fort strong { font-weight: 700; }
.tarifs-bloc .tarifs-maj { margin: .7rem 0 0; }
/* (17.11.2026) Maintenance : une seule formule, son prix bien visible */
.tarifs-bloc .tarifs-bloc-prix { margin: 0 0 .6rem; font-size: 1rem; color: var(--lac-profond); font-variant-numeric: lining-nums; }
.tarifs-bloc .tarifs-bloc-prix strong { font-size: 1.35rem; }
.tarif-liste .tarif-detail { display: block; margin-top: .15rem; font-size: .82rem; line-height: 1.4; color: var(--gris); }
.tarif-liste li::before {
  content: "✓"; flex: none; display: grid; place-items: center; width: 1.2rem; height: 1.2rem; margin-top: .08rem;
  border-radius: 50%; font-size: .66rem; font-weight: 700; color: var(--lac-profond); background: rgba(217,164,65,.32);
}
.tarif-mention { margin: 0 0 .4rem; font-size: .82rem; font-style: italic; color: var(--gris); }
/* Essentiel : pour qui (16.11.2026) */
.tarif-pour { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--gris); }

/* Maintenance : bloc discret (19.11.2026 : le bloc de l'Assistant du site est passé dans la FAQ) */
.tarifs-bloc { padding: 1.4rem 1.5rem; border-radius: 1rem; background: rgba(14,34,51,.04); border: 1px solid rgba(14,34,51,.07); }
.tarifs-bloc h3 { font-size: 1.45rem; margin-bottom: .6rem; }
.tarifs-bloc p { margin: 0 0 .7rem; font-size: .92rem; color: var(--gris); }
.tarifs-bloc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.tarifs-bloc li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding-bottom: .65rem; border-bottom: 1px dashed rgba(14,34,51,.16); font-size: .93rem;
}
.tarifs-bloc li:last-child { padding-bottom: 0; border-bottom: 0; }
.tarifs-bloc li strong { flex: none; white-space: nowrap; color: var(--lac-profond); }
.tarifs-bloc li small { color: var(--gris); }
.tarifs-bloc .tarifs-note { margin: .9rem 0 0; font-style: italic; }
/* Maintenance : le nom de domaine inclus, mis en avant (13.11.2026) par la typographie et un séparateur
   (pas d'encadré : une carte dans la carte alourdirait) */
.tarifs-bloc .tarifs-domaine {
  margin: 0 0 .65rem; padding: 0 0 .75rem; border-bottom: 1px dashed rgba(14,34,51,.16);
  font-size: .95rem; line-height: 1.5; color: var(--encre);
}
.tarifs-domaine strong { display: block; margin-bottom: .1rem; color: var(--dore-texte); }
/* Petite FAQ du site web, sous les conditions */
.tarifs-faq { margin-top: 2.6rem; }
.tarifs-faq h3 { font-size: 1.6rem; margin: 0; }
.tarifs-faq .faq { margin-top: 1.2rem; }

/* Inclus partout : petites icônes de validation */
.tarifs-inclus { margin-top: 2.6rem; }
.tarifs-inclus h3 { font-size: 1.6rem; margin-bottom: 1rem; }
.tarifs-inclus ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
@media (min-width: 48em) { .tarifs-inclus ul { grid-template-columns: repeat(2, 1fr); gap: .9rem 2rem; } }
.tarifs-inclus li { display: flex; align-items: flex-start; gap: .65rem; font-size: .98rem; }
.tarifs-inclus li::before {
  content: "✓"; display: grid; place-items: center; width: 1.45rem; height: 1.45rem; flex: none; margin-top: .05rem;
  border-radius: 50%; font-size: .75rem; font-weight: 700; color: var(--lac-profond); background: rgba(217,164,65,.38);
}

.tarifs-bloc li strong { font-variant-numeric: lining-nums; }
/* =========================================================
   Fin de l'intro : le crépuscule, de l'automne à la nuit (js/intro.js, js/crepuscule.js)
   ========================================================= */
/* Même bleu nuit que le haut des Services, avec quelques étoiles : aucune ligne visible entre les deux */
.automne-nuit {
  background-color: #050a14;
  background-image:
    radial-gradient(1px 1px at 14% 22%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 63% 12%, rgba(255,255,255,.55), transparent),
    radial-gradient(1.5px 1.5px at 82% 41%, rgba(255,255,255,.65), transparent),
    radial-gradient(1px 1px at 37% 67%, rgba(255,255,255,.45), transparent),
    radial-gradient(1px 1px at 91% 78%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 5% 58%, rgba(255,255,255,.4), transparent),
    radial-gradient(1.5px 1.5px at 48% 39%, rgba(255,255,255,.55), transparent),
    radial-gradient(1px 1px at 71% 93%, rgba(255,255,255,.45), transparent),
    radial-gradient(1px 1px at 26% 88%, rgba(255,255,255,.5), transparent);
  background-size: 1100px 820px;
}
/* Le crépuscule (js/intro.js + js/crepuscule.js) */
/* 1. L'heure dorée : un soleil bas en bas à gauche et une teinte chaude sur tout l'automne */
.automne-crepuscule {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 85% 65% at 15% 92%, rgba(255,156,64,.55), rgba(255,120,40,0) 70%),
    linear-gradient(180deg, rgba(110,62,104,.32), rgba(255,138,58,.26) 85%);
}
/* 2. La nuit qui descend du ciel : le haut est nuit noire, le bord passe par l'heure bleue.
   Deux fois plus haut que l'écran ; il glisse de tout en haut (-50 %) jusqu'à couvrir l'écran (+50 %). */
.nuit-rideau {
  position: absolute; left: 0; right: 0; top: -100%; height: 200%; pointer-events: none;
  transform: translateY(-50%);
  background: linear-gradient(180deg, #050a14 0%, #050a14 44%, rgba(12,22,48,.9) 52%, rgba(38,46,96,.55) 64%, rgba(70,56,110,.22) 78%, rgba(70,56,110,0) 100%);
}
/* 3. Les feuilles qui deviennent des étoiles, les étoiles filantes : canvas au-dessus des images */
.crepuscule { display: none; position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%; pointer-events: none; }
.intro-film .crepuscule { display: block; }
.anime .automne-crepuscule { will-change: opacity; }
.anime .nuit-rideau { will-change: transform; }
.hero.hors-ecran .automne-crepuscule, .hero.hors-ecran .nuit-rideau { will-change: auto; }

/* =========================================================
   Services (#services) : la nuit étoilée (film : js/services.js)
   Par défaut (sans JavaScript, « réduire les animations ») : fond sombre fixe,
   fenêtre de navigateur droite, cartes en grille, tout le texte visible.
   ========================================================= */
#services.svc {
  --nuit: #050a14; --nuit-2: #0b1426;
  --texte-nuit: #f6f4ef; --texte-nuit-doux: #b9c3cd; /* contraste d'environ 10:1 sur le fond */
  position: relative; padding-bottom: 0; color: var(--texte-nuit);
  background: linear-gradient(180deg, var(--nuit) 0%, var(--nuit-2) 100%);
}
.svc .surtitre { color: var(--dore); }
.svc .titre-section { color: var(--texte-nuit); }

.svc-scene { position: relative; padding: 1rem 0 4rem; }
/* Ciel fixe : quelques étoiles dessinées en dégradés (aucun JavaScript) */
.svc-ciel {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 47% 9%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.5px 1.5px at 78% 27%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 31% 54%, rgba(255,255,255,.45), transparent),
    radial-gradient(1px 1px at 66% 71%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.5px 1.5px at 89% 88%, rgba(255,255,255,.55), transparent);
  background-size: 520px 380px;
}
/* Grille très fine (côté « tech »), qui s'efface vers les bords */
.svc-ciel::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 55%, #000 30%, transparent 100%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 55%, #000 30%, transparent 100%);
}
/* Lueur douce au centre, derrière la fenêtre */
.svc-lueur {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 42% at 50% 58%, rgba(84,128,204,.24), rgba(84,128,204,0) 70%),
              radial-gradient(ellipse 28% 22% at 50% 62%, rgba(217,164,65,.12), rgba(217,164,65,0) 70%);
}
.svc-contenu { position: relative; z-index: 1; }

/* ---------- Fenêtre de navigateur (dessinée en CSS) ---------- */
.svc-navigateur { position: relative; margin-top: 2.5rem; padding: 3.2rem 1rem 1rem; }
.nav-cadre {
  position: absolute; inset: 0; border-radius: 1rem;
  background: linear-gradient(180deg, rgba(22,34,58,.8), rgba(9,16,31,.8));
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 40px 120px -40px rgba(84,128,204,.45);
}
.nav-barre {
  display: flex; align-items: center; gap: 1rem; height: 2.4rem; padding: 0 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08); font-size: .75rem; color: var(--texte-nuit-doux);
}
.nav-points { display: flex; gap: .4rem; }
.nav-points span { width: .62rem; height: .62rem; border-radius: 50%; background: #d9705e; }
.nav-points span:nth-child(2) { background: #d9a441; }
.nav-points span:nth-child(3) { background: #5aa86f; }
.nav-onglet { align-self: flex-end; padding: .35rem 1rem; border-radius: .5rem .5rem 0 0; background: rgba(255,255,255,.07); }
.nav-adresse {
  display: flex; align-items: center; justify-content: center; gap: .4rem; flex: 0 1 22rem; margin: 0 auto;
  padding: .25rem .9rem; border-radius: 1rem; background: rgba(255,255,255,.07);
}
.nav-adresse .icone-mini { width: .8rem; height: .8rem; }
.nav-tuiles { display: none; }

/* ---------- Cartes : verre sombre avec un liseré lumineux ---------- */
.svc .svc-carte {
  color: var(--texte-nuit);
  background: linear-gradient(160deg, rgba(36,52,82,.88), rgba(13,21,39,.88));
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}
.svc .carte-numero { color: var(--dore); }
.svc-details { display: grid; gap: 1rem; margin-top: 1.4rem; }
.svc .svc-change { margin: 0; font-size: .98rem; line-height: 1.5; color: var(--texte-nuit); }
.svc-change-titre {
  display: block; margin-bottom: .3rem; font-size: .7rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--dore);
}
.svc-points { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.svc-points li { display: flex; gap: .6rem; align-items: flex-start; font-size: .93rem; line-height: 1.45; color: var(--texte-nuit-doux); }
/* Ce qui est inclus où (17.11.2026) : petite étiquette en haut du détail de chaque carte */
.svc .svc-inclus {
  justify-self: start; width: fit-content; margin: 0; padding: .22rem .7rem; border-radius: 999px;
  border: 1px solid rgba(217,164,65,.55); font-size: .8125rem; font-weight: 600; line-height: 1.4; color: var(--dore-clair);
}
.svc-points .icone-mini { width: 1.1rem; height: 1.1rem; margin-top: .15rem; color: var(--dore); }
.svc-pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; }
.svc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.8rem; }
.svc .lien-fleche { color: var(--texte-nuit); }
.svc-compteur { display: none; }
/* Lien d'action de chaque carte (17.11.2026) : discret, texte doré avec flèche ; vrai lien (ou bouton pour
   l'assistant), atteint au clavier quand sa carte est à l'écran. Sur ordinateur, les panneaux du film laissent
   passer les clics (pointer-events: none) : seul le lien les reçoit. */
.svc-action { margin: .2rem 0 0; }
.svc-lien {
  display: inline-block; padding: .35rem 0; margin: 0;
  font: inherit; font-size: .9rem; font-weight: 600; line-height: 1.45; color: var(--dore); text-decoration: none;
  background: none; border: 0; cursor: pointer; text-align: left;
}
.svc-lien[hidden] { display: none; }
/* la flèche reste collée au texte, même quand il passe sur 2 lignes */
.svc-lien span { display: inline-block; margin-left: .4rem; transition: transform .25s ease; }
.svc-lien:focus-visible { outline: 2px solid var(--dore); outline-offset: 3px; border-radius: .2rem; }
@media (hover: hover) {
  .svc-lien:hover { text-decoration: underline; text-underline-offset: .25em; }
  .svc-lien:hover span { transform: translateX(3px); }
}
@media (prefers-reduced-motion: reduce) { .svc-lien span { transition: none; } }
.svc-panneaux .svc-action { pointer-events: auto; }
/* Raccord doux de la nuit vers les tarifs (leur panneau clair monte par-dessus : .rideau) */
.svc-aube { height: 12vh; background: linear-gradient(180deg, var(--nuit-2), #0b1824); }

/* ---------- Petits visuels dessinés en code (décoratifs) ---------- */
.svc-visuel {
  position: relative; height: 8.5rem; border-radius: .9rem; overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.08); color: var(--encre); font-size: .72rem; line-height: 1.3;
}
.v-trait { display: block; height: .38rem; border-radius: 1rem; background: rgba(29,69,97,.16); }
.v-court { width: 60%; }
/* 01 : téléphone */
.v-tel { display: grid; place-items: end center; }
.v-tel-cadre {
  width: 5.6rem; height: 7.4rem; padding: .45rem .4rem 0; display: grid; gap: .3rem; align-content: start;
  border: 2px solid #c9d2db; border-bottom: 0; border-radius: .9rem .9rem 0 0; background: #fff;
}
.v-tel-barre { justify-self: center; width: 1.6rem; height: .25rem; border-radius: 1rem; background: var(--lac-profond); opacity: .5; }
.v-tel-photo { height: 1.8rem; border-radius: .35rem; background: linear-gradient(135deg, #7f97aa, var(--lac)); }
.v-tel-plan { height: 1.1rem; border-radius: .3rem; background: repeating-linear-gradient(45deg, #dfe8d8 0 6px, #eef3ea 6px 12px); }
.v-tel-bouton { justify-self: start; padding: .15rem .5rem; border-radius: 1rem; background: var(--dore); font-size: .6rem; font-weight: 600; }
/* 02 : résultat Google */
.v-google { display: grid; align-content: center; gap: .5rem; padding: 0 1rem; }
.v-recherche {
  display: flex; align-items: center; gap: .4rem; padding: .35rem .7rem; border-radius: 1rem;
  background: #fff; color: var(--gris);
}
.v-resultat { display: grid; gap: .3rem; padding: .55rem .7rem; border-radius: .6rem; background: #fff; }
.v-resultat small { color: #3b7a4a; }
.v-resultat strong { font-size: .85rem; font-weight: 600; color: #1a4fa0; }
.v-actions { display: flex; gap: .35rem; flex-wrap: wrap; }
.v-actions span { padding: .15rem .5rem; border-radius: 1rem; border: 1px solid rgba(29,69,97,.25); font-size: .62rem; }
.v-actions span:first-child { background: var(--dore); border-color: var(--dore); }
/* 03 : bulle de chat */
.v-chat { display: grid; align-content: center; gap: .4rem; padding: 0 1rem; }
.v-msg { max-width: 80%; padding: .4rem .65rem; border-radius: .8rem; }
.v-msg-visiteur { justify-self: end; background: #2f6c96; color: var(--blanc); border-bottom-right-radius: .2rem; }
.v-msg-assistant { justify-self: start; background: #fff; border-bottom-left-radius: .2rem; }
.v-heure { color: var(--texte-nuit-doux); font-size: .62rem; }
/* 04 : une demande complète (qui, quoi, comment rappeler) */
.v-devis { display: grid; align-content: center; gap: .45rem; padding: 0 1rem; }
.v-devis-ligne { display: flex; align-items: center; gap: .6rem; padding: .45rem .6rem; border-radius: .5rem; background: #fff; }
.v-devis-ligne .v-trait { flex: 1; }
.v-tag { font-style: normal; font-size: .6rem; font-weight: 600; padding: .1rem .45rem; border-radius: 1rem; white-space: nowrap; }
.v-tag-nouveau { background: rgba(217,164,65,.3); }
.v-tag-rappel { background: rgba(29,69,97,.15); }
.v-tag-envoye { background: rgba(59,122,74,.18); color: #2d5e39; }
/* 05 : site à jour */
.v-maj { display: flex; align-items: center; justify-content: center; gap: .8rem; }
.v-coche {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: #3b7a4a; color: #fff; font-size: 1.3rem; font-weight: 700;
}
.v-maj-texte { display: grid; gap: .1rem; color: var(--texte-nuit); }
.v-maj-texte strong { font-size: .95rem; }
.v-maj-texte small { color: var(--texte-nuit-doux); }

/* ---------- En-tête au-dessus de la nuit (classe posée par js/services.js) ---------- */
/* Pas de flou derrière le menu (coûteux par-dessus une animation) : fond sombre semi-opaque */
.entete.entete-nuit { background: rgba(5,10,20,.6); backdrop-filter: none; color: var(--blanc); }
.entete.entete-nuit .menu-cta { color: var(--dore); }

/* ---------- Version animée (classes posées par js/services.js) ---------- */
.svc-anime .svc-scene {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; align-items: center; padding: 0;
}
/* Étoiles qui scintillent (2 calques dessinés une seule fois, seule leur opacité change) */
.svc-etoiles { position: absolute; left: 0; top: 0; width: 100%; height: 112%; pointer-events: none; }
.svc-anime .svc-carte { transition: none; }
.svc-anime .svc-compteur {
  display: flex; align-items: center; gap: .2rem; margin: 0;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; color: var(--texte-nuit);
  font-variant-numeric: tabular-nums;
}
.svc-barre { position: relative; width: 4.5rem; height: 2px; margin-left: .9rem; background: rgba(255,255,255,.15); overflow: hidden; }
.svc-barre span { position: absolute; inset: 0; background: var(--dore); transform-origin: left; transform: scaleX(0); }
.svc-mot-anim { display: inline-block; }

/* Ordinateur : fenêtre inclinée en 3D, cartes en profondeur, points forts à côté */
.svc-ordi .svc-scene { padding-top: 4.2rem; }
.svc-ordi .svc-titre { max-width: none; margin-bottom: 0; font-size: clamp(2.6rem, 4.4vw, 4.2rem); perspective: 700px; }
.svc-mot { display: inline-block; white-space: nowrap; transform-style: preserve-3d; }
.svc-lettre { display: inline-block; position: relative; }
/* Copie floue de chaque lettre (fixe) : elle s'efface pendant que la lettre nette apparaît */
.l-flou { position: absolute; left: 0; top: 0; color: transparent; text-shadow: 0 0 14px rgba(246,244,239,.9); }
.svc-ordi .svc-plateau { perspective: 1400px; perspective-origin: 50% 40%; }
.svc-ordi .svc-navigateur { transform-style: preserve-3d; transform-origin: 50% 75%; margin-top: 1.6rem; }
/* Le cadre est très légèrement derrière les cartes (sinon, dans le même plan 3D, l'image peut scintiller) */
.svc-ordi .nav-cadre { transform: translateZ(-2px); }
.svc-ordi .svc-grille { position: relative; margin: 0; transform-style: preserve-3d; grid-template-columns: repeat(6, 1fr); }
.svc-ordi .svc-carte { grid-column: span 2; padding: 1.3rem; }
.svc-ordi .svc-carte:nth-child(n+4) { grid-column: span 3; }
.svc-ordi .svc-carte .carte-numero { margin-bottom: .8rem; }
.svc-ordi .svc-carte h3 { margin: 0; font-size: clamp(1.25rem, 1.5vw, 1.5rem); }
.svc-ordi .svc-pied { position: relative; justify-content: center; margin-top: 1.6rem; min-height: 3.2rem; }
.svc-ordi .svc-compteur { position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
/* Raccourcis du film (17.11.2026) : « Voir les tarifs » et « Parlons de votre projet », visibles pendant tout le film
   (sans animation : sous la grille des cartes) ; « Passer l'animation ↓ » à droite (ordinateur) ou en haut (téléphone) */
.svc-raccourcis { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem 1.3rem; }
.svc .svc-raccourci { color: var(--texte-nuit); font-size: .95rem; }
.svc .svc-raccourci-bouton { margin-top: 0; padding: .55rem 1.15rem; font-size: .92rem; }
/* « Passer l'animation » : sur la ligne de « Nos services », à droite (loin de la pastille de l'assistant) ;
   zone de clic agrandie pour le doigt (::after), sans changer la mise en page */
/* (.svc-contenu est déjà positionné ; sur ordinateur, « Nos services » s'efface pendant les cartes, le lien reste) */
.svc-anime .svc-passer { position: absolute; z-index: 3; top: 0; right: var(--marge); min-height: 0; line-height: 1.55; }
.svc-anime .svc-passer::after { content: ""; position: absolute; inset: -.75rem -.5rem; }
@media (max-width: 47.99em) { .svc-anime .svc-passer { text-transform: none; letter-spacing: .02em; } }
@media (max-width: 47.99em) {
  .svc-tel .svc-compteur { display: none; } /* (décoratif) la place va aux raccourcis */
  .svc-tel .svc-pied { justify-content: center; }
  .svc .svc-raccourcis { gap: .5rem .9rem; }
  .svc .svc-raccourci { font-size: .875rem; }
  .svc .svc-raccourci-bouton { padding: .5rem .9rem; font-size: .875rem; }
}
/* « Passer l'animation ↓ » (17.11.2026) : discret, seulement quand l'animation tourne (Services, étapes) */
.passer-anim {
  display: none; align-items: center; gap: .35rem; min-height: 2.75rem;
  font-size: .8125rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  color: var(--texte-nuit-doux);
}
.svc-anime .svc-passer, .etapes-pas .etapes-passer { display: inline-flex; }
.passer-anim:focus-visible { outline: 2px solid var(--dore); outline-offset: 3px; border-radius: .3rem; }
@media (hover: hover) { .passer-anim:hover { color: var(--texte-nuit); text-decoration: underline; text-underline-offset: .25em; } }
/* Étapes : en bas à gauche de la section (hors du flux : la hauteur de la section ne change pas), aligné sur le texte */
#etapes { position: relative; }
.etapes-passer {
  position: absolute; bottom: 1rem; left: max(var(--marge), calc((100% - var(--largeur-max)) / 2 + var(--marge)));
  color: #47535c; /* (18.11.2026) fond clair des étapes : 5,8:1 (avant : blanc cassé sur bleu nuit) */
}
@media (hover: hover) { .etapes-passer:hover { color: var(--lac-profond); } }
/* Les points forts de la carte au premier plan, à droite (déplacés ici par js/services.js) */
.svc-panneaux {
  position: absolute; z-index: 2; left: 54%; top: 53%; width: min(30rem, 38vw);
  transform: translateY(-50%); display: grid; pointer-events: none;
}
.svc-panneaux .svc-details {
  grid-area: 1 / 1; align-self: center; margin: 0; opacity: 0; padding: 1.5rem 1.6rem; border-radius: 1.2rem;
  background: linear-gradient(160deg, rgba(30,44,72,.94), rgba(12,20,38,.94));
  border: 1px solid rgba(255,255,255,.13); box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.svc-panneaux .svc-visuel { height: 8rem; }
/* Ordinateur peu haut (≤ 820 px, ex. 1024 × 768) : le panneau de la carte 03 (le plus long) ne doit pas toucher les raccourcis du bas */
@media (max-height: 820px) {
  .svc-panneaux .svc-visuel { height: 6.2rem; }
  .svc-panneaux .svc-details { padding: 1.25rem 1.4rem; gap: .8rem; }
  /* (17.11.2026) carte 03 (Assistant du site, nouveaux textes) : la conversation illustrée un peu plus serrée,
     sinon son lien touchait « Parlons de votre projet » en 1024 × 768 */
  .svc-panneaux .svc-visuel.v-chat { height: 5rem; gap: .3rem; }
  .svc-panneaux .v-chat .v-msg { padding: .3rem .6rem; }
  .svc-panneaux .v-chat .v-heure { display: none; }
}

/* Téléphone et tablette : une fenêtre simple (5 tuiles), puis une carte à la fois */
.svc-tel .svc-scene { align-items: flex-start; padding-top: 4.6rem; }
.svc-tel .svc-surtitre { margin-bottom: .5rem; }
.svc-tel .svc-titre { font-size: clamp(1.8rem, 6.4vw, 2.6rem); margin-bottom: 0; }
.svc-tel .svc-navigateur { max-width: 36rem; margin-top: 1rem; padding: 2.9rem .7rem .7rem; }
.svc-tel .nav-onglet { display: none; }
.svc-tel .nav-tuiles {
  display: grid; align-content: start; gap: .5rem; position: absolute; inset: 3.1rem .8rem .8rem;
  margin: 0; padding: 0; list-style: none;
}
.nav-tuiles li {
  display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; border-radius: .7rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); font-size: 1rem;
}
.nav-tuiles span { font-size: .75rem; font-weight: 600; letter-spacing: .12em; color: var(--dore); }
.svc-tel .svc-grille { grid-template-columns: 1fr; margin: 0; }
.svc-tel .svc-carte { grid-area: 1 / 1; padding: 1.1rem 1.1rem 1rem; }
.svc-tel .svc-carte .carte-numero { margin-bottom: .5rem; }
.svc-tel .svc-carte h3 { font-size: 1.3rem; margin: 0; }
.svc-tel .svc-details { margin-top: .8rem; gap: .65rem; }
.svc-tel .svc-visuel { height: 6.2rem; }
.svc-tel .v-recherche { display: none; }
.svc-tel .svc-change { font-size: .9rem; }
.svc-tel .svc-points { gap: .35rem; }
.svc-tel .svc-points li { font-size: .86rem; }
.svc-tel .svc-pied { max-width: 36rem; margin-top: .9rem; }
.svc-tel .svc-navigateur > .svc-actions {
  position: absolute; z-index: 1; left: 1.4rem; right: 1.4rem; bottom: 1.4rem;
  flex-direction: column; align-items: flex-start; gap: .9rem;
}
@media (max-height: 820px) { .svc-tel .svc-visuel { display: none; } }
/* Téléphone (17.11.2026) : les cartes remontent dans la barre de la « fenêtre » (effacée pendant les cartes) et l'illustration
   est un peu plus basse : toutes les cartes ont la hauteur de la plus longue (la 03, celle de l'Assistant du site) ;
   les raccourcis « Voir les tarifs » / « Parlons de votre projet » restent ainsi à l'écran */
@media (max-width: 47.99em) {
  .svc-tel .svc-grille { margin-top: -2.4rem; }
  .svc-tel .svc-visuel { height: 5.2rem; }
  /* (les illustrations des cartes 03 et 04 tiennent entières dans cette hauteur) */
  .svc-tel .v-chat { gap: .3rem; }
  .svc-tel .v-msg { max-width: 90%; padding: .3rem .6rem; }
  .svc-tel .v-heure { display: none; }
  .svc-tel .v-devis { gap: .3rem; }
  .svc-tel .v-devis-ligne { padding: .3rem .55rem; }
}
/* Très petits téléphones (≤ 660 px de haut, ex. 360 × 640) : sans le petit intertitre « Ce que ça change pour vous »
   (le texte reste) et avec une marge plus courte au-dessus des raccourcis */
@media (max-width: 47.99em) and (max-height: 660px) {
  .svc-tel .svc-change-titre { display: none; }
  .svc-tel .svc-pied { margin-top: .5rem; }
}
/* Téléphones peu hauts (≤ 700 px, ex. 360 × 640) : textes et marges un peu plus serrés, pour que la carte entière,
   lien d'action compris, tienne dans l'écran (17.11.2026 ; tout reste à 13 px ou plus) */
@media (max-height: 700px) {
  .svc-tel .svc-scene { padding-top: 4.2rem; }
  .svc-tel .svc-titre { font-size: 1.55rem; }
  .svc-tel .svc-carte { padding: .85rem .95rem .75rem; }
  .svc-tel .svc-carte .carte-numero { margin-bottom: .35rem; }
  .svc-tel .svc-carte h3 { font-size: 1.12rem; }
  .svc-tel .svc-details { margin-top: .55rem; gap: .45rem; }
  .svc-tel .svc-change { font-size: .84rem; line-height: 1.45; }
  .svc-tel .svc-points { gap: .25rem; }
  .svc-tel .svc-points li { font-size: .82rem; line-height: 1.38; }
  .svc-tel .svc-lien { font-size: .84rem; padding: .15rem 0; }
  .svc .svc-inclus { padding: .12rem .6rem; }
}

/* =========================================================
   Transitions « film » (js/transitions.js)
   ========================================================= */
/* C. Rideau : la section monte par-dessus la précédente, comme un panneau
   (coins arrondis en haut, petite ombre fixe ; le mouvement est dans transitions.js) */
.rideau {
  position: relative; z-index: 2; margin-top: -1.75rem;
  border-radius: 1.75rem 1.75rem 0 0; box-shadow: 0 -30px 60px -34px rgba(5,10,20,.6);
}
@media (max-width: 47.99em) { .rideau { margin-top: -1.1rem; border-radius: 1.1rem 1.1rem 0 0; } }

/* =========================================================
   Finitions (passe « polish » guidée par Impeccable et UI UX Pro Max)
   ========================================================= */
/* Titres clairs sur fond sombre : Cormorant en 300 y paraît trop fin, un cran plus épais */
.section-profonde .titre-section, .section-lac .titre-section, .section-nous .titre-section,
.svc .titre-section { font-weight: 400; }
/* Textes clairs sur fond sombre : un peu plus d'air entre les lignes */
.section-profonde p:not(.phrase-allumee), .section-lac p:not(.phrase-allumee), .section-nous p { line-height: 1.7; }
/* Petites icônes dessinées dans les maquettes (à la place des emojis) */
.mini-icone { display: inline-block; width: .95em; height: .95em; vertical-align: -.12em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Formulaires : champ piège anti-robots (invisible, seul un robot le remplit) */
.champ-piege { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Page 404 (404.html) : même style que les pages légales, contenu centré verticalement */
.page-introuvable { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.introuvable-phrase { font-size: 1.15rem; color: var(--gris); max-width: 32rem; }
.introuvable-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 2rem; }
.texte-legal .introuvable-actions .bouton { color: var(--encre); }
