/* ==========================================================================
   Modern UI — direction « vert & or élégant » pour tout le site public.
   Couche de design uniquement : aucun texte ni contenu n'est modifié.
   Chargé en dernier dans layouts/frontend.blade.php (après header-hotel-style.css).
   Pour revenir en arrière : retirer la balise <link> de ce fichier.
   ========================================================================== */

:root {
    /* Marque */
    --brand-950: #082520;
    --brand-900: #0B2E27;
    --brand-800: #0F3D33;
    --brand-700: #155244;
    --brand-100: #E4EFEA;
    --brand-50:  #F1F7F4;

    --accent-600: #C9732B;
    --accent-500: #DF873D;
    --accent-100: #FBEBDD;

    /* Neutres chauds */
    --ivory:   #FAF8F4;
    --surface: #FFFFFF;
    --line:    #ECE7DE;
    --ink:     #17201D;
    --ink-2:   #4A5551;
    --muted:   #7A8480;

    /* Forme & profondeur */
    --radius-sm: 10px;
    --radius:    16px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(16, 24, 20, .05), 0 2px 8px rgba(16, 24, 20, .04);
    --shadow:    0 2px 4px rgba(16, 24, 20, .04), 0 10px 28px rgba(16, 24, 20, .07);
    --shadow-lg: 0 6px 12px rgba(16, 24, 20, .06), 0 22px 48px rgba(16, 24, 20, .12);
    --ring:      0 0 0 4px rgba(223, 135, 61, .18);
    --ease:      cubic-bezier(.2, .7, .2, 1);

    /* Thème existant et Bootstrap alignés sur la marque */
    --themeColor: var(--brand-800);
    --seconcolor: var(--accent-500);
    --bs-primary: #0F3D33;
    --bs-primary-rgb: 15, 61, 51;
    --bs-link-color: #0F3D33;
    --bs-link-color-rgb: 15, 61, 51;
    --bs-link-hover-color: #C9732B;
    --bs-link-hover-color-rgb: 201, 115, 43;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
body {
    background-color: var(--ivory) !important;
    color: var(--ink-2);
}
::selection {
    background: var(--accent-100);
    color: var(--ink);
}
a, button, .btn, input, select, textarea {
    transition: color .2s var(--ease), background-color .2s var(--ease),
                border-color .2s var(--ease), box-shadow .2s var(--ease),
                transform .2s var(--ease);
}
:focus-visible {
    outline: 2px solid var(--accent-500);
    outline-offset: 2px;
}

/* Bandeau du haut : même famille de vert que la barre */
.header-top-section {
    background: var(--brand-900) !important;
}

/* --------------------------------------------------------------------------
   Titres de section : petit filet doré sous les titres centrés
   -------------------------------------------------------------------------- */
section h1.in-title-36px,
section h2.in-title-36px {
    color: var(--ink);
    font-weight: 700;
    letter-spacing: normal;
}
section h1.in-title-36px.text-center::after,
section h2.in-title-36px.text-center::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin: 16px auto 0;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--accent-500), #E9B07A);
}

/* --------------------------------------------------------------------------
   Cartes (annonces, blog, recherche)
   -------------------------------------------------------------------------- */
.single-grid-card,
.mh-blog-card {
    background: var(--surface);
    border: 1px solid rgba(15, 61, 51, .06);
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow) !important;
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.single-grid-card:hover,
.mh-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg) !important;
}

/* Image : même proportion partout, léger zoom au survol */
.single-grid-card .grid-slider-area,
.mh-blog-card .mh-blog-card-image {
    overflow: hidden;
}
.single-grid-card .card-item-image,
.mh-blog-card .mh-blog-card-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto !important;
    object-fit: cover;
    transition: transform .6s var(--ease);
}
.single-grid-card:hover .card-item-image,
.mh-blog-card:hover .mh-blog-card-image img {
    transform: scale(1.05);
}

/* Contenu de la carte */
.single-grid-card .hotel-grid-details {
    padding: 16px 18px 18px;
}
.single-grid-card .title,
.mh-blog-card .mh-blog-titles,
.mh-blog-card .mh-blog-titles * {
    color: var(--ink);
}
.single-grid-card .title:hover {
    color: var(--brand-700);
}

/* Bouton "Voir les détails" : pleine largeur, lisible */
.see-details-btn1 {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: none !important;
    padding: 11px 16px !important;
    border-radius: var(--radius-sm) !important;
    background: var(--brand-800) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 20px !important;
}
.see-details-btn1:hover {
    background: var(--accent-500) !important;
    color: #fff !important;
}
.hotelgrid-see-price {
    margin-top: 4px;
}

