:root {
    /* Rouge Exact demandé */
    --red: #A73027;
    --cream: #FFF9E5;
    --black: #0A0A0A;
    --grey: #161616;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--black);
    color: var(--cream);
    line-height: 1.6;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 5%;
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 2px solid var(--red);
    z-index: 1000;
}

.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 35px; border-radius: 4px; }
.nav-logo span { font-weight: 900; letter-spacing: 2px; font-size: 1.2rem; }

.nav-btn {
    background: var(--red);
    color: var(--cream);
    text-decoration: none;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 3px 3px 0px var(--cream);
}

/* HERO */
.hero {
    height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding: 0 5%;
    /* Gradient ajusté avec le rouge #A73027 (RGB: 167, 48, 39) */
    background: radial-gradient(circle, rgba(167,48,39,0.15) 0%, rgba(10,10,10,1) 70%);
}

.badge {
    color: var(--red);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    margin: 15px 0;
}

.highlight {
    color: var(--red);
    text-shadow: 4px 4px 0px var(--cream);
}

.hero p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    color: #bbb;
}

.hero-btns { display: flex; gap: 20px; justify-content: center; }

.cta-main, .cta-secondary {
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 900;
    transition: 0.3s;
}

.cta-main { background: var(--red); color: var(--cream); }
.cta-secondary { border: 2px solid var(--cream); color: var(--cream); }

/* SERVICES */
.services { padding: 100px 10%; background: var(--grey); }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.5rem; font-weight: 900; }
.bar { width: 60px; height: 5px; background: var(--red); margin: 10px auto; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--black);
    padding: 30px;
    border-bottom: 4px solid var(--red);
    transition: transform 0.3s;
}

.service-card:hover { transform: translateY(-10px); }
.service-card h3 { margin-bottom: 15px; color: var(--red); }

/* MISSION */
.mission { padding: 80px 10%; text-align: center; }
.mission p { font-style: italic; font-size: 1.5rem; max-width: 800px; margin: 0 auto; }

/* CONTACT FORM */
.contact-section { padding: 100px 5%; background: var(--black); }
.form-container {
    max-width: 650px;
    margin: 0 auto;
    background: var(--grey);
    padding: 40px;
    border: 1px solid #333;
}

.form-header { text-align: center; margin-bottom: 30px; }
.form-header h2 { color: var(--red); font-size: 2rem; }

.form-group { margin-bottom: 20px; }
label { display: block; margin-bottom: 5px; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; }
input, textarea {
    width: 100%; padding: 12px;
    background: #000; border: 1px solid #333;
    color: #fff; font-family: inherit;
}

.submit-btn {
    width: 100%; padding: 18px;
    background: var(--red); color: var(--cream);
    border: none; font-weight: 900; font-size: 1rem;
    cursor: pointer;
    box-shadow: 4px 4px 0px var(--cream);
    transition: 0.3s;
}
.submit-btn:disabled { opacity: 0.7; cursor: not-allowed; }

footer { text-align: center; padding: 40px; font-size: 0.8rem; opacity: 0.6; }

@media (max-width: 768px) {
    .hero-btns { flex-direction: column; }
    .hero h1 { font-size: 2.5rem; }
}

/* STATS */
.stats-section {
    padding: 60px 10%;
    background-color: var(--red);
    color: var(--cream);
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    text-shadow: 3px 3px 0px var(--black);
}

