@font-face {
    font-family: "Marcellus";
    src: url("../fonts/marcellus-latin-400-normal.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Figtree";
    src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Figtree";
    src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2");
    font-weight: 600;
    font-display: swap;
}

/* Nuit et or, comme les visuels de Kaynora et l'emblème des Marcheurs. */
:root {
    --nuit: #0a0f0b;
    --sous-bois: #121b14;
    --sous-bois-clair: #1a261d;
    --filet: rgb(232 196 119 / 0.2);
    --creme: #f4eede;
    --creme-douce: #bdb9a7;
    --or: #e8c477;
    --or-fonce: #b98a32;
    --feuille: #79c07b;
    --hibiscus: #ef6a62;
    --largeur: 72rem;
    --gouttiere: clamp(1rem, 4vw, 3rem);
    --titres: "Marcellus", Georgia, serif;
}

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

html {
    scroll-behavior: smooth;
    /* Laisse la place à l'entête après un saut. Large, car les encarts bougent encore en apparaissant. */
    scroll-padding-top: 7rem;
    background: var(--nuit);
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--nuit);
    color: var(--creme);
    font: 400 1.0625rem/1.65 "Figtree", system-ui, sans-serif;
}

main {
    flex: 1;
}

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

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--titres);
    font-weight: 400;
    line-height: 1.12;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.5rem, 7vw, 5.25rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    color: var(--or);
}

h3 {
    font-size: 1.45rem;
}

p {
    margin: 0;
}

a {
    color: var(--or);
    text-underline-offset: 0.2em;
}

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

.evitement {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 3;
    padding: 0.5rem 1rem;
    background: var(--or);
    color: var(--nuit);
}

.evitement:focus {
    top: 1rem;
}

/* Entête */
.entete {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem 2rem;
    padding: 0.6rem var(--gouttiere);
    border-bottom: 1px solid var(--filet);
    background: rgb(10 15 11 / 0.78);
    backdrop-filter: blur(14px);
}

.marque {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--creme);
    font-family: var(--titres);
    font-size: 1.15rem;
    text-decoration: none;
}

.navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 0.1rem 1.5rem;
}

.navigation a {
    padding: 0.3rem 0;
    border-bottom: 1px solid transparent;
    color: var(--creme);
    text-decoration: none;
    transition: color 0.25s, border-color 0.25s;
}

.navigation a:hover {
    color: var(--or);
}

.navigation a[aria-current="page"] {
    border-bottom-color: var(--or);
    color: var(--or);
}

/* Héros : la photo se fond dans la nuit */
.heros {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: min(88vh, 52rem);
    overflow: hidden;
    text-align: center;
}

.heros-photo {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    filter: brightness(0.68) saturate(1.2);
    animation: souffle 26s ease-in-out infinite alternate;
}

.heros::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, var(--nuit) 100%);
}

.heros-texte {
    position: relative;
    z-index: 1;
    max-width: 60rem;
    padding: 3rem var(--gouttiere);
}

.heros h1 {
    text-shadow: 0 2px 30px rgb(0 0 0 / 0.55);
}

.heros-embleme {
    width: clamp(6rem, 13vw, 8.5rem);
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    animation: lueur 6s ease-in-out infinite alternate;
}

.heros-accroche {
    max-width: 38rem;
    margin: 1.5rem auto 2.25rem;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    text-shadow: 0 1px 14px rgb(0 0 0 / 0.7);
}

