/* =====================================================
   SYNERGIS ENVIRONNEMENT
   Design minimaliste et éditorial
   ===================================================== */


/* =====================================================
   VARIABLES
   ===================================================== */

:root {

    --green-dark: #234c3d;
    --green: #557b62;
    --green-light: #8da287;

    --cream: #f5f3ed;
    --cream-dark: #eae7dc;

    --white: #ffffff;

    --text: #27322d;
    --text-light: #68726c;

    --serif: Georgia, "Times New Roman", serif;
    --sans: Arial, Helvetica, sans-serif;
}


/* =====================================================
   RESET
   ===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    background: var(--cream);

    color: var(--text);

    font-family: var(--sans);

    font-weight: 300;

    line-height: 1.6;
}


img {
    display: block;
    width: 100%;
}


h1,
h2,
h3,
p {
    margin: 0;
}


/* =====================================================
   HEADER
   ===================================================== */

.header {

    height: 110px;

    padding:
        30px 7vw;

    display: flex;

    align-items: center;

    background: var(--cream);
}


.logo img {

    width: 250px;

    height: auto;
}


/* =====================================================
   INFORMATION TEMPORAIRE
   ===================================================== */

.temporary-notice {
    padding: 10px 7vw;
    background: var(--cream-dark);
    border-top: 1px solid rgba(35, 76, 61, 0.08);
    border-bottom: 1px solid rgba(35, 76, 61, 0.08);
    color: var(--text-light);
    text-align: center;
}

.temporary-notice p {
    font-size: 12px;
    letter-spacing: 0.2px;
}

