/* American Machines Import – feuille de style unique, sans dépendance */

@font-face {
  font-family: 'Open Sans';
  src: url('fonts/open-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --fond: #1f1f1f;
  --fond-2: #161616;
  --fond-3: #2a2a2a;
  --noir: #111111;
  --texte: #f2f0ec;
  --texte-2: #b9b5ae;
  --ligne: #3a3a3a;
  --orange: #c65d1e;
  --orange-clair: #e8823f;
  --vert: #6fbf73;
  --rayon: 20px;
  --largeur: 1760px;      /* le contenu suit la largeur de l'écran ; les textes et formulaires restent en largeur de lecture */
  --lecture: 1200px;
  --rythme: clamp(48px, 5vw, 88px); /* même espace entre toutes les sections de l'accueil */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--fond); color: var(--texte);
  font: 400 17px/1.6 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-clair); text-underline-offset: 3px; }
a:hover { color: #fff; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; font-weight: 600; }
h1 { font-size: clamp(28px, 4.5vw, 40px); }
h2 { font-size: clamp(24px, 3.5vw, 34px); font-weight: 500; }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
.sr, .piege { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: -999px; top: 0; background: #fff; color: #000; padding: 8px 12px; z-index: 100; }
.evitement:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--orange-clair); outline-offset: 2px; }

.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .conteneur { padding: 0 24px; } }
@media (min-width: 1200px) { .conteneur { padding: 0 clamp(24px, 3.5vw, 64px); } }
.conteneur--lecture { max-width: var(--lecture); }

.icone { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }

/* ---------- Boutons */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--orange); color: #fff; border: 2px solid var(--orange);
  font-family: inherit; font-weight: 500; font-size: 18px; line-height: 1.2; text-decoration: none; text-transform: uppercase; letter-spacing: .02em;
  padding: 12px 26px; border-radius: var(--rayon); cursor: pointer; transition: background .15s, border-color .15s;
}
.bouton:hover { background: #a94c14; border-color: #a94c14; color: #fff; }
.bouton--contour { background: transparent; color: var(--texte); border-color: var(--ligne); text-transform: none; font-size: 17px; }
.bouton--contour:hover { background: var(--fond-3); border-color: var(--texte-2); }

/* ---------- En-tête */
.bandeau { background: #000; font-size: 14px; border-bottom: 1px solid #1c1c1c; }
.bandeau__int { display: flex; justify-content: space-between; align-items: center; min-height: 36px; }
.bandeau__tel { color: var(--texte); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.reseaux { display: flex; gap: 14px; }
.reseaux a { color: var(--texte); display: inline-flex; }
.reseaux a:hover { color: var(--orange-clair); }
.reseaux .icone { width: 20px; height: 20px; }

.entete { background: #000; box-shadow: 0 6px 18px rgba(0,0,0,.55); position: sticky; top: 0; z-index: 20; }
.entete__int { display: flex; align-items: center; justify-content: space-between; min-height: 104px; gap: 24px; }
.logo img { width: 156px; height: auto; display: block; }
.menu { display: flex; gap: 4px; }
.menu a { color: #fff; text-decoration: none; padding: 10px 14px; font-size: 18px; font-weight: 600; letter-spacing: .01em; border-bottom: 2px solid transparent; }
.menu a:hover { color: var(--orange-clair); }
.menu a[aria-current="page"] { color: var(--orange-clair); border-bottom-color: var(--orange-clair); }
.menu-bouton { display: none; background: none; border: 0; color: var(--texte); padding: 8px; cursor: pointer; }
.menu-bouton .icone { width: 30px; height: 30px; }
.menu-bouton .fermer { display: none; }

@media (max-width: 1000px) {
  .logo img { width: 112px; }
  .entete__int { min-height: 80px; }
  .menu-bouton { display: block; }
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; background: var(--noir); padding: 8px 16px 20px; border-bottom: 1px solid var(--ligne);
  }
  .menu a { padding: 14px 4px; font-size: 19px; border-bottom: 1px solid #222; border-radius: 0; }
  .menu-ouvert .menu { display: flex; }
  .menu-ouvert .menu-bouton .ouvrir { display: none; }
  .menu-ouvert .menu-bouton .fermer { display: inline; }
}

/* ---------- Accueil */
/* Bandeau d'accueil. Photo 3:2 (fond noir, moto centrée) en fond, texte centré par-dessus : titre en haut, bouton en bas.
   Mobile / tablette (< 860 px) : deux couches. La photo floutée et assombrie (.heros__fond) remplit tout le bandeau ;
   la même photo nette et entière (.heros__moto) est calée en bas, le texte occupe la partie haute.
   Ordinateur : une seule couche, bandeau de 58 % de la largeur (plafonné à 88 % de la hauteur d'écran), cadrage qui
   ne rogne que le noir du haut et le sol du bas, la moto reste entière. */
.heros { position: relative; display: flex; overflow: hidden; background: #050505; }
.heros__fond { position: absolute; inset: -30px; background-size: cover; background-position: center 78%; background-repeat: no-repeat; filter: blur(26px) brightness(.55) saturate(.8); }
.heros__moto { position: absolute; left: 0; right: 0; bottom: 0; aspect-ratio: 3 / 2; background-size: contain; background-position: center bottom; background-repeat: no-repeat; z-index: 1;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%); mask-image: linear-gradient(180deg, transparent, #000 22%); }
.heros::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 40%); pointer-events: none; }
/* Tablette : le texte chevauche le haut de la photo nette (zone noire du studio, au-dessus de la moto) : la photo
   fait 66,7 vw de haut, on n'en réserve que 47 vw sous le texte. */
.heros__texte { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; align-self: stretch; padding-top: 30px; padding-bottom: 47vw; }
/* Téléphone (< 600 px) : tout le texte est posé sur la photo. La photo nette est élargie à 122 % de l’écran (la moto
   occupe 76 % de la largeur de l'image : elle reste entière), calée en bas ; le bandeau ne fait que la hauteur du texte
   et un voile sombre garde le bouton lisible sur la moto. */
@media (max-width: 599px) {
  .heros__texte { padding-top: 28px; padding-bottom: 30px; }
  .heros .heros__haut h1 { font-size: 34px; }
  .heros__moto { left: 50%; right: auto; width: 122vw; bottom: 50%; transform: translate(-50%, 50%); /* image centrée dans la hauteur du bandeau */
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%); mask-image: linear-gradient(180deg, transparent, #000 30%); }
  .heros::before { background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,.45) 100%); z-index: 1; }
  .heros__moto { z-index: 0; }
  .heros__fond { z-index: 0; }
}
.heros__haut, .heros__bas { display: flex; flex-direction: column; align-items: center; text-align: center; }
.heros__bas { margin-top: 26px; }
.heros__sur { margin: 0 0 10px; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--texte-2); }
.heros h1 { color: #fff; margin: 0; font-size: clamp(38px, 6vw, 76px); line-height: 1.02; letter-spacing: -.015em; font-weight: 700; text-wrap: balance; text-shadow: 0 4px 30px rgba(0,0,0,.7); }
.heros__sous { font-size: clamp(17px, 1.7vw, 22px); color: #e6e2dc; max-width: 28em; margin: 14px 0 0; text-wrap: balance; text-shadow: 0 2px 14px rgba(0,0,0,.8); }
.heros .bouton { font-size: 18px; letter-spacing: .08em; padding: 16px 40px; box-shadow: 0 12px 34px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08) inset; }
.heros__note { margin: 14px 0 0; font-size: 14px; color: var(--texte-2); letter-spacing: .02em; text-shadow: 0 1px 8px rgba(0,0,0,.8); }
.heros__note a { color: var(--texte); text-decoration: none; white-space: nowrap; }
@media (min-width: 860px) {
  .heros { min-height: min(58vw, 88vh); }
  .heros__fond { inset: 0; filter: none; background-position: center 45%; }
  .heros__moto { display: none; }
  .heros::before { background: linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.2) 45%, rgba(0,0,0,.7) 100%); }
  .heros__texte { justify-content: space-between; padding-top: 40px; padding-bottom: 36px; }
  .heros__bas { margin-top: 0; }
}

.intro p { margin: 0; }
.intro { text-align: center; color: #e6e2dc; padding-top: var(--rythme); padding-bottom: 0; font-size: 20px; line-height: 1.55; max-width: 40em; margin: 0 auto; text-wrap: balance; }

.section { padding-top: var(--rythme); padding-bottom: 0; }
.section__tete { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 26px; }
.section__tete h2 { margin: 0; }
.lien-fleche { white-space: nowrap; font-weight: 600; text-decoration: none; }
.lien-fleche::after { content: ' →'; }

.services { background: var(--fond-2); margin-top: var(--rythme); padding: var(--rythme) 0; border-top: 1px solid #000; border-bottom: 1px solid #000; }
.services__grille { display: grid; gap: 36px 44px; }
@media (min-width: 1200px) { .services__grille { gap: 40px 56px; } }
.services h3 { font-size: 21px; margin-bottom: 10px; }
.services p { font-size: 17px; line-height: 1.65; }
@media (min-width: 600px) { .services__grille { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services__grille { grid-template-columns: repeat(4, 1fr); } }
.services h3 { color: var(--orange-clair); }
.services p { color: var(--texte-2); margin: 0; }

.temoignages { padding-bottom: var(--rythme); }
.temoignage { margin: 0; max-width: 760px; border-left: 3px solid var(--orange); padding: 4px 0 4px 20px; }
.temoignage p { font-size: 19px; font-style: italic; }
.temoignage footer { color: var(--texte-2); font-size: 15px; }
.temoignages__plus { margin-top: 20px; color: var(--texte-2); }

/* ---------- Cartes moto */
.grille { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
@media (min-width: 1200px) { .grille { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Deux motos : deux colonnes larges */
@media (min-width: 700px) { .grille--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grille--2 .carte h3 { font-size: 22px; } .grille--2 .carte__prix { font-size: 26px; } }
/* Une seule moto : en vedette, photo à gauche, texte à droite */
.grille--1 { grid-template-columns: 1fr; max-width: 1400px; margin: 0 auto; }
.carte__dispo { color: var(--vert); font-size: 15px; font-weight: 600; margin: 10px 0 0; }
.carte__dispo--reservee { color: var(--orange-clair); }
.carte__voir { margin-top: 22px; font-size: 16px; }
.grille--1 .carte__texte { padding: 22px 20px 26px; }
.grille--1 .carte h3 { font-size: 24px; line-height: 1.15; margin-bottom: 8px; }
.grille--1 .carte__resume { font-size: 16px; }
.grille--1 .carte__prix { font-size: 28px; margin-top: 14px; }
/* Sous 760 px : nom, caractéristiques et prix au-dessus de la photo, bouton dessous (même ordre que le bandeau) */
@media (max-width: 759px) {
  .grille--1 .carte__lien { display: flex; flex-direction: column; }
  .grille--1 .carte__texte { display: contents; }
  .grille--1 .carte h3 { order: 1; padding: 22px 20px 0; }
  .grille--1 .carte__resume { order: 2; padding: 0 20px; }
  .grille--1 .carte__prix { order: 3; padding: 0 20px; }
  .grille--1 .carte__dispo { order: 4; padding: 0 20px 20px; margin-top: 8px; }
  .grille--1 .carte__photo { order: 5; }
  .grille--1 .carte__voir { order: 6; margin: 20px 20px 24px; align-self: center; }
}
@media (min-width: 760px) {
  .grille--1 .carte__lien { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .grille--1 .carte__texte { padding: 36px 40px; align-self: center; }
  .grille--1 .carte h3 { font-size: 30px; }
  .grille--1 .carte__resume { font-size: 17px; }
  .grille--1 .carte__prix { font-size: 34px; margin-top: 18px; }
  .grille--1 .carte__voir { margin-top: 26px; }
}
.carte { background: var(--fond-2); border-radius: 10px; overflow: hidden; border: 1px solid #000; transition: transform .15s, border-color .15s; }
.carte:hover { transform: translateY(-2px); border-color: var(--ligne); }
.carte__lien { color: inherit; text-decoration: none; display: block; height: 100%; }
.carte__photo { position: relative; aspect-ratio: 4 / 3; background: #000; }
.carte__photo img { width: 100%; height: 100%; object-fit: cover; }
.carte__texte { padding: 16px 18px 20px; }
.carte h3 { font-size: 19px; margin: 0 0 6px; text-transform: none; }
.carte__resume { color: var(--texte-2); font-size: 15px; margin: 0; }
.carte__prix { font-weight: 700; margin: 10px 0 0; font-size: 23px; letter-spacing: -.01em; }

.badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.badge--vendue { background: #fff; color: #111; }
.badge--reservee { background: var(--orange); color: #fff; }

.vide { background: var(--fond-2); padding: 20px; border-radius: 10px; color: var(--texte-2); }

/* ---------- Pages intérieures */
.page { padding-top: 32px; padding-bottom: 56px; }
.page--etroite { max-width: 820px; }
.chapeau { color: var(--texte-2); font-size: 18px; max-width: 46em; margin-bottom: 28px; }
.encart { margin-top: 48px; background: var(--fond-2); border-radius: 12px; padding: 28px; text-align: center; }
.encart h2 { font-size: 24px; }
.encart p { color: var(--texte-2); }
.petit { font-size: 14px; color: var(--texte-2); }
.titre-petit { font-size: 20px; font-weight: 600; margin-top: 28px; }
.texte-legal h2 { font-size: 21px; font-weight: 600; margin-top: 1.6em; }
.texte-legal p, .texte-legal li { color: #dcd9d3; }

.ariane { font-size: 14px; color: var(--texte-2); margin-bottom: 20px; }
.ariane a { color: var(--texte-2); }

/* ---------- Fiche moto */
.fiche__haut { display: grid; gap: 32px; }
@media (min-width: 960px) { .fiche__haut { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: start; } }
.galerie__principale { position: relative; display: block; aspect-ratio: 4 / 3; background: #000; border-radius: 10px; overflow: hidden; }
.galerie__principale img { width: 100%; height: 100%; object-fit: cover; }
.galerie__compte { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.7); color: #fff; font-size: 13px; padding: 4px 10px; border-radius: 999px; }
.galerie__vignettes { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
.galerie__vignettes a { display: block; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; opacity: .8; }
.galerie__vignettes a:hover, .galerie__vignettes a.actif { opacity: 1; outline: 2px solid var(--orange); }
.galerie__vignettes img { width: 100%; height: 100%; object-fit: cover; }
.galerie__vignettes li:nth-child(n+13) { display: none; }
.galerie--tout .galerie__vignettes li { display: block; }
.galerie__plus { margin-top: 10px; background: none; border: 1px solid var(--ligne); color: var(--texte); padding: 8px 14px; border-radius: 999px; cursor: pointer; font: inherit; font-size: 14px; }
/* Sur une colonne (mobile, tablette) : les vignettes tiennent sur une rangée qui défile latéralement,
   pour que le titre et le prix restent juste sous la grande photo. */
@media (max-width: 959px) {
  .galerie { min-width: 0; }
  .galerie__vignettes { display: flex; max-width: 100%; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .galerie__vignettes li, .galerie__vignettes li:nth-child(n+13) { display: block; flex: 0 0 96px; scroll-snap-align: start; }
  .galerie__plus { display: none; }
}

.fiche h1 { margin-bottom: 4px; }
.fiche__annee { color: var(--texte-2); margin-bottom: 12px; }
.fiche__prix { font-size: 30px; font-weight: 700; margin: 0 0 8px; }
.fiche__prix small { font-size: 15px; font-weight: 400; color: var(--texte-2); }
.etat { font-weight: 600; margin-bottom: 16px; }
.etat--dispo { color: var(--vert); }
.etat--reservee { color: var(--orange-clair); }
.etat--vendue { color: var(--texte-2); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }

.caracteristiques { width: 100%; border-collapse: collapse; font-size: 15px; }
.caracteristiques th, .caracteristiques td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.caracteristiques th { font-weight: 400; color: var(--texte-2); width: 50%; padding-right: 12px; }
.caracteristiques td { font-weight: 600; }
.documents { list-style: none; padding: 0; margin: 16px 0 0; }

.fiche__description { max-width: 820px; margin-top: 40px; }
.fiche__description p { color: #e2dfda; }

.reservation { margin-top: 48px; background: var(--fond-2); border-radius: 12px; padding: 28px 20px; max-width: 820px; border: 1px solid #000; scroll-margin-top: 90px; }
@media (min-width: 700px) { .reservation { padding: 32px; } }
.etapes { padding-left: 1.3em; color: var(--texte-2); margin-bottom: 24px; }
.etapes strong { color: var(--texte); }

/* ---------- Formulaires */
.formulaire { display: grid; gap: 16px; }
.formulaire label { display: grid; gap: 6px; font-size: 15px; font-weight: 600; }
.formulaire input, .formulaire textarea, .formulaire select {
  width: 100%; font: inherit; font-weight: 400; color: var(--texte); background: var(--fond);
  border: 1px solid var(--ligne); border-radius: 8px; padding: 11px 12px;
}
.formulaire input:focus, .formulaire textarea:focus, .formulaire select:focus { border-color: var(--orange-clair); outline: none; }
.formulaire input[type=file] { padding: 10px; }
.formulaire .bouton { justify-self: start; }
.deux { display: grid; gap: 16px; }
@media (min-width: 640px) { .deux { grid-template-columns: 1fr 1fr; } }
.formulaire label.case { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.case input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--orange); }
.formules { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .formules { grid-template-columns: 1fr 1fr; } }
.formules legend { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.formulaire label.formule { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--ligne); border-radius: 10px; padding: 14px; cursor: pointer; font-weight: 400; }
.formule:has(input:checked) { border-color: var(--orange); background: rgba(198,93,30,.08); }
.formule input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--orange); }
.formule small { color: var(--texte-2); }
.moto-liee { background: var(--fond); padding: 10px 14px; border-radius: 8px; margin: 0; }

.alerte { border-radius: 10px; padding: 16px 18px; margin-bottom: 20px; }
.alerte p:last-child, .alerte ul { margin-bottom: 0; }
.alerte--ok { background: rgba(111,191,115,.12); border: 1px solid rgba(111,191,115,.5); }
.alerte--erreur { background: rgba(220,80,60,.12); border: 1px solid rgba(220,80,60,.6); }

/* ---------- Contact */
.contact { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.4fr; } }
.contact h2 { font-size: 24px; font-weight: 600; }
.contact h3 { margin-top: 28px; font-size: 17px; }
.contact__form { background: var(--fond-2); border-radius: 12px; padding: 24px 20px; border: 1px solid #000; }
@media (min-width: 700px) { .contact__form { padding: 32px; } }
.coordonnees { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.coordonnees li { display: flex; gap: 10px; align-items: flex-start; }
.coordonnees .icone { color: var(--orange-clair); margin-top: .25em; }
.coordonnees a { color: var(--texte); overflow-wrap: anywhere; }
.pied .coordonnees a { overflow-wrap: anywhere; }
.pied .coordonnees a[href^="tel:"] { white-space: nowrap; }
.coordonnees--grandes { font-size: 18px; }
.horaires { border-collapse: collapse; margin-bottom: 24px; font-size: 15px; }
.horaires th { text-align: left; font-weight: 400; color: var(--texte-2); padding: 4px 24px 4px 0; }
.liste-coches { padding-left: 1.2em; color: #dcd9d3; }
.liste-coches li { margin-bottom: 8px; }
.encadre { display: inline-block; border: 1px solid var(--orange); color: var(--orange-clair); padding: 6px 14px; border-radius: 999px; font-weight: 600; }

/* ---------- Pied de page */
.pied { background: var(--noir); border-top: 1px solid #000; padding-top: 44px; font-size: 15px; }
.pied__grille { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
@media (min-width: 1000px) { .pied__grille { grid-template-columns: 1.1fr .9fr 1fr 1.25fr; } }
.pied h2 { font-size: 18px; font-weight: 500; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pied ul a { color: var(--texte-2); text-decoration: none; }
.pied ul a:hover { color: #fff; }
.pied__slogan { color: var(--texte-2); margin-top: 12px; }
.pied__bas { color: #807b74; font-size: 13px; padding-top: 28px; padding-bottom: 28px; margin: 32px auto 0; border-top: 1px solid #222; }

/* ---------- Visionneuse photo */
.visionneuse { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.95); display: flex; align-items: center; justify-content: center; touch-action: pan-y; }
.visionneuse[hidden] { display: none; }
.visionneuse img { max-width: 100vw; max-height: 88vh; object-fit: contain; user-select: none; }
.visionneuse button { position: absolute; background: rgba(0,0,0,.45); border: 0; color: #fff; cursor: pointer; font-size: 44px; line-height: 1; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.visionneuse button:hover { background: rgba(255,255,255,.15); }
.visionneuse__fermer { top: 12px; right: 12px; }
.visionneuse__fermer .icone { width: 28px; height: 28px; }
.visionneuse__prec { left: 8px; top: 50%; transform: translateY(-50%); }
.visionneuse__suiv { right: 8px; top: 50%; transform: translateY(-50%); }
.visionneuse__compte { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; color: #ccc; font-size: 14px; margin: 0; }

/* ---------- Familles et recherche par critères */
.familles { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 24px; }
.familles__titre { color: var(--texte-2); font-size: 15px; margin-right: 4px; }
.familles a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--ligne); border-radius: 999px; color: var(--texte); text-decoration: none; font-weight: 600; font-size: 15px; }
.familles a span { color: var(--texte-2); font-weight: 400; font-size: 13px; }
.familles a:hover { border-color: var(--texte-2); }
.familles a[aria-current] { background: var(--orange); border-color: var(--orange); color: #fff; }
.familles a[aria-current] span { color: rgba(255,255,255,.8); }
.filtres { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: end; margin: 0 0 28px; padding: 16px 18px; background: var(--fond-2); border: 1px solid #000; border-radius: 12px; }
.filtres label { display: grid; gap: 4px; font-size: 13px; color: var(--texte-2); }
.filtres select, .filtres input { min-width: 150px; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--ligne); background: var(--fond); color: var(--texte); font: inherit; font-size: 15px; }
.filtres .bouton { padding: 9px 18px; font-size: 15px; }
.filtres__raz { align-self: center; color: var(--texte-2); font-size: 14px; }
.famille__texte { margin: 0 0 8px; }
.famille__texte p { color: #e2dfda; font-size: 17px; }
.section--sans-marge { padding-top: 24px; }
.pied__familles { color: var(--texte-2); }
.pied__familles a { color: var(--texte-2); text-decoration: none; margin-right: 6px; }
.pied__familles a:hover { color: #fff; }
@media (max-width: 600px) { .filtres label { flex: 1 1 45%; } .filtres select, .filtres input { min-width: 0; width: 100%; } }

/* ---------- Galerie (photos de livraison) : réutilise la visionneuse des fiches, avec des vignettes plus grandes et une légende */
.galerie--page .galerie__vignettes { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px 18px; margin: 0; }
.galerie--page .galerie__vignettes li, .galerie--page .galerie__vignettes li:nth-child(n+13) { display: block; }
.galerie--page .galerie__vignettes a { opacity: 1; border-radius: 10px; background: #000; }
.galerie--page .galerie__vignettes a:hover { outline: none; }
.galerie--page .galerie__vignettes a:hover img { transform: scale(1.03); }
.galerie--page .galerie__vignettes img { transition: transform .2s; }
.galerie--page .galerie__plus { display: none; }
.galerie__legende { margin: 8px 2px 0; font-size: 15px; color: #e2dfda; }
.galerie__legende span { color: var(--texte-2); }
.galerie__mention { margin-top: 28px; color: var(--texte-2); }
@media (min-width: 1200px) { .galerie--page .galerie__vignettes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Sous 960 px, les fiches passent leurs vignettes en rangée défilante ; la page Galerie garde une grille de 2 colonnes */
@media (max-width: 959px) {
  .galerie--page .galerie__vignettes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; gap: 14px 12px; }
  .galerie--page .galerie__vignettes li { flex: none; }
}

/* ---------- Pages de texte (atelier, déroulement, questions, avis) */
.a-completer { background: #f5d76e; color: #1d1b19; padding: 1px 5px; border-radius: 4px; font-style: normal; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.sections-texte { display: grid; gap: 36px; max-width: 820px; }
.sections-texte h2, .parcours h2 { font-size: 24px; font-weight: 600; }
.sections-texte p, .parcours p, .faq__reponse p { color: #e2dfda; }
.sections-texte ul, .parcours ul, .faq__reponse ul { color: #e2dfda; padding-left: 1.2em; margin: 0 0 1em; }
.sections-texte li, .parcours li li, .faq__reponse li { margin-bottom: 4px; }
.bandeau-photos { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 0 0 40px; }
.bandeau-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }

.parcours { list-style: none; counter-reset: etape; padding: 0; margin: 0; }
.parcours > li { counter-increment: etape; position: relative; padding: 0 0 32px 64px; }
.parcours > li::before {
  content: counter(etape); position: absolute; left: 0; top: -4px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange); color: #fff; font-weight: 700; font-size: 20px; display: flex; align-items: center; justify-content: center;
}
.parcours > li:not(:last-child)::after { content: ''; position: absolute; left: 21px; top: 48px; bottom: 6px; width: 2px; background: var(--ligne); }

.faq { display: grid; gap: 10px; }
.faq details { background: var(--fond-2); border: 1px solid #000; border-radius: 10px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 600; font-size: 18px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--orange-clair); font-weight: 400; }
.faq details[open] summary::after { content: '–'; }
.faq__reponse { padding: 0 18px 8px; }

.grille-avis { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grille-avis .temoignage p { font-size: 17px; }

/* ---------- Vidéos (YouTube chargé seulement au clic) */
.fiche__medias { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; }
.videos { display: grid; gap: 12px; margin-top: 4px; }
.video { position: relative; display: block; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; color: #fff; text-decoration: none; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .15s; }
.video:hover img { opacity: 1; }
.video__lecture { position: absolute; left: 50%; top: 50%; width: 76px; height: 54px; transform: translate(-50%, -50%); background: var(--orange); border-radius: 14px; box-shadow: 0 4px 20px rgba(0,0,0,.5); }
.video__lecture::after { content: ''; position: absolute; left: 31px; top: 15px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; }
.video:hover .video__lecture { background: #a94c14; }
.video__titre { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 10px; background: linear-gradient(transparent, rgba(0,0,0,.8)); font-size: 15px; font-weight: 600; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.bandeau-apercu { background: #f5d76e; color: #1d1b19; padding: 12px 0; font-size: 15px; }
.bandeau-apercu .conteneur { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.bandeau-apercu a { color: #1d1b19; font-weight: 600; }
.badge--brouillon { background: #f5d76e; color: #1d1b19; }

/* ---------- Alerte nouvelles arrivées */
.bloc-alerte { margin: var(--rythme) auto 0; max-width: var(--lecture); background: var(--fond-2); border: 1px solid #000; border-left: 4px solid var(--orange); border-radius: 12px; padding: 24px 20px; display: grid; gap: 20px; }
@media (min-width: 860px) { .bloc-alerte { grid-template-columns: 1fr 1.3fr; align-items: center; padding: 28px 32px; } }
.bloc-alerte h2 { font-size: 24px; font-weight: 600; }
.bloc-alerte__texte p { color: var(--texte-2); margin: 0; }
.bloc-alerte__form { gap: 12px; }
.bloc-alerte__form small { font-weight: 400; color: var(--texte-2); }
.bloc-alerte__form .petit { margin: 0; }

/* ---------- Vidéo de présentation (atelier, accueil) */
.videos-page { display: grid; gap: 20px; max-width: 900px; margin: 0 0 40px; }
.videos-page figure { margin: 0; }
.videos-page figcaption { color: var(--texte-2); font-size: 14px; margin-top: 8px; }
.portrait { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .portrait { grid-template-columns: 1.3fr 1fr; gap: 40px; } }
.portrait__texte p { color: var(--texte-2); }

.suivre-facebook { margin: 16px 0 0; }
.suivre-facebook a { display: inline-flex; gap: 8px; align-items: flex-start; color: var(--texte); text-decoration: none; font-weight: 600; }
.suivre-facebook a:hover { color: var(--orange-clair); }
.suivre-facebook .icone { color: var(--orange-clair); margin-top: .2em; }
.temoignages .suivre-facebook, .page .suivre-facebook { margin-top: 24px; }

/* ---------- CGV : encadrés légaux et formulaire de rétractation */
.encadre-legal { border: 1px solid var(--ligne); border-radius: 10px; padding: 18px 20px; background: var(--fond-2); margin: 12px 0 8px; }
.encadre-legal p { font-size: 15px; }
.encadre-legal p:last-child { margin-bottom: 0; }
.formulaire-retractation { margin-top: 48px; scroll-margin-top: 110px; }
.lien-imprimer { background: none; border: 0; padding: 0; color: var(--orange-clair); text-decoration: underline; cursor: pointer; font: inherit; }
@media print {
  .bandeau, .entete, .pied, .ariane { display: none !important; }
  body { background: #fff; color: #000; }
  .imprimer-formulaire .texte-legal > :not(.formulaire-retractation) { display: none; }
  .encadre-legal { background: #fff; border-color: #000; }
  .encadre-legal p, .texte-legal p, .texte-legal li { color: #000; }
  .lien-imprimer { display: none; }
}

/* Partager une fiche */
.partager { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 16px 0 20px; }
.partager__titre { font-size: 14px; color: var(--texte-2); margin-right: 4px; }
.partager__lien { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border: 1px solid var(--ligne); border-radius: 999px; background: transparent; color: var(--texte); font: inherit; font-size: 14px; line-height: 1.2; text-decoration: none; cursor: pointer; }
.partager__lien:hover { border-color: var(--texte-2); background: var(--fond-3); }
.partager__lien .icone { width: 16px; height: 16px; flex: none; }
.partager__lien.partager__ok { border-color: var(--orange-clair); color: var(--orange-clair); }

/* La presse en parle */
.presse { list-style: none; padding: 0; margin: 0; max-width: 820px; display: grid; gap: 24px; }
.presse__article { padding: 24px 28px; background: var(--fond-2); border-radius: 12px; }
.presse__media { margin: 0 0 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-clair); }
.presse__media span { color: var(--texte-2); letter-spacing: 0; text-transform: none; font-size: 14px; }
.presse__article h2 { font-size: 22px; margin: 0 0 12px; line-height: 1.3; }
.presse__article h2 a { color: var(--texte); text-decoration: none; }
.presse__article h2 a:hover { color: var(--orange-clair); }
.presse__article blockquote { margin: 0 0 12px; padding-left: 14px; border-left: 3px solid var(--orange); color: var(--texte-2); font-style: italic; }
.presse__article .petit { margin: 0; }
.presse__liens { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.lien-presse { margin-top: 32px; }
.presse-accueil { border-top: 1px solid var(--ligne); padding-top: 36px; display: grid; gap: 16px; }
.presse-accueil__titre { margin: 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--texte-2); }
.presse-accueil ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px 32px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.presse-accueil li a { text-decoration: none; color: var(--texte-2); display: block; line-height: 1.4; }
.presse-accueil li a strong { display: block; color: var(--texte); font-size: 15px; margin-bottom: 2px; }
.presse-accueil li a span { font-size: 15px; }
.presse-accueil li a:hover span { color: var(--orange-clair); }
