/* ============================================================
   Template : Membre du réseau
   Préfixe   : mbr-
   ============================================================ */

/* ---- Globals ---- */
.membre-reseau {
    font-family: inherit;
}
.mbr-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.mbr-section-titre {
    text-align: center;
    color: #1b2631;
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 2.5rem;
    padding: 0;
}

/* ============================================================
   HERO
   ============================================================ */
.mbr-hero {
    position: relative;
    min-height: 220px;
    display: flex;
    align-items: flex-end;
    padding: 48px 0 40px;
    overflow: hidden;
    background-color: #1b2631;
}
.mbr-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.mbr-hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mbr-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(20,45,90,0.85) 40%, rgba(20,45,90,0.45));
}
.mbr-hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
}
.mbr-hero__breadcrumb {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
}
.mbr-hero__breadcrumb a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
}
.mbr-hero__breadcrumb a:hover {
    color: #fff;
}
.mbr-hero__breadcrumb span.sep {
    margin: 0 8px;
}
.mbr-hero__breadcrumb span.current {
    color: #fff;
}
.mbr-hero__inner {
    display: flex;
    align-items: center;
    gap: 24px;
}
.mbr-hero__logo-wrap {
    flex-shrink: 0;
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.mbr-hero__logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.mbr-hero__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mbr-hero__nom {
    color: #fff;
    font-size: 3rem;
    margin: 0;
    padding: 0;
    line-height: 1;
}
.mbr-hero__slogan {
    color: rgba(255,255,255,0.8);
    font-size: 1.125rem;
    font-weight: 400;
    margin: 0;
    line-height: 1.55;
}
.mbr-hero__localisation {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    margin: 4px 0 0;
}
.mbr-hero__localisation svg {
    flex-shrink: 0;
}

/* ============================================================
   INTRODUCTION
   ============================================================ */
.mbr-intro {
    padding: 60px 0;
    /* background: #fff; */
}
.mbr-intro__grid {
    display: grid;
    gap: 48px;
    align-items: start;
}
.mbr-intro__grid--with-photo {
    grid-template-columns: 1fr 1fr;
}
.mbr-intro__grid--full {
    grid-template-columns: 1fr;
}
.mbr-intro__label {
    color: #0068b3;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 8px;
    line-height: 1.43;
}
.mbr-intro__titre {
    color: #1b2631;
    font-size: 1.875rem;
    font-weight: 700;
    margin: 0 0 20px;
    padding: 0;
    line-height: 1.2;
}
.mbr-intro__desc {
    color: #73808c;
    font-size: 1rem;
    line-height: 1.625;
    margin-bottom: 24px;
}
.mbr-intro__desc p {
    margin: 0 0 1em;
}
.mbr-intro__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}
.mbr-intro__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    color: #0068b3;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 0.875rem;
    font-weight: 500;
}
.mbr-intro__tag svg {
    flex-shrink: 0;
}
.mbr-intro__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}
.mbr-intro__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 10px 22px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
}
.mbr-intro__btn:hover {
    opacity: 0.88;
}
.mbr-intro__btn--primary {
    background: #0068b3;
    color: #fff;
    border: 2px solid #0068b3;
}
.mbr-intro__btn--outline {
    background: #fff;
    color: #0068b3;
    border: 2px solid #0068b3;
}
.mbr-intro__photo {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    margin-top: 28px;
}

/* ============================================================
   GALERIE
   ============================================================ */
.mbr-galerie {
    padding: 48px 0;
    /* background: #fff; */
}
.mbr-galerie__label {
    color: #0068b3;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    display: block;
    margin: 0 0 8px;
    line-height: 1.43;
    padding: 0;
}
.mbr-galerie__wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}
.mbr-galerie__swiper {
    flex: 1;
    overflow: hidden;
}
.mbr-galerie__item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 16 / 10;
}
.mbr-galerie__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mbr-galerie__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.55));
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0 0 12px 12px;
}
/* Flèches externes */
.mbr-galerie__arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid #d1d5db;
    background: #fff;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}
.mbr-galerie__arrow:hover {
    border-color: #0068b3;
    color: #0068b3;
}
/* Pagination */
.mbr-galerie__pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.mbr-galerie__pagination .swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    background: #d1d5db !important;
    border-radius: 50% !important;
    opacity: 1 !important;
    cursor: pointer;
    display: inline-block;
}
.mbr-galerie__pagination .swiper-pagination-bullet-active {
    background: #0068b3 !important;
}

/* ============================================================
   SERVICES
   ============================================================ */
