/* GLOBAL */
body {
    font-family: 'Inter', sans-serif;
    background-color: #0a1a2f !important;
    color: #fff;
    overflow-x: hidden;
}

.nav-logo {
    height: 84px;        /* taille parfaite */
    width: auto;
    filter: drop-shadow(0 0 6px rgba(122,198,232,0.35));
    transition: transform .2s ease;
}

.navbar-brand:hover .nav-logo {
    transform: scale(1.07);
}

.nav-link.active {
    color: #7ac6e8 !important;
    font-weight: 700;
    border-bottom: 2px solid #7ac6e8;
}

.navbar.bg-dark {
    background: rgba(10, 26, 47, 0.45) !important; /* transparence 45% */
    backdrop-filter: blur(4px); /* floutage glacier premium */
    border-bottom: 1px solid rgba(122,198,232,0.35); /* petite bande glacier */
    box-shadow: 0 0 20px rgba(122,198,232,0.15); /* glow subtil */
    transition: background 0.3s ease;
}

/* HERO */
.hero-section {
    height: 100vh;
    position: relative;
    background: url('img/loretan.jpg') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* PARALLAX */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.65) 20%, rgba(10,26,47,0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    margin-top: -5vh;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 4.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: fadeInDown 1.4s ease forwards;
    opacity: 0;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-top: 1rem;
    animation: fadeIn 2s ease forwards;
    opacity: 0;
}

.btn-hero {
    background: #7ac6e8;
    color: #0a1a2f;
    padding: 0.9rem 2.5rem;
    font-weight: 700;
    border-radius: 50px;
    transition: 0.3s;
}
.btn-hero:hover {
    background: #5bb5d8;
    transform: translateY(-4px);
}

/* MONTAGNES SVG */
.hero-mountains {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 3;
}
.hero-mountains img {
    width: 100%;
    opacity: 0.85;
}


/* SECTION BIENVENUE */
.welcome-section {
    padding: 120px 0;
    background: #0a1a2f; /* bleu nuit glacier */
    position: relative;
    z-index: 2;
}

.welcome-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: #7ac6e8; /* bleu glacier */
    animation: fadeIn 1.5s ease-in-out forwards;
    opacity: 0;
}

.welcome-text {
    font-size: 1.3rem;
    max-width: 850px;
    margin: 0 auto;
    line-height: 1.7;
    color: #e0e6ea;
    animation: fadeIn 2.4s ease-in-out forwards;
    opacity: 0;
}



