/* ===== Variables ===== */
:root {
    --color-primary: #14649c;
    --color-primary-dark: #0f4f7a;
    --color-primary-light: #e8f1f8;
    --color-text: #222;
    --color-text-light: #555;
    --color-bg: #fff;
    --color-bg-alt: #f7f4f0;
    --color-border: #ddd;
    --font-body: system-ui, -apple-system, sans-serif;
    --container-max: 1100px;
    --radius: 6px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); color: var(--color-text); background: var(--color-bg); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); }
a:hover { color: var(--color-primary-dark); }

/* ===== Layout ===== */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 1.25rem; }

/* ===== Header ===== */
.site-header { background: var(--color-bg); border-bottom: 2px solid var(--color-primary); position: sticky; top: 0; z-index: 100; }
.site-header .container { display: flex; align-items: center; gap: 1.5rem; padding-top: 0.75rem; padding-bottom: 0.75rem; }

.logo { text-decoration: none; color: var(--color-text); flex-shrink: 0; }
.logo-title { display: block; font-size: 1.2rem; font-weight: 700; color: var(--color-primary); }
.logo-sub { display: block; font-size: 0.75rem; color: var(--color-text-light); }

.main-nav { flex: 1; }
.main-nav ul { list-style: none; display: flex; gap: 0.25rem; flex-wrap: wrap; }
.main-nav a { text-decoration: none; color: var(--color-text); padding: 0.4rem 0.75rem; border-radius: var(--radius); font-size: 0.9rem; transition: background 0.15s; }
.main-nav a:hover, .main-nav a.active { background: var(--color-bg-alt); color: var(--color-primary); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-text); transition: all 0.2s; }

.header-social { display: flex; gap: 0.5rem; align-items: center; }
.header-social a { color: var(--color-text-light); display: flex; align-items: center; transition: color 0.15s; }
.header-social a:hover { color: var(--color-primary); }

/* ===== Hero ===== */
@keyframes hero-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero {
    background: var(--color-primary);
    color: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: clamp(520px, 88vh, 900px);
}

.hero--photo { background: #0a1a28; }

.hero--photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--hero-img);
    background-size: cover;
    background-position: center;
    opacity: 0.75;
}

.hero--photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.28) 0%,
        rgba(0, 0, 0, 0.1)  40%,
        rgba(0, 0, 0, 0.55) 100%
    );
}

/* ── Hero body (accroche) ── */
.hero-body {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 4rem 0 2rem;
    animation: hero-fade-up 0.7s ease both;
}

.hero-body-inner { max-width: 720px; }

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2rem, 5.5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 1.75rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    background: #fff;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius);
    text-decoration: none;
    transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.hero-cta:hover {
    background: var(--color-primary-light);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ── Mission cards inside hero ── */
.hero-missions {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-missions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.hero-mission-card {
    padding: 1.75rem 1.5rem 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    animation: hero-fade-up 0.6s ease both;
}

.hero-mission-card:nth-child(1) { animation-delay: 0.15s; }
.hero-mission-card:nth-child(2) { animation-delay: 0.25s; }
.hero-mission-card:nth-child(3) { animation-delay: 0.35s; border-right: none; }


.hero-mission-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: #fff;
}

.hero-mission-text {
    font-size: 0.85rem;
    line-height: 1.6;
    opacity: 0.75;
    margin: 0;
}

.hero-missions-cta {
    text-align: center;
    padding: 1.5rem 1rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
    .hero { min-height: auto; }
    .hero-body { padding: 3rem 0 1.5rem; }
    .hero-title { font-size: clamp(1.75rem, 7vw, 2.5rem); }
    .hero-missions-grid { grid-template-columns: 1fr; }
    .hero-mission-card {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        padding: 1.25rem 0;
    }
    .hero-mission-card:last-child { border-bottom: none; }
}


/* ===== Permanences ===== */
.permanences { padding: 3rem 1.25rem; }
.permanences h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.permanences-sous-titre { color: var(--color-text-light); font-size: 0.95rem; margin-bottom: 1.5rem; }
.permanences-texte-bas.prose { margin-top: 1.25rem; font-size: 0.825rem; color: var(--color-text-light); line-height: 1.5; }
.permanences-texte-bas.prose p { margin-bottom: 0.4rem; }
.permanences-schedule {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
}
.schedule-day {
    display: flex;
    border-bottom: 1px solid var(--color-border);
}
.schedule-day:last-child { border-bottom: none; }
.schedule-day-label {
    width: 110px;
    flex-shrink: 0;
    background: var(--color-bg-alt);
    border-right: 1px solid var(--color-border);
    padding: 1.1rem 1rem 1.1rem 1.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
}
.schedule-sessions {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.schedule-session {
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.schedule-session:last-child { border-bottom: none; }
.schedule-session-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}
.schedule-session-nom { font-weight: 600; font-size: 0.95rem; }
.schedule-session-horaire {
    font-size: 0.8rem;
    color: var(--color-primary);
    font-weight: 600;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.schedule-session-desc {
    font-size: 0.8rem;
    color: var(--color-text-light);
    font-style: italic;
    line-height: 1.4;
    margin: 0;
}
.schedule-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: 999px;
    padding: 0.1em 0.55em;
    vertical-align: middle;
    margin-left: 0.4em;
    opacity: 0.8;
}
@media (max-width: 560px) {
    .schedule-day { flex-direction: column; }
    .schedule-day-label {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        padding: 0.55rem 1rem;
    }
    .schedule-session { padding: 0.75rem 1rem; }
    .schedule-session-top { flex-direction: column; gap: 0.15rem; }
}

/* ===== Mini-agenda CalDAV ===== */
.agenda-caldav {
    border-top: 1px solid var(--color-border);
    padding: 2rem 1.25rem;
}
.agenda-caldav-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
}
.agenda-caldav-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
}
.agenda-caldav-sub { font-size: 0.75rem; color: var(--color-text-light); }

