/* ================================================================
   Maple Perroquets — Feuille de style principale
   Direction artistique : "exotique vibrant maîtrisé"
   Typographie : Fraunces (titres) + Outfit (corps)
   ================================================================ */

/* ----------------------------------------------------------------
   Variables — mode clair (défaut)
   ---------------------------------------------------------------- */
:root {
    --fond:         #FAF6EE;
    --fond-2:       #F3ECDD;
    --surface:      #FFFFFF;
    --ara:          #D34629;
    --ara-fonce:    #A8341C;
    --jungle:       #1F6E4C;
    --jungle-fonce: #154E36;
    --or:           #D9A227;
    --turquoise:    #2B8C8C;
    --encre:        #241C16;
    --doux:         #6E6357;
    --bordure:      #E7DECB;
    --bg-sombre:    #241C16;   /* footer + barre confiance — toujours sombre */
    --header-bg:    rgba(250,246,238,.88);
    --rayon:        18px;
    --rayon-sm:     10px;
    --ombre:        0 4px 24px rgba(36,28,22,.10);
    --ombre-lg:     0 12px 48px rgba(36,28,22,.18);
    --t:            .25s ease;
}

/* ----------------------------------------------------------------
   Mode sombre — système
   ---------------------------------------------------------------- */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="clair"]) {
        --fond:         #1A1410;
        --fond-2:       #221C16;
        --surface:      #2C2218;
        --ara:          #E56445;
        --ara-fonce:    #C04F30;
        --jungle:       #2AAD68;
        --jungle-fonce: #1F6E4C;
        --or:           #E2B535;
        --turquoise:    #3DB5B2;
        --encre:        #F0EBE3;
        --doux:         #A09280;
        --bordure:      #3E3028;
        --bg-sombre:    #0F0C09;
        --header-bg:    rgba(26,20,16,.92);
        --ombre:        0 4px 24px rgba(0,0,0,.30);
        --ombre-lg:     0 12px 48px rgba(0,0,0,.45);
    }
}
[data-theme="sombre"] {
    --fond:         #1A1410;
    --fond-2:       #221C16;
    --surface:      #2C2218;
    --ara:          #E56445;
    --ara-fonce:    #C04F30;
    --jungle:       #2AAD68;
    --jungle-fonce: #1F6E4C;
    --or:           #E2B535;
    --turquoise:    #3DB5B2;
    --encre:        #F0EBE3;
    --doux:         #A09280;
    --bordure:      #3E3028;
    --bg-sombre:    #0F0C09;
    --header-bg:    rgba(26,20,16,.92);
    --ombre:        0 4px 24px rgba(0,0,0,.30);
    --ombre-lg:     0 12px 48px rgba(0,0,0,.45);
}
[data-theme="clair"] {
    --fond:         #FAF6EE;
    --fond-2:       #F3ECDD;
    --surface:      #FFFFFF;
    --ara:          #D34629;
    --ara-fonce:    #A8341C;
    --jungle:       #1F6E4C;
    --jungle-fonce: #154E36;
    --or:           #D9A227;
    --turquoise:    #2B8C8C;
    --encre:        #241C16;
    --doux:         #6E6357;
    --bordure:      #E7DECB;
    --bg-sombre:    #241C16;
    --header-bg:    rgba(250,246,238,.88);
    --ombre:        0 4px 24px rgba(36,28,22,.10);
    --ombre-lg:     0 12px 48px rgba(36,28,22,.18);
}

/* ----------------------------------------------------------------
   Reset & base
   ---------------------------------------------------------------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Outfit', sans-serif;
    background: var(--fond);
    color: var(--encre);
    line-height: 1.6;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    transition: background .3s ease, color .3s ease;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; transition: color var(--t); }
ul  { list-style: none; }
address { font-style: normal; }

/* ----------------------------------------------------------------
   Boutons
   ---------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .65rem 1.5rem;
    border-radius: var(--rayon-sm);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: .95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
    white-space: nowrap;
    text-decoration: none;
}
.btn:active { transform: scale(.97); }

.btn-primaire { background: var(--ara);    color: #fff; border-color: var(--ara); }
.btn-primaire:hover { background: var(--ara-fonce); border-color: var(--ara-fonce); color: #fff; text-decoration: none; }

.btn-ghost { background: transparent; color: var(--encre); border-color: var(--bordure); }
.btn-ghost:hover { background: var(--fond-2); border-color: var(--doux); color: var(--encre); text-decoration: none; }

.btn-jungle { background: var(--jungle); color: #fff; border-color: var(--jungle); }
.btn-jungle:hover { background: var(--jungle-fonce); border-color: var(--jungle-fonce); color: #fff; text-decoration: none; }

.btn-or { background: var(--or); color: var(--encre); border-color: var(--or); font-weight: 700; }
.btn-or:hover { background: #c08d1a; border-color: #c08d1a; color: var(--encre); text-decoration: none; }

.btn-sm  { padding: .42rem 1rem; font-size: .875rem; }
.btn-lg  { padding: .85rem 2rem; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* ----------------------------------------------------------------
   Header sticky translucide
   ---------------------------------------------------------------- */
.header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--header-bg);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--bordure);
    transition: background .3s ease;
}
.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 70px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.logo {
    font-family: 'Fraunces', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--encre);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: .35rem;
}
.logo:hover { color: var(--ara); text-decoration: none; }

.nav-liens { display: none; gap: .1rem; }
.nav-liens a {
    display: block;
    padding: .4rem .85rem;
    color: var(--doux);
    font-size: .9rem;
    font-weight: 500;
    border-radius: var(--rayon-sm);
    transition: color var(--t), background var(--t);
}
.nav-liens a:hover { color: var(--encre); background: var(--fond-2); text-decoration: none; }
.nav-liens a.actif { color: var(--ara); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: .6rem; }