/* Pastille "populaire" et bouton favori */
.card-light-text {
    border-radius: 999px !important;
    padding: 5px 12px !important;
    background: rgba(11, 46, 39, .72) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    letter-spacing: .02em;
}
.grid-list-bookmark {
    background: rgba(255, 255, 255, .92) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
    height: 36px !important;
    width: 36px !important;
}
.grid-list-bookmark:hover {
    transform: scale(1.08);
}

/* Catégories : coins arrondis, zoom au survol */
.mh-single-category {
    border-radius: var(--radius) !important;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.mh-single-category:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.mh-single-category img {
    transition: transform .6s var(--ease);
}
.mh-single-category:hover img {
    transform: scale(1.06);
}

/* Cartes pays (pages de section) */
.ht-grid-item {
    border-radius: var(--radius) !important;
    overflow: hidden;
}
.ht-grid-item img {
    transition: transform .6s var(--ease);
}
.ht-grid-item:hover img {
    transform: scale(1.05);
}
.ht-grid-country-name {
    border-radius: 999px !important;
    box-shadow: var(--shadow-sm);
    font-weight: 600;
}

/* Carte de recherche (bannières) */
.at2-shadow-card,
.hsearchCard {
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-lg) !important;
    border: 1px solid rgba(255, 255, 255, .6);
}

/* Cartes génériques des pages (filtres, contact, formulaires) */
.card,
.beautydetails-meeting-form,
.restdetails-agent-details {
    border-radius: var(--radius) !important;
}

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.ht-btn-primary,
.theme-btn1,
.btn-primary {
    background: var(--accent-500) !important;
    border-color: var(--accent-500) !important;
    color: #fff !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(223, 135, 61, .28);
}
.ht-btn-primary:hover,
.theme-btn1:hover,
.btn-primary:hover {
    background: var(--accent-600) !important;
    border-color: var(--accent-600) !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(223, 135, 61, .34);
}
.ht-btn-primary:active,
.theme-btn1:active,
.btn-primary:active {
    transform: translateY(0);
}

/* Onglets de filtre (accueil) : pilules */
.mh-filter-btn {
    border-radius: 999px !important;
    border: 1px solid var(--line) !important;
    background: var(--surface) !important;
    color: var(--ink-2) !important;
    padding: 8px 18px !important;
    font-weight: 500;
}
.mh-filter-btn:hover {
    border-color: var(--brand-800) !important;
    color: var(--brand-800) !important;
}
.mh-filter-btn.mixitup-control-active {
    background: var(--brand-800) !important;
    border-color: var(--brand-800) !important;
    color: #fff !important;
}

/* Bootstrap "primary" (ex. titre bleu "Contact Information") */
.text-primary {
    color: var(--brand-800) !important;
}

/* --------------------------------------------------------------------------
   Formulaires
   -------------------------------------------------------------------------- */
.form-control,
.ua-form-control,
.mform-control,
.at1-form-control,
.nice-select:not(.transparent-nice-select):not(.transparent2-nice-select) {
    border-radius: var(--radius-sm) !important;
    border: 1px solid var(--line) !important;
    background-color: var(--surface);
    color: var(--ink);
}
.form-control::placeholder,
.ua-form-control::placeholder,
.mform-control::placeholder {
    color: #9AA29F;
}
.form-control:focus,
.ua-form-control:focus,
.mform-control:focus,
.at1-form-control:focus {
    border-color: var(--accent-500) !important;
    box-shadow: var(--ring) !important;
    outline: none;
}
.form-label,
.ua-form-label {
    color: var(--ink);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Page de détails
   -------------------------------------------------------------------------- */
/* Carte : cadre arrondi et fond doux même si la carte ne se charge pas */
.hoteldetails-location-map #map {
    border-radius: var(--radius);
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 45%, rgba(223, 135, 61, .18) 0 18px, transparent 19px),
        linear-gradient(135deg, var(--brand-50), #EAF1EE);
    border: 1px solid var(--line);
}
.hoteldetails-gallery-list img,
.hoteldetails-location-area img:not([src$=".svg"]) {
    border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.main-footer-section {
    background: var(--brand-900) !important;
}
.main-footer-section a:hover {
    color: var(--accent-500) !important;
}

/* --------------------------------------------------------------------------
   Page "Devenir partenaire" (/partner)
   -------------------------------------------------------------------------- */
.partner-page {
    margin-top: -1rem; /* colle le bandeau à la barre (qui a une marge mb-3) */
}
.partner-hero {
    background:
        radial-gradient(900px 400px at 85% -10%, rgba(223, 135, 61, .22), transparent 60%),
        linear-gradient(160deg, var(--brand-800), var(--brand-950));
    color: #fff;
    text-align: center;
    padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 9vw, 120px);
}
.partner-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #F3D9C0;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}
.partner-title {
    color: #fff;
    font-weight: 700;
    max-width: 820px;
    margin: 0 auto 16px;
    font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.25rem);
}
.partner-lead {
    color: rgba(255, 255, 255, .82);
    max-width: 640px;
    margin: 0 auto 32px;
    font-size: clamp(1rem, .95rem + .3vw, 1.15rem);
}
.partner-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 24px;
}
.partner-btn {
    padding: 14px 32px !important;
    font-size: 16px;
}
.partner-link {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
    opacity: .9;
}
.partner-link:hover {
    color: var(--accent-500);
    opacity: 1;
}