/* Label date : même style que schedule-day-label, largeur étendue */
.schedule-day-label--date { width: 130px; }

/* Aujourd'hui */
.schedule-day--today .schedule-day-label {
    border-right-color: var(--color-primary);
    background: #eaf3fa;
}

/* ===== Section Nous contacter ===== */
.contact-section { background: var(--color-bg-alt); padding: 4rem 0; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.contact-grid--no-map { grid-template-columns: 1fr; max-width: 600px; }

.contact-infos h2 { font-size: 1.75rem; font-weight: 700; color: var(--color-primary); margin-bottom: 0.5rem; }
.contact-sous-titre { color: var(--color-text-light); font-size: 1rem; line-height: 1.6; margin-bottom: 1.75rem; }

.contact-buttons { display: flex; flex-direction: column; gap: 0.625rem; margin-bottom: 1.25rem; }
.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.7rem 1.2rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    width: fit-content;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.contact-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.contact-btn--email { background: var(--color-primary); color: #fff; }
.contact-btn--email:hover { background: var(--color-primary-dark); color: #fff; }
.contact-btn--tel { background: #fff; color: var(--color-primary); border: 2px solid var(--color-primary); }
.contact-btn--tel:hover { background: var(--color-primary); color: #fff; }

.contact-socials { display: flex; gap: 0.625rem; margin-bottom: 1.25rem; }
.contact-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.contact-social:hover { background: var(--color-primary); color: #fff; }
.contact-social svg { width: 20px; height: 20px; }

.contact-adresse {
    display: flex;
    align-items: flex-start;
    gap: 0.375rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.5;
}
.contact-adresse svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 0.15em; }

.contact-carte-map { width: 100%; height: 380px; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.1); }

/* ===== Infos ===== */
.infos { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; padding: 3rem 1.25rem; background: var(--color-bg-alt); }
.info-block h2 { font-size: 1.1rem; color: var(--color-primary); margin-bottom: 0.5rem; }

/* ===== Pages génériques ===== */
.page { padding: 3rem 1.25rem; }
.page h1 { font-size: 2rem; margin-bottom: 1.5rem; }
.page--narrow { max-width: 680px; }

/* ===== Page Association ===== */
.association-page { padding-bottom: 5rem; }

.association-hero {
    background: var(--color-primary);
    color: #fff;
    padding: 3.5rem 0 3rem;
    margin-bottom: 3rem;
}

.association-hero h1 {
    font-size: clamp(1.8rem, 5vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.15;
}

/* Hero avec image à la une */
.association-hero--photo {
    position: relative;
    padding: 0;
    background: #111;
    min-height: clamp(280px, 45vh, 520px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.association-hero--photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--hero-img);
    background-size: cover;
    background-position: center;
    opacity: 0.75;
    transform: scale(1.02);
    transition: transform 6s ease;
}

.association-hero--photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.28) 55%,
        rgba(0, 0, 0, 0.04) 100%
    );
}

.association-hero-inner {
    position: relative;
    z-index: 1;
    padding-top: 2rem;
    padding-bottom: 2.5rem;
    width: 100%;
}

.association-hero--photo h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.1;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.01em;
}

.association-content {
    max-width: 740px;
    padding-top: 3rem;
}

/* ===== Prose — contenu WYSIWYG ===== */
.prose { line-height: 1.75; color: var(--color-text); font-size: 1.0625rem; overflow-wrap: break-word; word-break: break-word; }

.prose p { margin-bottom: 1.25rem; }
.prose p:last-child { margin-bottom: 0; }

.prose h2 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--color-primary);
    margin: 2.25rem 0 0.75rem;
    line-height: 1.25;
}

