/* ==========================================================================
   Rotary Côte d'Ivoire — thème du site (charte Rotary International)
   Chargé après bootstrap.min.css et style.css (modèle d'origine) : il en
   remplace les couleurs orange/vert par la palette officielle du Rotary.
   ========================================================================== */

:root {
    /* Palette officielle Rotary */
    --rc-royal: #17458f;        /* Royal Blue — couleur principale */
    --rc-royal-dark: #0f2f66;
    --rc-navy: #0b1f44;
    --rc-azure: #0067c8;        /* Azure — liens, accents */
    --rc-sky: #00a2e0;
    --rc-gold: #f7a81b;         /* Gold — accent, appels à l'action */
    --rc-gold-dark: #d98e00;
    --rc-cranberry: #d41367;    /* Rotaract */
    --rc-ink: #1f2937;
    --rc-muted: #5b6577;
    --rc-line: #e3e8f0;
    --rc-soft: #f3f6fb;
    --rc-radius: 14px;
    --rc-shadow: 0 10px 30px rgba(11, 31, 68, .08);
    --rc-shadow-hover: 0 18px 40px rgba(11, 31, 68, .14);

    /* Variables Bootstrap / modèle réalignées sur la charte */
    --bs-primary: var(--rc-gold);
    --bs-secondary: var(--rc-royal);
    --bs-dark: var(--rc-navy);
    --bs-light: var(--rc-soft);
    --bs-tertiary: #aab6cc;

    /* Anciennes variables encore utilisées par certaines vues */
    --rotary-blue: var(--rc-royal);
    --rotary-blue-light: var(--rc-azure);
    --rotary-blue-dark: var(--rc-royal-dark);
    --rotary-gold: var(--rc-gold);
    --neutral-50: var(--rc-soft);
    --neutral-200: var(--rc-line);
    --neutral-700: #334155;
    --neutral-800: var(--rc-ink);
}

/* --------------------------------------------------------------------------
   Base & typographie (Open Sans : alternative web officielle à Frutiger)
   -------------------------------------------------------------------------- */
body {
    font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--rc-ink);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: "Open Sans", system-ui, sans-serif;
    font-weight: 700;
    color: var(--rc-navy);
    letter-spacing: -.01em;
}

.display-6 { font-size: calc(1.4rem + 1.2vw); }
@media (min-width: 1200px) { .display-6 { font-size: 2.25rem; } }

a { color: var(--rc-azure); text-decoration: none; transition: color .2s; }
a:hover { color: var(--rc-royal); }

::selection { background: var(--rc-gold); color: var(--rc-navy); }

/* Utilitaires couleur */
.bg-primary { background-color: var(--rc-gold) !important; }
.bg-secondary { background-color: var(--rc-royal) !important; }
.bg-dark { background-color: var(--rc-navy) !important; }
.bg-light { background-color: var(--rc-soft) !important; }
.text-primary { color: var(--rc-azure) !important; }
.text-secondary { color: var(--rc-royal) !important; }
.text-dark { color: var(--rc-ink) !important; }
.bg-secondary .text-primary,
.bg-dark .text-primary { color: var(--rc-gold) !important; }
.bg-primary .text-primary { color: var(--rc-navy) !important; }
.text-gold { color: var(--rc-gold) !important; }

/* Boutons */
.btn {
    font-weight: 600;
    border-radius: 999px;
    transition: all .2s ease;
}
.btn-square, .btn-sm-square, .btn-lg-square { border-radius: 50%; }

