@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@600;700;800&display=swap');
/* ==========================================================================
   PALETTE & VARIABLES
   ========================================================================== */
:root {
    --sol-blue: #0D5C75;
    --sol-dark: #083D4E;
    --sol-orange: #FF6B35;
    --sol-green: #8CBF26;
    --sol-bg: #f8fafc;
    --sol-text: #1e293b;
    --sol-white: #ffffff;
}

/* RESET */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--sol-bg);
    color: var(--sol-text);
    line-height: 1.6;
}

.container, .sol-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

/* NAVBAR */
.site-header, header, .sol-navbar {
    background-color: var(--sol-blue) !important;
    padding: 12px 0 !important;
    width: 100% !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.nav-container, .nav-wrapper {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo, .nav-brand {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
    color: var(--sol-white) !important;
}

.logo img, .brand-logo {
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid var(--sol-white) !important;
}

.main-nav ul, .nav-menu ul {
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 15px !important;
    align-items: center !important;
}

.main-nav a, .nav-menu a {
    color: var(--sol-white) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
}

.main-nav a:hover, .nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: var(--sol-orange) !important;
}

/* DROPDOWN */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--sol-white);
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 1000;
    list-style: none !important;
    flex-direction: column !important;
}

.dropdown:hover .dropdown-menu {
    display: flex !important;
}

.dropdown-menu a {
    color: var(--sol-text) !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 20px !important;
}

.dropdown-menu a:hover {
    background: #f1f5f9 !important;
    color: var(--sol-blue) !important;
}

/* BOUTON DON */
.btn-don, a[href*="adhesion.php"], .btn-primary {
    background-color: var(--sol-orange) !important;
    color: var(--sol-white) !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-block !important;
}

/* CARDS & GRILLES INDEX */
.hero, .sol-hero-bandeau {
    background: var(--sol-dark);
    color: var(--sol-white);
    padding: 40px 0;
    margin-bottom: 40px;
}

.poles-grid, .grid-poles, .cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.card, .pole-card, .card-block, .hero-card {
    background: var(--sol-white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.badge, .badge-pole {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(140, 191, 38, 0.15);
    color: var(--sol-green);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

/* STATS BANDEAU */
.stats-bandeau, .sol-stats-bandeau {
    background-color: var(--sol-dark);
    color: var(--sol-white);
    padding: 40px 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    margin: 40px 0;
    border-radius: 12px;
}

.stat-number, .sol-stat-val {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--sol-orange);
}

/* GRILLE 2 COLONNES (CONTACT / DETAIL) */
.contact-grid, .sol-grid-2col, .pole-detail-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px auto;
}

.col-6, .contact-col, .sol-col-6 {
    flex: 1 1 calc(50% - 15px);
    min-width: 300px;
    background: var(--sol-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* FOOTER */
.site-footer, footer {
    background-color: var(--sol-dark);
    color: #94a3b8;
    padding: 40px 0 20px 0;
    margin-top: 60px;
}

footer a {
    color: #e2e8f0;
    text-decoration: none;
}

/* ==========================================================================
   AJOUTS — classes utilisées par index.php mais absentes du CSS d'origine
   ========================================================================== */

/* ---------------- Carrousel haut de page (boucle infinie) ---------------- */
.car-top-wrapper {
    width: 100%;
    overflow: hidden;
    background: var(--sol-dark);
}

.car-top-track {
    display: flex;
    width: max-content;
    animation: car-scroll 30s linear infinite;
}

.car-top-track:hover {
    animation-play-state: paused;
}

.car-top-slide {
    position: relative;
    flex: 0 0 auto;
    width: 320px;
    height: 220px;
    margin-right: 4px;
    overflow: hidden;
}

.car-top-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.car-top-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 16px;
    background: linear-gradient(0deg, rgba(8,61,78,0.9) 0%, rgba(8,61,78,0) 100%);
    color: var(--sol-white);
    font-weight: 700;
    font-size: 0.95rem;
}

/* La piste contient les slides en double : on translate exactement de
   -50% (la largeur de la première moitié) pour boucler sans saut visible. */
@keyframes car-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---------------- Hero de page ---------------- */
.page-hero {
    background: var(--sol-dark);
    color: var(--sol-white);
    padding: 50px 0;
    text-align: center;
}

.page-hero .eyebrow {
    display: inline-block;
    color: var(--sol-orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--sol-white);
}

.eyebrow {
    display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.85rem;
}

/* ---------------- Bandeau stats ---------------- */
.stats-banner {
    background: var(--sol-blue);
    padding: 36px 0;
}

.stats-banner .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}

.stats-banner .stat-item .number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--sol-orange);
    line-height: 1.1;
}

