/* Cime Aventure — alignement sur Maquette.xd (WEB-18737). À charger après refonte.css, avant grosseur-texte.css. */
.fa-page{--fa-texte:clamp(16px,1.5625vw,30px);--fa-bouton:clamp(18px,2.0833vw,40px);--fa-g:400;--fa-g2:400}
@media (min-width:1200px){.fa-page{--fa-g:400}}
@media (min-width:1728px){.fa-page{--fa-g2:400}}
.fa-page .fa .book-now-wrapper a.button,.fa-page .fa :is(p,td)>a.button{color:var(--ca-vert)}
.fa-page .fa-carrousel:has(>.fa-prec[aria-disabled=true]):has(>.fa-suiv[aria-disabled=true])>:is(.fa-prec,.fa-suiv){display:none}
.fa-page #site-content .fa-tableau table{border:0}
.fa-page #site-content .fa-tableau table>*>tr>*{border:0;font-weight:400}
.fa-page #site-content .fa-tableau table>tbody>tr>*{border-top:1px solid #000}
.fa-page #site-content .fa-tableau table>*>tr>*+*{border-left:1px solid #000}
.fa-page #site-content .fa-tableau table>thead>tr>th{font-size:clamp(16px,2.0833vw,40px);line-height:1.05;vertical-align:top}
.fa-page #site-content .fa-tableau table>tbody>tr{height:clamp(34px,2.65vw,51px)}
.fa-page #site-content .fa-tableau table>tbody>tr>th{font-family:var(--ca-corps);font-weight:400;font-size:var(--fa-texte);padding-left:0}
.fa-page #site-content .fa-tableau table>thead>tr>th:first-child{padding-left:0}
.fa-page #site-content .fa-tableau table>tbody>tr>td{font-size:var(--fa-texte);line-height:1.1333;text-align:right}
.fa-page .fa-tableau tbody th small{display:inline;font-size:.8em}
.fa-page .fa-tableau .fa-col{flex-direction:column;align-items:flex-start;gap:.1em}
.fa-page .fa-tableau .fa-col>span:first-child{flex:none}
.fa-page .fa-tableau thead small::before{content:none}
.fa-page .fa-tableau:not(.fa-tableau--dense) thead th:first-child{width:36%}
.fa-page .fa-tableau:not(.fa-tableau--dense) thead th:nth-child(2):nth-last-child(2){width:32%}
.fa-page .fa-preparez summary::after{content:none}
.fa-page .fa-preparez summary::before{content:"";position:absolute;left:.5em;top:50%;width:.72em;height:.5em;transform:translateY(-50%);background:#fff;clip-path:polygon(0 0,100% 50%,0 100%,22% 50%)}
.fa-page .fa-preparez details[open] summary::before{transform:translateY(-50%) rotate(90deg)}
@media (min-width:900px){
.fa-page .fa h2,.fa-page .fa-intro .fa-texte h2{line-height:1.025}
.fa-page .fa-intro p,.fa-page .fa-icones li,.fa-page .fa-deux :is(p,li),.fa-page .fa-autres :is(p,li),.fa-page .fa p.fa-guide-intro,.fa-page .fa-guide-intro p{line-height:1.1333}
.fa-page .fa-atterrissage :is(.fa-carte-titre,.fa-carte-texte){line-height:1.1333}
.fa-page header#header #bandeau .text-wrapper h1 span.text{line-height:1.1333}
.fa-page .fa-dates{font-size:var(--fa-texte);font-weight:400}
.fa-page .fa-preparez details{max-width:88%}
.fa-page .fa-preparez summary{padding:.333em .4em .333em 1.57em}
}
@media (min-width:1025px){
#header nav .primary-menu-wrapper ul.menu>li>a{font-size:clamp(18px,1.8229vw,35px)}
.fa-page #header #bandeau .text-wrapper a.category-link{font-size:clamp(20px,1.8229vw,35px)}
}
@media (min-width:1180px){
/* Rangée centrée comme le XD : 4 (Activités) ou 3 (Infos) vignettes entières, une coupée de chaque côté. Boucle : corrections-xd.js. */
.fa-page .fa-liste{--xd-w:min(21.0417vw,404px);--xd-g:min(1.3542vw,26px);--xd-n:4}
.fa-page .fa-liste.fa-liste-infos{--xd-w:min(25.625vw,492px);--xd-g:min(1.1458vw,22px);--xd-n:3}
.fa-page .fa-liste .fa-piste{--xd-r:calc(var(--xd-n)*var(--xd-w) + (var(--xd-n) - 1)*var(--xd-g));grid-auto-columns:var(--xd-w);gap:var(--xd-g);margin:0 calc(var(--fa-marge)*-1);padding:0 calc((100% + 2*var(--fa-marge) - var(--xd-r))/2) 10px;scroll-padding:0 calc((100% - var(--xd-r))/2)}
}
/* Ratio du XD à toutes les largeurs : le recadrage « Nouveau Carrousel » (606×1036, Manual Image Crop) est ce qu'on voit. */
.fa-page .fa-liste .fa-carte img{aspect-ratio:404/691}
.fa-page .fa-liste.fa-liste-infos .fa-carte img{aspect-ratio:492/425}
/* Gras des fiches : Plus Jakarta 700 (Jost, plus petit d'œil, n'est pas dans le XD à cet endroit). */
.fa-page .fa-deux :is(b,strong),.fa-page .fa-deux p.fa-arrivee,.fa-page .fa-deux ol>li::marker{font-family:var(--ca-corps);font-weight:700}
/* Flèches : centrées sur l'image (--fa-y posé par corrections-xd.js). Placement selon les PDF, le XD n'en montre pas. */
@media (min-width:768px){.fa-page .fa-prec,.fa-page .fa-suiv{top:var(--fa-y,50%)}}
@media (min-width:1180px){
.fa-page :is(.fa-liste,.fa-guide,.fa-preparez) :is(.fa-prec,.fa-suiv){width:48px;height:48px;border-radius:50%;background:#fff;box-shadow:0 1px 6px rgba(0,0,0,.35)}
.fa-page :is(.fa-liste,.fa-guide,.fa-preparez) :is(.fa-prec,.fa-suiv)::before{inset:13px 12px}
.fa-page :is(.fa-liste,.fa-guide,.fa-preparez) .fa-prec{left:-24px}
.fa-page :is(.fa-liste,.fa-guide,.fa-preparez) .fa-prec::before{margin-left:-3px}
.fa-page :is(.fa-liste,.fa-guide,.fa-preparez) .fa-suiv{right:-24px}
.fa-page :is(.fa-liste,.fa-guide,.fa-preparez) .fa-suiv::before{margin-right:-3px}
.fa-page :is(.fa-liste,.fa-guide,.fa-preparez) :is(.fa-prec,.fa-suiv)[aria-disabled=true]{opacity:0;pointer-events:none}
.fa-page :is(.fa-liste,.fa-guide,.fa-preparez) :is(.fa-prec,.fa-suiv)[aria-disabled=true]:focus-visible{opacity:.6}
}
/* Carrousels des fiches (XD, 1180 px et plus). Le guide montre des diapos entières, à la demande du client. */
@media (min-width:1180px){
.fa-page .fa-guide .fa-carrousel{padding:0}
.fa-page .fa-guide .fa-piste{--xd-g:min(2.0833vw,40px);grid-auto-columns:calc((100% - var(--xd-g))/2);gap:var(--xd-g)}
.fa-page .fa-preparez:not(.fa-preparez--seul) details{max-width:none;width:min(39.3229vw,755px)}
.fa-page .fa-preparez summary{padding-right:.2em}
.fa-page .fa-preparez:not(.fa-preparez--seul)>div+div{margin-left:calc(max(-5vw,-96px) - 32px);margin-top:calc(var(--fa-section)*1.025 + 20px)}
.fa-page .fa-preparez>div+div .fa-carrousel{padding:0}
.fa-page .fa-preparez>div+div .fa-piste{grid-auto-columns:min(34.6875vw,666px);gap:min(1.6146vw,31px);margin-right:calc(var(--fa-marge)*-1);padding-right:var(--fa-marge)}
.fa-page .fa-preparez>div+div .fa-suiv{right:-24px;width:48px}
.fa-page .fa-produits .fa-piste{--fa-r:1.2581;grid-auto-columns:calc((100% - 4*min(.78125vw,15px))/5);gap:min(.78125vw,15px)}
.fa-page .fa-produits .fa-piste img{aspect-ratio:351/279}
}
/* Mobile et tablette (le XD ne montre que le desktop) */
.fa-page #header #bandeau .text-wrapper a.category-link{text-align:left}
#footer #footer-logos li{flex:0 1 auto;min-width:0}
#footer #footer-logos img{max-width:100%;height:auto}
@media (max-width:899px){
.fa-page .fa-intro p,.fa-page .fa-deux :is(p,li),.fa-page .fa-autres :is(p,li),.fa-page .fa-guide-intro p,.fa-page .fa p.fa-guide-intro{line-height:1.5}
.fa-page .fa-icones li{line-height:1.35}
.fa-page .fa-atterrissage :is(.fa-carte-titre,.fa-carte-texte){line-height:1.35}
.fa-page .fa-preparez summary{padding:.6em .8em .6em 2em}
.fa-page .fa-preparez .fa-piste{grid-auto-columns:88%}
}
@media (max-width:1179px){
.fa-page .fa-piste{margin-right:calc(var(--fa-marge)*-1);padding-right:var(--fa-marge)}
}
@media (min-width:768px) and (max-width:1179px){
.fa-page .fa-carrousel{padding:0}
.fa-page :is(.fa-prec,.fa-suiv){width:44px;height:44px;border-radius:50%;background:#fff;box-shadow:0 1px 6px rgba(0,0,0,.35)}
.fa-page :is(.fa-prec,.fa-suiv)::before{inset:12px 11px}
.fa-page .fa-prec{left:-16px}
.fa-page .fa-prec::before{margin-left:-3px}
.fa-page .fa-suiv{right:-16px}
.fa-page .fa-suiv::before{margin-right:-3px}
.fa-page :is(.fa-prec,.fa-suiv)[aria-disabled=true]{opacity:0;pointer-events:none}
.fa-page :is(.fa-prec,.fa-suiv)[aria-disabled=true]:focus-visible{opacity:.6}
}
@media (min-width:768px) and (max-width:1024px){
.fa-page #header #bandeau .text-wrapper h1 span.title{line-height:1.15}
}
/* 768 px exactement : les règles mobile (max 768) et desktop (min 768) du thème se contredisent. On garde le menu desktop. */
@media (min-width:768px) and (max-width:768.98px){
#header .top nav.sticky-nav{display:none}
header#header nav.desktop-nav ul.menu{display:flex;background:none;padding-top:0;align-content:center}
#header nav.desktop-nav ul.menu>li{display:block;height:100%;margin-bottom:0;border-bottom:0}
#header nav.desktop-nav #menu-hebergements>li:first-child:not(.menu-item-has-children)>a{top:0}
#header nav.desktop-nav ul.menu a{display:inline-block}
#header nav.desktop-nav li.menu-item-has-children>a{pointer-events:auto}
#header nav.desktop-nav li.menu-item-has-children>ul{position:absolute;margin:35px 0 0!important;padding:0 0 20px;width:250px;background:#003D37;text-align:left;border-top:0}
#header nav.desktop-nav li.menu-item-has-children ul li{line-height:57px;text-align:left}
header#header nav.desktop-nav .sub-menu a{font-size:18px;line-height:26px}
#header #bandeau .text-wrapper h1 span.title{font-size:min(45px,4.4vw)}
}
/* Petites tablettes : le logo rétrécissait (70 px à 769) faute de place. */
@media (min-width:768px) and (max-width:860px){
#header .top .logo-section{flex:0 0 110px;width:110px}
#header nav.desktop-nav .primary-menu-wrapper ul.menu>li>a{font-size:16px;margin-left:8px;margin-right:8px}
#header nav.desktop-nav .primary-menu-wrapper ul.menu>li.menu-item-has-children>a{margin-left:6px;margin-right:20px}
}
@media (min-width:768px) and (max-width:1179px){
.fa-page :is(.fa-liste,.fa-produits) .fa-piste{grid-auto-columns:calc((100% - 32px)/2.7)}
}
@media (max-width:899px){
.fa-page #site-content .fa-tableau table>tbody>tr>*{padding-top:6px;padding-bottom:6px;line-height:1.25}
}
@media (max-width:767px){
#header #bandeau .text-wrapper{box-sizing:border-box;max-width:calc(100% - 20px);min-width:0;overflow-wrap:anywhere}
.fa-page #header #bandeau .text-wrapper h1 span.title{font-size:min(45px,10vw)}
}
@media (min-width:768px) and (max-width:1500px){.fa-page #header #bandeau .text-wrapper{right:3vw}}

/* Hébergements : deux boutons de réservation à la suite */
.fa-page .fa-deux .book-now-wrapper+.book-now-wrapper{margin-top:16px}
/* Hébergements : tableaux de l'éditeur en pleine largeur, sans chevauchement */
.single-hebergement .fa-autres>div:has(table){grid-column:1/-1}
.fa-page.single-hebergement .fa :is(.fa-autres,.fa-deux) table:not(.fa-tableau table) tr>:first-child>:is(strong,b){white-space:normal}
.fa-page.single-hebergement .fa :is(.fa-autres,.fa-deux) table:not(.fa-tableau table) tr:first-child>:first-child{width:auto!important}
/* Informations pratiques : icône de la médiathèque, ou aucune */
.fa .fa-icones li.fa-i-image::before{background:var(--i) center/contain no-repeat;-webkit-mask:none;mask:none}
.fa .fa-icones li.fa-i-aucune{padding-left:0!important;min-height:0!important}
.fa .fa-icones li.fa-i-aucune::before{content:none}
/* Guide : diapos entières, rien ne sort de l'écran */
@media (max-width:1179px){
.fa-page .fa-guide .fa-piste{--xd-g:24px;grid-auto-columns:calc((100% - var(--xd-g))/2);gap:var(--xd-g);margin-right:0;padding-right:0}
}
@media (max-width:767px){
.fa-page .fa-guide .fa-piste{grid-auto-columns:100%}
}
.fa-page .fa-preparez details img{max-width:100%;height:auto}
