body
{
    margin: 0;
    font-family: "Montserrat", sans-serif;
    line-height: 1.5;
}

img
{
    max-width: 100%;
    height: auto;
    display: block;
}

/* Lien d'évitement : visible uniquement au focus clavier */
.skip-link
{
    position: absolute;
    left: -999px;
    top: 0;
    background: #1a1a1a;
    color: #fff;
    padding: 0.6em 1em;
    z-index: 100;
}

.skip-link:focus
{
    left: 0;
}

header
{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

header nav ul
{
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

header nav ul li
{
    margin: 0 15px;
}

header nav ul li a
{
    text-decoration: none;
}

header nav ul li a img
{
    width: 100px;
    height: auto;
}

section
{
    padding: 20px;
    margin: 0 auto;
}

section h2
{
    font-size: 24px;
    margin-bottom: 10px;
}

section p
{
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
}

section ul
{
    list-style: disc;
    padding-left: 20px;
}

section ul li
{
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 5px;
}

/* Bouton d'appel à l'action, mutualisé (au lieu d'être répété 3 fois) */
.btn
{
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff6600;
    color: #1a1a1a; /* texte sombre : contraste 7:1 sur ce orange, contre 2,9:1 en blanc (échec WCAG) */
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
}

.btn:hover
{
    background-color: #e65c00;
}

.btn:focus-visible
{
    outline: 3px solid #1a1a1a;
    outline-offset: 2px;
}

.hero-title
{
    /* Voile sombre superposé à la photo : garantit la lisibilité du texte blanc
       quelle que soit la luminosité de l'image utilisée en fond */
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url("../image/hero.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title h1
{
    font-size: clamp(2rem, 5vw, 50px);
    text-transform: uppercase;
}

.hero-title p
{
    font-size: 18px;
    margin-bottom: 20px;
    width: 50%;
}

.about-section
{
    background-color: rgba(219, 127, 127, 0.38);
    padding: 40px 20px;
}

.about-content
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

#about-title
{
    flex: 1;
    padding: 20px;
    margin: 0;
    text-align: left;
}

.about-text
{
    padding: 20px;
}

.courses-section
{
    padding: 0 0 40px;
}

.courses-intro
{
    padding: 40px 60px 20px;
}

.courses-section h3
{
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0;
}

.courses-section p
{
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
    color: #2b2b2b;
}

/* Grille simple en 2 colonnes égales. */
.courses-grid
{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.course-card
{
    padding: 32px 28px;
}

/* Palette pastel, dans l'ordre de lecture */
.course-card:nth-child(1) { background-color: #DED2ED; } /* lavande */
.course-card:nth-child(2) { background-color: #FFFFFF; } /* blanc */
.course-card:nth-child(3) { background-color: #F7E7D3; } /* pêche */
.course-card:nth-child(4) { background-color: #D9EEDD; } /* menthe */
.course-card:nth-child(5) { background-color: #FFFFFF; } /* rose poudré */
.course-card:nth-child(6) { background-color: #f3cece; } /* pêche */
.course-card:nth-child(7) { background-color: #B192A2;
; } /* blanc */

.title-underline
{
    width: 48px;
    height: 2px;
    background-color: #1a1a1a;
    margin: 10px 0 16px;
}

.objectif-label
{
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.03em;
    margin-top: 14px;
    margin-bottom: 6px;
    color: #1a1a1a;
}

.offer-section
{
    padding: 60px 30px;
}

.offer-content
{
    background-color: rgba(94, 33, 105, 0.16);
    text-align: center;
    padding: 60px 30px;
    border-radius: 50px;
}

#zone-intervention
{
    text-align: center;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

#zone-intervention h2
{
    font-size: 24px;
    margin-bottom: 10px;
}

#zone-intervention p
{
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
}

#zone-intervention ul
{
    list-style-type: none;
    padding-left: 20px;
    display: flex;
    flex-direction: row;
}

#zone-intervention ul li
{
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 5px;
    padding: 0 10px;
}

#social-title
{
    text-align: center;
    margin-bottom: 20px;
}

.social-icons
{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-icons a
{
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #000;
    padding: 5px 0;
}

footer
{
    text-align: center;
    padding: 20px;
}

/* ===== Tablettes en orientation portrait : on repasse en 1 colonne (2 rangées empilées),
   mais la même tablette tournée en paysage retrouve le layout 2 colonnes par défaut ===== */
@media (orientation: portrait) and (min-width: 701px) and (max-width: 1024px)
{
    .about-content,
    .courses-grid,
    #zone-intervention
    {
        grid-template-columns: 1fr;
    }

    #zone-intervention ul
    {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== Responsive mobile : les grilles à 2 colonnes ne tiennent pas sur petit écran ===== */
@media (max-width: 700px)
{
    .about-content
    {
        grid-template-columns: 1fr;
    }

    .courses-grid
    {
        grid-template-columns: 1fr;
    }

    #zone-intervention
    {
        grid-template-columns: 1fr;
    }

    #zone-intervention ul
    {
        flex-direction: column;
        align-items: center;
    }

    .hero-title p
    {
        width: 90%;
    }

    .hero-title h1
    {
        font-size: 32px;
    }
}

/* ===== Respecte les préférences système de réduction des animations ===== */
@media (prefers-reduced-motion: reduce)
{
    *
    {
        scroll-behavior: auto !important;
    }
}