/*
Theme Name: Cols en direct
Theme URI: https://cols-en-direct.fr
Description: Theme maison. Direction artistique « editorial alpin » : papier blanc casse, vert epicea, Fraunces et Inter. Registre magazine, la photographie commande.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: colsendirect
*/

@font-face{font-family:"Fraunces";src:url("assets/fonts/fraunces.woff2") format("woff2-variations");font-weight:400 700;font-display:swap;font-style:normal}
@font-face{font-family:"Inter";src:url("assets/fonts/inter.woff2") format("woff2-variations");font-weight:400 600;font-display:swap;font-style:normal}

/* Jetons — noms conserves depuis la v1, seules les valeurs changent,
   pour que les gabarits PHP continuent de fonctionner tels quels. */
:root{
  --ink-0:#fdfdfc;      /* papier */
  --ink-1:#f4f5f2;      /* surface posee */
  --ink-2:#eceee9;
  --line:#e4e6e3;
  --line-2:#d4d8d3;

  --text:#1a1c1a;
  --text-2:#5c6461;
  --text-3:#6b7570;

  /* accent unique : vert epicea, employe avec parcimonie */
  --amber:#204d3f;
  --amber-dim:#7f9b8f;
  --accent-soft:#e6efe9;

  --open:#2f7d5f;
  --closed:#a33f2e;

  --display:"Fraunces",Georgia,serif;
  --mono:"Inter",-apple-system,BlinkMacSystemFont,sans-serif;

  --gut:clamp(1.15rem,4vw,2.5rem);
  --max:80rem;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--ink-0);color:var(--text);font-family:var(--mono);
  font-size:17px;line-height:1.62;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img{max-width:100%;height:auto;display:block}
a{color:var(--amber);text-decoration:none}
a:hover{text-decoration:underline;text-underline-offset:3px}
:focus-visible{outline:2px solid var(--amber);outline-offset:3px}
.shell{max-width:var(--max);margin:0 auto;padding:0 var(--gut)}
.skip{position:absolute;left:-9999px;top:0;background:var(--amber);color:#fff;padding:.6rem 1rem;font-size:.85rem;z-index:99}
.skip:focus{left:0}

/* Barre superieure */
.bar{background:var(--ink-0);border-bottom:1px solid var(--line)}
.bar-in{max-width:var(--max);margin:0 auto;padding:0 var(--gut);height:4rem;display:flex;align-items:center;gap:1.5rem}
.logo{font-family:var(--display);font-size:1.22rem;font-weight:600;letter-spacing:-.015em;
  color:var(--amber);white-space:nowrap;display:inline-flex;align-items:center;gap:.6rem}
.logo:hover{text-decoration:none}
.logo:hover .mark{transform:translateY(-1px)}
.logo .mark{display:block;flex:none;transition:transform .18s ease}
@media(prefers-reduced-motion:reduce){.logo .mark{transition:none}}

/* ---- bandeau d'accueil : timelapse reel ---- */
/* ============ Bandeau d'accueil ============
   Plus de photo plein cadre : elle mangeait un ecran entier sans rien dire, et
   une image de webcam etiree a 1 500 px est mediocre. A la place, la ligne de
   crete du site en aplat, et le geste que le visiteur vient faire : chercher. */
/* Le bandeau occupe presque la hauteur d'ecran : il doit s'imposer a
   l'arrivee, sans pour autant masquer completement ce qui suit. On garde
   volontairement une bande visible de la section suivante, qui indique qu'il y
   a quelque chose en dessous. 4rem = hauteur de l'entete.
   svh plutot que vh : sur telephone, vh compte la barre d'adresse retractee et
   pousse le bandeau hors de l'ecran au chargement. */
.hero{position:relative;overflow:hidden;background:var(--ink-1);
  border-bottom:1px solid var(--line);
  display:flex;align-items:center;
  min-height:calc(88vh - 4rem);min-height:calc(88svh - 4rem)}
.hero-inner{width:100%}
.hero-fond{position:absolute;left:0;right:0;bottom:0;height:min(340px,46%);
  pointer-events:none}
.hero-fond svg{width:100%;height:100%;display:block}
.hero-fond .crete-loin{fill:var(--accent-soft)}
.hero-fond .crete-pres{fill:var(--amber);opacity:.13}

.hero-inner{position:relative;z-index:2;max-width:var(--max);margin:0 auto;
  padding:3.5rem var(--gut)}
.hero h1{font-family:var(--display);color:var(--text);
  font-size:clamp(2.3rem,5.8vw,4.15rem);line-height:1.02;letter-spacing:-.032em;
  max-width:22ch;margin:0;text-wrap:balance}
.hero .lede{color:var(--text-2);font-size:1.15rem;max-width:46rem;margin:1.15rem 0 0}

/* --- recherche --- */
.rech-col{position:relative;margin:2rem 0 0;max-width:38rem}
.rech-icone{position:absolute;left:1rem;top:50%;transform:translateY(-50%);
  color:var(--text-3);display:flex;pointer-events:none}
.rech-col input{width:100%;font:inherit;font-size:1.05rem;color:var(--text);
  background:var(--ink-0);border:1px solid var(--line-2);border-radius:999px;
  padding:.85rem 1.2rem .85rem 2.9rem;-webkit-appearance:none;
  box-shadow:0 1px 2px rgba(20,30,25,.05)}
.rech-col input::placeholder{color:var(--text-3)}
.rech-col input:focus{outline:2px solid var(--amber);outline-offset:1px;border-color:var(--amber)}

.rech-res{position:absolute;left:0;right:0;top:calc(100% + .45rem);z-index:20;
  list-style:none;margin:0;padding:.3rem;background:var(--ink-0);
  border:1px solid var(--line);border-radius:6px;
  box-shadow:0 10px 32px rgba(20,30,25,.16)}
.rech-res li a{display:flex;align-items:baseline;gap:.6rem;padding:.55rem .75rem;
  border-radius:4px;text-decoration:none;color:var(--text)}
.rech-res li.est-vise a,.rech-res li a:hover{background:var(--ink-1)}
.rech-res .r-nom{font-weight:600;font-size:.98rem}
.rech-res .r-meta{font-size:.82rem;color:var(--text-3);margin-left:auto;white-space:nowrap}
.rech-res .r-cam{width:7px;height:7px;border-radius:50%;background:var(--amber);flex:none}

/* --- suggestions et chiffres --- */
.hero-sugg{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin:1.4rem 0 0}
.hero-sugg span{font-size:.7rem;letter-spacing:.13em;text-transform:uppercase;
  color:var(--text-3);font-weight:700;margin-right:.2rem}
.hero-sugg a{font-size:.88rem;color:var(--text-2);text-decoration:none;
  background:var(--ink-0);border:1px solid var(--line);border-radius:999px;
  padding:.3rem .8rem;white-space:nowrap}
.hero-sugg a:hover{border-color:var(--amber);color:var(--amber)}

.hero-chiffres{margin:1.8rem 0 0;font-size:.95rem;color:var(--text-2);
  font-variant-numeric:tabular-nums}
.hero-chiffres b{color:var(--text);font-weight:650}
.hero-chiffres .sep{padding:0 .5rem;color:var(--line-2)}
.bar nav{display:flex;gap:1.5rem;margin-left:auto}
.bar nav a{font-size:.88rem;color:var(--text-2);font-weight:500}
.bar nav a:hover{color:var(--amber);text-decoration:none}

/* Pastille de statut — sur les trois profils, sans exception */
.pill{display:inline-flex;align-items:center;gap:.5rem;font-size:.84rem;font-weight:600;
  letter-spacing:0;text-transform:none;padding:.42rem .95rem;border-radius:999px;border:none;
  white-space:nowrap;background:var(--accent-soft);color:var(--open)}
.pill.is-closed{background:#f6e8e5;color:var(--closed)}
.pill.is-unknown{background:var(--ink-1);color:var(--text-2)}
.pill i{width:7px;height:7px;background:currentColor;border-radius:50%;flex:none}

/* Bandeau d'etat : la reponse a « est-ce ouvert », en clair sous le titre.
   La pastille d'origine, petite et calee a droite, se lisait comme une
   etiquette decorative plutot que comme une reponse. */
.col-statut{display:inline-flex;align-items:center;gap:.6rem;margin:1.1rem 0 0;
  font-size:1.02rem;line-height:1.3;padding:.55rem 1.1rem;border-radius:999px;
  background:var(--accent-soft);color:var(--open)}
.col-statut i{width:10px;height:10px;border-radius:50%;background:currentColor;flex:none}
.col-statut strong{font-weight:650;letter-spacing:-.005em}
.col-statut span{color:var(--text-2);font-size:.9rem;font-weight:400}
.col-statut.est-ferme{background:#f6e8e5;color:var(--closed)}
.col-statut.est-inconnu{background:var(--ink-1);color:var(--text-2)}
.col-statut.est-inconnu strong{color:var(--text)}
@media(max-width:34rem){.col-statut{font-size:.95rem;padding:.5rem .9rem}}

/* En-tete de col */
.col-head{padding:3rem 0 1.6rem}
.trail{font-size:.74rem;letter-spacing:.16em;text-transform:uppercase;color:var(--text-3);
  font-weight:600;display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:1.2rem}
.trail a{color:var(--text-3)}
.trail a:hover{color:var(--amber)}
.trail span:not(:last-child)::after{content:" ·";margin-left:.35rem;color:var(--line-2)}
.col-title{display:flex;align-items:flex-start;justify-content:space-between;gap:1.5rem;flex-wrap:wrap}
h1{font-family:var(--display);font-weight:600;font-size:clamp(2.4rem,6vw,3.9rem);line-height:1;
  letter-spacing:-.028em;margin:0;text-wrap:balance}

/* H1 des pages col : la formule entiere sur une seule ligne. Taille reduite
   par rapport a un titre court, sinon elle occupe tout l'ecran. */
.col-title h1{font-size:clamp(1.95rem,4.4vw,2.9rem);line-height:1.06;max-width:18ch}
.col-title h1 .nom{display:block}
.coords{font-size:1.02rem;color:var(--text-2);margin-top:.8rem;display:flex;gap:.55rem;
  flex-wrap:wrap;max-width:34rem}
.coords span{padding:0;border:none}
.coords span+span::before{content:"· ";color:var(--line-2)}
.coords b,.coords .alt{color:var(--text);font-weight:600}

/* Camera */
.cam{position:relative;border:none;background:transparent}
.cam img{width:100%;display:block;background:var(--ink-1)}
.cam.is-pano img{width:100%;height:clamp(220px,30vw,380px);object-fit:cover;object-position:35% center}
/* Haute definition : on garde le cadre entier de la camera plutot que de le
   recadrer en bandeau, et l'image occupe la largeur du contenu. */
.cam.is-large img{width:100%;height:auto;display:block}
.cam.is-large{margin-bottom:1.5rem}
.shot{display:flex;gap:2rem;align-items:flex-start}
.shot>.cam{flex:0 0 auto;min-width:0}
.shot>.cam img{width:100%;height:auto}
.shot>.readout{flex:1 1 12rem;display:flex;flex-direction:column;border:none;background:transparent;gap:0}
.shot>.readout div{border:none;border-top:1px solid var(--line);padding:.95rem 0;flex:0 0 auto}
.shot>.readout div:first-child{border-top:none;padding-top:0}
@media(max-width:46rem){
  .shot{flex-direction:column;gap:1.2rem}
  .shot>.cam{flex:1 1 auto;width:100% !important}
  .shot>.readout{flex-direction:row;flex-wrap:wrap;gap:0 2rem}
  .shot>.readout div{flex:1 1 8rem;border-top:1px solid var(--line);padding-top:.95rem}
}
/* Ces cameras sont des JPEG qui se rafraichissent : le direct, c'est l'image
   elle-meme rechargee, il n'y a pas de flux a ouvrir ailleurs. */
.cam-live{position:absolute;top:.7rem;left:.7rem;display:inline-flex;align-items:center;gap:.45rem;
  font-size:.72rem;font-weight:600;letter-spacing:.02em;color:#fff;
  background:rgba(18,26,22,.62);backdrop-filter:blur(4px);
  padding:.3rem .65rem;border-radius:999px}
.cam-live i{width:6px;height:6px;border-radius:50%;background:#8fe3b4;flex:none;
  animation:pulse 2.4s ease-in-out infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.35}}
@media(prefers-reduced-motion:reduce){.cam-live i{animation:none}}
/* Image figee : la plupart des cameras s'arretent a la nuit tombee. La
   pastille doit alors cesser de clignoter ET cesser de dire « en direct ». */
.cam-live.est-figee{background:rgba(26,28,26,.72)}
.cam-live.est-figee i{background:var(--text-3);animation:none}
.cam-flux{transition:opacity .25s ease}
.cam-flux.is-loading{opacity:.55}
@media(prefers-reduced-motion:reduce){.cam-flux{transition:none}}

/* Texte simple et non flex : en flex, le separateur se retrouvait orphelin
   en debut de ligne au retour a la ligne. */
.cam-tag{font-size:.78rem;color:var(--text-3);padding:.6rem 0 0;background:transparent;border:none;
  line-height:1.5;max-width:34rem}
.cam-tag .sep{color:var(--line-2);padding:0 .2rem}
.cam-tag .maj{font-variant-numeric:tabular-nums;white-space:nowrap}
.cam-tag a{color:var(--text-3);text-decoration:underline;text-underline-offset:2px;text-decoration-color:var(--line-2)}
.cam-tag a:hover{color:var(--amber)}

/* Bandeau de releves — filets hauts, chiffres en Fraunces */
.readout{display:flex;flex-wrap:wrap;gap:0 2rem;border:none;background:transparent}
.readout div{flex:1 1 8rem;padding:1.05rem 0 0;border:none;border-top:1px solid var(--line)}
.readout dt{font-size:.7rem;letter-spacing:.15em;text-transform:uppercase;color:var(--text-3);font-weight:600;margin:0}
.readout dd{font-family:var(--display);font-size:1.6rem;font-weight:600;letter-spacing:-.02em;color:var(--text);margin:.25rem 0 0}
.readout dd small{display:block;font-family:var(--mono);font-size:.8rem;font-weight:400;color:var(--text-3);margin-top:.1rem}

/* Sections */
.sect{margin-top:3.4rem}
.sect>h2{font-family:var(--display);font-size:1.55rem;font-weight:600;letter-spacing:-.018em;
  color:var(--text);text-transform:none;margin:0 0 1.1rem;padding-bottom:.6rem;
  border-bottom:1px solid var(--line);display:block}
.sect>h2::before,.sect>h2::after{content:none}
.prose{max-width:36rem;color:var(--text-2);font-size:1.05rem;line-height:1.75}
.prose p{margin:0 0 1.05rem}
.prose p:last-child{margin-bottom:0}
.prose strong{color:var(--text);font-weight:600}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:0 2.5rem;background:transparent;border:none}
@media(max-width:40rem){.grid2{grid-template-columns:1fr;gap:0}}
.grid2>div{background:transparent;padding:1.05rem 0;border-top:1px solid var(--line)}
.grid2 h3{font-family:var(--mono);font-size:.7rem;letter-spacing:.15em;text-transform:uppercase;
  color:var(--text-3);font-weight:600;margin:0 0 .4rem}
.grid2 .v{font-family:var(--display);font-size:1.45rem;font-weight:600;letter-spacing:-.02em;color:var(--text)}
.grid2 .m{font-size:.88rem;color:var(--text-3);margin-top:.25rem}

/* Listes de cols */
.cols-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(16rem,1fr));gap:0 2.5rem;background:transparent;border:none}
.cols-list a{background:transparent;padding:1.1rem 0;display:flex;flex-direction:column;gap:.3rem;
  color:var(--text);text-decoration:none;border-top:1px solid var(--line)}