.btn-primary {
    color: #fff;
    background: var(--rc-royal);
    border-color: var(--rc-royal);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    color: #fff !important;
    background: var(--rc-royal-dark) !important;
    border-color: var(--rc-royal-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(23, 69, 143, .25);
}

.btn-secondary, .btn-gold {
    color: var(--rc-navy);
    background: var(--rc-gold);
    border-color: var(--rc-gold);
}
.btn-secondary:hover, .btn-gold:hover, .btn-gold:focus {
    color: var(--rc-navy) !important;
    background: var(--rc-gold-dark) !important;
    border-color: var(--rc-gold-dark) !important;
    transform: translateY(-1px);
}

.btn-outline-light:hover { color: var(--rc-royal); }
.btn-dark { background: var(--rc-navy); border-color: var(--rc-navy); }
.btn-check:focus + .btn, .btn:focus { box-shadow: 0 0 0 .2rem rgba(0, 103, 200, .25); }

.form-control:focus, .form-select:focus {
    border-color: var(--rc-azure);
    box-shadow: 0 0 0 .2rem rgba(0, 103, 200, .15);
}

.badge.bg-secondary { color: #fff; }

/* Titres de section : petit sur-titre doré */
.section-title {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--rc-azure) !important;
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: .75rem;
}
.section-title::before, .section-title::after { display: none; }
.section-title::before {
    display: inline-block;
    position: static;
    content: "";
    width: 28px;
    height: 3px;
    border: 0;
    border-radius: 2px;
    background: var(--rc-gold);
}

/* Retour en haut */
.back-to-top {
    right: 24px;
    bottom: 24px;
    background: var(--rc-royal);
    border-color: var(--rc-royal);
    color: #fff;
    box-shadow: var(--rc-shadow);
}
.back-to-top:hover { background: var(--rc-royal-dark); color: #fff; }

/* --------------------------------------------------------------------------
   En-tête
   -------------------------------------------------------------------------- */
.rc-utility {
    background: var(--rc-navy);
    color: rgba(255, 255, 255, .8);
    font-size: .85rem;
}
.rc-utility a { color: rgba(255, 255, 255, .85); }
.rc-utility a:hover { color: var(--rc-gold); }
.rc-utility .rc-social a {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.rc-utility .rc-social a:hover { background: rgba(255, 255, 255, .1); }

.rc-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
    border-bottom: 1px solid var(--rc-line);
    transition: box-shadow .2s;
}
.rc-header.is-scrolled { box-shadow: 0 6px 24px rgba(11, 31, 68, .08); }

.rc-brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.rc-brand img { height: 48px; width: auto; }
.rc-brand-name { display: block; font-weight: 800; font-size: 1.15rem; color: var(--rc-royal); line-height: 1.1; }
.rc-brand-sub { display: block; font-size: .75rem; color: var(--rc-muted); letter-spacing: .08em; text-transform: uppercase; }

.rc-header .navbar { padding: .6rem 0; }
.rc-header .navbar-nav .nav-link {
    position: relative;
    padding: .9rem .85rem !important;
    font-weight: 600;
    font-size: .95rem;
    color: var(--rc-ink) !important;
    background: none !important;
    text-transform: none;
}
.rc-header .navbar-nav .nav-link:hover,
.rc-header .navbar-nav .nav-link.active,
.rc-header .navbar-nav .show > .nav-link { color: var(--rc-royal) !important; }
@media (min-width: 1200px) {
    .rc-header .navbar-nav .nav-link::after {
        content: "";
        position: absolute;
        left: .85rem;
        right: .85rem;
        bottom: .45rem;
        height: 3px;
        border-radius: 2px;
        background: var(--rc-gold);
        transform: scaleX(0);
        transition: transform .2s;
    }
    .rc-header .navbar-nav .nav-link.dropdown-toggle::after {
        /* remplace la flèche Bootstrap par le soulignement */
        border: 0;
        margin: 0;
        vertical-align: 0;
    }
    .rc-header .navbar-nav .nav-link:hover::after,
    .rc-header .navbar-nav .nav-link.active::after { transform: scaleX(1); }
    .rc-header .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
}
.rc-header .dropdown-toggle .fa-chevron-down { font-size: .65rem; margin-left: .3rem; opacity: .6; }
.rc-header .dropdown-menu {
    border: 1px solid var(--rc-line);
    border-radius: 12px;
    padding: .5rem;
    box-shadow: var(--rc-shadow);
}
.rc-header .dropdown-item { border-radius: 8px; padding: .55rem .9rem; font-weight: 500; }
.rc-header .dropdown-item:hover, .rc-header .dropdown-item.active { background: var(--rc-soft); color: var(--rc-royal); }
.rc-header .navbar-toggler { border: 0; font-size: 1.4rem; color: var(--rc-royal); box-shadow: none; }
@media (max-width: 1199.98px) {
    .rc-header .navbar-collapse { padding: .5rem 0 1rem; border-top: 1px solid var(--rc-line); margin-top: .6rem; }
    .rc-header .navbar-nav .nav-link { padding: .65rem 0 !important; }
    .rc-header .dropdown-menu { border: 0; box-shadow: none; padding: 0 0 0 .75rem; }
}

/* --------------------------------------------------------------------------
   Bandeau des pages intérieures
   -------------------------------------------------------------------------- */
.page-header {
    position: relative;
    background: linear-gradient(120deg, rgba(11, 31, 68, .92), rgba(23, 69, 143, .85)), url(../img/bg.jpg) center / cover no-repeat;
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
    margin-bottom: 3rem !important;
}
.page-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5px;
    background: var(--rc-gold);
}
.page-header h1, .page-header .display-3 { color: #fff; font-size: calc(1.6rem + 2vw); }
@media (min-width: 1200px) { .page-header h1, .page-header .display-3 { font-size: 3rem; } }
.page-header .breadcrumb-item, .page-header .breadcrumb-item a { font-size: .95rem; color: var(--rc-gold); }
.page-header .breadcrumb-item.active { color: rgba(255, 255, 255, .85); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .5); }

/* --------------------------------------------------------------------------
   Accueil
   -------------------------------------------------------------------------- */
.rc-hero {
    position: relative;
    color: #fff;
    background:
        radial-gradient(circle at 85% 20%, rgba(0, 162, 224, .25), transparent 45%),
        linear-gradient(120deg, var(--rc-navy) 0%, var(--rc-royal) 70%, #1d5bb8 100%);
    overflow: hidden;
}
.rc-hero::before {
    /* roue Rotary en filigrane */
    content: "";
    position: absolute;
    width: 620px;
    height: 620px;
    right: -180px;
    bottom: -260px;
    background: url(../img/roue-rotary.png) center / contain no-repeat;
    opacity: .06;
    pointer-events: none;
}
.rc-hero .container { position: relative; padding-top: 4.5rem; padding-bottom: 7.5rem; }
.rc-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.rc-hero h1 {
    color: #fff;
    font-weight: 800;
    font-size: clamp(2.4rem, 5.5vw, 4.4rem);
    line-height: 1.02;
    text-transform: uppercase;
    letter-spacing: -.02em;
}
.rc-hero h1 span { color: var(--rc-gold); }
.rc-hero .lead { color: rgba(255, 255, 255, .85); font-size: 1.15rem; max-width: 34rem; }
.rc-hero-visual { position: relative; }
.rc-hero-visual img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}
.rc-hero-visual::before {
    content: "";
    position: absolute;
    inset: 22px -22px -22px 22px;
    border: 3px solid var(--rc-gold);
    border-radius: 28px;
    z-index: 0;
}
.rc-hero-visual img { position: relative; z-index: 1; }

.rc-stats { position: relative; margin-top: -4.5rem; z-index: 2; }
.rc-stats .rc-stats-inner {
    background: #fff;
    border-radius: var(--rc-radius);
    box-shadow: var(--rc-shadow);
    overflow: hidden;
}
.rc-stat { padding: 1.75rem 1rem; text-align: center; }
.rc-stat + .rc-stat { border-left: 1px solid var(--rc-line); }
@media (max-width: 767.98px) {
    .rc-stat:nth-child(odd) { border-left: 0; }
    .rc-stat:nth-child(n+3) { border-top: 1px solid var(--rc-line); }
}
.rc-stat-value { display: block; font-size: 2.2rem; font-weight: 800; color: var(--rc-royal); line-height: 1.1; }
.rc-stat-label { font-size: .85rem; font-weight: 600; color: var(--rc-muted); text-transform: uppercase; letter-spacing: .06em; }

.rc-section { padding: 5rem 0; }
.rc-section-soft { background: var(--rc-soft); }
.rc-section-head { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.rc-section-head p { color: var(--rc-muted); }

.rc-about-img { position: relative; }
.rc-about-img img { width: 100%; border-radius: var(--rc-radius); box-shadow: var(--rc-shadow); }
.rc-about-badge {
    position: absolute;
    left: -14px;
    bottom: 24px;
    background: var(--rc-gold);
    color: var(--rc-navy);
    font-weight: 800;
    padding: .9rem 1.2rem;
    border-radius: 12px;
    box-shadow: var(--rc-shadow);
    line-height: 1.2;
}
.rc-about-badge small { display: block; font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.rc-check { list-style: none; padding: 0; margin: 0; }
.rc-check li { position: relative; padding-left: 1.9rem; margin-bottom: .6rem; }
.rc-check li::before {
    content: "\f00c";
    font-family: "Font Awesome 7 Free", "Font Awesome 6 Free", "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: .1rem;
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 50%;
    background: rgba(247, 168, 27, .18);
    color: var(--rc-gold-dark);
    font-size: .7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rc-video-link { display: inline-flex; align-items: center; gap: .75rem; font-weight: 600; color: var(--rc-royal); }
.rc-video-link .rc-play {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--rc-gold);
    color: var(--rc-navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 8px rgba(247, 168, 27, .2);
    transition: box-shadow .2s;
}
.rc-video-link:hover .rc-play { box-shadow: 0 0 0 12px rgba(247, 168, 27, .25); }

/* Cartes génériques */
.rc-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--rc-line);
    border-radius: var(--rc-radius);
    box-shadow: 0 2px 6px rgba(11, 31, 68, .04);
    transition: transform .2s ease, box-shadow .2s ease;
    overflow: hidden;
}
.rc-card:hover { transform: translateY(-4px); box-shadow: var(--rc-shadow-hover); }
.rc-card-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--rc-soft); }
.rc-card-body { padding: 1.5rem; }
.rc-card-title { font-size: 1.1rem; color: var(--rc-navy); margin-bottom: .5rem; }
a.rc-card-title:hover { color: var(--rc-royal); }
.rc-meta { font-size: .9rem; color: var(--rc-muted); }
.rc-meta i { color: var(--rc-azure); width: 1.1rem; }
.rc-date-chip {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--rc-gold);
    color: var(--rc-navy);
    font-weight: 700;
    font-size: .8rem;
    padding: .35rem .75rem;
    border-radius: 999px;
}

