/* === STYLE GLOBAL === */
body, html {
    margin: 0; padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #000000;
    color: #e0e0e0;
    height: 100%;
}

header {
    background-color: #111;
    border-bottom: 2px solid #34febb;
    padding: 15px 0;
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 0 15px rgba(52, 254, 187, 0.1);
}
nav { display: flex; justify-content: center; gap: 30px; font-size: 1.1em; flex-wrap: wrap; padding: 0 10px; }
nav a { color: white; text-decoration: none; transition: color 0.3s; }
nav a:hover { color: #34febb; text-decoration: underline; }
.nav-separator { color: #555; }
.nav-en { font-weight: bold; color: #34febb; }

.container {
    display: flex; flex-direction: column; align-items: center;
    width: 100%; max-width: 1000px; margin: 0 auto; padding: 20px;
    box-sizing: border-box; padding-bottom: 80px;
}

.logo { width: 100%; max-width: 350px; display: block; margin: 0 auto 20px; }

h1 { color: #34febb; text-align: center; text-transform: uppercase; letter-spacing: 2px; }
h2 { color: #fff; border-left: 4px solid #34febb; padding-left: 10px; margin-top: 50px; margin-bottom: 30px; width: 100%; box-sizing: border-box; }

.content { width: 100%; }
.content p { line-height: 1.6; text-align: justify; font-size: 1.1em; margin-bottom: 20px; }
strong { color: #34febb; font-weight: 700; }

/* === SERVICES === */
.services-list { display: flex; flex-direction: column; gap: 20px; width: 100%; }

.service-card {
    background: #111; border: 1px solid #222; border-left: 4px solid #34febb;
    padding: 25px; width: 100%;
    transition: all 0.3s ease; box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    box-sizing: border-box;
}
.service-card:hover {
    border-color: #34febb; background-color: #161616;
    transform: translateX(10px); box-shadow: 0 0 15px rgba(52, 254, 187, 0.15);
}
.service-card h3 { color: #fff; margin-top: 0; margin-bottom: 10px; font-size: 1.1em; text-transform: uppercase; }
.service-card p { font-size: 1em; color: #bbb; text-align: left; margin: 0; line-height: 1.5; }

/* === SECTION CONTACT === */
.contact-wrapper { width: 100%; margin-top: 20px; }
.contact-title { margin-top: 50px !important; }

.contact-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 25px;
    width: 100%;
    align-items: start;
}

/* CARTE IDENTITÉ */
.contact-card {
    background: #111;
    border: 1px solid #333;
    border-left: 4px solid #34febb;
    padding: 25px;
    box-sizing: border-box;
    height: 100%;
}
.contact-name { color: #34febb; font-weight: bold; font-size: 1.1em; margin: 0 0 5px 0; }
.contact-role { color: #888; font-size: 0.9em; margin: 0 0 25px 0; font-style: italic; border-bottom: 1px solid #222; padding-bottom: 15px; }
.contact-links p { margin: 15px 0; display: flex; align-items: center; gap: 10px; }
.contact-icon { font-size: 18px; flex-shrink: 0; }
.obfuscated { cursor: pointer; color: #fff; text-decoration: underline; transition: color 0.3s; font-size: 0.95em; }
.obfuscated:hover { color: #34febb; }
.contact-card a { color: #fff; text-decoration: none; transition: color 0.3s; word-break: break-all; font-size: 0.95em; }
.contact-card a:hover { color: #34febb; }

/* FORMULAIRE */
.contact-form-card {
    background: #111;
    border: 1px solid #333;
    border-left: 4px solid #34febb;
    padding: 25px;
    box-sizing: border-box;
}

.form-group { margin-bottom: 18px; }
.form-group label { display: block; color: #aaa; font-size: 0.9em; margin-bottom: 6px; }
.form-group input,
.form-group textarea {
    width: 100%; padding: 10px 12px;
    background: #0a0a0a; border: 1px solid #333; color: #fff;
    font-family: 'Segoe UI', sans-serif; font-size: 0.95em;
    box-sizing: border-box; transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: #34febb; outline: none;
    box-shadow: 0 0 5px rgba(52, 254, 187, 0.2);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.char-count { display: block; text-align: right; font-size: 0.8em; color: #555; margin-top: 4px; }

.captcha-group label { color: #34febb; font-weight: bold; }
.captcha-group input { max-width: 100px; }

/* Honeypot invisible */
.hp-field { position: absolute; left: -9999px; visibility: hidden; }

/* Messages feedback */
.form-success {
    background: rgba(40, 167, 69, 0.1); border: 1px solid #28a745;
    color: #28a745; padding: 12px; margin-bottom: 15px; font-size: 0.95em;
}
.form-error {
    background: rgba(220, 53, 69, 0.1); border: 1px solid #dc3545;
    color: #dc3545; padding: 12px; margin-bottom: 15px; font-size: 0.95em;
}
.hidden { display: none !important; }

.btn-contact {
    width: 100%; background: transparent; color: #34febb;
    border: 1px solid #34febb; padding: 12px;
    font-size: 1em; font-weight: bold; text-transform: uppercase;
    letter-spacing: 1px; cursor: pointer; transition: 0.3s;
    margin-top: 5px;
}
.btn-contact:hover { background: #34febb; color: #000; box-shadow: 0 0 15px rgba(52, 254, 187, 0.4); }
.btn-contact:disabled { opacity: 0.5; cursor: not-allowed; }

footer {
    background-color: #111; color: #fff;
    text-align: center; padding: 20px 10px;
    margin-top: 40px; border-top: 1px solid #222; padding-bottom: 60px;
}
footer p { text-align: center !important; margin: 10px 0 0 0; }
footer a { color: #fff !important; text-decoration: none; font-size: 0.9em; }
footer a:hover { text-decoration: underline; color: #34febb !important; }

#cookie-banner {
    position: fixed; bottom: 0; width: 100%; background-color: #111;
    border-top: 1px solid #34febb; color: #fff; text-align: center;
    padding: 10px; font-size: 14px; z-index: 1000;
}

/* === RESPONSIVE MOBILE === */
@media (max-width: 768px) {
    nav { gap: 15px; font-size: 0.95em; }
    h1 { font-size: 1.5em; letter-spacing: 1px; }
    h2 { font-size: 1.2em; margin-top: 30px; }
    .content p { font-size: 1em; text-align: left; }
    .service-card { padding: 18px; }
    .service-card:hover { transform: none; }
    .contact-section { grid-template-columns: 1fr; }
    .contact-card, .contact-form-card { padding: 20px; }
}

@media (max-width: 480px) {
    nav { gap: 10px; font-size: 0.85em; }
    .logo { max-width: 220px; }
    h1 { font-size: 1.2em; }
    .container { padding: 15px; }
}
