/* Aquila : charte de marque (septembre 2025). Sea Foam et Navy font 90 à 95 % de la page, Mist
   et Eagle Eye (or) servent d'accents. Titres Manrope Medium, sous-titres Manrope ExtraBold en
   capitales, texte Host Grotesk. Photos à coins arrondis, « notch » (encoche des deux coques). */

@font-face { font-family: "Manrope"; src: url("/fonts/Manrope-VariableFont_wght.ttf") format("truetype"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Host Grotesk"; src: url("/fonts/HostGrotesk-VariableFont_wght.ttf") format("truetype"); font-weight: 300 800; font-display: swap; }

:root {
  --navy: #191e28;
  --navy-2: #222938;
  --navy-3: #2e3647;
  --sea: #e1e2dd;
  --sea-2: #ecedea;
  --sea-3: #f6f6f4;
  --mist: #a7a7a4;
  --mist-2: #6f7079;
  --or: #cf9d41;
  --or-2: #b8862c;
  --blanc: #fff;
  --rayon: 22px;
  --rayon-s: 12px;
  --largeur: 1320px;
  --marge: clamp(20px, 4vw, 48px);
  --titre: "Manrope", system-ui, sans-serif;
  --texte: "Host Grotesk", system-ui, sans-serif;
  --ombre: 0 20px 50px -30px rgba(25, 30, 40, .45);
  --entete: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--entete) + 64px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sea-3); color: var(--navy); font: 400 17px/1.6 var(--texte); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--titre); font-weight: 500; letter-spacing: -.02em; line-height: 1.08; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(42px, 6.4vw, 92px); letter-spacing: -.035em; line-height: 1; }
h2 { font-size: clamp(32px, 4vw, 56px); }
h3 { font-size: clamp(22px, 2vw, 28px); }
p { margin: 0 0 1em; }
.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 var(--marge); }
.sur-titre { display: inline-block; font: 800 12.5px/1.3 var(--titre); letter-spacing: .2em; text-transform: uppercase; color: var(--mist-2); margin-bottom: 18px; }
.sur-titre.or { color: var(--or); }
.chapeau { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; max-width: 60ch; }
.texte { max-width: 64ch; hyphens: none; }
.texte p { margin-bottom: 1.1em; }
.lien-fleche { display: inline-block; font: 700 14px/1.4 var(--titre); letter-spacing: .12em; text-transform: uppercase; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; transition: color .2s; }
.lien-fleche { text-decoration-color: var(--or); }
.lien-fleche:hover { color: var(--or-2); }
/* Touches de doré : un mot en or sur fond sombre ou photo, surligné sur fond clair. */
.accent { font-style: normal; color: var(--or); }
.surligne { font-style: normal; padding: 0 .08em; background: linear-gradient(transparent 62%, rgba(207, 157, 65, .45) 62%, rgba(207, 157, 65, .45) 90%, transparent 90%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sombre .lien-fleche:hover { color: var(--or); }
/* « Découvrir la gamme » des cartes de gammes : doré, blanc au survol de la carte. */
.carte-gamme .lien-fleche { color: var(--or); }
.carte-gamme:hover .lien-fleche { color: var(--sea); text-decoration-color: var(--sea); }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------ boutons, étiquettes */

.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 12px; border: 1.5px solid var(--navy); background: var(--navy); color: var(--sea); font: 700 14px/1 var(--titre); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.bouton:hover { background: var(--or); border-color: var(--or); color: var(--navy); }
.bouton.clair { background: var(--sea); color: var(--navy); border-color: var(--sea); }
.bouton.clair:hover { background: var(--or); border-color: var(--or); }
/* Bouton doré (accueil) : passe en blanc au survol. */
.bouton.or { background: var(--or); border-color: var(--or); color: var(--navy); }
.bouton.or:hover { background: var(--sea); border-color: var(--sea); color: var(--navy); }
.bouton.contour { background: transparent; color: var(--navy); }
.bouton.contour:hover { background: var(--navy); color: var(--sea); }
.sombre .bouton.contour, .bouton.contour.clair { color: var(--sea); border-color: rgba(225, 226, 221, .5); }
.sombre .bouton.contour:hover, .bouton.contour.clair:hover { background: var(--sea); color: var(--navy); }
.boutons { display: flex; flex-wrap: wrap; gap: 12px; }

/* « 50 | YACHT » : système d'étiquettes de la charte (longueur puis gamme). */
.pastille { display: inline-block; padding: 6px 12px; border-radius: 8px; background: var(--navy); color: var(--sea); font: 700 11px/1 var(--titre); letter-spacing: .22em; text-transform: uppercase; }
.pastille.or { background: var(--or); color: var(--navy); }

/* Le « notch » : rectangle arrondi avec l'encoche des deux coques au milieu du bas. */
.notch { border-radius: var(--rayon); overflow: hidden; -webkit-mask: url("/img/marque/notch.svg") bottom center / clamp(150px, 22%, 280px) auto no-repeat, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: url("/img/marque/notch.svg") bottom center / clamp(150px, 22%, 280px) auto no-repeat exclude, linear-gradient(#000 0 0); }
.arrondi { border-radius: var(--rayon); overflow: hidden; }

/* ------------------------------------------------------------ en-tête */

.entete { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--entete); color: var(--sea); transition: background .3s, box-shadow .3s; }
.entete::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(25, 30, 40, .55), rgba(25, 30, 40, 0)); pointer-events: none; transition: opacity .3s; }
.entete.plein, .entete-plein .entete { background: var(--navy); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .6); }
.entete.plein::before, .entete-plein .entete::before { opacity: 0; }
.entete > .conteneur { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo { display: block; width: 150px; flex: none; }
.logo img { width: 100%; height: auto; }
.navigation { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.navigation > a, .navigation > .menu > button { display: inline-flex; align-items: center; height: 44px; padding: 0 14px; border: 0; background: none; border-radius: 10px; font: 700 13px/1 var(--titre); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.navigation > a:hover, .navigation > .menu > button:hover, .navigation > a.actif { background: rgba(225, 226, 221, .12); }
.navigation > .bouton { margin-left: 10px; min-height: 44px; height: 44px; padding: 0 20px; background: var(--sea); color: var(--navy); border-color: var(--sea); }
.navigation > .bouton:hover { background: var(--or); border-color: var(--or); }
.menu > button::after { content: ""; width: 7px; height: 7px; margin-left: 10px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
/* Menu Modèles : panneau sombre sous l'en-tête, gammes à gauche, aperçu de la gamme survolée
   à droite (photo, accroche, modèles). */
.mega { position: absolute; top: 100%; left: 0; right: 0; padding: 40px 0 28px; background: var(--navy); color: var(--sea); border-top: 1px solid rgba(225, 226, 221, .1); box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .55); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 22px; }
.menu:hover .mega, .menu:focus-within .mega, .menu.ouvert .mega { opacity: 1; visibility: visible; transform: none; }
.entete:has(.menu:hover), .entete:has(.menu:focus-within), .entete:has(.menu.ouvert) { background: var(--navy); }
.entete:has(.menu:hover)::before, .entete:has(.menu:focus-within)::before, .entete:has(.menu.ouvert)::before { opacity: 0; }
.mega-grille { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 0 clamp(40px, 5vw, 80px); }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega-gammes a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(225, 226, 221, .12); text-decoration: none; color: var(--mist); transition: color .2s; }
.mega-gammes li:first-child a { border-top: 1px solid rgba(225, 226, 221, .12); }
.mega-gammes span { padding: 0 .08em; font: 500 19px/1.2 var(--titre); letter-spacing: -.01em; }
.mega-gammes small { font: 500 13.5px/1 var(--texte); color: var(--mist); opacity: .75; }
.mega-gammes a:hover, .mega-gammes a.actif { color: var(--sea); }
.mega-apercu { display: none; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; }
.mega-apercu.actif { display: grid; animation: apparition-menu .3s ease; }
@keyframes apparition-menu { from { opacity: 0; } to { opacity: 1; } }
.mega-photo { display: block; aspect-ratio: 4 / 3; border-radius: var(--rayon-s); overflow: hidden; background: var(--navy-2); }
.mega-photo img { width: 100%; height: 100%; object-fit: cover; }
.mega-detail { display: flex; flex-direction: column; }
.mega-accroche { margin: 0 0 20px; font: 500 22px/1.25 var(--titre); letter-spacing: -.01em; color: var(--sea); text-wrap: balance; }
.mega-modeles a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(225, 226, 221, .1); text-decoration: none; font: 600 15.5px/1.3 var(--titre); color: var(--sea); transition: color .2s; }
.mega-modeles a:hover { color: var(--or); }
.mega-modeles small { font: 500 13px/1 var(--texte); color: var(--mist); }
.mega-pied { grid-column: 1 / -1; display: flex; gap: 40px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(225, 226, 221, .12); }
.mega-pied a { font: 700 13px/1 var(--titre); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--sea); }
.mega-pied a:hover { color: var(--or); }
/* Panneau blanc sur grand écran (sur mobile, il reste dans le tiroir sombre). */
@media (min-width: 961px) {
  .mega { background: var(--blanc); color: var(--navy); border-top: 0; box-shadow: 0 30px 60px -30px rgba(25, 30, 40, .45); }
  .mega-gammes a, .mega-modeles a, .mega-pied, .mega-gammes li:first-child a { border-color: rgba(25, 30, 40, .1); }
  .mega-gammes a, .mega-gammes small { color: var(--mist-2); }
  .mega-gammes small { opacity: 1; }
  .mega-gammes a:hover, .mega-gammes a.actif { color: var(--navy); }
  .mega-accroche, .mega-modeles a, .mega-pied a { color: var(--navy); }
  .mega-modeles small { color: var(--mist-2); }
  .mega-modeles a:hover, .mega-pied a:hover { color: var(--or-2); }
  .mega-photo { background: var(--sea); }
  /* touches de doré : nombre de modèles de la gamme survolée, « Nouveau », liens du bas */
  .mega-gammes a { padding: 11px 0; }
  .mega-gammes a:hover small, .mega-gammes a.actif small { color: var(--or-2); }
  .mega-modeles small.nouveau { font-weight: 700; color: var(--or-2); }
  .mega-pied a { text-decoration: underline; text-decoration-color: var(--or); text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
}
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 12px; background: rgba(225, 226, 221, .14); cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 1.6px; margin: auto; background: var(--sea); position: relative; transition: transform .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

/* ------------------------------------------------------------ héros */

.heros { position: relative; min-height: min(100svh, 980px); display: flex; align-items: flex-end; color: var(--sea); padding: calc(var(--entete) + 40px) 0 clamp(48px, 8vh, 96px); isolation: isolate; }
.heros-fond { position: absolute; inset: 0; z-index: -1; }
.heros-fond img, .heros-fond video { width: 100%; height: 100%; object-fit: cover; }
.heros-fond::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(25, 30, 40, .25) 0%, rgba(25, 30, 40, 0) 30%, rgba(25, 30, 40, .15) 55%, rgba(25, 30, 40, .82) 100%); }
.heros h1 { max-width: 14ch; }
.heros.accueil h1 { max-width: 18ch; font-size: clamp(40px, 5.6vw, 84px); }
.heros.court h1 { max-width: 20ch; font-size: clamp(38px, 5vw, 72px); }
.heros h1 small { display: block; margin-top: 14px; font: 500 clamp(18px, 1.8vw, 24px)/1.3 var(--titre); letter-spacing: -.01em; color: rgba(236, 237, 234, .88); }
.compte-gamme { margin-top: 10px !important; font-size: 15px; }
.heros .chapeau { color: rgba(236, 237, 234, .92); text-wrap: balance; }
.heros-bas { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.heros.modele { min-height: min(92svh, 900px); }
.heros-fond::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(25, 30, 40, .6), rgba(25, 30, 40, 0) 65%); }
.heros-fond::after { z-index: 1; }
.heros.modele .heros-fond::after { background: linear-gradient(180deg, rgba(25, 30, 40, .3) 0%, rgba(25, 30, 40, 0) 28%, rgba(25, 30, 40, .35) 52%, rgba(25, 30, 40, .9) 100%); }
.heros.modele h1 { max-width: none; margin-bottom: 16px; }
/* La marque : texte dans le ciel, en haut à gauche, pour laisser la flotte visible en bas ; voile
   sombre en haut seulement. */