/* Causes prioritaires */
.rc-cause {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.75rem 1.25rem;
}
.rc-cause .cause-thumb {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.1rem;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--rc-gold), 0 6px 14px rgba(11, 31, 68, .12);
    flex-shrink: 0;
}
.rc-cause .cause-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rc-cause h3 { font-size: 1.02rem; line-height: 1.35; margin-bottom: .6rem; }
.rc-cause p { font-size: .92rem; color: var(--rc-muted); flex-grow: 1; }
.rc-cause a { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.rc-cause a i { transition: transform .2s; }
.rc-cause a:hover i { transform: translateX(3px); }

/* Dirigeants du Rotary International (carrousel) */
.rc-leaders .testimonial-img { padding: 0; }
.rc-leaders .testimonial-img::before { display: none; }
.rc-leaders .testimonial-img img {
    border-radius: var(--rc-radius);
    box-shadow: var(--rc-shadow);
    aspect-ratio: 3 / 4;
    object-fit: cover;
    width: 100%;
}
.rc-leaders .testimonial-carousel .owl-nav { position: static; display: flex; gap: .5rem; margin-top: 1.5rem; }
.rc-leaders .testimonial-carousel .owl-nav .owl-prev,
.rc-leaders .testimonial-carousel .owl-nav .owl-next {
    position: static;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rc-royal);
    color: #fff;
    font-size: 1.1rem;
    transition: background .2s;
}
.rc-leaders .testimonial-carousel .owl-nav .owl-prev:hover,
.rc-leaders .testimonial-carousel .owl-nav .owl-next:hover { background: var(--rc-gold); color: var(--rc-navy); }
.rc-leader-role {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--rc-azure);
}
.rc-quote { font-size: 1.15rem; line-height: 1.7; color: var(--rc-ink); }
.rc-quote-icon { font-size: 2.2rem; color: var(--rc-gold); }

