/* SENSÉ — Charte existante conservée.
   Charger structure.css APRÈS ce fichier.
   Polices locales : aucun téléchargement ni service externe nécessaire.
   Les couleurs des images existantes ne sont pas modifiées par ce CSS. */

:root {
    --couleur-fond: #f7f1eb;
    --couleur-fond-clair: #fffcf9;

    --couleur-texte: #5d4a43;

    --couleur-bleu: #8a5647;
    --couleur-bleu-petrole: #b66a50;

    --couleur-violet: #8a5647;

    --couleur-or: #b89468;
    --couleur-brun: #7a675f;

    --couleur-bordure: #ddd0c7;

    --couleur-sauge: #e8ece4;
    --couleur-bleu-clair: #f2e5dc;

    --police-titre: Georgia, "Times New Roman", serif;
    --police-texte: "Trebuchet MS", Arial, Helvetica, sans-serif;
    --police-elegante: Georgia, "Times New Roman", serif;

    --largeur-contenu: 1120px;

    --rayon: 18px;

    --ombre-legere: 0 5px 20px rgba(138, 86, 71, 0.08);
}

/* BASE ET LISIBILITÉ */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    background: var(--couleur-fond);
    color: var(--couleur-texte);
    font-family: var(--police-texte);
    font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
    line-height: 1.7;
    overflow-wrap: anywhere;
}
img, video { display: block; max-width: 100%; height: auto; }
svg, iframe { max-width: 100%; }
a {
    color: var(--couleur-bleu);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}
a:hover { color: var(--couleur-bleu); }
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, summary:focus-visible {
    outline: 3px solid var(--couleur-bleu-petrole);
    outline-offset: 4px;
}

/* MENU : la disposition et le logo restent gérés par structure.css. */
.site-header {
    width: 100%;
    background: var(--couleur-fond-clair);
    border-bottom: 1px solid var(--couleur-bordure);
}
.site-header nav a {
    position: relative;
    display: inline-block;

    padding: .6rem .9rem;

    color: var(--couleur-bleu);

    font-family: var(--police-texte);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.45;

    text-decoration: none;

    border-radius: 999px;

    transition:
        background-color .25s ease,
        color .25s ease;
}

.site-header nav a:not(.lien-logo):hover,
.site-header nav a:not(.lien-logo):focus-visible,
.site-header nav a:not(.lien-logo)[aria-current="page"] {
    background: rgba(182,106,80,.10);
    color: #8a5647;
}

.site-header nav a::after {
    display: none;
}

/* TYPOGRAPHIE FLUIDE — tailles en rem pour respecter le zoom utilisateur. */
main {
    width: min(100% - 2.5rem, var(--largeur-contenu));
    margin-inline: auto;
    padding: clamp(2rem, 5vw, 4.5rem) 0;
    min-width: 0;
}
h1, h2, h3, h4, h5, h6 {
    color: var(--couleur-bleu);
    font-family: var(--police-titre);
    font-weight: 400;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}
h1 {
    margin: 0 0 1.25rem;
    font-size: clamp(1.875rem, 1.4rem + 2vw, 3rem);
    line-height: 1.15;
}
h2 {
    margin: 0 0 0.9rem;
    font-size: clamp(1.5rem, 1.2rem + 1.25vw, 2.125rem);
    line-height: 1.25;
}
h3 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.25rem, 1.1rem + 0.65vw, 1.5625rem);
    line-height: 1.3;
}
h4, h5, h6 { margin: 0 0 0.65rem; font-size: 1.125rem; line-height: 1.4; }
p { max-width: 70ch; margin: 0 0 1.15rem; }
main p + h2, main ul + h2, main ol + h2 { margin-top: 2rem; }
main p + h3 { margin-top: 1.5rem; }
main section + section { margin-top: clamp(1.75rem, 3vw, 2.75rem); }
main ul, main ol { padding-inline-start: 1.4rem; margin: 0 0 1.4rem; }
main li + li { margin-top: 0.5rem; }
main li > h2 { margin-top: 1.5rem; }
strong { font-weight: 700; }
small { font-size: 0.875em; }
blockquote {
    margin: 1.75rem 0;
    padding: 1.25rem clamp(1rem, 3vw, 2rem);
    border-inline-start: 3px solid var(--couleur-bleu-petrole);
    background: var(--couleur-sauge);
    color: var(--couleur-bleu);
    font-family: var(--police-elegante);
    font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
    font-style: italic;
    line-height: 1.6;
}
blockquote p:last-child { margin-bottom: 0; }

/* CLASSES EXISTANTES */
.carte {
    padding: clamp(1.1rem, 3vw, 2rem);
    background: var(--couleur-fond-clair);
    border: 1px solid var(--couleur-bordure);
    border-radius: var(--rayon);
    box-shadow: var(--ombre-legere);
}

