/* ==========================================================================
   CHARTE GRAPHIQUE CVC-S - CONFIGURATION COMMUNE (SMARTPHONE, MAC, PC)
   ========================================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #000000;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    text-align: center;
}

/* 📸 Logo dynamique */
.header-logo {
    width: 65vw;
    max-width: 450px;
    min-width: 220px;
    height: auto;
    margin: 15px auto 5px auto;
    display: block;
    transition: width 0.2s ease;
}
.navbar {
    width: 100%;
    max-width: 1100px;
    margin: 5px auto 5px auto;
    background: #000000 !important; /* Force le noir parfait de votre site */
    background-color: #000000 !important;
    border: none !important; /* Supprime toute bordure */
    padding: 10px 10px;
    box-shadow: none !important; /* Supprime toute ombre grise qui pourrait donner un effet de bloc */
}

.nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px 15px;
}
.nav-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 6px 10px;
    display: inline-block;
    white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
    color: #007bff;
}

/* 📦 Enveloppe de contenu principal */
.container {
    max-width: 750px;
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    padding: 30px 25px;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.45); 
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
}
.container:hover {
    border-color: rgba(255, 255, 255, 0.8);
}
.container.text-left {
    text-align: left;
}

/* Ligne de séparation colorée (Bleu/Rouge) */
.divider {
    height: 3px;
    background: linear-gradient(to right, #007bff, #dc3545);
    width: 50%;
    margin: 0 auto 20px auto;
    border-radius: 2px;
}

h1 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.subtitle {
    font-size: 1.05rem;
    color: #cccccc;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.5;
}
h2 {
    font-size: 1.3rem;
    margin: 20px 0 10px 0;
    color: #007bff;
}
h2.color-red {
    color: #dc3545;
}
p {
    font-size: 1.05rem;
    color: #e0e0e0;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Listes de services */
ul.service-list {
    list-style: square;
    margin-left: 20px;
    color: #b3b3b3;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Grille de réalisations (Photos) */
.grid-photo {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
}
.photo-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    text-align: left;
}
.photo-card h3 {
    color: #007bff;
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.photo-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: #cccccc;
}

/* Avis Clients */
.review-card {
    background: rgba(255, 255, 255, 0.02);
    border-left: 4px solid #dc3545;
    border-radius: 0 8px 8px 0;
    padding: 20px;
    text-align: left;
    margin-bottom: 20px;
}
.stars {
    color: #ff9f43;
    font-size: 1.2rem;
    margin-bottom: 5px;
}
.review-text {
    font-style: italic;
    color: #e0e0e0;
    margin-bottom: 10px;
    line-height: 1.5;
}
.author {
    font-size: 0.9rem;
    font-weight: bold;
    color: #007bff;
}

/* Zones d'intervention */
.sectors {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}
.sector-box {
    background: rgba(255, 255, 255, 0.02);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.sector-box strong {
    color: #007bff;
}

/* Formulaires de Contact & Éléments de saisie */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
}
label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #b3b3b3;
    margin-bottom: 8px;
}
input, select, textarea {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 1rem;
    color: #fff;
    outline: none;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}
input:focus, select:focus, textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
}
select option {
    background-color: #1a1a1a;
    color: #fff;
}
textarea {
    resize: vertical;
    min-height: 120px;
}
.submit-btn {
    padding: 16px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s;
    margin-top: 10px;
}
.submit-btn:hover {
    background-color: #bd2130;
}
.submit-btn:active {
    transform: scale(0.98);
}

/* ✉️ Pied de page */
.footer-contact {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    width: 100%;
}
.footer-contact p {
    font-size: 0.95rem;
    color: #b3b3b3;
    margin-bottom: 8px;
}
.email-link {
    color: #007bff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    transition: color 0.3s ease;
}
.email-link:hover {
    color: #dc3545;
    text-decoration: underline;
}

/* ==========================================================================
   📸 SECTION IMAGE HERO RESPONSIVE (MOBILE & PC)
   ========================================================================== */
   .hero-section {
    width: 100%;
    max-width: 1100px;
    margin: 10px auto 25px auto;
    padding: 0; /* L'image occupera tout l'espace disponible sur les côtés sur mobile */
}

.hero-img {
    width: 100%;
    height: auto;      /* Conserve les proportions sur smartphone */
    border: none;      /* Supprime définitivement le cadre blanc */
    border-radius: 0;  /* Enlève complètement l'arrondi pour des angles bien droits */
    display: block;
}


/* ==========================================================================
   💻 RESPONSIVE DESIGN - ADAPTATIONS POUR ÉCRANS PC ET MAC
   ========================================================================== */

@media (min-width: 992px) {
    body {
        padding: 30px 20px;
    }
           /* 📸 Logo fixe identique sur toutes les pages (Mobile) */
      .header-logo {
        width: 948px; /* Augmente la largeur pour donner de la force au logo */
        max-width: 95%; /* Sécurité pour qu'il ne dépasse jamais sur les écrans intermédiaires */
        margin-top: 25px;
        margin-bottom: 25px;
    }
    .header-logo {
      width: 948px; /* Taille fixe sur grand écran pour toutes les pages */
      max-width: 100%;
      margin-top: 20px;
      margin-bottom: 25px;
    }
    .navbar {
        margin-bottom: 14px;
        padding: 14px 14px;
    }
    .nav-links {
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
    }
    .nav-links a {
        font-size: 1.05rem;
        padding: 5px 15px;
    }
    .container {
        padding: 50px 40px;
    }
    h1 {
        font-size: 2.6rem;
    }
    .form-row {
        flex-direction: row;
    }
    .grid-photo {
        grid-template-columns: 1fr 1fr;
    }
    .sectors {
        flex-direction: row;
        max-width: 100%;
    }
    .sector-box {
        flex: 1;
    }
}