/* Équipe */
.team-item {
    background: #fff;
    border: 1px solid var(--rc-line);
    border-radius: var(--rc-radius);
    box-shadow: 0 2px 6px rgba(11, 31, 68, .04);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.team-item:hover { transform: translateY(-4px); box-shadow: var(--rc-shadow-hover); }
.team-item .team-detail img { border-radius: 10px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.team-item .team-detail h3 { font-size: 1.2rem; }
.team-item .team-detail span { letter-spacing: .02em; color: var(--rc-muted); font-weight: 600; font-size: .9rem; }
.team-item .team-social { border-radius: 10px; }

/* Appel à l'action final */
.rc-cta {
    position: relative;
    background: linear-gradient(120deg, var(--rc-royal) 0%, var(--rc-navy) 100%);
    color: #fff;
    border-radius: 24px;
    padding: 3.5rem 2rem;
    overflow: hidden;
}
.rc-cta::after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    right: -110px;
    top: -110px;
    background: url(../img/roue-rotary.png) center / contain no-repeat;
    opacity: .08;
}
.rc-cta h2 { color: #fff; }
.rc-cta p { color: rgba(255, 255, 255, .8); }

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.footer {
    color: rgba(255, 255, 255, .7);
    background: var(--rc-navy);
    border-top: 5px solid var(--rc-gold);
}
.footer h4, .footer h5, .footer .text-light { color: #fff !important; }
.footer h5 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.25rem; }
.footer a { color: rgba(255, 255, 255, .75); }
.footer a:hover { color: var(--rc-gold); }
.footer .rc-footer-links a { display: block; padding: .25rem 0; }
.footer .rc-footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    margin-right: .4rem;
    transition: background .2s, color .2s;
}
.footer .rc-footer-social a:hover { background: var(--rc-gold); color: var(--rc-navy); }
.footer .copyright { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; }

/* --------------------------------------------------------------------------
   Composants existants (histoire, repères, partenaires) — repris tels quels
   -------------------------------------------------------------------------- */
.service-item, .donation-item, .event-item, .testimonial-item { border-radius: var(--rc-radius); }
.service-item .btn-square { background: var(--rc-royal); color: #fff; }

.rotary-patrimoine-card { transition: transform .25s ease, box-shadow .25s ease; border-radius: var(--rc-radius) !important; }
.rotary-patrimoine-card:hover { transform: translateY(-6px); box-shadow: var(--rc-shadow-hover) !important; }

#devises-rotary, #valeurs-rotary, #roue-rotary { scroll-margin-top: 6rem; }

.rotary-info-accordion .accordion-item { border: 1px solid var(--rc-line) !important; }
.rotary-info-accordion .accordion-button { background: #fff; color: var(--rc-ink); font-size: 1.03rem; box-shadow: none !important; }
.rotary-info-accordion .accordion-button:not(.collapsed) { background: var(--rc-soft); color: var(--rc-royal); }
.rotary-info-accordion .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(0, 103, 200, .18) !important; }
.rotary-info-accordion .accordion-body { line-height: 1.75; color: #334155; }

.service-item .cause-thumb {
    width: 80px; height: 80px; margin: 0 auto 1.5rem; border-radius: 50%; overflow: hidden;
    background: #fff; border: 2px solid var(--rc-line); box-shadow: 0 4px 12px rgba(0, 0, 0, .12); flex-shrink: 0;
}
.service-item .cause-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }

.devise-rotary-badge, .roue-rotary-badge {
    width: 96px; height: 96px; object-fit: cover; border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, .55); box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}
.devise-rotary-hero { max-width: 250px; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--rc-line); box-shadow: 0 8px 22px rgba(0, 0, 0, .14); }
.roue-rotary-hero { max-width: 360px; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--rc-line); box-shadow: 0 8px 22px rgba(0, 0, 0, .14); }

