
/* ==================================
   COULEURS ET STYLE GENERAL
================================== */

:root {
    --bourgogne: #781d43;
    --rose: #d98ba8;
    --rose-clair: #f8e8ee;
    --blanc: #ffffff;
    --texte: #393039;
    --gris: #f5f2f3;
}

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

body {
    font-family: Arial, sans-serif;
    background: var(--blanc);
    color: var(--texte);
    line-height: 1.6;
}

/* ==================================
   ENTETE ET NAVIGATION
================================== */

header {
    background: var(--blanc);
    padding: 20px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    box-shadow: 0 3px 12px #00000012;
}

.logo {
    font-size: 23px;
    font-weight: bold;
    color: var(--bourgogne);
}

.logo span {
    color: var(--rose);
}

nav {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: var(--bourgogne);
    font-weight: bold;
    font-size: 14px;
}

nav a:hover {
    color: var(--rose);
}

.langue button {
    background: var(--rose-clair);
    color: var(--bourgogne);
    border: none;
    padding: 9px 13px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

/* ==================================
   BANNIERE ACCUEIL
================================== */

.hero {
    min-height: 480px;
    display: flex;
    align-items: center;
    padding: 60px 10%;
    background:
        linear-gradient(90deg, #781d43e8, #781d4380),
        url("https://images.unsplash.com/photo-1511632765486-a01980e01a18?w=1600")
        center/cover;
    color: white;
}

.hero-content {
    max-width: 650px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 19px;
    margin-bottom: 30px;
}

/* ==================================
   BANNIERES DES AUTRES PAGES
================================== */

.page-banner {
    background: var(--bourgogne);
    color: white;
    text-align: center;
    padding: 75px 20px;
}

.page-banner h1 {
    font-size: 38px;
    margin-bottom: 12px;
}

/* ==================================
   BOUTONS
================================== */

.bouton {
    display: inline-block;
    background: var(--bourgogne);
    color: white;
    padding: 13px 22px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    margin-top: 12px;
}

.bouton:hover {
    background: var(--rose);
}

.secondaire {
    background: var(--rose);
    margin-left: 10px;
}

/* ==================================
   SECTIONS
================================== */

.mission {
    padding: 65px 10%;
    text-align: center;
}

.mission h2 {
    color: var(--bourgogne);
    font-size: 32px;
    margin-bottom: 20px;
}

.mission p {
    max-width: 850px;
    margin: auto;
    font-size: 17px;
}

.contenu {
    padding: 50px 8%;
}

.contenu h2 {
    color: var(--bourgogne);
    margin-bottom: 25px;
}

/* ==================================
   CARTES
================================== */

.cartes {
    padding: 50px 8%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
}

.carte {
    background: var(--rose-clair);
    padding: 28px;
    border-radius: 12px;
    text-align: center;
    border-bottom: 5px solid var(--rose);
}

.carte h2,
.carte h3 {
    color: var(--bourgogne);
    margin-bottom: 12px;
}

.carte p {
    margin-bottom: 12px;
}

/* ==================================
   FORMULAIRES
================================== */

.formulaire {
    max-width: 700px;
    margin: 50px auto;
    padding: 35px;
    background: var(--gris);
    border-radius: 12px;
}

.formulaire h2 {
    color: var(--bourgogne);
    margin-bottom: 25px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

label {
    font-weight: bold;
    color: var(--bourgogne);
}

input,
select,
textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #d8cbd0;
    border-radius: 6px;
    font-size: 15px;
    font-family: Arial, sans-serif;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

form button {
    align-self: flex-start;
}

/* ==================================
   PAIEMENTS
================================== */

.paiements {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.paiements button {
    background: white;
    color: var(--bourgogne);
    padding: 17px;
    border: 2px solid var(--rose);
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.paiements button:hover {
    background: var(--rose-clair);
}

.securite {
    font-size: 13px;
    color: #555;
    margin: 15px 0;
}

/* ==================================
   CONTACT
================================== */

.contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 50px 8%;
}

.contact .carte {
    text-align: left;
}

.contact .formulaire {
    margin: 0;
    width: 100%;
}

/* ==================================
   APPEL A L'ACTION
================================== */

.appel {
    text-align: center;
    padding: 65px 20px;
    background: var(--rose-clair);
}

.appel h2 {
    color: var(--bourgogne);
    font-size: 32px;
    margin-bottom: 15px;
}

/* ==================================
   PIED DE PAGE
================================== */

footer {
    background: var(--bourgogne);
    color: white;
    text-align: center;
    padding: 25px;
    margin-top: 40px;
}

/* ==================================
   VERSION MOBILE
================================== */

@media (max-width: 768px) {

    header {
        flex-direction: column;
        text-align: center;
    }

    nav {
        justify-content: center;
    }

    .hero {
        padding: 55px 7%;
    }

    .hero h1 {
        font-size: 34px;
    }

    .page-banner h1 {
        font-size: 29px;
    }

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

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

    .secondaire {
        margin-left: 0;
    }
}