.stats-banner .stat-item .label {
    color: var(--sol-white);
    font-size: 0.95rem;
    margin-top: 4px;
}

/* ---------------- Section générique ---------------- */
.section-content {
    padding: 50px 0;
}

/* ---------------- Cartes pôles (page d'accueil) ---------------- */
.card-pole-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-pole {
    background: var(--sol-white);
    border-radius: 14px;
    padding: 28px;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-pole-link:hover .card-pole {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.card-pole-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.icon-box {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: rgba(13, 92, 117, 0.1);
    color: var(--sol-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.card-pole-badge {
    background: rgba(255, 107, 53, 0.12);
    color: var(--sol-orange);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 5px 12px;
    border-radius: 20px;
}

.card-pole h3 {
    font-size: 1.2rem;
    color: var(--sol-dark);
    margin-bottom: 8px;
}

.card-pole .resume {
    color: #64748b;
    font-size: 0.92rem;
    margin-bottom: 16px;
}

.card-pole-features {
    list-style: none;
    margin: 0 0 20px 0;
    padding: 0;
}

.card-pole-features li {
    font-size: 0.85rem;
    color: #475569;
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.card-pole-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--sol-green);
    font-weight: 700;
}

.card-pole-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    font-weight: 700;
    color: var(--sol-blue);
    font-size: 0.92rem;
}

.card-pole-footer .arrow {
    transition: transform 0.2s ease;
}

.card-pole-link:hover .card-pole-footer .arrow {
    transform: translateX(4px);
}

/* ---------------- Responsive ---------------- */
@media (max-width: 760px) {
    .stats-banner .stats-grid { grid-template-columns: 1fr; gap: 24px; }
    .car-top-slide { width: 240px; height: 170px; }
}

/* ==========================================================================
   AJOUTS (2) — alias de variables, classes navbar réelles, classes
   composants utilisées sur contact/adhesion/à-propos/cgu/pole
   ========================================================================== */

/* ---------------- Alias de variables ---------------- */
/* Plusieurs pages utilisent var(--primary)/var(--secondary)/var(--radius),
   qui n'existaient nulle part : on les fait pointer vers la palette réelle. */
:root {
    --primary: var(--sol-orange);
    --secondary: var(--sol-dark);
    --radius: 12px;
}

/* ---------------- Navbar réelle (classes "solidere-*") ---------------- */
.solidere-header {
    background-color: var(--sol-blue);
    padding: 12px 0;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.solidere-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.solidere-brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--sol-white);
}

.solidere-brand-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--sol-white);
}

.solidere-brand-title {
    color: var(--sol-white);
    font-weight: 800;
    font-size: 1.2rem;
}

.solidere-main-nav { }

.solidere-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.solidere-burger span {
    width: 26px;
    height: 3px;
    background: var(--sol-white);
    border-radius: 3px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.solidere-burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.solidere-burger.open span:nth-child(2) { opacity: 0; }
.solidere-burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.solidere-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 6px;
    align-items: center;
}

.solidere-nav-list > li > a {
    color: var(--sol-white);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 6px;
    display: inline-block;
}

.solidere-nav-list > li > a:hover {
    background-color: rgba(255,255,255,0.15);
    color: var(--sol-orange);
}