.prose h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 1.75rem 0 0.5rem;
    line-height: 1.3;
}

.prose strong { font-weight: 700; }
.prose em { font-style: italic; }
.prose u { text-underline-offset: 3px; }

.prose ul, .prose ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.35rem; }
.prose li:last-child { margin-bottom: 0; }

.prose a { color: var(--color-primary); text-underline-offset: 3px; }
.prose a:hover { color: var(--color-primary-dark); }

.prose img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
    margin: 1.75rem auto;
}

.prose blockquote {
    border-left: 4px solid var(--color-primary);
    background: var(--color-bg-alt);
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--color-text-light);
}

@media (max-width: 640px) {
    .association-hero { padding: 2.5rem 0 2rem; margin-bottom: 2rem; }
    .association-content { font-size: 1rem; }
    .prose img { margin: 1.25rem auto; }
    .prose h2 { margin-top: 1.75rem; }
}

/* ===== Vélos ===== */
.velos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.velo-card { border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; }
.velo-photo { width: 100%; height: 200px; object-fit: cover; }
.velo-photo-placeholder { width: 100%; height: 200px; background: var(--color-bg-alt); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.velo-info { padding: 1rem; }
.velo-info h2 { font-size: 1rem; margin-bottom: 0.5rem; }
.velo-etat { display: inline-block; font-size: 0.75rem; padding: 0.2rem 0.5rem; border-radius: 3px; font-weight: 600; }
.velo-etat--bon { background: #d4edda; color: #155724; }
.velo-etat--correct { background: #fff3cd; color: #856404; }
.velo-etat--travaux { background: #f8d7da; color: #721c24; }
.velo-prix { font-size: 1.2rem; font-weight: 700; color: var(--color-primary); margin-top: 0.5rem; }
.velo-desc { font-size: 0.85rem; color: var(--color-text-light); margin-top: 0.5rem; }

/* ===== Galerie ===== */
.galerie-grid { columns: 3 280px; gap: 1rem; }
.galerie-item { break-inside: avoid; margin-bottom: 1rem; cursor: pointer; }
.galerie-item img { width: 100%; border-radius: var(--radius); transition: opacity 0.2s; }
.galerie-item:hover img { opacity: 0.85; }
.galerie-item figcaption { font-size: 0.8rem; color: var(--color-text-light); padding: 0.25rem 0.5rem; }

/* ===== Lightbox ===== */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 1000; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox-content { display: flex; flex-direction: column; align-items: center; max-width: 90vw; max-height: 90vh; }
.lightbox-content img { max-width: 90vw; max-height: 82vh; object-fit: contain; border-radius: var(--radius); display: block; }
.lightbox-legende { color: rgba(255,255,255,0.75); font-size: 0.9rem; margin-top: 0.75rem; text-align: center; min-height: 1.2em; }
.lightbox-close { position: fixed; top: 1.25rem; right: 1.5rem; background: none; border: none; color: #fff; font-size: 2.5rem; cursor: pointer; line-height: 1; opacity: 0.8; transition: opacity 0.15s; }
.lightbox-close:hover { opacity: 1; }
.lightbox-prev, .lightbox-next { position: fixed; top: 50%; transform: translateY(-50%); background: none; border: none; color: #fff; font-size: 4rem; cursor: pointer; line-height: 1; opacity: 0.6; transition: opacity 0.15s; padding: 0 1rem; user-select: none; }
.lightbox-prev:hover, .lightbox-next:hover { opacity: 1; }
.lightbox-prev { left: 0.5rem; }
.lightbox-next { right: 0.5rem; }
.lightbox-counter { position: fixed; bottom: 1.25rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.5); font-size: 0.85rem; }

/* ===== Page Nos vélos ===== */
.velos-page { padding: 0; }

.velos-header { padding: 3.5rem 1.25rem 2.5rem; border-bottom: 1px solid var(--color-border); }
.velos-header h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; line-height: 1.1; margin-bottom: 0; position: relative; display: inline-block; }
.velos-header h1::after { content: ''; display: block; height: 3px; background: var(--color-primary); margin-top: 0.5rem; width: 60%; }

.velos-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }

.velos-intro-col { padding: 3rem 3rem 3rem 1.25rem; border-right: 1px solid var(--color-border); }
.velos-intro-col p { font-size: 1.1rem; line-height: 1.8; color: var(--color-text); margin-bottom: 1.25rem; }
.velos-intro-col p:last-of-type { margin-bottom: 0; }

.velos-cta-col { padding: 3rem 1.25rem 3rem 3rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1rem; background: var(--color-primary-light); }
.velos-cta-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-primary); font-weight: 600; }
.velos-cta-link { display: inline-flex; align-items: center; gap: 0.75rem; background: var(--color-primary); color: #fff; text-decoration: none; padding: 1rem 1.75rem; font-size: 1rem; font-weight: 600; border-radius: var(--radius); transition: background 0.15s, gap 0.2s; }
.velos-cta-link:hover { background: var(--color-primary-dark); color: #fff; gap: 1.1rem; }
.velos-cta-link svg { flex-shrink: 0; transition: transform 0.2s; }
.velos-cta-link:hover svg { transform: translateX(3px); }
.velos-cta-note { font-size: 0.85rem; color: var(--color-text-light); }

.velos-galerie-section { padding: 3rem 1.25rem; border-top: 1px solid var(--color-border); }
.velos-galerie-section h2 { font-size: 1.25rem; font-weight: 600; margin-bottom: 1.5rem; color: var(--color-text-light); }
.velos-galerie { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.velos-galerie-item { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/3; }
.velos-galerie-item:first-child { grid-column: 1 / -1; aspect-ratio: 16/6; }
.velos-galerie-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 768px) {
    .velos-body { grid-template-columns: 1fr; }
    .velos-intro-col { padding: 2rem 1.25rem; border-right: none; border-bottom: 1px solid var(--color-border); }
    .velos-cta-col { padding: 2rem 1.25rem; }
    .velos-galerie { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Lieu CTA ===== */
.lieu-cta {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    max-width: 740px;
}

.lieu-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===== Iframe alerte ===== */
.alerte-iframe { width: 100%; min-height: 80vh; border: none; display: block; }

/* ===== Formulaire ===== */
.form-alerte { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label { font-size: 0.9rem; font-weight: 600; }
.form-group input, .form-group textarea {
    border: 1px solid var(--color-border); border-radius: var(--radius);
    padding: 0.6rem 0.75rem; font-size: 1rem; font-family: inherit;
    transition: border-color 0.15s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--color-primary); }

.password-wrap { position: relative; }
.password-wrap input { width: 100%; padding-right: 2.5rem; }
.password-toggle {
    position: absolute; right: 0.625rem; top: 50%; transform: translateY(-50%);
    background: none; border: none; cursor: pointer; padding: 0.25rem;
    color: var(--color-text-light); display: flex; align-items: center;
    transition: color 0.15s;
}
.password-toggle:hover { color: var(--color-primary); }
.form-group--error input, .form-group--error textarea { border-color: #dc3545; }
.form-error { font-size: 0.85rem; color: #dc3545; }

/* ===== Boutons ===== */
.btn { display: inline-block; padding: 0.65rem 1.5rem; border-radius: var(--radius); font-size: 1rem; font-weight: 600; cursor: pointer; border: none; text-decoration: none; transition: background 0.15s; }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-primary-dark); color: #fff; }
.btn--full { width: 100%; text-align: center; }

/* ===== Alertes ===== */
.alert { padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1rem; }
.alert--success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert--error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ===== Login ===== */
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--color-bg-alt); }
.login-box { background: var(--color-bg); padding: 2.5rem; border-radius: var(--radius); width: 100%; max-width: 400px; box-shadow: 0 2px 16px rgba(0,0,0,0.08); }
.login-box h1 { color: var(--color-primary); font-size: 1.3rem; margin-bottom: 0.25rem; }
.login-box h2 { font-size: 1rem; color: var(--color-text-light); margin-bottom: 1.5rem; }
.login-box .form-group { margin-bottom: 1rem; }

/* ===== Footer ===== */
.site-footer { background: var(--color-text); color: #ccc; padding: 2rem 1.25rem; margin-top: 4rem; }
.footer-content { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a, .footer-contact a { color: #ccc; text-decoration: none; }
.footer-social a:hover, .footer-contact a:hover { color: #fff; }

/* ===== Dashboard admin ===== */
.dashboard-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.dashboard-card { display: block; padding: 1.5rem; background: var(--color-bg-alt); border-radius: var(--radius); text-decoration: none; color: var(--color-text); border: 1px solid var(--color-border); transition: border-color 0.15s; }
.dashboard-card:hover { border-color: var(--color-primary); }
.dashboard-card strong { display: block; font-size: 1.1rem; color: var(--color-primary); }
.dashboard-card span { font-size: 0.85rem; color: var(--color-text-light); }

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .nav-toggle { display: flex; }
    .main-nav ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-bg); border-bottom: 2px solid var(--color-primary); padding: 0.5rem; }
    .main-nav ul.is-open { display: flex; }
    .site-header .container { position: relative; flex-wrap: wrap; }
    .galerie-grid { columns: 2 140px; }
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}