.temporary-notice a {
    color: var(--green-dark);
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.temporary-notice a:hover,
.temporary-notice a:focus-visible {
    color: var(--green);
}


/* =====================================================
   PETITS TITRES
   ===================================================== */

.label {

    color: var(--green);

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 3px;

    margin-bottom: 22px;
}


/* =====================================================
   HERO
   ===================================================== */

.hero {

    max-width: 1500px;

    margin: 0 auto;

    padding:
        45px 7vw 90px;

    display: grid;

    grid-template-columns:
        45% 55%;

    align-items: center;

    gap: 5vw;
}


.hero-text {

    padding-bottom: 10px;
}


.hero h1 {

    color: var(--green-dark);

    font-family: var(--serif);

    font-size:
        clamp(48px, 5.2vw, 78px);

    font-weight: normal;

    line-height: 1.03;

    letter-spacing: -2px;

    margin-bottom: 35px;
}


.hero-description {

    max-width: 500px;

    color: var(--text-light);

    font-size: 17px;

    line-height: 1.75;
}


.hero-image {

    height: 570px;

    overflow: hidden;
}


.hero-image img {

    height: 100%;

    object-fit: cover;
}


/* =====================================================
   CHIFFRES
   ===================================================== */

.numbers {

    max-width: 1300px;

    margin: 0 auto;

    padding:
        45px 7vw 65px;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top:
        1px solid var(--cream-dark);

    border-bottom:
        1px solid var(--cream-dark);
}


.number {

    padding: 10px 30px;

    text-align: center;

    border-right:
        1px solid var(--cream-dark);
}


.number:first-child {
    padding-left: 0;
}


.number:last-child {

    border-right: none;

    padding-right: 0;
}


.number strong {

    display: block;

    color: var(--green-dark);

    font-family: var(--serif);

    font-size: 48px;

    font-weight: normal;

    line-height: 1;

    margin-bottom: 10px;
}


.number span {

    color: var(--text-light);

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: 1.5px;
}


/* =====================================================
   MISSION
   ===================================================== */

.mission {

    max-width: 1300px;

    margin: 0 auto;

    padding:
        120px 7vw;

    display: grid;

    grid-template-columns:
        48% 52%;

    align-items: center;

    gap: 7vw;
}


.mission-image {

    height: 500px;

    overflow: hidden;
}


.mission-image img {

    height: 100%;

    object-fit: cover;
}


.mission-text {

    max-width: 600px;
}


.mission-text h2 {

    color: var(--green-dark);

    font-family: var(--serif);

    font-size:
        clamp(42px, 4vw, 62px);

    font-weight: normal;

    line-height: 1.08;

    margin-bottom: 35px;
}


.mission-text p:not(.label) {

    color: var(--text-light);

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 20px;
}


/* =====================================================
   EXPERTISES
   ===================================================== */

.expertises {

    padding:
        110px 7vw;

    background: var(--white);
}


.expertises-intro {

    max-width: 850px;

    margin:
        0 auto 70px;

    text-align: center;
}


.expertises-intro h2 {

    color: var(--green-dark);

    font-family: var(--serif);

    font-size:
        clamp(38px, 4vw, 56px);

    font-weight: normal;

    line-height: 1.12;
}


/* LISTE */

.expertises-list {

    max-width: 1100px;

    margin: auto;

    border-top:
        1px solid var(--cream-dark);
}


.expertise-row {

    min-height: 90px;

    display: grid;

    grid-template-columns:
        70px 1fr;

    align-items: center;

    border-bottom:
        1px solid var(--cream-dark);

    transition:
        padding 0.25s ease,
        background 0.25s ease;
}


.expertise-row:hover {

    padding-left: 15px;

    background: var(--cream);
}


.expertise-number {

    color: var(--green-light);

    font-size: 11px;

    letter-spacing: 2px;
}


.expertise-row h3 {

    color: var(--green-dark);

    font-family: var(--serif);

    font-size: 25px;

    font-weight: normal;
}


/* =====================================================
   VALEURS
   ===================================================== */

.values {

    max-width: 1300px;

    margin: 0 auto;

    padding:
        120px 7vw;

    display: grid;

    grid-template-columns:
        45% 55%;

    gap: 8vw;

    align-items: center;
}


.values-title h2 {

    color: var(--green-dark);

    font-family: var(--serif);

    font-size:
        clamp(40px, 4vw, 58px);

    font-weight: normal;

    line-height: 1.1;
}


.values-content {

    max-width: 650px;
}


.values-content > p {

    color: var(--text-light);

    font-size: 17px;

    line-height: 1.8;

    margin-bottom: 45px;
}


/* =====================================================
   NOS AGENCES
   ===================================================== */

.agencies {

    max-width: 1300px;

    margin: 0 auto;

    padding:
        100px 7vw;

    background: var(--white);
}


.agencies-content {

    max-width: 750px;

    margin-bottom: 55px;
}


.agencies-content h2 {

    color: var(--green-dark);

    font-family: var(--serif);

    font-size:
        clamp(42px, 4vw, 58px);

    font-weight: normal;

    line-height: 1.1;

    margin-bottom: 20px;
}


.agencies-description {

    color: var(--text-light);

    font-size: 16px;

    max-width: 550px;
}


.agencies-map {

    width: 100%;

    max-width: 1100px;

    margin: 0 auto;

    background: var(--cream);

    border:
        1px solid var(--cream-dark);

    overflow: hidden;
}


.agencies-map img {

    width: 100%;

    height: auto;

    display: block;
}


/* =====================================================
   IMAGE FINALE
   ===================================================== */

.closing {

    position: relative;

    height: 480px;

    max-width: 1500px;

    margin: 0 auto;

    overflow: hidden;
}


.closing > img {

    height: 100%;

    object-fit: cover;

    filter:
        brightness(0.72);
}


.closing-text {

    position: absolute;

    left: 7vw;

    bottom: 60px;

    color: white;
}


.closing-text p {

    font-size: 10px;

    font-weight: bold;

    letter-spacing: 3px;

    margin-bottom: 18px;
}


.closing-text h2 {

    font-family: var(--serif);

    font-size:
        clamp(40px, 5vw, 65px);

    font-weight: normal;

    line-height: 1.05;
}


/* =====================================================
   CONTACT
   ===================================================== */

.contact {

    max-width: 1300px;

    margin: 0 auto;

    padding:
        110px 7vw;

    display: grid;

    grid-template-columns:
        45% 55%;

    gap: 8vw;

    align-items: center;

    background: var(--white);
}


.contact-title h2 {

    color: var(--green-dark);

    font-family: var(--serif);

    font-size:
        clamp(45px, 5vw, 65px);

    font-weight: normal;

    line-height: 1.05;
}


.contact-details {

    display: flex;

    flex-direction: column;

    gap: 35px;

    border-top:
        1px solid var(--cream-dark);
}


.contact-item {

    padding-top: 25px;

    padding-bottom: 25px;

    border-bottom:
        1px solid var(--cream-dark);
}


.contact-item span {

    display: block;

    color: var(--green-light);

    font-size: 10px;

    font-weight: bold;

    letter-spacing: 2px;

    margin-bottom: 8px;
}


.contact-item a {

    color: var(--green-dark);

    font-family: var(--serif);

    font-size: 25px;

    text-decoration: none;

    transition: color 0.2s ease;
}


.contact-item a:hover {

    color: var(--green);
}


/* =====================================================
   FOOTER
   ===================================================== */

.footer {

    padding:
        22px 7vw;

    display: grid;

    grid-template-columns:
        1fr auto 1fr;

    align-items: center;

    gap: 20px;

    background: var(--green-dark);

    color: white;
}


.footer img {

    width: 135px;
}


.footer p {

    color: #c5d0ca;

    font-size: 11px;
}


.footer-links {
    display: flex;
    justify-content: center;
    gap: 22px;
}

.footer-links a {
    color: #ffffff;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 0.8px;
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-copyright {

    text-align: right;
}


/* =====================================================
   PAGES JURIDIQUES
   ===================================================== */

.legal-main {
    max-width: 900px;
    min-height: calc(100vh - 205px);
    margin: 0 auto;
    padding: 70px 7vw 100px;
}

.legal-main h1 {
    margin-bottom: 35px;
    color: var(--green-dark);
    font-family: var(--serif);
    font-size: clamp(38px, 6vw, 64px);
    font-weight: normal;
    line-height: 1.05;
}

.legal-main h2 {
    margin: 42px 0 12px;
    color: var(--green-dark);
    font-family: var(--serif);
    font-size: 25px;
    font-weight: normal;
}

.legal-main p,
.legal-main li {
    color: var(--text-light);
    font-size: 15px;
}

.legal-main ul {
    margin: 10px 0 0 22px;
}

.legal-main a {
    color: var(--green-dark);
}

.legal-placeholder {
    margin: 25px 0;
    padding: 18px 20px;
    border-left: 4px solid var(--green);
    background: var(--cream-dark);
    color: var(--green-dark) !important;
    font-weight: bold;
}

/* =====================================================
   TABLETTE
   ===================================================== */

@media (max-width: 900px) {

    .footer {
        grid-template-columns: 1fr;
        justify-items: center;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .footer-copyright {
        text-align: center;
    }

    .hero {

        grid-template-columns: 1fr;

        padding-top: 30px;
    }


    .hero-image {

        height: 450px;

        order: -1;
    }


    .hero-text {

        padding: 20px 0;
    }


    .numbers {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 25px;
    }


    .number:nth-child(2) {

        border-right: none;
    }


    .mission {

        grid-template-columns: 1fr;

        padding-top: 90px;

        padding-bottom: 90px;
    }


    .mission-image {

        height: 400px;
    }


    .values {

        grid-template-columns: 1fr;
    }


    .contact {

        grid-template-columns: 1fr;

        gap: 55px;
    }

}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 600px) {

    .temporary-notice {
        padding: 11px 25px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .header {

        height: 90px;

        padding:
            25px;
    }


    .logo img {

        width: 155px;
    }


    .hero {

        padding:
            20px 25px 60px;

        gap: 35px;
    }


    .hero-image {

        height: 320px;
    }


    .hero h1 {

        font-size: 43px;

        letter-spacing: -1px;
    }


    .hero-description {

        font-size: 15px;
    }


    .numbers {

        padding:
            35px 25px;

        grid-template-columns:
            1fr 1fr;

        gap: 25px 0;
    }


    .number {

        padding:
            10px 15px;
    }


    .number strong {

        font-size: 38px;
    }


    .number span {

        font-size: 9px;
    }


    .mission {

        padding:
            70px 25px;

        gap: 45px;
    }


    .mission-image {

        height: 300px;
    }


    .mission-text h2 {

        font-size: 40px;
    }


    .expertises {

        padding:
            75px 25px;
    }


    .expertises-intro {

        margin-bottom: 45px;
    }


    .expertises-intro h2 {

        font-size: 38px;
    }


    .expertise-row {

        min-height: 75px;

        grid-template-columns:
            45px 1fr;
    }


    .expertise-row h3 {

        font-size: 20px;
    }


    .values {

        padding:
            75px 25px;

        gap: 45px;
    }


    .values-title h2 {

        font-size: 40px;
    }


    .values-content > p {

        font-size: 15px;

        margin-bottom: 0;
    }


    .agencies {

        padding:
            75px 25px;
    }


    .agencies-content {

        margin-bottom: 40px;
    }


    .agencies-content h2 {

        font-size: 40px;
    }


    .agencies-description {

        font-size: 15px;
    }


    .closing {

        height: 350px;
    }


    .closing-text {

        left: 25px;

        bottom: 35px;
    }


    .closing-text h2 {

        font-size: 40px;
    }


    .contact {

        padding:
            75px 25px;

        gap: 45px;
    }


    .contact-title h2 {

        font-size: 45px;
    }


    .contact-item a {

        font-size: 21px;
    }


    .footer {

        padding:
            35px 25px;

        flex-direction: column;

        gap: 20px;

        text-align: center;
    }


    .footer .construction {

        margin-top: 5px;
    }

}
