/* ==========================================================
   PAGE.CSS : mise en page de l'accueil et des pages internes
   Toutes les couleurs viennent des variables du :root global
   (--body-background-color, --dark-green-color, --gray-border…).
   Pour changer une couleur, modifiez la variable, pas ce fichier.
   ========================================================== */

/* ==========================================================
   1. TYPOGRAPHIE DE BASE
   Titres, paragraphes, texte en gras, listes
   ========================================================== */

/* Titres : pas de marge, graisse 600, interligne serré */
h2,
h3,
h4 {
    margin: 0;
    font-weight: 600;
    line-height: 1.1
}

/* Paragraphes : taille fluide (17px → 22px) et largeur de ligne limitée à 65 caractères pour rester lisible sur grand écran */
p {
    font-size: clamp(1.0625rem, 0.9rem + 0.35vw, 1.375rem);
    max-width: 65ch;
}

/* Texte en gras : vert foncé de la charte */
b {
    color: var(--text-dark-heading)
}

/* Fil d'Ariane des pages internes (Accueil / Contact) */
.bc {
    font-size: 14px;
    color: var(--text-body-muted);
    margin-bottom: 18px
}



/* Listes à puces (ex. accès en voiture / en train) */
ul {
    margin: 0 0 1em;
    padding-left: 1.2em;
    color: var(--text-body-muted);
    line-height: 1.7;
    font-size: 17px
}

li {
    margin-bottom: .4em
}

/* ==========================================================
   2. CONTENEURS ET ESPACEMENTS
   ========================================================== */

/* .w : conteneur principal, centré. Largeur = 92% de l'écran, de 320px jusqu'à 1920px max. Marges latérales fluides de 20px à 40px */
.w {
    max-width: clamp(20rem, 92vw, 120rem);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px)
}

/* .wpageinterne : pages internes, largeur légèrement augmentée.
   Plafond à 1280px pour un meilleur confort de lecture. */
.wpageinterne {
    max-width: clamp(20rem, 94vw, 80rem);
    margin: 0 auto;
    padding: 0 clamp(20px, 3vw, 40px);
}

/* .sec : espace vertical d'une section (de 56px sur mobile à 110px sur grand écran) */
.sec {
    padding: clamp(56px, 8vw, 110px) 0;
}

/* ==========================================================
   3. TITRES DE SECTION
   ========================================================== */

/* .h2 : grand titre de section, taille fluide de 30px à 64px */
.h2 {
    font-size: clamp(1.875rem, 1.2rem + 2.2vw, 4rem);
}

/* .h3 : sous-titre de section, en bleu lac, plus léger */
.h3 {
    font-size: clamp(20px, 2vw, 26px);
    color: var(--dark-green-color);
    margin-bottom: 1.2em;
    font-weight: 500;
    line-height: 1.4
}

/* ==========================================================
   4. GRILLES DE MISE EN PAGE
   ========================================================== */

/* .g : grille générique, colonnes automatiques (320px mini), passe en une colonne sur mobile */
.g {
    display: grid;
    gap: clamp(28px, 5vw, 72px);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr))
}

/* ==========================================================
   5. FORMULAIRES
   ========================================================== */

/* .f : champ de formulaire (input, textarea) : fond blanc, bords arrondis, hauteur tactile 48px */
.f {
    width: 100%;
    box-sizing: border-box;
    font: inherit;
    font-size: 16px;
    padding: 14px 16px;
    min-height: 48px;
    border: 1px solid var(--middle-gray-color);
    border-radius: 12px;
    background: var(--white-color);
    color: var(--text-dark-heading);
    margin-bottom: 14px
}

/* Couleur du texte d'aide dans les champs */
.f::placeholder {
    color: var(--text-body-muted)
}

/* .m : module photo + texte. Deux colonnes (340px mini), alignées au centre. À alterner avec une photo à gauche ou à droite */
.m {
    display: grid;
    gap: clamp(28px, 6vw, 88px);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    align-items: center
}

