/* ============================================================
   style.css : l'apparence de TOUT le site KOM.
   Chaque page appelle ce fichier : un changement ici s'applique partout.
   ============================================================ */

/* ============================================================
   LA COULEUR DORÉE DU SITE
   Une seule couleur, définie une seule fois ici (on appelle ça une « variable »).
   Partout ailleurs, on écrit var(--or). Pour changer le doré de TOUT le site,
   il suffit de modifier la valeur ci-dessous.
   ============================================================ */
:root {
  --or: #a88b5e;                         /* doré sobre, proche du bronze du logo */
  --or-leger: rgba(168, 139, 94, 0.25);  /* le même doré, très transparent (fines lignes) */

  /* Les deux polices du site (chargées depuis Google Fonts dans chaque page) */
  --police-titre: "Cormorant Garamond", Georgia, serif;          /* titres : élégante, très fine */
  --police-texte: "Montserrat", "Helvetica Neue", Arial, sans-serif;   /* textes et petites capitales : moderne, lisible */
}

body {
  margin: 0;
  background: #000;          /* fond noir */
  color: #fff;               /* texte blanc */
  font-family: var(--police-texte);
  font-weight: 300;            /* texte fin et léger */
  -webkit-font-smoothing: antialiased;
}

/* ===== BARRE DE MENU ===== */
.menu {
  position: fixed;           /* reste collée en haut, par-dessus les photos */
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;  /* logo à gauche, liens à droite */
  align-items: center;
  padding: 1.5rem 3rem;
  background: linear-gradient(rgba(0,0,0,0.8), transparent);
  transition: background 0.4s;     /* le fond change en douceur */
}
/* Quand on a fait défiler la page : fond noir plein + fine ligne dorée en dessous */
.menu.fond-noir {
  background: rgba(0,0,0,0.95);
  border-bottom: 1px solid var(--or-leger);
}
.logo {
  color: #fff;
  text-decoration: none;
  font-size: 1.8rem;
  letter-spacing: 0.3em;
}
.liens a {
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-left: 2rem;
}
.liens a:hover { color: var(--or); }   /* doré au survol */
.liens a.page-active { color: var(--or); }   /* la page où l'on se trouve */
.liens a { white-space: nowrap; }    /* un lien ne se coupe jamais en deux ("RENDEZ-VOUS" reste entier) */

/* Écran moyen (tablette, petite fenêtre) : même disposition, liens un peu plus petits */
@media (max-width: 1000px) {
  .menu { padding: 1rem 1.5rem; }
  .cartes { grid-template-columns: repeat(2, 1fr); }   /* 2 cartes par ligne */
  .liens a { margin-left: 1.2rem; font-size: 0.7rem; letter-spacing: 0.1em; }
}

/* Téléphone : KOM reste en haut à gauche, les liens forment une ligne
   en dessous, qu'on fait glisser avec le doigt si elle dépasse */
@media (max-width: 700px) {
  .menu { flex-wrap: wrap; padding: 1rem; }
  .liens {
    width: 100%;
    margin-top: 0.75rem;
    white-space: nowrap;
    overflow-x: auto;              /* défilement horizontal au doigt */
    scrollbar-width: none;         /* cache la barre de défilement */
  }
  .liens::-webkit-scrollbar { display: none; }
  .liens a { margin: 0 1.2rem 0 0; }
}

/* ===== DIAPORAMA DE VÉLOS ===== */
.diaporama {
  position: relative;
  height: 100vh;             /* prend tout l'écran */
  overflow: hidden;
}
.diapo {
  position: absolute;
  inset: 0;                  /* occupe toute la place du diaporama */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 12vh;
  text-align: center;
  opacity: 0;                /* invisible par défaut... */
  transition: opacity 2s;    /* ...et apparaît en fondu (2 secondes) */
}
.diapo.visible { opacity: 1; }

/* Emplacement vide pour la future photo du vélo */
.photo-a-fournir {
  position: absolute;
  inset: 0;                  /* bord à bord, comme la future photo */
  background: radial-gradient(circle at center 40%, #2a2a2a, #000 70%);  /* imite un fond de studio */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  padding-bottom: 20vh;      /* remonte un peu l'inscription */
  z-index: -2;               /* passe derrière le texte */
}
/* Vraie photo du vélo dans le diaporama */
.photo-velo {
  position: absolute;
  inset: 0;                      /* occupe tout l'écran */
  width: 100%;
  height: 100%;
  object-fit: cover;             /* remplit tout l'écran (les bords peuvent être un peu coupés) */
  z-index: -2;
}
/* Pour les photos à fond clair : on les assombrit un peu */
.photo-claire { filter: brightness(0.6); }   /* 0.6 = 60 % de la luminosité d'origine */

/* Voile sombre en bas de la photo pour que le texte reste lisible */
.diapo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(0,0,0,0.85));
  z-index: -1;
}
.slogan {
  font-size: 3rem;
  font-weight: normal;
  margin: 0 0 0.5rem;
}
.marque {
  color: var(--or);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin: 0 0 2rem;
}
.bouton {
  color: var(--or);            /* doré */
  border: 1px solid var(--or);
  padding: 0.8rem 2rem;
  text-decoration: none;
  letter-spacing: 0.1em;
}
.bouton:hover {
  background: var(--or);
  color: #000;
}

/* Flèches pour passer d'un vélo à l'autre */
.fleche {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);   /* centre la flèche en hauteur */
  z-index: 5;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;            /* bouton rond */
  font-size: 1.5rem;
  cursor: pointer;               /* la souris devient une petite main */
  transition: all 0.3s;
}
.fleche:hover { border-color: var(--or); color: var(--or); }
.fleche-gauche { left: 2rem; }
.fleche-droite { right: 2rem; }

/* Petits points en bas qui montrent quelle photo est affichée */
.points {
  position: absolute;
  bottom: 4vh; left: 0; right: 0;
  text-align: center;
}
.point {
  display: inline-block;
  width: 30px; height: 2px;
  margin: 0 4px;
  background: #555;
}
.point.actif { background: var(--or); }

