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

body {
    font-family: Arial, Helvetica, sans-serif;
    max-width: 1280px;
    margin: 0 auto;
    padding: 15px 20px;
    background: #f8fbff;
    color: #1e3a5f;
    line-height: 1.6;
}

/* En-tête */
header#haut {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 15px 25px;
    background: linear-gradient(135deg, #004d99, #0066cc);
    color: white;
    border-radius: 0 0 16px 16px;
    margin-bottom: 30px;
}

#logo img {
    max-height: 80px;
    width: auto;
}

#titre {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    font-weight: bold;
}

/* Titres */
h1 {
    text-align: center;
    font-size: clamp(2.2rem, 6vw, 3rem);
    font-style: italic;
    color: #003366;
    margin: 20px 0 35px;
}

h2 {
    font-size: 1.9rem;
    color: #0052a3;
    text-align: center;
    margin: 45px 0 25px;
}

/* Boîtes standard */
.box {
    background: #e9f3ff;
    border: 1px solid #a8d0ff;
    border-radius: 12px;
    padding: 22px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0,90,180,0.08);
    transition: transform 0.25s, box-shadow 0.25s;
}

.box:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0,90,180,0.15);
}

/* Full width row */
.full-width-row {
    display: flex;
    gap: 16px;
    margin: 30px 0;
}

.full-width-row .box {
    flex: 1;
    font-size: 1.18rem;
    font-weight: 600;
    color: #003d80;
}

/* Galerie images */
#lesImages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 30px 0;
}

#lesImages img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 5px 12px rgba(0,0,0,0.08);
}

/* Cartes icônes */
.grid-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin: 40px auto;
}

.card {
    background: #e9f3ff;
    border: 2px solid #a8d0ff;
    border-radius: 16px;
    padding: 32px 20px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,100,200,0.08);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 14px 32px rgba(0,100,200,0.16);
    border-color: #0066cc;
}

.card .icon {
    font-size: 3.8rem;
    margin-bottom: 20px;
}

/* Découvrir */
.avoid-formal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin: 40px 0;
}

.avoid-formal div {
    padding: 14px 28px;
    background: #e0eeff;
    border: 2px solid #80bfff;
    border-radius: 50px;
    font-weight: bold;
    color: #0052a3;
}

/* Contact */
.contact-section {
    max-width: 700px;
    margin: 50px auto;
    text-align: center;
}

.contact-section .intro {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: #334466;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px 16px;
    font-size: 1.05rem;
    border: 1px solid #a8d0ff;
    border-radius: 10px;
}

.contact-form button {
    padding: 16px;
    font-size: 1.18rem;
    font-weight: bold;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #004d99;
}

/* Footer */
footer {
    margin-top: 70px;
    padding: 30px;
    background: #0f1e2e;
    color: #d0e0ff;
    text-align: center;
    border-radius: 16px 16px 0 0;
}

/* Responsive */
@media (max-width: 767px) {
    header#haut { flex-direction: column; gap: 15px; text-align: center; }
    .full-width-row { flex-wrap: wrap; }
    .full-width-row .box { flex: 1 1 100%; }
    body { padding: 12px; }
}

@media (max-width: 480px) {
    h1 { font-size: 2.1rem; }
    h2 { font-size: 1.7rem; }
}