:root {
    --primary: #1e3a8a; /* Bleu institutionnel */
    --accent: #d4af37;  /* Or sable */
    --text: #334155;
    --light: #f8fafc;
}

body { font-family: 'Montserrat', sans-serif; color: var(--text); margin: 0; line-height: 1.6; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header & Nav */
header { background: white; padding: 15px 0; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.site-logo { height: 50px; }
nav a { text-decoration: none; color: var(--text); font-weight: 600; margin-left: 20px; font-size: 0.9rem; }

/* --- SECTION HERO --- */
.hero { 
    position: relative; 
    height: 80vh; /* Augmenté un peu pour donner de l'espace */
    display: flex; 
    align-items: center; 
    color: white; 
    overflow: hidden; 
}

.hero-banner { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: -1; 
}

.hero-img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    /* Si le personnage est trop à gauche, vous pouvez tester : object-position: left; */
}

.hero-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0, 0, 0, 0.4); /* Assombrit légèrement pour lire le texte blanc */
}

/* ALIGNEMENT À DROITE */
.hero-inner { 
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Aligne les éléments (titre, p, bouton) à droite du bloc */
    text-align: right;     /* Aligne le texte à droite */
    width: 100%;
    margin-left: auto;     /* Pousse tout le conteneur vers la droite */
}

.hero h2 { 
    font-size: 2.5rem; 
    max-width: 600px;      /* Limite la largeur pour ne pas écraser le personnage */
    margin-bottom: 20px; 
    line-height: 1.2;
    font-weight: 700;
}

.hero p { 
    font-size: 1.1rem; 
    max-width: 500px;      /* Plus étroit pour une lecture élégante à droite */
    margin-bottom: 30px; 
}

/* Grilles & Sections */
.section-title { text-align: center; margin-bottom: 40px; color: var(--primary); }
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.usp-item { background: white; padding: 30px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.bg-light { background: var(--light); padding: 60px 0; }

/* Boutons */
.cta-button { background: var(--primary); color: white; border: none; padding: 12px 25px; border-radius: 4px; cursor: pointer; text-decoration: none; transition: 0.3s; }
.cta-button.gold { background: var(--accent); color: #1a1a1a; }
.cta-button:hover { opacity: 0.9; transform: translateY(-2px); }

/* Footer */
.site-footer { background: #1a1a1a; color: #999; padding: 40px 0; text-align: center; margin-top: 50px; }
.site-footer a { color: var(--accent); text-decoration: none; }

/* --- CONTACT SECTION IMPROVED --- */
.section-subtitle {
    text-align: center;
    margin-bottom: 50px;
    color: #64748b;
    font-size: 1.1rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
}

.contact-info .info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact-info .icon {
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--primary);
}

.contact-info h4 { margin: 0; color: var(--primary); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.contact-info p { margin: 5px 0 0; color: var(--text); font-weight: 500; }

/* Champs de formulaire flottants */
.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 2px solid #e2e8f0;
    outline: none;
    background: transparent;
    font-family: inherit;
    transition: 0.3s;
}

.form-group label {
    position: absolute;
    top: 12px;
    left: 0;
    color: #94a3b8;
    pointer-events: none;
    transition: 0.3s;
}

/* Animation au focus */
.form-group input:focus, .form-group textarea:focus { border-bottom-color: var(--primary); }
.form-group input:focus + label, 
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -12px;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

/* Captcha Style */
.captcha-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 0.9rem;
}

.captcha-container input {
    width: 60px;
    padding: 5px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    text-align: center;
}

/* Mobile */
@media (max-width: 768px) {
    .contact-wrapper { grid-template-columns: 1fr; }
}
/* Style pour la liste déroulante */
select#secteur {
    cursor: pointer;
    appearance: none; /* Supprime le style par défaut du navigateur */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231e3a8a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 20px;
}

select#secteur:focus {
    border-bottom-color: var(--primary);
}
/* Pour s'assurer que le textarea est bien dimensionné */
textarea#message {
    resize: vertical; /* Permet à l'utilisateur d'agrandir la zone vers le bas */
    min-height: 100px;
}