.btn-theme {
    background: none;
    border: 1px solid var(--bordure);
    border-radius: var(--rayon-sm);
    padding: .32rem .6rem;
    cursor: pointer;
    font-size: 1rem;
    color: var(--encre);
    line-height: 1;
    transition: background var(--t), border-color var(--t);
}
.btn-theme:hover { background: var(--fond-2); border-color: var(--doux); }

.sel-langue {
    font-family: 'Outfit', sans-serif;
    font-size: .82rem;
    font-weight: 600;
    background: none;
    border: 1px solid var(--bordure);
    border-radius: var(--rayon-sm);
    padding: .32rem .55rem;
    cursor: pointer;
    color: var(--encre);
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 1.6rem;
    height: 1.15rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.hamburger span {
    display: block; height: 2px;
    background: var(--encre);
    border-radius: 2px;
    transition: transform var(--t), opacity var(--t);
}

/* Overlay semi-transparent */
.nav-overlay {
    position: fixed; inset: 0;
    background: rgba(36, 28, 22, .52);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    z-index: 149;
    opacity: 0; pointer-events: none;
    transition: opacity .3s ease;
}
.nav-overlay.visible { opacity: 1; pointer-events: auto; }

/* Panel slide-from-right */
.nav-mobile {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(340px, 88vw);
    background: var(--surface);
    z-index: 300;
    transform: translateX(110%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    display: flex; flex-direction: column;
    overflow-y: auto; overflow-x: hidden;
    box-shadow: -6px 0 40px rgba(36, 28, 22, .18);
}
.nav-mobile.ouverte { transform: translateX(0); }

/* En-tête panel */
.nav-panel-entete {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--bordure);
    flex-shrink: 0;
    background: var(--surface);
    position: sticky; top: 0; z-index: 1;
}
.nav-panel-fermer {
    background: none; border: 1px solid var(--bordure);
    border-radius: 50%; cursor: pointer;
    font-size: 1.1rem; color: var(--doux);
    width: 2.25rem; height: 2.25rem;
    display: flex; align-items: center; justify-content: center;
    transition: background var(--t), color var(--t), border-color var(--t);
    flex-shrink: 0;
}
.nav-panel-fermer:hover { background: var(--fond-2); color: var(--encre); border-color: var(--doux); }

/* Corps */
.nav-panel-corps { padding: 1rem .75rem; flex: 1; }

.nav-panel-section-titre {
    font-size: .68rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .1em; color: var(--doux);
    padding: .5rem .85rem .4rem; margin-top: .25rem;
}

.nav-panel-lien {
    display: flex; align-items: center; gap: .75rem;
    padding: .8rem .85rem; border-radius: var(--rayon-sm);
    color: var(--encre); font-size: .95rem; font-weight: 500;
    text-decoration: none;
    transition: background var(--t), color var(--t);
    margin-bottom: .1rem; width: 100%;
}
.nav-panel-lien:hover { background: var(--fond-2); text-decoration: none; }
.nav-panel-icone { font-size: 1.1rem; flex-shrink: 0; }
.nav-panel-fleche { margin-left: auto; color: var(--doux); opacity: .6; font-size: 1rem; }

.nav-panel-lien--compte {
    background: rgba(31,110,76,.07);
    border: 1px solid rgba(31,110,76,.18);
    margin-bottom: .5rem; align-items: flex-start;
}
.nav-panel-lien--compte:hover { background: rgba(31,110,76,.12); }

.nav-panel-lien--highlight {
    background: rgba(211,70,41,.07);
    border: 1px solid rgba(211,70,41,.18);
    color: var(--ara);
}
.nav-panel-lien--highlight:hover { background: rgba(211,70,41,.12); }

.nav-panel-sep { height: 1px; background: var(--bordure); margin: .9rem .5rem; }

.nav-panel-btn-decon {
    background: none; border: none; cursor: pointer;
    font-family: 'Outfit', sans-serif; font-size: .95rem;
    color: var(--doux); text-align: left;
}
.nav-panel-btn-decon:hover { background: var(--fond-2); color: var(--encre); }

/* Lien admin — nav-liens desktop */
.nav-liens a.lien-admin {
    font-size: .8rem;
    opacity: .55;
    border: 1px solid transparent;
}
.nav-liens a.lien-admin:hover { opacity: 1; color: var(--ara); background: rgba(211,70,41,.06); }
.nav-liens a.lien-admin--connecte { opacity: .75; color: var(--jungle); }
.nav-liens a.lien-admin--connecte:hover { color: var(--jungle-fonce); background: rgba(31,110,76,.07); }

/* Lien admin — panel mobile */
.nav-panel-lien--admin { color: var(--doux); opacity: .8; }
.nav-panel-lien--admin:hover { opacity: 1; background: var(--fond-2); }

/* Pied */
.nav-panel-pied {
    padding: 1.25rem;
    border-top: 1px solid var(--bordure);
    flex-shrink: 0;
    background: var(--surface);
    position: sticky; bottom: 0;
}

/* Desktop : panel masqué, hamburger masqué */
@media (min-width: 900px) {
    .hamburger { display: none; }
    .nav-liens  { display: flex; }
    .header-cta-sm { display: none; }
}
@media (max-width: 899px) {
    .header-cta-lg { display: none; }
}

/* ----------------------------------------------------------------
   Sections communes
   ---------------------------------------------------------------- */
.section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}
.section-fond-alt {
    background: var(--fond-2);
    padding: 5rem 0;
}
.section-fond-alt .section-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.eyebrow {
    font-size: .76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--ara);
    margin-bottom: .6rem;
}
.s-titre {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--encre);
    margin-bottom: .5rem;
}
.s-titre em { font-style: italic; color: var(--ara); }
.s-sous {
    color: var(--doux); font-size: 1rem;
    max-width: 520px; margin-bottom: 2.75rem; line-height: 1.65;
}

