/* css/main.css */

/* Variables et styles généraux */
:root {
    --climbout-green: #1D3B2C;
    --climbout-beige: #E6DCCB;
    --climbout-orange: #FF8A00;
    --text-dark: #333;
    --text-light: #f4f4f4;
    --light-grey: #f0f0f0;
    --modern-background: #F5F5F5;
    --skeleton-bg: #e0e0e0;
}
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: var(--modern-background);
    color: var(--text-dark);
    line-height: 1.6;
    position: relative;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--climbout-green);
    margin-top: 0;
}
a {
    text-decoration: none;
    color: var(--climbout-green);
}
a:hover {
    color: var(--climbout-orange);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* --- HEADER --- */
.header {
    background-color: var(--climbout-green);
    /* MODIFICATION : Ajustement du padding */
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* MODIFICATIONS POUR LE LOGO */
.header .logo,
.mobile-nav-header .logo {
    display: flex; /* Aligne l'image et le texte */
    align-items: center; /* Centre verticalement */
    gap: 15px; /* Espace entre l'image et le texte */
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--text-light);
    text-decoration: none;
    flex-shrink: 0;
}
.header .logo img,
.mobile-nav-header .logo img {
    /* MODIFICATION ICI : Taille du logo augmentée */
    height: 60px;
    width: auto;
}
/* FIN DES MODIFICATIONS */

.header nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}
.header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}
.header nav ul li a {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-light);
    transition: color 0.3s ease;
}
.header nav ul li a:hover {
    color: var(--climbout-orange);
}
.header .right-elements {
    flex-shrink: 0;
}
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    top: 48px;
    border-radius: 10px;
    padding: 10px;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}
.dropdown-content a img {
    height: 40px;
    transition: transform 0.3s ease;
}
.dropdown-content a img:hover {
    transform: scale(1.05);
}
.dropdown.active .dropdown-content {
    display: flex;
}
.btn-download {
    background-color: var(--climbout-orange);
    color: var(--text-light);
    border: none;
    padding: 10px 25px;
    white-space: nowrap;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-download:hover {
    background-color: #e07a00;
}
.btn-download i {
    transition: transform 0.3s ease;
}
.dropdown.active .btn-download i {
    transform: rotate(180deg);
}

/* --- MENU HAMBURGER (MOBILE) --- */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
    z-index: 1100;
}
.mobile-nav {
    display: flex;
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background-color: var(--climbout-green);
    z-index: 3000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.3s ease-in-out;
}
.mobile-nav.open {
    left: 0;
}
.mobile-nav ul { list-style: none; padding: 0; text-align: center; }
.mobile-nav ul li { margin: 20px 0; }
.mobile-nav ul li a { color: var(--text-light); font-size: 2em; font-family: 'Montserrat', sans-serif; font-weight: 600; }
.mobile-nav .right-elements { margin-top: 20px; }
.mobile-nav-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    box-sizing: border-box;
}
.mobile-close-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
}

/* --- FOOTER --- */
.footer {
    background-color: var(--climbout-green);
    color: var(--text-light);
    padding: 50px 0 0;
    z-index:1;
    position:relative;
}
.footer .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
}
.footer-col {
    text-align: center;
}
.footer-col h4 {
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-light);
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block; 
    text-align: left; 
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: var(--text-light);
    font-size: 0.9em;
    transition: color 0.3s ease;
}
.footer-col ul li a:hover {
    color: var(--climbout-orange);
}
.footer .social-icons {
    display: flex;
    gap: 25px;
    align-items: center;
    justify-content: center; 
    margin-top: 5px;
}
.footer .social-icons a img {
    height: 35px;
    width: 35px;
    transition: transform 0.3s ease;
}
.footer .social-icons a img:hover {
    transform: scale(1.1);
}
.footer .download-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}
.footer .download-buttons img {
    height: 45px;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.footer .download-buttons img:hover {
    transform: scale(1.05);
}
.footer-legal {
    border-top: 1px solid rgba(230, 220, 203, 0.4);
    margin-top: 40px;
    padding: 20px 0;
    width: 100%;
    text-align: center;
}
.footer-legal a {
    display: block;
    color: var(--text-light);
    font-size: 0.9em;
    padding: 5px 0;
    transition: color 0.3s ease;
}
.footer-legal a:hover {
    color: var(--climbout-orange);
}

/* --- STYLES RESPONSIVES COMMUNS --- */
@media (max-width: 992px) {
    #desktop-nav, .header .right-elements {
        display: none;
    }
    .hamburger-btn {
        display: block;
    }
    .footer .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-col ul {
        text-align: center;
    }
}
.policy-container {
    max-width: 850px;
    margin: 50px auto;
    padding: 40px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

    .policy-container h1 {
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        color: var(--climbout-green);
        font-size: 2.2em;
        text-align: center;
        margin-bottom: 30px;
        padding-bottom: 10px;
        border-bottom: 2px solid var(--light-grey);
    }

    .policy-container h2 {
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        color: var(--climbout-orange);
        font-size: 1.5em;
        margin-top: 30px;
        margin-bottom: 15px;
        padding-bottom: 5px;
        border-bottom: 1px solid var(--light-grey);
    }

    .policy-container h3 {
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        color: var(--climbout-green);
        font-size: 1.2em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .policy-container h4 {
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        color: var(--text-dark);
        font-size: 1.1em;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .policy-container p, .policy-container li {
        font-size: 1.05em;
        margin-bottom: 15px;
        color: var(--text-dark);
    }

    .policy-container ul {
        list-style-type: disc;
        padding-left: 20px;
    }
@media (max-width: 650px) {
    .policy-container {
        margin: 20px;
        padding: 20px;
    }
}
.svgindex {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 95%;
}