.partner-section {
    padding: clamp(56px, 7vw, 96px) 0 0;
}
.partner-card,
.partner-steps > li {
    height: 100%;
    background: var(--surface);
    border: 1px solid rgba(15, 61, 51, .06);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px 24px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.partner-card:hover,
.partner-steps > li:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.partner-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--brand-50);
    color: var(--brand-800);
    margin-bottom: 18px;
}
.partner-card-title {
    color: var(--ink);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.partner-card-text {
    color: var(--muted);
    font-size: .95rem;
    margin: 0;
}

.partner-steps {
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.partner-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-500);
    color: #fff;
    font-weight: 700;
    margin-bottom: 16px;
}

.partner-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(135deg, var(--brand-800), var(--brand-700));
    border-radius: var(--radius-lg);
    padding: clamp(28px, 4vw, 44px) clamp(24px, 5vw, 56px);
    margin-bottom: clamp(56px, 7vw, 96px);
    box-shadow: var(--shadow-lg);
}
.partner-cta-title {
    color: #fff;
    font-weight: 700;
    margin: 0;
    font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem);
}
@media (max-width: 575.98px) {
    .partner-cta {
        justify-content: center;
        text-align: center;
    }
}

/* --------------------------------------------------------------------------
   Espace utilisateur / prestataire : menu latéral (user/navigation.blade.php)
   -------------------------------------------------------------------------- */