/* SCROLL ANIMATION */
@keyframes fadeInDown {
    0% { opacity: 0; transform: translateY(-40px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}


/* NEIGE - SANS AUCUNE IMAGE */
.snow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    background-repeat: repeat;
}

/* GROS FLOCONS - couche proche */
.snow-front {
    background-image:
        radial-gradient(2px 2px at 20% 20%, white 50%, transparent 51%),
        radial-gradient(3px 3px at 80% 30%, white 50%, transparent 51%),
        radial-gradient(2px 2px at 50% 70%, white 50%, transparent 51%);
    opacity: 0.5;
    animation: snowFront 8s linear infinite;
    filter: blur(1px);
}

/* FLOCONS MOYENS */
.snow-mid {
    background-image:
        radial-gradient(2px 2px at 10% 40%, white 50%, transparent 51%),
        radial-gradient(2px 2px at 70% 80%, white 50%, transparent 51%),
        radial-gradient(3px 3px at 30% 60%, white 50%, transparent 51%);
    opacity: 0.35;
    animation: snowMid 15s linear infinite;
}

/* PETITS FLOCONS - couche profonde */
.snow-back {
    background-image:
        radial-gradient(1px 1px at 30% 10%, white 50%, transparent 51%),
        radial-gradient(1px 1px at 60% 40%, white 50%, transparent 51%),
        radial-gradient(1px 1px at 90% 90%, white 50%, transparent 51%);
    opacity: 0.2;
    animation: snowBack 30s linear infinite;
    filter: blur(0.5px);
}

/* ANIMATIONS PROFONDEUR */
@keyframes snowFront {
    0% { background-position: 0 -200px; }
    100% { background-position: 0 1000px; }
}

@keyframes snowMid {
    0% { background-position: 0 -100px; }
    100% { background-position: 0 700px; }
}

@keyframes snowBack {
    0% { background-position: 0 0; }
    100% { background-position: 0 400px; }
}


/* ANIMATIONS GLOBALES */
.animate-fade-down {
    animation: fadeDown 1.2s ease forwards;
    opacity: 0;
}

@keyframes fadeDown {
    0% { opacity: 0; transform: translateY(-25px); }
    100% { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
    animation: fadeUp 1.4s ease forwards;
    opacity: 0;
}

.animate-fade-up-delay {
    animation: fadeUp 1.8s ease forwards;
    opacity: 0;
}

.animate-fade-up-delay2 {
    animation: fadeUp 2.2s ease forwards;
    opacity: 0;
}

@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* SCROLL APPEAR */
.animate-section {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s ease;
}
.animate-section.visible {
    opacity: 1;
    transform: translateY(0);
}


.dropdown-menu-dark {
    background-color: #0A1A2F !important;
    border: 1px solid #7ac6e8;
}

.dropdown-menu-dark .dropdown-item {
    color: #e0e6ea;
    transition: 0.2s;
}

.dropdown-menu-dark .dropdown-item:hover {
    background-color: #0e355b;
    color: #7ac6e8;
}

/* HERO PARTENAIRES */
.partner-hero {
    height: 60vh;
    background: url('img/partner.jpg') center/cover no-repeat;
    position: relative;
}

.partner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 25, 0.75);
    backdrop-filter: blur(0px);
}

.partner-hero-content {
    position: relative;
    z-index: 10;
}

/* PARTENAIRES */
.partners-section {
    background: #0A1A2F;
}

.partner-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    padding: 35px 20px;
    text-align: center;
    transition: 0.3s;
    backdrop-filter: blur(6px);
}

.partner-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.12);
    border-color: #7ac6e8;
}

.partner-logo img {
    width: 150px;
    height: auto;
    filter: drop-shadow(0px 0px 10px rgba(255,255,255,0.4));
    margin-bottom: 1rem;
}

.partner-name {
    font-family: 'Montserrat';
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #7ac6e8;
}

.partner-desc {
    font-size: 1rem;
    color: #dde3e6;
}

/* SECTION TITLE */
.section-title {
    color: #7ac6e8;
    font-size: 2.3rem;
    font-family: 'Montserrat';
}

/* ANIMATIONS */
.animate-fade-up { animation: fadeUp 1s ease forwards; opacity: 0; }
.animate-fade-up-delay { animation: fadeUp 1.5s ease forwards; opacity: 0; }
.animate-fade-up-delay2 { animation: fadeUp 2s ease forwards; opacity: 0; }

@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.partner-card-link {
    text-decoration: none;
    display: block;
}

.partner-card-link:hover .partner-card {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.15);
    border-color: #7ac6e8;
}

/* SEPARATION */
.section-separator img {
    width: 100%;
    display: block;
    margin-bottom: -1px;
}

/* ENTREPRISES DU PROJET */
.project-companies-section {
    background: #0A1A2F; /* même couleur que le separator */
}

.project-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 35px 20px;
    text-align: center;
    transition: 0.3s;
    backdrop-filter: blur(4px);
}

.project-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.12);
    border-color: #7ac6e8;
}

.project-logo img {
    width: 140px;
    height: auto;
    margin-bottom: 1.2rem;
    filter: drop-shadow(0px 0px 12px rgba(0,0,0,0.5));
}

.project-name {
    font-family: 'Montserrat';
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #7ac6e8;
}

.project-desc {
    font-size: 1rem;
    color: #dfe5e8;
}

