/* style.css - TECHLM3D */
:root {
    /* Couleurs RAL officielles demandées */
    --cyan: #059292;       /* RAL 5018 - Bleu Turquoise */
    --red: #C1121C;        /* RAL 3020 - Rouge Signalisation */
    
    --dark: #1a1a1a; 
    --grey-text: #666;
    --light-bg: #f9f9f9; 
    --white: #ffffff; 
    --shadow: 0 4px 15px rgba(0,0,0,0.05);
    --transition: all 0.3s ease;
}

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

body { 
    font-family: 'Open Sans', sans-serif; 
    color: var(--dark); 
    background-color: var(--light-bg); 
    line-height: 1.6; 
}

h1, h2, h3, h4 { 
    font-family: 'Montserrat', sans-serif; 
    text-transform: uppercase; 
    font-weight: 700; 
    letter-spacing: 1px; 
}

a { text-decoration: none; transition: var(--transition); }

/* --- HEADER & NAVIGATION --- */
header { 
    background: var(--white); 
    padding: 1rem 5%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    box-shadow: var(--shadow); 
}

.logo { font-size: 1.5rem; color: var(--dark); font-weight: 700; }
.logo span { color: var(--cyan); }

nav { display: flex; align-items: center; }
nav a { 
    margin-left: 25px; 
    color: var(--dark); 
    font-weight: 600; 
    font-size: 0.9rem; 
    text-transform: uppercase; 
}
nav a:hover { color: var(--red); }

/* --- DROPDOWN MENU --- */
.dropdown { position: relative; display: inline-block; }
.dropbtn { 
    background: none; border: none; 
    font-family: 'Open Sans', sans-serif; 
    font-size: 0.9rem; font-weight: 600; 
    color: var(--dark); cursor: pointer; 
    margin-left: 25px; text-transform: uppercase; 
}
.dropdown-content { 
    display: none; position: absolute; 
    background-color: var(--white); min-width: 220px; 
    box-shadow: var(--shadow); border-radius: 5px; 
    top: 100%; left: 25px; z-index: 1100; 
}
.dropdown-content a { 
    color: var(--dark); padding: 12px 15px; 
    display: block; border-bottom: 1px solid #f0f0f0; 
    font-size: 0.85rem; margin-left: 0; 
}
.dropdown-content a:hover { background-color: #f9f9f9; color: var(--cyan); }
.dropdown:hover .dropdown-content { display: block; }

/* --- FOOTER --- */
.main-footer {
    background: #ffffff;
    border-top: 3px solid var(--cyan);
    padding: 70px 0 20px 0;
    margin-top: 80px;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
}

.footer-section h3 { font-size: 1.6rem; margin-bottom: 20px; color: var(--dark); }
.footer-section h3 span { color: var(--red); }

.footer-section h4 {
    font-size: 0.95rem;
    color: var(--dark);
    margin-bottom: 25px;
    border-left: 3px solid var(--red);
    padding-left: 12px;
}

.footer-section p { color: var(--grey-text); font-size: 0.9rem; margin-bottom: 20px; }

/* Suppression des puces moches et style des liens */
.footer-section ul { list-style: none; padding: 0; }
.footer-section ul li { margin-bottom: 14px; }

.footer-section ul li a {
    color: var(--grey-text);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

/* Ajout d'une petite flèche rouge avant les liens de navigation */
.footer-section ul li a::before {
    content: "\f105"; 
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--red);
    font-size: 0.8rem;
}

.footer-section ul li a:hover {
    color: var(--cyan);
    transform: translateX(5px);
}

/* Section Contact spécifique */
.footer-section ul.contact-info li a::before { content: none; } /* Pas de flèche pour le contact */
.footer-section ul.contact-info i { color: var(--cyan); width: 20px; }

/* Réseaux Sociaux */
.social-links { display: flex; gap: 15px; margin-top: 25px; }
.social-links a {
    width: 40px; height: 40px;
    background: #f0f0f0; color: var(--dark);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; transition: 0.3s;
}
.social-links a:hover { background: var(--red); color: white; transform: translateY(-3px); }

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    margin-top: 50px;
    border-top: 1px solid #eee;
    color: #aaa;
    font-size: 0.85rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .footer-container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .footer-section h4 { border-left: none; border-bottom: 2px solid var(--red); display: inline-block; padding: 0 10px 5px 10px; }
    .footer-section ul li a { justify-content: center; }
    .social-links { justify-content: center; }
}

/* --- BOUTONS GENERIQUES --- */
.btn-main {
    background: var(--cyan);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 700;
    display: inline-block;
    border: none;
}
.btn-main:hover { background: var(--red); transform: translateY(-2px); }