.mbr-services {
    padding: 48px 0;
    background: hsl(220 20% 97%); /* ne pas changer cette valeur ! */
}
.mbr-services__label {
    color: #0068b3;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    display: block;
    margin: 0 0 8px;
    line-height: 1.43;
}
.mbr-services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 32px;
}
.mbr-services__item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
}
.mbr-services__item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}
.mbr-services__icone-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, hsl(205 100% 35%), hsl(260 60% 55%));
    border-radius: 14px;
    margin-bottom: 1rem;
}
.mbr-services__icone-wrap i,
.mbr-services__icone-wrap svg {
    width: 28px;
    height: 28px;
    color: #fff !important;
}
.mbr-services__nom {
    color: #1b2631;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 8px;
    padding: 0;
    line-height: 1.4em;
}
.mbr-services__desc {
    color: hsl(210 10% 50%) !important;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   AGENCES
   ============================================================ */
.mbr-agences {
    padding: 48px 0;
    background: hsl(220 20% 97%); /* ne pas changer cette valeur ! */
}
.mbr-agences__label {
    color: #0068b3;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    display: block;
    margin: 0 0 8px;
    line-height: 1.43;
}
.mbr-agences__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 32px;
}
.mbr-agences__tab {
    background: #fff;
    color: hsl(210 10% 50%);;
    border: 1.5px solid #d1d5db;
    border-radius: 999px;
    padding: 8px 20px;
    font-size: 0.875rem;
    font-weight: 400;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.mbr-agences__tab--active {
    background: #0068b3;
    color: #fff;
    border-color: #0068b3;
}
.mbr-agences__tab:hover:not(.mbr-agences__tab--active) {
    border-color: #0068b3;
    color: #0068b3;
}
.mbr-agences__panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.mbr-agences__panel--active {
    display: grid;
}
.mbr-agences__panel--no-map {
    grid-template-columns: 1fr;
}
.mbr-agence__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.mbr-agence__nom {
    color: #1b2631;
    margin: 0;
    font-size: 1.5rem;
    line-height: 2rem;
}
.mbr-agence__badge {
    background: hsl(220 20% 97%);
    color: hsl(205 100% 35%);
    border-radius: 999px;
    padding: 3px 12px;
    font-size: 0.75rem;
}
.mbr-agence__contacts {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.mbr-agence__contact-row {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1b2631;
    font-size: 0.9rem;
}
.mbr-agence__contact-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, hsl(205 100% 35%), hsl(260 60% 55%));
}
.mbr-agence__contact-icon i,
.mbr-agence__contact-icon svg {
    width: 18px;
    height: 18px;
    color: #fff !important;
}
.mbr-agence__contact-row a {
    color: #1b2631;
    text-decoration: none;
}
.mbr-agence__contact-row a:hover {
    color: #0068b3;
}
.mbr-agence__itin {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: linear-gradient(135deg, hsl(205 100% 35%), hsl(260 60% 55%));
    color: #fff;
    border-radius: 999px;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 24px;
    transition: opacity 0.2s;
    box-sizing: border-box;
}
.mbr-agence__itin:hover {
    opacity: 0.88;
    color: #fff;
}
.mbr-agence__carte {
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    background: #e5e7eb;
}

/* ============================================================
   CITATION
   ============================================================ */
.mbr-citation {
    padding: 60px 0;
    /* background: #fff; */
    text-align: center;
}
.mbr-citation__label {
    color: #0068b3;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 24px;
    line-height: 1.43;
}
.mbr-citation__texte {
    color: #1b2631;
    font-size: 1.5rem;
    line-height: 2rem;
    font-style: italic;
    font-weight: 400;
    margin: 0 0 28px;
    padding: 0;
}
.mbr-citation__auteur {
    display: block;
    color: #1b2631;
    font-weight: 700;
    font-style: normal;
    font-size: 1rem;
    margin-bottom: 4px;
}
.mbr-citation__poste {
    color: #73808c;
    font-size: 0.875rem;
    margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .mbr-hero__nom { font-size: 1.5rem; }
    .mbr-hero__inner { gap: 16px; }
    .mbr-intro__grid--with-photo { grid-template-columns: 1fr; }
    .mbr-agences__panel { grid-template-columns: 1fr; }
    .mbr-agences__panel--active { display: flex; flex-direction: column; }
    .mbr-agence__carte { width: 100%; height: 220px; min-width: 0; }
    .mbr-agence__info { width: 100%; min-width: 0; }
}