.cols-list a:hover{text-decoration:none}
.cols-list a:hover .n{color:var(--amber)}
.cols-list .n{font-family:var(--display);font-weight:600;font-size:1.28rem;line-height:1.15;letter-spacing:-.02em}
.cols-list .d{font-size:.86rem;color:var(--text-3)}
.cols-list .pill{align-self:flex-start;margin-top:.35rem;font-size:.76rem;padding:.3rem .7rem}

.note{font-size:.88rem;color:var(--text-3);font-style:italic;border-left:2px solid var(--line-2);
  padding-left:1rem;margin-top:1.3rem;max-width:36rem;line-height:1.65}

/* Pied de page */
/* ============ Accueil : blocs de contenu ============ */


.sect-tete{padding-bottom:.7rem;border-bottom:1px solid var(--line);margin-bottom:1.5rem}
.sect-tete h2{font-family:var(--display);font-size:1.7rem;font-weight:600;
  letter-spacing:-.02em;margin:0}
.sect-tete p{margin:.55rem 0 0;font-size:.92rem;color:var(--text-2);max-width:44rem}
.sect-note{font-size:.88rem;color:var(--text-2);max-width:46rem;margin:1.1rem 0 0}
.sect-note .sep{padding:0 .5rem;color:var(--line-2)}

/* --- vitrine des webcams ---
   Grille dissymetrique : six images egales se lisent comme un catalogue, une
   grande suivie de cinq se lit comme une une. Le nom passe SUR la photo, sur un
   degrade : la DA veut que l'image commande, pas qu'elle illustre une legende. */
.sect-direct{margin-top:3.4rem}
.grille-direct{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  grid-auto-rows:208px;gap:1rem}
@media(max-width:62rem){.grille-direct{grid-template-columns:repeat(2,minmax(0,1fr));
  grid-auto-rows:180px}}
@media(max-width:38rem){.grille-direct{grid-template-columns:1fr;grid-auto-rows:190px;gap:.7rem}}

.vue{position:relative;display:block;overflow:hidden;text-decoration:none;
  background:var(--surface);border-radius:8px;
  box-shadow:0 1px 2px rgba(20,30,25,.08),0 6px 18px rgba(20,30,25,.10);
  transition:box-shadow .25s ease,transform .25s ease}
.vue:hover{box-shadow:0 2px 4px rgba(20,30,25,.10),0 14px 34px rgba(20,30,25,.18);
  transform:translateY(-2px)}
@media(prefers-reduced-motion:reduce){.vue{transition:none}
  .vue:hover{transform:none}}


.vue-img{position:absolute;inset:0;display:block}
.vue-img img{display:block;width:100%;height:100%;object-fit:cover;
  transition:transform .45s cubic-bezier(.2,.7,.3,1)}
.vue:hover .vue-img img{transform:scale(1.045)}
@media(prefers-reduced-motion:reduce){.vue-img img{transition:none}
  .vue:hover .vue-img img{transform:none}}

/* Voile : sans lui, un nom clair sur un ciel clair devient illisible. */
.vue-voile{position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(to top,rgba(16,22,18,.78) 0%,rgba(16,22,18,.34) 30%,
    rgba(16,22,18,0) 62%)}

.vue-titre{position:absolute;left:0;right:0;bottom:0;padding:.9rem 1rem;
  display:flex;flex-direction:column;gap:.1rem;z-index:2}
.vue-nom{display:block;font-family:var(--display);font-size:1.02rem;font-weight:600;
  letter-spacing:-.015em;color:#fff;line-height:1.2;
  text-shadow:0 1px 8px rgba(10,16,12,.5)}
.vue-bas{display:flex;align-items:center;gap:.4rem;font-size:.82rem;
  color:rgba(255,255,255,.82);font-variant-numeric:tabular-nums}
.vue-bas em{font-style:normal}
.vue-bas em::before{content:"· "}

.vue-live{position:absolute;top:.6rem;left:.6rem;z-index:3;
  display:inline-flex;align-items:center;gap:.4rem;
  background:rgba(16,22,18,.62);color:#fff;font-size:.7rem;font-weight:600;
  padding:.24rem .58rem;border-radius:999px;backdrop-filter:blur(4px)}
.vue-live i{width:6px;height:6px;border-radius:50%;background:#8fe3b4;flex:none;
  animation:ced-pulse 2.4s ease-in-out infinite}
@keyframes ced-pulse{0%,100%{opacity:1}50%{opacity:.3}}
@media(prefers-reduced-motion:reduce){.vue-live i{animation:none}}

/* --- compteurs d'etat --- */
.sect-etat{margin-top:3.6rem}
.compteurs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;
  background:var(--line);border:1px solid var(--line);margin:0}