.stat-text {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* PROCESSUS */
.process-section {
    padding: 100px 10%;
    background: var(--black);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.step {
    background: var(--grey);
    padding: 30px;
    position: relative;
    border: 1px solid #222;
}

.step-num {
    font-size: 3.5rem;
    font-weight: 900;
    /* Ajusté avec le nouveau rouge en transparence */
    color: rgba(167, 48, 39, 0.2);
    position: absolute;
    top: 5px;
    right: 15px;
}

.step h3 {
    color: var(--red);
    margin-bottom: 15px;
    font-size: 1.1rem;
    position: relative;
}

/* FAQ */
.faq-section {
    padding: 100px 10%;
    background: var(--grey);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.faq-item h4 {
    color: var(--red);
    margin-bottom: 10px;
    border-left: 3px solid var(--red);
    padding-left: 15px;
}

.faq-item p {
    color: #ccc;
    font-size: 0.9rem;
}

/* PROOFS SECTION */
.proofs-section {
    padding: 100px 10%;
    background: var(--black);
}

.proofs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.proof-item {
    border: 1px solid #333;
    background: var(--grey);
    padding: 10px;
    transition: transform 0.3s;
    border-bottom: 4px solid var(--red);
}

.proof-item:hover { transform: translateY(-5px); }

.proof-item img {
    width: 100%;
    height: auto;
    display: block;
}

.proof-placeholder {
    width: 100%;
    height: 250px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-weight: bold;
    border: 2px dashed #333;
}

@media (max-width: 768px) {
    .stat-number { font-size: 2rem; }
    .steps-container { grid-template-columns: 1fr; }
}

/* PROOFS SECTION */
.proofs-section {
    padding: 100px 10%;
    background: var(--black);
}

.proofs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.proof-item {
    border: 1px solid #333;
    background: var(--grey);
    padding: 10px;
    transition: transform 0.3s;
    border-bottom: 4px solid var(--red);
}

.proof-item:hover { transform: translateY(-5px); }

/* Le cadre qui contient l'image */
.proof-placeholder {
    width: 100%;
    height: 350px; /* Hauteur fixe pour que toutes les boites soient égales */
    background: #000;
    border: 1px solid #222;
    overflow: hidden; /* IMPORTANT : Coupe ce qui dépasse */
    position: relative;
}

/* Le span qui entoure l'image */
.proof-placeholder span {
    width: 100%;
    height: 100%;
    display: block;
}

/* L'image elle-même */
.proof-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* MAGIQUE : Remplit le cadre sans déformer l'image */
    object-position: top center; /* Affiche le haut de l'image (souvent le plus important sur un dashboard) */
    display: block;
}   

/* --- MODELS SECTION (Remplace Proofs) --- */
.models-section {
    padding: 100px 10%;
    background: var(--black);
}

.models-container {
    display: flex;
    flex-direction: column;
    gap: 60px; /* Espace entre Lamia et Maria */
    margin-top: 40px;
}

.model-card {
    background: var(--grey);
    border: 1px solid #333;
    border-bottom: 4px solid var(--red); /* Touche de rouge Comet */
    overflow: hidden;
}

.model-text {
    padding: 30px;
    text-align: left;
    border-bottom: 1px solid #222;
}

.model-text h3 {
    color: var(--red);
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.model-text p {
    color: #ddd;
    font-size: 1rem;
    font-style: italic;
    line-height: 1.8;
}

/* Galerie d'images (Photo + Résultat) */
.model-gallery {
    display: flex;
    height: 350px; /* Hauteur fixe pour l'alignement */
}

.img-wrapper {
    flex: 1; /* Chaque image prend 50% de la largeur */
    position: relative;
    border-right: 1px solid #222;
    overflow: hidden;
}

.img-wrapper:last-child {
    border-right: none;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* L'image remplit tout sans déformer */
    object-position: center top; /* Focus sur le haut (visage/chiffres) */
    transition: transform 0.5s;
}

/* Petit effet de zoom au survol */
.model-card:hover .img-wrapper img {
    transform: scale(1.05);
}

/* Petits badges sur les images */
.img-label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: var(--red);
    padding: 5px 10px;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    border: 1px solid var(--red);
    z-index: 2;
}

/* Version Mobile : On empile les images l'une sur l'autre */
@media (max-width: 768px) {
    .model-gallery {
        flex-direction: column;
        height: auto;
    }
    .img-wrapper {
        height: 300px;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #222;
    }
}


/* --- MODELS SECTION (Design Alterné) --- */
.models-section {
    padding: 100px 10%;
    background: var(--black);
}

.models-container {
    display: flex;
    flex-direction: column;
    gap: 80px; /* Espace entre les deux modèles */
}

.model-row {
    display: flex;
    align-items: center; /* Centre le texte verticalement par rapport à l'image */
    gap: 50px;
    background: var(--grey);
    padding: 20px;
    border: 1px solid #222;
    transition: transform 0.3s;
}

.model-row:hover {
    transform: translateY(-5px);
    border-color: var(--red);
}

/* IMAGE */
.model-image {
    flex: 1; /* Prend 50% de la place */
    height: 400px; /* Hauteur fixe pour l'élégance */
    border-bottom: 4px solid var(--red);
    position: relative;
    overflow: hidden;
}

.model-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Remplit le cadre sans déformation */
    display: block;
}

/* TEXTE */
.model-content {
    flex: 1; /* Prend 50% de la place */
    padding: 20px;
}

.model-content h3 {
    color: var(--cream);
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.separator {
    width: 50px;
    height: 3px;
    background: var(--red);
    margin-bottom: 20px;
}

.model-content p {
    color: #bbb;
    font-size: 1.05rem;
    line-height: 1.8;
    font-style: italic;
}

/* MOBILE : On empile tout verticalement */
@media (max-width: 900px) {
    .model-row {
        flex-direction: column;
        padding: 0;
    }
    
    /* Pour la version mobile, on veut toujours l'image en premier */
    .model-row.reverse {
        flex-direction: column-reverse; 
    }

    .model-image {
        width: 100%;
        height: 350px;
    }
    
    .model-content {
        padding: 30px;
        text-align: center;
    }

    .separator { margin: 10px auto 20px auto; }
}