/* ===== Limanya Tours — Global Styles ===== */

:root {
    --limanya-orange: #E67E22;
    --limanya-orange-dark: #d35400;
    --limanya-green: #27AE60;
    --limanya-black: #1E1E1E;
    --limanya-white: #FFFFFF;
    --limanya-gray: #F5F5F5;
}

html {
    /* Décale le scroll vers les ancres pour compenser le header sticky (~86px). */
    scroll-padding-top: 95px;
}

html, body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--limanya-black);
}

/* Masque le contour focus quand Blazor (<FocusOnNavigate>) déplace le focus
   programmatiquement sur le premier <h1> après une navigation — le contour reste
   présent sur les éléments réellement interactifs (boutons, liens, inputs). */
[tabindex="-1"]:focus { outline: none; }

/* ===== Thème élégant des listes déroulantes — appliqué à tous les <select> ===== */
/* Chevron orange via SVG inline (indépendant de toute police d'icônes), focus ring orange.
   Les règles scoped peuvent surcharger taille/bordure/couleur ; éviter `background:` shorthand
   (utiliser `background-color:`) pour ne pas effacer le chevron. */
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path fill='%23b85d10' d='M2 4l4 4 4-4z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    padding-right: 2.4rem;
    cursor: pointer;
}
select:focus {
    outline: none;
    border-color: var(--limanya-orange, #d97e2a);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.15);
}
select:disabled { cursor: default; opacity: 0.7; }

/* Bandeau "site en construction" — à retirer lors de la mise en ligne définitive */
.construction-banner {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-top: 1px solid #f5c542;
    border-bottom: 1px solid #f5c542;
    color: #4a3500;
}
.construction-banner-inner {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.9rem 1.5rem;
}
.construction-banner-icon { font-size: 1.6rem; flex-shrink: 0; }
.construction-banner p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}
.construction-banner-title {
    color: #b91c1c;
    font-weight: 700;
}
.construction-banner-emph {
    color: #b91c1c;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

@media (max-width: 600px) {
    .construction-banner-inner { padding: 0.7rem 1rem; gap: 0.6rem; }
    .construction-banner p { font-size: 0.85rem; }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Container */
.container-limanya {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Section titles */
.section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--limanya-black);
    font-size: 1.8rem;
}

.section-text {
    text-align: center;
    color: #555;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* ===== Menu de navigation (DevExpress DxMenu) ===== */
.header-nav .dxbl-menu,
.header-nav .dxbl-menu .dxbl-menu-item,
.header-nav .dxbl-menu .dxbl-menu-item-text {
    font-size: 1.05rem;
}

/* Resserrer l'espacement entre les éléments du menu */
.header-nav .dxbl-menu > .dxbl-menu-items-container > .dxbl-menu-item {
    margin: 0;
}

.header-nav .dxbl-menu .dxbl-menu-item > .dxbl-menu-item-content,
.header-nav .dxbl-menu .dxbl-menu-item > a {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
}

/* ===== Hero Section — Carrousel ===== */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 620px;
}

.hero-carousel {
    position: relative;
    width: 100%;
    min-height: 620px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
    position: relative;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 3rem 1.5rem;
}

.hero-content h1 {
    color: var(--limanya-white);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    color: var(--limanya-white);
    font-size: 1.45rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.hero-placeholder-label {
    position: absolute;
    bottom: 1rem;
    right: 1.5rem;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    font-style: italic;
    z-index: 2;
}

.btn-hero {
    background-color: var(--limanya-orange);
    color: var(--limanya-white);
    border: none;
    padding: 0.8rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.btn-hero:hover {
    background-color: var(--limanya-orange-dark);
    color: var(--limanya-white);
}

/* Indicateurs du carrousel */
.hero-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s;
}

.hero-indicator.active {
    background-color: var(--limanya-orange);
    border-color: var(--limanya-orange);
}

.hero-indicator:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

/* ===== Présentation ===== */
.section-presentation {
    padding: 4rem 0;
    background-color: var(--limanya-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    background-color: var(--limanya-gray);
    transition: box-shadow 0.2s;
}

.feature-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--limanya-orange);
    margin-bottom: 1rem;
}

.feature-card h4 {
    margin-bottom: 0.5rem;
    color: var(--limanya-black);
}

.feature-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== Offres ===== */
.offres-hero {
    background: linear-gradient(135deg, var(--limanya-orange, #E67E22) 0%, var(--limanya-orange-dark, #b85d10) 100%);
    color: #fff;
    padding: 3.5rem 0 3rem;
    text-align: center;
}
.offres-hero-title { font-size: 2.4rem; margin: 0 0 0.6rem; font-weight: 700; color: #fff; }
.offres-hero-subtitle { max-width: 660px; margin: 0 auto; font-size: 1.05rem; line-height: 1.55; opacity: 0.95; color: #fff; }
.offres-hero-subtitle a { color: #fff; text-decoration: underline; font-weight: 600; }

.section-offres {
    padding: 2.5rem 0 4rem;
    background-color: var(--limanya-gray);
}

.offres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.offre-card {
    background: var(--limanya-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.offre-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.offre-image {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.offre-body {
    padding: 1.75rem 2rem 2rem;
}

.offre-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(230, 126, 34, 0.92);
    color: white;
    font-size: 0.78rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.offre-card h4 {
    color: var(--limanya-black);
    margin-bottom: 0.5rem;
}

.offre-duration {
    color: #555;
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.date-hl {
    color: var(--limanya-orange);
    font-weight: 700;
    font-size: 1rem;
}

.offre-sejour {
    color: #555;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.offre-sejour .ville {
    font-weight: 600;
    color: var(--limanya-black);
}

.offre-desc {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.offre-price {
    color: var(--limanya-orange);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.btn-offre {
    background-color: var(--limanya-orange);
    color: white;
    border: none;
    padding: 0.4rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background-color 0.2s;
}

.btn-offre:hover {
    background-color: var(--limanya-orange-dark);
    color: white;
}

/* Variante grande taille (CTA) : aligne .btn-offre sur .btn-contact-form / .btn-whatsapp */
.btn-lg.btn-offre {
    font-size: 1rem;
    padding: 0.7rem 2rem;
}

/* Mise en évidence de la catégorie (Standard = vert, VIP = orange) */
.cat-badge-standard { background-color: var(--limanya-green); }
.cat-badge-vip { background-color: var(--limanya-orange); }

.cat-label {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.cat-standard { color: var(--limanya-green); }
.cat-vip { color: var(--limanya-orange); }

/* Sélecteur de mois (page /offres) */
.mois-selecteur {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 2rem 0;
}

.mois-btn {
    background: var(--limanya-white);
    border: 1px solid #ddd;
    color: #555;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.15s;
}

.mois-btn:hover { border-color: var(--limanya-orange); color: var(--limanya-orange); }

.mois-btn.actif {
    background: var(--limanya-orange);
    border-color: var(--limanya-orange);
    color: var(--limanya-white);
}

/* Services et places sur la carte d'offre */
.offre-services {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.offre-services li {
    color: #555;
    font-size: 0.9rem;
    padding: 0.3rem 0 0.3rem 1.4rem;
    position: relative;
    border-bottom: 1px solid #f3f3f3;
}

.offre-services li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--limanya-green);
    font-weight: 700;
}

.offre-places {
    color: var(--limanya-green);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

/* Niveaux (tags Standard / VIP) sur les cartes d'offres */
.offre-niveaux {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.niveau-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    letter-spacing: 0.02em;
}

.niveau-standard {
    background-color: rgba(39, 174, 96, 0.12);
    color: var(--limanya-green);
    border: 1px solid var(--limanya-green);
}

.niveau-vip {
    background-color: rgba(230, 126, 34, 0.12);
    color: var(--limanya-orange);
    border: 1px solid var(--limanya-orange);
}

/* Accès simplifié aux offres : explication Période × Niveau */
.offres-axes {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2rem 0;
}

.offres-axe {
    background: var(--limanya-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 1.5rem 2rem;
    text-align: center;
    flex: 1;
    min-width: 240px;
    max-width: 360px;
}

.offres-axe-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--limanya-orange);
    margin-bottom: 0.75rem;
}

.offres-axe-tags {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.offres-axe-desc {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
}

.offres-axe-sep {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    color: #bbb;
    font-weight: 300;
}

.offres-cta {
    text-align: center;
    margin: 2rem 0 3rem;
}

/* Encart distinct « Groupe & devis » */
.devis-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    background: var(--limanya-black);
    color: var(--limanya-white);
    border-radius: 8px;
    padding: 2rem 2.5rem;
    border-left: 5px solid var(--limanya-orange);
}

.devis-callout-texte {
    flex: 1;
    min-width: 260px;
}

.devis-callout-texte h4 {
    margin: 0 0 0.4rem;
    color: var(--limanya-white);
}

.devis-callout-texte p {
    margin: 0;
    color: #ccc;
    font-size: 0.9rem;
}

/* Cartes-feature cliquables (Souvenirs, Formation) — mêmes visuels que les feature-card */
.feature-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.feature-card-link:hover {
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.feature-card-link h4 { color: var(--limanya-black); }

@media (max-width: 768px) {
    .offres-axe-sep {
        display: none;
    }
}

/* ===== Page Offres : filtres, pagination ===== */
.offres-filtres {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    background: var(--limanya-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.filtre-groupe {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filtre-recherche {
    flex: 1;
    min-width: 220px;
}

.filtre-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-right: 0.25rem;
}

.filtre-btn {
    background: var(--limanya-white);
    border: 1px solid #ddd;
    color: #555;
    font-size: 0.85rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.15s;
}

.filtre-btn:hover {
    border-color: var(--limanya-orange);
    color: var(--limanya-orange);
}

.filtre-btn.actif {
    background: var(--limanya-orange);
    border-color: var(--limanya-orange);
    color: var(--limanya-white);
}

.filtre-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.filtre-recherche input {
    width: 100%;
    padding: 0.5rem 0.9rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
}

.filtre-recherche input:focus {
    outline: none;
    border-color: var(--limanya-orange);
}

.offres-info {
    text-align: center;
    color: #888;
    padding: 3rem 0;
}

.offres-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.pagination-info {
    font-size: 0.9rem;
    color: #555;
}

/* ===== Détail offre ===== */
.offre-detail-hero {
    min-height: 320px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.offre-detail-hero-overlay {
    width: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%);
    color: var(--limanya-white);
    padding: 3rem 1.5rem 2rem;
}

.offre-detail-hero-overlay h1 {
    max-width: 1200px;
    margin: 0.75rem auto 0.25rem;
    padding: 0 1.5rem;
    font-size: 2.4rem;
}

.offre-detail-hero-overlay p {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.offre-detail-hero-overlay .niveau-tag {
    margin-left: calc((100% - 1200px) / 2 + 1.5rem);
}

.offre-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.offre-detail-text {
    color: #555;
    line-height: 1.7;
}

.offre-detail-soustitre {
    color: var(--limanya-black);
    margin: 2rem 0 0.75rem;
    font-size: 1.2rem;
}

.offre-detail-liste {
    list-style: none;
    padding: 0;
    margin: 0;
}

.offre-detail-liste li {
    color: #555;
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.offre-detail-liste li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--limanya-green);
    font-weight: 700;
}

.offre-detail-carte {
    background: var(--limanya-white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--limanya-orange);
    position: sticky;
    top: 100px;
}

.offre-detail-infos {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
}

.offre-detail-infos li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}

.offre-detail-infos li span {
    color: #888;
}

.offre-detail-carte .btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 0.75rem;
}

@media (max-width: 768px) {
    .offre-detail-grid {
        grid-template-columns: 1fr;
    }

    .offre-detail-carte {
        position: static;
    }

    .offre-detail-hero-overlay h1,
    .offre-detail-hero-overlay p,
    .offre-detail-hero-overlay .niveau-tag {
        padding-left: 0;
        margin-left: 0;
    }
}

/* ===== Témoignages ===== */
.section-temoignages {
    padding: 4rem 0;
    background-color: var(--limanya-white);
}

.temoignages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.temoignage-card {
    background-color: var(--limanya-gray);
    border-left: 4px solid var(--limanya-orange);
    padding: 1.5rem;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
}

.temoignage-text {
    font-style: italic;
    color: #444;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.temoignage-auteur-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: auto;
}

.temoignage-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--limanya-orange);
    flex-shrink: 0;
    cursor: zoom-in;
    transition: transform 0.15s, box-shadow 0.15s;
}
.temoignage-avatar:hover {
    transform: scale(1.06);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

/* ===== Lightbox photo (générique, réutilisable) ===== */
.photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    cursor: zoom-out;
    animation: photo-lightbox-in 0.15s ease-out;
}
@keyframes photo-lightbox-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.photo-lightbox-fig {
    margin: 0;
    cursor: default;
    text-align: center;
    max-width: min(662px, 92vw);
}
.photo-lightbox-img {
    max-width: min(662px, 92vw);
    max-height: min(657px, 84vh);
    border-radius: 10px;
    border: 3px solid #fff;
    box-shadow: 0 14px 50px rgba(0, 0, 0, 0.5);
    display: block;
    margin: 0 auto;
}
.photo-lightbox-cap {
    margin-top: 0.8rem;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}
.photo-lightbox-close {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 1.9rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s;
}
.photo-lightbox-close:hover { background: rgba(255, 255, 255, 0.32); }

.temoignage-auteur {
    font-weight: 600;
    color: var(--limanya-black);
    font-size: 0.9rem;
    margin: 0;
}

/* ===== FAQ ===== */
.section-faq {
    padding: 4rem 0;
    background-color: var(--limanya-gray);
}

.faq-list {
    max-width: 800px;
    margin: 2rem auto;
}

.faq-item {
    background: var(--limanya-white);
    padding: 1.5rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.faq-item h5 {
    color: var(--limanya-black);
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.faq-more {
    text-align: center;
    margin-top: 1.5rem;
}

/* ===== Contact ===== */
.section-contact {
    padding: 4rem 0;
    background-color: var(--limanya-white);
    text-align: center;
}

.contact-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-contact-form {
    background-color: var(--limanya-orange);
    color: white;
    border: none;
    padding: 0.7rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.btn-contact-form:hover {
    background-color: var(--limanya-orange-dark);
    color: white;
}

.btn-whatsapp {
    background-color: var(--limanya-green);
    color: white;
    border: none;
    padding: 0.7rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.btn-whatsapp:hover {
    background-color: #219a52;
    color: white;
}

/* ===== Page /contact — version pro ===== */
.contact-hero {
    background: linear-gradient(135deg, var(--limanya-orange, #E67E22) 0%, var(--limanya-orange-dark, #b85d10) 100%);
    color: #fff;
    padding: 3.5rem 0 3rem;
    text-align: center;
}
.contact-hero-title { font-size: 2.4rem; margin: 0 0 0.6rem; font-weight: 700; color: #fff; }
.contact-hero-subtitle { max-width: 640px; margin: 0 auto; font-size: 1.05rem; line-height: 1.55; opacity: 0.95; color: #fff; }

.contact-section { padding: 2.5rem 0 3.5rem; background: #f7f4ef; }
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
    max-width: 980px;
    margin: 0 auto;
}
@media (max-width: 860px) {
    .contact-layout { grid-template-columns: 1fr; }
}

.contact-card {
    background: #fff;
    border-radius: 14px;
    padding: 2rem 2.2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}
.contact-submit {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

/* Aside coordonnées */
.contact-aside {
    background: #fff;
    border-radius: 14px;
    padding: 1.5rem 1.4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}
.contact-aside-title {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    color: var(--limanya-orange-dark, #b85d10);
}
.contact-method {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.7rem 0.8rem;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: background 0.15s;
    margin-bottom: 0.4rem;
}
.contact-method:hover { background: #fbf6ef; text-decoration: none; color: #333; }
.contact-method-ico {
    flex-shrink: 0;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #fdeede;
    color: var(--limanya-orange-dark, #b85d10);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
}
.contact-method-txt { display: flex; flex-direction: column; font-weight: 600; font-size: 0.95rem; }
.contact-method-txt small { color: #999; font-weight: 500; font-size: 0.72rem; margin-bottom: 0.1rem; }
.contact-method-wa .contact-method-ico { background: #e3f7ec; color: #1c8c4d; }

.contact-aside-hours {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    font-size: 0.88rem;
    color: #666;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.contact-aside-hours strong { color: #444; }

/* Écran de remerciement contact */
.contact-merci { text-align: center; padding: 1.5rem 0.5rem; }
.contact-merci-icon { font-size: 3rem; margin-bottom: 0.5rem; }
.contact-merci h2 { color: var(--limanya-orange-dark, #b85d10); margin: 0 0 0.5rem; }
.contact-merci p { color: #555; line-height: 1.6; max-width: 420px; margin: 0 auto 1.3rem; }

/* ===== Page /faq — version pro ===== */
.faq-hero {
    background: linear-gradient(135deg, var(--limanya-orange, #E67E22) 0%, var(--limanya-orange-dark, #b85d10) 100%);
    color: #fff;
    padding: 3.5rem 0 3rem;
    text-align: center;
}
.faq-hero-title { font-size: 2.4rem; margin: 0 0 0.6rem; font-weight: 700; color: #fff; }
.faq-hero-subtitle { max-width: 640px; margin: 0 auto; font-size: 1.05rem; line-height: 1.55; opacity: 0.95; color: #fff; }

.faq-section { padding: 2.5rem 0 3.5rem; background: #f7f4ef; }

/* Bouton spécial (hors liste) — valeur de la Oumra */
.faq-feature {
    display: flex;
    align-items: center;
    gap: 1.3rem;
    max-width: 900px;
    margin: 0 auto 2rem;
    padding: 1.4rem 1.8rem;
    background: linear-gradient(135deg, #1f1f1f 0%, #3a2a18 100%);
    border-radius: 14px;
    border-left: 5px solid var(--limanya-orange, #E67E22);
    text-decoration: none;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.15s, box-shadow 0.2s;
}
.faq-feature:hover {
    text-decoration: none;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}
.faq-feature-ico {
    font-size: 2.6rem;
    flex-shrink: 0;
    line-height: 1;
}
.faq-feature-txt { flex: 1; min-width: 0; }
.faq-feature-tag {
    display: inline-block;
    background: var(--limanya-orange, #E67E22);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    margin-bottom: 0.4rem;
}
.faq-feature-title { font-size: 1.25rem; margin: 0 0 0.25rem; color: #fff; }
.faq-feature-txt p { margin: 0; color: #d6cbbd; font-size: 0.92rem; }
.faq-feature-cta {
    flex-shrink: 0;
    font-weight: 700;
    color: #ffce93;
    white-space: nowrap;
}
.faq-feature:hover .faq-feature-cta { text-decoration: underline; }

@media (max-width: 640px) {
    .faq-feature { flex-direction: column; text-align: center; }
    .faq-feature-cta { white-space: normal; }
}

.faq-page { max-width: 900px; margin: 0 auto; }

.faq-groupe { margin-bottom: 2rem; }
.faq-groupe-titre {
    font-size: 1.15rem;
    color: var(--limanya-orange-dark, #b85d10);
    border-bottom: 2px solid var(--limanya-orange, #d97e2a);
    padding-bottom: 0.4rem;
    margin: 0 0 0.8rem;
}

.faq-item-d {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    padding: 0 1rem;
    transition: box-shadow 0.15s;
}
.faq-item-d[open] { box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); }

.faq-item-d > summary {
    list-style: none;
    cursor: pointer;
    padding: 0.9rem 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #333;
    position: relative;
    padding-right: 2rem;
}
.faq-item-d > summary::-webkit-details-marker { display: none; }
.faq-item-d > summary::after {
    content: "";
    position: absolute;
    right: 0.6rem;
    top: 50%;
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid var(--limanya-orange, #d97e2a);
    border-bottom: 2px solid var(--limanya-orange, #d97e2a);
    transform: translateY(-75%) rotate(45deg);
    transition: transform 0.2s ease;
}
.faq-item-d[open] > summary::after {
    transform: translateY(-25%) rotate(-135deg);
}

.faq-reponse {
    padding: 0 0 1rem;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}
.faq-reponse a { color: var(--limanya-orange, #d97e2a); }
.faq-reponse a:hover { text-decoration: underline; }

/* Hadith / citation inline dans une réponse FAQ */
.faq-hadith {
    margin: 0.8rem 0;
    padding: 0.6rem 1rem;
    border-left: 3px solid var(--limanya-orange, #d97e2a);
    background: #fef8ee;
    border-radius: 0 6px 6px 0;
}
.faq-hadith-q { font-style: italic; color: #2b2b2b; }
.faq-hadith-r { color: var(--limanya-orange-dark, #b85d10); font-weight: 600; }

.faq-footer {
    background: #fafafa;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-top: 2rem;
    text-align: center;
}
.faq-footer .contact-actions { margin-top: 0.8rem; }

/* ===== Page /conditions-generales — CG ===== */
.cgv-hero {
    background: linear-gradient(135deg, var(--limanya-orange, #E67E22) 0%, var(--limanya-orange-dark, #b85d10) 100%);
    color: #fff;
    padding: 3.5rem 0 3rem;
    text-align: center;
}
.cgv-hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    margin-bottom: 0.9rem;
}
.cgv-hero-title {
    font-size: 2rem;
    margin: 0 0 0.6rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}
.cgv-hero-subtitle { max-width: 720px; margin: 0 auto 0.7rem; font-size: 1rem; line-height: 1.55; opacity: 0.95; color: #fff; }
.cgv-hero-date { font-size: 0.78rem; font-style: italic; opacity: 0.85; color: #fff; }

.cgv-section { padding: 2.5rem 0 3.5rem; background: #f7f4ef; }

.cgv-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}
@media (max-width: 900px) {
    .cgv-layout { grid-template-columns: 1fr; }
}

/* ----- Sommaire ----- */
.cgv-toc {
    position: sticky;
    top: 110px;
    background: #fff;
    border-radius: 12px;
    padding: 1.1rem 1.2rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}
@media (max-width: 900px) {
    .cgv-toc { position: static; }
}
.cgv-toc-titre {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--limanya-orange-dark, #b85d10);
    margin-bottom: 0.7rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0e7d7;
}
.cgv-toc-liste {
    list-style: decimal inside;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
}
.cgv-toc-liste li {
    padding: 0.25rem 0;
    color: #555;
}
.cgv-toc-liste a {
    color: #444;
    text-decoration: none;
    transition: color 0.15s;
}
.cgv-toc-liste a:hover { color: var(--limanya-orange-dark, #b85d10); }

/* ----- Contenu ----- */
.cgv-content { min-width: 0; }

.cgv-article {
    background: #fff;
    border-radius: 12px;
    padding: 1.8rem 2rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}
.cgv-article-num {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--limanya-orange-dark, #b85d10);
    margin-bottom: 0.4rem;
}
.cgv-article-title {
    font-size: 1.35rem;
    margin: 0 0 1rem;
    color: var(--limanya-black, #1E1E1E);
    line-height: 1.3;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #f0e7d7;
}
.cgv-article p,
.cgv-article ul,
.cgv-article ol {
    color: #3a3a3a;
    line-height: 1.7;
    font-size: 0.95rem;
}
.cgv-article p { margin: 0 0 0.9rem; }
.cgv-article ul, .cgv-article ol { padding-left: 1.3rem; margin: 0 0 1rem; }
.cgv-article li { margin-bottom: 0.35rem; }
.cgv-article strong { color: #1a1a1a; }
.cgv-article a { color: var(--limanya-orange-dark, #b85d10); }

/* Tableau (grille de pénalités) */
.cgv-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.8rem 0 1.1rem;
    font-size: 0.9rem;
}
.cgv-table th, .cgv-table td {
    text-align: left;
    padding: 0.55rem 0.9rem;
    border-bottom: 1px solid #f0ece4;
}
.cgv-table th {
    background: #fbf6ef;
    color: var(--limanya-orange-dark, #b85d10);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.cgv-table tbody tr:hover { background: #fefaf3; }

.cgv-back-top {
    text-align: center;
    margin: 1.5rem 0 0;
}
.cgv-back-top a {
    color: var(--limanya-orange-dark, #b85d10);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}
.cgv-back-top a:hover { text-decoration: underline; }

.cgv-footer-cta { text-align: center; max-width: 720px; margin: 0 auto; }

@media (max-width: 600px) {
    .cgv-hero-title { font-size: 1.5rem; }
    .cgv-article { padding: 1.3rem 1.2rem; }
    .cgv-article-title { font-size: 1.1rem; }
}

/* ===== Page /pourquoi-la-oumra — valeur de la Oumra ===== */
.oumra-hero {
    background: linear-gradient(135deg, var(--limanya-orange, #E67E22) 0%, var(--limanya-orange-dark, #b85d10) 100%);
    color: #fff;
    padding: 3.5rem 0 3rem;
    text-align: center;
}
.oumra-hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    margin-bottom: 0.9rem;
}
.oumra-hero-title { font-size: 2.4rem; margin: 0 0 0.6rem; font-weight: 700; color: #fff; }
.oumra-hero-subtitle { max-width: 640px; margin: 0 auto; font-size: 1.05rem; line-height: 1.55; opacity: 0.95; color: #fff; }

.oumra-section { padding: 3rem 0; background: #f7f4ef; }
.oumra-wrap { max-width: 760px; }

.oumra-point {
    background: #fff;
    border-radius: 14px;
    padding: 1.8rem 2rem;
    margin-bottom: 1.4rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}
.oumra-point-head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 0.8rem;
}
.oumra-point-num {
    flex-shrink: 0;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--limanya-orange, #E67E22), var(--limanya-orange-dark, #b85d10));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
}
.oumra-point-title { font-size: 1.2rem; margin: 0; color: var(--limanya-black, #1E1E1E); line-height: 1.3; }
.oumra-point-text { color: #555; line-height: 1.6; margin: 0 0 0.9rem; }

/* Citation Coran / hadith */
.oumra-citation {
    position: relative;
    background: #fbf6ef;
    border-left: 4px solid var(--limanya-orange, #E67E22);
    border-radius: 0 10px 10px 0;
    padding: 1.1rem 1.3rem 0.9rem;
    margin: 0 0 1rem;
}
.oumra-citation-coran { background: #f3f7f0; border-left-color: #4a8f4f; }
.oumra-citation-hadith { background: #fbf6ef; border-left-color: var(--limanya-orange, #E67E22); }
.oumra-citation-label {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    margin-bottom: 0.6rem;
    color: #fff;
}
.oumra-citation-coran .oumra-citation-label { background: #4a8f4f; }
.oumra-citation-hadith .oumra-citation-label { background: var(--limanya-orange-dark, #b85d10); }
.oumra-citation blockquote {
    margin: 0 0 0.6rem;
    font-size: 1.05rem;
    font-style: italic;
    color: #2b2b2b;
    line-height: 1.6;
}
.oumra-citation figcaption {
    font-size: 0.82rem;
    color: #888;
    line-height: 1.6;
}
.oumra-citation figcaption em { color: #777; }

/* Talbiya */
.oumra-talbiya {
    margin-top: 1.2rem;
    background: linear-gradient(135deg, #2a2118 0%, #3f3120 100%);
    border-radius: 12px;
    padding: 1.4rem 1.6rem;
    text-align: center;
}
.oumra-talbiya-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #ffce93;
    margin-bottom: 0.6rem;
}
.oumra-talbiya-text {
    margin: 0;
    color: #fff;
    font-size: 1.08rem;
    font-style: italic;
    line-height: 1.7;
}
.oumra-talbiya-trad {
    margin: 0.9rem auto 0;
    max-width: 560px;
    color: #e6d8c6;
    font-size: 0.95rem;
    line-height: 1.6;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* CTA bas de page */
.oumra-cta {
    text-align: center;
    background: #fff;
    border-radius: 14px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}
.oumra-cta h3 { color: var(--limanya-orange-dark, #b85d10); margin: 0 0 0.4rem; }
.oumra-cta p { color: #666; margin: 0 0 1.2rem; }
.oumra-cta .contact-actions { justify-content: center; }

.oumra-back { text-align: center; margin-top: 1.5rem; }
.oumra-back a { color: var(--limanya-orange-dark, #b85d10); font-weight: 600; text-decoration: none; }
.oumra-back a:hover { text-decoration: underline; }

@media (max-width: 600px) {
    .oumra-hero-title { font-size: 1.8rem; }
    .oumra-point { padding: 1.3rem 1.2rem; }
    .oumra-point-title { font-size: 1.05rem; }
}

/* ===== Page /media — Médiathèque ===== */
.media-hero {
    background: linear-gradient(135deg, var(--limanya-orange, #d97e2a) 0%, var(--limanya-orange-dark, #b85d10) 100%);
    color: #fff;
    padding: 3.5rem 0 3rem;
    text-align: center;
}
.media-hero-title { font-size: 2.4rem; margin: 0 0 0.6rem; font-weight: 700; color: #fff; }
.media-hero-subtitle {
    font-size: 1.05rem;
    max-width: 720px;
    margin: 0 auto 1.5rem;
    opacity: 0.95;
    line-height: 1.55;
    color: #fff;
}
.media-hero-anchors {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}
.media-anchor {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}
.media-anchor:hover { background: rgba(255, 255, 255, 0.32); color: #fff; }
.media-anchor .oi { font-size: 0.85em; }

.media-section { padding: 3rem 0; }
.media-section-alt { background: #faf6f1; }

.media-section-head { max-width: 700px; margin-bottom: 1.5rem; }
.media-section-title {
    font-size: 1.7rem;
    margin: 0 0 0.4rem;
    color: var(--limanya-orange-dark, #b85d10);
}
.media-section-text { color: #555; line-height: 1.55; margin: 0; }

.media-categorie {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
    margin: 1.5rem 0 0.7rem;
}

.media-grid { display: grid; gap: 1.2rem; }
.media-grid-docs { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.media-grid-photos { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.media-grid-videos { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.media-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.15s, box-shadow 0.15s;
}
.media-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* --- Card document --- */
.media-card-doc {
    flex-direction: row;
    align-items: stretch;
    padding: 0;
}
.media-doc-icon {
    flex: 0 0 70px;
    background: linear-gradient(135deg, var(--limanya-orange, #d97e2a), var(--limanya-orange-dark, #b85d10));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.media-card-body {
    flex: 1 1 auto;
    padding: 0.9rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.media-card-title { font-size: 1rem; margin: 0; color: #2b2b2b; line-height: 1.35; }
.media-card-desc { font-size: 0.85rem; color: #666; margin: 0; line-height: 1.45; }
.media-card-cat {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    color: var(--limanya-orange-dark, #b85d10);
}
.media-card-meta {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.75rem;
    color: #888;
    margin-top: 0.2rem;
}
.media-card-action {
    padding: 0.6rem 1.1rem 0.9rem;
    display: flex;
    justify-content: flex-end;
}
.media-card-doc .media-card-action {
    align-self: center;
    padding: 0.9rem 1.1rem;
}

.media-badge {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.media-badge-soon { background: #fff1d6; color: #b85d10; }
.media-badge-locked { background: #f0f0f0; color: #555; }

/* --- Card photo --- */
.media-photo-cover {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eee;
}
.media-photo-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.media-card:hover .media-photo-cover img { transform: scale(1.04); }

.media-photo-overlay,
.media-photo-overlay-soft {
    position: absolute;
    top: 0.7rem;
    left: 0.7rem;
    background: rgba(217, 126, 42, 0.95);
    color: #fff;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.media-photo-overlay-soft { background: rgba(0, 0, 0, 0.55); }

/* Tag période (voyage rattaché) sur les cartes photo */
.media-period-tag {
    position: absolute;
    bottom: 0.7rem;
    left: 0.7rem;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 0.25rem 0.7rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Filtres période (selects Année + Mois) au-dessus de la grille photos */
.media-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 1rem;
    margin: 0 0 1.5rem;
    padding: 1rem 1.2rem;
    background: #fafafa;
    border-radius: 8px;
}
.media-filter-label {
    display: flex;
    flex-direction: column;
    font-size: 0.82rem;
    font-weight: 600;
    color: #555;
    gap: 0.25rem;
}
.media-filter-label select {
    padding: 0.45rem 0.7rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    min-width: 180px;
    cursor: pointer;
}
.media-filter-label select:focus {
    outline: none;
    border-color: var(--limanya-orange, #d97e2a);
    box-shadow: 0 0 0 2px rgba(217, 126, 42, 0.15);
}

/* Bandeau vide quand aucun album ne correspond au filtre */
.media-empty {
    background: linear-gradient(135deg, #fff8ef 0%, #fef0dc 100%);
    border: 1px dashed var(--limanya-orange, #d97e2a);
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    margin: 0;
}
.media-empty-icon {
    font-size: 2.8rem;
    margin-bottom: 0.6rem;
    opacity: 0.85;
}
.media-empty-title {
    font-size: 1.25rem;
    color: var(--limanya-orange-dark, #b85d10);
    margin: 0 0 0.5rem;
    font-weight: 700;
}
.media-empty-text {
    color: #666;
    max-width: 540px;
    margin: 0 auto 1rem;
    line-height: 1.55;
    font-size: 0.95rem;
}

/* Page admin /admin/media — surlignage de la ligne en cours d'édition + badge dépublié */
.media-row-editing td { background: #fff8ef; }
.statut-badge.statut-off { background: #eee; color: #777; }
.statut-badge.statut-vip { background: #fef0dc; color: #b85d10; }

/* ===== Frame sondage Colonie sur /offres ===== */
.colonie-frame {
    display: flex;
    align-items: stretch;
    gap: 1.5rem;
    margin: 1.2rem 0 2rem;
    padding: 1.4rem 1.6rem;
    background: linear-gradient(135deg, #fff4e3 0%, #fde2c2 100%);
    border: 1px solid #f4c98b;
    border-left: 6px solid var(--limanya-orange, #d97e2a);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s, box-shadow 0.2s;
    overflow: hidden;
}
.colonie-frame:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 93, 16, 0.18);
}
.colonie-frame-body { flex: 1 1 auto; min-width: 0; }
.colonie-frame-image {
    flex: 0 0 220px;
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.colonie-frame-image img {
    max-width: 100%;
    max-height: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.colonie-frame-tag {
    display: inline-block;
    background: var(--limanya-orange-dark, #b85d10);
    color: #fff;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.6rem;
}
.colonie-frame-title {
    font-size: 1.25rem;
    margin: 0 0 0.4rem;
    color: var(--limanya-orange-dark, #b85d10);
}
.colonie-frame-text { margin: 0 0 0.6rem; color: #5a3a1a; line-height: 1.5; }
.colonie-frame-cta {
    display: inline-block;
    font-weight: 700;
    color: var(--limanya-orange-dark, #b85d10);
}
.colonie-frame:hover .colonie-frame-cta { text-decoration: underline; }

@media (max-width: 700px) {
    .colonie-frame { flex-direction: column; }
    .colonie-frame-image { flex: 0 0 auto; }
    .colonie-frame-image img { max-height: 130px; }
}

/* ===== Page /offres/colonie ===== */
.colonie-hero {
    background:
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.65)),
        url('/images/kaaba01.jpg') center/cover no-repeat;
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}
.colonie-hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
}
.colonie-hero-title {
    font-size: 2.4rem;
    margin: 0 0 1rem;
    font-weight: 700;
    line-height: 1.2;
}
.colonie-hero-argumentaire {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--limanya-orange, #d97e2a);
    background: rgba(255, 255, 255, 0.08);
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.6;
    text-align: left;
}
.colonie-hero-subtitle {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.55;
    opacity: 0.95;
}

.colonie-presentation { background: #faf6f1; padding: 3rem 0; }
.colonie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.colonie-pillier {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    text-align: center;
}
.colonie-pillier-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.colonie-pillier h3 {
    color: var(--limanya-orange-dark, #b85d10);
    margin: 0 0 0.6rem;
    font-size: 1.15rem;
}
.colonie-pillier p { color: #555; line-height: 1.55; margin: 0; font-size: 0.95rem; }

/* Section « La Oumra d'un enfant a-t-elle de la valeur ? » */
.colonie-foi-section {
    background: #fef8ee;
    padding: 3.5rem 0;
}
.colonie-foi {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.colonie-foi-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--limanya-orange-dark, #b85d10);
    margin-bottom: 0.7rem;
}
.colonie-foi-question {
    font-size: 1.8rem;
    color: var(--limanya-orange-dark, #b85d10);
    margin: 0 0 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}
.colonie-foi-text {
    color: #444;
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0 0 1.5rem;
}
.colonie-hadith {
    background: #fff;
    border: 1px solid #f0d9b3;
    border-radius: 12px;
    padding: 1.8rem 1.8rem 1.4rem;
    margin: 1.5rem 0 0;
    text-align: left;
    position: relative;
    box-shadow: 0 2px 14px rgba(184, 93, 16, 0.08);
}
.colonie-hadith::before {
    content: "❝";
    position: absolute;
    top: -0.7rem;
    left: 1.4rem;
    background: #fef8ee;
    padding: 0 0.4rem;
    font-size: 2.4rem;
    color: var(--limanya-orange, #d97e2a);
    line-height: 1;
    font-family: Georgia, serif;
}
.colonie-hadith-intro {
    color: #555;
    line-height: 1.65;
    margin-bottom: 0.6rem;
}
.colonie-hadith-bq {
    border-left: 3px solid var(--limanya-orange, #d97e2a);
    padding: 0.4rem 0 0.4rem 1.1rem;
    margin: 1rem 0 0.8rem;
}
.colonie-hadith-question,
.colonie-hadith-reponse {
    margin: 0.3rem 0;
    font-size: 1.05rem;
    line-height: 1.55;
}
.colonie-hadith-question { color: #2b2b2b; font-style: italic; }
.colonie-hadith-reponse { color: var(--limanya-orange-dark, #b85d10); font-weight: 600; }
.colonie-hadith-source {
    font-size: 0.82rem;
    color: #888;
    margin-top: 0.5rem;
    font-style: italic;
}
.colonie-foi-conclusion {
    color: #555;
    font-size: 0.95rem;
    margin: 1.2rem 0 0;
    font-style: italic;
}

@media (max-width: 600px) {
    .colonie-foi-question { font-size: 1.4rem; }
    .colonie-hadith { padding: 1.4rem 1.2rem 1.1rem; }
}

.colonie-sondage-section { padding: 3rem 0; }
.colonie-sondage-intro { max-width: 720px; margin-bottom: 1.5rem; }

.colonie-form { max-width: 800px; }

.colonie-fieldset {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 0.8rem 1rem 1rem;
    margin: 0.4rem 0 1rem;
}
.colonie-fieldset legend {
    padding: 0 0.5rem;
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
}
.colonie-fieldset .admin-check { margin: 0.3rem 0; }
.colonie-fieldset-radio {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.4rem 1rem;
}

.colonie-optin { margin-top: 1rem; }
.colonie-confidentialite {
    font-size: 0.78rem;
    color: #888;
    margin-top: 0.8rem;
    line-height: 1.5;
}

.colonie-merci {
    text-align: center;
    background: linear-gradient(135deg, #fff8ef 0%, #fde2c2 100%);
    border-radius: 12px;
    padding: 3rem 2rem;
}
.colonie-merci-icon { font-size: 3rem; margin-bottom: 0.5rem; }
.colonie-merci h2 { color: var(--limanya-orange-dark, #b85d10); margin: 0 0 0.6rem; }
.colonie-merci p { max-width: 600px; margin: 0 auto 1.2rem; color: #555; line-height: 1.55; }

@media (max-width: 600px) {
    .colonie-hero-title { font-size: 1.7rem; }
    .colonie-hero-argumentaire { font-size: 0.95rem; }
}

/* ===== Page admin /admin/enquetes-colonie ===== */
.enquete-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 1.2rem 0;
}
.enquete-stat {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
}
.enquete-stat span {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 700;
    margin-right: 0.4rem;
    color: var(--limanya-orange-dark, #b85d10);
}
.enquete-stat-total { background: var(--limanya-orange-dark, #b85d10); color: #fff; border-color: transparent; }
.enquete-stat-total span { color: #fff; }
.enquete-stat-vip { border-color: #f4c98b; background: #fff8ef; }
.enquete-stat-ok span { color: #2a8a4f; }
.enquete-stat-neutre span { color: #6b6b6b; }
.enquete-stat-out span { color: #a33; }

.enquete-verbatim-row td {
    background: #fafafa;
    padding: 0.8rem 1.2rem;
    color: #444;
    border-top: 0;
}
.enquete-export-hint { color: #888; font-size: 0.82rem; }

/* Détail d'une demande de devis (admin) */
.devis-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.4rem 1.2rem;
    font-size: 0.88rem;
}
.devis-suivi {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 0.8rem;
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px dashed #ddd;
}
.devis-suivi label { display: flex; flex-direction: column; font-size: 0.8rem; font-weight: 600; gap: 0.2rem; }
.devis-suivi select, .devis-suivi input { padding: 0.35rem 0.5rem; border: 1px solid #ddd; border-radius: 6px; }

/* ===================================================================
   Page publique /devis — assistant multi-étapes (wizard)
   =================================================================== */
.devis-hero {
    background: linear-gradient(135deg, var(--limanya-orange, #E67E22) 0%, var(--limanya-orange-dark, #b85d10) 100%);
    color: #fff;
    padding: 3.5rem 0 3rem;
    text-align: center;
}
.devis-hero-title { font-size: 2.4rem; margin: 0 0 0.6rem; font-weight: 700; color: #fff; }
.devis-hero-subtitle { max-width: 640px; margin: 0 auto; font-size: 1.05rem; line-height: 1.55; opacity: 0.95; color: #fff; }

.devis-section { padding: 2.5rem 0 3.5rem; background: #f7f4ef; }
.devis-wizard { max-width: 760px; margin: 0 auto; }

/* ----- Stepper ----- */
.devis-stepper {
    list-style: none;
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 0 0 1.6rem;
    padding: 0 0.5rem;
    counter-reset: step;
}
.devis-stepper::before {
    content: "";
    position: absolute;
    top: 17px;
    left: 8%;
    right: 8%;
    height: 3px;
    background: #e2dccf;
    z-index: 0;
}
.devis-stepper::after {
    content: "";
    position: absolute;
    top: 17px;
    left: 8%;
    width: calc((100% - 16%) * var(--progress, 0) / 100);
    height: 3px;
    background: var(--limanya-orange, #E67E22);
    z-index: 1;
    transition: width 0.3s ease;
}
.devis-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    flex: 1;
    text-align: center;
}
.devis-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e2dccf;
    color: #b3a98f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.2s;
}
.devis-step-label { font-size: 0.78rem; color: #9a8f76; font-weight: 600; }
.devis-step.current .devis-step-num {
    background: var(--limanya-orange, #E67E22);
    border-color: var(--limanya-orange, #E67E22);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(230, 126, 34, 0.18);
}
.devis-step.current .devis-step-label { color: var(--limanya-orange-dark, #b85d10); }
.devis-step.done .devis-step-num {
    background: #fff;
    border-color: var(--limanya-orange, #E67E22);
    color: var(--limanya-orange, #E67E22);
}
.devis-step.done .devis-step-label { color: #6b6b6b; }

/* ----- Carte ----- */
.devis-card {
    background: #fff;
    border-radius: 14px;
    padding: 2rem 2.2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}
.devis-card-title {
    font-size: 1.4rem;
    margin: 0 0 0.3rem;
    color: var(--limanya-black, #1E1E1E);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.devis-card-ico { font-size: 1.5rem; }
.devis-card-help { color: #888; margin: 0 0 1.4rem; font-size: 0.92rem; }

/* ----- Champs ----- */
.devis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem 1.2rem;
    margin-bottom: 1rem;
}
.devis-grid-3 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.devis-field { display: flex; flex-direction: column; margin-bottom: 1.1rem; }
.devis-field > label { font-size: 0.85rem; font-weight: 600; color: #444; margin-bottom: 0.4rem; }
.devis-field .req { color: #d9534f; }
.devis-field input,
.devis-field select,
.devis-field textarea {
    width: 100%;
    padding: 0.65rem 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    background-color: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.devis-field input:focus,
.devis-field select:focus,
.devis-field textarea:focus {
    outline: none;
    border-color: var(--limanya-orange, #E67E22);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.13);
}

/* ----- Boutons segmentés ----- */
.devis-seg { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.devis-seg-wrap { gap: 0.5rem; }
.devis-seg-btn {
    flex: 1;
    min-width: max-content;
    padding: 0.6rem 1rem;
    border: 1.5px solid #e2dccf;
    background: #fff;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}
.devis-seg-btn:hover { border-color: var(--limanya-orange, #E67E22); color: var(--limanya-orange-dark, #b85d10); }
.devis-seg-btn.on {
    background: var(--limanya-orange, #E67E22);
    border-color: var(--limanya-orange, #E67E22);
    color: #fff;
    box-shadow: 0 3px 10px rgba(230, 126, 34, 0.25);
}

/* ----- Compteur principal (personnes) ----- */
.devis-counters { margin-bottom: 1.2rem; }
.devis-counter-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #fbf6ef;
    border: 1px solid #f0e2cc;
    border-radius: 10px;
    padding: 0.8rem 1.2rem;
    flex-wrap: wrap;
}
.devis-counter-lib { font-weight: 700; color: #5a3a1a; }
.devis-stepper-num { display: flex; align-items: center; gap: 0.4rem; }
.devis-stepper-num button {
    width: 38px; height: 38px;
    border-radius: 8px;
    border: 1.5px solid var(--limanya-orange, #E67E22);
    background: #fff;
    color: var(--limanya-orange-dark, #b85d10);
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
    transition: background 0.15s;
}
.devis-stepper-num button:hover { background: #fdeede; }
.devis-stepper-num input {
    width: 70px;
    text-align: center;
    padding: 0.55rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
}

/* ----- Cases & toggles ----- */
.devis-check {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0.4rem 0 1rem;
    font-size: 0.92rem;
    color: #444;
    cursor: pointer;
}
.devis-check input { width: 18px; height: 18px; accent-color: var(--limanya-orange, #E67E22); }

.devis-toggles { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.devis-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    border: 1.5px solid #e2dccf;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.15s;
}
.devis-toggle input { accent-color: var(--limanya-orange, #E67E22); }
.devis-toggle.on {
    border-color: var(--limanya-orange, #E67E22);
    background: #fdeede;
    color: var(--limanya-orange-dark, #b85d10);
}

/* ----- Récapitulatif ----- */
.devis-recap {
    background: #fbf6ef;
    border: 1px dashed #e0c79a;
    border-radius: 10px;
    padding: 1.1rem 1.3rem;
    margin: 0.6rem 0 1rem;
}
.devis-recap h3 { margin: 0 0 0.6rem; font-size: 1rem; color: var(--limanya-orange-dark, #b85d10); }
.devis-recap ul { list-style: none; padding: 0; margin: 0; }
.devis-recap li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid #f0e7d7;
    font-size: 0.9rem;
}
.devis-recap li:last-child { border-bottom: 0; }
.devis-recap li span { color: #999; }
.devis-recap li strong { color: #333; text-align: right; }

/* ----- Hints ----- */
.devis-hint { font-size: 0.85rem; margin: 0.5rem 0; line-height: 1.45; }
.devis-hint-warn { color: #8a6d3b; background: #fcf3e3; padding: 0.6rem 0.9rem; border-radius: 8px; }
.devis-hint-error { color: #b94a48; background: #fdecea; padding: 0.6rem 0.9rem; border-radius: 8px; }
.devis-confid { font-size: 0.78rem; color: #999; margin: 0.8rem 0 0; line-height: 1.5; }

/* ----- Navigation ----- */
.devis-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.8rem;
    padding-top: 1.4rem;
    border-top: 1px solid #eee;
}
.devis-btn-ghost {
    background: transparent;
    border: none;
    color: #777;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.6rem 0.2rem;
}
.devis-btn-ghost:hover { color: var(--limanya-orange-dark, #b85d10); }
.devis-btn-next {
    background: var(--limanya-orange, #E67E22);
    color: #fff;
    border: none;
    padding: 0.75rem 1.8rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}
.devis-btn-next:hover:not([disabled]) { background: var(--limanya-orange-dark, #b85d10); transform: translateY(-1px); }
.devis-btn-next[disabled] { opacity: 0.65; cursor: default; }

.devis-alt-contact { text-align: center; margin-top: 1.4rem; color: #888; font-size: 0.9rem; }
.devis-alt-contact a { color: var(--limanya-orange-dark, #b85d10); font-weight: 600; }

/* ----- Écran de remerciement ----- */
.devis-merci {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    border-radius: 14px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}
.devis-merci-icon { font-size: 3.2rem; margin-bottom: 0.6rem; }
.devis-merci h2 { color: var(--limanya-orange-dark, #b85d10); margin: 0 0 0.6rem; }
.devis-merci p { color: #555; line-height: 1.6; max-width: 460px; margin: 0 auto 1.4rem; }
.devis-merci-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

@media (max-width: 640px) {
    .devis-hero-title { font-size: 1.7rem; }
    .devis-card { padding: 1.4rem 1.2rem; }
    .devis-step-label { display: none; }
    .devis-seg { flex-direction: column; }
    .devis-seg-btn { flex: none; width: 100%; }
}

/* --- Card vidéo --- */
.media-video-cover {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #1a1a1a;
}
.media-video-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.85;
}
.media-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--limanya-orange-dark, #b85d10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    padding-left: 4px; /* recentre le triangle */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
}
.media-card:hover .media-video-play { transform: translate(-50%, -50%) scale(1.1); }

/* --- YouTube CTA --- */
.media-youtube-cta {
    margin-top: 2rem;
    background: linear-gradient(135deg, #c41e3a 0%, #8b0000 100%);
    color: #fff;
    padding: 1.5rem 1.8rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.media-youtube-cta .offre-detail-soustitre { color: #fff; }
.media-youtube-cta button[disabled] {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    cursor: not-allowed;
}

/* --- Footer CTA --- */
.media-footer {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.media-footer .contact-actions { margin-top: 1rem; }

@media (max-width: 600px) {
    .media-hero-title { font-size: 1.8rem; }
    .media-section-title { font-size: 1.4rem; }
    .media-card-doc { flex-direction: column; }
    .media-doc-icon { flex: 0 0 50px; }
    .media-card-doc .media-card-action { align-self: stretch; padding-top: 0; }
}

/* ===== Blazor error UI ===== */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

/* ===== Back-office (programmation des offres) ===== */
.admin-login {
    max-width: 420px;
    margin: 2rem auto;
    background: var(--limanya-white);
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--limanya-orange);
    padding: 2rem;
}

.admin-login h2 { margin-top: 0; color: var(--limanya-black); }
.admin-login label { display: block; margin: 1rem 0 1.25rem; font-weight: 600; }
.admin-login input { display: block; width: 100%; margin-top: 0.4rem; padding: 0.6rem 0.8rem; border: 1px solid #ddd; border-radius: 6px; font-family: 'Poppins', sans-serif; }

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-actions { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--limanya-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    overflow: hidden;
}

.admin-table th,
.admin-table td {
    text-align: left;
    padding: 0.7rem 0.9rem;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
    vertical-align: middle;
}

.admin-table th { background: var(--limanya-gray); color: var(--limanya-black); font-weight: 600; }
.admin-cell-actions { display: flex; gap: 0.4rem; flex-wrap: wrap; }

.admin-table input,
.admin-table select,
.admin-table textarea {
    width: 100%;
    padding: 0.35rem 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
}

.admin-input-num { max-width: 120px; }
.admin-input-seats { max-width: 80px; }

.admin-form {
    background: var(--limanya-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 1.75rem 2rem;
    margin-bottom: 2rem;
}

.admin-form > label { display: block; margin-bottom: 1rem; font-weight: 600; }
.admin-form input,
.admin-form textarea,
.admin-form select {
    display: block;
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

.admin-form-row { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.admin-form-row > label { flex: 1; min-width: 220px; }
.admin-check { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; }
.admin-check input { width: auto; margin: 0; padding: 0; display: inline-block; flex: 0 0 auto; }

/* DxDateEdit dans le formulaire admin : pleine largeur, pas de double bordure */
.admin-form .admin-dateedit { width: 100%; margin-top: 0.35rem; }
.admin-form .admin-dateedit input {
    border: 0;
    box-shadow: none;
    width: 100%;
    padding: 0.4rem 0.5rem;
}

.admin-msg { color: var(--limanya-green); font-size: 0.9rem; font-weight: 600; }
.admin-msg-erreur { color: #c0392b; }
.admin-danger { color: #c0392b; border-color: #e6b0aa; }
.admin-danger:hover { background: #c0392b; border-color: #c0392b; color: #fff; }

/* Bloc de réinitialisation totale (page /maintenance) — encadré rouge, bouton centré. */
.maintenance-reset {
    background: #fff;
    border: 1px solid #f1c4c0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(192, 57, 43, 0.08);
    padding: 1.75rem 2rem;
    margin: 2.5rem auto 2rem;
    max-width: 560px;
    text-align: center;
}
.maintenance-reset h3 { color: #c0392b; }
.maintenance-reset p { text-align: left; }

.btn-reset {
    display: inline-block;
    background: #c0392b;
    color: #fff;
    border: 1px solid #c0392b;
    padding: 0.65rem 2rem;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}
.btn-reset:hover:not(:disabled) { background: #962d22; border-color: #962d22; }
.btn-reset:disabled { opacity: 0.6; cursor: not-allowed; }

.reset-stats {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    text-align: left;
    font-size: 0.9rem;
    color: #333;
}
.reset-stats li { padding: 0.2rem 0; border-bottom: 1px dashed #eee; }
.reset-stats li:last-child { border-bottom: 0; }

/* Cases à cocher des services (formulaire offre) */
.services-bloc { margin-bottom: 1rem; }
.services-titre { display: block; font-weight: 600; font-size: 1.15rem; margin-bottom: 0.75rem; }
.services-groupe { margin-bottom: 0.75rem; }

.services-groupe h6 {
    margin: 0 0 0.4rem;
    color: var(--limanya-orange);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.services-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.3rem 1rem;
}

.service-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    margin: 0;
    font-size: 0.9rem;
}

.service-check input { width: auto; margin: 0; padding: 0; display: inline-block; }

.services-bloc > label {
    display: block;
    font-weight: 600;
    margin-top: 0.75rem;
}

/* ===== Pages compte (login / register) ===== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--limanya-gray);
    padding: 2rem 1rem;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--limanya-white);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--limanya-orange);
    padding: 2.5rem 2rem;
    text-align: center;
}

.auth-logo { height: 64px; width: auto; margin-bottom: 1rem; }
.auth-card h1 { font-size: 1.6rem; color: var(--limanya-black); margin: 0 0 1.5rem; }

.auth-card label {
    display: block;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: #444;
}

.auth-card label small {
    font-weight: 400;
    color: #888;
}

.auth-card input {
    display: block;
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.6rem 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
}

.auth-card input:focus { outline: none; border-color: var(--limanya-orange); }

.auth-check {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500 !important;
    font-size: 0.9rem;
    color: #555 !important;
    cursor: pointer;
    margin-bottom: 1rem;
}
.auth-check input {
    width: auto !important;
    margin: 0 !important;
    padding: 0;
    display: inline-block !important;
}

.auth-row { display: flex; gap: 1rem; }
.auth-row > label { flex: 1; }

.auth-type-compte {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.6rem 0.9rem;
    margin: 1rem 0;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.auth-type-compte legend {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0 0.4rem;
    font-weight: 600;
}

.auth-radio {
    display: inline-flex !important;
    align-items: center;
    gap: 0.4rem;
    margin: 0 !important;
    font-weight: 500 !important;
    text-align: left;
}

.auth-radio input {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
}

.auth-submit {
    width: 100%;
    padding: 0.7rem;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.auth-error {
    background: #fdecea;
    color: #c0392b;
    border: 1px solid #e6b0aa;
    border-radius: 6px;
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.auth-alt { font-size: 0.9rem; margin: 0.75rem 0 0; }
.auth-alt a { color: var(--limanya-orange); }

/* Bandeau de confirmation e-mail */
.email-confirm-banner {
    background: #fff3cd;
    color: #856404;
    border-bottom: 1px solid #ffeeba;
    padding: 0.75rem 1.5rem;
    text-align: center;
    font-size: 0.9rem;
}

.email-confirm-banner a {
    color: #856404;
    font-weight: 700;
    text-decoration: underline;
    margin-left: 0.5rem;
}

/* Menu profil dans l'en-tête (pastille + dropdown) */
.profil-menu { position: relative; align-self: center; }

.profil-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--limanya-orange);
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.profil-btn:hover { background: var(--limanya-orange-dark); }

.profil-overlay { position: fixed; inset: 0; z-index: 1500; }

.profil-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 210px;
    background: var(--limanya-white);
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    padding: 0.4rem 0;
    z-index: 1600;
    overflow: hidden;
}

.profil-nom {
    padding: 0.7rem 1rem;
    font-weight: 700;
    color: var(--limanya-black);
    border-bottom: 1px solid #f0f0f0;
}

.profil-item {
    display: block;
    padding: 0.6rem 1rem;
    color: #444;
    text-decoration: none;
    font-size: 0.9rem;
}

.profil-item:hover { background: var(--limanya-gray); color: var(--limanya-orange); }
.profil-sep { height: 1px; background: #f0f0f0; margin: 0.35rem 0; }

/* ===== Menu déroulant Administration ===== */
.admin-menu { position: relative; align-self: center; }
.admin-menu-btn { display: inline-flex; align-items: center; }
.admin-dropdown { min-width: 220px; }

/* ===== Cloche de notifications dans l'en-tête ===== */
.notif-bell { position: relative; align-self: center; margin-right: 0.4rem; }

.notif-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--limanya-black);
    font-size: 1.1rem;
    position: relative;
    transition: background 0.15s;
}
.notif-btn:hover { background: var(--limanya-gray); }

.notif-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    background: #c0392b;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.notif-overlay { position: fixed; inset: 0; z-index: 1500; }

.notif-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 340px;
    max-width: 90vw;
    background: var(--limanya-white);
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    z-index: 1600;
    overflow: hidden;
}

.notif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.notif-link {
    background: transparent;
    border: none;
    color: var(--limanya-orange);
    cursor: pointer;
    font-size: 0.85rem;
    text-decoration: underline;
}

.notif-empty { padding: 1rem; color: #888; text-align: center; margin: 0; }

.notif-list { list-style: none; margin: 0; padding: 0; max-height: 360px; overflow-y: auto; }

.notif-item {
    padding: 0.7rem 1rem;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    transition: background 0.1s;
}
.notif-item:hover { background: var(--limanya-gray); }
.notif-item.notif-unread { background: #fff8ed; }
.notif-item.notif-unread:hover { background: #fde9c8; }

.notif-subj { font-weight: 600; font-size: 0.9rem; color: var(--limanya-black); }
.notif-date { font-size: 0.75rem; color: #888; margin-top: 0.2rem; }

.notif-footer { padding: 0.6rem 1rem; text-align: center; border-top: 1px solid #f0f0f0; }
.notif-footer a { color: var(--limanya-orange); font-size: 0.85rem; text-decoration: none; }
.notif-footer a:hover { text-decoration: underline; }

/* Page complète /notifications */
.notif-page-list { list-style: none; padding: 0; margin: 0; }

.notif-page-item {
    background: var(--limanya-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 1rem 1.25rem;
    margin-bottom: 0.9rem;
    border-left: 4px solid #e0e0e0;
}
.notif-page-item.notif-unread { border-left-color: var(--limanya-orange); background: #fff8ed; }

.notif-page-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.35rem; }
.notif-page-subj { margin-bottom: 0.4rem; color: var(--limanya-black); }
.notif-page-body { color: #444; font-size: 0.92rem; line-height: 1.5; }
.notif-page-body p { margin: 0.4rem 0; }
.notif-page-body a { color: var(--limanya-orange); }

/* ===== Simulateur tarifaire (admin) ===== */
.simu-actions { margin-bottom: 1.5rem; }

.simu-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 1100px) {
    .simu-layout { grid-template-columns: 1fr; }
}

.simu-col { min-width: 0; }

.simu-derive {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.4rem 0.9rem;
    background: #fafafa;
    padding: 0.7rem 0.9rem;
    font-size: 0.72rem;
}

.simu-table th, .simu-table td { font-size: 0.72rem; padding: 0.3rem 0.45rem; }
.simu-table td:nth-child(n+2) { text-align: right; }
.simu-table th:nth-child(n+2) { text-align: right; }

.simu-row-total td { background: #fef6ed; font-weight: 600; }
.simu-row-grand td { background: #fff1d6; font-weight: 700; color: var(--limanya-orange-dark, #b85d10); }

/* Densification typographique — taille uniforme 0.72rem, scopé au simulateur */
.simu-actions,
.simu-actions label,
.simu-actions input,
.simu-actions select,
.simu-actions button,
.simu-actions .admin-msg,
.simu-layout,
.simu-layout label,
.simu-layout input,
.simu-layout select,
.simu-layout p { font-size: 0.72rem; }

.simu-actions input,
.simu-actions select,
.simu-layout input,
.simu-layout select { padding: 0.3rem 0.45rem; }

/* Titres de section — style « eyebrow » pro (petites majuscules espacées) */
.simu-layout .offre-detail-soustitre {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--limanya-orange-dark, #b85d10);
    margin: 1.5rem 0 0.5rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid #f0e7d7;
}

/* Ligne inline : label + contrôle sur la même ligne horizontale */
.simu-row-inline { align-items: center; flex-wrap: nowrap; }
.admin-form .simu-row-inline > .simu-inline-field {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    font-size: 0.72rem;
}
.simu-inline-label { font-weight: 600; white-space: nowrap; }

.admin-form .simu-row-inline > .simu-inline-field > select,
.admin-form .simu-row-inline > .simu-inline-field > input {
    display: inline-block;
    flex: 1 1 auto;
    width: auto;
    margin-top: 0;
    min-width: 0;
}

@media (max-width: 900px) {
    .simu-row-inline { flex-wrap: wrap; }
}

/* Grilles de paramètres (Paramètres du groupe / Taux / Coûts CFA / Coûts SAR) :
   chaque ligne = libellé à gauche, valeur saisie à droite (look « fiche technique »). */
.simu-layout .admin-form .dossier-form-grid { grid-template-columns: repeat(2, 1fr); }

.simu-layout .admin-form .dossier-form-grid > label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    font-size: 0.72rem;
    font-weight: 500;
    color: #6b7280;
    line-height: 1.3;
    padding: 0.35rem 0;
    border-bottom: 1px solid #f4f4f4;
}
.simu-layout .admin-form .dossier-form-grid input,
.simu-layout .admin-form .dossier-form-grid select {
    flex: 0 0 110px;
    width: 110px;
    text-align: right;
    font-size: 0.82rem;
    font-weight: 600;
    color: #2b2b2b;
    padding: 0.4rem 0.5rem;
    margin-top: 0;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    background-color: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.simu-layout .admin-form .dossier-form-grid select { text-align: left; }
.simu-layout .admin-form .dossier-form-grid input:focus,
.simu-layout .admin-form .dossier-form-grid select:focus {
    outline: none;
    border-color: var(--limanya-orange, #E67E22);
    box-shadow: 0 0 0 2px rgba(230, 126, 34, 0.13);
}

/* Cartes des sections paramètres — plus légères et nettes (sans toucher .simu-derive) */
.simu-col .admin-form:has(.dossier-form-grid) {
    padding: 1.1rem 1.4rem;
    margin-bottom: 1.2rem;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.simu-col .admin-form:has(.dossier-form-grid) .dossier-form-grid { margin-bottom: 0; gap: 0.15rem 1.6rem; }

@media (max-width: 600px) {
    .simu-layout .admin-form .dossier-form-grid { grid-template-columns: 1fr; }
}

/* Ligne "Charger un scénario sauvegardé" : label léger + combo en dessous */
.simu-actions .simu-row-scenario { margin-top: 1.25rem; margin-bottom: 1.25rem; }
.simu-actions .simu-row-scenario > .simu-label-light {
    font-weight: 400;
    font-size: 0.72rem;
    flex: 1;
    min-width: 220px;
}
.simu-actions .simu-row-scenario > .simu-label-light > select {
    font-size: 0.72rem;
    padding: 0.3rem 0.45rem;
    margin-top: 0.25rem;
}

.simu-radio {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 400;
    cursor: pointer;
}
.simu-radio input[type="radio"] { margin: 0; cursor: pointer; }

/* Espace entre la ligne "Nom du scénario" et les boutons d'action */
.simu-actions .admin-actions { margin-top: 1rem; }

/* ===== Liste déroulante admin — thème élégant ===== */
.adm-select-row {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 0 0 1.4rem;
    padding: 0.9rem 1.1rem;
    background: linear-gradient(180deg, #fafafa, #f4f4f4);
    border: 1px solid #eee;
    border-radius: 12px;
}
.adm-select-field {
    display: inline-flex;
    flex-direction: column;
    gap: 0.35rem;
}
.adm-select-field > span {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
}
.adm-select-field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    /* Chevron orange en SVG inline (indépendant de toute police d'icônes) */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path fill='%23b85d10' d='M2 4l4 4 4-4z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    padding: 0.55rem 2.4rem 0.55rem 0.95rem;
    border: 1.5px solid #e2dccf;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2b2b2b;
    min-width: 280px;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.adm-select-field select:hover { border-color: var(--limanya-orange, #d97e2a); }
.adm-select-field select:focus {
    outline: none;
    border-color: var(--limanya-orange, #d97e2a);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.15);
}

/* ===== Écrans admin secondaires (dashboard, clients, users, notifications) ===== */
.adash-date { color: #888; font-size: 0.9rem; text-transform: capitalize; }
.adash-count { color: #888; font-size: 0.85rem; align-self: center; }

.adash-section-titre {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #9a8f76;
    margin: 1.8rem 0 0.8rem;
}

.adash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 1rem;
}
.adash-card {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1.2rem 1.3rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    transition: transform 0.15s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}
.adash-card:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}
.adash-card-ico {
    font-size: 1.2rem;
    color: var(--limanya-orange, #E67E22);
    margin-bottom: 0.3rem;
}
.adash-card-num {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--limanya-black, #1E1E1E);
    line-height: 1.1;
}
.adash-card-sub { font-size: 0.8rem; font-weight: 600; color: #999; margin-left: 0.3rem; }
.adash-card-label { font-size: 0.85rem; color: #666; font-weight: 600; }

/* Carte « à traiter » avec compteur > 0 */
.adash-card-alert { border-color: #f4c98b; background: linear-gradient(135deg, #fff8ef 0%, #fff 60%); }
.adash-card-alert .adash-card-num { color: var(--limanya-orange-dark, #b85d10); }
.adash-card-alert::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: var(--limanya-orange, #E67E22);
}

/* Répartition des dossiers par statut */
.adash-repartition {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1.2rem 1.4rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}
.adash-repart-ligne {
    display: grid;
    grid-template-columns: 180px 1fr 44px;
    align-items: center;
    gap: 0.8rem;
    padding: 0.3rem 0;
}
.adash-repart-statut { font-size: 0.82rem; color: #555; }
.adash-repart-barre { background: #f0ece4; border-radius: 999px; height: 9px; overflow: hidden; }
.adash-repart-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--limanya-orange, #E67E22), var(--limanya-orange-dark, #b85d10));
    border-radius: 999px;
}
.adash-repart-valeur { font-size: 0.85rem; font-weight: 700; text-align: right; color: #333; }

.adash-liens { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* Tables admin secondaires */
.adash-row-inactive { opacity: 0.55; }
.adash-tag-racine {
    display: inline-block;
    margin-left: 0.4rem;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: #fff1d6;
    color: var(--limanya-orange-dark, #b85d10);
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
}
.adash-role-select {
    padding: 0.3rem 0.5rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.82rem;
    background-color: #fff;
    cursor: pointer;
}

/* Diffusion notifications — bandeau de succès */
.adash-broadcast-ok {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #e3f7ec;
    border: 1px solid #b6e6c8;
    color: #1c7a44;
    border-radius: 10px;
    padding: 0.9rem 1.2rem;
    margin-bottom: 1.2rem;
    font-size: 0.92rem;
}

@media (max-width: 600px) {
    .adash-repart-ligne { grid-template-columns: 110px 1fr 36px; }
}

/* ===== Paiements client (/client/paiements) ===== */
.pay-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1.4rem 1.6rem;
    margin-bottom: 1.4rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}
.pay-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.pay-card-titre { font-size: 1.1rem; margin: 0 0 0.2rem; color: var(--limanya-black, #1E1E1E); }
.pay-card-pelerin { font-size: 0.85rem; color: #888; }
.pay-badge {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
}
.pay-badge-ok { background: #e3f7ec; color: #1c7a44; }
.pay-badge-attente { background: #fff1d6; color: var(--limanya-orange-dark, #b85d10); }

.pay-resume {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.8rem 1rem;
    margin-bottom: 0.8rem;
}
.pay-resume-item { display: flex; flex-direction: column; gap: 0.15rem; }
.pay-resume-lbl { font-size: 0.72rem; color: #999; text-transform: uppercase; letter-spacing: 0.04em; }
.pay-resume-val { font-size: 1rem; font-weight: 700; color: #2b2b2b; }
.pay-resume-val.pay-ok { color: #1c7a44; }
.pay-resume-val.pay-reste { color: var(--limanya-orange-dark, #b85d10); }

.pay-progress {
    height: 8px;
    background: #f0ece4;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 1rem;
}
.pay-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--limanya-orange, #E67E22), #1c8c4d);
    border-radius: 999px;
    transition: width 0.3s;
}

.pay-table { margin-bottom: 1rem; }
.pay-table th, .pay-table td { font-size: 0.82rem; }

.pay-form {
    background: #fbf6ef;
    border-radius: 10px;
    padding: 1.1rem 1.3rem;
    margin-top: 0.5rem;
}
.pay-form h4 { margin: 0 0 0.8rem; color: var(--limanya-orange-dark, #b85d10); font-size: 1rem; }
.pay-solde-ok { color: #1c7a44; font-weight: 600; margin: 0.5rem 0 0; }

/* ===== Filtres admin (dossiers) ===== */
.admin-filters {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.admin-filters label { display: flex; flex-direction: column; font-weight: 600; font-size: 0.9rem; }
.admin-filters select {
    padding: 0.5rem 0.7rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    min-width: 240px;
    margin-top: 0.3rem;
}

/* ===== Espace client ===== */
.client-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.5rem 0 2rem;
}

/* Unifie l'apparence des boutons du tableau de bord client */
.client-actions .btn {
    font-size: 1.25rem;
    padding: 0.7rem 2rem;
    text-align: center;
    min-width: 220px;
    line-height: 1.2;
}

.statut-badge {
    display: inline-block;
    background: rgba(230, 126, 34, 0.12);
    color: var(--limanya-orange-dark);
    border: 1px solid var(--limanya-orange);
    border-radius: 999px;
    padding: 0.15rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.dossier-offre {
    background: var(--limanya-gray);
    border-left: 4px solid var(--limanya-orange);
    border-radius: 6px;
    padding: 0.9rem 1.1rem;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.dossier-fieldset {
    border: 0;
    padding: 0;
    margin: 0;
}

/* Vignette photo d'identité du pèlerin (listes + détail dossier) */
.dossier-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #eee;
    display: inline-block;
    background: #f0f0f0;
    vertical-align: middle;
}

.dossier-photo-placeholder {
    background: #f0f0f0 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23bbb"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>') center/60% no-repeat;
}

.dossier-photo-detail {
    width: 160px;
    height: 224px;
    border: 2px solid #ddd;
    border-radius: 4px;
}

.dossier-entete {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    margin-bottom: 0.5rem;
}

.dossier-entete .dossier-offre {
    flex: 1;
    margin-bottom: 0;
}

/* Ligne « Statut + Gérer les documents » côte à côte */
.dossier-statut-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0.5rem 0 1.25rem;
}

/* Tous les boutons de la page d'édition du dossier : taille + hauteur uniformes */
.page-dossier-edit .btn,
.page-dossier-edit .filtre-btn {
    font-size: 0.9rem;
    line-height: 1.4;
    padding: 0.5rem 1.2rem;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Grille 4 colonnes du formulaire dossier pèlerin */
.admin-form .dossier-form-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem 1rem;
    margin-bottom: 1rem;
}

.admin-form .dossier-form-grid > label {
    display: block;
    margin: 0;
    font-weight: 600;
    font-size: 0.88rem;
}

.admin-form .dossier-form-grid > .span-4 {
    grid-column: 1 / -1;
}

.admin-form .dossier-form-grid > .grid-empty {
    display: block;
}

@media (max-width: 992px) {
    .admin-form .dossier-form-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-form .dossier-form-grid > .grid-empty { display: none; }
}

@media (max-width: 600px) {
    .admin-form .dossier-form-grid { grid-template-columns: 1fr; }
}