/* A PROPOS*/
.about-hero {
    height: 50vh;
    background: url('img/apropos.jpg') center/cover no-repeat;
    position: relative;
}

.about-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 25, 0.75);
    backdrop-filter: blur(0px);
}

.about-content {
    z-index: 10;
    color: #fff;
}

.about-section {
    background: #0A1A2F;
    color: #dfe7ed;
}

.about-plan,
.about-map {
    background: #0B1E33;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 15px;
    backdrop-filter: blur(6px);
}


/* CONTACT PAGE */
.contact-hero {
    height: 50vh;
    background: url('img/contact.jpg') center/cover no-repeat;
    position: relative;
}

.contact-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 25, 0.75);
    backdrop-filter: blur(0px);
}

.contact-content {
    position: relative;
    z-index: 10;
    color: #fff;
}

.contact-section {
    background: #0A1A2F;
}

.btn-contact {
    background: #7ac6e8;
    color: #0A1A2F;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 12px;
    transition: 0.3s;
}

.btn-contact:hover {
    background: #5bb5d8;
    transform: translateY(-3px);
}


/* ARTICLES */
.articles-hero {
    height: 60vh;
    background: url('img/article.jpg');
    background-size: cover;
background-repeat: no-repeat;
background-position: cover;
    position: relative;
}

.articles-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 25, 0.75);
}

.articles-content {
    position: relative;
    z-index: 10;
}

.article-card {
    transition: 0.3s;
}

.article-card:hover {
    transform: translateY(-10px);
    border-color: #7ac6e8;
}

.article-title {
    font-size: 1.3rem;
    color: #7ac6e8;
}

.article-excerpt {
    color: #dde3e6;
}

.article-date {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ARTICLE PAGE */
.article-hero {
    height: 35vh;
    background: url('../img/loretan.jpg') center/cover no-repeat;
    position: relative;
}
.article-overlay { 
    position: absolute; inset: 0;
    background: rgba(5, 10, 25, 0.75);
}
.article-content { z-index: 10; }


/* section derniers articles */
.latest-articles-section {
    background: #0A1A2F;
    color: white;
}

.article-card-link {
    text-decoration: none;
}

.article-card {
    transition: 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.article-card:hover {
    transform: translateY(-10px);
    border-color: #7ac6e8;
    background: rgba(255,255,255,0.10);
}

.article-title {
    font-size: 1.3rem;
    color: #7ac6e8;
}

.article-excerpt {
    color: #dce4ea;
}

.article-date {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Uniformisation des images d'articles */
.article-card img,
.portrait-list-img {
    width: 100%;
    height: 220px; /* tu peux ajuster : 180 / 220 / 260 */
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
}


/* ARTICLE TIMELINE */
/* IMAGE PORTRAIT LAYOUT */
.portrait-wrapper {
    overflow: hidden;
    border-radius: 18px;
}

.portrait-img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 0 18px rgba(0,0,0,0.5);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.portrait-img:hover {
    transform: scale(1.03);
    filter: brightness(1.05);
}

/* TIMELINE IMPROVED */
.article-event-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    backdrop-filter: blur(8px);
    color: #e6edf3;
}

.timeline {
    position: relative;
    margin-left: 25px;
    padding-left: 20px;
    border-left: 2px solid rgba(255,255,255,0.15);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-dot {
    position: absolute;
    left: -31px;
    top: 5px;
    width: 14px;
    height: 14px;
    background: #7ac6e8;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(122,198,232,0.7);
}

.timeline-content h4 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 6px;
    font-weight: 600;
}

.timeline-content p {
    color: #d8e0e5;
    margin: 0;
    line-height: 1.6;
}

.timeline-content em {
    color: #7ac6e8;
}

/* Responsive */
@media (max-width: 992px) {
    .portrait-wrapper {
        margin-top: 20px;
    }
}


.article-card,
.project-card,
.partner-card,
.portrait-list-img {
    perspective: 1200px; /* profondeur 3D */
}

.frost-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 18px;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(122,198,232,0.15);
    transition: transform 0.45s ease, box-shadow 0.45s ease;
    transform-style: preserve-3d;
}

/* Effet lumineux glacier */
.frost-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(
        135deg,
        rgba(122,198,232,0.4),
        rgba(10,26,47,0.7)
    );
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

/* Hover 3D */
.frost-card:hover {
    transform: translateY(-12px) rotateX(4deg) rotateY(-4deg) scale(1.03);
    box-shadow: 0 15px 40px rgba(0,0,0,0.45),
                0 0 25px rgba(122,198,232,0.4);
}

/* Image zoom */
.frost-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    border-radius: 14px;
    transition: transform 0.5s ease;
}