/* ==========================================================
   6. PHOTOS (.pf = photo frame)
   Cadre arrondi qui masque le débordement ; l'image <i> à l'intérieur est plus grande que le cadre pour permettre l'effet parallax
   ========================================================== */

/* Cadre de la photo */
.pf {
    position: relative;
    overflow: clip;
    border-radius: 24px;
    min-height: clamp(320px, 44vw, 560px)
}

/* Calque image : dépasse de 12% en haut et en bas (décalé par l'animation parallax) ; ici un dégradé sert de photo provisoire */
.pf i {
    position: absolute;
    inset: -12% 0;
    display: block;
    background: linear-gradient(160deg, var(--light-blue-color), var(--middle-blue-color))
}

/* Variantes de dégradé provisoire : .b = sable chaud, .c = vert nature (à remplacer par background-image) */
.pf.b i {
    background: linear-gradient(160deg, var(--light-yellow-color), var(--dark-yellow-color))
}

.pf.c i {
    background: linear-gradient(160deg, var(--light-green-color), var(--logo-green))
}

/* Légende provisoire de la photo (pastille en bas à gauche) */
.pf span {
    position: absolute;
    left: 16px;
    bottom: 14px;
    font-size: 12px;
    color: var(--on-color);
    background: var(--overlay-bg);
    padding: 4px 10px;
    border-radius: 99px
}

/* ==========================================================
   7. LIENS ET BOUTONS
   ========================================================== */

/* .il : lien dans le texte (inline link) */
.il {
    color: var(--dark-green-color);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px
}

/* .btn : bouton d'appel à l'action jaune, hauteur tactile 48px.
   Le :hover redéfinit la couleur du texte, sinon a:hover (base.css) la repasse en vert. */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0 28px;
    min-height: 48px;
    background: var(--btn-bg);
    color: var(--on-accent);
    font-weight: 600;
    text-decoration: none;
    margin-top: 8px;
    transition: background .2s, transform .2s, box-shadow .2s
}

.btn:hover {
    background: var(--btn-bg-hover);
    color: var(--on-accent);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px -6px var(--shadow-color)
}

/* ==========================================================
   8. BANDES PLEINE LARGEUR
   ========================================================== */

/* .band : bande avec image de fond parallax, texte clair par-dessus */
.band {
    position: relative;
    overflow: clip;
    color: var(--on-color)
}

/* Calque de fond de la bande (dépasse de 15%, déplacé par le parallax) */
.band i {
    position: absolute;
    inset: -15% 0;
    display: block;
    background: linear-gradient(160deg, var(--logo-green-dark), var(--section-dark))
}

/* Le contenu passe au-dessus du fond */
.band .w {
    position: relative
}

/* Couleurs du texte sur fond foncé */
.band p {
    color: var(--on-color-soft)
}

.band b {
    color: var(--on-color)
}

/* .ts : emplacement du contrôle anti-robot Turnstile (cadre en pointillés) */
.ts {
    border: 1px dashed var(--middle-gray-color);
    border-radius: 12px;
    padding: 18px;
    font-size: 14px;
    color: var(--text-body-muted);
    margin-bottom: 18px;
    background: var(--white-color)
}

/* .tick : bandeau défilant (Lac · Piscine · Chalets…). Le texte est répété et glisse vers la gauche en boucle (animation tk) */
.tick {
    overflow: hidden;
    background: var(--section-dark);
    color: var(--on-color);
    padding: 22px 0;
    white-space: nowrap
}

.tick div {
    display: inline-block;
    font-size: clamp(24px, 3vw, 38px);
    animation: tk 30s linear infinite
}

/* ==========================================================
   9. CHIFFRES, CARTES ET INTRO
   ========================================================== */

/* .n : grand chiffre ou numéro (01, 02, 22…) en orange */
.n {
    font-size: 56px;
    color: var(--logo-green);
    line-height: 1;
    display: block;
    margin-bottom: 14px
}


