/*
|--------------------------------------------------------------------------
| L'Adriatique — feuille de style du site
|--------------------------------------------------------------------------
|
| Fichier statique (pas de build Vite) : le déploiement copie les fichiers
| tels quels, il doit donc fonctionner sans compilation.
|
| 1. Charte (variables)      5. Accueil
| 2. Base                    6. Carte
| 3. Composants              7. Footer
| 4. Header                  8. Pages de connexion
|
*/

/* ===================================================================== */
/* 1. Charte                                                              */
/* ===================================================================== */

:root {
    /* couleurs reprises de l'écran d'accueil */
    --rouge: #CD2729;
    --rouge-survol: #B01F21;
    --rouge-fonce: #880000;
    --encre: #1B1B1B;
    --gris-fond: #F6F6F6;
    --beige: #EEDBC0;
    --creme: #F7F4E3;
    --carte: #F8F8F8;
    --blanc: #FFFFFF;

    --texte: #1B1B1B;
    --texte-doux: #6B5E52;
    --bordure: #E6D8C3;

    --police: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    --largeur: 1200px;
    --gouttiere: clamp(16px, 4vw, 40px);
    --header-h: 72px;
    --rayon: 20px;
    --rayon-petit: 12px;
    --ombre: 0 10px 30px rgba(27, 27, 27, 0.08);
    --ombre-forte: 0 18px 40px rgba(27, 27, 27, 0.16);
}

@media (max-width: 767px) {
    :root {
        --header-h: 64px;
    }
}

/* ===================================================================== */
/* 2. Base                                                                */
/* ===================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--police);
    font-size: 16px;
    line-height: 1.6;
    color: var(--texte);
    background: var(--blanc);
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

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

a {
    color: inherit;
}

h1, h2, h3, h4 {
    margin: 0;
    line-height: 1.15;
}

p {
    margin: 0;
}

:focus-visible {
    outline: 3px solid var(--rouge);
    outline-offset: 3px;
}

.conteneur {
    width: 100%;
    max-width: var(--largeur);
    margin: 0 auto;
    padding-inline: var(--gouttiere);
}

.visuellement-cache {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.lien-evitement {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 100;
    background: var(--encre);
    color: var(--blanc);
    padding: 10px 16px;
    border-radius: var(--rayon-petit);
}

.lien-evitement:focus {
    top: 16px;
}

/* ===================================================================== */
/* 3. Composants                                                          */
/* ===================================================================== */

/* bouton pilule, repris du bouton "NOTRE CARTE" de l'accueil */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border: 2px solid var(--rouge);
    border-radius: 999px;
    background: var(--rouge);
    color: var(--blanc);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
    background: var(--rouge-survol);
    border-color: var(--rouge-survol);
    transform: translateY(-1px);
}

.btn--clair {
    background: transparent;
    border-color: var(--blanc);
    color: var(--blanc);
}

.btn--clair:hover {
    background: var(--blanc);
    border-color: var(--blanc);
    color: var(--encre);
}

.btn--contour {
    background: transparent;
    color: var(--rouge);
}

.btn--contour:hover {
    color: var(--blanc);
}

.surtitre {
    display: block;
    margin-bottom: 8px;
    color: var(--rouge);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.titre-section {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.entete-section {
    text-align: center;
    margin-bottom: clamp(24px, 4vw, 40px);
}

/* carte blanche à bord épais, reprise des encarts adresse / horaires */
.encart {
    background: var(--carte);
    border: 10px solid var(--blanc);
    border-radius: var(--rayon);
    box-shadow: var(--ombre);
}

/* ===================================================================== */
/* 4. Header                                                              */
/* ===================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--gris-fond);
    box-shadow: 0 1px 0 rgba(27, 27, 27, 0.06);
}

.site-header__barre {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
}

.site-header__logo img {
    height: clamp(34px, 4vw, 44px);
    width: auto;
}

.site-nav ul {
    display: flex;
    gap: clamp(20px, 3vw, 48px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav ul a {
    display: block;
    padding: 6px 0;
    color: var(--encre);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.site-nav ul a:hover,
.site-nav ul a[aria-current="page"] {
    color: var(--rouge);
    border-bottom-color: var(--rouge);
}

.site-nav .site-nav__appel {
    display: none;
}

.burger {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.burger span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--encre);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 767px) {
    .burger {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--gris-fond);
        box-shadow: var(--ombre);
        padding: 8px var(--gouttiere) 24px;
        display: none;
    }

    .site-nav.est-ouvert {
        display: block;
    }

    .site-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .site-nav li a {
        padding: 14px 0;
        border-bottom: 1px solid rgba(27, 27, 27, 0.08);
    }

    .site-nav ul a[aria-current="page"] {
        border-bottom-color: rgba(27, 27, 27, 0.08);
    }

    .site-nav .site-nav__appel {
        display: flex;
        width: 100%;
        margin-top: 20px;
    }
}

/* bandeau téléphone noir */
.bandeau-tel {
    background: var(--encre);
    color: var(--blanc);
    text-align: center;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    padding: 8px var(--gouttiere);
}

.bandeau-tel a {
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.bandeau-tel a:hover {
    text-decoration: underline;
}

/* grande photo de l'accueil */
.hero {
    position: relative;
    height: clamp(440px, 72vh, 780px);
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--blanc);
    text-align: center;
    background: var(--encre);
}

.hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.62);
}

