/*
Variables
*/
:root {
    --color-line: #C9B896;
    --color-section: #F8F6F3;
    --color-footer: #DDD9D0;

    --color-title: #333333;
    --color-text: #555555;
    --color-text-footer: #666666;

    --white: #FFFFFF;
    --black: #000000;

    --padding-section-desktop: 80px;
    --padding-section-mobile: 50px;

    --font-titles: 'Fanwood Text', Georgia, serif;
    --font-text: 'Inter', Roboto, sans-serif;
}

/*
Common
*/
body {
    font-family: var(--font-text);
    color: var(--color-text);
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

/*
HERO - DESKTOP
*/
.hero {
    position: relative;
    width: 100%;
    max-width: 1440px;
    height: 600px;
    background-color: var(--white);
    margin: 0 auto 40px auto;
}

.hero-image-wrapper {
    position: absolute;
    top: 91px;
    left: 0;
    width: 100%;
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-facebook-link {
    position: absolute;
    top: 468px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: block;
    transition: transform 0.3s ease;
}

.hero-facebook-link img {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0px 4px 12px rgba(0, 0, 0, 0.15));
}

.hero-facebook-link:hover {
    transform: translateX(-50%) scale(1.1);
}

/*
ABOUT (QUI SOMMES-NOUS)
*/
.about {
    background-color: var(--white);
    width: 100%;
}

.about-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 80px 0;
}

/* Photo Column */
.about-photo-frame {
    width: 680px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-photo {
    width: 680px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* Text Column */
.about-text-frame {
    padding: 12px 40px;
    max-width: 711px;
    margin-left: 24px;
}

.about-title {
    font-family: var(--font-titles);
    font-size: 36px;
    font-weight: 700;
    color: var(--black);
    margin: 0 0 10px 0;
}

.about-line-deco {
    width: 100px;
    height: 4px;
    background-color: var(--color-line);
    margin-bottom: 80px;
}

.about-text {
    font-family: var(--font-text);
    font-size: 16px;
    line-height: 150%;
    color: var(--color-text);
}

.about-text p {
    margin-bottom: 1rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-highlight {
    font-weight: 600;
}

/*
VALUES (NOS VALEURS)
*/
.values {
    background-color: var(--color-section);
    width: 100%;
}

.values-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 80px 124px;
    display: flex;
    flex-direction: column;
    gap: 92px;
    align-items: center;
}

/* Header (Title + Line) */
.values-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.values-title {
    font-family: var(--font-titles);
    font-size: 36px;
    font-weight: 700;
    color: var(--black);
    margin: 0;
    text-align: center;
}

.values-line-deco {
    width: 100px;
    height: 4px;
    background-color: var(--color-line);
}

/* Cards Container */
.values-cards {
    display: flex;
    flex-direction: row;
    gap: 50px;
    justify-content: center; /* Centre les cartes */
}

/* Card */
.values-card {
    width: 260.5px;
    height: 260px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 34px 10px;
}

.values-icon {
    width: 60px;
    height: 58px;
}

.values-text {
    font-family: var(--font-text);
    font-size: 21px;
    line-height: 140%;
    color: var(--color-text);
    text-align: center;
    margin: 0;
    width: 240px;
}

/*
PRIORITIES (NOS PRIORITÉS POUR LE MANDAT)
*/
.priorities {
    background-color: var(--white);
    width: 100%;
}

.priorities-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 80px 320px;
    display: flex;
    flex-direction: column;
    gap: 80px;
    align-items: center;
}

/* Header */
.priorities-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.priorities-title {
    font-family: var(--font-titles);
    font-size: 36px;
    font-weight: 700;
    color: var(--black);
    margin: 0;
    text-align: center;
}

.priorities-line-deco {
    width: 100px;
    height: 4px;
    background-color: var(--color-line);
}

/* Content */
.priorities-content {
    width: 800px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* Theme */
.priorities-theme {
    display: flex;
    flex-direction: column;
    gap: 21px;
}

.priorities-theme-title {
    font-family: var(--font-titles);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-title);
    margin: 0;
}

.priorities-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.priorities-list li {
    font-family: var(--font-text);
    font-size: 18px;
    line-height: 150%;
    color: var(--color-text);
    margin-bottom: 1rem;
    padding-left: 30px;
    position: relative;
}

.priorities-list li:last-child {
    margin-bottom: 0;
}

.priorities-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-text);
    font-weight: 700;
    font-size: 24px;
}

/*
FOOTER
*/
.footer {
    background-color: var(--color-footer);
    width: 100%;
}