/* ----------------------------------------------------------------
   Héros (page d'accueil)
   ---------------------------------------------------------------- */
.hero {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4.5rem 1.5rem 4rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 900px) {
    .hero { grid-template-columns: 55% 45%; padding: 6rem 2rem 5.5rem; gap: 4rem; }
}

.hero-pastille {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(31,110,76,.1);
    color: var(--jungle);
    border: 1px solid rgba(31,110,76,.25);
    border-radius: 2rem;
    padding: .32rem 1rem;
    font-size: .82rem; font-weight: 600;
    margin-bottom: 1.5rem;
}
.hero-pastille::before {
    content: ''; width: 7px; height: 7px;
    border-radius: 50%; background: var(--jungle);
}
.hero-titre {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--encre);
    margin-bottom: 1.25rem;
}
.hero-titre em { font-style: italic; color: var(--ara); }
.hero-texte {
    font-size: 1.06rem;
    color: var(--doux);
    line-height: 1.75;
    max-width: 500px;
    margin-bottom: 2rem;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.75rem; }
.hero-stats {
    display: flex; gap: 2.5rem; flex-wrap: wrap;
    padding-top: 1.75rem;
    border-top: 1px solid var(--bordure);
}
.hero-stat-chiffre {
    font-family: 'Fraunces', serif;
    font-size: 1.55rem; font-weight: 700; color: var(--encre);
    line-height: 1; display: block; margin-bottom: .15rem;
}
.hero-stat-label {
    font-size: .74rem; color: var(--doux);
    text-transform: uppercase; letter-spacing: .06em; font-weight: 500;
}
.hero-visuel { position: relative; }
.hero-img-wrap {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(145deg, var(--jungle-fonce), var(--turquoise));
    box-shadow: var(--ombre-lg);
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; position: relative; z-index: 1; }
.hero-img-wrap .ef {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 9rem; pointer-events: none;
}
.badge-f {
    position: absolute;
    background: var(--surface);
    border-radius: var(--rayon);
    padding: .6rem 1.1rem;
    box-shadow: var(--ombre-lg);
    font-size: .82rem; font-weight: 600; color: var(--encre);
    display: flex; align-items: center; gap: .4rem;
    white-space: nowrap; z-index: 2;
}
.badge-sante  { bottom: 2.5rem; left: -1.5rem; }
.badge-canada { top: 2rem; right: -1.25rem; }
@media (max-width: 899px) {
    .badge-sante  { bottom: 1rem; left: .75rem; }
    .badge-canada { top: 1rem; right: .75rem; }
}

/* ----------------------------------------------------------------
   Barre de confiance (fond sombre — toujours)
   ---------------------------------------------------------------- */
.confiance-barre { background: var(--bg-sombre); padding: 4rem 1.5rem; }
.confiance-inner {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(2,1fr); gap: 2.5rem 2rem;
}
@media (min-width: 700px) { .confiance-inner { grid-template-columns: repeat(4,1fr); } }
.conf-item { text-align: center; }
.conf-icone { font-size: 2.25rem; margin-bottom: .65rem; }
.conf-titre { font-family: 'Fraunces', serif; font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: .3rem; }
.conf-texte { font-size: .79rem; color: rgba(255,255,255,.48); line-height: 1.55; }

/* ----------------------------------------------------------------
   Espèces (accueil — grille portrait)
   ---------------------------------------------------------------- */