/* .nl : carte blanche (newsletter, encadrés) */
/* ==========================================================
   CARTES .nl : COULEURS DU TEXTE
   Garantit un texte lisible sur fond blanc,
   même à l'intérieur d'une section .dark.
========================================================== */

.nl {
    background: var(--white-color);
    color: var(--text-dark-heading);
    border: 1px solid var(--gray-border);
    border-radius: 20px;
    padding: clamp(24px, 3vw, 36px);
}

.nl h3 {
    color: var(--dark-green-color);
}

.nl p {
    color: var(--text-body-muted);
}

.nl .n {
    color: var(--dark-green-color);
}

.nl .il {
    color: var(--dark-green-color);
}

.nl .il:hover {
    color: var(--body-link-hover-color);
}

/* Texte des cartes blanches .nl dans les sections sombres */
.dark .nl {
    color: var(--text-dark-heading);
}

.dark .nl p {
    color: var(--text-body-muted);
}

.dark .nl h3 {
    color: var(--dark-green-color);
}

.dark .nl a.il {
    color: var(--dark-green-color);
}

.dark .nl a.il:hover {
    color: var(--body-link-hover-color);
}


/* ==========================================================
   10. COLONNES ET LISTES DE TEXTE
   ========================================================== */

/* .cols : colonnes de texte séparées par un filet (Nature / Situation / Offre, coordonnées, valeurs) */
.cols {
    display: grid;
    gap: clamp(24px, 4vw, 56px);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr))
}

/* Filet fin au-dessus de chaque colonne */
.cols>div {
    border-top: 1px solid var(--gray-border);
    padding-top: 20px
}

/* Filet clair quand les colonnes sont sur fond foncé */
.band .cols>div {
    border-color: rgba(255, 255, 255, .35)
}

/* .it : élément de liste de texte séparé par un filet (« Que faire autour du lac ») */
.it {
    border-top: 1px solid var(--gray-border);
    padding-top: 18px;
    margin-top: 18px
}

.it p {
    margin: 0
}

.it p:first-child {
    margin-bottom: 6px
}

/* .stick : reste collé en haut de l'écran pendant le défilement (photo fixe + texte qui défile) */
.stick {
    position: sticky;
    top: 96px
}

/* FAQ : questions repliables (<details>/<summary>), séparées par un filet */
details {
    border-bottom: 1px solid var(--gray-border)
}

summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
    min-height: 44px;
    padding: 18px 0
}

details p {
    padding-bottom: 18px;
    margin: 0
}

/* ==========================================================
   11. CARTE D'INTRODUCTION DE L'ACCUEIL
   .ic = grande carte blanche, .eb = petit titre en capitales, .st = les 3 chiffres (22 chalets, 3 emplacements, 3★)
   ========================================================== */

/* .ic : grande carte d'intro avec ombre douce */
.ic {
    background: var(--white-color);
    border: 1px solid var(--gray-border);
    border-radius: 28px;
    padding: clamp(28px, 5vw, 64px);
    box-shadow: 0 24px 60px -30px var(--shadow-color)
}

/* .eb : sur-titre en petites capitales orange (ex. LÉVÉZOU · AVEYRON) */
.eb {
    font-size: .78rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--dark-green-color);
    font-weight: 600;
    margin-bottom: 14px
}

/* .st : grille des 3 tuiles de chiffres (toujours 3 colonnes) */
.st {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, 1fr)
}

.st div {
    background: var(--body-background-color);
    border-radius: 18px;
    padding: 24px 12px;
    text-align: center
}

.st .n {
    font-size: clamp(36px, 5vw, 56px);
    color: var(--dark-green-color);
    margin: 0
}

.st p {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.3
}

/* ==========================================================
   12. VARIANTES UTILITAIRES
   ========================================================== */

/* .dark : section sur fond vert foncé (le texte et les gras passent en clair) */
.dark {
    background: var(--section-dark);
    color: var(--on-color);
    border: 0
}

.dark p {
    color: var(--on-color-soft)
}

.dark b {
    color: var(--on-color)
}

