/* Volets Roulants Nice Riviera - volets-roulants-nice.fr
   Direction : technique et didactique. Graphite et ocre nicois, jamais le bleu
   azur attendu sur la Cote. Le site apprend a choisir avant de chiffrer, donc
   la mise en page privilegie les tableaux de comparaison, les coupes dessinees
   et les paliers numerotes plutot que la grande photo d'ambiance.
   Les deux autres sites de volets du programme ne doivent rien partager avec
   cette feuille : ni palette, ni police, ni rythme. */

/* ------------------------------------------------------------------ polices */
/* Fontes VARIABLES : un seul fichier par famille couvre tout l'axe de graisse.
   Les declarer en deux poids distincts faisait telecharger deux fois le meme
   fichier et rendait les graisses inoperantes. */
@font-face {
  font-family: "Archivo";
  src: url("/polices/archivo.woff2") format("woff2-variations"),
       url("/polices/archivo.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/polices/sourcesans3.woff2") format("woff2-variations"),
       url("/polices/sourcesans3.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------------- jetons */
:root {
  --encre: #171b21;
  --graphite: #2a313b;
  --graphite-clair: #4d5663;
  --papier: #f8f7f4;
  --papier-creux: #efede7;
  --blanc: #ffffff;
  --ocre: #c0552a;
  --ocre-sombre: #9c4120;
  --ocre-voile: #fbf0e9;
  --trait: #dcd8d0;
  --trait-fort: #c3bcb0;
  --vert: #2f6b46;
  /* teintes relevees dans le logo pose le 2026-11-01 : le bandeau
     blanc les emprunte, le corps du site garde graphite et ocre. */
  --marine: #01284D;
  --or: #FBB001;

  --titre: "Archivo", "Segoe UI", system-ui, sans-serif;
  --texte: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

  --gouttiere: 1rem;
  --largeur: 72rem;
  --rayon: 3px;
  --ombre: 0 1px 2px rgba(23, 27, 33, .06), 0 8px 24px -12px rgba(23, 27, 33, .18);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--titre);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 1.35rem + 2.9vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 1.18rem + 1.45vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 1.02rem + .48vw, 1.375rem); }

p, li { text-wrap: pretty; }
p { margin: 0 0 1.1em; }

a { color: var(--ocre-sombre); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--encre); }

img, svg, video { max-width: 100%; height: auto; }

strong { font-weight: 600; }

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