.rotary-partners-section { background: #fff; }
.rotary-partner-card {
    background: #fff; border-radius: 12px; padding: 1.25rem 1rem; display: flex; align-items: center; justify-content: center;
    min-height: 118px; border: 1px solid var(--rc-line); box-shadow: 0 4px 14px rgba(15, 23, 42, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}
.rotary-partner-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(15, 23, 42, .1); }
.rotary-partner-logo { max-width: 100%; max-height: 72px; width: auto; height: auto; object-fit: contain; }
.rotary-partner-card--amsa { min-height: 150px; padding: 1.75rem 1.5rem; }
.rotary-partner-logo--amsa { max-height: 110px; }
@media (min-width: 576px) { .rotary-partner-logo--amsa { max-height: 130px; } }
@media (min-width: 992px) {
    .rotary-partner-logo { max-height: 84px; }
    .rotary-partner-card { min-height: 132px; padding: 1.5rem 1.25rem; }
    .rotary-partner-card--amsa { min-height: 190px; padding: 2rem 1.75rem; }
    .rotary-partner-logo--amsa { max-height: 160px; }
}

/* Photos d'illustration : pas de caches blancs qui coupent les visages */
.about-img::before, .about-img::after { display: none; }
.about-img img { border-radius: var(--rc-radius); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

.btn-outline-primary { color: var(--rc-royal); border: 2px solid var(--rc-royal); background: transparent; }
.btn-outline-primary:hover, .btn-outline-primary:focus { color: #fff !important; background: var(--rc-royal) !important; border-color: var(--rc-royal) !important; }
.btn-outline-light { border-width: 2px; }

/* Cartes membres */
.rc-member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; display: block; }
.rc-member h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.rc-member-role { color: var(--rc-muted); font-weight: 600; font-size: .9rem; margin-bottom: 1rem; }
.rc-member-social {
    display: inline-flex; width: 38px; height: 38px; border-radius: 50%; align-items: center; justify-content: center;
    background: var(--rc-soft); color: var(--rc-royal);
}
.rc-member-social:hover { background: var(--rc-royal); color: #fff; }

/* Carrousel des dirigeants : flèches sous le texte, alignées à droite */
.rc-leaders .testimonial-carousel .owl-nav {
    position: static;
    transform: none;
    flex-direction: row;
    justify-content: flex-end;
    gap: .6rem;
    margin-top: 1.5rem;
}
.rc-leaders .testimonial-carousel .owl-nav .owl-prev,
.rc-leaders .testimonial-carousel .owl-nav .owl-next { margin: 0; }
.rc-leaders .testimonial-item { background: transparent; box-shadow: none; }
.rc-leaders .testimonial-item { padding: 0 calc(var(--bs-gutter-x, 3rem) * .5); }
.rc-leaders .testimonial-item .row { --bs-gutter-x: 3rem; }

/* Sur-titres : neutralise les variantes .text-start / .text-center du modèle */
.section-title.text-start::before,
.section-title.text-center::before,
.section-title.text-end::before { width: 28px; left: auto; }
.section-title.text-start::after,
.section-title.text-center::after,
.section-title.text-end::after { display: none; }

/* Textes tronqués sur N lignes */
.rc-clamp-2, .rc-clamp-3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.rc-clamp-2 { -webkit-line-clamp: 2; line-clamp: 2; }
.rc-clamp-3 { -webkit-line-clamp: 3; line-clamp: 3; }
.rc-more { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-top: .5rem; }
.rc-date-chip { max-width: calc(100% - 2rem); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Fenêtre de détail */
.rc-detail .modal-body { line-height: 1.75; }
.rc-detail-img { width: 100%; max-height: 420px; object-fit: contain; background: var(--rc-soft); border-radius: 12px; margin-bottom: 1.25rem; }

/* Fiches clubs */
.rc-club-logo {
    width: 64px; height: 64px; flex-shrink: 0; border-radius: 50%; overflow: hidden;
    border: 2px solid var(--rc-line); background: #fff; display: flex; align-items: center; justify-content: center;
}
.rc-club-logo img { width: 100%; height: 100%; object-fit: cover; }
.rc-club-logo--vide { background: linear-gradient(135deg, var(--rc-royal), var(--rc-azure)); border: 0; color: #fff; font-size: 1.4rem; }
.rc-club .rc-card-title { font-size: 1.05rem; line-height: 1.3; }
.rc-club-region { font-size: .8rem; font-weight: 600; color: var(--rc-azure); }
.rc-club-infos { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; font-size: .9rem; margin: 0; }
.rc-club-infos dt { color: var(--rc-muted); font-weight: 600; }
.rc-club-infos dd { margin: 0; }
.min-w-0 { min-width: 0; }

/* Bandeau vidéo des pages intérieures */
.rc-band {
    background: var(--rc-soft);
    border-left: 5px solid var(--rc-gold);
    border-radius: var(--rc-radius);
    padding: 1.75rem 2rem;
}
.rc-band h2 { color: var(--rc-navy); }

/* Bannière « Nos portes sont ouvertes » (page À propos) */
.banner .banner-inner {
    background: linear-gradient(120deg, var(--rc-royal) 0%, var(--rc-navy) 100%) !important;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}
.banner .banner-inner::before, .banner .banner-inner::after { display: none; }
.banner .banner-inner h1, .banner .banner-inner h2 { color: #fff; }
.banner .banner-inner p { color: rgba(255, 255, 255, .8); }
.banner .banner-inner .btn-primary { background: var(--rc-gold); border-color: var(--rc-gold); color: var(--rc-navy); }

/* En-tête : liens sur une ligne, logo compact sur mobile */
.rc-header .navbar-nav .nav-link, .rc-header .btn-gold { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .rc-header .navbar-nav .nav-link { padding-left: .6rem !important; padding-right: .6rem !important; }
    .rc-header .navbar-nav .nav-link::after { left: .6rem; right: .6rem; }
}
@media (max-width: 575.98px) {
    .rc-brand { gap: .5rem; min-width: 0; }
    .rc-brand img { height: 40px; }
    .rc-brand-name { font-size: 1rem; }
    .rc-brand-sub { font-size: .68rem; }
}

/* Neutralise le comportement du menu du modèle d'origine (marges de 30 px, sous-menus toujours présents) */
.rc-header .navbar .navbar-nav .nav-link { margin-right: 0; font-size: .95rem; }
.rc-header .navbar .navbar-nav { margin-top: 0; border-top: 0; }
.rc-header .navbar .nav-item .dropdown-menu { display: none; opacity: 1; visibility: visible; top: 100%; transition: none; }
.rc-header .navbar .nav-item .dropdown-menu.show { display: block; }
@media (min-width: 1200px) {
    .rc-header .navbar .nav-item.dropdown:hover > .dropdown-menu { display: block; }
}
@media (max-width: 1199.98px) {
    .rc-header .dropdown-toggle::after { display: none; }
}