.especes-grille {
    display: grid; grid-template-columns: repeat(2,1fr); gap: 1.25rem;
}
@media (min-width: 700px) { .especes-grille { grid-template-columns: repeat(4,1fr); } }
.especes-cta { margin-top: 2rem; text-align: center; }
.carte-esp {
    position: relative; border-radius: var(--rayon); overflow: hidden;
    aspect-ratio: 3/4; display: block; cursor: pointer;
    box-shadow: var(--ombre);
    transition: box-shadow var(--t), transform var(--t);
}
.carte-esp:hover { box-shadow: var(--ombre-lg); transform: translateY(-5px); }
/* Lumière douce en haut : donne du relief au dégradé uni */
.carte-esp::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(120% 80% at 25% 0%, rgba(255,255,255,.22), transparent 60%);
}
.carte-esp-grad {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(20,16,12,.55) 0%, rgba(20,16,12,.08) 55%, transparent 100%);
}
.carte-esp-contenu { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem 1.25rem; }
.carte-esp-famille {
    display: inline-block; font-size: .62rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em;
    color: rgba(255,255,255,.85);
    background: rgba(255,255,255,.16); padding: .2rem .6rem; border-radius: 1rem;
    margin-bottom: .65rem;
}
.carte-esp-nom { font-family: 'Fraunces', serif; font-size: 1.35rem; line-height: 1.1; font-weight: 700; color: #fff; margin-bottom: .2rem; }
.carte-esp-sous { font-size: .78rem; font-style: italic; color: rgba(255,255,255,.78); margin-bottom: .8rem; }
.carte-esp-fleche {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2rem; height: 2rem; border-radius: 50%;
    background: rgba(255,255,255,.18); color: #fff; font-size: 1rem;
    transition: background var(--t), transform var(--t);
}
.carte-esp:hover .carte-esp-fleche { background: var(--ara); transform: translateX(3px); }

/* ----------------------------------------------------------------
   Grille oiseaux (accueil + liste)
   ---------------------------------------------------------------- */
.oiseaux-grille {
    display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 600px) { .oiseaux-grille { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 900px) { .oiseaux-grille { grid-template-columns: repeat(3,1fr); } }

.carte-o {
    background: var(--surface);
    border-radius: var(--rayon);
    overflow: hidden;
    box-shadow: var(--ombre);
    transition: box-shadow var(--t), transform var(--t);
    display: flex; flex-direction: column;
}
.carte-o:hover { box-shadow: var(--ombre-lg); transform: translateY(-5px); }
.carte-o-img {
    position: relative; aspect-ratio: 4/3; overflow: hidden;
    background: linear-gradient(135deg, var(--fond), var(--fond-2));
}
.carte-o-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; position: relative; z-index: 1; }
.carte-o:hover .carte-o-img img { transform: scale(1.05); }
.carte-o-img .ef {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 5rem; pointer-events: none;
}
.badge-st {
    position: absolute; top: .75rem; left: .75rem; z-index: 2;
    padding: .22rem .72rem; border-radius: 2rem;
    font-size: .68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .05em; z-index: 2;
}
.b-dispo   { background: var(--jungle); color: #fff; }
.b-reserve { background: var(--or);     color: var(--encre); }
.btn-fav {
    position: absolute; top: .75rem; right: .75rem; z-index: 2;
    background: rgba(255,255,255,.92); border: none; border-radius: 50%;
    width: 2.2rem; height: 2.2rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 1.1rem; color: var(--doux);
    transition: background var(--t), transform var(--t), color var(--t); z-index: 2;
}
.btn-fav:hover { background: #fff; transform: scale(1.1); }
.btn-fav[data-actif="true"] { color: var(--ara); }
.carte-o-corps { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: .35rem; }
.carte-o-esp { font-size: .73rem; text-transform: uppercase; letter-spacing: .07em; color: var(--doux); font-weight: 600; }
.carte-o-nom { font-family: 'Fraunces', serif; font-size: 1.25rem; font-weight: 700; color: var(--encre); }
.carte-o-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: .2rem 0; }
.tag {
    background: var(--fond-2); color: var(--doux);
    border: 1px solid var(--bordure); border-radius: 2rem;
    padding: .18rem .68rem; font-size: .75rem; font-weight: 500;
}
.carte-o-prix {
    font-family: 'Fraunces', serif; font-size: 1.4rem;
    font-weight: 700; color: var(--ara); margin-top: auto; padding-top: .5rem;
}
.carte-o-pied {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--bordure);
}

/* ----------------------------------------------------------------
   Processus (3 étapes)
   ---------------------------------------------------------------- */
.processus-grille {
    display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2.5rem;
}
@media (min-width: 700px) { .processus-grille { grid-template-columns: repeat(3,1fr); } }
.proc-etape {
    background: var(--surface); border: 1px solid var(--bordure);
    border-radius: var(--rayon); padding: 2rem; box-shadow: var(--ombre);
    position: relative; overflow: hidden;
}
.proc-etape::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: var(--ara);
    border-radius: var(--rayon) var(--rayon) 0 0;
}
.proc-num {
    width: 3rem; height: 3rem;
    background: var(--ara); color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Fraunces', serif; font-size: 1.2rem; font-weight: 700;
    margin-bottom: 1.25rem;
}
.proc-titre { font-family: 'Fraunces', serif; font-size: 1.1rem; font-weight: 700; color: var(--encre); margin-bottom: .5rem; }
.proc-texte { color: var(--doux); font-size: .88rem; line-height: 1.65; }
.proc-note {
    margin-top: .9rem; font-size: .79rem; color: var(--jungle);
    font-weight: 600; display: flex; align-items: flex-start; gap: .3rem;
}

/* ----------------------------------------------------------------
   Bandeau CTA final
   ---------------------------------------------------------------- */
.cta-bandeau {
    background: linear-gradient(135deg, var(--jungle-fonce) 0%, var(--jungle) 60%, var(--turquoise) 100%);
    padding: 6rem 1.5rem; text-align: center;
}
.cta-titre {
    font-family: 'Fraunces', serif;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700; color: #fff; margin-bottom: .75rem; line-height: 1.15;
}
.cta-texte { color: rgba(255,255,255,.75); font-size: 1.06rem; max-width: 480px; margin: 0 auto 2.25rem; line-height: 1.7; }

/* ----------------------------------------------------------------
   Footer
   ---------------------------------------------------------------- */
.footer { background: var(--bg-sombre); padding: 4.5rem 1.5rem 2rem; }
.footer-inner {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr; gap: 3rem;
}
@media (min-width: 700px) { .footer-inner { grid-template-columns: 2.5fr 1fr 1fr 1fr; gap: 2rem; } }
.footer-logo { font-family: 'Fraunces', serif; font-size: 1.3rem; font-weight: 700; color: #fff; display: block; margin-bottom: .75rem; }
.footer-pitch { font-size: .86rem; color: rgba(255,255,255,.46); line-height: 1.65; max-width: 280px; }
.footer-col-titre { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.32); margin-bottom: 1.1rem; font-weight: 600; }
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col a { color: rgba(255,255,255,.52); font-size: .88rem; transition: color var(--t); }
.footer-col a:hover { color: #fff; }
.footer-bas {
    max-width: 1280px; margin: 3rem auto 0;
    padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08);
    display: flex; flex-wrap: wrap; gap: .75rem;
    justify-content: space-between; font-size: .76rem; color: rgba(255,255,255,.26);
}

/* ----------------------------------------------------------------
   Fil d'Ariane
   ---------------------------------------------------------------- */