.hors-ecran {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.saut-contenu {
  position: absolute;
  left: 50%; transform: translate(-50%, -120%);
  z-index: 100;
  background: var(--encre); color: var(--blanc);
  padding: .7rem 1.2rem;
  transition: transform .18s;
}
.saut-contenu:focus { transform: translate(-50%, 0); color: var(--blanc); }

.enveloppe {
  width: 100%;
  max-width: var(--largeur);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

/* ------------------------------------------------------------------ bandeau */
.barre {
  position: sticky; top: 0; z-index: 40;
  background: var(--blanc);
  color: var(--marine);
  border-bottom: 1px solid var(--trait);
}
.barre__interieur {
  display: flex; align-items: center; gap: 1rem;
  min-height: 3.75rem;
}
.marque {
  font-family: var(--titre); font-weight: 700;
  font-size: 1.0625rem; letter-spacing: .01em;
  color: var(--marine); text-decoration: none;
  display: flex; align-items: center; gap: .55rem;
  margin-right: auto;
}
.marque:hover { color: var(--marine); }
.marque__sigle {
  display: grid; place-items: center;
  width: 1.9rem; height: 1.9rem;
  background: var(--ocre); color: var(--blanc);
  font-size: .8125rem; letter-spacing: 0;
  flex: 0 0 auto;
}
.marque__lieu {
  display: block;
  font-family: var(--texte); font-weight: 400;
  font-size: .75rem; letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(1, 40, 77, .64);
  margin-top: 1px;
}

.navigation { display: none; }
.navigation ul { display: flex; gap: 1.35rem; list-style: none; margin: 0; padding: 0; }
.navigation a {
  color: rgba(1, 40, 77, .88); text-decoration: none;
  font-size: .9375rem; padding: .35rem 0;
  border-bottom: 2px solid transparent;
}
.navigation a:hover,
.navigation a[aria-current="page"] { color: var(--marine); border-bottom-color: var(--or); }

@media (min-width: 62rem) {
  .navigation { display: block; }
  .menu-pliant { display: none; }
}

.menu-pliant { margin-left: auto; }
.menu-pliant summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: .5rem;
  padding: .45rem .8rem;
  border: 1px solid rgba(1, 40, 77, .3);
  font-size: .9375rem;
}
.menu-pliant summary::-webkit-details-marker { display: none; }
.menu-pliant[open] summary { background: rgba(1, 40, 77, .08); }
.menu-pliant__panneau {
  position: absolute; left: 0; right: 0;
  background: var(--blanc);
  border-bottom: 1px solid var(--trait);
  padding: .5rem var(--gouttiere) 1.1rem;
}
.menu-pliant__panneau ul { list-style: none; margin: 0; padding: 0; }
.menu-pliant__panneau a {
  display: block; padding: .7rem 0;
  color: var(--marine); text-decoration: none;
  border-bottom: 1px solid rgba(1, 40, 77, .12);
}

/* --------------------------------------------------------------- en-tete de page */
.hero {
  background: var(--encre);
  color: var(--papier);
  padding-block: clamp(2.5rem, 1.6rem + 4vw, 4.5rem);
  position: relative;
  overflow: hidden;
}
.hero::after {
  /* trame technique discrete : rappelle les lames d'un tablier */
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    180deg, rgba(248, 247, 244, .05) 0 1px, transparent 1px 9px);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.hero h1 { color: var(--blanc); max-width: 20ch; }
.hero__chapeau {
  font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem);
  color: rgba(248, 247, 244, .82);
  max-width: 54ch;
  margin-bottom: 1.8rem;
}
.hero__surtitre {
  font-family: var(--texte); font-weight: 600;
  font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ocre-clair, #e8a479);
  margin: 0 0 1rem;
  display: flex; align-items: center; gap: .6rem;
}
.hero__surtitre::before {
  content: ""; width: 1.75rem; height: 2px; background: var(--ocre);
}

/* ----------------------------------------------------------------- sections */
.section { padding-block: clamp(2.75rem, 1.9rem + 3.8vw, 4.75rem); }
.section--creux { background: var(--papier-creux); }
.section--encre { background: var(--encre); color: var(--papier); }
.section--encre h2, .section--encre h3 { color: var(--blanc); }

.section__intro { max-width: 62ch; margin-bottom: 2.25rem; }
.section__intro p:last-child { margin-bottom: 0; }

.surtitre {
  font-family: var(--texte); font-weight: 600;
  font-size: .78125rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ocre-sombre);
  margin: 0 0 .7rem;
}
.section--encre .surtitre { color: #e8a479; }

/* ------------------------------------------------------------------ boutons */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--titre); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--rayon);
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.bouton--premier { background: var(--ocre); color: var(--blanc); }
.bouton--premier:hover { background: var(--ocre-sombre); color: var(--blanc); }
.bouton--second {
  background: transparent; color: var(--papier);
  border-color: rgba(248, 247, 244, .45);
}
.bouton--second:hover { background: rgba(248, 247, 244, .12); color: var(--blanc); }
.bouton--sobre {
  background: var(--blanc); color: var(--encre); border-color: var(--trait-fort);
}
.bouton--sobre:hover { border-color: var(--encre); color: var(--encre); }

