:root {
    --color_1: rgba(249, 249, 249, 1);
    --color_2: rgba(29, 29, 29, 1);
    --color_3: rgba(130, 91, 53, 1);
    --color_4: rgba(113, 113, 113, 1);
    --color_5: rgba(62, 40, 25, 1);
    --max-width: 1200px;
    --border-radius: 6px;
} 

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased; 
}

.main-nav,
.container,
.intro-container,
.footer-content, .hero, .cta-banner {
    max-width: 1400px;
    margin: 0 auto;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
} 

.lang-switcher {
    color: #666;
    font-size: 0.85rem;
} 

#main-header { 
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.main-nav {
    max-width: 1400px; 
    padding: 1.2rem 1rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
 
.logo {
    display: flex;
    align-items: center; 
    font-weight: 700;
    color: var(--color_3); 
    text-transform: uppercase; 
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 1rem;
}

.logo img {
    height: 70px; 
}

/* LIENS DE NAVIGATION - Groupés et proches */
.nav-links {
    display: flex;
    gap: 0.3rem;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--color_3);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    padding: 0.5rem 0.8rem;
    white-space: nowrap;
    display: block;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color_5);
}

/* NAV ACTIONS */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
    flex-shrink: 0;
    padding-left: 2rem;
}

.nav-links.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1rem;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 999;
}

.nav-links.mobile-active a {
    white-space: normal;
    text-align: center;
}

/* SÉLECTEUR DE LANGUE */
.lang-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.95rem;
    color: #666;
    white-space: nowrap;
}

.lang-switcher a {
    color: var(--color_3);
    font-weight: 600;
    transition: color 0.3s;
    padding: 0.4rem 0.6rem;
    font-size: 0.9rem;
}

.lang-switcher a:hover,
.lang-switcher a.active {
    color: var(--color_5);
}

.lang-switcher .separator {
    color: #ccc;
}

/* BOUTON TÉLÉPHONE  */
.phone-cta {
    background: var(--color_3);
    color: #fff;
    padding: 0.85rem 3rem;
    border-radius: var(--border-radius);
    font-weight: 400; 
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(130,91,53,0.25);
    white-space: nowrap;
}

.phone-cta:hover {
    background: var(--color_5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(130,91,53,0.35);
} 

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--color_3);
    transition: all 0.3s;
}

.hero {
    background: linear-gradient(rgba(51, 37, 28, 0.6), rgba(51, 49, 28, 0.6)), url('./images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    padding: 14rem 2rem 6rem; 
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: 4.6rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--color_1);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left; 
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;  
}

.btn {
    display: inline-block;
    padding: 0.85rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    text-align: center;
    padding-left: 4rem;   
    padding-right: 4rem; 
}

.btn-primary {
    background: #fff;
    color: rgb(130, 92, 53);
    box-shadow: 0 4px 15px rgba(130,91,53,0.3);
}

.btn-primary:hover {
    background: var(--color_5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(130,91,53,0.4);
}

.btn-block {
    width: 100%;
} 

.intro-section {
    padding: 5rem 2rem;
}

.intro-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.intro-section {
    padding: 5rem 2rem;
    background: #fff;
}

.intro-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
 
.intro-image {
    width: 100%;
    height: 100%;
    min-height: 500px; 
    overflow: hidden;
    margin-left: -6rem; 
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
 
.intro-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* FORMULAIRE EN HAUT */
.form-card {
    background: var(--color_1);
    padding: 1rem; 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 10;
    margin-top: -20rem;
}

.form-card h3 {
    font-size: 1.5rem;
    color: var(--color_5);
    margin-bottom: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color_2);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #fff;
    background: rgba(102,102,102,0.15);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color_3);
}

/* TEXTE EN BAS (sous le formulaire) */
.intro-content {
    background: #fff;
}

.intro-content h2 {
    font-size: 3.3rem;
    color: var(--color_5);
    margin-bottom: 1rem;
    text-align: left;
    line-height: 1.2;
}

.intro-content p {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

.intro-content a {
    color: var(--color_3);
    text-decoration: underline;
    transition: color 0.3s;
}

.intro-content a:hover {
    color: var(--color_5);
}

.cta-banner {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('./images/cta-background.jpeg') no-repeat center center;
    background-size: cover;
    color: #fff;
    padding: 4rem 2rem;
    text-align: center;
}
.cta-content p {
    font-size: 1.8rem;
    font-weight: normal;
    margin-bottom: 1.5rem;
}
  

.container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.services-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--color_5);
    margin-bottom: 3rem;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #d0d0d0;
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

.card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color_5);
    font-weight: 600;
}

.card-body p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.link-arrow {
    color: var(--color_3);
    font-weight: 700;
    transition: all 0.3s;
    display: inline-block;
}

.link-arrow:hover {
    color: var(--color_5);
    transform: translateX(5px);
}

/*  WHY CHOOSE SECTION */
.why-choose-section {
    padding: 5rem 2rem;
    background: #f8f9fa;
}

.why-choose-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--color_5);
    margin-bottom: 3rem;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.why-item {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
}