@media (max-width: 900px) {
    .solidere-nav-container { position: relative; }
    .solidere-burger { display: flex; }

    .solidere-main-nav {
        display: none;
        width: 100%;
    }
    .solidere-main-nav.open {
        display: block;
    }

    .solidere-nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 0;
    }

    .solidere-nav-list > li > a {
        padding: 12px 10px;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        border-radius: 0;
        background: rgba(255,255,255,0.06);
        padding-left: 10px;
    }

    .dropdown.open .dropdown-menu {
        display: flex;
        flex-direction: column;
    }

    .dropdown-menu a {
        color: var(--sol-white) !important;
    }

    .dropdown-menu a:hover {
        background: rgba(255,255,255,0.1) !important;
        color: var(--sol-orange) !important;
    }
}

/* ---------------- Formulaires (contact / adhésion) ---------------- */
.sol-form-group {
    margin-bottom: 18px;
}

.sol-form-group label {
    display: block;
    font-weight: 600;
    color: var(--sol-dark);
    margin-bottom: 6px;
    font-size: 0.92rem;
}

.sol-form-input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    background: #f8fafc;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.sol-form-input:focus {
    outline: none;
    border-color: var(--sol-blue);
    background: var(--sol-white);
}

textarea.sol-form-input {
    min-height: 130px;
    resize: vertical;
}