.boutons { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ------------------------------------------------------------------ grilles */
.grille { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .grille--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 52rem) { .grille--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 52rem) { .grille--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .grille--4 { grid-template-columns: repeat(4, 1fr); } }

/* videos de demonstration */
.video { margin: 0; }
/* La scene garde une hauteur constante quelle que soit la video jouee. La
   premiere des trois est verticale et les deux autres sont au format large :
   si le cadre imposait sa proportion a la page, celle-ci sauterait a chaque
   enchainement. C'est donc la scene qui tient la place, et le cadre qui
   change de forme a l'interieur. */
/* Carre, apres comparaison des trois proportions candidates : c'est celle
   qui laisse la video verticale la plus grande (156 px de large contre 117
   en 4/3), et le vide que la video large laisse en haut et en bas ne se
   voit pas, le fond de la scene etant celui du lecteur lui-meme. */
.video-scene {
  position: relative; aspect-ratio: 1 / 1;
  display: grid; place-items: center; overflow: hidden;
  border: 1px solid var(--trait); border-radius: var(--rayon);
  background: var(--encre);
}
.video-cadre {
  position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
}
.video-cadre--portrait { width: auto; height: 100%; aspect-ratio: 9 / 16; }
.video-fond img, .video-cadre iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.video-fond img { object-fit: cover; }
.video-cadre iframe { border: 0; }
.video figcaption {
  margin-top: .6rem; font-size: .92rem; color: var(--graphite-clair);
}

/* colonne principale + colonne collante (emplacement de la video carree) */
.colonnes { display: grid; gap: 2rem; }
@media (min-width: 64rem) {
  .colonnes { grid-template-columns: minmax(0, 1fr) 20rem; gap: 3rem; align-items: start; }
  .colonnes__cote { position: sticky; top: 5rem; }
  .colonnes__cote--pile { position: static; }
}

/* ------------------------------------------------------------------- cartes */
.carte {
  background: var(--blanc);
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  padding: 1.5rem;
}
.carte h3 { margin-bottom: .45rem; }
.carte p:last-child { margin-bottom: 0; }
.carte__rang {
  font-family: var(--titre); font-weight: 700; font-size: .875rem;
  display: inline-grid; place-items: center;
  width: 1.9rem; height: 1.9rem;
  background: var(--encre); color: var(--papier);
  margin-bottom: .9rem;
}
.carte--mise {
  border-color: var(--ocre);
  box-shadow: inset 0 0 0 1px var(--ocre);
}
.carte__etiquette {
  display: inline-block;
  font-family: var(--texte); font-weight: 600;
  font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  background: var(--ocre-voile); color: var(--ocre-sombre);
  padding: .2rem .55rem; margin-bottom: .7rem;
}

/* ---------------------------------------------------------------- tableaux */
.tableau-enveloppe { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tableau {
  width: 100%; border-collapse: collapse;
  background: var(--blanc);
  font-size: .96875rem;
  min-width: 34rem;
}
.tableau caption {
  text-align: left; font-size: .875rem; color: var(--graphite-clair);
  padding-bottom: .6rem;
}
.tableau th, .tableau td {
  text-align: left; padding: .8rem .9rem;
  border-bottom: 1px solid var(--trait);
  vertical-align: top;
}
.tableau thead th {
  font-family: var(--titre); font-weight: 600; font-size: .875rem;
  letter-spacing: .04em; text-transform: uppercase;
  background: var(--encre); color: var(--papier);
  border-bottom: none;
}
.tableau tbody tr:last-child th,
.tableau tbody tr:last-child td { border-bottom: none; }
.tableau tbody th { font-weight: 600; font-family: var(--texte); }
.tableau .montant { font-family: var(--titre); font-weight: 700; white-space: nowrap; }
.tableau--prix { min-width: 46rem; }
.tableau--prix thead th:not(:first-child),
.tableau--prix tbody td { text-align: right; }
.tableau-detail {
  display: block; margin-top: .3rem;
  font-weight: 400; font-size: .875rem; color: var(--graphite-clair);
}
.tableau .montant--pale { color: var(--graphite-clair); font-weight: 600; }
.tableau .montant--grand { color: var(--ocre-fonce, var(--ocre)); }
.tableau--prix thead th:last-child,
.tableau--prix tbody td:last-child { background: var(--papier-creux); }
.tableau--prix thead th:last-child { background: var(--encre); }
@media (max-width: 47.5rem) {
  .tableau--prix { min-width: 0; display: block; }
  .tableau--prix caption { display: block; }
  .tableau--prix thead {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .tableau--prix tbody, .tableau--prix tr,
  .tableau--prix tbody th, .tableau--prix tbody td { display: block; }
  .tableau--prix tbody tr {
    border-bottom: 1px solid var(--trait); padding: .9rem 0 1rem;
  }
  .tableau--prix tbody tr:last-child { border-bottom: none; }
  .tableau--prix tbody th { border-bottom: none; padding: 0 .9rem .5rem; }
  .tableau--prix tbody td {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 1rem; border-bottom: none; padding: .3rem .9rem; text-align: right;
  }
  .tableau--prix tbody td::before {
    content: attr(data-intitule);
    font-family: var(--texte); font-weight: 400; font-size: .9375rem;
    color: var(--graphite-clair); text-align: left;
  }
  .tableau--prix tbody td:last-child {
    margin: .45rem .9rem 0; padding: .5rem .7rem; border-radius: 6px;
  }
}

/* -------------------------------------------------------------------- prix */
.prix-fort {
  font-family: var(--titre); font-weight: 700;
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  line-height: 1; color: var(--encre);
  display: block;
}
.prix-mention { font-size: .9375rem; color: var(--graphite-clair); }

/* ---------------------------------------------------------------- etapes */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: etape; }
.etapes li {
  position: relative;
  padding: 1.25rem 0 1.25rem 3.25rem;
  border-bottom: 1px solid var(--trait);
  counter-increment: etape;
}
.etapes li:last-child { border-bottom: none; }
.etapes li::before {
  content: counter(etape, decimal-leading-zero);
  position: absolute; left: 0; top: 1.3rem;
  font-family: var(--titre); font-weight: 700; font-size: .9375rem;
  color: var(--ocre);
}
.etapes h3 { font-size: 1.0625rem; margin-bottom: .25rem; }
.etapes p { margin-bottom: 0; color: var(--graphite); }

/* ------------------------------------------------------------------- liste */
.liste-marquee { list-style: none; margin: 0 0 1.1em; padding: 0; display: grid; gap: .55rem; }
.liste-marquee li { position: relative; padding-left: 1.6rem; }
.liste-marquee li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: .5rem; height: .5rem; background: var(--ocre);
}

/* --------------------------------------------------------------------- faq */
.question {
  border-bottom: 1px solid var(--trait);
  background: transparent;
}
.question summary {
  cursor: pointer; list-style: none;
  font-family: var(--titre); font-weight: 600;
  font-size: 1.0625rem;
  padding: 1.1rem 2.5rem 1.1rem 0;
  position: relative;
}
.question summary::-webkit-details-marker { display: none; }
.question summary::after {
  content: ""; position: absolute; right: .35rem; top: 1.55rem;
  width: .6rem; height: .6rem;
  border-right: 2px solid var(--ocre); border-bottom: 2px solid var(--ocre);
  transform: rotate(45deg); transition: transform .18s;
}
.question[open] summary::after { transform: rotate(-135deg); }
.question__reponse { padding-bottom: 1.2rem; max-width: 68ch; }
.question__reponse p:last-child { margin-bottom: 0; }

/* ------------------------------------------- un seul lecteur, bien visible */
.video-pile {
  background: var(--encre);
  border-radius: var(--rayon);
  padding: 1.25rem;
  display: grid; gap: 1.25rem;
}
.video-pile .surtitre { margin: 0; color: #e8a479; }
.video-pile__titre {
  margin: -.5rem 0 0; font-size: 1.125rem; line-height: 1.3;
  color: var(--blanc);
}
.video-pile .video-scene { border-color: rgba(248, 247, 244, .16); }
.video-pile .video figcaption {
  margin-top: .5rem; font-size: .875rem; line-height: 1.45;
  color: rgba(248, 247, 244, .76);
  /* mesure : la plus longue des trois legendes fait 61 px, la plus courte
     55. Sans plancher, la colonne sautait de 6 px a chaque enchainement. */
  min-height: 4.4em;
}
.video-pile .video figcaption strong { color: var(--blanc); }

.video-pile__mention {
  margin: 0; font-size: .8125rem; line-height: 1.5;
  color: rgba(248, 247, 244, .58);
  border-top: 1px solid rgba(248, 247, 244, .14); padding-top: 1rem;
}
.video-pile__mention strong { color: rgba(248, 247, 244, .82); }

/* -------------------------------------------------------------------- note */
.note {
  border-left: 3px solid var(--ocre);
  background: var(--ocre-voile);
  padding: 1rem 1.25rem;
  font-size: .96875rem;
}
.note p:last-child { margin-bottom: 0; }
.note--sobre { border-left-color: var(--trait-fort); background: var(--papier-creux); }

/* ------------------------------------------------------------- fil d'ariane */
.fil { font-size: .875rem; padding-block: .9rem; color: var(--graphite-clair); }
.fil ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.fil li::after { content: "/"; margin-left: .4rem; color: var(--trait-fort); }
.fil li:last-child::after { content: none; }
.fil a { color: var(--graphite-clair); }
.fil [aria-current="page"] { color: var(--encre); }

/* -------------------------------------------------------------------- pied */
.pied {
  background: var(--encre); color: rgba(248, 247, 244, .74);
  padding-block: 3rem 1.5rem;
  font-size: .9375rem;
}
.pied h2 { font-size: 1rem; color: var(--blanc); margin-bottom: .9rem; }
.pied a { color: rgba(248, 247, 244, .74); text-decoration: none; }
.pied a:hover { color: var(--blanc); text-decoration: underline; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.pied__grille { display: grid; gap: 2rem; }
@media (min-width: 46rem) { .pied__grille { grid-template-columns: 1.4fr 1fr 1fr; } }
.pied__bas {
  margin-top: 2.5rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(248, 247, 244, .14);
  display: flex; flex-wrap: wrap; gap: .5rem 1.25rem;
  font-size: .875rem; color: rgba(248, 247, 244, .55);
}

/* ------------------------------------------------------- barre mobile fixe */
.barre-action {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: var(--blanc);
  border-top: 1px solid var(--trait);
  padding: .6rem var(--gouttiere);
  display: flex; gap: .6rem;
  box-shadow: 0 -6px 20px -12px rgba(23, 27, 33, .4);
}
.barre-action .bouton { flex: 1; padding-block: .75rem; font-size: .9375rem; }
@media (min-width: 62rem) { .barre-action { display: none; } }
@media (max-width: 61.9375rem) { body { padding-bottom: 4.25rem; } }

/* ------------------------------------------------------------------ schemas */
.schema { background: var(--blanc); border: 1px solid var(--trait); padding: 1.25rem; }
.schema figcaption {
  font-size: .875rem; color: var(--graphite-clair);
  margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--trait);
}
.schema svg { display: block; width: 100%; height: auto; }

/* --------------------------------------------------------------- formulaire */
.formulaire {
  background: var(--blanc);
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  padding: clamp(1.25rem, .9rem + 1.6vw, 2.25rem);
  max-width: 44rem;
}
.formulaire fieldset {
  border: none;
  margin: 0 0 2rem;
  padding: 0;
}
.formulaire fieldset:last-of-type { margin-bottom: 1.5rem; }
.formulaire legend {
  font-family: var(--titre); font-weight: 700;
  font-size: 1.0625rem;
  color: var(--encre);
  padding: 0 0 .9rem;
  border-bottom: 2px solid var(--ocre);
  margin-bottom: 1.25rem;
  width: 100%;
}
.formulaire p { margin: 0 0 1.15rem; }
.formulaire p:last-child { margin-bottom: 0; }
.formulaire label {
  display: block;
  font-weight: 600;
  font-size: .9375rem;
  margin-bottom: .35rem;
  color: var(--encre);
}
.formulaire abbr {
  color: var(--ocre-sombre);
  text-decoration: none;
  border: none;
  margin-left: .1rem;
}
.formulaire input[type="text"],
.formulaire input[type="email"],
.formulaire input[type="tel"],
.formulaire input[type="number"],
.formulaire select,
.formulaire textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--encre);
  background: var(--papier);
  border: 1px solid var(--trait-fort);
  border-radius: 2px;
  padding: .7rem .8rem;
  min-height: 2.75rem;
}
.formulaire textarea { min-height: 6rem; resize: vertical; }
.formulaire select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--graphite) 50%),
                    linear-gradient(135deg, var(--graphite) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 1.2rem, calc(100% - .8rem) 1.2rem;
  background-size: .35rem .35rem, .35rem .35rem;
  background-repeat: no-repeat;
  padding-right: 2.4rem;
}
.formulaire input:focus-visible,
.formulaire select:focus-visible,
.formulaire textarea:focus-visible { background: var(--blanc); }
.formulaire input[type="file"] {
  width: 100%;
  font: inherit; font-size: .9375rem;
  padding: .7rem;
  border: 1px dashed var(--trait-fort);
  border-radius: 2px;
  background: var(--papier-creux);
}
.formulaire .aide {
  display: block;
  font-size: .875rem;
  color: var(--graphite-clair);
  margin-top: .4rem;
  max-width: 60ch;
}
.formulaire p.aide { margin-top: 0; }
.formulaire .case {
  display: grid;
  grid-template-columns: 1.15rem 1fr;
  gap: .75rem;
  align-items: start;
}
.formulaire .case input { margin-top: .28rem; width: 1.15rem; height: 1.15rem; accent-color: var(--ocre); }
.formulaire .case label { font-weight: 400; font-size: .9375rem; margin: 0; }
.formulaire button[disabled] {
  background: var(--trait);
  color: var(--graphite-clair);
  cursor: not-allowed;
}
.formulaire button[disabled]:hover { background: var(--trait); color: var(--graphite-clair); }