/* ===== TITRES DE SECTION (utilisés sur plusieurs pages) ===== */
.sur-titre {
  color: var(--or);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin: 0 0 1rem;
}
.titre-section {
  font-size: 2.5rem;
  font-weight: normal;
  margin: 0 0 4rem;
}
.cartes {
  display: grid;                          /* une grille... */
  grid-template-columns: repeat(4, 1fr);  /* ...de 4 colonnes égales */
  gap: 1.5rem;                            /* espace entre les cartes */
  max-width: 1400px;
  margin: 0 auto;                         /* centre la grille */
}
.carte {
  color: #fff;
  text-decoration: none;
  border: 1px solid #222;
  transition: border-color 0.4s;
}
.carte:hover { border-color: var(--or); }   /* bordure dorée au survol */
.carte-photo {
  aspect-ratio: 4 / 3;                    /* forme de la photo : rectangle */
  border-bottom: 1px dashed #444;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}
img.carte-photo {
  width: 100%;
  object-fit: contain;
  background: #000;
  display: block;
}
.carte-texte { padding: 2rem 1.5rem; }
.carte-texte h3 {
  font-weight: normal;
  font-size: 1.5rem;
  margin: 0.5rem 0;
}
.carte-texte p {
  color: #999;
  font-size: 0.95rem;
  margin: 0 0 1.5rem;
}
.lien-dore {
  color: var(--or);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

/* ===== SUR RENDEZ-VOUS ===== */
.rdv {
  padding: 8rem 2rem;
  text-align: center;
  border-top: 1px solid #1a1a1a;   /* fine ligne de séparation avec la section du dessus */
}
.trait-dore {
  width: 60px; height: 1px;
  background: var(--or);
  margin: 0 auto 2.5rem;           /* centré, avec de l'espace dessous */
}
.rdv .titre-section { margin-bottom: 2rem; }
.rdv-texte {
  max-width: 560px;                /* texte étroit = plus agréable à lire */
  margin: 0 auto 3rem;
  color: #aaa;
  line-height: 1.8;
}
.rdv-infos {
  margin-top: 3rem;
  color: #777;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

/* ===== SUR TÉLÉPHONE (écran étroit) ===== */
@media (max-width: 700px) {
  .slogan { font-size: 2rem; }
  .rdv { padding: 5rem 1.5rem; }
  .titre-section { font-size: 1.8rem; }
  .fleche { width: 2.5rem; height: 2.5rem; font-size: 1rem; }
  .fleche-gauche { left: 0.5rem; }
  .fleche-droite { right: 0.5rem; }
  .cartes { grid-template-columns: 1fr; }   /* sur téléphone : 1 carte par ligne */
}

/* ============================================================
   PAGE « LES VÉLOS » (velos.html)
   ============================================================ */

/* En-tête de la page : titre + petite introduction */
.entete-page {
  padding: 10rem 2rem 3rem;      /* grand espace en haut : le menu est fixe */
  text-align: center;
}
.intro {
  max-width: 620px;
  margin: 0 auto;
  color: #aaa;
  line-height: 1.8;
}

/* Boutons de filtre par marque */
.filtres {
  display: flex;
  flex-wrap: wrap;               /* passent à la ligne s'il n'y a pas la place */
  justify-content: center;
  gap: 0.75rem;
  padding: 0 1rem 4rem;
}
.filtre {
  background: transparent;
  color: #aaa;
  border: 1px solid #333;
  padding: 0.6rem 1.4rem;
  font-family: inherit;          /* même police que le reste du site */
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}
.filtre:hover { color: #fff; border-color: #777; }
.filtre.actif { color: #000; background: var(--or); border-color: var(--or); }   /* filtre choisi : doré */

/* Le catalogue : 3 cartes par ligne (2 sur tablette, 1 sur téléphone) */
.catalogue {
  grid-template-columns: repeat(3, 1fr);
  padding: 0 3rem 8rem;
  text-align: center;
}
.carte.cachee { display: none; }   /* carte masquée par le filtre */
.type-velo {
  color: #777;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.prix {
  color: #fff !important;
  font-size: 1.05rem !important;
}

@media (max-width: 1000px) {
  .catalogue { grid-template-columns: repeat(2, 1fr); padding: 0 1.5rem 6rem; }
}
@media (max-width: 700px) {
  .catalogue { grid-template-columns: 1fr; padding: 0 1rem 5rem; }
  .entete-page { padding-top: 9rem; }
}

/* ============================================================
   FICHE D'UN MODÈLE (fiche-iridio.html, etc.)
   ============================================================ */

/* Grande photo en haut de la fiche */
.fiche-photo {
  width: 100%;
  height: 75vh;
  object-fit: cover;
  display: block;
}

/* Lien « retour au catalogue » */
.retour {
  display: inline-block;
  margin: 3rem 0 0 3rem;
  color: #888;
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.retour:hover { color: var(--or); }

/* Contenu de la fiche : 2 colonnes (présentation à gauche, caractéristiques à droite) */
.fiche {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 3rem 8rem;
}
.fiche h1 {
  font-size: 3.5rem;
  font-weight: normal;
  margin: 0.5rem 0 1.5rem;
}
.fiche-texte {
  color: #aaa;
  line-height: 1.8;
  margin: 0 0 2.5rem;
}
.fiche-prix {
  font-size: 1.4rem;
  margin: 0 0 2.5rem;
}
.fiche-prix span {          /* le petit « À partir de » */
  display: block;
  color: #777;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

/* Tableau des caractéristiques : une ligne fine entre chaque élément */
.caracteristiques { margin: 0; }
.caracteristiques div {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid #222;
}
.caracteristiques dt {      /* le nom : GROUPE, ROUES… */
  color: var(--or);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.caracteristiques dd {      /* la valeur */
  margin: 0;
  text-align: right;
}

/* Coloris : de petites étiquettes */
.coloris {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
}
.coloris span {
  border: 1px solid #333;
  color: #ccc;
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
}

@media (max-width: 800px) {
  .fiche { grid-template-columns: 1fr; gap: 3rem; padding: 2rem 1.5rem 5rem; }
  .fiche h1 { font-size: 2.5rem; }
  .fiche-photo { height: 50vh; }
  .retour { margin: 2rem 0 0 1.5rem; }
}

/* Fiche sans photo : emplacement vide de la même taille que la photo */
.fiche-photo-vide {
  height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center 45%, #2a2a2a, #000 70%);
  color: #666;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}
.lien-externe {             /* lien vers le site d'une marque */
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--or);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
}
@media (max-width: 800px) {
  .fiche-photo-vide { height: 50vh; }
}

/* Photos « catalogue » sur fond blanc (reprises du site actuel) */
img.carte-photo.fond-blanc { background: #fff; }   /* dans les cartes : panneau blanc derrière le vélo */
.fiche-produit {                                   /* dans les fiches : bandeau blanc avec le vélo en entier */
  background: #fff;
  padding: 7rem 2rem 2rem;                         /* place pour le menu en haut */
  text-align: center;
}
.fiche-produit img {
  width: 100%;
  max-width: 1000px;
  max-height: 65vh;
  object-fit: contain;
}

/* ============================================================
   PHOTOS QUI DÉFILENT EN HAUT D'UNE FICHE (ex. fiche-vento.html)
   ============================================================ */
.fiche-diapo {
  position: relative;
  height: 75vh;
  overflow: hidden;
}
.fiche-diapo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;               /* remplit le cadre, les bords peuvent être coupés */
  opacity: 0;                      /* invisible par défaut... */
  transition: opacity 1.5s;        /* ...et apparaît en fondu */
}
.fiche-diapo img.visible { opacity: 1; }
@media (max-width: 800px) {
  .fiche-diapo { height: 50vh; }
}

/* ============================================================
   MINI-DIAPORAMA DANS LES CARTES DU CATALOGUE (velos.html)
   ============================================================ */
.carte-diapo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #000;
  border-bottom: 1px solid #222;
}
.carte-diapo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;                 /* toutes les photos remplissent le cadre */
  opacity: 0;
  transition: opacity 0.6s;          /* fondu rapide */
}
.carte-diapo img.visible { opacity: 1; }

/* Petites flèches rondes, visibles au survol de la carte */
.mini-fleche {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.45);      /* fond sombre pour rester visible sur une photo claire */
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;                        /* cachées tant que la souris n'est pas sur la carte */
  transition: opacity 0.3s, border-color 0.3s, color 0.3s;
}
.mini-fleche.gauche { left: 0.75rem; }
.mini-fleche.droite { right: 0.75rem; }
.carte:hover .mini-fleche { opacity: 1; }
.mini-fleche:hover { border-color: var(--or); color: var(--or); }

/* Petits traits en bas de la photo */
.mini-points {
  position: absolute;
  bottom: 0.8rem; left: 0; right: 0;
  z-index: 2;
  text-align: center;
}
.mini-points span {
  display: inline-block;
  width: 18px; height: 2px;
  margin: 0 3px;
  background: rgba(255,255,255,0.4);
}
.mini-points span.actif { background: var(--or); }

/* Sur écran tactile (pas de souris) : flèches toujours visibles */
@media (hover: none) {
  .mini-fleche { opacity: 1; }
}

/* ============================================================
   PAGE « RENDEZ-VOUS » (rendez-vous.html)
   ============================================================ */
.contact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);   /* 4 blocs côte à côte */
  max-width: 1100px;
  width: calc(100% - 6rem);                /* marges sur les côtés */
  margin: 0 auto 4rem;
  gap: 1px;
  background: #222;                        /* l'espace de 1px forme de fines lignes entre les blocs */
  border: 1px solid #222;
}
.contact-bloc {
  background: #000;
  padding: 3rem 1.5rem;
  text-align: center;
}
.contact-bloc p { margin: 0 0 1.5rem; color: #ccc; line-height: 1.7; }
.contact-bloc a { color: #fff; text-decoration: none; }
.contact-bloc a:hover { color: var(--or); }
.contact-action { text-align: center; padding: 2rem 2rem 8rem; }
.contact-action .bouton { margin: 0.5rem; display: inline-block; }
.rdv-mention {
  color: #777;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-top: 3rem;
}
@media (max-width: 1000px) {
  .contact { grid-template-columns: repeat(2, 1fr); width: calc(100% - 3rem); }
}
@media (max-width: 700px) {
  .contact { grid-template-columns: 1fr; width: calc(100% - 2rem); }
  .contact-bloc { padding: 1.8rem 1rem; }
  .contact-bloc p { margin-bottom: 0.8rem; }
}

/* ============================================================
   GRAND BANDEAU PHOTO EN HAUT D'UNE PAGE (ex. rendez-vous.html)
   ============================================================ */
.bandeau {
  position: relative;
  height: 75vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;        /* le texte en bas du bandeau */
  padding: 0 2rem 10vh;
  text-align: center;
  overflow: hidden;
  isolation: isolate;               /* garde la photo derrière le texte, dans le bandeau */
}
.bandeau img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);         /* photo assombrie pour que le texte ressorte */
  z-index: -2;
}
.bandeau::after {                   /* dégradé vers le noir en bas : la photo se fond dans la page */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, #000);
  z-index: -1;
}
.bandeau h1 {
  font-size: 3.5rem;
  font-weight: normal;
  margin: 0 0 1rem;
}
.bandeau .intro { color: #ddd; }
@media (max-width: 700px) {
  .bandeau { height: 60vh; }
  .bandeau h1 { font-size: 2.3rem; }
}

/* ============================================================
   LOGO KOM (image) dans le menu
   Le fichier logo-kom.png est noir sur fond transparent : on s'en sert
   comme d'un « pochoir » (mask) que l'on remplit de doré.
   Pour un logo blanc : remplacer var(--or) par #fff ci-dessous.
   ============================================================ */
.logo-img {
  display: block;
  height: 64px;
  aspect-ratio: 272 / 400;                 /* mêmes proportions que l'image */
  background: var(--or);                     /* couleur du logo */
  -webkit-mask: url(images/logo-kom.png) center / contain no-repeat;
          mask: url(images/logo-kom.png) center / contain no-repeat;
  transition: background 0.3s;
}
.logo:hover .logo-img { background: #fff; }   /* blanc au survol */
@media (max-width: 700px) {
  .logo-img { height: 48px; }
}

/* ============================================================
   PAGE « LE STUDIO » (studio.html)
   ============================================================ */

/* Bloc de texte centré, étroit et aéré */
.section-studio {
  padding: 7rem 2rem;
  text-align: center;
  border-top: 1px solid #1a1a1a;
}
.texte-centre {
  max-width: 640px;
  margin: 0 auto 1.5rem;
  color: #aaa;
  line-height: 1.9;
}
.citation {                         /* phrase mise en valeur, en italique */
  font-style: italic;
  font-size: 1.4rem;
  color: #fff;
  margin: 3rem auto 0;
  max-width: 640px;
}

/* Le parcours en 4 étapes : 4 colonnes avec un grand chiffre doré */
.etapes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}
.etape-numero {
  font-size: 3.5rem;
  color: var(--or);
  line-height: 1;
  margin: 0 0 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--or-leger);
}
.etape h3 { font-weight: normal; font-size: 1.3rem; margin: 0 0 0.8rem; }
.etape p { color: #999; line-height: 1.7; margin: 0; }

/* Deux colonnes : photo d'un côté, texte de l'autre */
.deux-colonnes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 7rem 3rem;
  border-top: 1px solid #1a1a1a;
}
.deux-colonnes img {
  width: 100%;
  max-height: 80vh;
  object-fit: cover;
  display: block;
}
.deux-colonnes .titre-section { margin-bottom: 2rem; }
.deux-colonnes .texte { color: #aaa; line-height: 1.9; margin: 0 0 2rem; }
.liste-doree {                      /* liste avec de petits traits dorés */
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
}
.liste-doree li {
  padding: 0.6rem 0 0.6rem 1.8rem;
  position: relative;
  color: #ddd;
}
.liste-doree li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.2rem;
  width: 0.9rem; height: 1px;
  background: var(--or);
}
.petit-titre {
  color: #777;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

/* Blocs de marques / d'équipement : grille de blocs séparés par de fines lignes */
.blocs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #222;
  border: 1px solid #222;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}
.blocs.trois { grid-template-columns: repeat(3, 1fr); }
.bloc {
  background: #000;
  padding: 3rem 2.5rem;
}
.bloc h3 { font-weight: normal; font-size: 1.6rem; margin: 0 0 1rem; }
.bloc p { color: #999; line-height: 1.8; margin: 0 0 1.5rem; }
.bloc .lien-dore { text-decoration: none; margin-right: 1.5rem; display: inline-block; }

/* Financement : deux grands chiffres */
.chiffres {
  display: flex;
  justify-content: center;
  gap: 5rem;
  margin: 3rem 0;
}
.chiffre strong {
  display: block;
  font-size: 2.6rem;
  font-weight: normal;
  color: var(--or);
  margin-bottom: 0.5rem;
}
.chiffre span { color: #aaa; }
.mention {                          /* petit texte légal */
  max-width: 560px;
  margin: 2.5rem auto 0;
  color: #666;
  font-size: 0.8rem;
  line-height: 1.7;
}

@media (max-width: 1000px) {
  .etapes { grid-template-columns: repeat(2, 1fr); }
  .deux-colonnes { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 1.5rem; }
  .blocs.trois { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .section-studio { padding: 5rem 1.25rem; }
  .etapes { grid-template-columns: 1fr; gap: 2.5rem; }
  .blocs { grid-template-columns: 1fr; }
  .bloc { padding: 2.2rem 1.5rem; }
  .chiffres { flex-direction: column; gap: 2rem; }
  .citation { font-size: 1.2rem; }
}

/* ============================================================
   MENU DÉROULANT « ÉQUIPEMENT »
   Au survol (ordinateur), deux choix glissent doucement vers le bas.
   ============================================================ */
.menu-deroulant {
  position: relative;
  display: inline-block;
  margin-left: 2rem;
}
.liens .menu-deroulant > a { margin-left: 0; }

/* Petit chevron fin à côté du mot, qui pivote au survol */
.declencheur::after {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  margin-left: 0.5rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.4s ease;
}
.menu-deroulant:hover .declencheur::after,
.menu-deroulant:focus-within .declencheur::after {
  transform: translateY(0) rotate(-135deg);
}

/* La boîte qui apparaît : invisible et un peu plus haut au repos… */
.sous-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  padding-top: 1.2rem;                  /* « pont » invisible : la souris peut descendre sans que ça se ferme */
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0.45s;
}
/* …et au survol : elle apparaît en fondu en glissant doucement vers le bas */
.menu-deroulant:hover .sous-menu,
.menu-deroulant:focus-within .sous-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.sous-menu-boite {
  background: rgba(0, 0, 0, 0.95);
  border: 1px solid var(--or-leger);
  padding: 0.6rem 0;
  min-width: 190px;
  text-align: center;
}
.liens .sous-menu-boite a {
  display: block;
  margin: 0;
  padding: 0.75rem 1.5rem;
  transition: color 0.3s, letter-spacing 0.4s;
}
/* Léger écartement des lettres au survol : seulement avec une vraie souris
   (sur téléphone, un appui déclenchait cette animation et la rendait bizarre) */
@media (hover: hover) and (min-width: 701px) {
  .liens .sous-menu-boite a:hover { letter-spacing: 0.22em; }
}

/* Tablette : liens un peu plus serrés pour que tout tienne sur une ligne */
@media (max-width: 1000px) {
  .menu-deroulant { margin-left: 1rem; }
  .liens a { margin-left: 1rem; }
}

/* Téléphone (pas de survol) : pas de boîte, « Nutrition » et « Textile »
   s'affichent directement dans la ligne de liens qu'on fait glisser */
@media (max-width: 700px) {
  .menu-deroulant { margin: 0; display: inline; }
  .declencheur { display: none; }
  .sous-menu {
    position: static;
    display: inline;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .sous-menu-boite { display: inline; background: none; border: 0; padding: 0; }
  .liens .sous-menu-boite a { display: inline; padding: 0; margin: 0 1.2rem 0 0; }
}

/* ============================================================
   MENU « BURGER » ☰ (téléphone uniquement)
   Sur ordinateur, le bouton est caché et le menu reste comme avant.
   ============================================================ */
.burger { display: none; }

@media (max-width: 700px) {
  /* La barre : logo à gauche, bouton ☰ à droite, sur une seule ligne */
  .menu { flex-wrap: nowrap; padding: 0.8rem 1.2rem; }

  /* Le bouton : trois traits fins */
  .burger {
    display: block;
    position: relative;
    z-index: 2;                        /* reste au-dessus du menu ouvert */
    width: 44px; height: 44px;         /* zone assez grande pour un doigt */
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
  }
  .burger span {
    position: absolute;
    left: 10px;
    width: 24px; height: 1px;
    background: #fff;
    transition: transform 0.4s ease, opacity 0.3s ease, top 0.4s ease;
  }
  .burger span:nth-child(1) { top: 15px; }
  .burger span:nth-child(2) { top: 22px; }
  .burger span:nth-child(3) { top: 29px; }
  /* Menu ouvert : les traits forment une croix ✕ */
  .menu.ouvert .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
  .menu.ouvert .burger span:nth-child(2) { opacity: 0; }
  .menu.ouvert .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

  .logo { position: relative; z-index: 2; }   /* le logo reste visible menu ouvert */

  /* Le menu plein écran : caché au repos… */
  .liens {
    position: fixed;
    inset: 0;
    width: auto;
    margin: 0;
    overflow: visible;
    background: rgba(0, 0, 0, 0.97);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease, visibility 0.45s;
  }
  /* …et visible quand on appuie sur ☰ */
  .menu.ouvert .liens { opacity: 1; visibility: visible; }

  /* Les liens : grands, centrés, les uns sous les autres */
  .liens a,
  .liens .sous-menu-boite a {
    display: block;
    margin: 0;
    padding: 0.9rem 1rem;
    font-size: 1.05rem;
    letter-spacing: 0.25em;
    text-align: center;
    /* petite apparition en glissant vers le haut */
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.3s;
  }
  .menu.ouvert .liens a,
  .menu.ouvert .liens .sous-menu-boite a { opacity: 1; transform: none; }
  .menu.ouvert .liens a:nth-of-type(2) { transition-delay: 0.05s; }

  /* Équipement : un petit titre doré, puis Nutrition et Textile */
  .menu-deroulant { display: block; margin: 0.8rem 0; text-align: center; }
  .liens .menu-deroulant .declencheur { display: none; }
  .menu-deroulant::before {
    content: "Équipement";
    display: block;
    color: var(--or);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
  }
  .sous-menu, .sous-menu-boite { display: block; }
  /* Sur téléphone, un appui ne doit déclencher aucune animation du menu déroulant */
  .menu-deroulant:hover .sous-menu,
  .menu-deroulant:focus-within .sous-menu { transform: none; }
  .sous-menu, .liens .sous-menu-boite a { transition: opacity 0.5s ease, transform 0.5s ease; }
  .liens .sous-menu-boite a { font-size: 0.9rem; padding: 0.6rem 1rem; color: #ccc; }

  /* Quand le menu est ouvert, la page derrière ne défile plus */
  body.menu-ouvert { overflow: hidden; }
}

/* ============================================================
   BARRE FIXE EN BAS « APPELER / RENDEZ-VOUS » (téléphone uniquement)
   Elle est ajoutée automatiquement sur chaque page par menu.js.
   ============================================================ */
.barre-contact { display: none; }

@media (max-width: 700px) {
  .barre-contact {
    display: flex;
    gap: 0.6rem;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 9;                                  /* sous le menu ☰ ouvert (10), au-dessus du reste */
    padding: 0.6rem 0.8rem calc(0.6rem + env(safe-area-inset-bottom));   /* évite la barre de l'iPhone */
    background: rgba(0, 0, 0, 0.95);
    border-top: 1px solid var(--or-leger);
  }
  .barre-contact a {
    flex: 1;                                     /* les deux boutons se partagent la largeur */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 48px;                                /* assez haut pour le pouce */
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--or);
    color: var(--or);
  }
  .barre-contact a.plein { background: var(--or); color: #000; }   /* bouton principal, rempli */

  /* Petite icône de téléphone dessinée en CSS (pas d'image à charger) */
  .icone-tel {
    width: 14px; height: 14px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  /* La page garde de la place en bas pour que la barre ne cache rien */
  body.avec-barre { padding-bottom: 72px; }
  /* Le diaporama de l'accueil s'arrête au-dessus de la barre */
  body.avec-barre .diaporama { height: calc(100vh - 72px); }
}

/* Diaporamas : le navigateur laisse le doigt glisser à l'horizontale (géré par menu.js)
   tout en gardant le défilement vertical normal de la page */
.diaporama, .fiche-diapo, .carte-diapo { touch-action: pan-y; }

/* ============================================================
   CATALOGUE PLUS COMPACT SUR TÉLÉPHONE (velos.html)
   ============================================================ */
@media (max-width: 700px) {
  /* En-tête plus court */
  .entete-page { padding: 7rem 1.25rem 2rem; }
  .entete-page .titre-section { margin-bottom: 1rem; }
  .entete-page .intro { font-size: 0.95rem; line-height: 1.7; }

  /* Filtres : une seule ligne d'étiquettes qu'on fait glisser au doigt */
  .filtres {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 0.5rem;
    padding: 0 1.25rem 2rem;
    scrollbar-width: none;
  }
  .filtres::-webkit-scrollbar { display: none; }
  .filtre {
    flex-shrink: 0;                 /* une étiquette ne se tasse pas */
    padding: 0.7rem 1.1rem;         /* reste facile à toucher */
    font-size: 0.7rem;
    border-radius: 999px;           /* forme de pastille */
  }

  /* Cartes : moins d'espace et l'essentiel seulement */
  .catalogue { gap: 1rem; padding: 0 1rem 3rem; }
  .catalogue .carte-diapo { aspect-ratio: 16 / 10; }       /* photo un peu moins haute */
  .catalogue .carte-texte {
    padding: 1rem 1.1rem 1.2rem;
    text-align: left;
  }
  /* Marque et type sur une seule ligne : « DRALI MILANO · ROUTE · AÉRO » */
  .catalogue .carte-texte .sur-titre { display: inline; font-size: 0.65rem; margin: 0; }
  .catalogue .type-velo { display: inline; font-size: 0.65rem; }
  .catalogue .type-velo::before { content: " · "; color: #555; }
  /* Nom du modèle et prix */
  .catalogue .carte-texte h3 { font-size: 1.35rem; margin: 0.35rem 0 0.25rem; }
  .catalogue .carte-texte .prix { margin: 0; font-size: 0.95rem !important; color: #ccc !important; }
  /* Ce qu'on retire sur téléphone : la description et « Voir la fiche »
     (toute la carte est déjà un lien vers la fiche) */
  .catalogue .carte-texte > p:not(.sur-titre):not(.prix),
  .catalogue .lien-dore { display: none; }
}

/* ============================================================
   FINITIONS TÉLÉPHONE : tout ce qu'on touche fait au moins 44 px
   de haut (règle d'Apple), aucun texte sous 12 px, contrastes lisibles.
   ============================================================ */
.mention { color: #888; }                       /* texte légal un peu plus lisible (partout) */

@media (max-width: 700px) {
  /* Liens texte : zone de toucher agrandie sans changer leur apparence */
  .retour,
  .lien-externe,
  .bloc .lien-dore {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .retour { margin-top: 1.5rem; }
  .contact-bloc a { display: inline-block; padding: 0.8rem 0.5rem; }   /* téléphone, e-mail, Instagram… */

  /* Filtres du catalogue : un peu plus hauts et lisibles */
  .filtre { min-height: 44px; font-size: 0.75rem; }

  /* Mini-flèches des cartes : la taille d'un doigt */
  .mini-fleche { width: 44px; height: 44px; }

  /* Petites lignes « MARQUE · TYPE » du catalogue : 12 px minimum */
  .catalogue .carte-texte .sur-titre,
  .catalogue .type-velo { font-size: 0.75rem; }
}

/* ============================================================
   PAGES NUTRITION ET TEXTILE
   ============================================================ */
/* Deux colonnes inversées : texte à gauche, photo à droite */
.deux-colonnes.inverse img { order: 2; }

/* Visuel encadré (ex. la tenue du Studio) : centré, avec un fin cadre doré */
.visuel-cadre {
  max-width: 520px;
  margin: 0 auto 2.5rem;
  border: 1px solid var(--or-leger);
  padding: 1rem;
}
.visuel-cadre img { width: 100%; display: block; }

@media (max-width: 1000px) {
  .deux-colonnes.inverse img { order: 0; }   /* sur petit écran : la photo toujours au-dessus */
}

/* ============================================================
   BANDEAU DES MARQUES (accueil)
   Tous les logos sont rendus en blanc (quelle que soit leur couleur d'origine)
   puis atténués en gris clair : un rendu propre, sans couleurs parasites.
   ============================================================ */
.marques {
  padding: 4.5rem 2rem;
  text-align: center;
  border-top: 1px solid #1a1a1a;
}
.marques .sur-titre { margin-bottom: 2.5rem; }
.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem 2.5rem;            /* espace vertical / horizontal entre les logos */
  max-width: 1300px;
  margin: 0 auto;
}
.logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  opacity: 0.55;                 /* gris clair au repos */
  transition: opacity 0.4s;
}
.logos a:hover { opacity: 1; }   /* blanc pur au survol */
.logos img {
  height: 22px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: brightness(0) invert(1);   /* transforme n'importe quel logo en blanc */
}
.logos img.haut { height: 29px; }    /* logos fins : un peu plus grands pour le même poids visuel */
/* Marques dont on n'a pas encore le logo : nom écrit sobrement, à remplacer */
.logo-texte {
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .marques { padding: 3.5rem 1rem; }
  .logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);   /* 3 x 3 : une grille bien rangée */
    gap: 1.8rem 1rem;
  }
  .logos img { height: 20px; max-width: 100%; }
  .logos img.haut { height: 26px; }
  .logo-texte { font-size: 0.75rem; letter-spacing: 0.12em; white-space: normal; }   /* 12 px minimum */
}

/* ============================================================
   COLORIS CLIQUABLES (fiches) : choisir une couleur change les photos
   ============================================================ */
.fiche-diapo img.hors-coloris { display: none; }                  /* photos des autres coloris */
.fiche-diapo.une-seule-photo .fleche,
.fiche-diapo.une-seule-photo .points { display: none; }           /* rien à faire défiler */
.coloris button {
  background: transparent;
  border: 1px solid #333;
  color: #ccc;
  padding: 0.5rem 1rem;
  font-family: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}
.coloris button:hover { border-color: #777; color: #fff; }
.coloris button.actif { border-color: var(--or); color: var(--or); }   /* coloris choisi */
.consigne-coloris {
  color: #777;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 2.5rem 0 0;
}
.consigne-coloris + .coloris { margin-top: 0.8rem; }
@media (max-width: 700px) {
  .coloris button { min-height: 44px; }
}

/* Bandeau du choix des coloris, collé sous les photos de la fiche */
.choix-coloris {
  text-align: center;
  padding: 1.5rem 1rem 0.5rem;
  border-bottom: 1px solid #1a1a1a;
}
.choix-coloris .consigne-coloris { margin: 0; }
.choix-coloris .coloris {
  justify-content: center;
  margin: 0.8rem 0 1rem;
}

/* Pastilles de couleur : un échantillon de la vraie peinture (fiches Drali) */
.coloris .avec-pastille {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.pastille {
  width: 18px;
  height: 18px;
  border-radius: 50%;                    /* petit rond */
  background-size: 260% auto;            /* on zoome sur la partie peinte de l'échantillon */
  background-position: 70% 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

/* Photos catalogue sur fond blanc : on montre le vélo en entier (sans le recadrer) */
.fiche-diapo img[data-fond="blanc"] { object-fit: contain; background: #fff; }


/* ============================================================
   TYPOGRAPHIE : titres en Cormorant Garamond, le reste en Montserrat
   ============================================================ */
h1, h2, h3,
.slogan, .titre-section, .citation, .bandeau h1, .fiche h1,
.etape-numero, .chiffre strong, .fiche-prix, .carte-texte h3, .bloc h3 {
  font-family: var(--police-titre);
  font-weight: 500;
  letter-spacing: 0.01em;
}
/* Cormorant est plus petite que Georgia à taille égale : on agrandit un peu les titres */
.slogan { font-size: 3.6rem; line-height: 1.1; }
.titre-section { font-size: 3rem; line-height: 1.15; }
.bandeau h1 { font-size: 4.2rem; line-height: 1.05; }
.fiche h1 { font-size: 4.2rem; line-height: 1; }
.carte-texte h3 { font-size: 1.8rem; }
.bloc h3 { font-size: 2rem; }
.etape h3 { font-size: 1.6rem; }
.citation { font-size: 1.8rem; font-style: italic; font-weight: 400; }
.fiche-prix { font-size: 1.8rem; }
.etape-numero { font-size: 4rem; font-weight: 400; }
.chiffre strong { font-size: 3.2rem; font-weight: 400; }

/* Petites capitales (menu, boutons, sur-titres…) : Montserrat, un peu plus appuyée */
.liens a, .bouton, .sur-titre, .marque, .lien-dore, .filtre, .type-velo,
.petit-titre, .consigne-coloris, .caracteristiques dt, .retour, .rdv-infos,
.lien-externe, .barre-contact a, .coloris button, .coloris span {
  font-family: var(--police-texte);
  font-weight: 500;
}
.liens a { font-size: 0.78rem; }
.bouton { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.18em; }
.caracteristiques dd { font-weight: 400; }

@media (max-width: 1000px) {
  .liens a { font-size: 0.66rem; }
}
@media (max-width: 700px) {
  .slogan { font-size: 2.5rem; }
  .titre-section { font-size: 2.2rem; }
  .bandeau h1 { font-size: 2.8rem; }
  .fiche h1 { font-size: 3rem; }
  .citation { font-size: 1.45rem; }
  .bloc h3 { font-size: 1.7rem; }
  .liens a, .liens .sous-menu-boite a { font-size: 1.05rem; }   /* menu ☰ plein écran */
  .liens .sous-menu-boite a { font-size: 0.9rem; }
}

/* ============================================================
   C. FOND DE PAGE : texture de sable noir, fixe derrière tout le site
   Un voile noir léger par-dessus la photo garde les textes bien lisibles.
   Le calque est fixe : le texte défile par-dessus, la texture ne bouge pas.
   ============================================================ */
body { background-color: #000; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -10;                       /* tout au fond, derrière le contenu */
  pointer-events: none;
  /* fond-sable-clair.jpg = la même texture de sable, éclaircie en gris ardoise.
     (L'ancienne version très noire reste disponible : fond-sable.jpg) */
  background: #444 url(images/fonds/fond-sable-clair.jpg) center / cover no-repeat;
}
/* Les grandes zones pleine largeur laissent voir le fond (au lieu d'un noir plat) */
.contact-bloc, .bloc { background: rgba(0, 0, 0, 0.55); }

/* ============================================================
   D. PIED DE PAGE
   ============================================================ */
.pied-de-page {
  border-top: 1px solid var(--or-leger);
  padding: 5rem 3rem 2.5rem;
  color: #999;
  font-size: 0.85rem;
  line-height: 1.8;
}
.pied-haut {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  max-width: 1200px;
  margin: 0 auto 3.5rem;
}
.pied-logo .logo-img { height: 72px; }
.pied-slogan {
  font-family: var(--police-titre);
  font-style: italic;
  font-size: 1.5rem;
  color: #ddd;
  margin: 0;
}
.pied-colonnes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.pied-colonnes p { margin: 0 0 0.4rem; }
.pied-colonnes .sur-titre { margin-bottom: 1rem; }
.pied-de-page a { color: #ccc; text-decoration: none; transition: color 0.3s; }
.pied-de-page a:hover { color: var(--or); }
.pied-note { color: #888; font-size: 0.78rem; }
.pied-bas {
  max-width: 1200px;
  margin: 4rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid #1a1a1a;
  color: #777;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
@media (max-width: 1000px) {
  .pied-colonnes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .pied-de-page { padding: 3.5rem 1.5rem 2rem; text-align: center; }
  .pied-haut { flex-direction: column; gap: 1rem; margin-bottom: 2.5rem; }
  .pied-slogan { font-size: 1.3rem; }
  .pied-colonnes { grid-template-columns: 1fr; gap: 2rem; }
  .pied-de-page a { display: inline-block; padding: 0.55rem 0; }   /* zone de toucher plus grande */
  .pied-bas { margin-top: 2.5rem; }
}

/* ============================================================
   E. APPARITION AU DÉFILEMENT (classes ajoutées par menu.js)
   ============================================================ */
.apparition {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);   /* rapide et discret */
}
.apparition.apparu { opacity: 1; transform: none; }

/* ============================================================
   H. INTRO DU LOGO (accueil, 1re visite)
   ============================================================ */
.intro-logo { display: none; }
html.avec-intro .intro-logo {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 100;                       /* au-dessus de tout */
  background: #000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 1.3s ease;     /* fondu de sortie, en douceur */
  cursor: pointer;
}
html.avec-intro body { overflow: hidden; }
html.intro-finie .intro-logo { opacity: 0; pointer-events: none; }
.intro-k { width: 96px; height: auto; overflow: visible; }
.intro-k line {
  stroke: var(--or);
  stroke-width: 34;
  stroke-linecap: square;
  stroke-dasharray: 1100;             /* le trait est « caché »… */
  stroke-dashoffset: 1100;
  animation: dessiner-trait 1.6s cubic-bezier(0.6, 0, 0.2, 1) forwards;   /* …puis se dessine (lentement) */
}
.intro-k line:nth-child(2) { animation-delay: 0.25s; }
.intro-k line:nth-child(3) { animation-delay: 0.55s; }
.intro-k line:nth-child(4) { animation-delay: 0.8s; }
.intro-k line:nth-child(5) { animation-delay: 1.1s; }
.intro-k line:nth-child(6) { animation-delay: 1.35s; }
@keyframes dessiner-trait { to { stroke-dashoffset: 0; } }
.intro-nom, .intro-sous-titre {
  color: var(--or);
  font-family: var(--police-texte);
  text-transform: uppercase;
  margin: 0;
  opacity: 0;
  animation: apparaitre 1.1s ease 2.3s forwards;
}
.intro-nom { font-size: 2rem; font-weight: 600; letter-spacing: 0.35em; margin: 1.6rem 0 0.2rem 0.35em; }
.intro-sous-titre { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.45em; margin-left: 0.45em; animation-delay: 2.7s; }
@keyframes apparaitre { to { opacity: 1; } }

/* ============================================================
   CORRECTIF : menu ☰ fermé sur téléphone
   Les liens Nutrition / Textile restaient « visibles » pour le doigt
   (même invisibles à l'œil) et interceptaient les appuis au milieu de l'écran.
   Menu fermé = plus aucun lien du menu ne peut être touché.
   ============================================================ */
@media (max-width: 700px) {
  .menu:not(.ouvert) .liens,
  .menu:not(.ouvert) .liens * {
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* Sécurité : quoi qu'il arrive, l'intro disparaît d'elle-même au bout de 7 s
   (même si le petit programme ne s'exécutait pas) */
html.avec-intro .intro-logo { animation: fin-intro-securite 0.8s ease 7s forwards; }
@keyframes fin-intro-securite { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* CORRECTIF : dans le diaporama de l'accueil, seules les commandes de la photo affichée
   peuvent être touchées (sinon « Découvrir » ouvrait parfois la fiche d'un autre vélo) */
.diapo { pointer-events: none; }
.diapo.visible { pointer-events: auto; }

/* ============================================================
   AVIS CLIENTS (accueil)
   ============================================================ */
.avis {
  padding: 6rem 2rem;
  text-align: center;
  border-top: 1px solid #1a1a1a;
}
.avis-note {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin: 1.5rem 0 3.5rem;
}
.avis-chiffre {
  font-family: var(--police-titre);
  font-size: 4.5rem;
  line-height: 1;
  color: #fff;
}
.avis-etoiles { color: var(--or); font-size: 1.2rem; letter-spacing: 0.35em; margin-left: 0.35em; }
.avis-nombre { color: #999; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; }
.avis-liste {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto 3rem;
}
.avis-carte {
  margin: 0;
  padding: 2.2rem 2rem;
  border: 1px solid #222;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.avis-carte p {
  font-family: var(--police-titre);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.5;
  color: #e6e6e6;
  margin: 0 0 1.5rem;
}
.avis-carte footer {
  color: var(--or);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.lien-avis { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 800px) {
  .avis { padding: 4.5rem 0; }
  /* Sur téléphone : les avis forment une ligne qu'on fait glisser au doigt */
  .avis-liste {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 0 1.5rem;
    scrollbar-width: none;
  }
  .avis-liste::-webkit-scrollbar { display: none; }
  .avis-carte { flex: 0 0 82%; scroll-snap-align: center; padding: 1.8rem 1.5rem; }
  .avis-carte p { font-size: 1.25rem; }
  .avis-chiffre { font-size: 3.6rem; }
}

/* Rappel discret de la note Google (page Rendez-vous) */
.note-google {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  margin-top: 1rem;
  color: #aaa;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: color 0.3s;
}
.note-google:hover { color: #fff; }
.note-google .avis-etoiles { font-size: 0.9rem; letter-spacing: 0.15em; margin: 0; }

/* ============================================================
   PRODUITS NUTRITION (nutrition.html) : photo à gauche, texte et goûts à droite
   ============================================================ */
.produit {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto 6rem;
  text-align: left;
}
.produit.inverse .produit-visuel { order: 2; }
.produit-visuel {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #fff;                        /* les sachets sont photographiés sur fond blanc */
  overflow: hidden;
}
.produit-visuel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.produit-visuel img.ambiance { object-fit: cover; }   /* photo d'ambiance : remplit le carré */
.produit-visuel img.visible { opacity: 1; }
.produit-texte h3 { font-size: 2.4rem; margin: 0.3rem 0 1rem; }
.produit-texte .texte { color: #aaa; line-height: 1.8; margin: 0 0 1.5rem; }
.produit-infos {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.8rem;
  color: #999;
  font-size: 0.85rem;
}
.produit-infos strong { color: var(--or); font-weight: 500; }
.produit-texte .consigne-coloris { margin: 0 0 0.8rem; }
.gouts { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.gouts button {
  background: transparent;
  border: 1px solid #333;
  color: #ccc;
  padding: 0.5rem 0.9rem;
  font-family: var(--police-texte);
  font-size: 0.78rem;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}
.gouts button:hover { border-color: #777; color: #fff; }
.gouts button.actif { border-color: var(--or); color: var(--or); }

@media (max-width: 800px) {
  .produit { grid-template-columns: 1fr; gap: 1.8rem; margin-bottom: 4.5rem; }
  .produit.inverse .produit-visuel { order: 0; }   /* sur téléphone : la photo toujours au-dessus */
  .produit-texte h3 { font-size: 2rem; }
  .gouts button { min-height: 44px; }
}

/* ============================================================
   D. CADRES NOIRS ÉPAIS : sur le fond gris ardoise, les encadrés
   (avis, cartes du catalogue, blocs de contact et d'équipement)
   ont un bord noir de 3 pixels pour bien ressortir.
   Pour changer l'épaisseur partout : modifier --bord-cadre.
   ============================================================ */
:root { --bord-cadre: 3px; }
.avis-carte, .carte { border: var(--bord-cadre) solid #000; }
.contact, .blocs {
  gap: var(--bord-cadre);
  background: #000;                     /* l'espace entre les blocs forme les lignes noires */
  border: var(--bord-cadre) solid #000;
}

/* ============================================================
   E. POLICE PLUS ÉPAISSE pour la lisibilité (surtout sur téléphone
   et sur le fond gris) : chaque texte passe d'un cran au-dessus.
   Échelle : 400 = normal, 500 = moyen, 600 = demi-gras.
   ============================================================ */
body { font-weight: 400; }                       /* textes : normal (au lieu de fin) */
h1, h2, h3,
.slogan, .titre-section, .bandeau h1, .fiche h1,
.fiche-prix, .carte-texte h3, .bloc h3 { font-weight: 600; }   /* titres : demi-gras */
.citation, .etape-numero, .chiffre strong,
.caracteristiques dd { font-weight: 500; }
.etape h3, .bloc h3 { font-weight: 600; }

/* ============================================================
   F. BOUTONS : un vrai rectangle, même quand le texte passe sur deux lignes
   (sinon le cadre doré se coupe en morceaux).
   ============================================================ */
.bouton {
  display: inline-block;
  box-sizing: border-box;
  max-width: 100%;
  text-align: center;
  line-height: 1.6;
}

/* ============================================================
   G. CARTES VÉLO (catalogue) : un voile blanc léger, un peu opaque,
   en plus du cadre noir, pour que chaque vélo ressorte du fond.
   Plus le dernier chiffre est grand, plus le voile est blanc (0 à 1).
   ============================================================ */
.carte { background: rgba(255, 255, 255, 0.1); }

/* ============================================================
   H. MENU LISIBLE SUR PHOTO CLAIRE : en haut de page (avant de défiler),
   un dégradé sombre plus marqué derrière le menu et une légère ombre
   sous les lettres, pour que les liens (surtout le doré) restent lisibles.
   ============================================================ */
.menu:not(.fond-noir) {
  background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.55) 65%, transparent);
}
.menu:not(.fond-noir) .liens > a,
.menu:not(.fond-noir) .declencheur {
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}

/* ============================================================
   I. LES 4 ÉTAPES (page Le studio) : chaque étape dans son propre cadre,
   comme les cartes vélo (bord noir épais + voile blanc léger),
   avec un bord doré au survol de la souris.
   ============================================================ */
.etapes { gap: 1.5rem; }
.etape {
  border: var(--bord-cadre) solid #000;
  background: rgba(255, 255, 255, 0.1);
  padding: 2.2rem 2rem;
  transition: border-color 0.4s;
}
.etape:hover { border-color: var(--or); }
@media (max-width: 700px) {
  .etapes { gap: 1.25rem; }
  .etape { padding: 1.8rem 1.5rem; }
}

/* ============================================================
   K. BLOCS (marques, équipement) : fond noir conservé,
   cadre doré au survol, comme les cartes vélo et les étapes.
   ============================================================ */
.bloc { transition: box-shadow 0.4s; }
.bloc:hover { box-shadow: inset 0 0 0 var(--bord-cadre) var(--or); }
