


.hero {
  position: relative;
  display: grid;
  align-items: end;
  height: clamp(560px, 92svh, 920px);
  overflow: hidden;
  isolation: isolate;
  background: #0a0a0a;
  color: #ffffff;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__affiche,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.hero__video { opacity: 0; transition: opacity 0.6s ease; }
.hero--joue .hero__video { opacity: 1; }

.hero__voile {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(8, 8, 8, 0.92) 0%, rgba(8, 8, 8, 0.66) 30%, rgba(8, 8, 8, 0.16) 60%, rgba(8, 8, 8, 0.28) 100%),
    linear-gradient(90deg, rgba(8, 8, 8, 0.6) 0%, rgba(8, 8, 8, 0) 65%);
}
.hero__contenu {
  padding-top: calc(var(--hauteur-entete) + 24px);
  padding-bottom: clamp(32px, 7vh, 72px);
}

.hero__lieu {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--texte-bouton);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}
.hero__lieu strong { font-weight: 800; }
.hero__titre {
  max-width: 11.5ch;
  font: var(--graisse-titres) clamp(3.25rem, 5vw, 5rem)/0.92 var(--titres);
  letter-spacing: -0.005em;
  text-transform: uppercase;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.5);
}
.hero__texte {
  max-width: 34ch;
  margin-top: clamp(14px, 2.4vh, 24px);
  font-size: clamp(1.125rem, 1.6vw, 1.5rem);
  line-height: 1.4;
  font-weight: 500;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.6);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(20px, 3.4vh, 34px); }
.hero__tel { margin-top: 18px; font-size: 1rem; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7); }
.hero__tel a { display: inline-block; padding: 8px 0; font-weight: 700; text-underline-offset: 4px; }


.hero__pause {
  position: absolute;
  top: calc(var(--hauteur-entete) + 14px);
  right: max(var(--marge), calc((100% - 1180px) / 2));
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.5);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7);
  color: #ffffff;
  cursor: pointer;
}
.hero__pause[hidden] { display: none; }
.hero__pause:hover { background: rgba(10, 10, 10, 0.8); }
.hero__pause svg { width: 18px; height: 18px; }
.hero__icone-lire { display: none; }
.hero__pause[aria-pressed="true"] .hero__icone-pause { display: none; }
.hero__pause[aria-pressed="true"] .hero__icone-lire { display: block; }


.repere { background: #14151a; color: #ffffff; border-bottom: 1px solid #2a2b31; }
.repere__liste {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0;
}
.repere__liste li { display: grid; gap: 2px; padding: 22px 20px; border-left: 1px solid #2a2b31; }
.repere__liste li:first-child { border-left: 0; padding-left: 0; }
.repere__liste strong { font: 800 1.75rem/1.05 var(--titres); letter-spacing: 0.01em; text-transform: uppercase; }
.repere__liste span { color: #b9bdc9; font-size: 0.9375rem; line-height: 1.35; }
.repere__liste strong .repere__etoiles { color: var(--accent); font-size: inherit; }


.section { padding: clamp(56px, 10vh, 112px) 0; background: var(--fond); color: var(--texte-page); }
.section--claire {
  --fond: #f5f4f1;
  --surface: #ffffff;
  --bordure: #e2dfd8;
  --texte-page: #15171c;
  --texte-2: #555b68;
  --accent-texte: #b4480d;
}
.section__entete {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 16px 40px;
  margin-bottom: clamp(24px, 4vh, 44px);
}
.section__entete .titre-bloc { margin-bottom: 0; }
.section__entete .texte-page { max-width: 46ch; }
.section__suite { display: flex; justify-content: center; margin-top: clamp(28px, 5vh, 52px); }


.section--claire .carte { box-shadow: 0 10px 34px rgba(21, 23, 28, 0.08); }

.autres-choix { display: grid; gap: 12px; margin-top: clamp(24px, 4vh, 36px); }
.autres-choix__titre { font-weight: 600; }
.autres-choix ul { display: flex; flex-wrap: wrap; gap: 10px; }
.autres-choix a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--bordure);
  text-decoration: none;
  transition: box-shadow 0.2s ease;
}
.autres-choix a:hover { box-shadow: inset 0 0 0 2px var(--accent); }
.autres-choix strong { color: var(--accent-texte); }
.grille-vehicules--vedettes { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
@media (min-width: 900px) { .grille-vehicules--vedettes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }


.tuiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 16px;
}
.tuile {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--bordure);
  border-radius: var(--rayon);
  background: var(--surface);
  color: var(--texte-page);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.25s ease;
}
.tuile:hover { border-color: var(--accent); transform: translateY(-3px); }

