/* =========================================
   Thème CKB + Variables
   ========================================= */
:root{
  --brand:     #153748; /* bleu foncé (logo) */
  --brand-600: #3D7894; /* bleu secondaire */
  --accent:    #6A8B53; /* vert du logo */
  --bg:        #0B1324; /* fond hero sombre */
  --surface:   #0F162D;
  --text:      #E6F0FF;
  --ink:       #0E1726; /* texte sur fond clair */
  --muted:     #6B7280;
  --border:    #e5e7eb;
  --radius:    16px;
}

/* =========================================
   Reset & Helpers
   ========================================= */
*{ box-sizing:border-box }
html,body{ margin:0; padding:0 }
body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol", sans-serif;
  color: var(--ink);
  background:#fff;
  line-height:1.6;
  text-rendering:optimizeLegibility;
}
h1,h2,h3{ font-family:"Instrument Sans", Inter, system-ui, sans-serif; line-height:1.2 }
img{ max-width:100%; height:auto; display:block }

.wrap{ max-width:1100px; margin-inline:auto; padding:clamp(16px,2vw,24px) }
.grid-2{ display:grid; grid-template-columns:1fr; gap:24px }
.grid-3{ display:grid; grid-template-columns:1fr; gap:24px }
.center{ text-align:center }
.muted{ color:var(--muted) }
.placeholder{ opacity:.85 }
.sr-only{
  position:absolute!important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* =========================================
   Header & Navigation
   ========================================= */
.site-header{
  position:sticky; top:0; z-index:50;
  background:#fff; border-bottom:1px solid var(--border);
  backdrop-filter:saturate(180%) blur(6px);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; position:relative; padding:6px 32px;
}

/* Logo + nom */
.site-header .brand{
  display:flex; align-items:center; gap:.5rem;
  text-decoration:none; color:inherit;
}
.site-header .brand-text{ font-size:1.5rem; font-weight:700 }
.site-header .brand img{
  height:120px; width:auto; margin-right:10px; margin-left:-25px; vertical-align:middle;
}

/* Bouton menu */
.nav-toggle{
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid var(--border); background:#fff; padding:8px 12px; border-radius:10px;
}

/* Navigation (mobile fermé par défaut) */
.site-nav{ display:none }
.site-nav ul{
  display:flex; gap:12px; list-style:none; margin:0; padding:0; align-items:center;
}
.site-nav a{
  display:inline-block; text-decoration:none; color:inherit;
  padding:10px 12px; border-radius:12px; font-weight:600; transition:color .2s ease-in-out;
}
.site-nav a:hover{ color:var(--accent) }
.site-nav a[aria-current="page"]{ color:var(--accent) }
.site-nav a.cta{ background:var(--brand); color:#fff }
.site-nav a.cta:hover{ background:var(--brand-600) }

/* Mobile nav dropdown (<= 719px) */
.site-nav{
  position:absolute; top:calc(100% + 8px); left:12px; right:12px;
  background:#fff; border:1px solid var(--border);
  border-radius:12px; box-shadow:0 10px 24px rgba(15,23,42,.12);
  padding:6px; z-index:100;
}
.site-nav.is-open{ display:block }
.site-nav ul{ flex-direction:column; align-items:stretch; gap:4px }
.site-nav a{ padding:12px 10px; border-radius:10px }

/* Skip link accessibilité */
.skip-link{ position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden }
.skip-link:focus{ left:16px; top:12px; width:auto; height:auto; background:#111; color:#fff; padding:8px 12px; border-radius:8px }

/* Empêche le logo de se faire écraser par le flex */
.site-header .brand {
  flex-shrink: 0;
}

/* Logo responsive : hauteur fluide, proportions conservées */
.site-header .brand img {
  height: clamp(64px, 10vw, 140px); /* min 64px, max 140px, fluide entre les deux */
  width: auto;
}

/* Ajustements spécifiques smartphone */
@media (max-width: 719px) {
  .site-header .wrap {
    padding-inline: 16px;
  }
  .site-header .brand img {
    height: clamp(56px, 14vw, 100px); /* logo plus grand sur mobile sans dépasser */
    margin-left: 0;
  }
}

/* =========================
   Navigation principale (menu du header)
   ========================= */
.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem; /* espace entre les éléments du menu */
  white-space: nowrap; /* empêche le retour à la ligne */
  flex-wrap: nowrap; /* interdit la casse automatique */
}

/* Lien de navigation */
.site-nav a {
  text-decoration: none;
  font-weight: 600;
  color: #111827;
  transition: color 0.2s ease;
}

/* Couleur du lien actif */
.site-nav a.active {
  color: var(--brand);
}

/* Bouton “Contacts / RDV” */
.site-nav a.cta {
  background: #1f3141;
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0.6rem;
  white-space: nowrap; /* très important pour ce bouton */
}

/* =========================================
   Sections (Accueil / Hero)
   ========================================= */
.hero{
  background: radial-gradient(1200px 600px at 20% -10%, var(--brand) 0%, rgba(21,55,72,0.12) 35%, transparent 60%), var(--bg);
  color: var(--text);
  /* hauteur pilotée par le contenu, comme sur les autres pages */
  padding-block: 0;  /* ou la valeur que tu préfères */
  min-height: 0;             /* ou supprime simplement cette ligne */
}
/* POUR REMETTRE LA VIDÉO
.hero{
  background: radial-gradient(1200px 600px at 20% -10%, var(--brand) 0%, rgba(21,55,72,0.12) 35%, transparent 60%), var(--bg);
  color: var(--text);
  min-height:520px;
  display:flex; flex-direction:column;
}*/
.hero .wrap{ padding:0; margin:0; max-width:100%; height:100% }
.hero .wrap.grid-2{ height:100%; grid-template-columns:1fr; align-items:stretch }

.hero-text{ max-width:1200px; margin:0 auto; padding:2rem }
.hero .lead{ opacity:.9 }
.hero .actions{ display:flex; gap:12px; margin-top:14px }

.hero-media{ height:100%; overflow:hidden; border-radius:0; background:transparent }
.hero-media img{ width:100%; height:800px; object-fit:cover }
.hero-media video{ width:100%; height:100%; object-fit:cover; border-radius:8px }

/* Boutons génériques */
.btn{ display:inline-block; border:1px solid transparent; border-radius:14px; padding:12px 16px; text-decoration:none; font-weight:600 }
.btn-primary{ background:var(--brand); color:#fff }
.btn-primary:hover{ background:var(--brand-600) }
.btn-secondary{ background:#fff; color:#0f172a; border-color:#e5e7eb }
.btn-secondary:hover{ background:#f8fafc }
.btn-ghost{ border-color:#334155; color:#E2E8F0; background:transparent }
.btn-ghost:hover{ background:#0f172a }

/* =========================================
   Cartes / Grilles / Divers
   ========================================= */
.features{ padding-block:32px }
.card{
  background:#fff; border:1px solid var(--border); border-radius:var(--radius);
  padding:20px; box-shadow:0 4px 14px rgba(17,24,39,.06)
}
.card .link{ color:var(--brand); text-decoration:none; font-weight:600 }
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.address{ padding-block:24px }
.map-embed iframe{ width:100%; min-height:300px; border:0; border-radius:14px }

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

/* Bandeau titre de page */
.page-hero{
  background: radial-gradient(1200px 600px at 20% -10%, var(--brand) 0%, rgba(21,55,72,0.12) 35%, transparent 60%), var(--bg);
  color: var(--text);
  padding-block:32px;
}
.page-hero h1{ margin:0; font-size:2.2rem; font-weight:700 }
.page-hero .lead{ margin-top:.5rem; font-size:1.1rem; color:#E2E8F0 }

/* Galerie / Équipe */
.gallery-grid .gallery-item{ background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:10px }
.gallery-grid .gallery-item img{ border-radius:14px }

.team-grid .team-card{
  background:#fff; border:1px solid var(--border); border-radius:var(--radius);
  padding:20px; text-align:left
}
.team-card ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0 0;
  list-style-position: outside;
}
.team-card .role{ color:var(--muted); margin-top:-8px }

/* Avatar portrait rond */
.avatar{
  width:200px; height:200px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 10px;
  background:linear-gradient(135deg, var(--brand), var(--accent));
  color:#fff; font-weight:700;
  border:2px solid var(--accent);
  overflow:hidden;
}
.avatar img{ width:100%; height:100%; object-fit:cover }

.avatar:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

/* Badges & listes */
.services .badge{ background:#10B981; color:#052E2B; border-radius:999px; padding:2px 10px; font-size:.9rem }
.services .badge-neutral{ background:#e2e8f0; color:#0f172a }
.checklist{ padding-left:1.1em }
.checklist li{ margin:.4em 0 }

/* Effet de survol uniquement sur les images décoratives */
.img-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-radius: 6px; /* facultatif, pour adoucir les bords */
}

/* =========================================
   Formulaires / Contact
   ========================================= */
.contact-block{ padding-block:24px }
.contact-card{ background:#fff; border:1px solid var(--border); border-radius:var(--radius); padding:20px }
.contact-form{ display:grid; gap:10px }
.contact-form input,.contact-form textarea{
  width:100%; padding:10px; border:1px solid var(--border); border-radius:12px; font:inherit
}
.form-foot{ display:flex; align-items:center; gap:14px; flex-wrap:wrap }

/* CTA bandeau */ 
.cta-banner{ padding-block:32px; background: linear-gradient(90deg, rgba(21,55,72,0.08), rgba(106,139,83,0.08)) }

/* Bloc "avis Google" sur la page Contact */
.avis-google{
  text-align: center;
  background: #f9fafb;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  max-width: 720px;      /* encart un peu plus étroit que la largeur de .wrap */
  margin: 16px auto 0;   /* centré */
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
}
.avis-google h3{ margin: 0 0 .5rem; font-size: 1.25rem; color: var(--brand) }
.avis-google p{ margin: 0 0 .75rem; color: var(--ink) }
.avis-google .btn{ display: inline-block; margin-top: .25rem }

/* =========================================
   Footer
   ========================================= */
.site-footer{ border-top:1px solid var(--border); background:#fff }
.footer-grid{ display:grid; gap:12px; margin-top:0 }

/* Logo + nom (colonne gauche) */
.brand-footer{
  display:flex; justify-content:center; align-items:center; gap:8px;
  width:100%; line-height:0; margin-bottom:0; text-decoration:none; color:inherit;
}
.brand-footer img{
  display:block; height:64px; width:auto; margin:0;
}
.brand-footer + p{ margin-top:5px }

.footnote{ color:var(--muted); font-size:.95rem }

/* Colonne centrale : liens + horaires */
.footer-links{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:.4rem }
.footer-links .footer-menu{ display:flex; gap:12px }
.footer-links .horaires{ margin-top:.25rem; font-size:.9rem; color:var(--muted) }

/* Colonne droite : légal + caducée */
.footer-legal{ justify-self:end; text-align:right }
.footer-legal .footer-caducee{ display:block; margin:.5rem auto 0; max-width:60px; opacity:.9 }

/* PMR (icônes accessibilité) */
.pmr{ margin-top:.5rem }
.pmr h4{ margin:0 0 .25rem; font-weight:700; color:var(--brand); font-size:1rem; text-align:center }
.pmr-icons{ display:flex; gap:14px; justify-content:center; align-items:center; list-style:none; margin:0; padding:0 }
.pmr-icons i{ font-size:28px; color:#374151 }

/* ==========================================================
   PAGE ACTUALITÉS – cartes générées depuis le Markdown
   ========================================================== */

.actu-wrap {
  margin-block: 3rem 4rem;
  max-width: 900px;
  margin-inline: auto;
}

.actu-wrap h1 {
  font-size: 1.8rem;
  text-align: center;
  color: var(--brand);
  margin-bottom: 2rem;
}

/* Carte d’actualité */
.actu-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem 2rem;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
  margin-bottom: 1.75rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.actu-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

/* Titre de l’actualité */
.actu-card h2 {
  font-size: 1.4rem;
  color: #111827;          /* noir/gris foncé */
  margin: 0 0 .35rem;
  font-weight: 700;
  position: relative;
  padding-left: 0.75rem;   /* espace pour la barre */
  border-left: 4px solid var(--accent); /* vert du logo */
}

/* Date (paragraphe détecté par la classe .actu-date en JS) */
.actu-card .actu-date {
  font-size: 0.9rem;
  font-style: italic;
  color: #9ca3af;          /* gris clair */
  margin: 0 0 .75rem;
}

/* Texte normal des actus */
.actu-card p:not(.actu-date) {
  text-align: justify;
  line-height: 1.7;
  margin-bottom: .75rem;
  color: #111827;
}

/* Listes dans les actus */
.actu-card ul {
  margin-left: 1.25rem;
  margin-bottom: .75rem;
  line-height: 1.6;
}

/* Séparateurs éventuels (--- dans le Markdown) */
.actu-wrap hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* Responsive – lecture sur mobile */
@media (max-width: 768px) {
  .actu-wrap {
    margin-inline: 1rem;
  }

  .actu-card {
    padding: 1.25rem 1.5rem;
  }

  .actu-wrap h1 {
    font-size: 1.5rem;
  }

  .actu-card h2 {
    font-size: 1.2rem;
  }
}

/* =========================================
   Bandeaux (Équipe / Locaux / Prestations)
   ========================================= */
.bandeaux{ display:flex; flex-direction:column; gap:3rem; margin:4rem 0 }
.bandeau{
  max-width:1100px; margin:0 auto; padding-inline:clamp(16px,2vw,24px);
  display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:2rem;
}
.bandeau.inverse .bandeau-image{ order:2 }
.bandeau.inverse .bandeau-content{ order:1 }
.bandeau-image img{ width:100%; height:100%; object-fit:cover; border-radius:8px }
.bandeau-content h2{ font-size:1.8rem; margin-bottom:1rem }
.bandeau-content p{ margin-bottom:1.5rem; font-size:1rem; line-height:1.5 }

/* Boutons des bandeaux */
.btn-banner{
  display:inline-block; background-color:#153748; color:#fff; font-weight:600;
  padding:.75rem 1.5rem; border-radius:8px; text-decoration:none;
  transition:background-color .3s ease, transform .2s ease;
}
.btn-banner:hover{ background-color:#1e4c66; transform:translateY(-2px) }

/* SECTION ÉQUIPEMENT – Encadré clair et sobre */
.equipment {
  background-color: #ffffff;          /* fond blanc pour contraste */
  border: 1px solid var(--border);    /* fine bordure grise */
  border-radius: 12px;                /* coins légèrement arrondis */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); /* ombre discrète */
  padding: 0.01rem 2rem;               /* espace interne */
  margin: 2rem auto;                  /* espace externe autour */
  max-width: 1000px;                  /* limite la largeur pour lisibilité */
}

.equipment:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

/* Centrer la dernière carte d'équipe (ex. Julie) dans la grille */
.team-card.team-card--center {
  grid-column: 1 / -1;     /* la carte occupe toute la ligne de la grille */
  justify-self: center;    /* centrée dans cette ligne */
  max-width: 420px;        /* largeur raisonnable pour rester jolie */
}
@media (min-width: 900px) {
  .team-card.team-card--center {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 420px;
  }
}
.team-card.team-card--center {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  max-width: 350px; /* mets ici la même largeur max que les autres */
}
.team-card {
  max-width: 350px;
}

/* =========================
   Carrousel – Plateau technique (robuste)
   ========================= */

.equipment-carousel{
  position: relative; /* indispensable pour positionner les flèches */
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(21,55,72,0.06); /* fond doux (évite l'effet "blanc") */
}

/* cadre stable (évite les variations et le “vide”) */
.equipment-carousel{
  aspect-ratio: 16 / 9;
}

/* piste */
.carousel-track{
  display: flex;
  transform: translateX(0);
  transition: transform 1.4s ease-in-out;
  will-change: transform;
}

/* chaque slide fait exactement 100% de la largeur */
.carousel-slide{
  flex: 0 0 100%;
  width: 100%;
}

/* image : choisir UNE des 2 options ci-dessous */

/* OPTION COVER (plein cadre, pas de blanc) */
.carousel-slide img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* OPTION CONTAIN (image entière, avec bandes mais fond propre)
.carousel-slide img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}
*/

/* Le carrousel se comporte exactement comme une image de bandeau */
.bandeau-image .equipment-carousel {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
}

/* Piste et slides prennent tout l'espace */
.bandeau-image .carousel-track,
.bandeau-image .carousel-slide {
  height: 100%;
}

/* Images du carrousel = mêmes règles que .bandeau-image img */
.bandeau-image .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================
   Carrousel – Pagination (points)
   ========================= */

.carousel-dots{
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.carousel-dots button{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(21,55,72,0.25); /* bleu du site, discret */
  cursor: default;
  padding: 0;
}

.carousel-dots button.is-active{
  background: var(--brand); /* vert/bleu du logo */
}

/* =========================
   Carrousel – Flèches
   ========================= */

.carousel-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.85);
  color: #153748;
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow.prev{ left: 12px; }
.carousel-arrow.next{ right: 12px; }

.carousel-arrow:hover{
  background: var(--brand);
  color: #fff;
}

/* =========================================
   Contacts (2 colonnes + horaires)
   ========================================= */
.contact-layout{ grid-template-columns:1fr; gap:24px; align-items:start }
.hours-card{ padding-bottom:16px }

.hours-table{
  width:100%; border-collapse:collapse; margin:8px 0 6px; font-size:.95rem
}
.hours-table thead th{
  text-align:left; padding:10px 12px; background:#f1f5f9; border-bottom:1px solid var(--border)
}
.hours-table thead th:first-child{ text-align:center } /* “Jour” centré */
.hours-table thead th:last-child{ text-align:left }
.hours-table tbody th, .hours-table tbody td{ padding:10px 12px; border-bottom:1px solid var(--border) }
.hours-table tbody tr:nth-child(even){ background:#fafafa }
.hours-table tbody th{ font-weight:600 }

/* Encadré “Se préparer au rendez-vous” */
.contact-prep{ margin:.5rem 0 }
.prep-card{
  background:#f9fafb; border:1px solid #e2e8f0; border-radius:8px; padding:1.5rem;
  box-shadow:0 2px 6px rgba(0,0,0,.05)
}
.prep-card h2{ margin-bottom:1rem; font-size:1.4rem; color:#153748 }
.prep-card ul{ list-style:disc; margin-left:1.5rem; line-height:1.6 }
.prep-card li{ margin-bottom:.5rem }
.prep-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

/* Image au-dessus de la map (espacement local à la page Contact) */
.contact-card img{ margin-bottom:20px; display:block }

/* =========================================
   Responsive
   ========================================= */
@media (min-width: 720px){
  .grid-2{ grid-template-columns:1.2fr 1fr }
  .grid-3{ grid-template-columns:repeat(3,1fr) }

  /* Nav desktop */
  .site-nav{ display:block; position:static; background:transparent; border:0; box-shadow:none; padding:0 }
  .site-nav ul{ flex-direction:row; align-items:center; gap:12px }
  .nav-toggle{ display:none }

  /* Footer 3 colonnes */
  .footer-grid{
    grid-template-columns:1fr auto 1fr; align-items:start;
    column-gap:clamp(16px,3vw,48px)
  }
  .footer-grid > *{ min-width:0 }
  .footer-grid > :first-child{ justify-self:start; text-align:left }
  .footer-links{ justify-self:center }
  .footer-legal{ justify-self:end; text-align:right }

  /* Contacts : horaires (gauche) / coordonnées (droite) */
  .contact-layout{
    grid-template-columns:1fr 1.2fr;
    column-gap:clamp(16px,3vw,36px)
  }
}
  .note {
    font-size: 0.95rem; color: var(--muted); margin-top: 1rem; line-height: 1.6; text-align: justify; text-justify: inter-word;}

@media (max-width: 719px){
  .hero-media img,
  .hero-media video{
    height:clamp(220px,35vh,360px);
    object-fit:cover;
  }

  /* Bandeaux : image au-dessus du texte */
  .bandeau{ grid-template-columns:1fr; gap:1rem }
  .bandeau .bandeau-image{ order:1 }
  .bandeau .bandeau-content{ order:2 }
  .bandeau.inverse .bandeau-image{ order:1 }
  .bandeau.inverse .bandeau-content{ order:2 }
  .bandeau-image img{ height:clamp(200px,35vh,320px); object-fit:cover }
}

/* === Header fix: alignements & nav sur une seule ligne === */

/* 1) Le conteneur du header : même logique que .wrap + flex */
.site-header .wrap {
  max-width: var(--wrap, 1200px);   /* garde ta largeur max si tu as une var, sinon 1200px */
  margin: 0 auto;
  padding-inline: clamp(16px, 2vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: initial;              /* évite un centrage hérité */
}

/* 2) La brand reste à gauche et ne se fait pas compresser */
.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0;            /* PAS de margin:auto qui centrerait */
  flex-shrink: 0;       /* ne pas écraser le logo */
}

/* 3) La navigation reste sur UNE seule ligne */
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;            /* ajuste si besoin */
  flex-wrap: nowrap;    /* évite le retour à la ligne */
  margin-left: auto;    /* pousse la nav à droite */
}
.main-nav a {
  white-space: nowrap;  /* évite les sauts de ligne dans les libellés */
}

/* 4) Logo responsive (on garde ta version plus grande) */
.site-header .brand img {
  height: clamp(64px, 10vw, 120px);
  width: auto;
}

/* Ajustements quand l’espace devient un peu juste (tablette/petit laptop) */
@media (max-width: 1100px) {
  .main-nav { gap: 20px; }
}

/* Smartphone: nav gérée par ton menu mobile; ici on protège juste le logo */
@media (max-width: 719px) {
  .site-header .wrap { padding-inline: 16px; }
  .site-header .brand img { height: clamp(56px, 14vw, 100px); margin-left: 0; }
}

html {
  scroll-behavior: smooth;
}

:root{
  --header-offset: 120px;   /* hauteur approx. du header sur desktop */
}
@media (max-width: 719px){
  :root{ --header-offset: 90px; }  /* header un peu plus compact sur mobile */
}

/* Le navigateur réserve cette marge quand il scrolle vers un #ancre */
html{
  scroll-padding-top: var(--header-offset);
}

/* =========================================
   Détail de prestation dans la checklist
   ========================================= */

.checklist .presta-detail-inline {
  margin: 0;
}

/* Titre cliquable (reste dans la logique de la liste) */
.checklist .presta-detail-inline > summary {
  list-style: none;           /* retire le marqueur natif */
  cursor: pointer;
  display: inline-block;
}

/* Supprimer le petit triangle défaut (Chrome, etc.) */
.checklist .presta-detail-inline > summary::-webkit-details-marker {
  display: none;
}

/* Petit chevron pour indiquer que c'est cliquable */
.checklist .presta-detail-inline > summary::after {
  content: " ▸";
  font-size: 0.9em;
  color: var(--accent);
  transition: transform 0.2s ease;
}

/* Quand c’est ouvert, on tourne la flèche */
.checklist .presta-detail-inline[open] > summary::after {
  transform: rotate(90deg);
}

/* Contenu du détail */
.checklist .presta-detail-inline .presta-body {
  margin-top: 0.4rem;
  padding-top: 0.4rem;
  border-top: 1px solid #e5e7eb;
  font-size: 0.95rem;
  color: #4b5563;
}

/* Liste des tarifs à l’intérieur */
.checklist .presta-detail-inline .presta-prices {
  margin: 0.25rem 0 0.5rem 1.2rem;
  padding: 0;
  list-style: disc;
  line-height: 1.5;
}

/* Note explicative */
.checklist .presta-detail-inline .presta-note {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0;
}

/* =========================================
   OVERRIDE : carrousel dans les bandeaux
   Objectif : même format que .bandeau-image img

   Sur desktop, les images de bandeaux n'ont pas de hauteur fixe.
   Elles définissent donc leur hauteur via leur ratio naturel.
   Le carrousel doit donc éviter toute hauteur/aspect-ratio imposé.
   ========================================= */

/* Dans un bandeau, le carrousel doit se comporter comme une <img> classique */
.bandeau-image .equipment-carousel{
  width: 100%;
  height: auto;            /* pas de hauteur forcée */
  aspect-ratio: auto;      /* neutralise le 16/9 générique du carrousel */
  border-radius: 8px;      /* identique à .bandeau-image img */
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

/* Le track/slide s'adapte à la hauteur naturelle de l'image */
.bandeau-image .carousel-track,
.bandeau-image .carousel-slide{
  height: auto;
}

/* Comme une image de bandeau : largeur 100%, hauteur auto */
.bandeau-image .carousel-slide img{
  width: 100%;
  height: auto;            /* suit le ratio natif comme les autres */
  object-fit: cover;
  display: block;
}

/* =========================
   Carrousel – Flèches (SVG)
   ========================= */

.equipment-carousel{
  position: relative; /* indispensable pour les flèches */
}

/* Boutons */
.equipment-carousel .carousel-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;

  background: rgba(255,255,255,.88);
  color: #153748;

  display: grid;
  place-items: center;

  cursor: pointer;
  z-index: 10;
  padding: 0;
}

/* Position */
.equipment-carousel .carousel-arrow.prev{ left: 12px; }
.equipment-carousel .carousel-arrow.next{ right: 12px; }

/* SVG parfaitement centré */
.equipment-carousel .carousel-arrow svg{
  width: 20px;
  height: 20px;
  display: block;
}

/* Hover */
.equipment-carousel .carousel-arrow:hover{
  background: var(--brand);
  color: #fff; /* le SVG suit currentColor */
}

/* =========================================
   FIN
   ========================================= */