.heros.marque { align-items: flex-start; padding-top: calc(var(--entete) + clamp(40px, 9vh, 110px)); }
.heros.marque .heros-fond::before { background: linear-gradient(100deg, rgba(25, 30, 40, .55), rgba(25, 30, 40, 0) 60%); }
.heros.marque .heros-fond::after { background: linear-gradient(180deg, rgba(25, 30, 40, .55) 0%, rgba(25, 30, 40, .2) 38%, rgba(25, 30, 40, 0) 60%, rgba(25, 30, 40, .25) 100%); }
.heros.marque .chapeau { max-width: 52ch; }
.heros.court { min-height: 62svh; }
.defiler { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid rgba(225, 226, 221, .6); border-radius: 14px; }
.defiler::after { content: ""; position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--sea); animation: defiler 1.8s infinite; }
@keyframes defiler { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Chiffres clés sous le héros d'un modèle */
.chiffres-cles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; margin-top: 36px; border-radius: 16px; overflow: hidden; background: rgba(225, 226, 221, .18); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.chiffres-cles div { padding: 18px 20px; background: rgba(25, 30, 40, .55); }
.chiffres-cles dt { font: 700 11px/1.2 var(--titre); letter-spacing: .18em; text-transform: uppercase; color: rgba(225, 226, 221, .7); }
.chiffres-cles dd { margin: 8px 0 0; font: 500 clamp(20px, 2vw, 28px)/1.1 var(--titre); letter-spacing: -.01em; }
/* Accueil : texte à gauche, carte des nouveautés en bas à droite, vitrée sur la vidéo. */
.heros-grille { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px 48px; }
.vedette { width: 380px; padding: 12px; border-radius: 18px; background: rgba(25, 30, 40, .5); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 0 0 1px rgba(225, 226, 221, .14); }
.vedette-items { display: grid; }
.vedette-item { grid-area: 1 / 1; display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; align-items: center; color: var(--sea); text-decoration: none; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.vedette-item.actif { opacity: 1; visibility: visible; }
.vedette-photo { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--navy-2); }
.vedette-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.vedette-item:hover .vedette-photo img { transform: scale(1.06); }
.vedette-texte { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.vedette-texte .pastille { padding: 5px 9px; font-size: 10px; }
.vedette-texte strong { font: 600 19px/1.15 var(--titre); letter-spacing: -.01em; transition: color .2s; }
.vedette-item:hover strong { color: var(--or); }
.vedette-texte > span:last-child { font: 500 13px/1.35 var(--texte); color: rgba(225, 226, 221, .78); }
/* Traits plus visibles, et une zone cliquable de 28 px de haut autour de chacun. */
.vedette-points { display: flex; gap: 2px; margin: 4px 0 -8px; }
.vedette-points button { display: grid; align-items: center; width: 44px; height: 28px; padding: 0 4px; border: 0; background: none; cursor: pointer; }
.vedette-points button::before { content: ""; height: 5px; border-radius: 3px; background: rgba(225, 226, 221, .35); transition: background .2s; }
.vedette-points button:hover::before { background: rgba(225, 226, 221, .7); }
.vedette-points button[aria-current="true"]::before { background: var(--sea); }
.vedette-points button:focus-visible { outline: 2px solid var(--or); outline-offset: -2px; border-radius: 6px; }

/* ------------------------------------------------------------ sections */

.section { padding: clamp(72px, 10vw, 140px) 0; }
.section.serre { padding: clamp(48px, 6vw, 80px) 0; }
.section.sea { background: var(--sea); }
.section.blanc { background: var(--blanc); }
.sombre { background: var(--navy); color: var(--sea); }
.sombre .sur-titre { color: var(--mist); }
.sombre .sur-titre.or { color: var(--or); }
.entete-section { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 64px); }
.entete-section h2 { max-width: 18ch; margin: 0; }
.entete-section p { max-width: 52ch; margin: 0; color: var(--mist-2); }
.sombre .entete-section p { color: var(--mist); }
.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.deux-colonnes.haut { align-items: start; }

/* ------------------------------------------------------------ cartes modèles et gammes */

.grille-modeles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 28px; }
/* Nouveautés de l'accueil : toutes sur une ligne (4), puis 2 par ligne, puis 1. */
.grille-modeles.nouveautes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.grille-modeles.nouveautes .carte-modele-titre { font-size: 22px; }
@media (max-width: 1100px) { .grille-modeles.nouveautes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grille-modeles.nouveautes { grid-template-columns: 1fr; } }
.carte-modele { position: relative; display: flex; flex-direction: column; border-radius: var(--rayon); background: var(--blanc); text-decoration: none; overflow: hidden; transition: transform .35s, box-shadow .35s; }
.carte-modele:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.carte-modele .photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sea); }
.carte-modele .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.carte-modele:hover .photo img { transform: scale(1.04); }
.carte-modele .pastille { position: absolute; top: 16px; left: 16px; }
.carte-modele .corps { display: flex; flex-direction: column; gap: 14px; padding: 22px 24px 24px; flex: 1; }
.carte-modele-titre { margin: 0; font-size: 26px; }
.carte-modele p { margin: 0; color: var(--mist-2); font-size: 15.5px; line-height: 1.5; }
.mini-chiffres { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: auto 0 0; padding-top: 14px; border-top: 1px solid rgba(25, 30, 40, .08); font: 600 13.5px/1.3 var(--titre); }
.mini-chiffres span { color: var(--mist-2); font-weight: 500; }