.frost-card:hover img {
    transform: scale(1.12);
}


/* PAGE MERCI – ULTRA DESIGN */
.thankyou-body {
    background: #0A1A2F;
    height: 100vh;
    overflow: hidden;
}

.thankyou-container {
    height: 100vh;
    position: relative;
}

.thankyou-card {
    max-width: 600px;
    animation: fadeUp 1.6s ease forwards;
}

.thankyou-title {
    font-family: 'Montserrat';
    font-size: 3rem;
    color: #7ac6e8;
    text-shadow: 0 0 15px rgba(122,198,232,0.6);
}

.thankyou-text {
    font-size: 1.3rem;
    color: #dfe7ed;
}

.thankyou-mountain {
    position: absolute;
    bottom: 0;
    width: 100%;
    opacity: 0.4;
    animation: fadeIn 2s ease forwards;
}

/* CARD UNIVERSELLE - PARTENAIRES & ENTREPRISES */
.uniform-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 30px 20px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: 0.3s;
    backdrop-filter: blur(6px);
}

/* HOVER premium */
.uniform-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.12);
    border-color: #7ac6e8;
}

/* Zone image UNIQUEMENT */
.uniform-card .card-logo {
    height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.uniform-card .card-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.4));
}

/* Titres uniformisés */
.uniform-card .card-title {
    font-family: 'Montserrat';
    font-size: 1.4rem;
    color: #7ac6e8;
    margin-bottom: 10px;
}

/* Descriptions */
.uniform-card .card-desc {
    color: #dfe6ea;
    font-size: 1rem;
    flex-grow: 1;
}

/* HERO ARTICLE */
.article-hero {
    height: 70vh;
    position: relative;
    overflow: hidden;
    background: #000;
}
.article-hero-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    filter: brightness(0.65);
}
.article-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), #0a1a2f 90%);
}
.article-hero-content {
    position: relative;
    z-index: 10;
    color: #fff;
}
.article-date {
    opacity: 0.8;
}

/* ARTICLE BODY */
.article-content {
    font-size: 1.2rem;
    line-height: 1.7;
}

/* SUBTITLES */
.article-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: #7ac6e8;
    margin-top: 2.5rem;
}

/* BLOCKQUOTE */
.glacier-quote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: rgba(255,255,255,0.05);
    border-left: 4px solid #7ac6e8;
    font-size: 1.3rem;
    font-style: italic;
    border-radius: 8px;
}
.glacier-quote span {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    opacity: 0.7;
}

/* IMAGES */
.article-image-full img {
    max-width: 100%;
    border-radius: 12px;
}
.img-caption {
    font-size: .9rem;
    opacity: .7;
    margin-top: .4rem;
    text-align: left;
}

.article-paragraph p {
    font-size: 1.2rem;
    line-height: 1.75;
    margin-bottom: 1.6rem;
    color: #dfe7ed;
}

.glacier-divider {
    width: 120px;
    height: 3px;
    margin: 2rem auto;
    background: linear-gradient(90deg,
        rgba(122,198,232,0) 0%,
        rgba(122,198,232,0.8) 50%,
        rgba(122,198,232,0) 100%
    );
    border-radius: 50px;
    opacity: .8;
}