/* .small : petit texte (mentions RGPD) */
.small {
    font-size: 13.5px;
    line-height: 1.6
}

/* .map : emplacement provisoire de la carte (à remplacer par #hdl-map Leaflet) */
.map {
    min-height: 340px;
    border-radius: 20px;
    background: linear-gradient(160deg, var(--light-blue-color), var(--middle-blue-color));
    display: flex;
    align-items: flex-end;
    padding: 14px;
    font-size: 12px;
    color: var(--text-dark-heading);
    box-sizing: border-box
}

/* ==========================================================================
   Le Hameau des Lacs - Small Hero des pages internes (page.css)
   ========================================================================== */

#smallhero .hdl-smallhero {
    position: relative;
    min-height: 200px;
    max-height: 280px;
    display: flex;
    align-items: center;
    padding: clamp(2rem, 4vw, 3rem) 0;
    background-color: #284234;
    background-image: var(--hdl-smallhero-img, none);
    background-position: center;
    background-size: cover;
    color: #ffffff;
    overflow: hidden;
}

#smallhero .hdl-smallhero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(95deg,
            rgba(24, 40, 31, 0.86) 0%,
            rgba(38, 63, 49, 0.72) 55%,
            rgba(24, 40, 31, 0.50) 100%);
    z-index: 1;
}

#smallhero .hdl-smallhero-inner {
    position: relative;
    z-index: 2;
}

#smallhero .hdl-smallhero-kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #d6e6dc;
    margin-bottom: 0.35rem;
}

#smallhero .hdl-smallhero-title {
    margin: 0 0 0.4rem;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.18;
    font-size: clamp(1.5rem, 2.8vw, 2.15rem);
}

#smallhero .hdl-smallhero-lead {
    margin: 0;
    max-width: 62ch;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    line-height: 1.55;
}

@media (max-width: 576px) {
    #smallhero .hdl-smallhero {
        min-height: 180px;
        padding: 1.75rem 0;
    }
}

/* ==========================================================
   13.ERREURS
   ========================================================== */
.f--err {
    border-color: #b3261e;
}

.err {
    display: block;
    margin: -.4rem 0 .8rem;
    color: #b3261e;
    font-size: .85rem;
}

.msg {
    margin: 0 0 1rem;
    padding: .8rem 1rem;
    border-radius: .6rem;
}

.msg--ok {
    background: #e6f2e6;
    color: #1f5f2a;
}

.msg--err {
    background: #fbe9e7;
    color: #8c1d18;
}

/* ==========================================================
   14. PAGE HÉBERGEMENTS : texte, galeries, encadrés, pictogrammes
   ========================================================== */

/* Le bandeau de tête : le conteneur doit occuper toute la largeur dans le flex */
#smallhero .hdl-smallhero>.wpageinterne {
    width: 100%
}

/* .txt : bloc de texte riche (titres, paragraphes, listes avec des espacements) */
.txt h2 {
    font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
    margin: 1.8em 0 .5em
}

.txt h4 {
    font-size: 1.15rem;
    margin: 1.6em 0 .5em
}

.txt p {
    margin: 0 0 1em
}

.txt> :first-child,
.txt .h2 {
    margin-top: 0
}

/* Dans un module photo + texte, le titre de chalet est un peu moins grand */
.m .h2 {
    font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.75rem);
    margin-bottom: .4em
}

/* .m--r : photo à gauche, texte à droite (uniquement quand les deux colonnes sont côte à côte) */
@media (min-width: 800px) {
    .m--r .gal {
        order: -1
    }
}

/* .atout : encadré des points forts d'un chalet */
.atout {
    background: var(--white-color);
    border: 1px solid var(--gray-border);
    border-left: 4px solid var(--dark-green-color);
    border-radius: 16px;
    padding: clamp(18px, 2.5vw, 28px);
    margin: 1.6em 0
}

.atout h4 {
    margin: 0 0 .6em
}

.atout ul {
    margin: 0
}

/* .gal : galerie de photos défilante (une photo à la fois, aimantée) */
.gal {
    position: relative;
    border-radius: 24px;
    overflow: hidden
}