.gammes { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.carte-gamme { position: relative; grid-column: span 3; min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end; color: var(--sea); text-decoration: none; border-radius: var(--rayon); overflow: hidden; isolation: isolate; }
.carte-gamme:nth-child(1), .carte-gamme:nth-child(2) { grid-column: span 6; min-height: 540px; }
.carte-gamme img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.carte-gamme::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(25, 30, 40, 0) 38%, rgba(25, 30, 40, .55) 62%, rgba(25, 30, 40, .94) 100%); }
.carte-gamme:hover img { transform: scale(1.05); }
/* Même structure de texte sur chaque carte (une ligne, un titre d'une ligne, deux lignes de
   texte) : les textes d'une même rangée tombent à la même hauteur. */
.section.accueil-gammes { padding-top: clamp(40px, 5vw, 64px); }
.carte-gamme-texte { padding: 28px; text-shadow: 0 1px 14px rgba(25, 30, 40, .35); }
.carte-gamme-info { display: block; margin-bottom: 12px; font: 700 12px/1 var(--titre); letter-spacing: .16em; text-transform: uppercase; color: var(--or); }
.carte-gamme h3 { margin-bottom: 10px; font-size: clamp(30px, 3vw, 42px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.carte-gamme p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 2.9em; max-width: 42ch; margin-bottom: 18px; color: rgba(236, 237, 234, .94); font-size: 16px; line-height: 1.45; }

/* ------------------------------------------------------------ accueil */

/* Vidéo de l'accueil : bouton pause (obligatoire pour une animation de plus de 5 s). */
.video-pause { position: absolute; right: var(--marge); top: calc(var(--entete) + 18px); z-index: 2; width: 42px; height: 42px; border: 1.5px solid rgba(225, 226, 221, .6); border-radius: 50%; background: rgba(25, 30, 40, .25); cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.video-pause:hover { background: rgba(25, 30, 40, .55); border-color: var(--sea); }
.video-pause span { width: 12px; height: 13px; border-left: 3px solid var(--sea); border-right: 3px solid var(--sea); }
.video-pause.en-pause span { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent var(--sea); margin-left: 3px; }
/* Mise en page éditoriale (valeurs, bénéfices) : photo à gauche, titres et textes séparés par
   des filets à droite. */
.edito-tete { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 16px 64px; margin-bottom: clamp(40px, 5vw, 72px); }
.edito-tete .sur-titre { grid-column: 1 / -1; margin: 0; }
.edito-tete h2 { margin: 0; max-width: 16ch; }
.edito-tete p { margin: 0; color: var(--mist-2); max-width: 44ch; }
.sombre .edito-tete p { color: var(--mist); }
.edito { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.edito.inverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.edito.inverse .edito-photo { order: 2; }
.edito-photo { margin: 0; aspect-ratio: 4 / 5; position: sticky; top: calc(var(--entete) + 32px); }
.liste-edito { list-style: none; margin: 0; padding: 0; }
.liste-edito li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 12px 40px; padding: 34px 0; border-top: 1px solid rgba(25, 30, 40, .14); }
.liste-edito li:last-child { border-bottom: 1px solid rgba(25, 30, 40, .14); }
.liste-edito h3 { margin: 0; font-size: clamp(22px, 2.1vw, 28px); line-height: 1.15; transition: color .25s; }
.liste-edito p { margin: 0; color: var(--mist-2); font-size: 16.5px; line-height: 1.6; }
.liste-edito li:hover h3 { color: var(--or-2); }
.sombre .liste-edito li { border-color: rgba(225, 226, 221, .16); }
.sombre .liste-edito p { color: var(--mist); }
.sombre .liste-edito li:hover h3 { color: var(--or); }
/* Page « La marque » : titre à gauche et texte à droite, film cadré, valeurs illustrées en
   alternance, mosaïque de la flotte. */
.recit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.recit-carte { position: relative; margin: 0; aspect-ratio: 3 / 4; border-radius: var(--rayon); overflow: hidden; background: var(--navy-2); color: var(--sea); isolation: isolate; }
.recit-carte img { position: absolute; inset: 0; z-index: -2; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.recit-carte:hover img { transform: scale(1.04); }
.recit-carte::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(25, 30, 40, 0) 40%, rgba(25, 30, 40, .6) 66%, rgba(25, 30, 40, .94) 100%); }
.recit-carte figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; text-shadow: 0 1px 14px rgba(25, 30, 40, .35); }
.recit-carte h3 { margin: 0 0 10px; font-size: clamp(22px, 1.9vw, 27px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recit-carte p { margin: 0; max-width: 34ch; color: rgba(236, 237, 234, .92); font-size: 15.5px; line-height: 1.5; }
.valeurs-cartes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.valeur-carte { display: flex; flex-direction: column; border-radius: var(--rayon); overflow: hidden; background: var(--blanc); }
.valeur-carte figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sea); }
.valeur-carte > div { padding: 22px 22px 26px; }
.valeur-carte h3 { margin: 0 0 8px; font-size: 21px; }
.valeur-carte p { margin: 0; color: var(--mist-2); font-size: 15px; line-height: 1.5; }
.film { position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: var(--rayon); overflow: hidden; background: var(--navy-2); }
.film video { width: 100%; height: 100%; object-fit: cover; display: block; }
.film .video-pause { top: 18px; right: 18px; }
.flotte-mosaique { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(70px, 8vw, 118px); gap: 14px; margin-top: clamp(40px, 5vw, 64px); }
.flotte-mosaique a { display: block; border-radius: var(--rayon-s); overflow: hidden; background: var(--sea-2); }
.flotte-mosaique img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.flotte-mosaique a:hover img { transform: scale(1.04); }
.flotte-mosaique .m1 { grid-column: span 8; grid-row: span 4; }
.flotte-mosaique .m2, .flotte-mosaique .m3 { grid-column: span 4; grid-row: span 2; }
.flotte-mosaique .m4, .flotte-mosaique .m5, .flotte-mosaique .m6 { grid-column: span 4; grid-row: span 2; }
.mosaique { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; gap: 16px; }
.mosaique figure { margin: 0; border-radius: var(--rayon); overflow: hidden; }
.mosaique img { width: 100%; height: 100%; object-fit: cover; }
.mosaique .a { grid-column: span 7; grid-row: span 4; }
.mosaique .b { grid-column: span 5; grid-row: span 2; }
.mosaique .c { grid-column: span 5; grid-row: span 2; }
.distinctions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.distinction { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--rayon); background: var(--blanc); }
.distinction img { height: 86px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.distinction strong { font: 700 15px/1.3 var(--titre); }
.distinction span { color: var(--mist-2); font-size: 14px; line-height: 1.4; }
.distinction a { font-size: 14px; color: var(--mist-2); }

.citation { font: 500 clamp(28px, 3.6vw, 52px)/1.15 var(--titre); letter-spacing: -.025em; max-width: 22ch; margin: 0; text-wrap: balance; }

/* ------------------------------------------------------------ page modèle */

.sous-nav { position: sticky; top: var(--entete); z-index: 40; background: var(--blanc); border-bottom: 1px solid rgba(25, 30, 40, .1); box-shadow: 0 14px 30px -24px rgba(25, 30, 40, .5); }
.sous-nav .conteneur { display: flex; align-items: center; gap: 24px; min-height: 66px; }
.sous-nav strong { font: 700 17px/1 var(--titre); letter-spacing: -.01em; white-space: nowrap; }
.sous-nav nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin-left: auto; }
.sous-nav nav::-webkit-scrollbar { display: none; }
.sous-nav nav a { flex: none; padding: 11px 15px; border-radius: 10px; font: 600 14.5px/1 var(--titre); text-decoration: none; color: var(--navy-3); transition: background .2s, color .2s; }
.sous-nav nav a:hover { background: var(--sea-2); color: var(--navy); }
.sous-nav nav a.actif { background: var(--navy); color: var(--sea-3); }
.sous-nav .bouton { min-height: 40px; height: 40px; padding: 0 16px; font-size: 12px; flex: none; }

