/* =====================================================================
   Base — reset, typographie globale, container, boutons
   ===================================================================== */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

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

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 28px;
}

.btn-rose {
    display: inline-block;
    background: var(--rose-strong);
    color: var(--white);
    padding: 13px 30px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
}
.btn-rose:hover { background: var(--rose-strong-hover); transform: translateY(-2px); }

/* ---------- Accessibilité ---------- */

/* Texte lu par les lecteurs d'écran mais invisible à l'écran */
.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Lien d'évitement : caché, il apparaît quand on arrive dessus au clavier */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 1000;
    background: var(--brown-deep);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 0 0 12px 12px;
    font-weight: 600;
}
.skip-link:focus { top: 0; }

/* Contour bien visible pour la navigation au clavier */
:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}
/* Sur les zones à fond brun, le contour devient clair */
.site-nav, .steps, .contact, .site-footer, .skip-link { --focus: var(--cream); }

main:focus { outline: none; }
