/* ==========================================================================
   1. POLICES (FONT-FACE)
   ========================================================================== */
@font-face {
    font-family: "Franklin Gothic Book";
    src: url("fonts/franklin-gothic-book.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Antos";
    src: url("fonts/antos.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

/* ==========================================================================
   2. REZ-DE-CHAUSSÉE & STYLES DE BASE
   ========================================================================== */
* {
    box-sizing: border-border-box;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: "Franklin Gothic Book", "Libre Franklin", Arial, sans-serif;
    color: #2c2c2c;
}

main,
header,
footer,
section,
article {
    max-width: 100%;
}

/* Titres principales */
.hero_title,
.home_section_title,
.card_title,
.nav_title {
    font-family: "Antos", "Franklin Gothic Book", sans-serif;
}

/* ==========================================================================
   3. BOUTONS
   ========================================================================== */
.bttn_contact {
    width: 125px;
    height: 50px;
    margin: 10px;
    background-color: #17341A;
    color: #71A955;
    border: 2px solid #17341A;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 2px 4px darkslategray;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.bttn_contact:hover {
    transform: scale(1.05);
}

.bttn_plus {
    width: 115px;
    height: 45px;
    margin: 10px;
    background-color: #E8E4D9;
    color: #17341A;
    border: 2px solid #17341A; /* Corrigé : remplacement du % par px */
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 2px 4px darkslategray;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.bttn_plus:hover {
    transform: scale(1.05);
}

.bttn_rdv {
    width: 235px;
    height: 65px;
    margin: 20px auto;
    background-color: #17341A;
    color: #F68424;
    border: 2px solid #17341A; /* Corrigé : remplacement du % par px */
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 2px 4px darkslategray;
    transition: transform 0.3s ease;
    cursor: pointer;
    display: block;
}

.bttn_rdv:hover {
    transform: scale(1.05);
}

.btn_discovery {
    display: inline-block;
    padding: 17px 30px;
    background-color: #17341A;
    color: #F68424;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.btn_discovery:hover {
    transform: translateY(-3px);
}

/* ==========================================================================
   4. SECTIONS HERO & ENTÊTES
   ========================================================================== */
.home_hero {
    padding: 80px 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero_overline {
    margin-bottom: 15px;
    color: #71A955;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero_title {
    max-width: 850px;
    margin: 0;
    color: #17341A;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1.1;
    text-align: center;
}

.hero_title span {
    color: #F68424;
}

.hero_subtitle {
    max-width: 650px;
    margin: 15px auto 0;
    font-size: 1.15rem;
    line-height: 1.6;
}

.hero_actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.home_section_heading {
    text-align: center;
    margin-bottom: 35px;
}

.section_overline {
    display: inline-block;
    margin-bottom: 8px;
    color: #17341A;
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.home_section_title {
    margin: 0;
    color: #17341A;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.home_section_title span {
    color: #F68424;
}

/* ==========================================================================
   5. COMPOSANTS (CARDS, VIGNETTES, MENU)
   ========================================================================== */
.vignette {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    width: 100%;
    max-width: 400px;
    min-height: 250px;
    background-color: #E8E4D9;
    border: 1px solid black;
    box-shadow: 0px 5px 15px -5px #000000;
    border-radius: 12px;
    gap: 15px;
}

.div_between {
    width: 90%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

.icon_div {
    border: 2px solid black;
    padding: 5px;
    height: 90%;
    width: 70px;
    min-width: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #71A955;
    border-radius: 8px;
}

.icon_div > img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.card {
    background-color: #E8E4D9;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    color: #2c2c2c;
    line-height: 1.5;
    box-shadow: 0px 5px 15px -5px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    margin: 30px auto;
    width: 90%;
}

.badge {
    display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.35rem;
    letter-spacing: 0.5px;
    color: #b35c00;
    background-color: #f3e5d8;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.card p {
    margin: 0;
    font-size: 0.95rem;
}

.arrow_div {
    padding: 5px;
    width: 60px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #2e531f;
    border-radius: 8px;
    box-shadow: 0px 5px 5px -5px #000000;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.arrow_div:hover {
    transform: scale(1.1);
}

.menu_hint {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(0, 0, 0, 0.55);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.banner:hover .menu_hint {
    opacity: 0;
}

/* ==========================================================================
   6. SERVICES GRID
   ========================================================================== */
.services_section {
    padding: 40px 20px 80px;
    background-color: #71A955;
}

.services_grid {
    width: 90%;
    max-width: 950px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.service_card {
    padding: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #E8E4D9;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 7px 22px -12px rgba(0, 0, 0, 0.55);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.6);
}

.service_icon {
    width: 90px;
    height: 90px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service_icon img {
    max-width: 100%;
    max-height: 100%;
}

.card_title {
    margin: 0 0 15px;
    color: #17341A;
    font-size: 2rem;
}

.service_card p {
    min-height: 75px;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
}

.service_link {
    margin-top: 25px;
    color: #17341A;
    font-weight: bold;
    text-decoration: none;
}

.service_link span {
    display: inline-block;
    margin-left: 6px;
    color: #F68424;
    font-size: 1.3rem;
    transition: transform 0.2s ease;
}

.service_link:hover span {
    transform: translateX(5px);
}

.services_cta {
    margin-top: 45px;
    text-align: center;
}

/* ==========================================================================
   7. SECTIONS & LAYOUT FLEX / MEDIA QUERIES
   ========================================================================== */
.section_travail {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.bg_green {
    width: 100%;
    padding: 30px 15px;
}

@media screen and (min-width: 1024px) {
    .section_travail {
        flex-direction: row;
        gap: 5%;
    }
}

@media screen and (max-width: 768px) {
    .max_w {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .banner {
        width: 100%;
        max-width: 100%;
        position: relative;
    }

    .menu_hint {
        top: 10px;
        right: 10px;
        font-size: 13px;
        padding: 7px 12px;
    }

    main > section:first-child {
        width: 100%;
        padding: 30px 20px;
        text-align: center;
    }

    main > section:first-child > p {
        width: 100%;
        font-size: 1.5rem !important;
        padding: 0 10px;
    }

    main > section:first-child .flex_row {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    footer > section.flex_row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-left: 20px;
        padding-right: 20px;
        gap: 20px !important;
    }

    footer article {
        width: 100%;
    }

    footer img {
        width: 180px !important;
        max-width: 60%;
        padding-right: 0 !important;
    }

    .txt_footer {
        text-align: center;
        overflow-wrap: anywhere;
    }
}