.gal-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin
}

.gal-track img {
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    scroll-snap-align: center;
    display: block
}

/* Galerie panoramique (photos 1700 x 400) : plus basse sur grand écran */
.gal--wide .gal-track img {
    aspect-ratio: 16 / 9
}

@media (min-width: 800px) {
    .gal--wide .gal-track img {
        aspect-ratio: 1700 / 400
    }
}

/* Flèches ajoutées par le JavaScript */
.gal-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    background: var(--card-bg);
    color: var(--text-dark-heading);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 18px -6px var(--shadow-color)
}

.gal-prev {
    left: 12px
}

.gal-next {
    right: 12px
}

/* .pic : pictogrammes d'équipements (icône + libellé) */
.pic {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 20px 16px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr))
}

.pic li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: 15px;
    line-height: 1.3;
    color: var(--text-dark-heading)
}

.pic svg {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    color: var(--dark-green-color);
    fill: currentColor
}

/* Liens sur fond vert foncé */
.dark .il {
    color: var(--on-color)
}

/* ==========================================================
   15. TABLEAUX (page Tarifs)
   ========================================================== */

/* .scroll : un tableau ou un module large défile dans son cadre sur mobile, jamais la page */
.scroll {
    overflow-x: auto
}

/* .tbl : tableau de tarifs ; le titre est le <caption> */
.tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 17px;
    color: var(--text-dark-heading)
}

.tbl caption {
    caption-side: top;
    text-align: left;
    font-weight: 600;
    font-size: 1.15rem;
    padding: 0 0 12px
}

.tbl th,
.tbl td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--gray-border)
}

.tbl thead th {
    font-size: .78rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--dark-green-color);
    border-bottom: 2px solid var(--dark-green-color)
}

/* Colonne des montants / pourcentages : centrée, en gras, sans retour à la ligne */
.tbl .num {
    text-align: center;
    font-weight: 600;
    white-space: nowrap
}

/* ==========================================================
   16. CARTE BLANCHE .ic DANS LES SECTIONS SOMBRES
   Le texte conserve une couleur foncée même lorsque .ic
   est placée à l'intérieur d'une section .dark.
   ========================================================== */

.ic,
.dark .ic {
    color: var(--text-dark-heading);
}

.ic p,
.dark .ic p {
    color: var(--text-body-muted);
}

.ic .h3,
.dark .ic .h3 {
    color: var(--dark-green-color);
}

.ic b,
.dark .ic b {
    color: var(--text-dark-heading);
}

/* .facts : chiffres clés en ligne, sous un filet (sans carte) */
.facts {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    margin: 28px 0 24px;
    padding: 20px 0 0;
    border-top: 1px solid var(--gray-border)
}

.facts li {
    font-size: 15px
}

.facts b {
    color: var(--dark-green-color);
    font-size: 1.25em
}

.rvcap {
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .85;
}


/* ==========================================================
   17. ANIMATIONS
   ========================================================== */

/* tk : défilement horizontal du bandeau .tick */
@keyframes tk {
    to {
        transform: translateX(-50%)
    }
}

/* Animations pilotées par le scroll (navigateurs récents). Sans support, le contenu s'affiche simplement sans effet.
   - par   : parallax des photos et des bandes (léger décalage vertical)
   - clip  : la photo s'ouvre en entrant à l'écran
   - rv    : le texte monte en fondu (reveal) */
@supports (animation-timeline:view()) {

    .pf i,
    .band i {
        animation: par linear both;
        animation-timeline: view()
    }

    .pf {
        animation: clip linear both;
        animation-timeline: view();
        animation-range: entry 0% cover 35%
    }

    .rv {
        animation: rv linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 55%
    }

    @keyframes par {
        from {
            transform: translateY(-9%)
        }

        to {
            transform: translateY(9%)
        }
    }

    @keyframes clip {
        from {
            clip-path: inset(10% 7% round 24px)
        }

        to {
            clip-path: inset(0 round 24px)
        }
    }

    @keyframes rv {
        from {
            opacity: 0;
            transform: translateY(44px)
        }

        to {
            opacity: 1;
            transform: none
        }
    }
}