/* --- ARTICLE LAYOUT PREMIUM SANS TOUCHER AU CONTENU --- */

/* --- ARTICLE LAYOUT PREMIUM — VERSION PROPRE & BALANCÉE --- */

/* Container global centré */
.article-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Bloc (image + texte) */
.article-block {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: center;
    margin: 70px auto;
    width: 100%;
    max-width: 1000px;
}

/* Texte confortable */
.article-block .text {
    width: 55%;
    line-height: 1.85;
    font-size: 1.15rem;
    color: #e7eff5;
}

/* Image maîtrisée (plus petite) */
.article-block img {
    width: 45%;
    max-width: 420px;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0,0,0,.45);
    object-fit: cover;
}

/* Alternance gauche/droite */
.article-block.reverse {
    flex-direction: row-reverse;
}

/* MOBILE */
@media (max-width: 992px) {
    .article-block,
    .article-block.reverse {
        flex-direction: column !important;
        text-align: left;
        gap: 20px;
    }

    .article-block img {
        width: 100% !important;
        max-width: 100% !important;
    }

    .article-block .text {
        width: 100% !important;
    }
}

/* BOUTON RETOUR HAUT – STYLE PIOLET GLACIER */
#backToTop {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 70px;
    height: 70px;

    background: rgba(10, 26, 47, 0.45); /* fond bleu-nuit translucide */
    backdrop-filter: blur(8px);
    border: 2px solid rgba(122, 198, 232, 0.35); /* bleu glacier */
    border-radius: 50%;

    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;

    box-shadow: 0 0 20px rgba(122,198,232,0.25);
    transition: opacity .4s ease, transform .4s ease, box-shadow .4s ease;
}

#backToTop:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 28px rgba(122,198,232,0.50);
    border-color: rgba(122,198,232,0.75);
}

/* PIOLET TOUJOURS VISIBLE */
.piolet-icon {
    width: 100%;
    height: auto;
    transform: rotate(180deg);
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.8)); /* HALO BLANC */
    transition: transform .4s ease;
}

#backToTop:hover .piolet-icon {
    transform: rotate(165deg) scale(1.1);
}

/* Affichage du bouton */
#backToTop.show {
    opacity: 1;
    pointer-events: auto;
}


.bg-dark {
    background: none !important;
}


footer a {
    color: #7ac6e8 !important;
    text-decoration: none;
    font-weight: 600;
    transition: 0.25s ease;
    border-bottom: 1px solid transparent;
}

footer a:hover {
    color: #a3eaff !important;
    border-bottom: 1px solid #a3eaff;
    text-shadow: 0 0 6px rgba(122,198,232,0.6);
}

/* FOOTER PREMIUM GLACIER */
footer.footer-glacier {
    background: linear-gradient(180deg, #0A1A2F 0%, #061020 100%);
    border-top: 1px solid rgba(122,198,232,0.25);
    box-shadow: 0 -10px 25px rgba(122,198,232,0.12);
    backdrop-filter: blur(6px);
}

.footer-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 1px;
    font-weight: 600;
    color: #7ac6e8;
}

.footer-credits {
    font-size: 0.95rem;
    color: #dce4ea;
}

.footer-credits a {
    color: #7ac6e8;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: 0.25s;
}

.footer-credits a:hover {
    color: #a3eaff;
    border-bottom: 1px solid #a3eaff;
    text-shadow: 0 0 6px rgba(122,198,232,0.6);
}

/* Petite barre glacier décorative */
.footer-divider {
    width: 150px;
    height: 3px;
    background: linear-gradient(
        90deg,
        rgba(122,198,232,0) 0%,
        rgba(122,198,232,0.8) 50%,
        rgba(122,198,232,0) 100%
    );
    margin: 0 auto;
    border-radius: 50px;
    opacity: 0.8;
}