.tuile__photo { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #0d0e11; }
.tuile__photo picture { display: block; width: 100%; height: 100%; }
.tuile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}
.tuile:hover img { transform: scale(1.05); }
.tuile__texte { display: grid; flex: 1; align-content: start; gap: 4px; padding: 16px 16px 18px; }
.tuile__nom { font: 800 1.625rem/1 var(--titres); text-transform: uppercase; }
.tuile__detail { color: var(--texte-2); font-size: 0.8125rem; line-height: 1.35; }
.tuile__prix { margin-top: 8px; color: var(--texte-2); font-size: 0.9375rem; }
.tuile__prix strong { color: var(--accent-texte); font: 800 2rem/1 var(--titres); letter-spacing: 0.01em; }
.tuile__lien { margin-top: auto; padding-top: 8px; font-size: 0.875rem; font-weight: 700; }
.tuile:hover .tuile__lien { text-decoration: underline; text-underline-offset: 4px; }

@supports (grid-template-rows: subgrid) {
  .tuiles { row-gap: 0; margin-bottom: -16px; }
  .tuiles > li { display: grid; grid-row: span 5; grid-template-rows: subgrid; margin-bottom: 16px; }
  .tuile { display: grid; grid-row: 1 / -1; grid-template-rows: subgrid; height: auto; }
  .tuile__photo { grid-row: 1; }
  .tuile__texte { grid-row: 2 / span 4; grid-template-rows: subgrid; align-content: stretch; }
  .tuile__lien { align-self: end; }
}


.section--claire .faq-liste { border-top-color: var(--bordure); }


.section--contact { background: #14151a; --fond: #14151a; }
.contact-accueil { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
.contact-accueil .titre-bloc { margin-bottom: 16px; }
.contact-accueil__infos { margin-top: 20px; color: var(--texte-2); }
.contact-accueil__infos a { color: var(--texte-page); text-underline-offset: 4px; }
.contact-accueil__actions { display: grid; gap: 14px; }
.contact-accueil__actions .bouton { width: 100%; }
@media (min-width: 900px) {
  .contact-accueil { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
}


@media (max-width: 899px) {
  
  .hero { height: calc(100svh - var(--barre-h)); min-height: 500px; }
  
  .hero__media { bottom: auto; height: 66%; }
  .hero__affiche, .hero__video { object-position: 50% 80%; }
  .hero__voile {
    background:
      linear-gradient(0deg, #0a0a0a 0%, #0a0a0a 34%, rgba(10, 10, 10, 0.7) 44%, rgba(10, 10, 10, 0) 62%),
      linear-gradient(180deg, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0) 24%);
  }
  .hero__contenu { padding-bottom: 20px; }
  .hero__lieu { margin-bottom: 10px; padding: 6px 14px; font-size: 1rem; }
  .hero__titre { max-width: none; font-size: clamp(2.5rem, 10.5vw, 3.5rem); }
  .hero__texte { max-width: 36ch; margin-top: 10px; font-size: 1.0625rem; line-height: 1.35; }
  .hero__actions { gap: 10px; margin-top: 16px; }
  .hero__actions .bouton { flex: 1 1 100%; min-height: 56px; }
  .hero__tel { margin-top: 6px; font-size: 0.9375rem; }
  .hero__tel a { padding: 6px 0; }
  .hero__pause { top: calc(var(--hauteur-entete) + 10px); }
  .repere__liste { grid-template-columns: 1fr 1fr; }
  .repere__liste li { padding: 16px 14px; border-left: 0; border-top: 1px solid #2a2b31; }
  .repere__liste li:nth-child(-n + 2) { border-top: 0; }
  .repere__liste li:nth-child(odd) { padding-left: 0; }
  .repere__liste li:nth-child(even) { border-left: 1px solid #2a2b31; }
  .repere__liste strong { font-size: 1.5rem; }
  .tuiles { grid-template-columns: 1fr 1fr; }
  .tuiles li:last-child { grid-column: 1 / -1; }
  
  .tuiles li:last-child { display: block; grid-row: auto; }
  .tuiles li:last-child .tuile { display: grid; grid-row: auto; grid-template-rows: none; grid-template-columns: calc(50% - 8px) 1fr; height: 100%; }
  .tuiles li:last-child .tuile__texte { grid-row: auto; grid-template-rows: none; }
  .tuiles li:last-child .tuile__texte { align-content: center; }
  .tuile__nom { font-size: 1.375rem; }
  .tuile__texte { padding: 12px 12px 14px; }
  .tuile__prix { font-size: 0.875rem; }
  .tuile__prix strong { font-size: 1.5rem; }
}
@media (max-height: 640px) and (max-width: 899px) {
  .hero__lieu-suite { display: none; }
  .hero__titre { font-size: 2.25rem; }
  .hero__texte { font-size: 1rem; }
  .hero__actions { margin-top: 12px; }
  .hero__actions .bouton { min-height: 52px; font-size: 1rem; }
}
@media (max-width: 374px) {
  .tuile__detail { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__video { transition: none; }
  .tuile, .tuile img { transition: none; }
  .tuile:hover, .tuile:hover img { transform: none; }
}