.points-forts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.point-fort { padding: 26px 24px; border-radius: 18px; background: var(--blanc); border-top: 2px solid var(--or); }
.point-fort h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; letter-spacing: -.01em; }
.point-fort p { margin: 0; font-size: 15.5px; color: var(--mist-2); line-height: 1.5; }
.signature { margin-top: 56px; font: 500 clamp(22px, 2.4vw, 30px)/1.3 var(--titre); color: var(--or-2); letter-spacing: -.01em; }

/* Galerie */
.onglets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.onglets button { padding: 11px 18px; border: 1.5px solid rgba(25, 30, 40, .16); border-radius: 11px; background: transparent; font: 600 14px/1 var(--titre); cursor: pointer; }
.onglets button small { margin-left: 6px; color: var(--mist-2); font-weight: 500; }
.onglets button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--sea); }
.onglets button[aria-selected="true"] small { color: var(--mist); }
.sombre .onglets button { border-color: rgba(225, 226, 221, .22); }
.sombre .onglets button[aria-selected="true"] { background: var(--sea); border-color: var(--sea); color: var(--navy); }
.galerie { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 14px; }
.galerie a { position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy-2); cursor: zoom-in; }
.galerie a.large { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.galerie a.haute { grid-row: span 2; aspect-ratio: auto; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1), opacity .3s; }
.galerie a:hover img { transform: scale(1.05); }
.galerie a span { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: 8px; background: rgba(25, 30, 40, .65); color: var(--sea); font: 600 12px/1 var(--titre); opacity: 0; transform: translateY(4px); transition: .25s; }
.galerie a:hover span { opacity: 1; transform: none; }
.galerie [hidden] { display: none; }
.plus-photos { margin-top: 24px; text-align: center; }

/* Visionneuse */
.visionneuse { position: fixed; inset: 0; z-index: 100; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(13, 16, 22, .96); color: var(--sea); }
.visionneuse::backdrop { background: rgba(13, 16, 22, .96); }
.visionneuse figure { position: absolute; inset: 64px 72px 72px; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.visionneuse img { max-width: 100%; max-height: calc(100% - 40px); object-fit: contain; border-radius: 12px; }
.visionneuse figcaption { font: 500 14px/1.4 var(--titre); color: var(--mist); }
.visionneuse button { position: absolute; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(225, 226, 221, .12); color: var(--sea); font-size: 26px; line-height: 1; cursor: pointer; }
.visionneuse button:hover { background: rgba(225, 226, 221, .25); }
.visionneuse .fermer { top: 14px; right: 14px; font-size: 30px; }
.visionneuse .precedent { left: 14px; top: 50%; translate: 0 -50%; }
.visionneuse .suivant { right: 14px; top: 50%; translate: 0 -50%; }
.visionneuse .compteur { position: absolute; top: 28px; left: 24px; font: 600 13px/1 var(--titre); letter-spacing: .12em; color: var(--mist); }

/* Bouton 360 flottant et fenêtre de la visite */
.bouton-360 { position: fixed; right: 24px; bottom: 24px; z-index: 45; display: inline-flex; align-items: center; gap: 8px; height: 58px; padding: 0 20px 0 16px; border: 0; border-radius: 999px; background: var(--navy); color: var(--sea); font: 700 16px/1 var(--titre); letter-spacing: .02em; box-shadow: 0 14px 34px -12px rgba(25, 30, 40, .6), 0 0 0 1px rgba(225, 226, 221, .14); cursor: pointer; opacity: 0; transform: translateY(16px) scale(.96); pointer-events: none; transition: opacity .3s, transform .3s, background .2s, color .2s; }
.bouton-360.visible { opacity: 1; transform: none; pointer-events: auto; }
.bouton-360:hover { background: var(--or); color: var(--navy); }
.bouton-360 svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fenetre-visite { width: min(1400px, 96vw); height: min(880px, 92svh); max-width: none; max-height: none; padding: 0; border: 0; border-radius: var(--rayon); background: var(--navy); color: var(--sea); overflow: hidden; }
.fenetre-visite[open] { display: flex; flex-direction: column; }
.fenetre-visite::backdrop { background: rgba(13, 16, 22, .8); backdrop-filter: blur(4px); }
.fenetre-visite-tete { display: flex; align-items: center; gap: 20px; padding: 10px 10px 10px 24px; }
.fenetre-visite-tete strong { font: 600 16px/1.2 var(--titre); margin-right: auto; }
.fenetre-visite-tete a { font: 600 14px/1 var(--titre); color: var(--mist); }
.fenetre-visite-tete a:hover { color: var(--sea); }
.fenetre-visite-tete button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(225, 226, 221, .12); color: var(--sea); font-size: 26px; line-height: 1; cursor: pointer; }
.fenetre-visite-tete button:hover { background: rgba(225, 226, 221, .25); }
.fenetre-visite-corps { position: relative; flex: 1; background: #000; }
.fenetre-visite-corps iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) {
  .bouton-360 { right: 16px; bottom: 16px; height: 52px; padding: 0 16px 0 13px; font-size: 15px; }
  .fenetre-visite { width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
  .fenetre-visite-tete { padding-left: 16px; }
  .fenetre-visite-tete a { display: none; }
}

/* Plans */
.plans { display: grid; gap: 24px; }
.plans.deux { grid-template-columns: 1fr 1fr; align-items: start; }
.plan { margin: 0; padding: clamp(16px, 3vw, 40px); border-radius: var(--rayon); background: var(--blanc); }
.plan a { display: block; cursor: zoom-in; }
.plan img { width: 100%; }
.plan figcaption { margin-top: 18px; font-size: 14px; color: var(--mist-2); }

/* Caractéristiques */
.caracteristiques { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.bloc-carac { padding: 28px 30px; border-radius: var(--rayon); background: var(--blanc); }
.bloc-carac h3 { display: flex; align-items: center; gap: 12px; font: 800 13px/1 var(--titre); letter-spacing: .2em; text-transform: uppercase; color: var(--or-2); margin-bottom: 14px; }
.bloc-carac table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.bloc-carac th, .bloc-carac td { padding: 11px 0; border-bottom: 1px solid rgba(25, 30, 40, .08); text-align: left; vertical-align: top; }
.bloc-carac tr:last-child th, .bloc-carac tr:last-child td { border-bottom: 0; }
.bloc-carac th { font-weight: 400; color: var(--mist-2); width: 46%; padding-right: 16px; }
.bloc-carac td { font: 600 15.5px/1.4 var(--titre); }
.bloc-carac td small { display: block; margin-top: 3px; font: 400 13px/1.4 var(--texte); color: var(--mist-2); }
.bloc-carac ul { margin: 0; padding: 0; list-style: none; }
.bloc-carac li { padding: 11px 0; border-bottom: 1px solid rgba(25, 30, 40, .08); font: 600 15.5px/1.4 var(--titre); }
.bloc-carac li:last-child { border-bottom: 0; }
.bloc-carac li em { display: inline-block; margin-right: 8px; padding: 3px 7px; border-radius: 6px; background: var(--sea); font: 700 10.5px/1.2 var(--titre); letter-spacing: .14em; text-transform: uppercase; font-style: normal; vertical-align: 2px; }
.bloc-carac.large { grid-column: 1 / -1; }
.mention { margin-top: 24px; font-size: 13px; color: var(--mist-2); max-width: 90ch; }
.sombre .mention { color: var(--mist); }

/* Performances */
.perf { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.perf-graphe { padding: 26px; border-radius: var(--rayon); background: var(--navy-2); }
.perf-graphe svg { display: block; width: 100%; height: auto; overflow: visible; }
.perf-graphe .legende { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font: 600 13px/1.3 var(--titre); color: var(--mist); }
.perf-graphe .legende i { display: inline-block; width: 18px; height: 3px; margin-right: 8px; border-radius: 2px; vertical-align: 4px; }
.perf-select { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.perf-select button { padding: 9px 14px; border: 1.5px solid rgba(225, 226, 221, .22); border-radius: 10px; background: transparent; color: var(--sea); font: 600 13px/1.2 var(--titre); text-align: left; cursor: pointer; }
.perf-select button[aria-pressed="true"] { background: var(--sea); border-color: var(--sea); color: var(--navy); }
.perf-table { padding: 10px 24px; border-radius: var(--rayon); background: var(--navy-2); overflow: auto; }
.perf-table table { width: 100%; border-collapse: collapse; font: 500 14.5px/1.2 var(--titre); font-variant-numeric: tabular-nums; }
.perf-table th { padding: 14px 8px 10px; text-align: right; font: 700 11px/1.3 var(--titre); letter-spacing: .14em; text-transform: uppercase; color: var(--mist); }
.perf-table td { padding: 9px 8px; text-align: right; border-top: 1px solid rgba(225, 226, 221, .08); }
.perf-table th:first-child, .perf-table td:first-child { text-align: left; }
.perf-table tr.max td { color: var(--or); }
.perf-resume { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.perf-resume div { padding: 16px 18px; border-radius: 14px; background: rgba(225, 226, 221, .07); }
.perf-resume dt { font: 700 10.5px/1.3 var(--titre); letter-spacing: .16em; text-transform: uppercase; color: var(--mist); }
.perf-resume dd { margin: 6px 0 0; font: 500 24px/1 var(--titre); }

/* Vidéos */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video { margin: 0; }
.video button, .video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; }
.video button { position: relative; padding: 0; overflow: hidden; background: var(--navy-2) center / cover no-repeat; cursor: pointer; }
.video button::before { content: ""; position: absolute; inset: 0; background: rgba(25, 30, 40, .25); transition: background .25s; }
.video button:hover::before { background: rgba(25, 30, 40, .05); }
.video button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--sea) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7v10l8-5z' fill='%23191e28'/%3E%3C/svg%3E") center / 30px no-repeat; transition: transform .25s; }
.video button:hover::after { transform: scale(1.08); background-color: var(--or); }
.video figcaption { margin-top: 12px; font: 600 15px/1.4 var(--titre); }
.video.vedette { grid-column: span 2; grid-row: span 2; }
.visite { position: relative; display: block; border-radius: var(--rayon); overflow: hidden; min-height: 420px; color: var(--sea); text-decoration: none; isolation: isolate; }
.visite img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.visite::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(25, 30, 40, .85), rgba(25, 30, 40, .1)); }
.visite div { padding: clamp(28px, 5vw, 64px); max-width: 560px; }
.visite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 1; }

