/* ==========================
   0. IMPORT
   ========================== */
@import url(responsive.css);
@import url(fonts.css);
@import url(components/navbar.css);
@import url(components/header.css);
@import url(components/footer.css);
@import url(components/cta.css);
@import url(pages/accueil.css);
@import url(pages/contact.css);
@import url(pages/produits.css);
@import url(pages/realisations.css);

/* ==========================
   2. VARIABLES CSS (Optimisées)
   ========================== */
:root {
    --bg-light: #ffffff;
    --bg-soft: #f4f7fa;
    --bg-dark: #0b1a31;

    --brand-primary: #1e3a8a;   /* Un bleu profond mais moins saturé */
    --brand-secondary: #008eb4;
    --brand-accent: #fdd210; 
    --brand-action: #e64500;    /* Légèrement désaturé aussi pour l'équilibre */
    
    --text-main: #0f172a;
    --text-muted: #64748b;      /* Un gris légèrement plus bleuté */
    --text-on-dark: #ffffff;

    --status-success: #15b097;   
    --border-light: #e5e9f0;     

    --font-main: 'Poppins', sans-serif;
    
    --shadow-md: 0 10px 25px rgba(30, 75, 143, 0.12);
    --shadow-accent: 0 4px 15px rgba(249, 177, 0, 0.4);
}
/* ==========================
   4. TYPOGRAPHIE
   ========================== */
body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--text-main);
    line-height: 1.6;
}

h1 {
    font-size: 1.75rem; 
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 1rem;
}


h2 {
    margin: 0 0 1.5rem 0;
    color: var(--brand-primary);
    font-size: 1.25rem; 
    font-weight: 400;
}

h3 {
    margin: 0 0 1rem 0;
    font-size: 1.15rem; 
    color: var(--brand-primary);
    font-weight: 600;
}

p {
    font-size: 1rem; 
    margin-bottom: 1rem;
    color: var(--text-muted); 
    font-weight: 400;
}

strong {
    font-weight: 600;
    color: var(--text-main);
}

a:link, a:visited {
    color: var(--brand-primary);
    text-decoration: none; /* Pas de soulignement par défaut */
    font-size: 1rem;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--brand-secondary);
    text-decoration: none; /* Retrait explicite du soulignement au survol */
}

/* ==========================
   5. LAYOUT
   ========================== */
main {
    padding: 30px 5%;
    text-align: center;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.93);

}

.main-text-container {
    padding: 20px 0;
    text-align: justify;
    max-width: 1000px;
    margin: 0 auto;
}

hr {
    border: none;
    height: 1px;
    background-color: var(--border-light);
    margin: 30px auto;
    width: 80%;
}