.footer-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 60px 60px 10px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* Facebook Section */
.footer-facebook {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-facebook:hover {
    opacity: 0.8;
}

.footer-facebook-logo {
    width: 70px;
    height: 70px;
}

.footer-facebook-text {
    font-family: var(--font-text);
    font-size: 18px;
    font-weight: 400;
    color: var(--color-title);
}

/* Legal Section */
.footer-legal {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    font-family: var(--font-text);
    font-size: 12px;
    color: var(--color-text-footer);
}

.footer-copyright {
    color: var(--color-text-footer);
}

.footer-separator {
    color: var(--color-text-footer);
}

.footer-legal-link {
    color: var(--color-text-footer);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-legal-link:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/*
HERO LINK (mentions-legales.html)
*/
.hero-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.hero-link:hover {
    opacity: 0.95;
}

/*
LEGAL CONTENT (mentions-legales.html)
*/
.legal-content {
    background-color: var(--white);
    width: 100%;
}

.legal-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 80px 320px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.legal-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.legal-title {
    font-family: var(--font-titles);
    font-size: 36px;
    font-weight: 700;
    color: var(--black);
    margin: 0;
    text-align: center;
}

.legal-line-deco {
    width: 100px;
    height: 4px;
    background-color: var(--color-line);
}

.legal-text {
    width: 100%;
    max-width: 800px;
    font-family: var(--font-text);
    color: var(--color-text);
}

.legal-text h2 {
    font-family: var(--font-titles);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-title);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text p {
    font-size: 16px;
    line-height: 150%;
    margin-bottom: 1rem;
}

.legal-text strong {
    font-weight: 600;
}

.legal-back-button {
    margin-top: 3rem;
    text-align: center;
}

.btn-back {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--color-section);
    color: var(--color-title);
    text-decoration: none;
    border-radius: 8px;
    font-family: var(--font-text);
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--color-line);
}

.btn-back:hover {
    background-color: var(--color-line);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/*
RESPONSIVE - MOBILE
*/
@media (max-width: 768px) {
    /* HERO */
    .hero {
        position: relative;
        height: auto;
        max-width: none;
        padding: 50px 0 30px 0;
        margin: 0;
        background-color: transparent;
    }

    .hero-image-wrapper {
        position: relative;
        top: 0;
        width: 100%;
    }

    .hero-facebook-link {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        display: block;
        margin: -22px auto 0 auto;
        width: 40px;
    }

    .hero-facebook-link img {
        width: 40px;
        height: 40px;
    }

    /* ABOUT */
    .about-wrapper {
        padding: 50px 0;
    }

    .about-photo-frame {
        width: 100%;
        height: auto;
        padding: 0 20px;
        margin-bottom: 30px;
    }

    .about-photo {
        width: 100%;
        height: auto;
    }

    .about-text-frame {
        padding: 0 20px;
        margin-left: 0;
        max-width: none;
    }

    .about-title {
        font-size: 28px;
    }

    .about-line-deco {
        margin-bottom: 40px;
    }

    /* VALUES */
    .values-wrapper {
        padding: 50px 20px;
        gap: 40px;
        align-items: flex-start;
    }

    .values-header {
        align-items: flex-start;
    }

    .values-title {
        font-size: 28px;
        text-align: left;
    }


    .values-cards {
        flex-direction: column;
        gap: 30px;
        width: 100%;
        align-items: center;
    }

    .values-card {
        width: 100%;
        max-width: 320px;
        height: auto;
        padding: 30px 20px;
        margin: 0 auto;
    }

    .values-text {
        font-size: 18px;
        width: 100%;
    }

    /* PRIORITIES */
    .priorities-wrapper {
        padding: 50px 20px;
        gap: 40px;
    }

    .priorities-header {
        align-items: flex-start;
    }

    .priorities-title {
        font-size: 28px;
        text-align: left;
    }

    .priorities-content {
        width: 100%;
        gap: 40px;
    }

    .priorities-theme-title {
        font-size: 20px;
    }

    .priorities-list li {
        font-size: 16px;
        padding-left: 25px;
    }

    /* FOOTER */
    .footer-wrapper {
        padding: 40px 20px 10px 20px;
        gap: 30px;
    }

    .footer-facebook-logo {
        width: 50px;
        height: 50px;
    }

    .footer-facebook-text {
        font-size: 16px;
    }

    .footer-legal {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .footer-separator {
        display: none;
    }

    /* LEGAL */
    .legal-wrapper {
        padding: 50px 20px;
        gap: 30px;
        align-items: flex-start;
    }

    .legal-header {
        align-items: flex-start;
    }

    .legal-title {
        font-size: 28px;
        text-align: left;
    }

    .legal-text h2 {
        font-size: 20px;
    }

    .legal-text p {
        font-size: 14px;
    }
}