/* Style spécifique pour harmoniser le select */
select#secteur {
    font-size: 1rem;
    color: #475569; /* Gris sobre pour les options */
}
/* --- SELECTEUR DE LANGUE AVEC DRAPEAUX --- */
.language-selector {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-left: 20px;
}

.language-selector button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column; /* Drapeau au-dessus du texte */
    align-items: center;
    transition: transform 0.2s ease;
    opacity: 0.6; /* Un peu plus clair quand non sélectionné */
}

.language-selector button.active {
    opacity: 1; /* Pleine couleur pour la langue active */
    transform: scale(1.1);
}

.flag-img {
    width: 28px; /* Taille idéale pour le menu */
    height: auto;
    border-radius: 2px; /* Coins légèrement arrondis pour le style */
    box-shadow: 0 1px 3px rgba(0,0,0,0.2); /* Petit relief professionnel */
    margin-bottom: 4px;
}

.lang-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.5px;
}

.language-selector button:hover {
    opacity: 1;
    transform: translateY(-2px);
}
/* --- BANNIÈRE COOKIES --- */
.cookie-container {
    position: fixed;
    bottom: 30px; /* Un peu plus haut pour être sûr */
    left: 50%;
    transform: translateX(-50%); /* Centre la bannière horizontalement */
    width: 90%;
    max-width: 1000px;
    background: #ffffff;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3); /* Ombre plus forte */
    border-radius: 12px;
    padding: 25px;
    z-index: 999999 !important; /* Priorité maximale */
    display: none; 
    border-top: 4px solid var(--primary);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #475569;
}

.cookie-link {
    font-size: 0.85rem;
    color: #64748b;
    text-decoration: underline;
    position: relative;
    z-index: 10000; /* Force le lien au-dessus de tout */
    cursor: pointer;
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    pointer-events: auto; /* Assure que les clics sont captés */
}

.cookie-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.cookie-btn:hover {
    background: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-content { flex-direction: column; text-align: center; }
}
/* Conteneur principal du téléchargement */
.file-upload-box {
    margin-top: 25px;
    margin-bottom: 25px;
    padding: 20px;
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    display: flex;
    flex-direction: column; /* Force l'empilement vertical */
    gap: 12px; /* Espace régulier entre le label, l'input et la liste */
    background-color: #f8fafc;
}

/* Le label (Titre du bloc) */
.file-upload-box label {
    position: static !important; /* Annule tout positionnement absolu hérité */
    font-weight: 700;
    color: #1e3a8a;
    pointer-events: auto;
    transform: none !important;
    margin-bottom: 5px;
}

/* L'input de sélection de fichier */
.file-upload-box input[type="file"] {
    cursor: pointer;
    font-size: 0.9rem;
    color: #475569;
}

/* Petit texte d'aide en bas */
.file-help {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 5px;
}

/* Liste des fichiers générée par JS */
#file-list {
    margin-top: 10px;
    border-top: 1px dotted #cbd5e1;
    padding-top: 10px;
}

.file-upload-box {
    margin: 20px 0;
    padding: 20px;
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    background-color: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* On s'assure que le label ne flotte pas comme les inputs classiques */
.file-label {
    position: static !important;
    transform: none !important;
    font-weight: 700;
    color: #1e3a8a;
    display: flex;
    align-items: center;
    cursor: pointer;
}

#attachment {
    padding: 5px 0;
}

#file-list {
    background: #fff;
    border-radius: 5px;
}