/* Si le visiteur accepte les animations : .rv joue un fondu de 0,6s au chargement de la page.
   Attention : cette règle vient après le bloc @supports, elle remplace donc le fondu lié au scroll pour .rv */
@media (prefers-reduced-motion:no-preference) {
    .rv {
        animation: rv .6s ease both
    }

    @keyframes rv {
        from {
            opacity: 0;
            transform: translateY(16px)
        }
    }
}

/* Accessibilité : si le visiteur a demandé moins de mouvement dans son système, toutes les animations sont coupées */
@media (prefers-reduced-motion:reduce) {

    .pf,
    .pf i,
    .band i,
    .rv,
    .tick div {
        animation: none !important
    }
}

/* ==========================================================
   18. COMPLÉMENT POUR joomla2php.php : à ajouter à la fin de page.css
   ========================================================== */

/* Une section sur deux sur fond blanc : donne du rythme aux pages longues */
.sec--alt {
    background: var(--white-color)
}

/* Module photo + texte : la photo seule (.pf) passe aussi à gauche avec .m--r */
@media (min-width: 800px) {
    .m--r .pf {
        order: -1
    }
}

/* Bande à image de fond : voile sombre pour garder le texte lisible */
.band i::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(24, 40, 31, .58)
}

.band .h2 {
    color: var(--on-color)
}

/* Colonnes de texte sur fond vert foncé : filet clair */
.dark .cols>div {
    border-color: rgba(255, 255, 255, .35)
}

.dark h2,
.dark h3 {
    color: var(--on-color)
}

/* ==========================================================
   19. CARDS DE RANDONNÉE (hauteur égale sur chaque ligne)
   ========================================================== */

.rando-grid {
    display: grid;
    gap: clamp(1rem, 3vw, 2rem);
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 30rem), 1fr));
}

.rando-card {
    display: flex;
    flex-direction: column;
    background: var(--hu-surface);
    border: 1px solid var(--gray-border);
    border-radius: var(--hu-radius-m);
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
    box-shadow: var(--hu-shadow-s);
}

.rando-card .h3 {
    font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem);
    margin-bottom: .8em;
}

.rando-card p {
    font-size: 1rem;
    margin: 0 0 1em;
}

.rando-card .atout {
    margin: 0 0 1em;
}

/* Le lien PDF reste toujours en bas de la card, quelle que soit la longueur du texte */
.rando-card .il {
    margin-top: auto;
    padding-top: .5em;
}


/* ==========================================================
   20. EN-TÊTE LOUSTIC 
   ========================================================== */
.hdl-planning-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.875rem;
    flex-wrap: wrap;
}

.hdl-loustic-presenter {
    width: 130px;
    height: auto;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
    animation: hdlFloatLoustic 3s ease-in-out infinite;
    flex-shrink: 0;
}

.hdl-planning-title-group {
    text-align: left;
    min-width: 0;
}

.hdl-planning-title {
    color: var(--text-dark-heading);
    font-family: var(--hu-font-heading);
    font-weight: 800;
    margin-bottom: 0;
    letter-spacing: 0.05rem;
}

.hdl-planning-divider {
    height: 4px;
    width: 80px;
    background: #219ebc;
    margin: 0.75rem 0;
    border-radius: 2px;
}

.hdl-planning-subtitle {
    font-size: 1.2rem;
    color: #4a5568;
    margin-top: 0.3rem;
}

.hdl-planning-subtitle i {
    margin-right: 0.35rem;
    color: #219ebc;
}

@keyframes hdlFloatLoustic {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(-2deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hdl-loustic-presenter {
        animation: none;
    }
}

@media (max-width: 992px) {
    .hdl-planning-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .hdl-planning-title-group {
        text-align: center;
    }

    .hdl-planning-divider {
        margin: 0.75rem auto;
    }
}