/* Reset de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    width: 100%;
    padding: 20px 5%;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    opacity: 0.6;
}

/* Barre de recherche */
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box input {
    padding: 8px 15px;
    border: 1px solid #000;
    border-radius: 4px;
    font-size: 14px;
}

/* Menu Langues */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-btn {
    background: none;
    border: 1px solid #000;
    padding: 5px 10px;
    cursor: pointer;
    font-weight: bold;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #fff;
    min-width: 120px;
    border: 1px solid #000;
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 10px;
    text-decoration: none;
    display: block;
    font-size: 13px;
}

.dropdown-content a:hover {background-color: #f1f1f1}

.lang-dropdown:hover .dropdown-content {
    display: block;
}

/* Bannière */
.banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Section Titre */
.title-section {
    padding: 60px 20px;
    text-align: center;
}

.title-section .container {
    max-width: 800px;
    margin: 0 auto;
    border: 2px solid #000;
    padding: 40px;
}

.title-section h1 {
    font-size: 40px;
    font-weight: 900;
}

.title-section h1 span {
    font-size: 18px;
    display: block;
    font-weight: 400;
    margin-top: 10px;
    letter-spacing: 1px;
}

/* Grille d'images */
.image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    gap: 5px; /* Petit espace entre les images */
}

.grid-item img {
    width: 100%;
    height: 300px; /* Hauteur fixe pour l'uniformité */
    object-fit: cover;
    transition: 0.5s;
}

.grid-item img:hover {
    filter: grayscale(0%);
}

/* Responsive */
@media (max-width: 900px) {
    .nav-links, .search-box { display: none; } /* On cache pour mobile pour simplifier */
    .image-grid { grid-template-columns: repeat(2, 1fr); }
}


/* --- NOUVELLES MODIFICATIONS --- */

/* Marges globales pour centrer le contenu (Marge de gauche et droite) */
.main-margin {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

/* Section Titre Modifiée (Sans cadre noir épais) */
.title-section {
    padding: 40px 20px;
    text-align: center;
}

.title-section h1 {
    font-size: 50px;
    font-weight: 900;
    margin-bottom: 5px;
}

.title-section .subtitle {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 2px;
}

/* Grilles d'images (Suppression du filtre gris) */
.grid-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain; /* Garde les proportions */
}

.image-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 70%;          /* réduit la largeur totale */
    margin: 50px auto;   /* centre horizontalement */
}

.image-grid-3 img {
    width: 100%;
    height: auto;
}

/* Style du Formulaire */
.form-section {
    background-color: #f9f9f9;
    padding: 40px;
    border: 1px solid #000;
    margin-top: 30px;
}

.vgc-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.vgc-form input, .vgc-form select {
    padding: 12px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.row-flex {
    display: flex;
    gap: 10px;
}

.file-label {
    padding: 15px;
    border: 1px dashed #000;
    text-align: center;
    cursor: pointer;
    background: #fff;
    font-weight: bold;
}

.verify-btn {
    background-color: #000;
    color: #fff;
    padding: 15px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.verify-btn:hover {
    background-color: #333;
}

/* Section Split (Texte à gauche, Image à droite) */
.split-section {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 60px 20px;
}

.split-left { flex: 1; }
.split-right { flex: 1; }

.split-left h2 { font-size: 28px; margin-bottom: 10px; }
.split-right img { width: 100%; height: auto; border-radius: 4px; }

.buy-navy-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    background-color: #000080; /* Bleu Marine */
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 2px;
}

/* Section 4 images ajustées */
.image-grid-fit {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 85%;              /* largeur du conteneur */
    margin: 40px auto;       /* centre horizontalement */
    gap: 20px;               /* espace entre les images */
}

.image-grid-fit img {
    width: 100%;
    height: auto;
    display: block;

   
}

/* Section Info (Pourquoi vérifier) */
.info-section {
    padding: 60px 20px;
    text-align: left;
}

.info-section h3 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .image-grid, .image-grid-3, .image-grid-fit { grid-template-columns: 1fr; }
    .split-section { flex-direction: column; text-align: center; }
}

/* --- NOUVELLES PARTIES FORMULAIRE --- */
.password-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-container input {
    width: 100%;
}

.password-container i {
    position: absolute;
    right: 15px;
    cursor: pointer;
    color: #666;
}

/* --- NOUVELLES SECTIONS BAS --- */

/* Section 2 images alignées */
.two-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

/* Section divisée en 3 (Image - Texte - Image) */
.three-part-section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 30px;
    margin-top: 60px;
    margin-bottom: 60px;
}

.part-img {
    flex: 1;
}

.part-img img {
    width: 100%;
    max-width: 300px; /* Taille ajustable */
    height: auto;
}

.part-text {
    flex: 1;
}

.part-text h2 {
    font-size: 60px;
    font-weight: 900;
    margin: 0;
}

.part-text p {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Image pleine largeur */
.full-width-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Footer / Copyright */
.footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: #555;
    background-color: #fff;
}

/* Responsive pour les nouvelles sections */
@media (max-width: 768px) {
    .two-images, .three-part-section {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
}

/* --- PAGE REVENDRE --- */

.full-width-banner {
    width: 100%;
    overflow: hidden;
}

.full-width-banner img {
    width: 100%;
    height: auto;
    max-height: 450px; /* Ajustez la hauteur selon votre image */
    object-fit: cover;
    display: block;
}

/* On réutilise les styles .form-section et .vgc-form déjà créés précédemment */