/* Autres modèles, navigation entre modèles */
.voisins { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.voisin { display: flex; align-items: center; gap: 22px; padding: 18px; border-radius: var(--rayon); background: var(--blanc); text-decoration: none; transition: box-shadow .3s; }
.voisin:hover { box-shadow: var(--ombre); }
.voisin img { width: 150px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.voisin small { display: block; margin-bottom: 6px; font: 700 11px/1 var(--titre); letter-spacing: .18em; text-transform: uppercase; color: var(--mist-2); }
.voisin strong { font: 500 24px/1.1 var(--titre); }
.voisin.suivant { flex-direction: row-reverse; text-align: right; }

/* ------------------------------------------------------------ tableaux comparatifs */

.comparatif { overflow-x: auto; border-radius: var(--rayon); background: var(--blanc); }
.comparatif table { width: 100%; min-width: 720px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.comparatif th, .comparatif td { padding: 14px 18px; border-bottom: 1px solid rgba(25, 30, 40, .07); text-align: left; vertical-align: middle; }
.comparatif thead th { position: sticky; top: 0; background: var(--blanc); font: 600 17px/1.2 var(--titre); vertical-align: bottom; }
.comparatif thead th a { text-decoration: none; }
.comparatif thead th img { width: 100%; max-width: 220px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; margin-bottom: 12px; }
.comparatif tbody th { width: 210px; font: 500 14.5px/1.3 var(--texte); color: var(--mist-2); white-space: nowrap; }
.comparatif td { font: 600 15.5px/1.3 var(--titre); }
.comparatif tr.groupe th { padding-top: 28px; font: 800 12px/1 var(--titre); letter-spacing: .2em; text-transform: uppercase; color: var(--or-2); background: transparent; }
.barre { display: block; height: 5px; margin-top: 8px; border-radius: 3px; background: var(--sea); overflow: hidden; }
.barre i { display: block; height: 100%; border-radius: 3px; background: var(--navy); }
td.meilleur .barre i { background: var(--or); }
/* Tableau de toute la gamme (accueil) : filtre par gamme, miniatures, unités en petit, barres de
   longueur et de vitesse (la plus grande en doré), ligne entière cliquable. */
.tg-filtres { margin-bottom: 18px; }
.tableau-gamme { border: 1px solid rgba(25, 30, 40, .08); }
.tableau-gamme table { min-width: 980px; }
.tableau-gamme thead th { padding: 16px 18px; border-bottom: 1px solid rgba(25, 30, 40, .12); font: 600 13px/1.2 var(--titre); color: var(--mist-2); white-space: nowrap; }
.tableau-gamme th, .tableau-gamme td { padding: 12px 18px; }
.tableau-gamme td { font: 600 15.5px/1.2 var(--titre); color: var(--navy); white-space: nowrap; }
.tableau-gamme td small { font: 500 12.5px/1 var(--texte); color: var(--mist-2); }
.tableau-gamme .tg-vide { color: rgba(25, 30, 40, .25); }
.tableau-gamme tbody th { width: auto; color: var(--navy); }
.tg-groupe th { padding: 26px 18px 12px !important; background: var(--sea-3); border-bottom: 1px solid rgba(25, 30, 40, .1); }
.tg-groupe a { margin-right: 14px; font: 600 20px/1 var(--titre); letter-spacing: -.01em; color: var(--navy); text-decoration: none; }
.tg-groupe a:hover { color: var(--or-2); }
.tg-groupe span { font: 500 13.5px/1 var(--texte); color: var(--mist-2); }
.tg-ligne { cursor: pointer; transition: background .15s; }
.tg-ligne:hover { background: var(--sea-3); }
.tg-modele { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy); }
.tg-photo { display: block; width: 72px; aspect-ratio: 3 / 2; flex: none; border-radius: 8px; overflow: hidden; background: var(--sea); }
.tg-photo img { width: 100%; height: 100%; object-fit: cover; }
.tg-nom { display: inline-flex; align-items: center; gap: 10px; font: 600 15.5px/1.2 var(--titre); white-space: nowrap; }
.tg-nom .pastille { padding: 4px 7px; font-size: 9.5px; }
.tg-ligne:hover .tg-nom { color: var(--or-2); }
.tg-mesure { min-width: 130px; }
.tg-mesure .barre { width: 100%; max-width: 120px; height: 4px; margin-top: 7px; }
.tableau-gamme tbody th[scope="row"] { position: sticky; left: 0; z-index: 1; background: var(--blanc); }
.tg-ligne:hover th[scope="row"] { background: var(--sea-3); }
.tableau-gamme tbody[hidden] { display: none; }

/* Comparateur */
/* Comparateur : trois emplacements, choix dans un sélecteur à vignettes. */
.emplacements { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; gap: 16px; margin-bottom: 56px; }
.emplacement { position: relative; }
.emplacement-choisir { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 104px; padding: 12px 52px 12px 12px; border: 1.5px solid rgba(25, 30, 40, .1); border-radius: 18px; background: var(--blanc); text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.emplacement-choisir:hover { border-color: var(--navy); box-shadow: var(--ombre); }
.emplacement-choisir img { width: 112px; height: 78px; flex: none; object-fit: cover; border-radius: 12px; }
.emplacement-choisir small { display: block; margin-bottom: 6px; font: 700 11px/1 var(--titre); letter-spacing: .18em; text-transform: uppercase; color: var(--mist-2); }
.emplacement-choisir strong { display: block; font: 600 19px/1.2 var(--titre); }
.emplacement-choisir span span { display: block; margin-top: 4px; font-size: 14px; color: var(--mist-2); }
.emplacement.libre .emplacement-choisir { justify-content: center; padding-right: 12px; border-style: dashed; border-color: rgba(25, 30, 40, .25); background: transparent; color: var(--mist-2); font: 600 15px/1 var(--titre); }
.emplacement.libre .emplacement-choisir:hover { color: var(--navy); border-color: var(--navy); box-shadow: none; }
.emplacement.libre .emplacement-choisir::before { content: "+"; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sea); color: var(--navy); font: 500 22px/1 var(--titre); }
.emplacement-retirer { position: absolute; top: 50%; right: 12px; translate: 0 -50%; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--sea); color: var(--navy); font-size: 20px; line-height: 1; cursor: pointer; }
.emplacement-retirer:hover { background: var(--navy); color: var(--sea); }

.selecteur { width: min(1080px, calc(100% - 32px)); max-height: min(88vh, 900px); margin: auto; padding: 0; border: 0; border-radius: 24px; background: var(--sea-3); color: var(--navy); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); overflow: hidden; }
.selecteur[open] { display: flex; flex-direction: column; }
.selecteur::backdrop { background: rgba(25, 30, 40, .62); backdrop-filter: blur(4px); }
.selecteur-tete { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-bottom: 1px solid rgba(25, 30, 40, .08); background: var(--blanc); }
.selecteur-tete h2 { margin: 0; font-size: 24px; white-space: nowrap; }
.selecteur-tete input { flex: 1; min-width: 0; height: 46px; padding: 0 16px 0 42px; border: 1.5px solid rgba(25, 30, 40, .12); border-radius: 12px; background: var(--sea-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f7079' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 14px center / 18px no-repeat; font: 400 16px var(--texte); color: var(--navy); }
.selecteur-tete input:focus { outline: 2px solid var(--or); outline-offset: 1px; border-color: transparent; }
.selecteur-fermer { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--sea); font-size: 26px; line-height: 1; cursor: pointer; }
.selecteur-corps { padding: 8px 24px 28px; overflow-y: auto; }
.selecteur-corps h3 { display: flex; align-items: baseline; gap: 12px; margin: 22px 0 12px; font: 800 12px/1 var(--titre); letter-spacing: .2em; text-transform: uppercase; color: var(--or-2); }
.selecteur-corps h3 small { font: 500 13px/1 var(--texte); letter-spacing: 0; text-transform: none; color: var(--mist-2); }
.selecteur-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.tuile { position: relative; display: flex; flex-direction: column; padding: 8px 8px 12px; border: 1.5px solid transparent; border-radius: 16px; background: var(--blanc); text-align: left; cursor: pointer; transition: border-color .2s, transform .2s; }
.tuile:hover { border-color: var(--navy); transform: translateY(-2px); }
.tuile img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; margin-bottom: 10px; background: var(--sea); }
.tuile-nom { padding: 0 4px; font: 600 16px/1.2 var(--titre); }
.tuile-info { padding: 3px 4px 0; font-size: 13.5px; color: var(--mist-2); }
.tuile-etat { position: absolute; top: 14px; left: 14px; padding: 5px 9px; border-radius: 7px; background: var(--navy); color: var(--sea); font: 700 10.5px/1 var(--titre); letter-spacing: .14em; text-transform: uppercase; }
.tuile[aria-pressed="true"] { border-color: var(--or); }
.tuile[aria-pressed="true"] .tuile-etat { background: var(--or); color: var(--navy); }
.tuile:disabled { cursor: not-allowed; opacity: .45; transform: none; border-color: transparent; }
.selecteur-vide { padding: 40px 0; text-align: center; color: var(--mist-2); }
.profils { display: grid; gap: 18px; padding: clamp(24px, 4vw, 48px); border-radius: var(--rayon); background: linear-gradient(180deg, var(--blanc), var(--sea)); }
.profil { display: grid; grid-template-columns: 170px 1fr; align-items: end; gap: 20px; }
.profil-nom { font: 600 17px/1.2 var(--titre); }
.profil-nom small { display: block; margin-top: 4px; font: 500 13.5px/1 var(--texte); color: var(--mist-2); }
.profil-image { position: relative; border-bottom: 1px solid rgba(25, 30, 40, .15); padding-bottom: 8px; }
.profil-image img { height: auto; max-height: 150px; object-fit: contain; object-position: left bottom; }
.profil-image .absent { height: 60px; display: flex; align-items: center; color: var(--mist-2); font-size: 14px; }
.echelle { display: flex; justify-content: space-between; margin-left: 190px; margin-top: 6px; font: 600 12px/1 var(--titre); color: var(--mist-2); }
.plans-compares { display: grid; grid-template-columns: repeat(var(--n, 2), 1fr); gap: 18px; }
.plans-compares figure { margin: 0; padding: 18px; border-radius: var(--rayon); background: var(--blanc); }
.plans-compares figcaption { margin-bottom: 12px; font: 600 16px/1.2 var(--titre); }
.vide { padding: 48px; border-radius: var(--rayon); background: var(--blanc); text-align: center; color: var(--mist-2); }