.fil-ariane {
    font-size: .85rem; color: var(--doux); margin-bottom: 1.5rem;
    display: flex; align-items: center; flex-wrap: wrap; gap: .3rem;
}
.fil-ariane a { color: var(--doux); transition: color var(--t); }
.fil-ariane a:hover { color: var(--ara); }
.fil-ariane .sep { opacity: .5; }

/* ----------------------------------------------------------------
   Barre de filtres (liste-oiseaux)
   ---------------------------------------------------------------- */
.filtres-bar {
    background: var(--surface); border: 1px solid var(--bordure);
    border-radius: var(--rayon); padding: 1.25rem 1.5rem;
    margin-bottom: 2rem; box-shadow: var(--ombre);
}
.filtres-bar form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem; }
.filtre-groupe { display: flex; flex-direction: column; gap: .3rem; flex: 1; min-width: 160px; }
.filtre-groupe label { font-size: .8rem; font-weight: 600; color: var(--doux); text-transform: uppercase; letter-spacing: .04em; }
.filtre-groupe select {
    padding: .5rem .75rem;
    border: 1px solid var(--bordure);
    border-radius: var(--rayon-sm);
    background: var(--fond); color: var(--encre);
    font-family: 'Outfit', sans-serif; font-size: .9rem;
    cursor: pointer;
    transition: border-color var(--t);
}
.filtre-groupe select:focus { outline: 2px solid var(--jungle); outline-offset: 1px; border-color: var(--jungle); }
.filtres-actions { display: flex; gap: .5rem; align-items: flex-end; padding-bottom: 1px; }

/* ----------------------------------------------------------------
   Fiche oiseau (layout + galerie + tableau)
   ---------------------------------------------------------------- */
.fiche-layout {
    display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 3rem;
}
@media (min-width: 800px) {
    .fiche-layout { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* Galerie */
.galerie-principale {
    border-radius: var(--rayon); overflow: hidden;
    background: var(--fond-2); box-shadow: var(--ombre-lg);
}
.galerie-img-principale {
    width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block;
    transition: opacity .2s ease;
}
.galerie-placeholder {
    aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
    font-size: 7rem; border-radius: var(--rayon); background: var(--fond-2);
}
.galerie-miniatures { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .75rem; }
.galerie-miniature {
    width: 5rem; height: 5rem; border-radius: var(--rayon-sm);
    overflow: hidden; cursor: pointer; border: 2px solid var(--bordure);
    background: none; padding: 0; transition: border-color var(--t);
    flex-shrink: 0;
}
.galerie-miniature img { width: 100%; height: 100%; object-fit: cover; display: block; }
.galerie-miniature.active,
.galerie-miniature:hover { border-color: var(--ara); }

/* Infos fiche */
.fiche-titre {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700; color: var(--encre); margin-bottom: .5rem; line-height: 1.2;
}
.fiche-titre-detail {
    display: block; font-family: 'Outfit', sans-serif;
    font-size: .9rem; font-weight: 400; color: var(--doux); margin-top: .25rem;
}
.fiche-badge-statut {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .3rem .9rem; border-radius: 2rem;
    font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
    margin-bottom: 1.25rem;
}
.fiche-badge-statut.dispo   { background: rgba(31,110,76,.12); color: var(--jungle); border: 1px solid rgba(31,110,76,.25); }
.fiche-badge-statut.reserve { background: rgba(217,162,39,.12); color: #a07a00; border: 1px solid rgba(217,162,39,.35); }
.fiche-badge-statut.vendu   { background: var(--fond-2); color: var(--doux); border: 1px solid var(--bordure); }

.fiche-indispo {
    background: var(--fond-2); border: 1px solid var(--bordure);
    border-left: 4px solid var(--doux);
    border-radius: var(--rayon-sm); padding: .85rem 1rem;
    margin-bottom: 1.25rem; font-size: .95rem;
    color: var(--doux);
}
.fiche-indispo a { color: var(--ara); text-decoration: underline; }

.fiche-tableau {
    width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem;
}
.fiche-tableau th,
.fiche-tableau td { padding: .65rem .75rem; border-bottom: 1px solid var(--bordure); text-align: left; vertical-align: top; }
.fiche-tableau th { width: 40%; color: var(--doux); font-weight: 600; }
.fiche-tableau tr:last-child th,
.fiche-tableau tr:last-child td { border-bottom: none; }
.fiche-prix { font-family: 'Fraunces', serif; font-size: 1.2rem; font-weight: 700; color: var(--ara); }

.fiche-description { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--bordure); }
.fiche-description h2 { font-family: 'Fraunces', serif; font-size: 1.1rem; margin-bottom: .5rem; }
.fiche-description p { color: var(--doux); font-size: .95rem; line-height: 1.7; }

.btn-reserver {
    display: flex; align-items: center; justify-content: center;
    margin: 1.5rem 0; font-size: 1.05rem;
}

/* ----------------------------------------------------------------
   Formulaire de réservation
   ---------------------------------------------------------------- */
.resa-layout {
    display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 3rem;
}
@media (min-width: 800px) {
    .resa-layout { grid-template-columns: 1fr 2fr; align-items: start; }
}

.resa-rappel {
    background: var(--surface); border: 1px solid var(--bordure);
    border-radius: var(--rayon); padding: 1.25rem; box-shadow: var(--ombre);
    display: flex; flex-direction: column; gap: .75rem;
}
.resa-rappel-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--rayon-sm); display: block; }
.resa-rappel-espece { font-family: 'Fraunces', serif; font-size: 1.1rem; font-weight: 700; color: var(--encre); }
.resa-rappel-prix { font-family: 'Fraunces', serif; font-size: 1.3rem; font-weight: 700; color: var(--ara); }
.resa-rappel-detail { font-size: .85rem; color: var(--doux); }

