/* --- Variables et Reset --- */
:root {
    --primary-color: #8C6239; /* Marron élégant rappelant la robe */
    --primary-light: #F7F4F0; /* Crème doux pour le fond */
    --accent-color: #D4A373;  /* Doré/Sable chaud */
    --text-dark: #332720;     /* Marron très foncé pour les textes */
    --text-light: #665246;    /* Teinte adoucie pour le corps de texte */
    --white: #FFFFFF;
    --font-heading: Georgia;
    --font-body: cursive, sans-serif;
    --shadow: 0 10px 30px rgba(140, 98, 57, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* --- Typographie & Boutons --- */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.btn-primary, .btn-secondary, .btn-nav {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--text-dark);
    border-color: var(--text-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* --- Header & Navigation --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.03);
}

header .logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

header .logo span {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    color: var(--accent-color);
    margin-top: -5px;
}

header nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

header nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

header nav a:hover {
    color: var(--primary-color);
}

header nav .btn-nav {
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 8px 20px;
}

header nav .btn-nav:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* --- Section Hero --- */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 85px);
    align-items: center;
    background-color: var(--primary-light);
    padding: 40px 80px;
    gap: 40px;
}

.hero-content {
}

.hero-content .badge {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    height: 550px;
    width: 420px;
    border-radius: 200px 200px 20px 20px; /* Forme de dôme élégante */
    box-shadow: var(--shadow);
    border: 8px solid var(--white);
}

/* --- Section À Propos --- */
.about-section {
    padding: 100px 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.specs-table {
    margin-top: 30px;
    background-color: var(--primary-light);
    padding: 25px;
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
}

.spec-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(140, 98, 57, 0.1);
}

.spec-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.spec-item:first-child {
    padding-top: 0;
}

.about-img-box img {
    border-radius: 20px;
    box-shadow: var(--shadow);
    max-height: 700px;
    width: 100%;
}

/* --- Section Galerie --- */
.gallery-section {
    padding: 100px 0;
    background-color: var(--primary-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    background-color: var(--white);
    height: 280px;
}

.gallery-item.item-tall {
    grid-row: span 2;
    height: 580px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* --- Section WALA --- */
.wala-section {
    padding: 50px 0;
    background: linear-gradient(rgba(51, 39, 32, 0.85), rgba(51, 39, 32, 0.85)), url('IMG_4780.jpeg') center/cover no-repeat fixed;
    color: var(--white);
    text-align: center;
}

.wala-content {
    max-width: 800px;
    margin: 0 auto;
}

.wala-text h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.wala-text p {
    color: #E2DCD8;
    font-size: 1.2rem;
    margin-bottom: 35px;
}

.btn-wala {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: background 0.3s;
}

.btn-wala:hover {
    background-color: var(--white);
    color: var(--text-dark);
}

/* --- Section Contact --- */
.contact-section {
    padding: 100px 0;
    background-color: var(--white);
}

.contact-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid rgba(140, 98, 57, 0.05);
}

.contact-info {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px;
}

.contact-info h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.contact-info p {
    color: #F7F4F0;
    margin-bottom: 40px;
}

.info-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-wala {
    color: #ffffff;
}
.info-wala:hover {
    color: var(--accent-color);
}

.info-link-item {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--white);
    text-decoration: none;
}

.info-link-item.link:hover strong {
    text-decoration: underline;
    color: var(--accent-color);
}

.info-link-item .icon {
    background-color: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-size: 1.2rem;
}

.info-link-item label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #E2DCD8;
}

.info-link-item strong {
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-form-mock {
    padding: 60px;
    background-color: var(--primary-light);
}

.contact-form-mock h3 {
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgba(140, 98, 57, 0.2);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background-color: var(--white);
    outline: none;
    transition: border 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
}

.full-width {
    width: 100%;
    cursor: pointer;
}

/* --- Footer --- */
footer {
    background-color: var(--text-dark);
    color: #A6968E;
    text-align: center;
    padding: 30px;
    font-size: 0.9rem;
}

/* --- Responsive (Mobiles et Tablettes) --- */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 40px;
        text-align: center;
        min-height: auto;
    }
    .hero-content {
        max-width: 100%;
        order: 2;
    }
    .hero-image {
        order: 1;
    }
    .hero-image img {
        height: 400px;
        width: 300px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .about-grid, .contact-box {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    .gallery-item.item-tall {
        grid-row: span 1;
        height: 280px;
    }
    header {
        padding: 20px;
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .contact-info, .contact-form-mock {
        padding: 30px 20px;
    }
    .hero-buttons {
        flex-direction: column;
    }
}