
@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Audiowide&display=swap');

/* ===== Couleurs générales ===== */

:root {
    --orange: #F38E02;
    --charcoal: #4D4543;
    --dark: #181B22;
    --text: #171717;
    --content-width: 1000px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* ===== Fond de page ===== */

body {
    margin: 0;
    padding-bottom: 0;
    color: #171717;
    background-color: var(--dark);
    background-image: url("images-site/Fond.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 1000px auto;
    background-attachment: fixed;
    font-family: Georgia, "Times New Roman", serif;
}

/* ===== Conteneur principal centré ===== */

.site {
    width: 1000px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Bandeau supérieur ===== */

.brand-space {
    height: 270px;
    position: relative;
}

.brand-fallback {
    position: absolute;
    top: 20px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #4D4543;
    font-family: Audiowide, sans-serif;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.55);
}

.brand-name {
    font-size: clamp(34px, 6vw, 76px);
    letter-spacing: -3px;
    line-height: 1.15;
}

.brand-name span {
    color: var(--orange);
}

.brand-caption {
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 3px;
    color: #333333;
    text-shadow:
        0 0 2px #FFFFFF,
        0 1px 3px #FFFFFF;
}

.brand-link {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    color: inherit;
    text-decoration: none;
}

/* ===== Menu ===== */

nav {
    width: 100%;
    min-height: 35px;
    background-color: var(--charcoal);
    border-bottom: 2px solid var(--orange);
    display: flex;
    align-items: stretch;
    font-family: Audiowide, sans-serif;
}

nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    text-shadow: 0 1px 1px #222222;
}

nav a:hover,
nav a[aria-current="page"] {
    background-color: #625957;
    color: #FFFFFF;
}

nav .home-link {
    flex: 0 0 46px;
    padding: 5px;
}

nav .home-link img {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* ===== Contenu principal ===== */

main {
    width: 100%;
    background-color: #FFFFFF;
    min-height: 210px;
    padding: 1px 18px 22px;
}

h1,
h2,
h3 {
    font-family: Audiowide, sans-serif;
    font-weight: normal;
    color: #666666;
}

h1 {
    font-size: 22px;
    margin: 15px 0 18px;
}

h1::first-letter {
    color: var(--orange);
}

h2 {
    font-size: 18px;
    margin-top: 26px;
}

p,
li {
    font-size: 16px;
    line-height: 1.55;
}

a {
    color: #8B5100;
}

.intro {
    font-size: 17px;
}

/* ===== Cartes de présentation ===== */

.cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0;
}

.card {
    min-width: 0;
    border: 1px solid #DDDDDD;
    border-top: 3px solid var(--orange);
    padding: 14px;
    background-color: #FAFAFA;
}

.card h2 {
    margin: 0 0 10px;
    font-size: 23px;
    line-height: 1.3;
}
.contact-line {
    font-size: 18px;
}

.note {
    color: #555555;
    font-size: 13px;
}

/* ===== Pied de page ===== */

.footer-info {
    width: 100%;
    background-color: var(--charcoal);
    color: #FFFFFF;
    font-family: Audiowide, sans-serif;
    font-size: 12px;
    line-height: 1.7;
    padding: 8px 10px;
    text-align: left;
    overflow-wrap: break-word;
}

/* ===== Image sous le contenu ===== */

.bas-tableau {
    width: 1000px;
    max-width: 100%;
    margin: 0 auto;
    line-height: 0;
}

.bas-tableau img {
    display: block;
    width: 100%;
    height: auto;
}

/* ==================================================
   TÉLÉPHONES ET PETITS ÉCRANS
   ================================================== */

@media screen and (max-width: 650px) {

    html,
    body {
        width: 100%;
        margin: 0;
    }

    body {
        background-position: center top;
        background-size: 100% auto;
        background-attachment: scroll;
    }

    /* Tous les cadres utilisent la largeur de l'écran */

    .site {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    /* Bandeau et titre */

    .brand-space {
        height: 160px;
    }

   .brand-fallback {
    position: absolute;
    top: 5px;
    right: 0;
    bottom: 0;
    left: 0;
}

   /* Titre en mode portrait */
.brand-name {
    font-size: 51px;
    letter-spacing: -1px;
    line-height: 1.15;
}

/* Titre en mode paysage */
@media screen and (orientation: landscape) {
    .brand-name {
        font-size: 81px;
        letter-spacing: -1px;
    }

    .brand-space {
        height: 130px;
    }
}

    .brand-caption {
        font-size: 10px;
        letter-spacing: 1px;
        text-align: center;
    }

    /* Menu sur plusieurs lignes */

    nav {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    nav a {
        flex: 1 1 40%;
        min-width: 0;
        padding: 8px 4px;
        min-height: 38px;
        font-size: 11px;
        line-height: 1.3;
        text-align: center;
        overflow-wrap: break-word;
    }

    nav .home-link {
        flex: 0 0 38px;
        padding: 5px;
    }

    nav .home-link img {
        width: 24px;
        height: 24px;
    }

    /* Tableau blanc pleine largeur */

    main {
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 12px 14px 20px;
    }

    h1 {
        font-size: 20px;
    }

    h2 {
        font-size: 17px;
    }

    p,
    li {
        font-size: 15px;
        line-height: 1.5;
    }

    /* Cartes empilées */

    .cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    /* Pied de page */

    .footer-info {
        width: 100%;
        font-size: 10px;
        line-height: 1.5;
        padding: 5px;
        white-space: normal;
        overflow-wrap: break-word;
    }

    /* Image basse pleine largeur */

    .bas-tableau {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .bas-tableau img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
    }
	
	
}