/* Style des lignes de fichiers ajoutés */
.file-row {
    display: flex;
    justify-content: space-between;
    padding: 8px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.85rem;
}
:root {
    --primary: #1a2a40;
    --accent: #d35400;
    --bg: #f8fafc;
    --card: #ffffff;
    --text: #334155;
    --border: #e2e8f0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    line-height: 1.6;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.navbar { background: #fff; padding: 15px 0; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.site-logo { height: 45px; }
.nav-menu { list-style: none; float: right; margin: 10px 0; }
.nav-menu a { text-decoration: none; color: var(--primary); font-weight: 500; }

.main-title { font-family: 'Montserrat', sans-serif; text-align: center; margin-top: 40px; color: var(--primary); }
.update-date { text-align: center; color: #64748b; font-style: italic; margin-bottom: 40px; }

.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 60px; }
.legal-card { background: var(--card); padding: 30px; border-radius: 8px; border: 1px solid var(--border); box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.legal-card.wide { grid-column: span 2; }

h3 { font-family: 'Montserrat', sans-serif; color: var(--primary); border-bottom: 2px solid var(--accent); padding-bottom: 10px; margin-top: 0; }
h4 { color: var(--accent); text-transform: uppercase; margin-bottom: 10px; }

.prestation-box { background: #f1f5f9; padding: 20px; border-radius: 6px; margin: 15px 0; }
.alert-box { background: #fff7ed; border-left: 4px solid var(--accent); padding: 15px; margin-top: 15px; }

.price-list { list-style: none; padding: 0; }
.price-list li { font-weight: bold; color: var(--primary); }
.price-list.bulleted { list-style: disc; padding-left: 20px; font-weight: normal; }

.small-text { font-size: 0.85rem; color: #64748b; }
.contact-footer { background: var(--primary) !important; color: white !important; text-align: center; }
.contact-footer h3 { color: white; border-bottom-color: white; }

@media (max-width: 768px) {
    .legal-grid { grid-template-columns: 1fr; }
    .legal-card.wide { grid-column: span 1; }
}
/* --- BOUTON UPLOADCARE PREMIUM --- */

/* Bouton principal sur la page */
.uploadcare--widget__button_type_open {
    background-color: #1e3a8a !important; /* Bleu Marine N&L */
    color: #ffffff !important;
    border: 2px solid #d4af37 !important; /* Doré N&L */
    padding: 12px 28px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    border-radius: 2px !important; /* Coins légèrement arrondis pour un look moderne */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease-in-out !important;
    cursor: pointer !important;
}

/* Effet au survol (Hover) */
.uploadcare--widget__button_type_open:hover {
    background-color: #ffffff !important;
    color: #1e3a8a !important;
    border-color: #1e3a8a !important;
    box-shadow: 0 6px 12px rgba(30, 58, 138, 0.2) !important;
    transform: translateY(-2px); /* Petit effet de soulèvement */
}

/* Style de la liste des fichiers sélectionnés (plus discret et pro) */
.uploadcare--widget__item {
    font-family: 'Montserrat', sans-serif !important;
    color: #1e3a8a !important;
    font-size: 13px !important;
    margin-top: 8px !important;
}

/* --- BOUTON VALIDER (DANS LA FENÊTRE) --- */
.uploadcare--dialog__button_type_add {
    background-color: #1e3a8a !important; /* On reste sur le bleu pour la cohérence */
    border: 1px solid #d4af37 !important;
    color: white !important;
    font-family: 'Montserrat', sans-serif !important;
    border-radius: 4px !important;
    transition: background 0.2s !important;
}

.uploadcare--dialog__button_type_add:hover {
    background-color: #152d6a !important;
    border-color: #ffffff !important;
}

.uploadcare--button_primary.uploadcare--dialog__button_type_add:hover {
    background-color: #15803d !important;
}
/* Bouton sur la page */
.uploadcare--widget__button_type_open {
    background-color: #1e3a8a !important;
    color: white !important;
    border: 2px solid #d4af37 !important;
    font-family: 'Montserrat', sans-serif !important;
    text-transform: uppercase !important;
}

/* Bouton "Valider/Add" dans la fenêtre */
.uploadcare--dialog__button_type_add {
    background-color: #16a34a !important; /* Vert pour la validation */
    color: white !important;
}

/* Cache le texte technique parasite si besoin */
input[type="hidden"] {
    display: none !important;
}