/* -------------------------------------------
   BANNIÈRE COOKIES GLACIER - 2025
-------------------------------------------- */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);

    width: 90%;
    max-width: 900px;

    background: rgba(10, 26, 47, 0.75);
    border: 1px solid rgba(122,198,232,0.45);
    border-radius: 14px;

    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    backdrop-filter: blur(12px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.45);

    color: #dfe7ed;
    font-size: 1rem;

    z-index: 1500; /* SOUS la navbar, AU-DESSUS du contenu */
    opacity: 0;
    animation: cookieFade 0.7s forwards;
}

@keyframes cookieFade {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
}

.cookie-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cookie-icon {
    width: 64px;
    height: 64px;
    opacity: 0.85;
    filter: drop-shadow(0 0 6px rgba(122,198,232,0.45));
}

.cookie-banner a {
    color: #7ac6e8;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.cookie-banner a:hover {
    color: #a3eaff;
    border-bottom: 1px solid #a3eaff;
}

.cookie-btn {
    background: linear-gradient(135deg, #7ac6e8, #5bb5d8);
    border: none;
    color: #062033;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;

    box-shadow: 0 0 12px rgba(122,198,232,0.45);
    cursor: pointer;
    transition: 0.3s ease;
}

.cookie-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(122,198,232,0.6);
}

#cookieBanner.hidden {
    display: none !important;
}



/* ----- BANNIÈRE COOKIES GLACIER PREMIUM (ANIMÉE + RESPONSIVE) ----- */
.glacier-premium {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);

    width: auto;
    max-width: 90%;
    padding: 14px 22px;

    background: rgba(10, 26, 47, 0.65);
    backdrop-filter: blur(14px);

    border: 1px solid rgba(122,198,232,0.45);
    border-radius: 14px;

    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;

    z-index: 99999;
    opacity: 0;

    animation: glacierAppear 0.8s ease forwards;
    box-shadow: 0 0 40px rgba(122,198,232,0.22),
                inset 0 0 25px rgba(255,255,255,0.08);
}

@keyframes glacierAppear {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to   { opacity: 1; transform: translate(-50%, 0); }
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cookie-picto {
    width: 70px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(122,198,232,0.8));
    opacity: 0.9;
    animation: glacierGlow 3.5s ease-in-out infinite;
}

@keyframes glacierGlow {
    0%, 100% { filter: drop-shadow(0 0 6px rgba(122,198,232,0.4)); }
    50%      { filter: drop-shadow(0 0 14px rgba(122,198,232,0.9)); }
}

.cookie-text {
    color: #e1ecf5;
    font-size: 0.95rem;
    line-height: 1.35;
}

.cookie-text a {
    color: #7ac6e8;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.cookie-text a:hover {
    border-bottom: 1px solid #a3eaff;
}

/* Bouton */
.cookie-accept-btn {
    background: linear-gradient(135deg, #7ac6e8, #5bb5d8);
    color: #062033;
    font-weight: 700;

    padding: 10px 22px;
    border: none;
    border-radius: 10px;

    cursor: pointer;
    transition: 0.25s ease;

    flex-shrink: 0;

    box-shadow: 0 0 12px rgba(122,198,232,0.35);
}

.cookie-accept-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 22px rgba(122,198,232,0.6);
}

/* Disparition */
#cookieBanner.hidden {
    display: none !important;
}