@media(max-width:44rem){.compteurs{grid-template-columns:repeat(2,minmax(0,1fr))}}
.compteurs div{background:var(--ink-0);padding:1.1rem 1.2rem}
.compteurs dt{font-size:.66rem;letter-spacing:.12em;text-transform:uppercase;
  color:var(--text-3);font-weight:700}
.compteurs dd{margin:.3rem 0 0;font-family:var(--display);font-size:2.1rem;
  font-weight:600;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.compteurs .est-ouvert dd{color:var(--open)}
.compteurs .est-ferme dd{color:var(--closed)}
.compteurs .est-inconnu dd{color:var(--text-3)}

/* --- reperes : plus hauts + massifs --- */
.sect-reperes{margin-top:3.6rem}
.reperes-corps{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:3rem}
@media(max-width:56rem){.reperes-corps{grid-template-columns:1fr;gap:2.6rem}}

.tbl-hauts{width:100%;border-collapse:collapse;font-size:.94rem;
  font-variant-numeric:tabular-nums}
.tbl-hauts th{text-align:left;font-size:.64rem;letter-spacing:.11em;text-transform:uppercase;
  color:var(--text-3);font-weight:700;padding:0 .7rem .5rem 0;border-bottom:1px solid var(--line)}
.tbl-hauts td{padding:.62rem .7rem .62rem 0;border-bottom:1px solid var(--line);vertical-align:middle}
.tbl-hauts tr:last-child td{border-bottom:none}
.tbl-hauts .num{text-align:right;white-space:nowrap}
.tbl-hauts .dim{color:var(--text-3)}
.tbl-hauts a{color:var(--text);text-decoration:none;font-weight:500}
.tbl-hauts a:hover{color:var(--amber);text-decoration:underline;text-underline-offset:3px}
.tbl-hauts .pill{font-size:.72rem;padding:.24rem .6rem}
.pt-cam{display:inline-block;width:7px;height:7px;border-radius:50%;
  background:var(--amber);margin-left:.4rem;vertical-align:middle}

.grille-massifs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;
  background:var(--line);border:1px solid var(--line)}
@media(max-width:30rem){.grille-massifs{grid-template-columns:1fr}}
.grille-massifs a{display:flex;align-items:baseline;justify-content:space-between;gap:.6rem;
  background:var(--ink-0);padding:.6rem .8rem;text-decoration:none;color:var(--text);font-size:.9rem}
.grille-massifs a:hover{background:var(--ink-1);color:var(--amber)}
.grille-massifs b{color:var(--text-3);font-weight:600;font-size:.82rem;
  font-variant-numeric:tabular-nums}

/* --- methode --- */
.sect-methode{margin-top:3.6rem}
.methode-corps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem 3rem}
@media(max-width:52rem){.methode-corps{grid-template-columns:1fr;gap:1.8rem}}
.methode-corps h3{font-family:var(--display);font-size:1.08rem;font-weight:600;
  letter-spacing:-.015em;margin:0 0 .45rem}
.methode-corps p{margin:0;font-size:.94rem;color:var(--text-2);max-width:34rem}

/* ============ Pied de page ============
   Fond epicea plein : la page se termine sur un bloc franc au lieu de se
   deliter en texte gris sur fond clair. C'est le seul endroit du site ou
   l'accent devient un aplat, ce qui lui donne son poids. */
.foot{background:var(--amber);color:var(--ink-0);margin-top:5rem;
  padding:3.4rem 0 2.2rem;font-size:.95rem;line-height:1.6}

.foot-haut{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1.35fr);
  gap:3rem;padding-bottom:2.4rem;border-bottom:1px solid rgba(253,253,252,.16)}
@media(max-width:52rem){.foot-haut{grid-template-columns:1fr;gap:2.4rem}}

.foot-logo{display:inline-flex;align-items:center;gap:.7rem;color:var(--ink-0);
  text-decoration:none;font-family:var(--display);font-size:1.3rem;font-weight:600;
  letter-spacing:-.02em}
.foot-logo:hover{color:var(--ink-0);opacity:.85}
.foot-phrase{margin:1rem 0 0;max-width:34rem;color:rgba(253,253,252,.8)}

.foot-chiffres{display:flex;gap:2.4rem;margin:1.7rem 0 0;flex-wrap:wrap}
.foot-chiffres dt{font-size:.68rem;letter-spacing:.13em;text-transform:uppercase;
  color:rgba(253,253,252,.6);font-weight:700}
.foot-chiffres dd{margin:.2rem 0 0;font-family:var(--display);font-size:1.9rem;
  font-weight:600;letter-spacing:-.03em;font-variant-numeric:tabular-nums}

.foot-liens{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem}
@media(max-width:40rem){.foot-liens{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.6rem}}
.foot-liens h2{font-family:var(--mono);font-size:.68rem;letter-spacing:.13em;
  text-transform:uppercase;color:rgba(253,253,252,.6);font-weight:700;margin:0 0 .85rem}
.foot-liens a{display:block;color:rgba(253,253,252,.92);text-decoration:none;
  padding:.22rem 0;font-size:.92rem}
.foot-liens a:hover{color:var(--ink-0);text-decoration:underline;text-underline-offset:3px}

.foot-bas{padding-top:1.8rem}
.foot-bas p{margin:0;max-width:52rem;font-size:.85rem;color:rgba(253,253,252,.66)}
.foot-mention{margin-top:.8rem !important;font-weight:600;color:rgba(253,253,252,.82) !important}

/* Pages editoriales : mentions legales, confidentialite */
.page-prose{max-width:38rem}
.page-prose h2{font-family:var(--display);font-size:1.35rem;font-weight:600;letter-spacing:-.015em;
  color:var(--text);margin:2.2rem 0 .7rem;padding-bottom:.5rem;border-bottom:1px solid var(--line)}
.page-prose h2:first-child{margin-top:0}
.page-prose a{color:var(--amber)}

/* ---- profil d'ascension ---- */
.intro-profil{margin-bottom:1.6rem}
.versant{margin:0 0 2.2rem}
.versant:last-child{margin-bottom:0}
.versant h3{font-family:var(--display);font-size:1.12rem;font-weight:600;
  letter-spacing:-.015em;margin:0 0 .8rem;color:var(--text)}

.profil-trace{display:block;width:100%;height:132px;
  background:var(--surface);border:1px solid var(--line);border-radius:3px}
/* vector-effect : sans lui, le preserveAspectRatio="none" etire le trait avec
   le dessin et la ligne devient un ruban difforme sur ecran large. */
.profil-trace .aire{fill:var(--accent-soft)}
.profil-trace .ligne{fill:none;stroke:var(--amber);stroke-width:2;
  vector-effect:non-scaling-stroke;stroke-linejoin:round}

.versant-bornes{display:flex;justify-content:space-between;margin:.35rem 0 0;
  font-size:.78rem;color:var(--text-3);font-variant-numeric:tabular-nums}

.versant-chiffres{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;
  background:var(--line);border:1px solid var(--line);border-top:0;margin:.9rem 0 0}
@media(max-width:34rem){.versant-chiffres{grid-template-columns:repeat(2,1fr)}}
.versant-chiffres div{background:var(--ink-0);padding:.7rem .8rem}
.versant-chiffres dt{font-size:.63rem;letter-spacing:.11em;text-transform:uppercase;
  color:var(--text-3);font-weight:700}
.versant-chiffres dd{margin:.25rem 0 0;font-family:var(--display);font-size:1.28rem;
  font-weight:600;letter-spacing:-.02em;color:var(--text);font-variant-numeric:tabular-nums}
.versant-chiffres dd small{display:block;font-family:var(--mono);font-size:.7rem;
  font-weight:400;color:var(--text-3);letter-spacing:0;margin-top:.1rem}

/* ---- carte ---- */
/* Fond IGN : c'est le seul fond libre qui nomme les cols, trace les courbes de
   niveau et estompe le relief. Un dessin abstrait ne dit pas ou l'on est. */
.carte{margin:0;padding:0;background:transparent}
.carte figcaption{font-size:.82rem;color:var(--text-3);margin-top:1rem;max-width:34rem}

.carte-cadre{position:relative;border:1px solid var(--line);border-radius:3px;
  overflow:hidden;background:var(--surface);
  height:clamp(360px,58vh,540px)}
.carte.est-zoom .carte-cadre{height:clamp(320px,50vh,460px)}
@media(max-width:40rem){.carte-cadre,.carte.est-zoom .carte-cadre{height:320px}}

.leaflet-container{font-family:var(--mono);background:var(--surface)}
/* L'estompage se multiplie avec le plan : le blanc ne change rien, seuls
   les versants assombrissent, et les libelles IGN restent lisibles. */
.couche-relief{mix-blend-mode:multiply}
.leaflet-container a{color:var(--amber)}

/* Repli sans JS : la carte ne s'affiche pas, la liste des cols reste la. */
.carte-repli{list-style:none;margin:0;padding:1rem 1.1rem;display:flex;
  flex-direction:column;gap:.5rem;font-size:.9rem;overflow:auto;height:100%}
.carte-repli li{display:flex;justify-content:space-between;gap:1rem;
  padding-bottom:.5rem;border-bottom:1px solid var(--line)}
.carte-repli span{color:var(--text-3);font-size:.82rem;white-space:nowrap}

/* --- marqueurs --- */
/* Goutte plutot que disque : la pointe designe le col, le corps se place
   au-dessus et ne recouvre plus le nom que l'IGN ecrit sous le point.
   Le cerne blanc est ce qui permet de se detacher d'un fond topographique. */
.pin{display:block;overflow:visible;transform-origin:50% 100%;
  transition:transform .14s ease;
  filter:drop-shadow(0 1.5px 2px rgba(20,30,25,.4))}