/* ------------------------------------------------------------ photographies */
/* Le fond FIXE : pas position:fixed, qui traverserait les sections
   transparentes placees dessous, mais un fond peint par rapport a la fenetre
   et decoupe par la boite de la section. La photographie parait immobile
   pendant que le texte defile dessus. Repli en fond ordinaire sous le point
   de rupture (le fond fixe colle sur iOS) et sous prefers-reduced-motion. */
.hero--photo {
  background-color: var(--encre);
  background-image: url("/medias/volet-roulant-villa-nice-960.jpg");
  background-image: image-set(
    url("/medias/volet-roulant-villa-nice-960.webp") type("image/webp"),
    url("/medias/volet-roulant-villa-nice-960.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: 62% 48%;
  background-repeat: no-repeat;
}
.hero--photo::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(23, 27, 33, .88) 0%, rgba(23, 27, 33, .66) 44%, rgba(23, 27, 33, .93) 100%);
}
.section--photo {
  position: relative;
  background-color: var(--encre);
  background-image: url("/medias/volet-roulant-anthracite-villa-nice-960.jpg");
  background-image: image-set(
    url("/medias/volet-roulant-anthracite-villa-nice-960.webp") type("image/webp"),
    url("/medias/volet-roulant-anthracite-villa-nice-960.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: 50% 38%;
  background-repeat: no-repeat;
}
.section--photo::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(23, 27, 33, .90) 0%, rgba(23, 27, 33, .78) 50%, rgba(23, 27, 33, .92) 100%);
}
.section--photo > * { position: relative; z-index: 1; }
@media (min-width: 62rem) {
  .hero--photo {
    min-height: 72vh;
    display: flex; align-items: center;
    background-attachment: fixed;
    background-image: url("/medias/volet-roulant-villa-nice-1440.jpg");
    background-image: image-set(
      url("/medias/volet-roulant-villa-nice-1440.webp") type("image/webp"),
      url("/medias/volet-roulant-villa-nice-1440.jpg") type("image/jpeg"));
  }
  .hero--photo > .enveloppe { width: 100%; }
  .section--photo {
    background-attachment: fixed;
    background-image: url("/medias/volet-roulant-anthracite-villa-nice-1440.jpg");
    background-image: image-set(
      url("/medias/volet-roulant-anthracite-villa-nice-1440.webp") type("image/webp"),
      url("/medias/volet-roulant-anthracite-villa-nice-1440.jpg") type("image/jpeg"));
  }
}
@media (min-width: 100rem) {
  .hero--photo {
    background-image: url("/medias/volet-roulant-villa-nice-2048.jpg");
    background-image: image-set(
      url("/medias/volet-roulant-villa-nice-2048.webp") type("image/webp"),
      url("/medias/volet-roulant-villa-nice-2048.jpg") type("image/jpeg"));
  }
  .section--photo {
    background-image: url("/medias/volet-roulant-anthracite-villa-nice-1672.jpg");
    background-image: image-set(
      url("/medias/volet-roulant-anthracite-villa-nice-1672.webp") type("image/webp"),
      url("/medias/volet-roulant-anthracite-villa-nice-1672.jpg") type("image/jpeg"));
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero--photo, .section--photo { background-attachment: scroll; }
}

.bande { background: var(--papier); }
.bande__figure {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 0 var(--gouttiere) 2.5rem;
}
.bande__figure img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 46%;
  border-radius: var(--rayon);
}
.bande--entiere .bande__figure img { aspect-ratio: auto; object-fit: fill; }
.bande__figure figcaption {
  margin-top: .85rem;
  font-size: .9375rem; line-height: 1.6;
  color: var(--graphite-clair);
  max-width: 62ch;
}
@media (max-width: 44rem) {
  .bande__figure img { aspect-ratio: 4 / 3; }
  .bande--entiere .bande__figure img { aspect-ratio: auto; }
}