.resa-info-block {
    background: rgba(31,110,76,.07); border: 1px solid rgba(31,110,76,.2);
    border-radius: var(--rayon-sm); padding: .85rem 1rem;
    font-size: .88rem; color: var(--jungle); font-weight: 500;
    display: flex; align-items: flex-start; gap: .5rem; margin-bottom: 1.5rem;
}

.form-resa { display: flex; flex-direction: column; gap: .1rem; }

.champ { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.champ label { font-weight: 600; font-size: .92rem; color: var(--encre); }
.champ input,
.champ select,
.champ textarea {
    padding: .6rem .85rem;
    border: 1.5px solid var(--bordure);
    border-radius: var(--rayon-sm);
    background: var(--fond); color: var(--encre);
    font-family: 'Outfit', sans-serif; font-size: 1rem;
    transition: border-color var(--t);
    width: 100%;
}
.champ input:focus,
.champ select:focus,
.champ textarea:focus { outline: 2px solid var(--jungle); outline-offset: 1px; border-color: var(--jungle); }
.champ--erreur input,
.champ--erreur select,
.champ--erreur textarea { border-color: var(--ara); }
.champ__erreur { font-size: .82rem; color: var(--ara); }

.resa-erreur-global {
    background: rgba(211,70,41,.08); border: 1px solid rgba(211,70,41,.3);
    border-radius: var(--rayon-sm); padding: .75rem 1rem;
    color: var(--ara); font-size: .92rem; margin-bottom: 1rem;
}

/* Honeypot — invisible */
.resa-honeypot {
    position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}

/* ----------------------------------------------------------------
   Page de confirmation
   ---------------------------------------------------------------- */
.page-confirmation {
    max-width: 600px; margin: 5rem auto; padding: 0 1.5rem; text-align: center;
}
.confirmation-icone { font-size: 5rem; margin-bottom: 1.5rem; }
.confirmation-titre { font-family: 'Fraunces', serif; font-size: 2rem; font-weight: 700; color: var(--encre); margin-bottom: .75rem; }
.confirmation-texte { color: var(--doux); font-size: 1rem; line-height: 1.7; margin-bottom: 2rem; }

/* ----------------------------------------------------------------
   Page 404
   ---------------------------------------------------------------- */
.page-404 { max-width: 600px; margin: 5rem auto; padding: 0 1.5rem; text-align: center; }
.page-404-icone { font-size: 5rem; margin-bottom: 1rem; }
.page-404 h1 { font-family: 'Fraunces', serif; font-size: 2rem; margin-bottom: .75rem; }
.page-404 p { color: var(--doux); margin-bottom: 1.5rem; }

/* ----------------------------------------------------------------
   Animations reveal (IntersectionObserver)
   ---------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }

/* ----------------------------------------------------------------
   Suivi de remise — timeline
   ---------------------------------------------------------------- */
.suivi-timeline {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin: 1.25rem 0;
    overflow-x: auto;
    padding-bottom: .25rem;
}

.suivi-etape {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 72px;
    position: relative;
    text-align: center;
}

/* Ligne de connexion */
.suivi-etape::before {
    content: '';
    position: absolute;
    top: 1rem;
    left: calc(-50% + .6rem);
    right: calc(50% + .6rem);
    height: 2px;
    background: var(--bordure);
    z-index: 0;
}
.suivi-etape:first-child::before { display: none; }
.suivi-etape.fait::before { background: var(--jungle); }

.suivi-point {
    width: 2rem; height: 2rem;
    border-radius: 50%;
    border: 2.5px solid var(--bordure);
    background: var(--surface);
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem;
    position: relative; z-index: 1;
    transition: border-color .2s, background .2s;
}

.suivi-etape.fait    .suivi-point { border-color: var(--jungle); background: var(--jungle); color: #fff; }
.suivi-etape.actuel  .suivi-point { border-color: var(--ara);    background: var(--ara);    color: #fff; }

.suivi-label {
    font-size: .7rem;
    color: var(--doux);
    margin-top: .4rem;
    line-height: 1.3;
    max-width: 70px;
}
.suivi-etape.fait   .suivi-label { color: var(--jungle); font-weight: 600; }
.suivi-etape.actuel .suivi-label { color: var(--ara);    font-weight: 700; }

/* Bloc suivi compact dans la table réservations */
.suivi-bloc {
    background: var(--fond-2);
    border: 1px solid var(--bordure);
    border-radius: var(--rayon-sm);
    padding: .75rem 1rem;
    margin-top: .5rem;
}
.suivi-ref {
    font-size: .75rem;
    color: var(--doux);
    margin-bottom: .25rem;
}
.suivi-ref strong { color: var(--encre); font-weight: 700; letter-spacing: .04em; }
.suivi-transport {
    font-size: .78rem; color: var(--doux); margin-top: .5rem;
    display: flex; align-items: center; gap: .4rem; flex-wrap: wrap;
}
.suivi-transport a { color: var(--ara); font-weight: 600; text-decoration: underline; }

/* Page suivi public */
.page-suivi { max-width: 640px; margin: 3.5rem auto; padding: 0 1.5rem; }
.suivi-titre { font-family: 'Fraunces', serif; font-size: 1.8rem; font-weight: 700; color: var(--encre); margin-bottom: .4rem; }
.suivi-sous { color: var(--doux); margin-bottom: 2rem; }
.suivi-carte {
    background: var(--surface); border: 1px solid var(--bordure);
    border-radius: var(--rayon); padding: 2rem; box-shadow: var(--ombre-lg);
    margin-top: 2rem;
}
.suivi-carte-titre { font-family: 'Fraunces', serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 1.25rem; color: var(--encre); }

/* ----------------------------------------------------------------
   Gate de réservation (connexion requise avant formulaire)
   ---------------------------------------------------------------- */
.resa-gate {
    max-width: 680px; margin: 2rem auto 0; text-align: center;
}
.resa-gate-entete { margin-bottom: 2.75rem; }

.resa-gate-oiseau { margin-bottom: 1.25rem; }
.resa-gate-img {
    width: 120px; height: 120px; object-fit: cover;
    border-radius: 50%; box-shadow: var(--ombre-lg);
    margin: 0 auto;
}
.resa-gate-emoji { font-size: 5rem; line-height: 1; }

.resa-gate-titre {
    font-family: 'Fraunces', serif; font-size: .85rem;
    font-weight: 600; text-transform: uppercase; letter-spacing: .1em;
    color: var(--doux); margin-bottom: .3rem;
}
.resa-gate-espece {
    font-family: 'Fraunces', serif; font-size: 1.8rem;
    font-weight: 700; color: var(--encre); margin-bottom: .75rem;
}
.resa-gate-sous {
    color: var(--doux); font-size: .95rem; line-height: 1.65;
    max-width: 420px; margin: 0 auto;
}

.resa-gate-options {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1.25rem;
    align-items: center;
    margin-bottom: 2rem;
}
@media (max-width: 580px) {
    .resa-gate-options { grid-template-columns: 1fr; }
    .gate-ou { display: none; }
}

.gate-option {
    background: var(--surface); border: 1px solid var(--bordure);
    border-radius: var(--rayon); padding: 2rem 1.5rem;
    display: flex; flex-direction: column; gap: .75rem;
    text-align: center; box-shadow: var(--ombre);
    transition: box-shadow var(--t), transform var(--t);
}
.gate-option:hover { box-shadow: var(--ombre-lg); transform: translateY(-3px); }
.gate-option-icone { font-size: 2.25rem; }
.gate-option h3 {
    font-family: 'Fraunces', serif; font-size: 1.1rem;
    font-weight: 700; color: var(--encre);
}
.gate-option p { font-size: .85rem; color: var(--doux); line-height: 1.55; flex: 1; }

.gate-ou {
    font-size: .85rem; font-weight: 600; color: var(--doux);
    padding: 0 .25rem;
}

.gate-invite-lien {
    font-size: .88rem; color: var(--doux);
}
.gate-invite-lien a { color: var(--ara); font-weight: 600; }
.gate-invite-lien a:hover { text-decoration: underline; }

/* ----------------------------------------------------------------
   Auth — connexion, inscription
   ---------------------------------------------------------------- */
.page-auth {
    max-width: 480px; margin: 4rem auto; padding: 0 1.5rem;
}
.auth-carte {
    background: var(--surface); border: 1px solid var(--bordure);
    border-radius: var(--rayon); padding: 2.5rem 2rem; box-shadow: var(--ombre-lg);
}
.auth-titre {
    font-family: 'Fraunces', serif; font-size: 1.8rem; font-weight: 700;
    color: var(--encre); margin-bottom: .35rem;
}
.auth-sous { color: var(--doux); font-size: .92rem; margin-bottom: 2rem; line-height: 1.55; }
.auth-lien { margin-top: 1.5rem; text-align: center; font-size: .9rem; color: var(--doux); }
.auth-lien a { color: var(--ara); font-weight: 600; text-decoration: underline; }
.auth-erreur {
    background: rgba(211,70,41,.08); border: 1px solid rgba(211,70,41,.25);
    border-radius: var(--rayon-sm); padding: .75rem 1rem;
    color: var(--ara); font-size: .88rem; margin-bottom: 1.25rem;
}
.auth-succes {
    background: rgba(31,110,76,.08); border: 1px solid rgba(31,110,76,.25);
    border-radius: var(--rayon-sm); padding: .75rem 1rem;
    color: var(--jungle); font-size: .88rem; margin-bottom: 1.25rem;
}

/* ----------------------------------------------------------------
   Dashboard client — layout sidebar + main
   ---------------------------------------------------------------- */
.dashboard-wrap {
    display: flex;
    min-height: calc(100dvh - 70px);
}

/* Sidebar */
.dashboard-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: var(--surface);
    border-right: 1px solid var(--bordure);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 70px;
    height: calc(100dvh - 70px);
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-profil {
    padding: 1.75rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--bordure);
}
.sidebar-avatar {
    width: 3.5rem; height: 3.5rem; border-radius: 50%;
    background: linear-gradient(135deg, var(--jungle), var(--turquoise));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; margin-bottom: .75rem;
}
.sidebar-nom {
    font-family: 'Fraunces', serif; font-size: .95rem; font-weight: 700;
    color: var(--encre); line-height: 1.3;
}
.sidebar-email { font-size: .74rem; color: var(--doux); margin-top: .1rem; word-break: break-all; }

.sidebar-nav { padding: .75rem; flex: 1; }
.sidebar-nav-item {
    display: flex; align-items: center; gap: .65rem;
    padding: .65rem .85rem; border-radius: var(--rayon-sm);
    color: var(--doux); font-size: .9rem; font-weight: 500;
    text-decoration: none; transition: background var(--t), color var(--t);
    margin-bottom: .1rem;
}
.sidebar-nav-item:hover { background: var(--fond-2); color: var(--encre); text-decoration: none; }
.sidebar-nav-item.actif { background: rgba(211,70,41,.09); color: var(--ara); font-weight: 600; }
.sidebar-nav-icone { font-size: 1.1rem; flex-shrink: 0; }

.sidebar-sep { height: 1px; background: var(--bordure); margin: .6rem .75rem; }
.sidebar-bas { padding: .75rem; }

/* Main content */
.dashboard-main { flex: 1; min-width: 0; padding: 2.5rem; background: var(--fond); }

/* Mobile : sidebar → barre horizontale en haut */
@media (max-width: 800px) {
    .dashboard-wrap { flex-direction: column; }
    .dashboard-sidebar {
        width: 100%; height: auto;
        position: relative; top: auto;
        flex-direction: row; align-items: center;
        padding: .5rem .75rem; gap: .25rem;
        border-right: none; border-bottom: 1px solid var(--bordure);
        overflow-x: auto; overflow-y: hidden;
    }
    .sidebar-profil { display: none; }
    .sidebar-nav { display: flex; flex-direction: row; gap: .15rem; padding: 0; flex: 0; }
    .sidebar-sep { display: none; }
    .sidebar-bas { margin-left: auto; padding: 0; }
    .dashboard-main { padding: 1.5rem 1rem; }
}

/* Stats */
.dash-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-bottom: 2rem; }
@media (max-width: 480px) { .dash-stats { grid-template-columns: 1fr; } }

.dash-stat {
    background: var(--surface); border: 1px solid var(--bordure);
    border-radius: var(--rayon); padding: 1.25rem 1rem;
    text-align: center; box-shadow: var(--ombre);
    border-top: 3px solid var(--bordure);
}
.dash-stat--total  { border-top-color: var(--encre); }
.dash-stat--att    { border-top-color: var(--ara); }
.dash-stat--trait  { border-top-color: var(--jungle); }
.dash-stat-nb {
    font-family: 'Fraunces', serif; font-size: 2.4rem; font-weight: 700;
    line-height: 1; margin-bottom: .3rem; color: var(--encre);
}
.dash-stat--att  .dash-stat-nb { color: var(--ara); }
.dash-stat--trait .dash-stat-nb { color: var(--jungle); }
.dash-stat-label { font-size: .75rem; color: var(--doux); text-transform: uppercase; letter-spacing: .05em; }

/* Section header */
.dash-entete { margin-bottom: 1.75rem; }
.dash-titre {
    font-family: 'Fraunces', serif; font-size: 1.6rem;
    font-weight: 700; color: var(--encre); margin-bottom: .2rem;
}
.dash-sous { color: var(--doux); font-size: .9rem; }
.dash-section-titre {
    font-family: 'Fraunces', serif; font-size: 1.05rem; font-weight: 700;
    color: var(--encre); margin-bottom: 1rem;
    padding-bottom: .55rem; border-bottom: 2px solid var(--bordure);
    display: flex; align-items: center; gap: .5rem;
}

/* Alerte succès */
.dash-succes {
    background: rgba(31,110,76,.08); border: 1px solid rgba(31,110,76,.22);
    border-radius: var(--rayon-sm); padding: .85rem 1.1rem;
    color: var(--jungle); font-size: .9rem; font-weight: 500;
    display: flex; align-items: center; gap: .5rem; margin-bottom: 1.5rem;
}

.resa-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.resa-table th {
    padding: .6rem 1rem; text-align: left; color: var(--doux);
    font-weight: 600; font-size: .74rem; text-transform: uppercase; letter-spacing: .05em;
    border-bottom: 2px solid var(--bordure); background: var(--fond-2);
}
.resa-table td { padding: .85rem 1rem; border-bottom: 1px solid var(--bordure); vertical-align: middle; }
.resa-table tr:last-child td { border-bottom: none; }
.resa-table tr:hover td { background: var(--fond-2); }

.resa-esp { font-weight: 600; color: var(--encre); display: block; }
.resa-date { font-size: .8rem; color: var(--doux); }

.badge-resa {
    display: inline-block; padding: .22rem .72rem; border-radius: 2rem;
    font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.badge-resa-nouvelle { background: rgba(211,70,41,.1);  color: var(--ara);    border: 1px solid rgba(211,70,41,.25); }
.badge-resa-traitee  { background: rgba(31,110,76,.1);  color: var(--jungle); border: 1px solid rgba(31,110,76,.25); }
.badge-resa-annulee  { background: var(--fond-2);       color: var(--doux);   border: 1px solid var(--bordure); }

.resa-vide { text-align: center; padding: 3rem 1rem; color: var(--doux); }
.resa-vide p { margin-bottom: 1.25rem; }

/* ----------------------------------------------------------------
   Utilitaires
   ---------------------------------------------------------------- */
.texte-centre { text-align: center; }
.texte-discret { color: var(--doux); font-size: .9em; }
.marge-haut-1 { margin-top: 1rem; }
.marge-bas-1  { margin-bottom: 1rem; }
.marge-bas-2  { margin-bottom: 2rem; }

/* ============================================================
   Bouton WhatsApp flottant (configurable via admin → Paramètres)
   ============================================================ */
.wa-flottant {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
    z-index: 900;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.wa-flottant:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    color: #fff;
}
.wa-flottant:focus-visible {
    outline: 3px solid rgba(37, 211, 102, 0.55);
    outline-offset: 3px;
}
.wa-flottant svg { position: relative; z-index: 1; }

/* Anneau pulsant */
.wa-flottant-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25d366;
    z-index: 0;
    animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
    0%   { transform: scale(1);   opacity: 0.6; }
    70%  { transform: scale(1.7); opacity: 0; }
    100% { transform: scale(1.7); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .wa-flottant-pulse { animation: none; }
}
@media (max-width: 600px) {
    .wa-flottant { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}