.pin .corps{stroke:#fff;stroke-width:1.6;vector-effect:non-scaling-stroke}
.pin .marque{fill:none;stroke:#fff;stroke-width:1.7;stroke-linejoin:round;
  stroke-linecap:round;vector-effect:non-scaling-stroke}

.pin.o .corps{fill:var(--open)}
.pin.f .corps{fill:var(--closed)}
.pin.x .corps{fill:var(--text-3)}

/* Sans webcam : goutte claire a liseré de couleur. « Plein = webcam » doit se
   lire litteralement, sinon la legende ment. */
.pin:not(.cam) .corps{fill:var(--ink-0);stroke-width:2.2}
.pin:not(.cam).o .corps{stroke:var(--open)}
.pin:not(.cam).f .corps{stroke:var(--closed)}
.pin:not(.cam).x .corps{stroke:var(--text-3)}
.pin:not(.cam).o .marque{stroke:var(--open)}
.pin:not(.cam).f .marque{stroke:var(--closed)}
.pin:not(.cam).x .marque{stroke:var(--text-3)}

/* Le col de la page en cours : cerne plus epais, il doit sauter aux yeux. */
.pin.moi .corps{stroke-width:2.4}
.pin.moi{filter:drop-shadow(0 2px 4px rgba(20,30,25,.45))}

.leaflet-marker-icon:hover .pin,.pin.vise{transform:scale(1.18)}
/* En vue d'ensemble, cinquante reperes a taille pleine forment un tas :
   on les reduit, la zone cliquable ne bouge pas. */
.est-loin .pin{transform:scale(.62)}
.est-loin .leaflet-marker-icon:hover .pin,.est-loin .pin.vise{transform:scale(.95)}
@media(prefers-reduced-motion:reduce){.pin{transition:none}}

/* --- infobulle de survol --- */
.leaflet-tooltip{background:var(--text);color:var(--ink-0);border:0;border-radius:4px;
  padding:.32rem .6rem;font-size:.8rem;font-weight:500;line-height:1.3;
  box-shadow:0 3px 12px rgba(20,30,25,.28);white-space:nowrap}
.leaflet-tooltip-top:before{border-top-color:var(--text)}

/* --- bulle au clic --- */
.leaflet-popup-content-wrapper{background:var(--ink-0);border-radius:4px;padding:0;
  box-shadow:0 8px 28px rgba(20,30,25,.22);border:1px solid var(--line)}
.leaflet-popup-content{margin:0;min-width:214px;line-height:1.4}
.leaflet-popup-tip{background:var(--ink-0);box-shadow:none}
.leaflet-container a.leaflet-popup-close-button{color:var(--text-3);padding:6px 7px 0 0}
.leaflet-container a.leaflet-popup-close-button:hover{color:var(--text)}

a.pop{display:block;text-decoration:none;color:var(--text)}
a.pop .pop-vue{display:block;background:var(--surface);border-bottom:1px solid var(--line)}
a.pop .pop-vue img{display:block;width:100%;height:112px;object-fit:cover;object-position:center 34%}
a.pop b{display:block;font-family:var(--display);font-size:1.02rem;font-weight:600;
  letter-spacing:-.015em;padding:.6rem .8rem 0}
a.pop .pop-sous{display:block;font-size:.8rem;color:var(--text-3);padding:.1rem .8rem 0}
a.pop .pop-etat{display:inline-block;margin:.5rem .8rem 0;font-size:.7rem;font-weight:700;
  letter-spacing:.08em;text-transform:uppercase;padding:.16rem .5rem;border-radius:2px}
a.pop .pop-etat.o{background:var(--accent-soft);color:var(--open)}
a.pop .pop-etat.f{background:rgba(163,63,46,.1);color:var(--closed)}
a.pop .pop-etat.x{background:var(--surface);color:var(--text-3)}
a.pop .pop-lien{display:block;margin-top:.55rem;padding:.5rem .8rem;
  border-top:1px solid var(--line);font-size:.83rem;font-weight:600;color:var(--amber)}
a.pop:hover .pop-lien{background:var(--surface)}

/* --- commandes et attribution --- */
.leaflet-control-zoom a{background:var(--ink-0);color:var(--text);border-color:var(--line)}
.leaflet-control-zoom a:hover{background:var(--surface);color:var(--amber)}
.leaflet-control-attribution{background:rgba(253,253,252,.86);font-size:.68rem;
  color:var(--text-3);padding:.1rem .4rem}

.legende-carte{display:flex;gap:1.4rem;flex-wrap:wrap;margin-top:1rem;font-size:.85rem;color:var(--text-2)}
.legende-carte span{display:inline-flex;align-items:center;gap:.45rem}
.legende-carte .pin{flex:none;filter:none;transform:none}
.legende-carte .pin .corps{stroke-width:1.4}
.legende-carte .dim{color:var(--text-3)}

/* ---- selecteur de l'accueil ---- */
.filtres{display:flex;flex-direction:column;gap:.85rem;margin-bottom:1.6rem}
.filtres .ligne{display:flex;align-items:baseline;gap:.9rem;flex-wrap:wrap}
.filtres .cle{font-size:.7rem;letter-spacing:.15em;text-transform:uppercase;
  color:var(--text-3);font-weight:600;flex:0 0 4.6rem}
.filtres .puces{display:flex;gap:.4rem;flex-wrap:wrap;flex:1 1 auto}
.puce{font:inherit;font-size:.85rem;font-weight:500;cursor:pointer;
  border:1px solid var(--line);background:transparent;color:var(--text-2);
  padding:.32rem .8rem;border-radius:999px;transition:none;white-space:nowrap}
.puce:hover{border-color:var(--line-2);color:var(--text)}
.puce[aria-pressed="true"]{background:var(--amber);border-color:var(--amber);color:#fff;font-weight:600}
.rech{flex:1 1 16rem;display:block}
.rech input{width:100%;font:inherit;font-size:.95rem;color:var(--text);
  background:var(--ink-1);border:1px solid var(--line);border-radius:999px;
  padding:.5rem 1rem;-webkit-appearance:none}
.rech input::placeholder{color:var(--text-3)}
.rech input:focus{outline:2px solid var(--amber);outline-offset:1px;background:var(--ink-0)}
.filtres .compte{margin:0;font-size:.85rem;color:var(--text-3);white-space:nowrap}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.vide{color:var(--text-2);font-size:.95rem;padding:1.5rem 0}
.lien{font:inherit;background:none;border:0;padding:0;color:var(--amber);
  text-decoration:underline;text-underline-offset:3px;cursor:pointer}

/* Carte de l'accueil reliée à la liste */
.cols-list a.vise .n{color:var(--amber)}
.cols-list a.vise{background:var(--ink-1)}

/* ============ Accueil : le bloc « explorer » ============
   Carte et liste cote a cote plutot qu'empilees : c'est ce qui rend visible
   qu'elles forment un seul outil, et ca divise par deux la hauteur de page. */
.explorer{margin-top:3rem}
.explorer-tete{display:flex;align-items:baseline;justify-content:space-between;
  gap:1rem;flex-wrap:wrap;padding-bottom:.7rem;border-bottom:1px solid var(--line);margin-bottom:1.4rem}
.explorer-tete h2{font-family:var(--display);font-size:1.7rem;font-weight:600;
  letter-spacing:-.02em;margin:0}
.chiffres{margin:0;font-size:.9rem;color:var(--text-3)}
.chiffres b{color:var(--text);font-weight:600}
.chiffres .sep{padding:0 .45rem;color:var(--line-2)}

/* La carte prend toute la largeur : a 470 px elle etait illisible, on n'y
   distinguait ni les vallees ni les reperes. La liste passe en grille dessous,
   ce qui lui donne enfin de l'air. */
.explorer-carte{margin-bottom:1.8rem}
/* Hauteur calee sur le format de la France : les cols vont de la Corse aux
   Pyrenees et des Vosges au Mercantour. Dans un cadre trop bas, le cadrage
   automatique reculait jusqu'a montrer Bruxelles et Prague. */
.explorer-carte .carte-cadre{border:1px solid var(--line);height:clamp(420px,68vh,660px)}
@media(max-width:46rem){.explorer-carte .carte-cadre{height:320px}}
.explorer-carte .legende-carte{margin-top:.7rem;font-size:.8rem}

.explorer-corps{display:block}
.explorer-liste{display:flex;flex-direction:column;gap:.9rem;min-width:0}
.explorer-liste .puces{display:flex;gap:.35rem;flex-wrap:wrap}
.explorer-liste .puces.secondaires{padding-bottom:.5rem;border-bottom:1px solid var(--line)}

.barre-tri{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.barre-tri .compte{font-size:.85rem;color:var(--text-3)}
.barre-tri .tri{display:flex;align-items:center;gap:.3rem;flex-wrap:wrap}
.barre-tri .cle{font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--text-3);font-weight:600;margin-right:.2rem}
.puce.mini{font-size:.78rem;padding:.2rem .6rem}
.puce.bascule[aria-pressed="false"]{border-style:dashed}

/* la liste : lignes denses, une seule colonne, scrollable au besoin */
.liste-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);margin-top:.4rem}
@media(max-width:64rem){.liste-cols{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:40rem){.liste-cols{grid-template-columns:1fr}}
@media(max-width:56rem){.liste-cols{max-height:none;overflow:visible}}
/* En grille, chaque ligne devient une cellule : le filet du bas laisserait des
   traits orphelins en fin de colonne, c'est la gouttiere qui separe. */
.ligne-col{display:grid;grid-template-columns:1fr auto auto;align-items:center;
  gap:.4rem .9rem;padding:.8rem .95rem;background:var(--ink-0);
  text-decoration:none;color:var(--text)}
.ligne-col:hover,.ligne-col.vise{background:var(--ink-1);text-decoration:none}
.ligne-col:hover .col-nom,.ligne-col.vise .col-nom{color:var(--amber)}
.col-nom{font-family:var(--display);font-weight:600;font-size:1.08rem;letter-spacing:-.015em;line-height:1.2}
.col-meta{grid-column:1;grid-row:2;font-size:.82rem;color:var(--text-3)}
.col-etat{grid-column:2;grid-row:1/3}
.col-etat .pill{font-size:.72rem;padding:.25rem .6rem}
.col-cam{grid-column:3;grid-row:1/3;width:9px;height:9px;border-radius:50%;
  background:var(--amber);flex:none}
/* .rech avait un flex-grow herite du premier jet : dans une colonne, il
   etirait le champ sur toute la hauteur disponible. */
.explorer-liste .rech{flex:0 0 auto}
.explorer-liste .rech input{border-radius:4px}

/* display:grid et display:flex ecrasent l'attribut [hidden], dont le
   display:none par defaut a une specificite nulle. Sans ces regles, le script
   masque les elements mais le CSS les reaffiche : le filtre semble inoperant. */
.ligne-col[hidden],.cols-list a[hidden],.liste-cols a[hidden]{display:none !important}


/* ==================================================================
   LE BLOG — conseils et guides
   ==================================================================
   Le reste du site sert des donnees : on y balaye, on ne lit pas. Ici
   c'est l'inverse, d'ou une colonne etroite, une echelle typographique
   plus haute et beaucoup moins de traits. Le seul emprunt aux fiches de
   col est le vocabulaire des vignettes — angles arrondis, ombre portee,
   soulevement au survol — pour que les deux moities du site se
   reconnaissent. */

.blog-tete{padding:3rem 0 1.5rem;max-width:42rem}
.blog-tete h1{font-family:var(--display);font-size:clamp(1.9rem,4.4vw,2.7rem);
  font-weight:600;letter-spacing:-.028em;line-height:1.1;margin:.75rem 0 0}
.blog-lede{margin:.95rem 0 0;font-size:1.06rem;line-height:1.65;color:var(--text-2)}

/* --- Barre des rubriques --- */
.rubriques{display:flex;flex-wrap:wrap;gap:.5rem;margin:1.6rem 0 2.4rem;
  padding-bottom:1.6rem;border-bottom:1px solid var(--line)}
.rubriques a{display:inline-flex;align-items:center;gap:.45rem;
  padding:.42rem .9rem;border:1px solid var(--line-2);border-radius:999px;
  font-size:.86rem;font-weight:500;color:var(--text-2);text-decoration:none;
  transition:border-color .18s ease,color .18s ease,background .18s ease}
.rubriques a:hover{border-color:var(--amber-dim);color:var(--amber);text-decoration:none}
.rubriques a[aria-current]{background:var(--amber);border-color:var(--amber);color:#fff}
.rubriques .n{font-size:.72rem;font-variant-numeric:tabular-nums;opacity:.65}

/* --- Carte d'article --- */
.art-lien{display:grid;gap:.95rem;text-decoration:none;color:inherit}
.art-lien:hover{text-decoration:none}

.art-vis{position:relative;display:block;overflow:hidden;border-radius:10px;
  aspect-ratio:16/10;background:var(--accent-soft);
  box-shadow:0 1px 2px rgba(20,30,25,.08),0 6px 18px rgba(20,30,25,.10);
  transition:box-shadow .25s ease,transform .25s ease}
.art-lien:hover .art-vis{box-shadow:0 2px 4px rgba(20,30,25,.10),0 14px 34px rgba(20,30,25,.18);
  transform:translateY(-2px)}
.art-vis img{display:block;width:100%;height:100%;object-fit:cover;
  transition:transform .5s cubic-bezier(.2,.7,.3,1)}
.art-lien:hover .art-vis img{transform:scale(1.045)}

/* Repli sans image : la ligne de crete du site, tiree de l'identifiant de
   l'article. La grille reste reguliere sans photo d'illustration inventee. */
.crete-vide{display:block;width:100%;height:100%}
.crete-vide .cv-loin{fill:#cfe0d6}
.crete-vide .cv-pres{fill:var(--amber);opacity:.82}

.art-corps{display:grid;gap:.42rem;align-content:start}
.art-rub{font-size:.71rem;letter-spacing:.14em;text-transform:uppercase;
  font-weight:600;color:var(--amber)}
.art-titre{font-family:var(--display);font-size:1.24rem;font-weight:600;
  letter-spacing:-.022em;line-height:1.2;color:var(--text);
  text-wrap:balance;transition:color .18s ease}
.art-lien:hover .art-titre{color:var(--amber)}
.art-chapo{font-size:.93rem;line-height:1.58;color:var(--text-2)}
.art-pied{display:flex;flex-wrap:wrap;gap:.4rem;font-size:.79rem;color:var(--text-3);
  margin-top:.15rem}
.art-pied em{font-style:normal}
.art-pied em::before{content:"· ";margin-right:.15rem}

/* --- Article de tete --- */
.art-une{margin-bottom:3.2rem}
.art-une .art-lien{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);
  gap:2.4rem;align-items:center}
.art-une .art-vis{aspect-ratio:4/3}
.art-une .art-titre{font-size:clamp(1.5rem,3.2vw,2.05rem);letter-spacing:-.03em;line-height:1.13}
.art-une .art-chapo{font-size:1.02rem;line-height:1.62}
.art-une .art-corps{gap:.6rem}
@media (max-width:56rem){
  .art-une .art-lien{grid-template-columns:1fr;gap:1.1rem}
  .art-une .art-vis{aspect-ratio:16/9}
}

/* --- Grille --- */
.art-grille{display:grid;grid-template-columns:repeat(auto-fill,minmax(17.5rem,1fr));
  gap:2.6rem 2rem}

/* --- Pagination --- */
.pagi{display:flex;flex-wrap:wrap;justify-content:center;gap:.4rem;
  margin:3.4rem 0 0;padding-top:2rem;border-top:1px solid var(--line)}
.pagi .page-numbers{display:inline-flex;align-items:center;justify-content:center;
  min-width:2.3rem;height:2.3rem;padding:0 .7rem;border-radius:6px;
  font-size:.88rem;color:var(--text-2);text-decoration:none;
  border:1px solid transparent;font-variant-numeric:tabular-nums}
.pagi a.page-numbers:hover{border-color:var(--line-2);color:var(--amber);text-decoration:none}
.pagi .page-numbers.current{background:var(--amber);color:#fff;font-weight:600}
.pagi .dots{color:var(--text-3)}

.blog-vide{font-size:1rem;color:var(--text-2);padding:2rem 0 3rem}
.blog-vide a{color:var(--amber)}

/* ============ Un article ============ */
.post-tete{padding:2.6rem 0 1.4rem;max-width:42rem}
.post-tete h1{font-family:var(--display);font-size:clamp(1.95rem,4.6vw,2.85rem);
  font-weight:600;letter-spacing:-.03em;line-height:1.08;margin:.8rem 0 0;text-wrap:balance}
.post-chapo{margin:1rem 0 0;font-size:1.14rem;line-height:1.6;color:var(--text-2)}
.post-meta{margin:1.25rem 0 0;font-size:.83rem;color:var(--text-3)}
.post-meta .sep{padding:0 .45rem;color:var(--line-2)}

.post-cover{margin:1.6rem auto 2.6rem;max-width:var(--max);padding:0 var(--gut)}
.post-cover img{display:block;width:100%;height:auto;border-radius:12px;
  box-shadow:0 1px 2px rgba(20,30,25,.08),0 10px 30px rgba(20,30,25,.13)}
.post-cover figcaption{margin:.7rem 0 0;font-size:.8rem;color:var(--text-3);font-style:italic}

/* Colonne de lecture : environ 68 signes par ligne, la largeur ou l'oeil
   revient a la ligne suivante sans la chercher. */
.post-prose{max-width:38rem;font-size:1.08rem;line-height:1.75;color:var(--text-2)}
.post-prose > *:first-child{margin-top:0}
.post-prose h2{font-family:var(--display);font-size:1.52rem;font-weight:600;
  letter-spacing:-.022em;line-height:1.2;color:var(--text);margin:2.6rem 0 .9rem;text-wrap:balance}
.post-prose h3{font-family:var(--display);font-size:1.2rem;font-weight:600;
  letter-spacing:-.015em;color:var(--text);margin:2rem 0 .7rem}
.post-prose p{margin:0 0 1.15rem}
.post-prose a{color:var(--amber);text-underline-offset:.18em}
.post-prose strong{color:var(--text);font-weight:600}
.post-prose ul,.post-prose ol{margin:0 0 1.3rem;padding-left:1.2rem}
.post-prose li{margin:0 0 .5rem}
.post-prose li::marker{color:var(--amber-dim)}
.post-prose blockquote{margin:1.8rem 0;padding:0 0 0 1.3rem;
  border-left:3px solid var(--amber);font-family:var(--display);
  font-size:1.14rem;line-height:1.55;color:var(--text)}
.post-prose blockquote p:last-child{margin-bottom:0}
.post-prose figure{margin:2rem 0}
.post-prose img{display:block;max-width:100%;height:auto;border-radius:10px;
  box-shadow:0 1px 2px rgba(20,30,25,.07),0 8px 22px rgba(20,30,25,.10)}
.post-prose figcaption{margin:.65rem 0 0;font-size:.8rem;color:var(--text-3);font-style:italic}
.post-prose hr{border:none;border-top:1px solid var(--line);margin:2.6rem 0}

/* Les tableaux debordent la colonne de lecture : on leur laisse toute la
   largeur du contenu et un defilement propre plutot que la page entiere qui
   glisse lateralement sur telephone. */
.post-prose table{border-collapse:collapse;display:block;overflow-x:auto;
  font-size:.92rem;margin:1.8rem 0;
  /* Un tableau n'est pas du texte courant : on le laisse deborder la colonne
     de lecture jusqu'a la largeur du contenu, sinon chaque cellule se replie
     sur trois lignes et le tableau cesse d'etre lisible d'un coup d'oeil. */
  width:min(46rem,100%);max-width:none}
@media (min-width:60rem){.post-prose table{width:46rem}}
.post-prose th,.post-prose td{padding:.65rem .85rem;text-align:left;
  border-bottom:1px solid var(--line);vertical-align:top}
.post-prose th{font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;
  color:var(--text-3);font-weight:600;border-bottom-color:var(--line-2)}

/* Encarts. Prefixe court propre au site, comme sur le reste du parc. */
.ced-callout{margin:1.9rem 0;padding:1.15rem 1.3rem;border-radius:8px;
  background:var(--accent-soft);border-left:3px solid var(--amber);
  font-size:1rem;line-height:1.65;color:var(--text)}
.ced-callout strong:first-child{display:inline;font-family:var(--display);
  font-size:1.02rem;font-weight:600;color:var(--amber)}
.ced-callout p:last-child{margin-bottom:0}

/* --- Les cols cites --- */
.post-cols{margin:3.4rem 0 0;padding:1.8rem 0 0;border-top:1px solid var(--line)}
.post-cols h2{font-family:var(--display);font-size:1.35rem;font-weight:600;
  letter-spacing:-.018em;margin:0}
.post-cols-note{margin:.4rem 0 .6rem;font-size:.86rem;color:var(--text-3)}

.post-suite{margin:3.6rem 0 0;padding-top:2rem;border-top:1px solid var(--line)}
.post-suite h2{font-family:var(--display);font-size:1.35rem;font-weight:600;
  letter-spacing:-.018em;margin:0 0 1.6rem}
.post-suite .art-titre{font-size:1.1rem}


/* ============ Article : colonne de lecture + encart lateral ============
   La colonne de texte reste etroite, c'est ce qui rend l'article lisible.
   Mais la laisser seule vidait la moitie droite de l'ecran. On y installe la
   recherche de col, collante : le lecteur d'un guide sur la descente du
   Galibier a exactement ce qu'il faut sous la main pour aller voir l'etat du
   Galibier, sans remonter en haut de page. */

.post-corps{display:grid;grid-template-columns:minmax(0,46rem) minmax(0,20rem);justify-content:space-between;
  gap:3.6rem;align-items:start}
.post-corps .post-prose{max-width:none}
/* Texte et tableaux partagent la meme largeur de colonne. Sur grand ecran le
   tableau redevient un vrai tableau pour remplir la colonne jusqu au bord ;
   en dessous il reste un bloc qui defile sur lui-meme. */
.post-corps .post-prose > table{width:100%;max-width:100%}
@media (min-width:64.01rem){.post-corps .post-prose > table{display:table}}

.post-cote{position:sticky;top:2rem}
.cote-bloc{border:1px solid var(--line);border-radius:12px;padding:1.4rem;
  background:var(--ink-1);
  box-shadow:0 1px 2px rgba(20,30,25,.05),0 8px 24px rgba(20,30,25,.07)}
.cote-sur{margin:0;font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;
  font-weight:700;color:var(--amber);display:flex;align-items:center;gap:.45rem}
.cote-sur::before{content:"";width:7px;height:7px;border-radius:50%;
  background:var(--open);flex:none;box-shadow:0 0 0 3px rgba(47,125,95,.16)}
.cote-titre{font-family:var(--display);font-size:1.32rem;font-weight:600;
  letter-spacing:-.02em;line-height:1.15;margin:.5rem 0 0}
.cote-txt{margin:.4rem 0 0;font-size:.88rem;line-height:1.5;color:var(--text-2)}

.cote-rech{margin:1.1rem 0 0;max-width:none}
.cote-rech input{font-size:.95rem;padding:.7rem 1rem .7rem 2.6rem}
.cote-rech .rech-icone{left:.85rem}

.cote-chiffres{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;
  margin:1.2rem 0 0;padding:1rem 0 0;border-top:1px solid var(--line)}
.cote-chiffres div{margin:0}
.cote-chiffres dt{font-size:.7rem;letter-spacing:.13em;text-transform:uppercase;
  color:var(--text-3);font-weight:600}
.cote-chiffres dd{margin:.15rem 0 0;font-family:var(--display);font-size:1.6rem;
  font-weight:600;line-height:1;font-variant-numeric:tabular-nums}

.cote-cta{display:inline-flex;align-items:center;gap:.4rem;margin-top:1.1rem;
  font-size:.88rem;font-weight:600;color:var(--amber);text-decoration:none}
.cote-cta:hover{gap:.6rem;text-decoration:none}
.cote-cta svg{transition:transform .2s ease}

/* Sous 64rem la colonne laterale passe sous le texte : collante, elle
   recouvrirait la lecture au lieu de l'accompagner. */
@media (max-width:64rem){
  .post-corps{grid-template-columns:1fr;gap:2.6rem}
  .post-corps .post-prose{max-width:38rem}
  .post-cote{position:static;max-width:38rem}
}


/* Écran peu haut : la contrainte de hauteur ferait sortir la recherche du
   cadre. On rend alors la main au contenu. */
@media (max-height:640px){
  .hero{min-height:0}
  .hero-inner{padding:3rem var(--gut)}
}

/* ============ Pages de massif ============
   Registre magazine : le chapeau tient la largeur d'un article, les reperes
   sont poses a cote sous un filet, et les blocs chiffres reprennent exactement
   les compteurs de l'accueil pour que la lecture soit la meme d'une page a
   l'autre. Aucun coin arrondi, aucune carte : des filets. */

.massif-chapeau{margin-top:.6rem;padding-top:1.8rem;border-top:1px solid var(--line);
  display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:1rem 3.5rem;align-items:start}
.chapeau-texte p{margin:0 0 1rem;color:var(--text-2);max-width:40rem}
.chapeau-texte p:last-child{margin-bottom:0}
/* Le premier paragraphe est le chapeau au sens typographique : c'est lui qui
   doit se lire si le visiteur ne lit rien d'autre. */
.chapeau-texte .lede{font-size:1.16rem;line-height:1.55;color:var(--text)}

.chapeau-reperes{border-top:2px solid var(--amber);padding-top:.9rem}
.chapeau-reperes h2{font-family:var(--mono);font-size:.66rem;letter-spacing:.13em;
  text-transform:uppercase;color:var(--text-3);font-weight:600;margin:0 0 .3rem}
.chapeau-reperes dl{margin:0}
.chapeau-reperes dl>div{display:grid;grid-template-columns:minmax(0,1fr);gap:.05rem;
  padding:.62rem 0;border-bottom:1px solid var(--line)}
.chapeau-reperes dl>div:last-child{border-bottom:none}
.chapeau-reperes dt{font-size:.72rem;letter-spacing:.09em;text-transform:uppercase;color:var(--text-3)}
.chapeau-reperes dd{margin:0;font-size:.95rem;line-height:1.45;color:var(--text)}

/* ---- les chiffres ---- */
.sect-chiffres{margin-top:3.6rem}
.chiffres-cles{display:grid;grid-template-columns:repeat(auto-fit,minmax(10.5rem,1fr));gap:1px;
  background:var(--line);border:1px solid var(--line);margin:0}
.chiffres-cles>div{background:var(--ink-0);padding:1.05rem 1.15rem 1.1rem}
.chiffres-cles dt{font-size:.64rem;letter-spacing:.12em;text-transform:uppercase;color:var(--text-3)}
.chiffres-cles dd{margin:.25rem 0 0;font-family:var(--display);font-size:1.95rem;
  font-weight:600;line-height:1;letter-spacing:-.02em}
.chiffres-cles dd span{font-family:var(--mono);font-size:.82rem;font-weight:500;color:var(--text-3);letter-spacing:0}
/* La legende dit de QUEL col vient le chiffre : sans elle, « +1 164 m » ne
   renvoie a rien et le lecteur doit chercher dans le tableau. */
.chiffres-cles p{margin:.4rem 0 0;font-size:.78rem;line-height:1.35;color:var(--text-3)}

/* Le tableau deborde sur telephone : il defile dans son propre cadre plutot
   que de pousser toute la page vers la droite. */
.tbl-cadre{margin-top:1.7rem;overflow-x:auto;-webkit-overflow-scrolling:touch}
.tbl-massif{width:100%;min-width:46rem;border-collapse:collapse;font-size:.93rem}
.tbl-massif th{text-align:left;font-size:.63rem;letter-spacing:.11em;text-transform:uppercase;
  color:var(--text-3);font-weight:600;padding:0 .8rem .5rem 0;border-bottom:1px solid var(--line-2);white-space:nowrap}
.tbl-massif td{padding:.68rem .8rem .68rem 0;border-bottom:1px solid var(--line);vertical-align:middle}
.tbl-massif tr:last-child td{border-bottom:none}
.tbl-massif th.num,.tbl-massif td.num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.tbl-massif td.dim{color:var(--text-3)}
.tbl-massif a{color:var(--text);font-weight:500;text-decoration:none}
.tbl-massif a:hover{color:var(--amber);text-decoration:underline;text-underline-offset:3px}
.tbl-massif .pill{font-size:.72rem;padding:.24rem .6rem}
.tbl-massif tbody tr:hover{background:var(--ink-1)}

/* ---- cellules encadrees ----
   Meme vocabulaire que la liste de l'accueil : des cellules posees sur le
   papier, separees par un filet d'un pixel. Une difference toutefois, le filet
   est porte par les cellules et non par le fond du conteneur : quand la
   derniere rangee est incomplete, il ne reste pas de bande grise a la place
   des cellules manquantes, seulement du papier. */
.fiches-corps,.faire-corps{display:grid;
  grid-template-columns:repeat(auto-fit,minmax(26rem,1fr));
  border-top:1px solid var(--line);border-left:1px solid var(--line)}
.fiche-col,.faire-bloc{margin:0;background:var(--ink-0);
  padding:1.35rem 1.45rem 1.5rem;
  border-right:1px solid var(--line);border-bottom:1px solid var(--line)}

/* ---- les cols un par un ---- */
.sect-fiches{margin-top:3.6rem}
/* Toute la cellule mene a la fiche du col, comme sur l'accueil. Le lien du
   titre s'etire par-dessus la carte plutot que d'imbriquer un bloc dans un
   <a>, ce qui garde le balisage valide et le titre lisible par un lecteur
   d'ecran. */
.fiche-col{position:relative;transition:background .16s ease}
.fiche-col h3{font-family:var(--display);font-size:1.3rem;font-weight:600;
  letter-spacing:-.018em;line-height:1.15;margin:0}
.fiche-col h3 a{color:var(--text)}
.fiche-col h3 a::after{content:"";position:absolute;inset:0}
.fiche-col:hover{background:var(--ink-1)}
.fiche-col:hover h3 a{color:var(--amber);text-decoration:none}
.fiche-col p{margin:.7rem 0 0;font-size:.94rem;color:var(--text-2)}
.fiche-meta{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem;margin-top:.45rem !important;
  font-size:.8rem;color:var(--text-3);letter-spacing:.02em}
.fiche-meta span+span::before{content:"· ";color:var(--line-2)}
.fiche-meta .pill{font-size:.72rem;padding:.22rem .58rem;margin-left:.2rem}

/* ---- ce qu'on vient y faire ---- */
.sect-faire{margin-top:3.6rem}
.faire-bloc h3{font-family:var(--display);font-size:1.12rem;font-weight:600;
  letter-spacing:-.015em;line-height:1.2;margin:0}
.faire-bloc p{margin:.6rem 0 0;font-size:.94rem;color:var(--text-2)}

/* ---- la saison ---- */
.sect-saison{margin-top:3.4rem;margin-bottom:1rem}
.sect-saison p{margin:0;max-width:48rem;color:var(--text-2)}

@media(max-width:900px){
  .massif-chapeau{grid-template-columns:minmax(0,1fr);gap:2rem}
  .chapeau-reperes{max-width:34rem}
}
@media(max-width:560px){
  .chiffres-cles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .chiffres-cles dd{font-size:1.6rem}
  .fiches-corps,.faire-corps{grid-template-columns:minmax(0,1fr)}
  .fiche-col,.faire-bloc{padding:1.15rem 1.15rem 1.25rem}
}

/* Le chapeau et la carte se touchaient : la carte est le premier element
   visuel apres le texte, elle a besoin de respirer autant qu'une section. */
.massif-chapeau+.carte{margin-top:2.8rem}

/* ============ Fiches de col : les blocs de texte ============
   Le paragraphe restait a 36 rem contre la marge gauche pendant que le filet
   du titre courait sur les 75 rem de la page : le vide a droite se lisait
   comme un defaut plutot que comme une marge. Le bloc est donc pose a sa
   mesure de lecture, les cols voisins viennent occuper la marge, et le filet
   du titre s'arrete avec l'ensemble. */

.sect-texte > h2{max-width:64rem}            /* 44 + 3 + 17, la largeur du bloc */
.sect-texte.est-etroit > h2{max-width:44rem} /* sans marge, le filet suit le texte */

.texte-corps{display:grid;grid-template-columns:minmax(0,44rem) 17rem;
  gap:3rem;align-items:start}
.texte-corps.est-plein{display:block;max-width:44rem}
.texte-corps .prose{max-width:44rem;font-size:1.06rem}
.texte-corps.est-plein .prose{max-width:none}

/* L'entete peut etre collante selon le gabarit : sans marge de defilement, une
   ancre deposerait son intertitre sous la barre. */
.texte-corps .prose h3{scroll-margin-top:5.5rem}

/* ---- la marge : les cols voisins ----
   Elle suit la lecture plutot que de defiler avec le texte : sur les fiches
   longues, la liste reste a portee de regard jusqu'au bas du bloc. */
.texte-rail{position:sticky;top:5rem;border-top:2px solid var(--amber);padding-top:.85rem}
.texte-rail > h2{font-family:var(--display);font-size:1.06rem;font-weight:600;
  letter-spacing:-.015em;line-height:1.22;margin:0 0 .35rem;color:var(--text)}

.rail-cols{margin:0;padding:0;list-style:none}
.rail-cols li{border-bottom:1px solid var(--line)}
.rail-cols li:last-child{border-bottom:none}
.rail-cols a{display:grid;grid-template-columns:minmax(0,1fr) auto;
  align-items:center;gap:.1rem .6rem;padding:.62rem 0;
  text-decoration:none;color:var(--text)}
.rail-cols a:hover{text-decoration:none}
.rail-cols .n{grid-column:1;font-family:var(--display);font-weight:600;
  font-size:.98rem;line-height:1.2;letter-spacing:-.015em}
.rail-cols a:hover .n{color:var(--amber)}
.rail-cols .d{grid-column:1;font-size:.78rem;color:var(--text-3)}
.rail-cols .pill{grid-column:2;grid-row:1/3;font-size:.68rem;padding:.2rem .5rem}

/* En dessous de cette largeur les deux colonnes ne tiennent plus. La liste
   passe sous le texte : c'est du contenu, pas un rappel, on ne la masque pas. */
@media(max-width:64rem){
  .sect-texte > h2{max-width:none}
  .texte-corps{display:block;max-width:44rem}
  .texte-rail{position:static;margin-top:2.4rem}
}


/* ============ Bloc d'offre partenaire (.ced-deal) + barre collante ============
   Le bloc parle du produit, pas du marchand : une photo du sujet en fond, un
   voile vert epicea pour que le texte tienne, et la carte d'action en papier
   comme les encarts du site. Un produit = une variante .ced-deal--<cle> qui ne
   fixe que la photo. Empilement 0 (photo) / 1 (voile) / 2 (contenu) : jamais de
   z-index negatif, la photo passerait sous le fond de la colonne. */
.ced-deal{margin:2.2rem 0 2.4rem;position:relative;overflow:hidden;border-radius:12px;
  background:#16221d;color:#fff;font-family:var(--mono);
  box-shadow:0 1px 2px rgba(20,30,25,.07),0 10px 28px rgba(20,30,25,.14)}
.ced-deal::before{content:"";position:absolute;inset:0;z-index:0;
  background:#16221d center/cover no-repeat}
.ced-deal::after{content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(100deg,rgba(18,34,28,.95) 0%,rgba(18,34,28,.86) 48%,rgba(18,34,28,.42) 100%)}
.ced-deal > *{position:relative;z-index:2}
.ced-deal__top{padding:1.5rem 1.6rem 0}
.ced-deal__sur{display:inline-flex;align-items:center;gap:.5rem;font-size:.7rem;letter-spacing:.16em;
  text-transform:uppercase;font-weight:700;color:#cfe3d8}
.ced-deal__sur::before{content:"";width:7px;height:7px;border-radius:50%;background:#7fd0a8;flex:none;
  box-shadow:0 0 0 3px rgba(127,208,168,.2)}
.ced-deal__grid{display:grid;grid-template-columns:minmax(0,1fr) 13.5rem;gap:1.5rem;
  padding:.7rem 1.6rem 1.5rem;align-items:center}
:is(.post-prose,.ced-offres) .ced-deal p{margin:0}
:is(.post-prose,.ced-offres) .ced-deal .ced-deal__title{font-family:var(--display);font-weight:600;font-size:1.38rem;
  line-height:1.2;letter-spacing:-.02em;color:#fff;margin:0 0 .8em}
:is(.post-prose,.ced-offres) .ced-deal ul.ced-deal__points{list-style:none;margin:0;padding:0}
:is(.post-prose,.ced-offres) .ced-deal .ced-deal__points li{position:relative;padding-left:1.7rem;margin:0 0 .5em;
  color:rgba(255,255,255,.9);font-size:.94rem;line-height:1.5}
.ced-deal__points li::marker{content:""}
.ced-deal__points li::before{content:"";position:absolute;left:0;top:.22em;width:18px;height:18px;
  border-radius:50%;background:var(--open) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat}
.ced-deal__buy{background:var(--ink-0);border:1px solid var(--line);border-radius:12px;
  padding:1.15rem 1.1rem 1rem;text-align:center;box-shadow:0 12px 30px rgba(8,16,13,.35)}
:is(.post-prose,.ced-offres) .ced-deal .ced-deal__amount{display:block;font-family:var(--display);font-weight:600;
  font-size:1.6rem;line-height:1;letter-spacing:-.02em;color:var(--text)}
:is(.post-prose,.ced-offres) .ced-deal .ced-deal__unit{display:block;margin:.45em 0 .95em;color:var(--text-2);
  font-size:.82rem;line-height:1.4}
:is(.post-prose,.ced-offres) a.ced-deal__btn,.ced-deal-bar a.ced-deal__btn{display:flex;align-items:center;
  justify-content:center;gap:.45rem;width:100%;padding:.85rem 1rem;border-radius:999px;
  background:var(--amber);color:#fff;font-weight:600;font-size:.98rem;text-decoration:none;
  transition:background .18s ease,gap .18s ease}
:is(.post-prose,.ced-offres) a.ced-deal__btn:hover,.ced-deal-bar a.ced-deal__btn:hover{background:#17382e;gap:.65rem;
  text-decoration:none}
:is(.post-prose,.ced-offres) .ced-deal .ced-deal__chez{display:block;margin-top:.7em;font-size:.76rem;color:var(--text-3)}
:is(.post-prose,.ced-offres) .ced-deal .ced-deal__foot{padding:0 1.6rem 1rem;color:rgba(255,255,255,.6);font-size:.74rem}
@media(max-width:44rem){
  .ced-deal::after{background:linear-gradient(180deg,rgba(18,34,28,.94) 0%,rgba(18,34,28,.86) 60%,rgba(18,34,28,.6) 100%)}
  .ced-deal__grid{grid-template-columns:1fr;gap:1.15rem;padding:.6rem 1.15rem 1.2rem}
  .ced-deal__top{padding:1.3rem 1.15rem 0}
  :is(.post-prose,.ced-offres) .ced-deal .ced-deal__title{font-size:1.2rem}
  :is(.post-prose,.ced-offres) .ced-deal .ced-deal__foot{padding:0 1.15rem .9rem}
}
.ced-deal-bar{position:fixed;left:0;right:0;bottom:0;z-index:70;font-family:var(--mono);
  padding:.6rem 1rem calc(.6rem + env(safe-area-inset-bottom));background:rgba(253,253,252,.97);
  backdrop-filter:blur(8px);border-top:1px solid var(--line-2);
  box-shadow:0 -8px 28px rgba(20,30,25,.12);transform:translateY(110%);transition:transform .3s ease}
.ced-deal-bar.is-on{transform:none}
.ced-deal-bar__in{max-width:var(--max);margin:0 auto;display:flex;align-items:center;gap:1rem}
.ced-deal-bar__txt{flex:1 1 auto;min-width:0;color:var(--text);line-height:1.3}
.ced-deal-bar__merchant{display:block;font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;
  font-weight:700;color:var(--amber)}
.ced-deal-bar__label{display:block;font-family:var(--display);font-weight:600;font-size:1.05rem;
  letter-spacing:-.015em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ced-deal-bar a.ced-deal__btn{flex:0 0 auto;width:auto;padding:.7rem 1.3rem;font-size:.92rem}
.ced-deal-bar__x{flex:0 0 auto;width:32px;height:32px;border:1px solid var(--line-2);border-radius:50%;
  background:transparent;color:var(--text-2);font-size:18px;line-height:1;cursor:pointer}
.ced-deal-bar__x:hover{background:var(--ink-1)}
@media(max-width:35rem){
  .ced-deal-bar__in{gap:.6rem}
  .ced-deal-bar__label{font-size:.92rem;white-space:normal;display:-webkit-box;
    -webkit-line-clamp:2;-webkit-box-orient:vertical}
  .ced-deal-bar a.ced-deal__btn{padding:.65rem 1rem;font-size:.88rem}
}

/* Variantes de produit : seule la photo change. */
.ced-deal--pneus-4s::before{background-image:url(assets/img/deal-pneus-4s.webp);background-position:70% 60%}
.ced-deal--pneus-hiver::before{background-image:url(assets/img/deal-pneus-hiver.webp);background-position:60% 50%}
.ced-deal--pneus-hiver::after{background:linear-gradient(100deg,rgba(18,34,28,.94) 0%,rgba(18,34,28,.8) 50%,rgba(18,34,28,.2) 100%)}
.ced-deal--parapente::before{background-image:url(assets/img/deal-parapente.webp);background-position:50% 68%}
.ced-deal--parapente::after{background:linear-gradient(100deg,rgba(18,34,28,.94) 0%,rgba(18,34,28,.8) 50%,rgba(18,34,28,.22) 100%)}

/* Offres sur les fiches de col : un ou deux blocs cote a cote. */
.ced-offres{display:grid;gap:1.4rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,30rem),1fr))}
.ced-offres .ced-deal{margin:0}
.ced-offres > .ced-deal:only-child{max-width:46rem}
.ced-offres .ced-deal__grid{grid-template-columns:minmax(0,1fr) 12rem}
@media(max-width:44rem){.ced-offres .ced-deal__grid{grid-template-columns:1fr}}
.ced-deal--ski::before{background-image:url(assets/img/deal-ski.webp);background-position:60% 55%}
.ced-deal--ski::after{background:linear-gradient(100deg,rgba(18,34,28,.94) 0%,rgba(18,34,28,.8) 50%,rgba(18,34,28,.25) 100%)}
.ced-deal--telepeage::before{background-image:url(assets/img/deal-telepeage.webp);background-position:55% 50%}
.ced-deal--telepeage::after{background:linear-gradient(100deg,rgba(18,34,28,.94) 0%,rgba(18,34,28,.8) 50%,rgba(18,34,28,.25) 100%)}

/* Loi montagne : l'obligation se signale en orange, seule couleur d'alerte du
   site, sur le titre de section et sur le bloc pneus. */
.sect > h2.ced-loi-titre{display:flex;align-items:center;gap:.65rem}
.sect > h2.ced-loi-titre svg{width:1.9rem;height:1.9rem;flex:none;color:#e8780a}
.ced-deal--alerte .ced-deal__top{border-top:4px solid #f08c00}
.ced-deal--alerte .ced-deal__sur{background:#f59a23;color:#231400;padding:.34rem .75rem .34rem .6rem;
  border-radius:999px;font-size:.72rem;letter-spacing:.12em;gap:.45rem}
.ced-deal--alerte .ced-deal__sur::before{width:0;height:0;border-radius:0;background:none;box-shadow:none;
  border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:9px solid #231400}
:is(.post-prose,.ced-offres) .ced-deal--alerte .ced-deal__title{font-size:1.5rem}
@media(max-width:44rem){:is(.post-prose,.ced-offres) .ced-deal--alerte .ced-deal__title{font-size:1.28rem}}

/* Encart d avis (.ced-avis) en tete d une page review : la note et ses etoiles,
   le verdict en une phrase, les criteres en points, puis le prix et le bouton
   sur toute la largeur. Meme carte que l encart "Un col en tete ?". */
.ced-avis{margin:0 0 1.4rem;border:1px solid var(--line-2);border-radius:12px;background:var(--ink-1);font-family:var(--mono);overflow:hidden}
.post-prose .ced-avis p{margin:0}
.ced-avis__haut{display:grid;grid-template-columns:minmax(0,1fr) 15.5rem;gap:1.2rem 2.2rem;padding:1.5rem 1.6rem 1.4rem;align-items:center}
.post-prose .ced-avis .ced-avis__note{display:flex;align-items:center;gap:.9rem;flex-wrap:wrap;margin-top:.7rem}
.ced-avis__note b{font-family:var(--display);font-weight:600;font-size:3rem;line-height:1;letter-spacing:-.03em;color:var(--text)}
.ced-avis__note b small{font-family:var(--mono);font-weight:500;font-size:1.05rem;letter-spacing:0;color:var(--text-3)}
.ced-avis__etoiles{font-size:1.5rem;line-height:1;letter-spacing:.08em;
  background:linear-gradient(90deg,var(--amber) calc(var(--p)*1%),var(--line-2) calc(var(--p)*1%));
  -webkit-background-clip:text;background-clip:text;color:transparent}
.post-prose .ced-avis .ced-avis__verdict{margin-top:.8rem;font-family:var(--display);font-weight:600;font-size:1.22rem;
  line-height:1.3;letter-spacing:-.015em;color:var(--text)}
.post-prose .ced-avis ul.ced-avis__criteres{list-style:none;margin:0;padding:0}
.post-prose .ced-avis .ced-avis__criteres li{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:0;
  padding:.5rem 0;font-size:.95rem;color:var(--text);border-top:1px solid var(--line-2)}
.post-prose .ced-avis .ced-avis__criteres li:first-child{border-top:0}
.ced-avis__criteres li::marker{content:""}
.ced-avis__criteres i{flex:none;width:4.6rem;height:.62rem;
  background:radial-gradient(circle at .31rem 50%,var(--amber) .3rem,transparent .32rem) 0 0/.92rem 100% repeat-x;
  position:relative}
.ced-avis__criteres i::after{content:"";position:absolute;inset:0 0 0 auto;width:calc((5 - var(--n))*.92rem);
  background:radial-gradient(circle at .31rem 50%,var(--line-2) .3rem,transparent .32rem) 0 0/.92rem 100% repeat-x var(--ink-1)}
.ced-avis__bas{display:flex;align-items:center;justify-content:space-between;gap:1rem 1.6rem;flex-wrap:wrap;
  padding:1.15rem 1.6rem 1.2rem;background:var(--ink-0);border-top:1px solid var(--line-2)}
.ced-avis__prix b{display:block;font-family:var(--display);font-weight:600;font-size:1.3rem;line-height:1.2;letter-spacing:-.02em;color:var(--text)}
.ced-avis__prix span{display:block;margin-top:.25rem;font-size:.86rem;line-height:1.4;color:var(--text-2)}
.ced-avis__cta{flex:none;text-align:center}
.post-prose .ced-avis a.ced-deal__btn{display:inline-flex;width:auto;padding:1rem 2rem;font-size:1.05rem}
.post-prose .ced-avis a.ced-deal__btn span{color:inherit}
.ced-avis__cta small{display:block;margin-top:.4rem;font-size:.72rem;color:var(--text-3)}
.ced-pm{display:grid;grid-template-columns:1fr 1fr;gap:0 2.2rem;margin:0 0 2.4rem;font-family:var(--mono)}
.post-prose .ced-pm p{margin:0;font-family:var(--display);font-weight:600;font-size:1.08rem;color:var(--text)}
.post-prose .ced-pm ul{list-style:none;margin:.7rem 0 0;padding:0;font-size:.95rem;line-height:1.5;color:var(--text-2)}
.post-prose .ced-pm li{position:relative;margin:0 0 .55em;padding-left:1.7rem}
.ced-pm li::marker{content:""}
.ced-pm li::before{content:"";position:absolute;left:0;top:.2em;width:18px;height:18px;border-radius:50%;
  background:var(--open) url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M5 10.5l3.2 3.2L15 7%27 fill=%27none%27 stroke=%27%23fff%27 stroke-width=%272.4%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E") center/12px no-repeat}
.ced-pm__moins li::before{background:var(--text-3) url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M5.5 10h9%27 fill=%27none%27 stroke=%27%23fff%27 stroke-width=%272.4%27 stroke-linecap=%27round%27/%3E%3C/svg%3E") center/12px no-repeat}
@media(max-width:44rem){
  .ced-avis__haut{grid-template-columns:1fr;padding:1.2rem 1.1rem 1rem}
  .ced-avis__bas{padding:1rem 1.1rem 1.1rem}
  .ced-avis__cta,.post-prose .ced-avis a.ced-deal__btn{width:100%;display:flex}
  .ced-avis__cta{flex-direction:column}
  .ced-pm{grid-template-columns:1fr;gap:1.3rem}
}
.ced-avis__bas{display:grid;grid-template-columns:minmax(0,1fr) auto;flex-wrap:nowrap}
@media(max-width:44rem){.ced-avis__bas{grid-template-columns:1fr}}

/* ============ Section « Dormir près du col » (.ced-dormir) ============
   Trois logements a photo, puis la carte Stay22. Cartes papier a bord fin,
   photo en tete, carte entiere cliquable (un <a>, que des <span> dedans). */
.ced-dormir__intro{max-width:46rem;margin:-.2rem 0 1.3rem;color:var(--text-2)}
.ced-dormir__grille{display:grid;gap:1.1rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,15.5rem),1fr))}
.ced-logis{display:flex;flex-direction:column;background:var(--ink-0);border:1px solid var(--line);border-radius:14px;
  overflow:hidden;color:var(--text);text-decoration:none;transition:border-color .18s ease,box-shadow .18s ease}
.ced-logis:hover{border-color:var(--line-2);box-shadow:0 14px 30px -18px rgba(26,28,26,.35)}
.ced-logis span{display:block}
.ced-logis .ced-logis__photo{aspect-ratio:3/2;overflow:hidden;background:var(--ink-2)}
.ced-logis__photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.ced-logis:hover .ced-logis__photo img{transform:scale(1.04)}
.ced-logis .ced-logis__corps{display:flex;flex-direction:column;gap:.35rem;padding:.95rem 1.05rem 1.05rem;flex:1}
.ced-logis .ced-logis__lieu{font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:var(--text-3);font-weight:600}
.ced-logis .ced-logis__nom{font-family:var(--display);font-size:1.2rem;line-height:1.2;font-weight:600}
.ced-logis .ced-logis__avis{font-size:.85rem;color:var(--text-2)}
.ced-logis__avis b{display:inline-block;margin-right:.3rem;padding:.18rem .42rem;border-radius:6px;background:var(--accent-soft);
  color:var(--amber);font:700 .85rem/1.2 var(--mono)}
.ced-logis .ced-logis__lien{margin-top:auto;padding-top:.6rem;font-size:.88rem;font-weight:600;color:var(--amber)}
.ced-logis__lien span{display:inline-block !important;transition:transform .18s ease}
.ced-logis:hover .ced-logis__lien span{transform:translateX(3px)}
.ced-dormir__carte{margin-top:1.6rem}
.ced-dormir__titre-carte{margin:0 0 .6rem;font-weight:600}
.ced-dormir__carte iframe{display:block;width:100%;height:440px;border:1px solid var(--line);border-radius:14px;background:var(--ink-1)}
@media (max-width:40rem){.ced-dormir__carte iframe{height:380px}}