.surtitre {
    display: block;
    margin-bottom: 1rem;
    color: var(--or);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.heros .surtitre {
    text-shadow: 0 1px 10px rgb(0 0 0 / 0.8);
}

.boutons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.heros .boutons {
    justify-content: center;
}

.bouton {
    display: inline-block;
    padding: 0.85rem 1.8rem;
    border: 1px solid transparent;
    border-radius: 99rem;
    background: linear-gradient(135deg, #f6dd9f, var(--or) 45%, var(--or-fonce));
    color: var(--nuit);
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s;
}

.bouton:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgb(232 196 119 / 0.28);
}

.bouton-discret {
    border-color: var(--or);
    background: rgb(10 15 11 / 0.45);
    color: var(--or);
}

/* Sections */
.section {
    width: 100%;
    max-width: var(--largeur);
    margin: 0 auto;
    padding: clamp(3rem, 7vw, 5.5rem) var(--gouttiere) 0;
}

main > .section:last-child {
    padding-bottom: clamp(3rem, 7vw, 5.5rem);
}

.section h1,
.section > h2 {
    margin-bottom: 1.75rem;
}

.section-etroite {
    max-width: 50rem;
}

.texte-grand {
    font-size: clamp(1.15rem, 2.2vw, 1.4rem);
    color: var(--creme-douce);
}

.suite {
    margin-top: 1.5rem;
    font-weight: 600;
}

/* Randonnées */
.randonnee {
    display: grid;
    grid-template-columns: 6.5rem 1fr;
    gap: 1.5rem;
    padding: 1.75rem;
    border: 1px solid var(--filet);
    border-radius: 1rem;
    background: var(--sous-bois);
    transition: border-color 0.3s, background-color 0.3s;
}

.randonnee + .randonnee {
    margin-top: 1rem;
}

.randonnee:hover {
    border-color: var(--or);
    background: var(--sous-bois-clair);
}

.randonnee-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: start;
    color: var(--or);
}

.randonnee-jour {
    font-family: var(--titres);
    font-size: 3.25rem;
    line-height: 1;
}

.randonnee-mois {
    margin-top: 0.35rem;
    font-size: 0.9rem;
}

.randonnee-corps p {
    margin-top: 0.5rem;
    color: var(--creme-douce);
}

.randonnee-infos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 2.25rem;
    margin: 1rem 0 0;
}

.randonnee-infos dt {
    font-size: 0.85rem;
    color: var(--creme-douce);
}

.randonnee-infos dd {
    margin: 0;
    font-weight: 600;
}

.randonnee-infos dd:first-letter {
    text-transform: uppercase;
}

.difficulte::before {
    content: "";
    display: inline-block;
    width: 0.65rem;
    height: 0.65rem;
    margin-right: 0.45rem;
    border-radius: 50%;
}

.difficulte-facile::before {
    background: var(--feuille);
}

.difficulte-moderee::before {
    background: var(--or);
}

.difficulte-difficile::before {
    background: var(--hibiscus);
}