/* BOUTONS ET FORMULAIRES */
label { display: block; margin-bottom: 0.4rem; color: var(--couleur-bleu); font-weight: 600; }
input, textarea, select, button { font: inherit; max-width: 100%; }
input, textarea, select {
    width: 100%;
    padding: 0.75rem 0.9rem;
    color: var(--couleur-texte);
    background: var(--couleur-fond-clair);
    border: 1px solid #899b97;
    border-radius: 8px;
}
input[type="checkbox"], input[type="radio"] { width: auto; accent-color: var(--couleur-bleu-petrole); }
input::placeholder, textarea::placeholder { color: var(--couleur-brun); opacity: 1; }
textarea { min-height: 10rem; resize: vertical; }
button, .bouton {
    display: inline-block;
    max-width: 100%;
    padding: 0.8rem 1.4rem;
    border: 1px solid var(--couleur-bleu-petrole);
    border-radius: 999px;
    background: var(--couleur-bleu);
    color: #ffffff;
    font-family: var(--police-texte);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
button:hover, .bouton:hover { background: var(--couleur-bleu); border-color: var(--couleur-bleu); color: #ffffff; }
button:disabled { opacity: 0.65; cursor: not-allowed; }
.bouton-secondaire { margin-bottom: 1rem; color: var(--couleur-bleu); background: transparent; }
.contact-section { width: min(100%, 820px); margin-inline: auto; }
.contact-intro { margin-bottom: 1.75rem; }
.contact-form {
    position: relative;
    padding: clamp(1rem, 3vw, 2rem);
    background: var(--couleur-fond-clair);
    border: 1px solid var(--couleur-bordure);
    border-radius: var(--rayon);
}
.form-group { margin-bottom: 1.25rem; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--couleur-bleu-petrole); }
.form-captcha { margin: 1.5rem 0; }
.form-actions { margin-top: 1.25rem; }
.form-privacy { margin: 1.25rem 0 0; font-size: 0.9375rem; color: var(--couleur-brun); }
.form-message { margin-bottom: 1.5rem; padding: 1rem; border: 1px solid; border-radius: 10px; }
.form-message--success { color: #245d51; background: #edf7f4; border-color: #a9d3c9; }
.form-message--error { color: #652951; background: #f7edf4; border-color: #cbaabe; }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* PIED DE PAGE : le fond illustré reste défini par structure.css. */
footer { border-top: 1px solid var(--couleur-bordure); }
.site-footer { width: 100%; margin-top: 2rem; line-height: 1.7; }
.footer-navigation a {
    display: inline-block;

    padding: 0.5rem 1rem;

    font-size: 0.9375rem;
    font-weight: 600;

    color: var(--couleur-bleu);

    text-decoration: none;

    border-radius: 999px;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.footer-navigation a:hover,
.footer-navigation a:focus-visible,
.footer-navigation a[aria-current="page"] {
    background-color: rgba(182, 106, 80, 0.10);
    color: #8a5647;

    transform: translateY(-1px);
}

/* PAGE ACCÈS — fonctionnalités existantes conservées. */
.acces-carte { width: 100%; margin: 2rem auto; }
#map { width: 100%; height: 420px; border-radius: 8px; overflow: hidden; }
.parking-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--couleur-bleu);
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 5px;
    font-family: var(--police-texte);
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.itineraire-section {
    margin-top: 2rem;
    padding: clamp(1rem, 3vw, 2rem);
    border: 1px solid var(--couleur-bordure);
    border-radius: var(--rayon);
    background: var(--couleur-fond-clair);
}
.itineraire-form { max-width: 650px; }
.itineraire-form .form-group { margin-bottom: 1rem; }
.geo-message { margin: 1rem 0 0; color: var(--couleur-texte); font-size: 0.9375rem; }

/* PETITS ÉCRANS */
@media (max-width: 768px) {
    main { width: calc(100% - 2rem); }
    .site-header nav a { font-size: 0.875rem; }
    #map { height: 320px; }
    .itineraire-form button { width: 100%; }
}
@media (max-width: 480px) {
    .site-header nav a { padding: 0.6rem; }
    #map { height: 260px; }
    .form-actions button { width: 100%; }
}

/* RESPECT DE LA PRÉFÉRENCE DE RÉDUCTION DES ANIMATIONS */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
.site-header nav .logo-menu {
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.site-header nav .lien-logo:hover .logo-menu,
.site-header nav .lien-logo:focus-visible .logo-menu {
    opacity: 0.92;
    transform: scale(1.01);
}

.bouton-automne {
    display: inline-block;

    padding: 0.85rem 1.5rem;

    background: #d88b4f;
    border: 1px solid #d88b4f;

    border-radius: 999px;

    color: #3c2b25;

    font-size: 0.90rem;
    font-weight: 600;

    text-decoration: none;

    box-shadow: 0 4px 14px rgba(122, 84, 63, 0.12);

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.bouton-automne:hover,
.bouton-automne:focus-visible {
    background: #e3a374;
    border-color: #e3a374;
    color: #3c2b25;
}

.bouton-automne::after {
    display: none;
}