.hero__contenu {
    position: relative;
    z-index: 1;
    max-width: 820px;
    padding-inline: var(--gouttiere);
}

.hero h1 {
    font-size: clamp(1.9rem, 4.6vw, 3.6rem);
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero__texte {
    margin-top: 16px;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    opacity: 0.9;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

/* ===================================================================== */
/* 5. Accueil                                                             */
/* ===================================================================== */

/* familles mises en avant */
.familles {
    background: var(--beige);
    padding-block: clamp(16px, 2vw, 24px);
}

.familles__grille {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(12px, 2vw, 24px);
}

.famille-tuile {
    position: relative;
    display: block;
    text-decoration: none;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--rayon-petit);
    background: var(--rouge-fonce);
    box-shadow: var(--ombre);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.famille-tuile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* étiquette posée en bas à droite : seule zone sans texte sur les trois visuels */
.famille-tuile__lien {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    box-shadow: var(--ombre);
    background: var(--blanc);
    color: var(--rouge);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.famille-tuile__lien::after {
    content: "→";
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.famille-tuile:hover {
    transform: translateY(-4px);
    box-shadow: var(--ombre-forte);
}

.famille-tuile:hover img {
    transform: scale(1.04);
}

.famille-tuile:hover .famille-tuile__lien {
    background: var(--rouge);
    color: var(--blanc);
}

.famille-tuile:hover .famille-tuile__lien::after {
    transform: translateX(4px);
}

@media (max-width: 639px) {
    .familles__grille {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        margin-inline: calc(var(--gouttiere) * -1);
        padding-inline: var(--gouttiere);
        padding-bottom: 4px;
    }

    .familles__grille::-webkit-scrollbar {
        display: none;
    }

    .famille-tuile {
        flex: 0 0 72%;
        scroll-snap-align: center;
    }
}

/* suggestions du chef */
.suggestions {
    background: var(--creme);
    padding-block: clamp(48px, 7vw, 88px);
}

.suggestions__piste {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 4px 24px;
    scrollbar-width: thin;
    scrollbar-color: var(--beige) transparent;
}

.suggestions__piste.est-centree {
    justify-content: center;
}

.suggestions__fleches {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

.fleche {
    width: 48px;
    height: 48px;
    border: 2px solid var(--encre);
    border-radius: 50%;
    background: transparent;
    color: var(--encre);
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.fleche:hover {
    background: var(--encre);
    color: var(--blanc);
}

.fleche:disabled {
    opacity: 0.3;
    cursor: default;
    background: transparent;
    color: var(--encre);
}

.plat-carte {
    flex: 0 0 min(300px, 82%);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--blanc);
    border-radius: var(--rayon);
    box-shadow: var(--ombre);
}

.plat-carte__visuel {
    position: relative;
    aspect-ratio: 4 / 3;
    background: linear-gradient(160deg, var(--rouge-fonce), var(--rouge));
    display: grid;
    place-items: center;
    overflow: hidden;
}

.plat-carte__visuel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plat-carte__visuel span {
    color: rgba(255, 255, 255, 0.92);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-align: center;
    padding: 16px;
    line-height: 1;
}

.plat-carte__corps {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
    padding: 20px 22px 22px;
}

.plat-carte__famille {
    color: var(--rouge);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.plat-carte h3 {
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
}

.plat-carte__ingredients {
    color: var(--texte-doux);
    font-size: 0.92rem;
    flex: 1;
}

.plat-carte__prix {
    color: var(--rouge-fonce);
    font-size: 1.15rem;
    font-weight: 800;
}

/* informations pratiques */
.infos {
    background: var(--beige) url('../suggestion/fond_motif.png') center / cover no-repeat;
    padding-block: clamp(48px, 7vw, 88px);
}

/* zone de clientèle (référencement local) */
.zone {
    background: var(--creme);
    padding-block: clamp(48px, 7vw, 88px);
}

.zone__contenu {
    max-width: 760px;
    text-align: center;
    color: var(--texte-doux);
    line-height: 1.7;
}

.zone__europapark {
    margin-top: 32px;
    padding: 24px;
    border-radius: var(--rayon-petit);
    background: var(--blanc);
    box-shadow: var(--ombre);
}

.zone__europapark h3 {
    margin-bottom: 8px;
    color: var(--rouge);
    font-size: 1.1rem;
    font-weight: 800;
}

.zone__europapark p + p {
    margin-top: 12px;
    font-style: italic;
}

.zone__europapark a {
    color: var(--rouge-fonce);
    font-weight: 800;
    white-space: nowrap;
}

.infos__appel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 10px;
    width: fit-content;
    max-width: 100%;
    margin: 16px auto 0;
    padding: 14px 32px;
    border-radius: var(--rayon);
    background: var(--beige);
    box-shadow: var(--ombre);
    font-size: 1.15rem;
    text-align: center;
}

.infos__appel a {
    color: var(--rouge-fonce);
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.infos__appel a:hover {
    text-decoration: underline;
}

.infos__grille {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: clamp(20px, 3vw, 36px);
    max-width: 1000px;
    margin: clamp(32px, 5vw, 56px) auto 0;
}

.infos .encart {
    display: flex;
    flex-direction: column;
    padding: clamp(20px, 3vw, 32px);
}

.infos h3 {
    margin-bottom: 20px;
    font-size: 1.35rem;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.infos__photo {
    width: 100%;
    aspect-ratio: 675 / 460;
    object-fit: cover;
    border-radius: var(--rayon-petit);
}

.infos__adresse {
    margin: 20px 0;
    font-size: 1.1rem;
    font-style: normal;
    text-align: center;
}

.infos__adresse strong {
    display: block;
}

.infos .btn {
    align-self: center;
    margin-top: auto;
}

.horaires {
    width: 100%;
    border-collapse: collapse;
}

.horaires th,
.horaires td {
    padding: 11px 12px;
    border-bottom: 1px solid var(--bordure);
    text-align: left;
}

.horaires th {
    font-weight: 600;
}

.horaires td {
    text-align: right;
}

.horaires tr:last-child th,
.horaires tr:last-child td {
    border-bottom: 0;
}

.horaires .creneau {
    display: inline-block;
    white-space: nowrap;
}

.horaires .est-ferme {
    color: var(--texte-doux);
}

.horaires .est-aujourdhui th,
.horaires .est-aujourdhui td {
    background: var(--beige);
    color: var(--rouge-fonce);
    font-weight: 700;
}

.horaires .est-aujourdhui th {
    border-radius: 10px 0 0 10px;
}

.horaires .est-aujourdhui td {
    border-radius: 0 10px 10px 0;
}

/* ===================================================================== */
/* 6. Carte                                                               */
/* ===================================================================== */

.carte-entete {
    background: var(--beige) url('../suggestion/fond_motif.png') center / cover no-repeat;
    padding-block: clamp(40px, 6vw, 72px);
    text-align: center;
}

.carte-entete h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    text-transform: uppercase;
}

.carte-entete p {
    margin-top: 10px;
    color: var(--texte-doux);
}

.carte-entete p a {
    color: var(--rouge-fonce);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

/* mentions légales */
.legal {
    max-width: 760px;
    padding-block: clamp(40px, 6vw, 72px);
    line-height: 1.7;
}

.legal h2 {
    margin: 32px 0 8px;
    color: var(--rouge);
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
}

.legal h2:first-child {
    margin-top: 0;
}

.legal p + p,
.legal address + p {
    margin-top: 8px;
}

.legal address {
    font-style: normal;
}

.legal a {
    color: var(--rouge-fonce);
    font-weight: 700;
}

/* onglets des familles, collés sous le header */
.onglets {
    position: sticky;
    top: var(--header-h);
    z-index: 40;
    background: var(--blanc);
    border-bottom: 1px solid var(--bordure);
}

.onglets ul {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
    padding: 14px var(--gouttiere);
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}

.onglets ul::-webkit-scrollbar {
    display: none;
}

.onglets a {
    display: block;
    padding: 9px 20px;
    border: 2px solid var(--beige);
    border-radius: 999px;
    color: var(--encre);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.onglets a:hover {
    border-color: var(--rouge);
    color: var(--rouge);
}

.onglets a[aria-current="page"] {
    background: var(--rouge);
    border-color: var(--rouge);
    color: var(--blanc);
}

@media (max-width: 767px) {
    .onglets ul {
        justify-content: flex-start;
    }
}

.carte-contenu {
    background: var(--creme);
    padding-block: clamp(32px, 5vw, 64px);
}

.carte-contenu .conteneur {
    max-width: 880px;
    display: grid;
    gap: clamp(20px, 3vw, 32px);
}

.menu-categorie {
    padding: clamp(22px, 4vw, 40px);
}

.menu-categorie h2 {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    color: var(--rouge-fonce);
    font-size: clamp(1.3rem, 2.6vw, 1.7rem);
    font-weight: 800;
    text-transform: uppercase;
}

.menu-categorie h2::before {
    content: "";
    flex: 0 0 32px;
    height: 4px;
    border-radius: 2px;
    background: var(--rouge);
}

.plats {
    display: grid;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.plat__ligne {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.plat__nom {
    font-size: 1.05rem;
    font-weight: 700;
}

/* points de conduite entre le nom et le prix */
.plat__points {
    flex: 1;
    min-width: 24px;
    border-bottom: 2px dotted #C9B79D;
    transform: translateY(-4px);
}

.plat__prix {
    flex-shrink: 0;
    color: var(--rouge-fonce);
    font-weight: 800;
    white-space: nowrap;
}

.plat__ingredients {
    margin-top: 2px;
    color: var(--texte-doux);
    font-size: 0.92rem;
}

.plat__ingredients::first-letter {
    text-transform: uppercase;
}

.badge-chef {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--rouge);
    color: var(--blanc);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    vertical-align: 2px;
}

.supplements {
    margin-top: 28px;
    padding: 18px 22px;
    border-radius: var(--rayon-petit);
    background: var(--creme);
}

.supplements h3 {
    margin-bottom: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.supplements .plats {
    gap: 8px;
}

.supplements .plat__nom {
    font-size: 0.95rem;
    font-weight: 600;
}

.supplements .plat__nom::first-letter {
    text-transform: uppercase;
}

.carte-vide {
    padding: 40px;
    text-align: center;
    color: var(--texte-doux);
}

/* bandeau d'appel en bas de la carte */
.bandeau-commande {
    background: var(--rouge);
    color: var(--blanc);
    padding-block: clamp(36px, 5vw, 56px);
    text-align: center;
}

.bandeau-commande h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    text-transform: uppercase;
}

.bandeau-commande p {
    margin: 8px 0 24px;
    opacity: 0.9;
}

/* ===================================================================== */
/* 7. Footer                                                              */
/* ===================================================================== */

.site-footer {
    background: var(--encre);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    padding-top: clamp(40px, 6vw, 64px);
}

.site-footer__grille {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
}

@media (max-width: 767px) {
    .site-footer__grille {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.site-footer__logo {
    height: 40px;
    width: auto;
    margin-bottom: 14px;
}

.site-footer h2 {
    margin-bottom: 14px;
    color: var(--blanc);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-footer ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer address {
    font-style: normal;
}

.site-footer .site-footer__liens {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: 14px;
}

.site-footer a {
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--blanc);
    text-decoration: underline;
}

.site-footer__tel {
    display: inline-block;
    margin-top: 8px;
    color: var(--blanc);
    font-weight: 700;
}

.site-footer__legal {
    display: flex;
    gap: 16px;
}

.site-footer__bas {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    margin-top: 48px;
    padding-block: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===================================================================== */
/* 8. Pages de connexion                                                  */
/* ===================================================================== */

.page-auth {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: var(--gouttiere);
    background: var(--beige) url('../suggestion/fond_motif.png') center / cover no-repeat;
}

.page-auth__carte {
    width: 100%;
    max-width: 420px;
    padding: clamp(24px, 5vw, 40px);
}

.page-auth__logo {
    display: block;
    width: fit-content;
    margin: 0 auto 24px;
}

.page-auth__logo img {
    height: 44px;
    width: auto;
}

.page-auth h1 {
    margin-bottom: 24px;
    font-size: 1.3rem;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.page-auth .btn {
    width: 100%;
    margin-top: 8px;
}

.page-auth__retour {
    display: block;
    margin-top: 20px;
    color: var(--texte-doux);
    font-size: 0.85rem;
    text-align: center;
}

/* champs de formulaire, partagés avec l'admin */
.champ {
    display: grid;
    gap: 6px;
    margin-bottom: 18px;
}

.champ label {
    font-size: 0.85rem;
    font-weight: 600;
}

.champ input,
.champ select,
.champ textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #D9CDBB;
    border-radius: 10px;
    background: var(--blanc);
    color: var(--texte);
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.champ textarea {
    resize: vertical;
    min-height: 96px;
}

.champ input:focus,
.champ select:focus,
.champ textarea:focus {
    outline: none;
    border-color: var(--rouge);
    box-shadow: 0 0 0 3px rgba(205, 39, 41, 0.15);
}

.alerte {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 10px;
    background: var(--beige);
    color: var(--encre);
    font-size: 0.9rem;
}

.alerte--erreur {
    background: #FBE4E4;
    color: var(--rouge-fonce);
}

.alerte ul {
    margin: 0;
    padding-left: 18px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