.btn-block {
    width: 100%;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-outline-light {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--sol-dark);
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

/* ---------------- Image pleine colonne (page contact) ---------------- */
.sol-img-card {
    border-radius: 14px;
    overflow: hidden;
    background: var(--sol-white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.sol-full-column-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---------------- Grilles 2 colonnes génériques ---------------- */
.two-col-center,
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
    margin: 20px 0;
}

@media (max-width: 900px) {
    .two-col-center, .two-col { grid-template-columns: 1fr; }
}

/* ---------------- Contenu texte (association / cgu / confidentialité) ---------------- */
.content-block,
.legal-content {
    background: var(--sol-white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.content-block h2,
.legal-content h2 {
    color: var(--sol-dark);
    margin: 25px 0 12px 0;
    font-size: 1.3rem;
}

.content-block h2:first-child,
.legal-content h2:first-child {
    margin-top: 0;
}

.content-block p,
.legal-content p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 12px;
}

.content-block ul,
.legal-content ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.content-block li,
.legal-content li {
    color: #475569;
    line-height: 1.8;
}

.side-card {
    background: #f8fafc;
    border-radius: var(--radius);
    padding: 26px;
    border: 1px solid #e2e8f0;
}

.side-card h3 {
    color: var(--sol-dark);
    margin-bottom: 12px;
}

/* ---------------- Page détail pôle ---------------- */
.actions-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.actions-list li {
    padding: 10px 0 10px 28px;
    position: relative;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
}

.actions-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--sol-green);
    font-weight: 700;
}

.side-info-block {
    display: flex;
}

.illustration-wrap {
    border-radius: var(--radius);
    overflow: hidden;
}

.side-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.hero-text {
    color: #475569;
    font-size: 1.05rem;
    margin-top: 10px;
}

.action-btn {
    margin-top: 20px;
}

/* ---------------- Messages flash ---------------- */
.flash-message {
    padding: 18px 22px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    margin: 20px 0;
}

.flash-success {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
}

.flash-error {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.flash-message strong {
    display: block;
    margin-bottom: 4px;
}

/* ==========================================================================
   AJOUTS (3) — carrousel encadré, photos encadrées, espacements,
   illustration en fond derrière le titre de pôle
   ========================================================================== */

/* ---------------- Carrousel encadré + espacé ---------------- */
.car-top-wrapper {
    max-width: 1200px;
    margin: 30px auto;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(8, 61, 78, 0.12);
    background: var(--sol-white);
}

.car-top-track {
    border-radius: 12px;
    overflow: hidden;
}

.car-top-slide {
    border-radius: 10px;
    margin-right: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.car-top-slide img {
    border-radius: 10px;
}

/* ---------------- Photos encadrées (contenu général) ---------------- */
.side-img,
.sol-full-column-img,
.card-block img,
.content-block img {
    border-radius: 14px;
    border: 4px solid var(--sol-white);
    box-shadow: 0 8px 24px rgba(8, 61, 78, 0.15);
}

.sol-img-card,
.illustration-wrap {
    padding: 10px;
    background: var(--sol-white);
}

/* ---------------- Un peu plus d'air un peu partout ---------------- */
.section-content {
    padding: 64px 0;
}

.card-block {
    padding: 32px;
}

.poles-grid {
    gap: 30px;
    margin: 46px 0;
}

.two-col-center, .two-col {
    gap: 40px;
}

/* ---------------- Illustration en fond derrière le titre de pôle ---------------- */
.page-hero {
    position: relative;
    overflow: hidden;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero-bg-illus {
    position: absolute;
    top: 50%;
    right: -40px;
    transform: translateY(-50%);
    width: 320px;
    height: 320px;
    object-fit: contain;
    opacity: 0.14;
    z-index: 1;
    pointer-events: none;
    filter: grayscale(0.2);
}

@media (max-width: 760px) {
    .page-hero-bg-illus { width: 200px; height: 200px; right: -30px; opacity: 0.10; }
}

/* ==========================================================================
   AJOUTS (4) — icônes colorées/stylées dans la navbar
   ========================================================================== */

/* Icône du lien "Nos Pôles" (chevron) */
.solidere-nav-list .dropdown > a > i {
    color: var(--sol-orange);
    margin-left: 4px;
}

/* Icônes des pôles dans le menu déroulant : badge coloré et arrondi,
   une couleur différente par pôle pour un effet "stylé" plutôt qu'une
   simple icône monochrome */
.dropdown-menu a i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--sol-white);
    background: var(--sol-blue);
}

.dropdown-menu li:nth-child(1) a i { background: var(--sol-orange); }
.dropdown-menu li:nth-child(2) a i { background: var(--sol-blue); }
.dropdown-menu li:nth-child(3) a i { background: var(--sol-green); }
.dropdown-menu li:nth-child(4) a i { background: #8b5cf6; }
.dropdown-menu li:nth-child(5) a i { background: #ec4899; }

.dropdown-menu a {
    font-weight: 600;
    transition: transform 0.15s ease;
}

.dropdown-menu a:hover i {
    transform: scale(1.1);
}

/* Titre de la marque avec un léger dégradé coloré, plus "stylé" qu'un blanc plat */
.solidere-brand-title {
    background: linear-gradient(90deg, #ffffff, var(--sol-orange));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.02em;
}

/* ---------------- Footer : liens nav ---------------- */
.site-footer a:hover {
    color: var(--sol-orange);
    text-decoration: underline;
}
/* ==========================================================================
   CORRECTION ALIGNEMENT HAUTEUR - PAGE DÉTAIL PÔLE
   ========================================================================== */
.two-col-equal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch; /* Force les deux colonnes à s'étirer à la même hauteur */
}

.card-block-flex {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    margin-bottom: 0 !important;
}

.illustration-wrap-fill {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 0 !important;
}

.illustration-wrap-fill img.side-img {
    width: 100%;
    height: 100%;
    max-height: 550px; /* Empêche l'image de devenir démesurée si le texte est très long */
    object-fit: cover;
}

@media (max-width: 900px) {
    .two-col-equal {
        grid-template-columns: 1fr;
    }
    .illustration-wrap-fill img.side-img {
        max-height: 350px;
    }
}
.footer-address { font-style: normal; line-height: 1.8; margin-bottom: 18px; }
.footer-address a { text-decoration: underline; }

.social-links { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 10px 0 5px; }
.social-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px; border-radius: 999px;
    color: #fff !important; font-weight: 600; font-size: 0.95rem;
    text-decoration: none !important;
    transition: transform .15s ease, box-shadow .15s ease;
}
.social-btn:hover, .social-btn:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.social-btn i { font-size: 1.1rem; }
.social-facebook { background: #1877f2; }
.social-linkedin { background: #0a66c2; }
/* Carrousel : démarre une fois les images prêtes, distance mesurée en JS */
@keyframes car-scroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(calc(-1 * var(--car-shift, 50%)), 0, 0); }
}
.car-top-track {
    animation: car-scroll 35s linear 1.5s infinite;
    animation-play-state: paused;
}
.car-top-track.is-running { animation-play-state: running; }
.car-top-track.is-running:hover,
.car-top-track.is-running:focus-within { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
    .car-top-track { animation: none; }
    .car-top-wrapper { overflow-x: auto; }
}
/* ===== Cartes des pôles : couleur par pôle + petites animations ===== */
/* La couleur de chaque pôle vient de config/config.php (--pole-color),
   identique à celle des icônes du menu « Nos Pôles ». */

/* Bordure colorée en haut de chaque carte (accueil + page détail) */
.poles-grid .card-pole,
.pole-detail .card-block {
    border-top: 4px solid var(--pole-color, var(--sol-blue));
}
.poles-grid .card-pole {
    transition: transform .25s ease, box-shadow .25s ease;
}
.poles-grid .card-pole-link:hover .card-pole,
.poles-grid .card-pole-link:focus-visible .card-pole {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, .14);
}
.poles-grid .icon-box {
    color: var(--pole-color, var(--sol-blue));
    background: color-mix(in srgb, var(--pole-color, var(--sol-blue)) 14%, #ffffff);
    transition: transform .3s ease;
}
.poles-grid .card-pole-link:hover .icon-box {
    transform: scale(1.1) rotate(-6deg);
}
/* Texte des étiquettes et liens : teinte du pôle assombrie pour rester lisible (ex. le vert) */
.poles-grid .card-pole-badge,
.pole-detail-badge {
    color: color-mix(in srgb, var(--pole-color, var(--sol-blue)) 70%, #0f172a);
    background: color-mix(in srgb, var(--pole-color, var(--sol-blue)) 12%, #ffffff);
}
.poles-grid .card-pole-footer {
    color: color-mix(in srgb, var(--pole-color, var(--sol-blue)) 70%, #0f172a);
}
.poles-grid .card-pole-features {
    list-style: none;
    padding-left: 0;
}
.poles-grid .card-pole-features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 6px;
}
.poles-grid .card-pole-features li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    font-weight: 700;
    color: var(--pole-color, var(--sol-blue));
}
.poles-grid .card-pole-footer .arrow {
    display: inline-block;
    transition: transform .25s ease;
}
.poles-grid .card-pole-link:hover .arrow {
    transform: translateX(6px);
}

/* Apparition en cascade des cartes */
@keyframes pole-in {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}
.poles-grid .card-pole-link {
    opacity: 0;
    animation: pole-in .6s ease forwards;
}
.poles-grid .card-pole-link:nth-child(2) { animation-delay: .08s; }
.poles-grid .card-pole-link:nth-child(3) { animation-delay: .16s; }
.poles-grid .card-pole-link:nth-child(4) { animation-delay: .24s; }
.poles-grid .card-pole-link:nth-child(5) { animation-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
    .poles-grid .card-pole-link { opacity: 1; animation: none; }
    .poles-grid .card-pole,
    .poles-grid .icon-box,
    .poles-grid .card-pole-footer .arrow { transition: none; }
    .poles-grid .card-pole-link:hover .card-pole,
    .poles-grid .card-pole-link:hover .icon-box,
    .poles-grid .card-pole-link:hover .arrow { transform: none; }
}

/* ===== Page détail d'un pôle ===== */
.pole-detail-badge {
    display: inline-block;
    align-self: flex-start;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}
.pole-detail-intro {
    margin-top: 10px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #475569;
}
.pole-detail-cta {
    margin-top: auto;
    padding-top: 24px;
}
.pole-detail-actions-block {
    margin-top: 50px;
}
.pole-detail-heading {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 30px auto;
}
.pole-detail-heading .eyebrow {
    color: color-mix(in srgb, var(--pole-color, var(--sol-blue)) 70%, #0f172a);
}
.pole-detail-heading h2 {
    color: var(--sol-dark);
    font-size: 2rem;
    margin-top: 5px;
}
.pole-detail .poles-grid .card-pole-link {
    display: block;
    cursor: default;
}

/* Boutons vers les autres pôles : même pastille colorée que dans le menu */
.pole-detail-others {
    margin-top: 50px;
    text-align: center;
}
.pole-detail-others h3 {
    color: var(--sol-dark);
    margin-bottom: 16px;
}
.pole-detail-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.pole-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 10px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-weight: 600;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pole-chip i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-size: .85rem;
    color: #ffffff;
    background: var(--pole-color, var(--sol-blue));
}
.pole-chip:hover {
    transform: translateY(-3px);
    border-color: var(--pole-color, var(--sol-blue));
    box-shadow: 0 8px 18px rgba(15, 23, 42, .10);
}
@media (prefers-reduced-motion: reduce) {
    .pole-chip { transition: none; }
    .pole-chip:hover { transform: none; }
}

/* ===== Page détail : cartes d'action en paragraphe (2 colonnes) ===== */
.pole-detail .poles-grid {
    grid-template-columns: repeat(2, 1fr);
}
.pole-detail .poles-grid .card-pole-link:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}
.pole-detail .card-pole .resume {
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 0;
}
@media (max-width: 800px) {
    .pole-detail .poles-grid { grid-template-columns: 1fr; }
}

:root { --font-title: 'Outfit', 'Plus Jakarta Sans', sans-serif; --font-body: 'Inter', 'Nunito', sans-serif; }
body { font-family: var(--font-body); line-height: 1.65; }
h1, h2, h3, h4, .solidere-brand-title, .btn, .eyebrow, .card-pole-badge { font-family: var(--font-title); }
h1, h2, h3 { letter-spacing: -.01em; }

/* ===== Logo lisible : emblème recadré serré, plus grand ===== */
.solidere-brand-img { width: 60px; height: 60px; border-radius: 50%; object-fit: contain; background: #fff; padding: 3px; border: 2px solid #fff; }
.solidere-brand-title { font-size: 1.35rem; }
@media (max-width: 600px) { .solidere-brand-img { width: 52px; height: 52px; } }

/* ===== Accueil : bandeau 5 pôles, bande maraude, chiffres, appel à adhérer ===== */
.hb-hero { position: relative; margin: 30px auto; max-width: 1200px; border-radius: 20px; overflow: hidden;
  background: linear-gradient(rgba(255,255,255,.62), rgba(255,255,255,.62)), url('../img/fond-bandeau-haut.jpg') center/cover;
  box-shadow: 0 10px 30px rgba(8,61,78,.12); }
.hb-hero-in { display: flex; align-items: center; gap: 40px; padding: 40px 54px; }
.hb-hero-txt { flex: 0 0 380px; }
.hb-hero-txt h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.1; color: var(--sol-dark); }
.hb-hero-txt p { margin-top: 12px; font-size: 1.1rem; color: #334155; }
.hb-hero-txt em { display: block; margin-top: 16px; font-family: Georgia, serif; font-size: 1.1rem; color: var(--sol-blue); }
.hb-poles { flex: 1; display: flex; justify-content: space-between; gap: 14px; }
.hb-pole { text-align: center; width: 112px; text-decoration: none; color: var(--sol-dark); }
.hb-pole i { display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; margin: 0 auto 12px;
  border-radius: 20px; color: #fff; font-size: 1.9rem; background: var(--pole-color); box-shadow: 0 8px 18px rgba(0,0,0,.18);
  transition: transform .25s ease; }
.hb-pole:hover i { transform: translateY(-5px) scale(1.06); }
.hb-pole span { display: block; font-family: var(--font-title, inherit); font-weight: 700; font-size: .95rem; line-height: 1.25; }

.hb-maraude { position: relative; margin: 30px auto; max-width: 1200px; border-radius: 20px; overflow: hidden; color: #fff;
  background: linear-gradient(105deg, #083D4E 0%, #0D5C75 58%, #1b7d93 100%); }
.hb-maraude::before { content: ""; position: absolute; right: -90px; top: -110px; width: 380px; height: 380px; border-radius: 50%; background: var(--sol-orange); }
.hb-maraude::after { content: ""; position: absolute; right: 150px; bottom: -170px; width: 280px; height: 280px; border-radius: 50%; background: var(--sol-green); opacity: .9; }
.hb-maraude-in { position: relative; z-index: 2; display: flex; align-items: center; gap: 40px; padding: 40px 56px; }
.hb-maraude-txt { flex: 1; }
.hb-tag { display: inline-block; background: var(--sol-orange); font-weight: 700; letter-spacing: .08em; font-size: .8rem; padding: 7px 16px; border-radius: 999px; }
.hb-maraude h2 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.05; margin: 14px 0; }
.hb-date { font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; gap: 12px; }
.hb-date i { color: var(--sol-orange); }
.hb-sub { margin-top: 8px; color: #cfe9ef; }
.hb-maraude .hb-btn { display: inline-block; margin-top: 18px; background: #fff; color: var(--sol-dark) !important; font-weight: 700; padding: 12px 26px; border-radius: 12px; text-decoration: none; }
.hb-logo-card { background: #fff; border-radius: 18px; padding: 10px; box-shadow: 0 10px 26px rgba(0,0,0,.25); }
.hb-logo-card img { display: block; height: 140px; width: auto; }

/* Chiffres : 4 colonnes */
.stats-banner .stats-grid.stats-4 { grid-template-columns: repeat(4, 1fr); }

.cta-fond { position: relative; text-align: center; padding: 56px 0; margin-top: 30px;
  background: linear-gradient(rgba(255,255,255,.55), rgba(255,255,255,.55)), url('../img/fond-bandeau-bas.jpg') center/cover; }
.cta-fond h2 { color: var(--sol-dark); font-size: 2rem; }
.cta-fond p { color: #334155; margin: 10px 0 20px; font-size: 1.1rem; }

@media (max-width: 900px) {
  .hb-hero-in, .hb-maraude-in { flex-direction: column; align-items: flex-start; padding: 30px 24px; gap: 24px; }
  .hb-hero-txt { flex: none; }
  .hb-poles { flex-wrap: wrap; justify-content: center; width: 100%; }
  .hb-logo-card { display: none; }
  .stats-banner .stats-grid.stats-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) { .hb-hero, .hb-maraude { margin: 20px 12px; } }

/* Accueil : 3 cartes en haut, 2 centrées en bas */
@media (min-width: 1000px) {
  .poles-grid-5 { grid-template-columns: repeat(6, 1fr); }
  .poles-grid-5 > .card-pole-link { grid-column: span 2; }
  .poles-grid-5 > .card-pole-link:nth-child(4) { grid-column: 2 / 4; }
  .poles-grid-5 > .card-pole-link:nth-child(5) { grid-column: 4 / 6; }
}

/* ===== Police sur TOUT le site (menu, pied de page, pages détail, formulaires) ===== */
html, body, header, nav, main, section, footer, a, p, li, span, div, label, small, strong, em,
input, select, textarea, button, table, th, td { font-family: var(--font-body); }
h1, h2, h3, h4, h5, h6, .solidere-brand-title, .btn, .btn-primary, .btn-outline-light, .eyebrow,
.card-pole-badge, .pole-detail-badge, .number, .stat-item .number, .hb-pole span, .hb-tag { font-family: var(--font-title); }
.fas, .far, .fa-solid, .fa-regular { font-family: "Font Awesome 6 Free"; }
.fab, .fa-brands { font-family: "Font Awesome 6 Brands"; }

/* ===== Menu (haut) et pied de page (bas) : même fond que les bandeaux ===== */
.solidere-header, .site-header, header {
    background-image: linear-gradient(rgba(13, 92, 117, .84), rgba(13, 92, 117, .84)), url('../img/fond-bandeau-haut.jpg');
    background-size: cover;
    background-position: center;
}
footer, .site-footer {
    background-image: linear-gradient(rgba(8, 61, 78, .86), rgba(8, 61, 78, .86)), url('../img/fond-bandeau-bas.jpg');
    background-size: cover;
    background-position: center;
}

/* ===== Accueil : chiffres et appel à adhérer à la même largeur que le carousel ===== */
.stats-banner {
    max-width: 1200px;
    margin: 30px auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(8, 61, 78, .12);
}
.cta-fond {
    max-width: 1200px;
    margin: 30px auto;
    border-radius: 20px;
    overflow: hidden;
}
@media (max-width: 760px) {
    .stats-banner, .cta-fond { margin: 20px 12px; }
}

/* ===== Footer à la largeur du contenu / header plus grand ===== */
footer, .site-footer {
    max-width: 1200px;
    margin: 40px auto 30px;
    padding: 34px 20px 22px;
    border-radius: 20px;
}
.solidere-header, .site-header, header {
    padding: 22px 0 !important;
}
.solidere-brand-img { width: 76px; height: 76px; }
.solidere-brand-title { font-size: 1.7rem; }
.solidere-nav-list > li > a { font-size: 1.1rem; padding: 10px 16px; }
@media (max-width: 900px) {
    footer, .site-footer { margin: 30px 12px 20px; }
    .solidere-header, .site-header, header { padding: 14px 0 !important; }
    .solidere-brand-img { width: 56px; height: 56px; }
    .solidere-brand-title { font-size: 1.25rem; }
}

/* ===== Navbar : pleine largeur, coins du bas arrondis ===== */
.solidere-header, .site-header, header {
    border-radius: 0 0 24px 24px;
}

/* ===== Footer : pleine largeur, coins du haut arrondis ===== */
footer, .site-footer {
    max-width: none;
    margin: 40px 0 0;
    border-radius: 24px 24px 0 0;
}
@media (max-width: 900px) {
    footer, .site-footer { margin: 30px 0 0; }
}

/* ===== Footer et navbar plus compacts ===== */
footer, .site-footer { padding: 14px 20px 10px !important; margin-top: 30px; font-size: .95rem; }
footer .container { padding: 14px 20px 8px !important; }
footer nav { margin-bottom: 10px !important; }
footer .footer-address { margin-bottom: 10px; line-height: 1.5; }
footer .social-links { margin: 6px 0 4px; }
footer .social-btn { padding: 7px 14px; font-size: .88rem; }
footer p { margin: 8px 0 4px !important; line-height: 1.4; }
.solidere-header, .site-header, header { padding: 14px 0 !important; }
.solidere-brand-img { width: 66px; height: 66px; }
.solidere-brand-title { font-size: 1.5rem; }
.solidere-nav-list > li > a { font-size: 1.05rem; padding: 8px 14px; }
@media (max-width: 900px) {
    .solidere-brand-img { width: 52px; height: 52px; }
    .solidere-brand-title { font-size: 1.2rem; }
}

/* ===== Bouton Don (menu) ===== */
.solidere-nav-list > li > a.nav-don {
    background: var(--sol-green);
    color: #083D4E !important;
    font-weight: 700;
    border-radius: 8px;
    padding: 8px 16px;
}
.solidere-nav-list > li > a.nav-don i { color: #c0392b; margin-right: 4px; }
.solidere-nav-list > li > a.nav-don:hover { background: #a3d63a; color: #083D4E !important; }

/* ===== Bandeaux de titre des autres pages : arrondis sur les 4 côtés ===== */
.page-hero {
    max-width: 1200px;
    margin: 30px auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(8, 61, 78, .12);
}
@media (max-width: 1240px) {
    .page-hero { margin: 24px 20px; }
}