/* ===== VERSION MOBILE ===== */
@media (max-width: 600px) {

    .glacier-premium {
        flex-direction: column;
        text-align: center;

        bottom: 15px;
        padding: 18px 15px;

        gap: 15px;
        width: calc(100% - 30px);
        max-width: none;
        transform: translateX(-50%);
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .cookie-picto {
        width: 55px;
    }

    .cookie-text {
        font-size: 0.9rem;
    }

    .cookie-accept-btn {
        width: 100%;
        max-width: 260px;
    }
}



/* =======================================================
   HERO MOBILE FIX – VERSION PREMIUM LORETAN (100% stable)
   ======================================================= */
@media (max-width: 768px) {

    /* Suppression du parallax qui casse tout sur mobile */
    .hero-section {
        height: 100vh !important;
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center center !important;
        overflow: visible !important;
    }

    /* Le container du texte ne doit jamais être croppé */
    .hero-content {
        position: relative !important;
        z-index: 10 !important;
        padding: 0 18px !important;
        overflow: visible !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        margin-top: 0 !important;
    }

    /* TITRE MOBILE — version stable */
    .hero-title {
        font-size: 2.4rem !important;
        line-height: 1.15 !important;
        letter-spacing: 1px !important;

        text-align: center !important;

        display: block !important;
        width: 100% !important;
        padding: 0 10px !important;

        white-space: normal !important;

        /* SUPPRESSION TOTALE DES ANIMATIONS (cause du bug L coupé) */
        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
    }

    /* Sous-titre */
    .hero-subtitle {
        font-size: 1.1rem !important;
        margin-top: 0.8rem !important;

        animation: none !important;
        opacity: 1 !important;
    }

    /* Bouton */
    .btn-hero {
        margin-top: 1.4rem !important;
    }

    /* SVG des montagnes */
    .hero-mountains img {
        opacity: 0.7 !important;
    }
}


/* ===== HERO MOBILE – VERSION LORETAN 2025 CLEAN ===== */
@media (max-width: 768px) {

    /* Fond héros */
    .hero-section {
        height: auto !important;
        padding: 140px 15px 120px !important;
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center top !important;
        overflow: visible !important;
    }

    /* Conteneur texte */
    .hero-content {
        margin-top: 0 !important;
        padding: 0 15px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
    }

    /* Titre */
    .hero-title {
        font-size: 2.6rem !important;
        line-height: 1.18 !important;
        letter-spacing: 1px !important;

        white-space: normal !important;
        word-break: keep-all !important;

        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 10px !important;

        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
    }

    /* Sous-titre */
    .hero-subtitle {
        font-size: 1.2rem !important;
        padding: 0 10px !important;
        margin-top: 10px !important;
        animation: none !important;
        opacity: 1 !important;
    }

    /* Bouton */
    .btn-hero {
        margin-top: 18px !important;
    }
}

/* --------------------------------------------------
   ICONES RÉSEAUX SOCIAUX GLACIER PREMIUM
-------------------------------------------------- */
.social-glacier .social-icon {
    width: 60px;
    height: 60px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(122,198,232,0.35);
    border-radius: 14px;

    backdrop-filter: blur(6px);
    transition: 0.35s ease;

    box-shadow: 0 0 12px rgba(122,198,232,0.20),
                inset 0 0 10px rgba(255,255,255,0.05);
}

.social-glacier .social-icon img {
    width: 32px;
    height: 32px;
    opacity: 0.85;
    transition: 0.35s;
    filter: drop-shadow(0 0 6px rgba(122,198,232,0.4));
}

/* HOVER GLACIER ANIMÉ */
.social-glacier .social-icon:hover {
    transform: translateY(-6px) scale(1.05);
    border-color: #7ac6e8;
    box-shadow: 0 0 25px rgba(122,198,232,0.55),
                inset 0 0 14px rgba(255,255,255,0.12);
}

.social-glacier .social-icon:hover img {
    opacity: 1;
    filter: drop-shadow(0 0 14px rgba(122,198,232,0.9));
}

/* MOBILE */
@media (max-width: 600px) {
    .social-glacier .social-icon {
        width: 50px;
        height: 50px;
    }
    .social-glacier .social-icon img {
        width: 26px;
        height: 26px;
    }
}

/* Forcer la hauteur de l'image pour desktop */
@media (min-width: 768px) {
    #summits .summit-img-wrap {
        height: 220px !important;
        display: block;
        overflow: hidden !important;
        border-radius: 12px;
    }

    #summits .summit-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    /* Empêche le nom de glisser sous l'image */
    #summits .frost-card {
        display: block !important;
    }
}