/* Filtres de la liste des modèles */
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filtres a { padding: 12px 18px; border: 1.5px solid rgba(25, 30, 40, .14); border-radius: 12px; font: 600 14px/1 var(--titre); text-decoration: none; }
.filtres a:hover { border-color: var(--navy); }
.filtres a.actif { background: var(--navy); border-color: var(--navy); color: var(--sea); }
/* En-tête sobre des pages utilitaires (recherche, contact) : bande sombre sous l'en-tête. */
.page-tete { padding: calc(var(--entete) + clamp(48px, 7vw, 88px)) 0 clamp(56px, 7vw, 96px); background: var(--navy); color: var(--sea); }
.page-tete h1 { max-width: 20ch; margin-bottom: 18px; font-size: clamp(38px, 5vw, 68px); }
.page-tete .chapeau { max-width: 62ch; margin: 0; color: rgba(236, 237, 234, .82); }

/* Choix en pastilles (cases et boutons radio réels, masqués) : recherche et contact. */
.choix { display: flex; flex-wrap: wrap; gap: 8px; }
.choix label { position: relative; display: inline-flex; cursor: pointer; }
.choix input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choix span { display: inline-flex; align-items: baseline; gap: 6px; padding: 11px 16px; border: 1.5px solid rgba(25, 30, 40, .14); border-radius: 10px; background: var(--blanc); font: 600 14px/1.2 var(--titre); color: var(--navy); transition: background .15s, border-color .15s, color .15s; }
.choix span small { font: 500 12px/1 var(--texte); color: var(--mist-2); }
.choix label:hover span { border-color: var(--navy); }
.choix input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--sea); }
.choix input:checked + span small { color: var(--mist); }
.choix input:focus-visible + span { outline: 2px solid var(--or); outline-offset: 2px; }