/* Activités */
.activites {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.activites li {
    padding: 1.75rem;
    border: 1px solid var(--filet);
    border-radius: 1rem;
    background: var(--sous-bois);
}

.activites h2,
.activites h3 {
    margin: 0;
    font-size: 1.45rem;
    color: var(--creme);
}

.activites p {
    margin-top: 0.5rem;
    color: var(--creme-douce);
}

/* Page Kaynora */
.heros .titre-or {
    margin-bottom: 1rem;
    background: linear-gradient(110deg, var(--or) 20%, #fff8e0 50%, var(--or) 80%) 0 0 / 250% 100%;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 16px rgb(0 0 0 / 0.65));
    font-size: clamp(3.25rem, 9vw, 6.5rem);
    letter-spacing: 0.04em;
    text-shadow: none;
    text-transform: uppercase;
    animation: reflet 9s ease-in-out infinite alternate;
}

.produits {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.produit {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--filet);
    border-radius: 1rem;
    background: var(--sous-bois);
    transition: transform 0.3s, border-color 0.3s;
}

.produit:hover {
    transform: translateY(-4px);
    border-color: var(--or);
}

/* Cadré par le haut : on garde le bouchon des bouteilles et le dessus du sac. */
.produit img {
    width: 100%;
    height: 17rem;
    object-fit: cover;
    object-position: top;
    transition: scale 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.produit:hover img {
    scale: 1.06;
}

.produit-corps {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.25rem 1.5rem 1.5rem;
}

.produit-corps p {
    margin-top: 0.5rem;
    color: var(--creme-douce);
}

.produit-corps .produit-prix {
    margin-top: 0.85rem;
    color: var(--or);
    font-weight: 600;
}

.produit-corps .produit-etat {
    margin-top: auto;
    padding-top: 1rem;
    color: var(--feuille);
    font-weight: 600;
}

.produit-absent img {
    filter: grayscale(0.7) brightness(0.65);
}

.produit-absent .produit-corps .produit-etat {
    color: var(--creme-douce);
}

.histoire {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border: 1px solid var(--filet);
    border-radius: 1rem;
    background: var(--sous-bois);
}

.histoire img {
    width: 100%;
    height: 100%;
    min-height: 16rem;
    object-fit: cover;
}

.histoire-texte {
    padding: clamp(1.5rem, 4vw, 3rem);
}

.histoire-texte p {
    margin-top: 1rem;
    color: var(--creme-douce);
}

.histoire-texte .merci {
    margin-top: 1.5rem;
    color: var(--or);
    font-family: var(--titres);
    font-size: 1.5rem;
}

.etapes {
    margin: 0;
    padding-left: 1.5rem;
    font-size: 1.15rem;
}

.etapes li + li {
    margin-top: 0.6rem;
}

.etapes li::marker {
    color: var(--or);
}

/* Pied de page */
.pied {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 2.5rem clamp(1.5rem, 4vw, 4rem);
    margin-top: clamp(3rem, 7vw, 5.5rem);
    padding: clamp(2.5rem, 5vw, 4rem) var(--gouttiere) 2rem;
    border-top: 1px solid var(--filet);
    background: var(--sous-bois);
    color: var(--creme-douce);
}

main:has(.portes) + .pied {
    margin-top: 0;
}

.pied-nom {
    color: var(--or);
    font-family: var(--titres);
    font-size: 1.5rem;
    line-height: 1.2;
}

.pied-presentation p + p {
    margin-top: 0.6rem;
}

.pied-titre {
    margin-bottom: 0.9rem;
    color: var(--creme);
    font-family: "Figtree", system-ui, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.pied ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pied-liens li + li {
    margin-top: 0.4rem;
}

.pied-liens a {
    color: var(--creme-douce);
    text-decoration: none;
    transition: color 0.25s;
}

.pied-liens a:hover {
    color: var(--or);
}

.pied-reseau + .pied-reseau {
    margin-top: 1.1rem;
}

.pied-reseau p {
    margin-bottom: 0.45rem;
    font-size: 0.9rem;
}

.pied .icones {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.icones a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--filet);
    border-radius: 50%;
    color: var(--or);
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

.icones a:hover {
    background: var(--or);
    color: var(--nuit);
    transform: translateY(-3px);
}

.pied-bas {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.4rem 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--filet);
    font-size: 0.875rem;
}

/* Pages de texte */
.section .texte-legal-titre {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.texte-legal h2 {
    margin: 2.5rem 0 0.75rem;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
}

.texte-legal p,
.texte-legal li {
    color: var(--creme-douce);
}

.texte-legal p + p {
    margin-top: 0.75rem;
}

.a-completer {
    padding: 0 0.3rem;
    border-radius: 0.25rem;
    background: rgb(232 196 119 / 0.18);
    color: var(--or);
}

.avertissement {
    padding: 1rem 1.25rem;
    border-left: 3px solid var(--or);
    background: var(--sous-bois);
}

.plan {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.plan > li {
    padding: 1.75rem;
    border: 1px solid var(--filet);
    border-radius: 1rem;
    background: var(--sous-bois);
}

.plan ul {
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
}

.plan ul li + li {
    margin-top: 0.35rem;
}

/* Accueil : deux portes qui s'ouvrent au survol */
.portes {
    position: relative;
    display: flex;
    min-height: calc(100vh - 4rem);
    overflow: hidden;
}

.accueil-titre {
    position: absolute;
    z-index: 1;
    top: clamp(2rem, 8vh, 5rem);
    right: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.75rem, 3vw, 2.5rem);
    padding: 0 var(--gouttiere);
    text-align: center;
    pointer-events: none;
}

.accueil-titre h1 {
    font-size: clamp(1.75rem, 5.5vw, 4.75rem);
    text-shadow: 0 2px 34px rgb(0 0 0 / 0.75);
}

.accueil-logo {
    flex: none;
    width: clamp(3.5rem, 8vw, 7.5rem);
    border-radius: 50%;
}

.porte {
    position: relative;
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    justify-content: flex-end;
    min-width: 0;
    padding: clamp(1.5rem, 4vw, 3.5rem);
    overflow: hidden;
    color: var(--creme);
    text-decoration: none;
    transition: flex-grow 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.porte + .porte {
    border-left: 1px solid var(--filet);
}

.porte::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(10 15 11 / 0.55) 0%, transparent 35%, rgb(10 15 11 / 0.92) 100%);
}

.porte-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) saturate(1.1);
    transition: scale 1.6s cubic-bezier(0.22, 1, 0.36, 1), filter 1s;
}

.porte-texte {
    position: relative;
    z-index: 1;
}

.porte h2 {
    color: var(--creme);
    font-size: clamp(1.9rem, 3.6vw, 3rem);
}

.porte-description {
    display: block;
    max-width: 30rem;
    margin-top: 0.6rem;
    color: var(--creme);
}

.porte-lien {
    display: inline-block;
    margin-top: 1.25rem;
    padding-bottom: 0.2rem;
    background: linear-gradient(var(--or), var(--or)) left bottom / 2.5rem 1px no-repeat;
    color: var(--or);
    font-weight: 600;
    transition: background-size 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.porte:hover,
.porte:focus-visible {
    flex-grow: 1.4;
}

.porte:focus-visible {
    outline-offset: -6px;
}

.porte:hover .porte-photo,
.porte:focus-visible .porte-photo {
    scale: 1.07;
    filter: brightness(0.78) saturate(1.2);
}

.porte:hover .porte-lien,
.porte:focus-visible .porte-lien {
    background-size: 100% 1px;
}

/* Mouvements lents et continus */
@keyframes souffle {
    to {
        scale: 1.08;
    }
}

@keyframes lueur {
    from {
        box-shadow: 0 0 40px rgb(232 196 119 / 0.12);
    }

    to {
        box-shadow: 0 0 110px rgb(232 196 119 / 0.38);
    }
}

@keyframes reflet {
    to {
        background-position: 100% 0;
    }
}

/* Arrivée sur la page, élément après élément */
@keyframes arrivee {
    from {
        opacity: 0;
        translate: 0 1.5rem;
        filter: blur(8px);
    }

    to {
        opacity: 1;
        translate: none;
        filter: none;
    }
}

.arrivee {
    animation: arrivee 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.accueil-logo.arrivee,
.heros-embleme.arrivee {
    animation:
        arrivee 1.4s cubic-bezier(0.22, 1, 0.36, 1) both,
        lueur 6s ease-in-out 1.4s infinite alternate;
}

.arrivee-2 {
    animation-delay: 0.25s;
}

.arrivee-3 {
    animation-delay: 0.5s;
}

.arrivee-4 {
    animation-delay: 0.75s;
}

/* Au défilement, là où le navigateur sait le faire */
@keyframes apparition {
    from {
        opacity: 0;
        translate: 0 2.5rem;
        filter: blur(6px);
    }

    to {
        opacity: 1;
        translate: none;
        filter: none;
    }
}

@keyframes devoilement {
    from {
        clip-path: inset(0 100% 0 0);
    }

    to {
        clip-path: inset(0);
    }
}

@keyframes parallaxe {
    to {
        translate: 0 10%;
    }
}

@keyframes progression {
    from {
        scale: 0 1;
    }

    to {
        scale: 1 1;
    }
}

@supports (animation-timeline: view()) {
    body::before {
        content: "";
        position: fixed;
        z-index: 4;
        top: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, var(--or-fonce), #fff3cf);
        transform-origin: left;
        animation: progression linear both;
        animation-timeline: scroll(root);
    }

    .heros-photo {
        animation: souffle 26s ease-in-out infinite alternate, parallaxe linear both;
        animation-timeline: auto, scroll(root);
        animation-range: normal, 0 100vh;
    }

    .apparait,
    .randonnee,
    .produit,
    .activites li,
    .etapes li {
        animation: apparition linear both;
        animation-timeline: view();
        animation-range: entry 5% entry 55%;
    }

    /* Les cartes voisines arrivent l'une après l'autre. */
    .produit:nth-child(4n + 2),
    .activites li:nth-child(2) {
        animation-range: entry 10% entry 65%;
    }

    .produit:nth-child(4n + 3) {
        animation-range: entry 15% entry 75%;
    }

    .produit:nth-child(4n + 4) {
        animation-range: entry 20% entry 85%;
    }

    .histoire img {
        animation: devoilement linear both;
        animation-timeline: view();
        animation-range: entry 10% cover 40%;
    }
}

@media (max-width: 46rem) {
    .entete {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
        padding: 0.5rem 0.6rem;
    }

    .navigation {
        display: contents;
    }

    .marque,
    .navigation a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 3.25rem;
        padding: 0.35rem 0.4rem;
        border: 1px solid var(--filet);
        border-radius: 0.6rem;
        background: var(--sous-bois);
        color: var(--creme);
        font-family: "Figtree", system-ui, sans-serif;
        font-size: 0.875rem;
        font-weight: 600;
        line-height: 1.2;
        text-align: center;
    }

    .marque[aria-current="page"],
    .navigation a[aria-current="page"] {
        border-color: var(--or);
        background: rgb(232 196 119 / 0.12);
        color: var(--or);
    }

    .pied {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .pied .icones,
    .pied-bas {
        justify-content: center;
    }

    .portes {
        flex-direction: column;
        min-height: 0;
    }

    .accueil-titre {
        position: static;
        padding-top: 2.5rem;
        padding-bottom: 2rem;
    }

    .porte {
        flex: none;
        min-height: 24rem;
    }

    .porte + .porte {
        border-top: 1px solid var(--filet);
        border-left: 0;
    }

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

@media (max-width: 34rem) {
    .randonnee {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1.25rem;
    }

    .randonnee-date {
        flex-direction: row;
        align-items: baseline;
        gap: 0.5rem;
    }

    .randonnee-jour {
        font-size: 2.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* Connexion à l'administration */
.connexion {
    max-width: 26rem;
    margin-inline: auto;
}

.formulaire {
    display: grid;
    gap: 0.5rem;
}

.formulaire label {
    margin-top: 0.75rem;
    color: var(--creme-douce);
}

.formulaire input:not([type="hidden"]),
.formulaire select,
.formulaire textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--filet);
    border-radius: 0.5rem;
    background: var(--sous-bois);
    color: var(--creme);
    font: inherit;
}

.formulaire input:focus-visible,
.formulaire select:focus-visible,
.formulaire textarea:focus-visible {
    outline: 2px solid var(--or);
    outline-offset: 2px;
}

.formulaire .bouton {
    margin-top: 1.25rem;
    justify-content: center;
    cursor: pointer;
}

.formulaire-erreur {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--hibiscus);
    border-radius: 0.5rem;
    color: var(--creme);
}

.formulaire-page > p,
.formulaire-page > ul {
    margin-bottom: 1rem;
    color: var(--creme-douce);
}

.formulaire-page a:not(.bouton) {
    color: var(--or);
}

.formulaire > div,
.formulaire > div > div {
    display: grid;
    gap: 0.4rem;
}

.formulaire textarea {
    resize: vertical;
}

.formulaire .help-text {
    color: var(--creme-douce);
    font-size: 0.9rem;
}

.formulaire ul {
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--hibiscus);
}

.formulaire-succes {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--feuille);
    border-radius: 0.5rem;
    color: var(--creme);
}

.formulaire-note {
    margin-top: 1.25rem;
    font-size: 0.95rem;
}

.connexion h1 {
    font-size: clamp(2.25rem, 8vw, 3rem);
}

/* Partage d'un encart */
.randonnee:target,
.produit:target {
    outline: 2px solid var(--or);
    outline-offset: 4px;
}

.partage {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.9rem;
}

.partage-titre {
    margin-right: 0.35rem;
    color: var(--creme-douce);
    font-size: 0.85rem;
}

.partage a {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    color: var(--or);
    transition: background 0.2s;
}

.partage a:hover,
.partage a:focus-visible {
    background: rgb(232 196 119 / 0.15);
}

.boutons-bas {
    justify-content: center;
    margin-top: 2.5rem;
}

.partage-plus {
    margin-left: 0.25rem;
    padding: 0.55rem 0.95rem;
    border: 1px solid var(--filet);
    border-radius: 99rem;
    background: transparent;
    color: var(--or);
    font: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s;
}

.partage-plus:hover,
.partage-plus:focus-visible {
    background: rgb(232 196 119 / 0.15);
}

.partage-plus[hidden] {
    display: none;
}

/* Signature et accès discret à l'administration */
.pied-signature a {
    color: var(--or);
}

.pied-signature .pied-admin {
    display: inline-grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-block: -0.9rem;
    vertical-align: middle;
    color: var(--creme-douce);
    opacity: 0.55;
    transition: opacity 0.2s, color 0.2s;
}

.pied-signature .pied-admin:hover,
.pied-signature .pied-admin:focus-visible {
    color: var(--or);
    opacity: 1;
}

