
/* ========================================
   1. VARIABLES ET BASE
======================================== */

:root {
    --green: #17251E;
    --green-light: #263B2E;
    --gold: #D69A53;
    --cream: #F8F3E9;
    --white: #FFFFFF;
    --brown: #342820;
    --text: #66645E;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--cream);
    color: var(--brown);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========================================
   2. HEADER ET NAVIGATION
======================================== */

.header {
    min-height: 85px;
    padding: 15px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--green);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 23px;
    font-weight: bold;
    color: var(--white);
    letter-spacing: 1px;
}

.logo span {
    color: var(--gold);
}

.navigation {
    display: flex;
    align-items: center;
    gap: 28px;
}

.navigation a {
    font-size: 14px;
    transition: color 0.3s ease;
}

.navigation a:hover {
    color: var(--gold);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

/* ========================================
   3. BOUTONS
======================================== */

.btn {
    display: inline-block;
    background-color: var(--gold);
    color: var(--green);
    padding: 13px 23px;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #E8B875;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--gold);
    color: var(--green);
}

.header-btn {
    font-size: 13px;
}

/* ========================================
   4. SECTION ACCUEIL
======================================== */

.hero {
    min-height: 600px;
    padding: 90px 10%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 50px;
    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(214, 154, 83, 0.15),
            transparent 40%
        ),
        var(--green);
    color: var(--white);
}

.hero-content {
    max-width: 680px;
}

.subtitle,
.section-subtitle {
    color: var(--gold);
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(38px, 5vw, 65px);
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero-description {
    max-width: 570px;
    font-size: 17px;
    color: #D8DDD8;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-card {
    width: 100%;
    max-width: 340px;
    min-height: 300px;
    padding: 40px 30px;
    border: 1px solid rgba(214, 154, 83, 0.5);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.visual-icon {
    font-size: 45px;
    color: var(--gold);
    margin-bottom: 25px;
}

.visual-card h3 {
    font-size: 27px;
    line-height: 1.3;
    margin-bottom: 15px;
}

.visual-card p {
    color: #D8DDD8;
}

/* ========================================
   5. TITRES DE SECTIONS
======================================== */

.section-heading {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-heading h2,
.about-content h2 {
    color: var(--green);
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 18px;
}

.section-heading > p:last-child {
    color: var(--text);
}

/* ========================================
   6. SERVICES
======================================== */

.services-section {
    padding: 95px 8%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    padding: 35px 25px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    border-bottom-color: var(--gold);
}

.service-icon {
    display: inline-block;
    font-size: 35px;
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--green);
    font-size: 21px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text);
    font-size: 15px;
}

/* ========================================
   7. REALISATIONS
======================================== */

.portfolio-section {
    background-color: #EDE5D7;
    padding: 95px 8%;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.portfolio-card {
    overflow: hidden;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
}

.portfolio-image {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.portfolio-image img {
    width: 100%;
    display: block;
    border-radius: 12px;
}
.portfolio-image .btn {
    align-self: flex-start;
}

.portfolio-card:hover img {
    transform: scale(1.05);
}

.portfolio-content {
    padding: 25px;
}

.project-type {
    color: #A66B2C;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
}

.portfolio-content h3 {
    color: var(--green);
    font-size: 23px;
    margin: 10px 0;
}

.portfolio-content p {
    color: var(--text);
    font-size: 15px;
}

.portfolio-note {
    text-align: center;
    margin-top: 25px;
    color: var(--text);
    font-size: 13px;
    font-style: italic;
}

/* ========================================
   8. A PROPOS
======================================== */

.about-section {
    padding: 100px 10%;
    background-color: var(--cream);
}

.about-content {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.about-content p:not(.section-subtitle) {
    color: var(--text);
    font-size: 17px;
    margin: 25px 0 35px;
}

/* ========================================
   9. CONTACT
======================================== */

.contact-section {
    padding: 90px 8%;
    text-align: center;
    background-color: var(--green-light);
    color: var(--white);
}

.contact-section h2 {
    max-width: 750px;
    margin: 0 auto 20px;
    font-size: 40px;
    line-height: 1.2;
}

.contact-section > p:not(.section-subtitle) {
    max-width: 650px;
    margin: 0 auto 30px;
    color: #D8DDD8;
}

/* ========================================
   10. FOOTER
======================================== */

.footer {
    padding: 35px 8%;
    background-color: var(--green);
    color: var(--white);
    text-align: center;
}

.footer > p {
    margin-top: 12px;
    color: #D8DDD8;
    font-size: 14px;
}

.footer .copyright {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 12px;
}

/* ========================================
   11. RESPONSIVE : TABLETTES
======================================== */

@media screen and (max-width: 1000px) {

    .header {
        padding: 15px 4%;
    }

    .navigation {
        gap: 15px;
    }

    .hero {
        padding: 75px 7%;
        gap: 30px;
    }

    .services-section,
    .portfolio-section {
        padding: 75px 6%;
    }
}

/* ========================================
   12. RESPONSIVE : TELEPHONES
======================================== */

@media screen and (max-width: 700px) {

    .header {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 17px 5%;
    }

    .menu-toggle {
        display: block;
    }

    .header-btn {
        display: none;
    }

    .navigation {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 18px;
        padding: 20px 0;
    }

    .navigation.active {
        display: flex;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 75px 7%;
        text-align: center;
    }

    .hero-content {
        margin: auto;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 15px;
    }

    .visual-card {
        min-height: 230px;
    }

    .section-heading h2,
    .about-content h2 {
        font-size: 30px;
    }

    .services-section,
    .portfolio-section {
        padding: 70px 6%;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .contact-section {
        padding: 70px 7%;
    }

    .contact-section h2 {
        font-size: 30px;
    }

    .about-section {
        padding: 75px 7%;
    }
}