/* Recherche : filtres à gauche (collés au défilement), résultats à droite. */
.recherche-section { padding-top: clamp(40px, 5vw, 64px); }
.recherche { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 40px; align-items: start; }
.filtres-ouvrir { display: none; }
.filtres-panneau { position: sticky; top: calc(var(--entete) + 24px); display: flex; flex-direction: column; gap: 26px; padding: 26px; border-radius: var(--rayon); background: var(--blanc); }
.filtres-tete { display: flex; align-items: baseline; justify-content: space-between; }
.filtres-tete strong { font: 600 20px/1 var(--titre); letter-spacing: -.01em; }
.filtres-reinit { padding: 0; border: 0; background: none; font: 600 14px/1 var(--titre); color: var(--mist-2); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.filtres-reinit:hover { color: var(--navy); }
.filtres-panneau fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.filtres-panneau legend { padding: 0; margin-bottom: 12px; font: 600 14px/1 var(--titre); color: var(--mist-2); }
.filtres-panneau .choix span { padding: 9px 13px; font-size: 13.5px; background: var(--sea-3); }
.filtres-panneau .choix input:checked + span { background: var(--navy); }
.resultats-tete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.resultats-compte { margin: 0; font: 600 18px/1.2 var(--titre); }
.tri { display: inline-flex; align-items: center; gap: 12px; font: 500 14px/1 var(--texte); color: var(--mist-2); }
.tri select { min-height: 44px; padding: 0 40px 0 14px; border: 1.5px solid rgba(25, 30, 40, .14); border-radius: 10px; background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23191e28' stroke-width='1.6'/%3E%3C/svg%3E") right 14px center / 12px no-repeat; font: 600 14px/1 var(--titre); color: var(--navy); appearance: none; cursor: pointer; }
.recherche .grille-modeles { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.resultat { position: relative; display: flex; }
.resultat > .carte-modele { flex: 1; }
.resultat[hidden] { display: none; }
.ajout-comparer { position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 12px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--navy); font: 700 12.5px/1 var(--titre); letter-spacing: .04em; cursor: pointer; box-shadow: 0 6px 18px -8px rgba(25, 30, 40, .5); transition: background .2s, color .2s; }
.ajout-comparer::before { content: "+"; font-size: 17px; font-weight: 500; line-height: 1; }
.ajout-comparer:hover { background: var(--blanc); }
.ajout-comparer[aria-pressed="true"] { background: var(--navy); color: var(--sea); }
.ajout-comparer[aria-pressed="true"]::before { content: "✓"; font-size: 13px; }
.ajout-comparer:disabled { opacity: .55; cursor: not-allowed; }
.aucun-resultat { padding: 56px 24px; border-radius: var(--rayon); background: var(--blanc); text-align: center; }
.aucun-resultat p { margin: 0 0 20px; font: 500 20px/1.3 var(--titre); }
/* Barre de comparaison en bas de l'écran */
.plateau-comparer { position: fixed; left: 50%; bottom: 20px; z-index: 45; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px); padding: 10px 10px 10px 16px; border-radius: 18px; background: var(--navy); color: var(--sea); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .55); transform: translateX(-50%); }
.plateau-comparer[hidden] { display: none; }
.plateau-liste { display: flex; flex-wrap: wrap; gap: 6px; }
.plateau-liste button { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px 0 14px; border: 0; border-radius: 10px; background: rgba(225, 226, 221, .12); color: var(--sea); font: 600 13.5px/1 var(--titre); cursor: pointer; }
.plateau-liste button::after { content: "×"; font-size: 18px; color: var(--mist); }
.plateau-liste button:hover { background: rgba(225, 226, 221, .22); }
.plateau-comparer .bouton { min-height: 44px; padding: 0 20px; }
.plateau-comparer .bouton[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.plateau-vider { width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--mist); font-size: 24px; line-height: 1; cursor: pointer; }
.plateau-vider:hover { color: var(--sea); }

/* ------------------------------------------------------------ appel au contact, formulaire, pied */

.appel { position: relative; padding: clamp(48px, 7vw, 96px); border-radius: calc(var(--rayon) + 6px); overflow: hidden; color: var(--sea); isolation: isolate; }
.appel img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.appel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(25, 30, 40, .92) 25%, rgba(25, 30, 40, .35)); }
.appel h2 { max-width: 16ch; }
.appel p { max-width: 48ch; color: rgba(236, 237, 234, .88); margin-bottom: 28px; }

.contact-corps { padding-top: 0; }
.contact-grille { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px; align-items: start; margin-top: clamp(-64px, -5vw, -40px); }
.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 18px; }
.carte-formulaire { padding: clamp(24px, 4vw, 48px); border-radius: var(--rayon); background: var(--blanc); box-shadow: 0 30px 60px -40px rgba(25, 30, 40, .45); }
.formulaire fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.formulaire legend { padding: 0; margin-bottom: 14px; font: 600 19px/1.2 var(--titre); letter-spacing: -.01em; color: var(--navy); }
.formulaire .champs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.formulaire label { display: flex; flex-direction: column; gap: 8px; font: 600 14px/1.3 var(--titre); color: var(--navy); }
.formulaire label abbr { text-decoration: none; color: var(--or-2); }
.formulaire .large { grid-column: 1 / -1; }
.formulaire input, .formulaire select, .formulaire textarea { width: 100%; min-height: 52px; padding: 14px 16px; border: 1.5px solid rgba(25, 30, 40, .14); border-radius: 12px; background: var(--sea-3); font: 400 16px/1.4 var(--texte); color: var(--navy); transition: border-color .15s, background .15s; }
.formulaire select { appearance: none; padding-right: 44px; background: var(--sea-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23191e28' stroke-width='1.6'/%3E%3C/svg%3E") right 16px center / 12px no-repeat; cursor: pointer; }
.formulaire input:hover, .formulaire select:hover, .formulaire textarea:hover { border-color: rgba(25, 30, 40, .3); }
.formulaire textarea { min-height: 160px; resize: vertical; }
.formulaire input:focus, .formulaire select:focus, .formulaire textarea:focus { outline: 2px solid var(--or); outline-offset: 1px; border-color: transparent; background-color: var(--blanc); }
.formulaire .choix label { flex-direction: row; }
.formulaire .choix span { background: var(--sea-3); }
.formulaire .choix input:checked + span { background: var(--navy); }
.formulaire .consentement { flex-direction: row; align-items: flex-start; gap: 12px; font: 400 14.5px/1.5 var(--texte); color: var(--mist-2); }
.formulaire .consentement input { width: 20px; min-height: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--navy); }
.formulaire-pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; border-top: 1px solid rgba(25, 30, 40, .08); }
.formulaire-pied .bouton { min-width: 240px; margin-top: 16px; }
.formulaire-pied small { margin-top: 16px; font-size: 13.5px; color: var(--mist-2); }
/* Liste déroulante maison (select[data-liste] amélioré par aquila.js) : s'ouvre toujours vers
   le bas, gammes en intertitres ; le select reste dessous, caché, pour l'envoi du formulaire. */
