/* ==========================================================================
   themes-commun.css -- STRUCTURE COMMUNE des themes Sport, Lagon, Prestige,
   Volcan (et des suivants).

   Marquage : include/theme-entete.html, theme-hero.html, theme-pied.html,
   sections-accueil.html, catalogue.html. Chaque bloc porte la classe du
   theme (th--sport, th--lagon...). Cette feuille dessine tout A PARTIR DE
   VARIABLES ; la feuille du theme (css/<nom>.css) ne fait que :
     1) donner ses valeurs aux variables ci-dessous,
     2) ajouter sa personnalite (decor, coupes, textures).
   => Un nouveau theme = une feuille de variables + quelques regles. Voir
      _LISEZMOI_THEMES.md, section 13.

   COULEURS : rien en dur. Tout part des reglages du loueur :
     --c-primary            couleur principale (front_couleur1)
     --c-ink                texte / fond sombre (front_couleur4)
     --c-bg-alt             fond des sections (front_couleur5)
     --c-on-primary-wcag    texte SUR la principale, noir ou blanc selon le
                            meilleur contraste (calcule dans entete/fonts.html)
     --c-primary-texte      la principale, assombrie si besoin pour etre
                            lisible en texte sur fond blanc (4,5:1)
   ========================================================================== */

.th-header,.th-hero,.th-sec,.th-foot,.th-mobile-bar,body[class*=" hab-"]{
  --t-p:var(--c-primary);
  --t-on:var(--c-on-primary-wcag,var(--c-on-primary));
  --t-pt:var(--c-primary-texte,var(--c-primary));
  /* surfaces claires (defaut) */
  --t-bg:#fff;
  --t-bg2:var(--c-bg-alt);
  --t-tx:var(--c-ink);
  --t-h:var(--c-ink);
  --t-em:var(--t-pt);
  --t-mu:color-mix(in srgb,var(--c-ink) 60%,#fff);
  --t-ln:color-mix(in srgb,var(--c-ink) 11%,#fff);
  --t-card:#fff;
  --t-card-img:var(--c-bg-alt);
  --t-field:var(--c-bg-alt);
  /* surfaces sombres (bandeaux, pied de page) */
  --t-dk:var(--c-ink);
  --t-dk-tx:#fff;
  --t-dk-mu:color-mix(in srgb,#fff 64%,var(--c-ink));
  --t-dk-ln:color-mix(in srgb,#fff 14%,var(--c-ink));
  /* formes et titres */
  --t-r:14px;
  --t-rb:12px;
  --t-coupe:none;
  --t-wrap:1200px;
  --t-fw:700;
  --t-tt:none;
  --t-ls:-.02em;
  --t-fs:normal;
  --t-lh:1.06;
  --t-sur-ls:.12em;
  --t-ombre:0 22px 50px -24px rgba(16,20,24,.32);
  /* en-tete */
  --t-hd-bg:#fff;
  --t-hd-tx:var(--c-ink);
  --t-hd-ln:var(--t-ln);
  --t-logo-fonce:block;
  --t-logo-clair:none;
  /* pied de page */
  --t-ft-bg:var(--t-dk);
  --t-ft-tx:var(--t-dk-mu);
  --t-ft-h:#fff;
  --t-ft-ln:var(--t-dk-ln);
  --t-flogo-fonce:none;
  --t-flogo-clair:block;
  /* fond derriere les photos "sur fond blanc" (reglage site_photo_mode) */
  --phm-fond:#fff;
}

/* ───────── COMMUNS ───────── */
.th-header svg,.th-hero svg,.th-sec svg,.th-foot svg,.th-mobile-bar svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.th-wrap,.th-sec .sr-wrap{max-width:var(--t-wrap);margin:0 auto;padding:0 32px;box-sizing:border-box}
.th-hero h1,.th-sec h1,.th-sec h2,.th-sec h3,.th-foot h2{font-family:var(--font-display);font-weight:var(--t-fw);text-transform:var(--t-tt);letter-spacing:var(--t-ls);font-style:var(--t-fs);line-height:var(--t-lh)}
#resa.th-hero h1::after,.th-hero h1::after,.th-sec h1::after,.th-sec h2::after{display:none}
html .th-btn,html .th-sec .sr-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--t-p);color:var(--t-on);border:0;border-radius:var(--t-rb);clip-path:var(--t-coupe);
  font:700 15px/1 var(--font-body);padding:15px 24px;text-decoration:none;white-space:nowrap;transition:transform .15s,filter .15s;cursor:pointer}
html .th-btn:hover,html .th-sec .sr-btn:hover{filter:brightness(1.07);transform:translateY(-1px);color:var(--t-on);text-decoration:none}

/* ───────── EN-TETE ───────── */
html .th-header{position:sticky;top:0;z-index:40;background:var(--t-hd-bg);color:var(--t-hd-tx);border-bottom:1px solid var(--t-hd-ln);font-family:var(--font-body);transition:background .25s,border-color .25s}
.th-nav{display:flex;align-items:center;gap:28px;min-height:80px}
.th-logo{display:flex;align-items:center;flex-shrink:0}
.th-logo img,.th-foot-logo img{max-height:46px;max-width:200px;width:auto;height:auto}
.th-logo .th-logo-fonce{display:var(--t-logo-fonce)}
.th-logo .th-logo-clair{display:var(--t-logo-clair)}
.th-logo .th-logo-clair+.th-logo-clair,.th-foot-logo .th-logo-clair+.th-logo-clair{display:none}
.th-logo-blanc{filter:brightness(0) invert(1)}
.th-navlinks{display:flex;align-items:center;gap:26px;margin-left:auto}
html .th-navlinks a,.th-drop-btn{color:inherit;text-decoration:none;font:600 15px/1 var(--font-body);padding:9px 0;border:0;border-bottom:2px solid transparent;background:none;cursor:pointer;white-space:nowrap}
html .th-navlinks a:hover,html .th-navlinks a.is-actif,.th-drop-btn:hover{color:inherit;border-bottom-color:var(--t-p)}
.th-drop{position:relative}
.th-drop-menu{display:none;position:absolute;top:calc(100% + 10px);left:-14px;min-width:230px;list-style:none;margin:0;padding:8px;background:var(--t-hd-bg);color:var(--t-hd-tx);border:1px solid var(--t-hd-ln);border-radius:var(--t-r);box-shadow:var(--t-ombre);z-index:5}
.th-drop:hover .th-drop-menu,.th-drop:focus-within .th-drop-menu,.th-drop.open .th-drop-menu{display:block}
/* Pont invisible entre le lien et le menu : sans lui, la souris traverse
   l'espace de 10 px, quitte le survol et le menu se ferme avant qu'on
   l'atteigne. (27/09) */
.th-drop-menu::before{content:"";position:absolute;left:0;right:0;top:-14px;height:14px}
html .th-drop-menu a{display:block;padding:9px 10px;border:0}
.th-navright{display:flex;align-items:center;gap:16px}
html .th-tel{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none;font:700 15px/1.15 var(--font-body);white-space:nowrap}
.th-tel-ico{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:color-mix(in srgb,var(--t-p) 12%,transparent);color:var(--t-pt)}
.th-tel small{display:block;font-weight:500;font-size:11px;opacity:.7;letter-spacing:.03em}
.th-lang{display:flex;gap:2px}
.th-lang:empty,.th-foot-lang:empty{display:none}
html .th-lang a,html .th-foot-lang a{min-width:32px;min-height:32px;display:grid;place-items:center;border-radius:calc(var(--t-rb)*.7);color:inherit;opacity:.65;font:700 12px/1 var(--font-body);letter-spacing:.08em;text-transform:uppercase;text-decoration:none}
html[lang=fr] .th-lang a[lang=fr],html[lang=en] .th-lang a[lang=en],html[lang=es] .th-lang a[lang=es],html[lang=de] .th-lang a[lang=de],html[lang=it] .th-lang a[lang=it],html[lang=nl] .th-lang a[lang=nl],html[lang=pt] .th-lang a[lang=pt],
html[lang=fr] .th-foot-lang a[lang=fr],html[lang=en] .th-foot-lang a[lang=en],html[lang=es] .th-foot-lang a[lang=es],html[lang=de] .th-foot-lang a[lang=de],html[lang=it] .th-foot-lang a[lang=it],html[lang=nl] .th-foot-lang a[lang=nl],html[lang=pt] .th-foot-lang a[lang=pt]{opacity:1;box-shadow:inset 0 -2px 0 var(--t-p)}
.th-header .th-btn{padding:13px 20px}
.th-burger{display:none;width:44px;height:44px;place-items:center;background:var(--t-p);color:var(--t-on);border:0;border-radius:var(--t-rb);clip-path:var(--t-coupe);cursor:pointer}
/* En-tete pose sur la photo du hero (Prestige, Volcan) */
html .th-header.th-sur-photo{position:fixed;left:0;right:0;top:0;background:transparent;border-bottom-color:transparent;color:#fff;--t-logo-fonce:none;--t-logo-clair:block}
html .th-header.th-sur-photo.th-plein{background:var(--t-hd-bg);border-bottom-color:var(--t-hd-ln);color:var(--t-hd-tx)}
@media(max-width:1100px){.th-tel-txt{display:none}}
@media(max-width:900px){
  .th-burger{display:grid}
  .th-header .th-reserver,.th-tel{display:none}
  .th-navlinks{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;gap:0;padding:10px 22px 18px;background:var(--t-hd-bg);color:var(--t-hd-tx);border-bottom:3px solid var(--t-p);box-shadow:var(--t-ombre)}
  .th-navlinks.open{display:flex}
  html .th-navlinks a,.th-drop-btn{padding:15px 0;border-bottom:1px solid var(--t-hd-ln)}
  .th-drop-menu{position:static;display:block;border:0;padding:0 0 0 12px;background:none;box-shadow:none}
  .th-drop-btn{display:none}
  .th-navright{margin-left:auto;gap:8px}
  .th-nav{min-height:66px;gap:12px}
  .th-logo{min-width:0;flex-shrink:1}
  .th-logo img{max-width:150px;max-height:38px}
  html .th-header.th-sur-photo .th-navlinks{color:var(--t-hd-tx)}
}
@media(max-width:380px){.th-lang:not(.aj-pret){display:none}}
/* EN-TETE AJUSTE A SA LARGEUR (10/10) : classes posees sur .th-nav par
   include/entete-ajuste.html, palier par palier, tant que la ligne deborde.
   aj-tel : icone seule ; aj-lang : langues repliees (base.css) ;
   aj-menu : menu dans le burger ; aj-tout : sans telephone ni Reserver.
   Memes regles que le telephone (900 px), mais declenchees par la mesure. */
.th-header{--aj-fond:var(--t-hd-bg);--aj-texte:var(--t-hd-tx)}
.th-nav.aj-tel .th-tel-txt{display:none}
.th-nav.aj-menu .th-burger{display:grid}
.th-nav.aj-menu .th-navlinks{display:none;position:absolute;top:100%;left:0;right:0;margin:0;flex-direction:column;align-items:stretch;gap:0;padding:10px 22px 18px;background:var(--t-hd-bg);color:var(--t-hd-tx);border-bottom:3px solid var(--t-p);box-shadow:var(--t-ombre)}
.th-nav.aj-menu .th-navlinks.open{display:flex}
html .th-nav.aj-menu .th-navlinks a,html .th-nav.aj-menu .th-drop-btn{padding:15px 0;border-bottom:1px solid var(--t-hd-ln)}
.th-nav.aj-menu .th-drop-menu{position:static;display:block;border:0;padding:0 0 0 12px;background:none;box-shadow:none}
.th-nav.aj-menu .th-drop-menu::before{display:none}
html .th-nav.aj-menu .th-drop-btn{display:none}
.th-nav.aj-menu .th-navright{margin-left:auto}
html .th-header.th-sur-photo .th-nav.aj-menu .th-navlinks{color:var(--t-hd-tx)}
.th-nav.aj-tout .th-reserver,.th-nav.aj-tout .th-tel{display:none}

/* ───────── HERO ─────────
   Grille a 4 colonnes : marge | moitie gauche | moitie droite | marge.
   Zones : texte, photo, moteur (formulaire), rassure. Le theme les place
   avec grid-template-areas. Disposition par defaut : texte et formulaire a
   gauche, photo a droite. */
#resa.th-hero{--t-col:calc(var(--t-wrap) / 2 - 32px);position:relative;padding:0;overflow:hidden;background:var(--t-bg);color:var(--t-tx);font-family:var(--font-body);isolation:isolate;
  display:grid;grid-template-columns:minmax(32px,1fr) minmax(0,var(--t-col)) minmax(0,var(--t-col)) minmax(32px,1fr);
  grid-template-rows:auto auto auto;
  grid-template-areas:". texte photo ." ". moteur photo ." ". rassure rassure .";align-items:start}
#resa.th-hero::before{display:none}
#resa.th-hero>script{display:none}
.th-hero .th-hero-texte{grid-area:texte;position:relative;z-index:3;padding:64px 40px 28px 0}
.th-hero .th-hero-photo{grid-area:photo;position:relative;z-index:2;margin:40px 0 40px 16px;align-self:stretch;border-radius:calc(var(--t-r)*2);overflow:hidden;min-height:420px}
.th-hero .th-hero-photo img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;display:block}
.th-hero .th-hero-deco,.th-hero .th-filigrane{grid-area:1/1/-1/-1;pointer-events:none;display:none}
.th-hero .th-hero-deco{align-self:stretch}
.th-hero .th-moteur{grid-area:moteur;position:relative;z-index:4;padding:0 40px 40px 0}
.th-hero .th-rassure{grid-area:rassure;position:relative;z-index:4}
.th-hero .th-eyebrow{display:inline-flex;align-items:center;gap:10px;font:700 13px/1.2 var(--font-body);letter-spacing:var(--t-sur-ls);text-transform:uppercase;color:var(--t-em)}
.th-hero h1{font-size:clamp(42px,5.2vw,66px);color:var(--t-h);margin:18px 0 18px;text-shadow:none}
.th-hero h1 em{font-style:inherit;color:var(--t-em)}
.th-hero .th-hero-copy{font-size:19px;line-height:1.6;color:var(--t-mu);max-width:520px}
#resa.th-hero .th-hero-copy p,.th-hero .th-hero-copy p{margin:0;color:inherit}
#resa.th-hero #accrocheresa,#resa.th-hero #accrocheresa p{color:var(--t-copy,var(--t-mu))}
/* mots en gras du chapo : base.css les met en encre (#accrocheresa b), ce
   qui les rend invisibles sur une photo sombre. Ils prennent la couleur des
   titres du theme (encre sur fond clair, ivoire sur photo). (27/09) */
#resa.th-hero #accrocheresa :is(b,strong){color:var(--t-h);font-weight:600}
#resa.th-hero #accrocheresa a{color:inherit}
html .th-hero .th-note{display:inline-flex;align-items:center;gap:12px;margin-top:24px;padding:8px 16px 8px 8px;border-radius:999px;background:var(--t-bg2);color:var(--t-tx);text-decoration:none;font-weight:600;font-size:14px}
.th-hero .th-note b{background:var(--c-ink);color:#fff;border-radius:999px;padding:6px 12px;font:800 15px/1 var(--font-body)}
.th-hero .th-note b small{font-size:11px;opacity:.7}
.th-etoiles{--pc:calc(var(--note,5) / 5 * 100%);font-size:15px;letter-spacing:2px;line-height:1}
.th-etoiles::before{content:"\2605\2605\2605\2605\2605";background:linear-gradient(90deg,#F5A623 var(--pc),color-mix(in srgb,currentColor 25%,transparent) var(--pc));-webkit-background-clip:text;background-clip:text;color:transparent}
/* formulaire commun (module-resa.html) */
.th-hero .th-moteur .largeur{max-width:none;margin:0;padding:0}
#resa.th-hero #fond-resa{display:none}
#resa.th-hero #formresa .resa-grid{background:var(--t-card);border:1px solid var(--t-ln);border-radius:calc(var(--t-r)*1.3);box-shadow:var(--t-ombre);padding:8px;gap:6px}
#resa.th-hero .resa-field{border-radius:var(--t-r);background:var(--t-field);padding:12px 16px}
#resa.th-hero .resa-field+.resa-field::before{display:none}
#resa.th-hero .resa-field:hover,#resa.th-hero .resa-field:focus-within{background:color-mix(in srgb,var(--t-field) 70%,var(--t-p) 8%)}
#resa.th-hero .resa-field>label{font:700 11px/1 var(--font-body);text-transform:uppercase;letter-spacing:.1em;color:var(--t-mu);margin-bottom:6px}
#resa.th-hero #formresa input[type=text],#resa.th-hero #formresa select{color:var(--c-ink);font-weight:600;font-size:16px;background-color:transparent}
#resa.th-hero .resa-submit{padding:0;background:none}
#resa.th-hero .resa-submit:hover{background:none}
#resa.th-hero #confirmresa{min-height:62px;border-radius:var(--t-rb);clip-path:var(--t-coupe);box-shadow:none;background:var(--t-p);color:var(--t-on);font:700 17px/1 var(--font-body);padding:0 30px;display:inline-flex;align-items:center;justify-content:center;gap:12px}
#resa.th-hero #confirmresa::after{content:"";width:20px;height:20px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat}
#resa.th-hero #confirmresa:hover:not([disabled]){background:var(--t-p);filter:brightness(1.07)}
#resa.th-hero .resa-options{margin:12px 4px 0}
#resa.th-hero .resa-check{color:var(--t-tx);font-weight:600}
#resa.th-hero .resa-check input{accent-color:var(--t-p)}
#resa.th-hero .mess_confirm{color:var(--t-tx)}
/* formulaire "carte" (colonne etroite) : lieux sur toute la largeur,
   date + heure cote a cote, bouton en bas. */
.th-hero.th-form-carte #formresa .resa-grid{display:grid;grid-template-columns:minmax(0,1fr) 118px}
.th-hero.th-form-carte .resa-lieu,.th-hero.th-form-carte .resa-submit{grid-column:1/-1}
.th-hero.th-form-carte #confirmresa{width:100%}
.th-hero .th-rassure{display:flex;flex-wrap:wrap;gap:10px 26px;padding:18px 0 34px;color:var(--t-mu);font-size:14px;font-weight:600}
.th-hero .th-rassure[hidden]{display:none}
.th-hero .th-rassure>span{display:inline-flex;align-items:center;gap:8px}
.th-hero .th-rassure svg{color:var(--t-pt);width:17px;height:17px}
html .th-hero .th-rassure a{color:var(--t-tx);text-decoration:underline;text-decoration-color:var(--t-p);text-underline-offset:4px}
@media(max-width:900px){
  #resa.th-hero{grid-template-columns:18px minmax(0,1fr) 18px;grid-template-areas:". texte ." ". moteur ." ". photo ." ". rassure .";--t-col:0px}
  .th-hero .th-hero-texte{padding:36px 0 22px}
  .th-hero h1{font-size:40px}
  .th-hero .th-hero-copy{font-size:17px}
  .th-hero .th-moteur{padding:0}
  .th-hero .th-hero-photo{margin:22px 0 0;min-height:0;aspect-ratio:4/3}
  #resa.th-hero #formresa .resa-grid{display:grid;grid-template-columns:minmax(0,1fr) 110px}
  #resa.th-hero .resa-lieu,#resa.th-hero .resa-submit{grid-column:1/-1}
  #resa.th-hero #confirmresa{width:100%}
}

/* ───────── SECTIONS (include/sections-accueil.html) ───────── */
.th-sec{background:var(--t-bg);color:var(--t-tx);font-family:var(--font-body);font-size:16px;line-height:1.6}
.th-sec p{margin:0}
.th-sec a{color:inherit}
.th-sec .sr-s{padding:72px 0;position:relative}
.th-sec .sr-head{max-width:640px;margin-bottom:28px}
.th-sec .sr-head-row{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;flex-wrap:wrap;margin-bottom:28px}
.th-sec .sr-head-row .sr-head{margin-bottom:0}
.th-sec .sr-sur{display:flex;align-items:center;gap:10px;font:700 12px/1.2 var(--font-body);text-transform:uppercase;letter-spacing:var(--t-sur-ls);color:var(--t-em);margin-bottom:14px}
.th-sec h1,.th-sec h2{font-size:clamp(34px,4.2vw,52px);color:var(--t-h);margin:0}
.th-sec h2 em,.th-sec h1 em{font-style:inherit;color:var(--t-em)}
.th-sec h3,.th-sec h4{color:var(--t-h)}
.th-sec .sr-head p{color:var(--t-mu);font-size:17px;margin-top:14px}
.th-sec .sr-head p a,.th-sec .sr-duo-texte p a{color:var(--t-em)}
.th-sec .sr-note{color:var(--t-mu);font-size:14px;margin-top:22px}
html .th-sec .sr-lien{display:inline-flex;align-items:center;gap:8px;color:var(--t-em);font:700 15px/1 var(--font-body);text-decoration:none;border-bottom:2px solid currentColor;padding-bottom:5px}
html .th-sec .sr-btn--ligne{background:transparent;color:var(--t-h);border:2px solid currentColor;clip-path:none}
html .th-sec .sr-btn--ligne:hover{color:var(--t-h)}
.th-sec .sr-ico{display:grid;place-items:center;width:46px;height:46px;flex-shrink:0;border-radius:var(--t-r);background:var(--t-p);color:var(--t-on);clip-path:var(--t-coupe)}
.th-sec .sr-ico img{width:24px;height:24px;object-fit:contain}
.th-sec .sr-ico img+svg{display:none}
/* avantages */
.th-sec .sr-avantages{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px}
.th-sec .sr-avantage{display:flex;flex-direction:column;gap:16px;padding:28px;background:var(--t-card);border:1px solid var(--t-ln);border-radius:var(--t-r)}
.th-sec .sr-avantage h3{font-size:20px;margin:0 0 6px}
.th-sec .sr-avantage p{color:var(--t-mu);font-size:15px}
/* etapes */
.th-sec .sr-s--etapes{background:var(--t-bg2)}
.th-sec .sr-etapes{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:34px}
.th-sec .sr-num{display:block;font:var(--t-fw) 64px/1 var(--font-display);color:var(--t-em);letter-spacing:-.04em}
.th-sec .sr-etape h3{font-size:24px;margin:16px 0 8px}
.th-sec .sr-etape p{color:var(--t-mu)}
/* catalogue : LA carte vehicule (include/catalogue.html) */
.th-sec .filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:26px}
.th-sec .filter{padding:11px 18px;border:1.5px solid var(--t-ln);border-radius:999px;background:transparent;color:var(--t-tx);font:600 14px/1 var(--font-body);cursor:pointer}
.th-sec .filter:hover{border-color:var(--t-p)}
.th-sec .filter[aria-pressed=true]{background:var(--c-ink);border-color:var(--c-ink);color:#fff}
.th-sec .fleet-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px}
/* auto-fill et non auto-fit : quand un filtre ne laisse qu'une voiture,
   elle garde sa largeur de colonne au lieu de s'etirer sur toute la ligne.
   Petite flotte : autant de colonnes que de voitures, sans colonne vide. */
@media(min-width:1001px){
  .th-sec .fleet-grid:has(>.car-card:nth-child(3)):not(:has(>.car-card:nth-child(4))){grid-template-columns:repeat(3,minmax(0,1fr))}
  .th-sec .fleet-grid:has(>.car-card:nth-child(2)):not(:has(>.car-card:nth-child(3))){grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px}
}
/* la grille suit le nombre de vehicules (4 voitures = 4 colonnes, 3 = 3)
   au lieu de laisser une colonne vide */
.th-sec .car-card{position:relative;display:flex;flex-direction:column;background:var(--t-card);border:1px solid var(--t-ln);border-radius:var(--t-r);overflow:hidden;transition:transform .2s,box-shadow .2s}
.th-sec .car-card:hover{transform:translateY(-4px);box-shadow:var(--t-ombre)}
.th-sec .car-card[hidden]{display:none}
.th-sec .car-image{position:relative;aspect-ratio:3/2;overflow:hidden;background:var(--t-card-img)}
.th-sec .car-image img{width:100%;height:100%;object-fit:cover;display:block}
.th-sec .car-tag{position:absolute;top:14px;left:14px;z-index:1;background:var(--t-card);color:var(--t-tx);font:700 12px/1 var(--font-body);letter-spacing:.08em;text-transform:uppercase;padding:7px 10px;border-radius:calc(var(--t-rb)*.6)}
.th-sec .car-tag:empty{display:none}
.th-sec .car-body{display:flex;flex-direction:column;flex:1;padding:18px 22px 22px}
.th-sec .car-body h3{font-size:22px;margin:0}
.th-sec .car-kind{color:var(--t-mu);font-size:14px;margin-top:4px;min-height:1em}
.th-sec .car-specs{display:flex;flex-wrap:wrap;gap:8px 16px;margin:14px 0 18px;padding-top:14px;border-top:1px solid var(--t-ln);color:var(--t-tx);font-size:14px;font-weight:600}
.th-sec .car-specs span{display:inline-flex;align-items:center;gap:6px}
.th-sec .car-specs svg{width:16px;height:16px;color:var(--t-mu)}
.th-sec .car-action{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:700;color:var(--t-em)}
html .th-sec .car-action a{display:grid;place-items:center;width:46px;height:42px;border-radius:var(--t-rb);background:var(--t-p);color:var(--t-on);clip-path:var(--t-coupe)}
.th-sec .car-action a svg{width:20px;height:20px}
/* envies */
.th-sec .sr-envies{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}
html .th-sec .sr-envie{position:relative;display:flex;align-items:flex-end;min-height:320px;overflow:hidden;text-decoration:none;color:#fff;background:var(--t-dk);border-radius:var(--t-r)}
.th-sec .sr-envie[hidden]{display:none}
.th-sec .sr-envie-img{position:absolute;inset:0}
.th-sec .sr-envie-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.th-sec .sr-envie:hover .sr-envie-img img{transform:scale(1.05)}
.th-sec .sr-envie::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,color-mix(in srgb,var(--t-dk) 90%,transparent))}
.th-sec .sr-envie-in{position:relative;z-index:1;padding:24px}
.th-sec .sr-tag{display:inline-block;background:var(--t-p);color:var(--t-on);font:700 12px/1 var(--font-body);letter-spacing:.08em;text-transform:uppercase;padding:7px 10px;margin-bottom:12px;border-radius:calc(var(--t-rb)*.6)}
.th-sec .sr-tag:empty{display:none}
.th-sec .sr-envie h3{font-size:28px;color:#fff;margin:0 0 6px}
.th-sec .sr-envie p{color:rgba(255,255,255,.85);font-size:15px}
/* envies avec des photos sur fond blanc (site_photo_mode = blanc) : la photo
   en haut sur le fond neutre, le texte en dessous sur le fond sombre. */
html body.phm-blanc .th-sec .sr-envie{background:var(--t-dk);align-items:stretch;flex-direction:column;justify-content:flex-end}
body.phm-blanc .th-sec .sr-envie-img{position:relative;inset:auto;flex:1;min-height:190px;background:var(--phm-fond,#fff)}
body.phm-blanc .th-sec .sr-envie-img img{position:absolute;inset:0;object-fit:contain;padding:6% 8%;box-sizing:border-box;mix-blend-mode:multiply}
body.phm-blanc .th-sec .sr-envie::after{display:none}
/* chiffres (calcules) */
.th-sec .sr-s--chiffres{background:var(--t-dk);color:var(--t-dk-tx);padding:60px 0}
.th-sec .sr-chiffres-titre{font-size:clamp(28px,3vw,40px);color:var(--t-dk-tx);margin-bottom:28px}
.th-sec .sr-chiffres-titre em{color:var(--t-p)}
.th-sec .sr-chiffres{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(170px,max-content);justify-content:start}
.th-sec .sr-chiffre{padding:10px 24px 10px 0;border-right:1px solid var(--t-dk-ln)}
.th-sec .sr-chiffre+.sr-chiffre{padding-left:24px}
.th-sec .sr-chiffre:last-child{border-right:0}
.th-sec .sr-chiffre b{display:block;font:var(--t-fw) 62px/.95 var(--font-display);letter-spacing:-.04em;color:var(--t-dk-tx)}
.th-sec .sr-chiffre b span{color:var(--t-p);font-size:.45em;vertical-align:top;margin-left:2px}
.th-sec .sr-chiffre small{display:block;margin-top:10px;font:600 14px/1.3 var(--font-body);color:var(--t-dk-mu)}
/* navettes, decouverte : image + texte */
.th-sec .sr-duo{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.th-sec .sr-visuel{position:relative;margin:0;overflow:hidden;border-radius:calc(var(--t-r)*1.6)}
.th-sec .sr-visuel img{width:100%;height:100%;min-height:420px;object-fit:cover;display:block}
.th-sec .sr-visuel figcaption{position:absolute;left:18px;bottom:18px;right:18px;max-width:360px;background:var(--t-card);color:var(--t-tx);padding:14px 18px;border-radius:var(--t-r);box-shadow:var(--t-ombre)}
.th-sec .sr-visuel figcaption strong{display:block;font-family:var(--font-display);font-size:18px;color:var(--t-h)}
.th-sec .sr-visuel figcaption span{font-size:13px;color:var(--t-mu)}
.th-sec .sr-points,.th-sec .sr-lieux{list-style:none;margin:26px 0;padding:0;display:grid;gap:16px}
.th-sec .sr-points li,.th-sec .sr-lieux li{display:flex;gap:16px;align-items:flex-start}
.th-sec .sr-points h3{font-size:19px;margin:0 0 2px}
.th-sec .sr-points p,.th-sec .sr-lieux div>span{color:var(--t-mu);font-size:15px;display:block}
.th-sec .sr-lieux strong{color:var(--t-h)}
.th-sec .sr-encart{border-left:4px solid var(--t-p);background:var(--t-bg2);padding:16px 20px;margin:0 0 24px;border-radius:0 var(--t-r) var(--t-r) 0}
.th-sec .sr-encart strong{display:block;color:var(--t-h)}
.th-sec .sr-encart p{color:var(--t-mu);font-size:14px}
/* assistance */
.th-sec .sr-assist{display:grid;grid-template-columns:1.3fr .7fr;background:var(--t-card);border:1px solid var(--t-ln);border-radius:calc(var(--t-r)*1.6);overflow:hidden}
.th-sec .sr-assist-texte{padding:44px}
.th-sec .sr-assist-texte .sr-head{margin-bottom:26px}
.th-sec .sr-assist-dispo{display:flex;flex-direction:column;justify-content:center;gap:8px;padding:44px;background:var(--t-p);color:var(--t-on)}
.th-sec .sr-assist-dispo svg{width:44px;height:44px}
.th-sec .sr-assist-dispo strong,.th-sec .sr-assist-dispo p,.th-sec .sr-assist-dispo span{color:inherit}
.th-sec .sr-assist-dispo strong{font:var(--t-fw) 56px/.95 var(--font-display);letter-spacing:-.03em}
.th-sec .sr-partenaire{margin-top:16px;font-size:13px}
.th-sec .sr-partenaire img{display:block;max-height:54px;max-width:180px;margin-top:8px;background:#fff;padding:6px;border-radius:6px}
.th-sec .sr-assist-etapes{grid-column:1/-1;padding:30px 44px;border-top:1px solid var(--t-ln)}
.th-sec .sr-assist-etapes h3{font-size:22px;margin:0 0 14px}
.th-sec .sr-assist-etapes ol{margin:0;padding:0;list-style:none;counter-reset:e;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.th-sec .sr-assist-etapes li{counter-increment:e;color:var(--t-mu);font-size:15px;padding-left:40px;position:relative}
.th-sec .sr-assist-etapes li::before{content:counter(e,decimal-leading-zero);position:absolute;left:0;top:-2px;font:var(--t-fw) 22px/1 var(--font-display);color:var(--t-em)}
.th-sec .sr-btn--tel span{display:flex;flex-direction:column;align-items:flex-start;gap:3px}
.th-sec .sr-btn--tel small{font:600 11px/1 var(--font-body);text-transform:uppercase;letter-spacing:.08em;opacity:.85}
.th-sec .sr-btn--tel strong{font-size:22px}
/* arrivee */
.th-sec .sr-horaires{display:flex;gap:12px;align-items:center;color:var(--t-tx);font-size:14px;border:1px solid var(--t-ln);border-radius:var(--t-r);padding:14px 18px}
.th-sec .sr-horaires svg{color:var(--t-em)}
.th-sec .sr-onglets{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.th-sec .sr-onglet{padding:12px 20px;background:transparent;border:1.5px solid var(--t-ln);border-radius:999px;color:var(--t-tx);font:600 15px/1 var(--font-body);cursor:pointer}
.th-sec .sr-onglet[aria-selected=true]{background:var(--c-ink);border-color:var(--c-ink);color:#fff}
.th-sec .sr-panneau{border:1px solid var(--t-ln);background:var(--t-card);border-radius:calc(var(--t-r)*1.4);padding:32px}
.th-sec .sr-panneau-tete{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:26px}
.th-sec .sr-panneau-tete h3{font-size:28px;margin:6px 0}
.th-sec .sr-panneau-tete p{display:flex;gap:8px;align-items:center;color:var(--t-mu)}
.th-sec .sr-parcours{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.th-sec .sr-parcours h4{font:700 17px/1.2 var(--font-display);color:var(--t-em);margin:0 0 14px}
.th-sec .sr-parcours ol{margin:0;padding-left:20px;color:var(--t-tx);display:grid;gap:10px;font-size:15px}
.th-sec .sr-preparer{display:grid;grid-template-columns:.8fr 1.2fr;gap:40px;margin-top:40px;padding-top:40px;border-top:1px solid var(--t-ln)}
.th-sec .sr-preparer h3{font-size:32px}
.th-sec .sr-preparer p{color:var(--t-mu);margin-bottom:12px}
/* texte d'accueil (referencement) */
/* Texte d'accueil : le HTML vient de l'editeur du loueur (colonnes en dur,
   flottants, largeurs, titres). Tout est ramene a UNE colonne de lecture au
   format du theme ; les !important sont la pour passer devant les styles
   ecrits dans le texte (style="float:left;width:50%"...). (27/09) */
.th-sec .sr-edito{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:64px;align-items:start}
.th-sec .sr-edito .sr-head{margin:0}
/* Texte ouvert (Lire la suite) : le titre accompagne la lecture, pas de
   colonne vide a gauche. Seulement ouvert : replie, le texte est court, et
   un titre colle fausse les captures pleine page. */
.th-sec .sr-edito:has(.is-ouvert) .sr-head{position:sticky;top:110px}
.th-sec .sr-edito-corps{position:relative;min-width:0}
html body .th-sec .sr-edito-texte{columns:auto;color:var(--t-mu);font-size:16px;line-height:1.7;max-width:720px}
html body .th-sec .sr-edito-texte :is(div,section,article,aside,table,tbody,tr,td,th,p,ul,ol,figure,span){float:none!important;width:auto!important;max-width:100%!important;min-width:0!important;columns:auto!important;position:static!important;margin-left:0;margin-right:0}
html body .th-sec .sr-edito-texte :is(div,section,article,table,tbody,tr,td){display:block!important;padding:0!important;border:0}
html body .th-sec .sr-edito-texte p{margin:0 0 14px}
html body .th-sec .sr-edito-texte :is(h1,h2,h3,h4,h5,h6){font-family:var(--font-display);font-weight:var(--t-fw);text-transform:none;letter-spacing:-.01em;font-style:normal;line-height:1.2;color:var(--t-h);font-size:22px!important;margin:30px 0 10px!important;padding:0!important;border:0!important}
html body .th-sec .sr-edito-texte :is(h3,h4,h5,h6){font-size:18px!important}
html body .th-sec .sr-edito-texte > :first-child,html body .th-sec .sr-edito-texte > :first-child > :first-child,html body .th-sec .sr-edito-texte > :first-child > :first-child > :first-child{margin-top:0!important}
html body .th-sec .sr-edito-texte :is(strong,b){color:var(--t-h)}
html body .th-sec .sr-edito-texte a{color:var(--t-em)}
html body .th-sec .sr-edito-texte ul{padding-left:20px;margin:0 0 14px}
html body .th-sec .sr-edito-texte li{margin:0 0 4px}
html body .th-sec .sr-edito-texte hr{border:0;border-top:1px solid var(--t-ln);margin:26px 0}
html body .th-sec .sr-edito-texte img{float:none!important;display:block;width:auto!important;max-width:100%!important;height:auto!important;max-height:280px;margin:16px 0;border-radius:var(--t-r)}
/* Theme a texte pleine largeur (classe sr-edito-libre sur le conteneur des
   sections, ex. Lagon) : les COLONNES que le loueur a faites dans son
   editeur (blocs cote a cote en float/largeur, ou col-*) sont gardees, avec
   un vrai espace entre elles ; tout le reste est normalise comme ailleurs.
   Sur telephone, une seule colonne. (27/09) */
@media(min-width:900px){
  html body .th-sec.sr-edito-libre .sr-edito-texte :is(div,section):has(> :is(div,section)[style*="float"]),
  html body .th-sec.sr-edito-libre .sr-edito-texte :is(div,section):has(> :is(div,section)[class*="col"]){display:flex!important;gap:56px;align-items:flex-start}
  html body .th-sec.sr-edito-libre .sr-edito-texte :is(div,section):has(> :is(div,section)[style*="float"]) > *,
  html body .th-sec.sr-edito-libre .sr-edito-texte :is(div,section):has(> :is(div,section)[class*="col"]) > *{flex:1 1 0;min-width:0!important}
  html body .th-sec.sr-edito-libre .sr-edito-texte img{max-height:340px}
  /* Texte sans colonnes a lui (paragraphes a la suite, cas le plus
     courant) : mise en page en deux colonnes de journal, photos sur toute la
     largeur de leur colonne, un titre ne reste jamais seul en bas de
     colonne. Si le texte a deja ses colonnes (regle ci-dessus), il les
     garde et celle-ci ne s'applique pas. */
  html body .th-sec.sr-edito-libre .sr-edito-texte:not(:has(:is(div,section)[style*="float"],:is(div,section)[class*="col"])){columns:2 320px;column-gap:56px}
  html body .th-sec.sr-edito-libre .sr-edito-texte :is(p,ul,ol,figure,blockquote){break-inside:avoid}
  html body .th-sec.sr-edito-libre .sr-edito-texte :is(h1,h2,h3,h4,h5,h6){break-after:avoid;break-inside:avoid}
  /* jamais agrandie au-dela de sa taille reelle (une petite image etiree
     devient floue) : elle prend la largeur de la colonne seulement si elle
     est assez grande */
  html body .th-sec.sr-edito-libre .sr-edito-texte img{break-inside:avoid;margin-left:auto;margin-right:auto}   /* centree dans sa colonne */
  html body .th-sec.sr-edito-libre .sr-edito-texte img.sr-img-pleine{width:100%!important;object-fit:cover}
  html body .th-sec.sr-edito-libre .sr-edito-texte hr{break-after:avoid}
}
/* Repli : hauteur de lecture, fondu, bouton Lire la suite */
.th-sec .sr-edito-corps.is-replie:not(.is-ouvert) .sr-edito-texte{max-height:520px;overflow:hidden;-webkit-mask-image:linear-gradient(#000 65%,transparent);mask-image:linear-gradient(#000 65%,transparent)}
.th-sec .sr-edito-texte{max-height:none}
html .th-sec .sr-edito-plus{margin-top:14px;background:none;border:0;border-bottom:2px solid var(--t-p);padding:0 0 4px;font:700 14px/1 var(--font-body);color:var(--t-h);cursor:pointer;letter-spacing:.02em}
/* avis */
.th-sec .sr-s--avis{background:var(--t-bg2)}
.th-sec .sr-avis{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:18px}
.th-sec .sr-avi{background:var(--t-card);border:1px solid var(--t-ln);border-radius:calc(var(--t-r)*1.4);padding:30px;display:flex;flex-direction:column;gap:16px}
.th-sec .sr-avi--rentiles~.sr-avi--rentiles{display:none}
.th-sec .sr-avi-note{display:flex;align-items:baseline;flex-wrap:wrap;gap:10px;color:var(--t-mu);font-size:14px}
.th-sec .sr-avi-note b{font:var(--t-fw) 40px/1 var(--font-display);color:var(--t-h)}
.th-sec .sr-etoiles{--pc:calc(var(--note,5) / 5 * 100%);font-size:18px;letter-spacing:2px;line-height:1;align-self:center}
.th-sec .sr-etoiles::before{content:"\2605\2605\2605\2605\2605";background:linear-gradient(90deg,#F5A623 var(--pc),var(--t-ln) var(--pc));-webkit-background-clip:text;background-clip:text;color:transparent}
.th-sec .sr-avi blockquote{margin:0;font-size:18px;line-height:1.55;color:var(--t-tx)}
.th-sec .sr-avi-qui{font-weight:700;color:var(--t-h)}
.th-sec .sr-avi-pied{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.th-sec .sr-avi-logo{height:30px;width:auto}
/* questions */
.th-sec .sr-faq{display:grid;grid-template-columns:1fr 1.4fr;gap:60px}
.th-sec .sr-faq-intro .sr-head{margin-bottom:22px}
.th-sec details{border-bottom:1px solid var(--t-ln);padding:20px 0}
.th-sec summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:20px;cursor:pointer;font-weight:700;font-size:18px;color:var(--t-h)}
.th-sec summary::-webkit-details-marker{display:none}
.th-sec summary i{flex:none;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:var(--t-bg2);color:var(--t-h);font:700 20px/1 var(--font-body);font-style:normal}
.th-sec summary i::before{content:"+"}
.th-sec details[open] summary i{background:var(--t-p);color:var(--t-on)}
.th-sec details[open] summary i::before{content:"\2212"}
.th-sec details p{color:var(--t-mu);margin-top:12px}
.th-sec details a{color:var(--t-em)}
/* appel final */
.th-sec .sr-s--contact{padding:0 0 72px}
.th-sec .sr-final{position:relative;display:flex;align-items:center;justify-content:space-between;gap:30px;flex-wrap:wrap;background:var(--t-p);color:var(--t-on);border-radius:calc(var(--t-r)*2);padding:56px 60px;overflow:hidden}
.th-sec .sr-wrap.sr-final{max-width:calc(var(--t-wrap) - 64px)}
.th-sec .sr-final h2{font-size:clamp(34px,4vw,52px);color:var(--t-on)}
.th-sec .sr-final h2 em{color:var(--t-on);opacity:.8}
.th-sec .sr-final p{margin-top:12px;font-size:17px;max-width:520px;color:var(--t-on);opacity:.9}
.th-sec .sr-final-actions{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
html .th-sec .sr-final .sr-btn{background:var(--c-ink);color:#fff}
html .th-sec .sr-final .sr-btn--ligne{background:transparent;color:var(--t-on);border-color:currentColor}
html .th-sec .sr-mail{color:var(--t-on);font-weight:600;text-decoration:underline;text-underline-offset:4px}
/* page Nos vehicules */
.th-sec.sr-page-vehicules .sr-s--page{padding-top:64px}
@media(max-width:1000px){
  .th-sec .fleet-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:780px){
  .th-wrap,.th-sec .sr-wrap{padding:0 18px}
  .th-sec .sr-s{padding:64px 0}
  .th-sec .fleet-grid,.th-sec .sr-duo,.th-sec .sr-faq,.th-sec .sr-assist,.th-sec .sr-parcours,.th-sec .sr-preparer,.th-sec .sr-edito{grid-template-columns:1fr;gap:22px}
  .th-sec .sr-edito .sr-head{position:static}
  html body .th-sec .sr-edito-texte img{max-height:240px}
  .th-sec .sr-chiffres{grid-auto-flow:row;grid-template-columns:1fr 1fr}
  .th-sec .sr-chiffre,.th-sec .sr-chiffre+.sr-chiffre{padding:18px 10px 18px 0;border-right:0}
  .th-sec .sr-chiffre b{font-size:44px}
  .th-sec .sr-assist-texte,.th-sec .sr-assist-dispo,.th-sec .sr-assist-etapes,.th-sec .sr-panneau{padding:26px}
  .th-sec .sr-visuel img{min-height:260px}
  .th-sec .sr-s--contact{padding:0 0 64px}
  .th-sec .sr-final{padding:40px 24px;border-radius:calc(var(--t-r)*1.4)}
  .th-sec .sr-wrap.sr-final{margin:0 18px}
}

/* ───────── PIED DE PAGE ───────── */
.th-foot{background:var(--t-ft-bg);color:var(--t-ft-tx);padding:68px 0 26px;font-family:var(--font-body);font-size:15px;line-height:1.6}
.th-foot-grid{display:grid;grid-template-columns:minmax(0,1.5fr);grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:40px}
/* colonne vide (pas d'assistance, site en une seule langue) : retiree, les
   autres se repartissent la largeur au lieu de laisser un trou a droite */
.th-foot-grid>div:not(:has(h2,a,img,p)){display:none}
.th-foot-logo{display:inline-block}
.th-foot-logo .th-logo-clair{display:var(--t-flogo-clair)}
.th-foot-logo .th-logo-fonce{display:var(--t-flogo-fonce)}
.th-foot p,.th-foot li,.th-foot span{color:inherit}
.th-foot-marque p{margin:16px 0 0;max-width:330px}
.th-foot-adr{line-height:1.7}
html .th-foot .th-foot-tel{display:inline-block;margin-top:10px;font:700 21px/1.2 var(--font-body);color:var(--t-ft-h);text-decoration:none}
.th-foot h2{font-size:14px;letter-spacing:.1em;text-transform:uppercase;font-family:var(--font-body);font-weight:700;font-style:normal;color:var(--t-ft-h);margin:0 0 16px}
.th-foot ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}
html .th-foot a{color:inherit;text-decoration:none}
html .th-foot a:hover{color:var(--t-ft-h);text-decoration:underline;text-decoration-color:var(--t-p);text-underline-offset:4px}
html .th-foot .th-foot-assist{display:block;font:700 20px/1.2 var(--font-body);color:var(--t-ft-h);margin-bottom:20px}
.th-foot-lang{display:flex;gap:4px;color:var(--t-ft-h)}
.th-foot-bas{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:48px;padding-top:22px;border-top:1px solid var(--t-ft-ln);font-size:13px}
.th-mobile-bar{display:none}
@media(max-width:780px){
  .th-foot-grid{grid-template-columns:1fr 1fr;grid-auto-flow:row;gap:28px}
  .th-foot-marque{grid-column:1/-1}
  .th-foot{padding-bottom:96px}
  .th-mobile-bar{display:grid;grid-template-columns:auto 1fr;position:fixed;left:0;right:0;bottom:0;z-index:50;background:var(--t-ft-bg);box-shadow:0 -8px 30px rgba(0,0,0,.15)}
  html .th-mobile-bar a{display:flex;align-items:center;justify-content:center;gap:8px;padding:0 20px;min-height:60px;font:700 16px/1 var(--font-body);text-decoration:none;color:var(--t-ft-h)}
  html .th-mobile-bar .th-mb-resa{background:var(--t-p);color:var(--t-on)}
}

/* Section sans contenu : un titre seul ne s'affiche pas (ex. avantages sans
   dossier de reassurance, flotte vide). (27/09) */
.th-sec .sr-s--avantages:not(:has(.sr-avantage)){display:none}
.th-sec .sr-s--avis:not(:has(.sr-avi)){display:none}

/* ───────── TAILLE DU LOGO (10/10) ─────────
   Harmonisee sur Horizon. L'ancien plafond (46 px de haut) rendait un logo
   carre ou presque carre minuscule (70 px de large), alors qu'Horizon le
   montrait trois fois plus grand. Un logo large reste borne par sa largeur,
   un logo carre par sa hauteur : les deux ont la meme presence.
   Pied de page inchange (.th-foot-logo). */
.th-logo img{max-height:66px;max-width:220px}
@media(max-width:900px){.th-logo img{max-height:52px;max-width:170px}}
/* Logo a fond opaque pose sur une pastille blanche (classe logo-opaque,
   entete/fonts.html : padding 5 px 9 px en plus de l'image) : plafond reduit
   d'autant, sinon la pastille touchait le haut et le bas de l'en-tete. */
.th-logo img.logo-opaque{max-height:52px;max-width:200px}
@media(max-width:900px){.th-logo img.logo-opaque{max-height:42px;max-width:150px}}