.ca-offcanvas {
    padding: 0 0 16px !important;
    border-radius: var(--radius) !important;
    border: 1px solid rgba(15, 61, 51, .06);
    box-shadow: var(--shadow) !important;
}
/* En-tête : bandeau vert avec photo et nom */
.ca-offcanvas .ca-offcanvas-header {
    margin: 0 !important;
    padding: 20px 18px !important;
    background: linear-gradient(150deg, var(--brand-800), var(--brand-950));
    border-bottom: 0 !important;
}
.ca-offcanvas .ca-offcanvas-header .in-title-14px {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}
.ca-offcanvas .ca-offcanvas-header .in-subtitle-14px {
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
}
.ca-offcanvas .circle-img-50px {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 0 0 5px rgba(223, 135, 61, .55);
}
.ca-offcanvas .ca-btn-close {
    filter: invert(1);
    opacity: .85;
}
.ca-offcanvas .ca-offcanvas-body {
    padding: 0 12px !important;
}
/* Titres de groupe */
.cap-sidebar-title {
    margin: 14px 10px 8px !important;
    color: var(--muted) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
}
/* Liens */
.sidebar-nav-item:not(:last-child) {
    margin-bottom: 4px;
}
.sidebar-nav-link {
    align-items: center !important;
    padding: 11px 12px !important;
    border-radius: var(--radius-sm) !important;
    color: var(--ink-2) !important;
    font-size: 14.5px !important;
    line-height: 1.3 !important;
}
.sidebar-nav-link svg [stroke]:not([stroke="none"]) { stroke: #7A8480; }
.sidebar-nav-link svg [fill]:not([fill="none"]) { fill: #7A8480; }
.sidebar-nav-link:hover {
    background: var(--brand-50) !important;
    color: var(--brand-800) !important;
}
.sidebar-nav-link:hover svg [stroke]:not([stroke="none"]) { stroke: var(--brand-800) !important; }
.sidebar-nav-link:hover svg [fill]:not([fill="none"]) { fill: var(--brand-800) !important; }
/* Élément actif : vert plein, icône blanche */
.sidebar-nav-link.active,
.sidebar-nav-link.active:hover {
    background: var(--brand-800) !important;
    color: #fff !important;
    box-shadow: 0 6px 14px rgba(15, 61, 51, .22);
}
.sidebar-nav-link.active svg [stroke]:not([stroke="none"]) { stroke: #fff !important; }
.sidebar-nav-link.active svg [fill]:not([fill="none"]) { fill: #fff !important; }
.sidebar-nav-link.active .badge-secondary {
    background: rgba(255, 255, 255, .2) !important;
    color: #fff !important;
}
.sidebar-nav-link .badge-secondary {
    background: var(--brand-50);
    color: var(--brand-800);
    font-weight: 600;
}
/* Icônes sans attribut fill/stroke (ex. le « + » d'ajout) */
.sidebar-nav-link svg path:not([fill]):not([stroke]) { fill: #7A8480; }
.sidebar-nav-link:hover svg path:not([fill]):not([stroke]) { fill: var(--brand-800); }
.sidebar-nav-link.active svg path:not([fill]):not([stroke]) { fill: #fff !important; }

/* Boutons de l'espace utilisateur (ajouter, filtrer…) : vert de marque au lieu du bleu marine */
.cap-btn-primary,
.cap2-btn-primary {
    background: var(--brand-800) !important;
    border-color: var(--brand-800) !important;
    color: #fff !important;
    border-radius: var(--radius-sm) !important;
}
.cap-btn-primary:hover,
.cap2-btn-primary:hover {
    background: var(--accent-500) !important;
    border-color: var(--accent-500) !important;
    color: #fff !important;
}
/* Bouton de déconnexion */
.ca-offcanvas .cap-btn-primary {
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    color: var(--ink) !important;
    border-radius: var(--radius-sm) !important;
    padding: 11px 16px !important;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.ca-offcanvas .cap-btn-primary img {
    filter: brightness(0) saturate(100%);
    opacity: .7;
}
.ca-offcanvas .cap-btn-primary:hover {
    background: #FDF1EC !important;
    border-color: var(--accent-500) !important;
    color: var(--accent-600) !important;
}

/* Cartes de contenu de l'espace utilisateur */
.ca-content-card {
    border-radius: var(--radius) !important;
    border: 1px solid rgba(15, 61, 51, .06);
    box-shadow: var(--shadow) !important;
}

/* --------------------------------------------------------------------------
   Choix de la catégorie après la formule (user/agent/listing/add.blade.php)
   -------------------------------------------------------------------------- */
.agent-type-intro {
    color: var(--muted);
    margin: 0;
}
.agent-type-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    color: var(--ink);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.agent-type-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(223, 135, 61, .45);
    color: var(--ink);
}
.agent-type-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    background: linear-gradient(150deg, var(--brand-700), var(--brand-950));
    overflow: hidden;
}
.agent-type-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}
.agent-type-card:hover .agent-type-media > img {
    transform: scale(1.06);
}
.agent-type-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(8, 37, 32, .55));
}
.agent-type-logo {
    position: absolute;
    bottom: 12px;
    inset-inline-start: 12px;
    z-index: 1;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}
.agent-type-logo img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}
.agent-type-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 18px 18px;
    flex: 1;
}
.agent-type-name {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
}
.agent-type-cta {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--brand-50);
    color: var(--brand-800);
    font-size: 14px;
    font-weight: 600;
    transition: background-color .2s var(--ease), color .2s var(--ease);
}
.agent-type-card:hover .agent-type-cta {
    background: var(--accent-500);
    color: #fff;
}

/* Cartes plus compactes quand elles partagent une ligne (tablette, petit ordinateur) */
@media (min-width: 768px) and (max-width: 1399.98px) {
    .agent-type-body { padding: 14px 14px 16px; gap: 10px; }
    .agent-type-name { font-size: .98rem; }
    .agent-type-cta { padding: 7px 12px; font-size: 13px; }
    .agent-type-logo { width: 40px; height: 40px; bottom: 10px; inset-inline-start: 10px; }
    .agent-type-logo img { width: 24px; height: 24px; }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .agent-type-body { padding: 12px 10px 12px; }
    .agent-type-name { font-size: .92rem; }
    .agent-type-cta {
        align-self: stretch;
        justify-content: center;
        white-space: nowrap;
        padding: 7px 8px;
        font-size: 12.5px;
        gap: 4px;
    }
}
/* --------------------------------------------------------------------------
   Assistant d'ajout d'une annonce (user/agent/listing/custom_add.blade.php)
   -------------------------------------------------------------------------- */
