

body {
    font-family: "Trebuchet MS", sans-serif;
    background-image: url('../fond-ecran.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.app-bar {
    position: fixed;        
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(0, 0, 0, 0.6); 
    backdrop-filter: blur(5px);     
    
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 20px;
    z-index: 1000;
}

.logo {
    font-family: "Trebuchet MS", sans-serif;
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-family: "Trebuchet MS", sans-serif;
    font-size: 1rem;
}

.nav-links a:hover {
    text-decoration: underline;
}


form,
body > div {
    background: rgba(255, 255, 255, 0.92);
    padding: 36px 32px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    max-width: 600px;
    width: 90%;
    margin: 20px auto;
}

/* ── Titres ── */
h1 {
    font-family: "Trebuchet MS", sans-serif;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 1.6rem;
}

h2 {
    font-family: "Trebuchet MS", sans-serif;
    color: #34495e;
    margin-bottom: 16px;
}

/* ── Labels et questions ── */
label,
b {
    display: block;
    margin-bottom: 8px;
    font-size: 1.05em;
    color: #2c3e50;
    font-family: "Trebuchet MS", sans-serif;
}

form b {
    margin-top: 20px;
}

select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 1em;
    font-family: "Trebuchet MS", sans-serif;
    background: #fff;
    color: #2c3e50;
}

/* ── Boutons submit et .btn ── */
input[type="submit"],
.btn {
    background-color: #3498db;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    font-family: "Trebuchet MS", sans-serif;
    transition: background 0.3s ease, transform 0.15s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    width: 100%;
    text-align: center;
}

input[type="submit"]:hover,
.btn:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
}

.btn a {
    color: white;
    text-decoration: none;
}

/* ── Boutons radio ── */
input[type="radio"] {
    margin-right: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    accent-color: #3498db;
}

/* ── Paragraphes résultats ── */
p {
    padding: 10px 14px;
    border-radius: 6px;
    font-weight: bold;
    font-family: "Trebuchet MS", sans-serif;
    margin-bottom: 8px;
}

p[style*='color:green'] {
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
}

p[style*='color:red'] {
    background-color: #f2dede;
    border: 1px solid #ebccd1;
}
