/* --- CONFIGURATION GLOBALE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0b0a19;
    color: #f8f9fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 20px;
    margin: 0;
}

/* --- EN-TÊTE & LOGO --- */
header {
    text-align: center;
    width: 100%;
    max-width: 500px;
    margin-bottom: 20px;
}

.lang-selector {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.lang-selector button {
    width: auto;
    padding: 6px 14px;
    background: #1e293b;
    color: white;
    border: 1px solid #334155;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.lang-selector button:hover {
    background: #00b9ff;
    transform: translateY(-2px);
}

.top-header {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    margin-bottom: 15px;
    border: 1px solid #334155;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
}

.logo span {
    color: #00b9ff;
    display: block;
    font-size: 1.2rem;
    margin-top: 5px;
}

/* --- MENU DE NAVIGATION --- */
nav {
    width: 100%;
    max-width: 500px;
    margin-bottom: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0;
    width: 100%;
}

nav ul li a {
    text-decoration: none;
    background: #00b9ff;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: bold;
    transition: background 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(0, 185, 255, 0.3);
}

nav ul li a:hover {
    background: #0088cc;
    box-shadow: 0 6px 15px rgba(0, 185, 255, 0.5);
}

/* --- IMAGE & PRÉSENTATION --- */
img {
    display: block;
    margin: 0 auto 20px auto;
    max-width: 100%;
    width: 350px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

.container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 20px auto;
    text-align: center;
}

.main-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #00b9ff;
    margin-bottom: 10px;
}

p {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* --- FORMULAIRE --- */
.form-box {
    background: #1e293b;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border: 1px solid #334155;
    text-align: left;
    width: 100%;
}

.form-box .title {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.field {
    margin-bottom: 15px;
}

label {
    display: block;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 6px;
    color: #94a3b8;
    text-transform: uppercase;
}

input[type="text"],
select,
textarea {
    width: 100%;
    padding: 12px;
    background: #0f172a;
    border: 1px solid #475569;
    color: #ffffff;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input[type="text"]:focus,
select:focus,
textarea:focus {
    border-color: #00b9ff;
    box-shadow: 0 0 8px rgba(0, 185, 255, 0.4);
}

.checkbox-field {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.checkbox-field input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-field label {
    margin-bottom: 0;
    cursor: pointer;
    color: #f8f9fa;
    text-transform: none;
}

textarea {
    resize: vertical;
}

/* --- BOUTONS --- */
button[type="button"] {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
    margin-top: 10px;
}

button[type="button"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.5);
}

#btn-retour {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    margin-top: 15px;
}

#btn-retour:hover {
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.5);
}

/* --- AVIS CLIENT --- */
.testimonial-card {
    background: #0f172a;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
    border: 1px solid #334155;
}

.testimonial-card p {
    font-size: 0.85rem;
    font-style: italic;
    color: #94a3b8;
    margin-bottom: 8px;
}

.stars {
    color: #f59e0b;
    font-size: 1rem;
    margin-bottom: 5px;
}

.author {
    font-size: 0.8rem;
    color: #cbd5e1;
    font-weight: bold;
}