.formulaire .champ { display: flex; flex-direction: column; gap: 8px; }
.liste-deroulante { position: relative; }
.liste-bouton { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; padding: 14px 16px; border: 1.5px solid rgba(25, 30, 40, .14); border-radius: 12px; background: var(--sea-3); font: 400 16px/1.4 var(--texte); color: var(--navy); text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.liste-bouton::after { content: ""; width: 8px; height: 8px; flex: none; margin-right: 4px; border: solid var(--navy); border-width: 0 1.6px 1.6px 0; transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.liste-bouton:hover { border-color: rgba(25, 30, 40, .3); }
.liste-bouton:focus-visible { outline: 2px solid var(--or); outline-offset: 1px; border-color: transparent; }
.liste-deroulante.ouverte .liste-bouton { border-color: var(--navy); background: var(--blanc); }
.liste-deroulante.ouverte .liste-bouton::after { transform: translateY(2px) rotate(-135deg); }
.liste-panneau { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30; max-height: min(380px, 60vh); overflow-y: auto; padding: 6px; border-radius: 14px; background: var(--blanc); box-shadow: 0 24px 50px -20px rgba(25, 30, 40, .45), 0 0 0 1px rgba(25, 30, 40, .08); overscroll-behavior: contain; }
.liste-panneau:focus { outline: none; }
.liste-groupe { padding: 12px 12px 6px; font: 600 12.5px/1 var(--titre); color: var(--mist-2); }
.liste-option { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 9px; font: 500 15px/1.3 var(--titre); color: var(--navy); cursor: pointer; }
.liste-option small { font: 500 13px/1 var(--texte); color: var(--mist-2); }
.liste-option.active { background: var(--sea-2); }
.liste-option[aria-selected="true"] { background: var(--navy); color: var(--sea); }
.liste-option[aria-selected="true"] small { color: var(--mist); }
.message-envoi { padding: 18px 20px; border-radius: 12px; background: var(--sea); font-weight: 600; }
/* Rappel du modèle choisi, à côté du formulaire */
.contact-cote { position: sticky; top: calc(var(--entete) + 24px); }
.apercu-modele { overflow: hidden; border-radius: var(--rayon); background: var(--blanc); box-shadow: 0 30px 60px -40px rgba(25, 30, 40, .45); }
.apercu-modele[hidden] { display: none; }
.apercu-photo { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--sea); }
.apercu-photo img { width: 100%; height: 100%; object-fit: cover; }
.apercu-photo .pastille { position: absolute; top: 14px; left: 14px; }
.apercu-corps { padding: 24px 26px 28px; }
.apercu-sur { margin: 0 0 6px; font: 500 14px/1.3 var(--texte); color: var(--mist-2); }
.apercu-corps .apercu-nom { margin: 0 0 14px; font: 500 26px/1.15 var(--titre); letter-spacing: -.02em; color: var(--navy); }
.apercu-corps > p { margin: 0 0 18px; color: var(--mist-2); font-size: 15.5px; line-height: 1.55; }
.apercu-chiffres { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 6px 28px; margin: 0 0 22px; padding: 16px 0; border-top: 1px solid rgba(25, 30, 40, .08); border-bottom: 1px solid rgba(25, 30, 40, .08); }
.apercu-chiffres dt { font: 500 12.5px/1.2 var(--texte); color: var(--mist-2); }
.apercu-chiffres dd { margin: 4px 0 0; font: 600 17px/1.2 var(--titre); }
.apercu-liens { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.apercu-liens .lien-fleche { font-size: 13px; }

.pied { padding: 88px 0 36px; background: var(--navy); color: var(--mist); font-size: 15px; }
.pied a { text-decoration: none; }
.pied a:hover { color: var(--sea); }
.pied-haut { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(225, 226, 221, .12); }
.pied-titre { margin: 0 0 18px; font: 800 12px/1 var(--titre); letter-spacing: .2em; text-transform: uppercase; color: var(--sea); }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pied .logo { width: 170px; margin-bottom: 22px; }
.pied-signature { width: 260px; margin-top: 26px; opacity: .9; }
.pied-concession { margin: 28px 0 0; }
.contact-cote > .apercu-modele ~ .apercu-modele { margin-top: 24px; }
.pot-de-miel { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: 13.5px; }

/* ------------------------------------------------------------ apparition au défilement */

.apparait { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.apparait.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .apparait { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ------------------------------------------------------------ écrans étroits */

@media (max-width: 1100px) {
  .chiffres-cles { grid-template-columns: repeat(3, 1fr); }
  .heros-grille { grid-template-columns: 1fr; }
  .points-forts { grid-template-columns: repeat(2, 1fr); }
  .perf { grid-template-columns: 1fr; }
  .videos { grid-template-columns: repeat(2, 1fr); }
  .galerie { grid-template-columns: repeat(3, 1fr); }
  .pied-haut { grid-template-columns: 1fr 1fr; }
  .valeurs-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  :root { --entete: 66px; }
  .burger { display: block; }
  .navigation { position: fixed; inset: var(--entete) 0 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 20px var(--marge) 40px; background: var(--navy); overflow-y: auto; transform: translateX(100%); transition: transform .3s; }
  .entete.menu-ouvert .navigation { transform: none; }
  .entete.menu-ouvert { background: var(--navy); }
  .navigation > a, .navigation > .menu > button { height: 56px; font-size: 15px; border-bottom: 1px solid rgba(225, 226, 221, .1); border-radius: 0; width: 100%; justify-content: space-between; }
  .navigation > .bouton { margin: 24px 0 0; }
  .navigation > * { flex: none; }
  .mega { position: static; display: none; opacity: 1; visibility: visible; transform: none; padding: 0 0 16px; border: 0; box-shadow: none; background: none; }
  .mega::before { display: none; }
  .menu.ouvert .mega { display: block; }
  .mega-grille { display: block; padding: 0; }
  .mega-apercus { display: none; }
  .mega-gammes a { padding: 12px 0 12px 14px; }
  .mega-gammes li:first-child a { border-top: 0; }
  .mega-gammes span { font-size: 18px; }
  .mega-gammes a { color: var(--sea); }
  .mega-gammes a:hover { color: var(--or); }
  .mega-gammes small { color: var(--or); opacity: 1; }
  .mega-pied a { text-decoration: underline; text-decoration-color: var(--or); text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
  .mega-gammes a.actif { color: var(--sea); }
  .mega-pied { flex-direction: column; gap: 18px; margin-top: 8px; padding: 18px 0 0 14px; border-top: 0; }
  .gammes { grid-template-columns: 1fr 1fr; }
  .carte-gamme, .carte-gamme:nth-child(1), .carte-gamme:nth-child(2) { grid-column: span 1; min-height: 380px; }
  .deux-colonnes, .caracteristiques, .plans.deux, .voisins, .edito, .edito.inverse, .edito-tete { grid-template-columns: 1fr; }
  .edito-photo { position: static; aspect-ratio: 3 / 2; }
  .edito.inverse .edito-photo { order: 0; }
  .emplacements { grid-template-columns: 1fr; gap: 10px; }
  .recit { grid-template-columns: 1fr; }
  .recit-carte { aspect-ratio: 4 / 5; }
  .distinctions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flotte-mosaique { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .flotte-mosaique .m1 { grid-column: span 2; grid-row: span 2; }
  .flotte-mosaique .m2, .flotte-mosaique .m3, .flotte-mosaique .m4, .flotte-mosaique .m5, .flotte-mosaique .m6 { grid-column: span 1; grid-row: span 1; }
  .recherche { grid-template-columns: 1fr; gap: 20px; }
  .filtres-ouvrir { display: inline-flex; justify-self: start; }
  .filtres-panneau { position: static; display: none; }
  .filtres-panneau.ouvert { display: flex; }
  .contact-grille { grid-template-columns: 1fr; }
  .contact-cote { position: static; }
  .sous-nav strong { display: none; }
  .sous-nav nav { margin-left: 0; }
  .mosaique { grid-auto-rows: 90px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .gammes { grid-template-columns: 1fr; }
  .chiffres-cles { grid-template-columns: repeat(2, 1fr); }
  .vedette { width: 100%; }
  .vedette-item { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; }
  .vedette-texte strong { font-size: 17px; }
  .points-forts, .videos { grid-template-columns: 1fr; }
  .liste-edito li { grid-template-columns: 1fr; padding: 26px 0; }
  .selecteur { width: 100%; max-height: 100%; height: 100%; border-radius: 0; }
  .selecteur-tete { flex-wrap: wrap; padding: 16px; }
  .selecteur-tete h2 { flex: 1; font-size: 20px; }
  .selecteur-tete input { order: 3; flex-basis: 100%; }
  .selecteur-corps { padding: 4px 16px 24px; }
  .selecteur-grille { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .video.vedette { grid-column: auto; grid-row: auto; }
  .galerie { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .galerie a.large { grid-column: span 2; grid-row: span 1; }
  .galerie a.haute { grid-row: span 1; aspect-ratio: 4 / 3; }
  .formulaire, .formulaire .champs { grid-template-columns: 1fr; }
  .valeurs-cartes { grid-template-columns: 1fr; }
  /* tableau de la gamme : une carte par modèle, sans défilement horizontal */
  .tableau-gamme { overflow: visible; border: 0; border-radius: 0; background: none; }
  .tableau-gamme table { min-width: 0; }
  .tableau-gamme table, .tableau-gamme tbody, .tableau-gamme tr, .tableau-gamme th, .tableau-gamme td { display: block; }
  .tableau-gamme thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tableau-gamme tbody[hidden] { display: none; }
  .tg-groupe th { padding: 22px 2px 10px !important; background: none; border: 0; }
  .tg-groupe a { font-size: 19px; }
  .tableau-gamme tr.tg-ligne { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 12px; margin-bottom: 10px; padding: 14px; border-radius: 14px; background: var(--sea-3); }
  .tableau-gamme .tg-ligne th[scope="row"] { grid-column: 1 / -1; position: static; padding: 0; border: 0; background: none; }
  .tableau-gamme .tg-ligne td { padding: 0; border: 0; white-space: normal; font-size: 15px; }
  .tableau-gamme .tg-ligne td::before { content: attr(data-label); display: block; margin-bottom: 4px; font: 500 12px/1.2 var(--texte); color: var(--mist-2); }
  .tg-mesure { min-width: 0; }
  .tg-photo { width: 64px; }
  .formulaire-pied .bouton { width: 100%; min-width: 0; }
  .plateau-comparer { left: 12px; right: 12px; bottom: 12px; transform: none; flex-wrap: wrap; }
  .plateau-comparer .bouton { flex: 1; }
  .pied-haut { grid-template-columns: 1fr; }
  .profil { grid-template-columns: 1fr; gap: 8px; }
  .echelle { margin-left: 0; }
  .sous-nav .bouton { display: none; }
  .voisin img { width: 96px; }
  .mosaique .a, .mosaique .b, .mosaique .c { grid-column: span 12; }
  .perf-resume { grid-template-columns: 1fr 1fr; }
  .visionneuse figure { inset: 56px 8px 64px; }
  .visionneuse .precedent, .visionneuse .suivant { top: auto; bottom: 8px; translate: none; }
}

/* Photo qui remplit son cadre */
.couvrir { width: 100%; height: 100%; object-fit: cover; }
.cadre-photo { margin: 0; aspect-ratio: 4 / 5; }
.cadre-photo.large { aspect-ratio: 3 / 2; }
@media (max-width: 960px) { .emplacement.libre ~ .emplacement.libre { display: none; } }