.why-content h4 {
    font-size: 1.1rem;
    color: var(--color_5);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.why-content p {
    color: #666;
    line-height: 1.6;
}

.divider {
    border: none;
    border-top: 2px solid #ddd;
    margin: 1.5rem 0;
}

.why-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
}

.why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.why-image-overlay p {
    font-size: 1.2rem;
    max-width: 80%;
}

.btn-arrow {
    background: var(--color_3);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.btn-arrow:hover {
    background: var(--color_5);
    transform: scale(1.1);
}

/*  TESTIMONIALS SECTION */
.testimonials-section {
    padding: 5rem 2rem;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--color_5);
    margin-bottom: 3rem;
    font-weight: 700;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: #d0d0d0;
}

.stars {
    color: var(--color_3);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: #444;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.testimonial-note {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 0.75rem;
}

.testimonial-author {
    font-weight: 700;
    color: var(--color_5);
}

/* SERVICE AREAS SECTION */
.service-areas-section { 
    color: #fff;
    padding: 5rem 2rem;
} 

.divider.white {
    border-color: rgba(255,255,255,0.3);
    margin: 2rem auto; 
    width: 100%;
}

.section-subtitle {
    text-align: center;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

.areas-list {
    display: block; 
    padding: 0; 
    text-align: center; 
}

.areas-list li { 
    margin-bottom: 0.5rem;
    background: none;  
    padding: 0;
    border-radius: 0;
    font-weight: normal; 
}

.areas-list li:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

.map-container {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
}

.map-container img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.service-areas-section {
    background: #f5f5f5;
    color: #69533d;
    padding: 6rem 1rem;
    text-align: center;
}

.service-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-text {
    flex: 1 1 300px;
    max-width: 500px;
}

.service-text h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.divider {
    width: 60px;
    border: 2px solid #69533d;
    margin: 0.5rem auto 1.5rem;
}

.service-text p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.areas-list {
    list-style: disc;
    padding-left: 1.5rem;
    text-align: left;
    margin: 0 auto;
}

.areas-list li {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.service-map {
    flex: 1 1 300px;
    max-width: 500px;
}

.service-map img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/*  FOOTER */
.main-footer {
    background: #fff;
    color: #4d2d1b;
    padding: 3rem 2rem;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-column p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-column a {
    color: var(--color_3);
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--color_1);
}

.footer-logo {
    height: 150px;
    width: auto;
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin: 2rem 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    opacity: 0.8;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.partner-logo {
    height: 30px;
    width: auto;
}

/*  RESPONSIVE */
   @media (max-width: 1200px) {
    .main-nav {
        padding: 1rem 1.5rem;
        gap: 2rem;
    }
    
    .logo img {
        height: 60px;
    }
    
    .logo span {
        font-size: 0.95rem;
    }
    
    .nav-links a {
        font-size: 0.9rem;
        padding: 0.5rem 0.6rem;
    }
    
    .phone-cta {
        padding: 0.85rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }
 
    .nav-links.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 1rem;
        gap: 1rem;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        z-index: 999;
    }

    .nav-links.mobile-active a {
        white-space: normal;
        text-align: center;
        font-size: 1rem;
    }
 
    .phone-cta {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .intro-container,
    .why-choose-grid,
    .testimonials-grid,
    .services-grid {
        grid-template-columns: 1fr;  
        gap: 2rem;
    }
    
    .intro-image {
        margin-left: 0;  
        min-height: 300px;  
    }

    .service-map {
        max-width: 100%;  
    }

    .service-text {
        max-width: 100%;
        text-align: center; 
    } 
    .service-container {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    } 
    .form-card {
        margin-top: -8rem;  
        padding: 1rem;
        width: 90%;  
        max-width: 400px;  
        margin-left: auto;
        margin-right: auto; 
        box-sizing: border-box;
    }
    .form-card {
        margin-top: -5rem; 
        padding: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;  
    }

    .form-group input,
    .form-group textarea {
        width: 100%;  
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 8rem 1rem 4rem;
    } 

    .form-card {
        margin-top: -10rem;  
        padding: 1rem;
    }

    .intro-image img {
        object-fit: cover;  
    }
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .nav-links.mobile-active {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 0.5rem 0;
        gap: 0.5rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }
    .nav-links.mobile-active a {
        text-align: center;
        font-size: 0.9rem;
        padding: 0.5rem;
        white-space: normal;
    }
 
    .form-card {
        margin: 0 0.5rem !important;
        padding: 1rem !important;
        width: auto !important;
    }
    .form-row {
        grid-template-columns: 1fr !important; /* chaque champ en ligne */
        gap: 0.5rem !important;
    }
    .form-group input,
    .form-group textarea {
        width: 100%;
    }
 
    .hero h1 {
        font-size: 2rem !important;
        line-height: 1.2;
    }
 
    .intro-container {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    .intro-image {
        margin-left: 0 !important;
        min-height: 250px !important;
    }
 
    .service-container,
    .why-choose-grid,
    .testimonials-grid {
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
 
    .service-map img,
    .map-container img,
    .why-image img {
        width: 100% !important;
        height: auto !important;
    }
 
    .btn, .phone-cta {
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem !important;
    }
}