.wizard-steps { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.wizard-step { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--ivory); border: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 600; min-width: 0; }
.wizard-num { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); color: var(--muted); font-weight: 700; }
.wizard-check { display: none; }
.wizard-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wizard-step.is-active { background: var(--brand-50); border-color: rgba(15, 61, 51, .25); color: var(--brand-800); }
.wizard-step.is-active .wizard-num { background: var(--brand-800); border-color: var(--brand-800); color: #fff; box-shadow: 0 0 0 4px rgba(15, 61, 51, .12); }
.wizard-step.is-done { color: var(--ink-2); cursor: pointer; }
.wizard-step.is-done:hover { border-color: var(--accent-500); }
.wizard-step.is-done .wizard-num { background: var(--accent-500); border-color: var(--accent-500); color: #fff; }
.wizard-step.is-done .wizard-num-text { display: none; }
.wizard-step.is-done .wizard-check { display: block; }
.wizard-progress { height: 4px !important; border-radius: 4px; background: var(--line) !important; margin-bottom: 26px; overflow: hidden; }
.wizard-progress .progress-bar { background: linear-gradient(90deg, var(--brand-800), var(--accent-500)) !important; transition: width .4s var(--ease); }
.wizard-head { margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.wizard-title { font-size: 1.25rem; font-weight: 700; color: var(--ink); margin: 0 0 4px; }
.wizard-desc { color: var(--muted); margin: 0; font-size: .95rem; }
.wizard-hint { margin: 4px 0 10px; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--brand-50); color: var(--brand-800); font-size: 14px; }
.step .mb-2 { margin-bottom: 16px !important; }
.cap-form-label { color: var(--ink) !important; font-weight: 600 !important; margin-bottom: 6px !important; }
.cap-form-control { min-height: 46px; }
.step textarea.cap-form-control { min-height: 110px; }
.step #map { border-radius: var(--radius) !important; border: 1px solid var(--line); overflow: hidden; }
/* Sélecteurs Select2 alignés sur les champs */
.step .select2-container--default .select2-selection { min-height: 46px; border-radius: var(--radius-sm) !important; border: 1px solid var(--line) !important; display: flex; align-items: center; }
.step .select2-container--default.select2-container--focus .select2-selection, .step .select2-container--default.select2-container--open .select2-selection { border-color: var(--accent-500) !important; box-shadow: var(--ring); }
/* Erreurs */
.step .is-invalid, .step .wizard-invalid .select2-selection { border-color: #D64545 !important; box-shadow: 0 0 0 4px rgba(214, 69, 69, .12) !important; }
.wizard-error { margin-top: 6px; color: #C23B3B; font-size: 13px; font-weight: 500; }
/* Boutons */
.wizard-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.wizard-actions > :only-child { margin-inline-start: auto; }
.wizard-btn { min-width: 140px; padding: 12px 22px !important; border-radius: var(--radius-sm) !important; font-weight: 600 !important; }
.wizard-next { background: var(--brand-800) !important; color: #fff !important; border: 1px solid var(--brand-800) !important; order: 2; }
.wizard-next:hover { background: var(--brand-700) !important; }
.wizard-prev { background: #fff !important; color: var(--ink) !important; border: 1px solid var(--line) !important; order: 1; }
.wizard-prev:hover { border-color: var(--ink-2) !important; }
.wizard-submit { background: var(--accent-500) !important; color: #fff !important; border: 1px solid var(--accent-500) !important; box-shadow: 0 8px 18px rgba(223, 135, 61, .3); order: 2; }
.wizard-submit:hover { background: var(--accent-600) !important; }
/* Zone de dépôt des photos et aperçus */
.step .upload__box { margin-top: 6px; }
.step .upload__btn { display: block; width: 100%; padding: 34px 16px; border: 2px dashed rgba(15, 61, 51, .25); border-radius: var(--radius); background: var(--brand-50); text-align: center; cursor: pointer; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.step .upload__btn:hover { border-color: var(--accent-500); background: #FDF6EF; }
.step .upload-btn-subtitle { color: var(--brand-800); font-weight: 600; margin: 0; }
#image-container { gap: 10px; margin-bottom: 12px; }
#image-container .image-preview { margin: 0 !important; }
#image-container .image-preview img { width: 92px !important; height: 92px !important; border-radius: 12px !important; box-shadow: var(--shadow-sm); }
#image-container .image-preview:first-child img { outline: 3px solid var(--accent-500); outline-offset: 2px; }
#image-container .remove-image { width: 24px; height: 24px; padding: 0 !important; line-height: 22px; background: #D64545 !important; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
@media (max-width: 767.98px) {
    .wizard-steps { gap: 6px; }
    .wizard-step { flex-direction: column; justify-content: center; text-align: center; padding: 8px 4px; font-size: 11.5px; gap: 6px; }
    .wizard-label { white-space: normal; line-height: 1.25; }
    .wizard-btn { flex: 1 1 0; min-width: 0; }
}

/* --------------------------------------------------------------------------
   Accueil : blog en grandes cartes horizontales (frontend/index.blade.php)
   -------------------------------------------------------------------------- */
.home-blog-section { padding: 8px 0 clamp(56px, 7vw, 96px); }
.home-blog-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.home-blog-head .in-title-36px::after { display: none !important; }
.home-blog-all { color: var(--brand-800); font-weight: 600; padding: 8px 16px; border-radius: 999px; background: var(--brand-50); }
.home-blog-all:hover { background: var(--accent-500); color: #fff; }
.home-blog-list { --bs-gutter-y: 0; }
.home-blog-list > .col-12 + .col-12 .home-blog-item { border-top: 1px solid var(--line); }
.home-blog-item { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; padding: 24px 0; color: var(--ink); }
.home-blog-item:hover { color: var(--ink); }
.home-blog-thumb { display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--brand-50); box-shadow: var(--shadow-sm); }
.home-blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.home-blog-item:hover .home-blog-thumb img { transform: scale(1.05); }
.home-blog-body { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.home-blog-body[dir="rtl"] { text-align: right; }
.home-blog-cat { align-self: flex-start; font-size: 12.5px; font-weight: 600; color: #6B4FA0; background: #F1ECFA; padding: 4px 12px; border-radius: 6px; }
.home-blog-title { font-weight: 700; font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); line-height: 1.4; color: var(--ink); transition: color .2s var(--ease); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.home-blog-item:hover .home-blog-title { color: var(--brand-700); }
.home-blog-excerpt { color: var(--muted); font-size: .98rem; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.home-blog-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.home-blog-author { display: inline-flex; align-items: center; gap: 10px; }
.home-blog-author img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--brand-50); }
.home-blog-author > span { display: flex; flex-direction: column; line-height: 1.3; }
.home-blog-author-name { font-weight: 700; font-size: 14px; color: var(--ink); }
.home-blog-meta { color: var(--muted); font-size: 12.5px; }
.home-blog-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--ink); transition: color .2s var(--ease), gap .2s var(--ease); }
.home-blog-item:hover .home-blog-more { color: var(--accent-600); gap: 10px; }
@media (max-width: 767.98px) {
    .home-blog-item { grid-template-columns: 1fr; gap: 16px; padding: 20px 0; }
}

/* Pagination du blog de l'accueil */
.home-blog-pages { margin-top: 24px; display: flex; justify-content: center; }
.home-blog-pages .pagination { gap: 6px; margin: 0; flex-wrap: wrap; justify-content: center; }
.home-blog-pages .page-link { min-width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px !important; border: 1px solid var(--line); color: var(--ink-2); background: var(--surface); font-weight: 600; box-shadow: none !important; }
.home-blog-pages .page-link:hover { border-color: var(--accent-500); color: var(--accent-600); background: #FDF6EF; }
.home-blog-pages .page-item.active .page-link { background: var(--brand-800); border-color: var(--brand-800); color: #fff; }
.home-blog-pages .page-item.disabled .page-link { opacity: .45; background: var(--surface); }

/* --------------------------------------------------------------------------
   Page de résultats (/listings-filter) : filtres + cartes en liste
   custom-types/sidebar.blade.php et custom-types/list_listing.blade.php
   -------------------------------------------------------------------------- */
.lf-sidebar { background: var(--surface); border: 1px solid rgba(15, 61, 51, .06); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 16px; position: sticky; top: 16px; }
.lf-sidebar-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.lf-sidebar-title { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.lf-reset { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--accent-600); }
.lf-reset:hover { color: var(--brand-800); }
.lf-reset.is-idle { color: var(--muted); }
.lf-group { border-bottom: 1px solid var(--line); padding: 12px 0; }
.lf-group:last-of-type { border-bottom: 0; padding-bottom: 0; }
.lf-group > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; font-weight: 700; color: var(--ink); font-size: 15px; }
.lf-group > summary::-webkit-details-marker { display: none; }
.lf-group > summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s var(--ease); margin-top: -4px; }
.lf-group:not([open]) > summary::after { transform: rotate(-45deg); margin-top: 0; }
.lf-options { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.lf-scroll { max-height: 236px; overflow-y: auto; padding-inline-end: 4px; }
.lf-option { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; cursor: pointer; font-size: 14px; color: var(--ink-2); transition: background-color .15s var(--ease); }
.lf-option:hover { background: var(--brand-50); }
.lf-option-name { flex: 1; min-width: 0; }
.lf-count { color: var(--muted); font-size: 12.5px; }
.lf-check { appearance: none; -webkit-appearance: none; flex: 0 0 18px; width: 18px; height: 18px; margin: 0; border: 1.5px solid #C9CFCC; border-radius: 5px; background: #fff; display: grid; place-content: center; cursor: pointer; transition: background-color .15s var(--ease), border-color .15s var(--ease); }
.lf-check::before { content: ""; width: 10px; height: 10px; transform: scale(0); transition: transform .12s var(--ease); clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); background: #fff; }
.lf-check:checked { background: var(--accent-500); border-color: var(--accent-500); }
.lf-check:checked::before { transform: scale(1); }
.lf-check:focus-visible { outline: 2px solid var(--accent-500); outline-offset: 2px; }
.lf-option:has(.lf-check:checked) { color: var(--ink); font-weight: 600; }
.lf-search { position: relative; margin-top: 10px; }
.lf-search input { width: 100%; height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 0 36px 0 12px; font-size: 14px; background: var(--ivory); }
.lf-sidebar[dir="rtl"] .lf-search input { padding: 0 12px 0 36px; }
.lf-search input:focus { outline: none; border-color: var(--accent-500); box-shadow: var(--ring); background: #fff; }
.lf-search svg { position: absolute; top: 50%; transform: translateY(-50%); right: 12px; color: var(--muted); pointer-events: none; }
.lf-sidebar[dir="rtl"] .lf-search svg { right: auto; left: 12px; }
.lf-empty { color: var(--muted); font-size: 13px; padding: 8px; }
/* Barre du haut */
.lf-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.lf-results { margin: 0; color: var(--ink-2); font-size: 14px; }
.lf-toolbar-actions { display: flex; align-items: center; gap: 12px; }
.lf-sort { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--muted); }
.lf-sort select { height: 38px; border: 1px solid var(--line); border-radius: 10px; padding: 0 30px 0 12px; background-color: #fff; font-size: 14px; color: var(--ink); cursor: pointer; }
.lf-view-switch { display: inline-flex; gap: 4px; padding: 3px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.lf-view-switch a { display: grid; place-items: center; width: 34px; height: 32px; border-radius: 8px; color: #9AA29F; }
.lf-view-switch a.active, .lf-view-switch a:hover { color: var(--brand-800); background: var(--brand-50); }
/* Cartes */
.lf-list { display: flex; flex-direction: column; gap: 18px; }
.lf-card { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); background: var(--surface); border: 1px solid rgba(15, 61, 51, .06); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.lf-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.lf-card-media { position: relative; min-height: 220px; background: var(--brand-50); }
.lf-card-media > a { position: absolute; inset: 0; }
.lf-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.lf-card:hover .lf-card-media img { transform: scale(1.05); }
.lf-discount { position: absolute; top: 12px; right: 12px; left: auto; z-index: 2; width: 54px; height: 54px; border-radius: 50%; background: #E0393E; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; box-shadow: 0 6px 14px rgba(224, 57, 62, .35); border: 2px solid #fff; }
.lf-discount b { font-size: 15px; }
.lf-discount small { font-size: 11px; font-weight: 600; }
.lf-wish { position: absolute !important; top: 12px !important; left: 12px !important; right: auto !important; z-index: 3; }
.lf-card-body { padding: 18px 22px 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.lf-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lf-badge { font-size: 12px; font-weight: 600; color: #6B4FA0; background: #F1ECFA; padding: 4px 10px; border-radius: 6px; }
.lf-rating { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); }
.lf-rating b { color: var(--ink); }
.lf-title { margin: 2px 0 0; font-size: 1.2rem; font-weight: 700; line-height: 1.4; }
.lf-title a { color: var(--ink); }
.lf-title a:hover { color: var(--brand-700); }
.lf-verified { color: #7367F0; font-size: .9em; margin-inline-end: 4px; }
.lf-location { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--muted); font-size: 13.5px; }
.lf-desc { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lf-contacts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.lf-contact { display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; color: var(--ink-2); background: #fff; }
.lf-contact span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lf-contact:hover { border-color: var(--accent-500); color: var(--ink); }
.lf-contact-wa:hover { border-color: #25D366; }
.lf-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.lf-actions > :only-child { grid-column: 1 / -1; }
.lf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 10px; font-weight: 700; font-size: 14px; }
.lf-btn-primary { background: var(--brand-800); color: #fff; }
.lf-btn-primary:hover { background: var(--accent-500); color: #fff; }
.lf-btn-outline { border: 1.5px solid var(--accent-500); color: var(--accent-600); background: #fff; }
.lf-btn-outline:hover { background: var(--accent-500); color: #fff; }
.lf-btn-outline b { font-weight: 800; }
@media (max-width: 767.98px) {
    .lf-card { grid-template-columns: 1fr; }
    .lf-card-media { min-height: 200px; aspect-ratio: 16 / 9; }
    .lf-actions { grid-template-columns: 1fr; }
    .lf-sidebar { position: static; }
}

/* Formulaire d'annonce : choix des services (user/agent/listing/partials/services_picker) */
.lsp-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lsp-counter { font-size: 13px; color: var(--muted); background: var(--brand-50); padding: 3px 10px; border-radius: 999px; }
.lsp-counter b { color: var(--brand-800); }
.lsp-hint { margin: 4px 0 8px; font-size: 13px; color: var(--muted); }
.lsp-search { position: relative; margin-bottom: 8px; }
.lsp-search input { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 40px 0 14px; font-size: 14px; background: var(--ivory); }
[dir="rtl"] .lsp-search input, .lsp-search input:lang(ar) { padding: 0 14px 0 40px; }
.lsp-search input:focus { outline: none; border-color: var(--accent-500); box-shadow: var(--ring); background: #fff; }
.lsp-search svg { position: absolute; top: 50%; transform: translateY(-50%); right: 14px; color: var(--muted); pointer-events: none; }
.lsp-list { list-style: none; margin: 0; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); max-height: 300px; overflow-y: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 10px; background: #fff; }
.lsp-option { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; cursor: pointer; font-size: 14px; color: var(--ink-2); margin: 0; }
.lsp-option:hover { background: var(--brand-50); }
.lsp-option:has(.lsp-check:checked) { background: #FDF6EF; color: var(--ink); font-weight: 600; }
.lsp-option.is-disabled { opacity: .45; cursor: not-allowed; }
.lsp-check { appearance: none; -webkit-appearance: none; flex: 0 0 18px; width: 18px; height: 18px; margin: 0; border: 1.5px solid #C9CFCC; border-radius: 5px; background: #fff; display: grid; place-content: center; cursor: pointer; }
.lsp-check::before { content: ""; width: 10px; height: 10px; transform: scale(0); transition: transform .12s var(--ease); clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); background: #fff; }
.lsp-check:checked { background: var(--accent-500); border-color: var(--accent-500); }
.lsp-check:checked::before { transform: scale(1); }
.lsp-check:disabled { cursor: not-allowed; }
.lsp-empty { grid-column: 1 / -1; color: var(--muted); font-size: 13px; padding: 8px; }
.lsp-limit { margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--accent-600); }
.lsp.wizard-invalid .lsp-list { border-color: #D64545; box-shadow: 0 0 0 4px rgba(214, 69, 69, .12); }
@media (max-width: 575.98px) { .lsp-list { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Accessibilité : moins d'animations si demandé par le système
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
    }
    .single-grid-card:hover,
    .mh-blog-card:hover,
    .mh-single-category:hover {
        transform: none;
    }
}

/* --------------------------------------------------------------------------
   Photos : couleurs d'origine (le thème posait un dégradé vert / bleu marine opaque dessus)
   -------------------------------------------------------------------------- */
/* Article de blog : léger assombrissement neutre et uniforme, juste pour lire le titre blanc */
.at-blog-header::after {
    height: 100%;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, .42) 100%);
}
.at-blog-header h1,
.at-blog-header .icontext-white-item {
    text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}
/* Pages de section : titre H1 + texte de présentation sous la bannière */
.section-intro { padding: 36px 0 12px; }
.section-intro-title { margin: 0 0 12px; color: var(--ink); font-weight: 700; }
.section-intro-text { max-width: 900px; margin: 0; color: var(--ink-2, #4a5555); font-size: 16px; line-height: 1.85; }
.section-intro-text[dir="rtl"] { margin-left: auto; text-align: right; }
.section-intro-text[dir="ltr"] { margin-right: auto; text-align: left; }
.section-intro-text p { margin: 0 0 10px; }
.section-intro-text p:last-child { margin-bottom: 0; }
.section-intro-text ul, .section-intro-text ol { padding-inline-start: 22px; margin: 0 0 10px; }
.section-intro-text ul { list-style: disc; }
.section-intro-text ol { list-style: decimal; }
.section-intro-text a { color: var(--accent-600, #c0702e); text-decoration: underline; }

/* Galerie « Tout afficher » d'une fiche : ombre seulement en bas, sous la légende */
.sing-gallery .gallery-head a::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .55) 100%);
}