.marque__logo { display: block; width: 210px; height: auto; }
@media (max-width: 40rem) { .marque__logo { width: 168px; } }
/* Le pied est sombre et le logo a un texte marine : sans cette pastille,
   le nom serait a 1,2:1 de contraste, donc illisible. */
.bas__logo { display: block; width: 210px; height: auto; margin: 0 0 .9rem;
  background: var(--blanc); padding: .6rem .8rem; border-radius: 4px;
  box-sizing: content-box; }

/* ------------------------------------------- page des tarifs : tete plus haute */
/* Demande du 2026-10-31 : le bandeau de cette page seule respire davantage.
   Les six autres pages gardent la hauteur commune de .hero. */
.page-tarifs .hero {
  padding-block: clamp(3.5rem, 2.2rem + 5.4vw, 6.5rem);
}

/* Le contact dans le pied, pose le 2026-11-04 : ce site est l'un des trois du
   programme a publier le telephone. */
.pied__contact { margin-top: .7rem; }
.pied__contact a { color: inherit; text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 2px; }
.pied__contact a:hover, .pied__contact a:focus-visible { text-decoration-thickness: 2px; }

/* ---------------------------------------------------------------- bref */
/* Le resume d'ouverture, en tete de page et avant tout le reste. Traite
   ici en FICHE technique, barres ocre et libelle en capitales etroites :
   c'est le rythme didactique de ce site, et il ne ressemble ni au panneau
   creme du storiste ni a la bande de chantier du poseur de rideaux. */
.bref {
  background: var(--papier-creux);
  border-top: 1px solid var(--trait);
  border-bottom: 1px solid var(--trait);
}
.bref-i {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 2.5rem var(--gouttiere) 2.25rem;
}
.bref-oeil {
  font-family: var(--titre);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ocre-sombre);
  margin: 0 0 .55rem;
}
.bref-titre {
  font-family: var(--titre);
  font-size: 1.5rem;
  line-height: 1.22;
  margin: 0 0 .9rem;
  max-width: 34ch;
  color: var(--encre);
}
.bref-these { max-width: 64ch; margin: 0 0 1.25rem; }
.bref-points { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.bref-points li {
  border-left: 3px solid var(--ocre);
  padding: .1rem 0 .1rem .85rem;
  max-width: 62ch;
  color: var(--graphite-clair);
  font-size: .95rem;
}
@media (max-width: 47.5rem) {
  .bref-i { padding: 2rem var(--gouttiere) 1.8rem; }
  .bref-titre { font-size: 1.28rem; }
}
