:root {
    --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Raleway",  sans-serif;
    --nav-font: "Poppins",  sans-serif;
}

/* Global Colors */
:root {
    --background-color: #ffffff;
    --default-color: #444444;
    --heading-color: #555555;
    --accent-color: #ca6739;
    --surface-color: #ffffff;
    --contrast-color: #ffffff;
}

/* Nav Menu Colors */
:root {
    --nav-color: #444444;
    --nav-hover-color: #0893d7;
    --nav-mobile-background-color: #ffffff;
    --nav-dropdown-background-color: #ffffff;
    --nav-dropdown-color: #444444;
    --nav-dropdown-hover-color: #0893d7;
}

/* Color Presets */
.light-background {
    --background-color: #f7fcfc;
    --surface-color: #ffffff;
}

.dark-background {
    --background-color: #060606;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #252525;
    --contrast-color: #ffffff;
}

.accent-background {
    --background-color: #0893d7;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #0893d7;
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: color-mix(in srgb, var(--accent-color), transparent 25%);
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
}

/* Pulsating Play Button */
.pulsating-play-btn {
    width: 94px;
    height: 94px;
    background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
    border-radius: 50%;
    display: block;
    position: relative;
    overflow: hidden;
}

.pulsating-play-btn:before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    animation-delay: 0s;
    animation: pulsate-play-btn 2s;
    animation-direction: forwards;
    animation-iteration-count: infinite;
    animation-timing-function: steps;
    opacity: 1;
    border-radius: 50%;
    border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
    top: -15%;
    left: -15%;
    background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-40%) translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #fff;
    z-index: 100;
    transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-40%) translateY(-50%);
    width: 0;
    height: 0;
    border: none;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #fff;
    z-index: 200;
    animation: none;
    border-radius: 0;
}

.pulsating-play-btn:hover:after {
    border-left: 15px solid var(--accent-color);
    transform: scale(20);
}

@keyframes pulsate-play-btn {
    0% {
        transform: scale(0.6, 0.6);
        opacity: 1;
    }
    100% {
        transform: scale(1, 1);
        opacity: 0;
    }
}

/* PHP Email Form Messages */
.php-email-form .error-message {
    display: none;
    background: #df1529;
    color: #ffffff;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .sent-message {
    display: none;
    color: #ffffff;
    background: #059652;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .loading {
    display: none;
    background: var(--surface-color);
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
}

.php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid var(--accent-color);
    border-top-color: var(--surface-color);
    animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
    color: var(--default-color);
    background-color: var(--background-color);
    transition: all 0.5s;
    z-index: 997;
    box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

.header .topbar {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    height: 40px;
    padding: 0;
    transition: all 0.5s;
}

.header .branding {
    min-height: 60px;
    padding: 10px 0;
}

.header .logo {
    line-height: 1;
}

.header .logo img {
    max-height: 50px;
    /*margin-right: 8px;*/
}

.header .logo h1 {
    font-size: 30px;
    margin: 0;
    font-weight: 700;
    color: var(--heading-color);
}

.cta-btn-sm {
    color: var(--contrast-color);
    background: var(--accent-color);
    font-size: 14px;
    padding: 6px 12px;
    margin: 0 5px 0 30px;
    border-radius: 4px;
    transition: 0.3s;
}

.cta-btn-sm:hover {
    color: var(--contrast-color);
    background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.cta-btn,
.cta-btn:focus {
    color: var(--contrast-color);
    background: var(--accent-color);
    font-size: 14px;
    padding: 8px 20px;
    margin: 0 5px 0 30px;
    border-radius: 4px;
    transition: 0.3s;
}

.cta-btn:hover,
.cta-btn:focus:hover {
    color: var(--contrast-color);
    background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

/*--------------------------------------------------------------
# Navigation Menu — Desktop
--------------------------------------------------------------*/
@media (min-width: 1200px) {
    .navmenu {
        padding: 0;
    }

    .navmenu ul {
        margin: 0;
        padding: 0;
        display: flex;
        list-style: none;
        align-items: center;
    }

    .navmenu li {
        position: relative;
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-color);
        padding: 18px 15px;
        font-size: 13px;
        font-family: var(--nav-font);
        font-weight: 500;
        text-transform: uppercase;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
    }

    .navmenu a i,
    .navmenu a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
        transition: 0.3s;
    }

    .navmenu li:last-child a {
        padding-right: 0;
    }

    .navmenu li:hover > a,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--nav-hover-color);
    }

    /* ── Dropdown niveau 1 ── */
    .navmenu .dropdown {
        position: relative;
    }

    .navmenu .dropdown ul {
        margin: 0;
        padding: 10px 0;
        background: var(--nav-dropdown-background-color);
        display: block;
        position: absolute;
        visibility: hidden;
        left: 0;           /* aligné avec le parent */
        top: 100%;
        opacity: 0;
        transition: opacity 0.3s, top 0.3s;
        border-radius: 4px;
        z-index: 999;
        box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
        min-width: 200px;
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    }

    .navmenu .dropdown ul li {
        min-width: 200px;
    }

    .navmenu .dropdown ul a {
        padding: 10px 20px;
        font-size: 15px;
        text-transform: none;
        color: var(--nav-dropdown-color);
        display: block;
    }

    .navmenu .dropdown ul a i {
        font-size: 12px;
    }

    .navmenu .dropdown ul a:hover,
    .navmenu .dropdown ul .active:hover,
    .navmenu .dropdown ul li:hover > a {
        color: var(--nav-dropdown-hover-color);
        background-color: rgba(0, 0, 0, 0.04);
    }

    .navmenu .dropdown:hover > ul {
        opacity: 1;
        top: 100%;
        visibility: visible;
    }

    /* ── Dropdown niveau 2 (sous-menu) ── */
    .navmenu .dropdown .dropdown {
        position: relative;
    }

    .navmenu .dropdown .dropdown ul {
        top: 0;
        left: 100%;          /* à droite du parent */
        visibility: hidden;
        opacity: 0;
    }

    .navmenu .dropdown .dropdown:hover > ul {
        opacity: 1;
        top: 0;
        left: 100%;
        visibility: visible;
    }
}

/*--------------------------------------------------------------
# Navigation Menu — Mobile
--------------------------------------------------------------*/
@media (max-width: 1199px) {
    .mobile-nav-toggle {
        color: var(--nav-color);
        font-size: 28px;
        line-height: 0;
        margin-right: 10px;
        cursor: pointer;
        transition: color 0.3s;
    }

    .navmenu {
        padding: 0;
        z-index: 9997;
    }

    .navmenu ul {
        display: none;
        list-style: none;
        position: absolute;
        inset: 60px 20px 20px 20px;
        padding: 10px 0;
        margin: 0;
        border-radius: 6px;
        background-color: var(--nav-mobile-background-color);
        overflow-y: auto;
        transition: 0.3s;
        z-index: 9998;
        box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-dropdown-color);
        padding: 10px 20px;
        font-family: var(--nav-font);
        font-size: 17px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
    }

    .navmenu a i,
    .navmenu a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: 0.3s;
        background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    }

    .navmenu a i:hover,
    .navmenu a:focus i:hover {
        background-color: var(--accent-color);
        color: var(--contrast-color);
    }

    .navmenu a:hover,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--nav-dropdown-hover-color);
    }

    .navmenu .active i,
    .navmenu .active:focus i {
        background-color: var(--accent-color);
        color: var(--contrast-color);
        transform: rotate(180deg);
    }

    /* Dropdown mobile : statique */
    .navmenu .dropdown ul {
        position: static !important;
        display: none;
        z-index: 99;
        padding: 10px 0;
        margin: 10px 20px;
        background-color: var(--nav-dropdown-background-color);
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
        box-shadow: none;
        transition: all 0.5s ease-in-out;
        visibility: visible;
        opacity: 1;
        top: auto;
        left: auto;
    }

    .navmenu .dropdown ul ul {
        background-color: rgba(33, 37, 41, 0.1);
    }

    .navmenu .dropdown > .dropdown-active {
        display: block !important;
        background-color: rgba(33, 37, 41, 0.03);
    }

    .mobile-nav-active {
        overflow: hidden;
    }

    .mobile-nav-active .mobile-nav-toggle {
        color: #fff;
        position: absolute;
        font-size: 32px;
        top: 15px;
        right: 15px;
        margin-right: 0;
        z-index: 9999;
    }

    .mobile-nav-active .navmenu {
        position: fixed;
        overflow: hidden;
        inset: 0;
        background: rgba(33, 37, 41, 0.8);
        transition: 0.3s;
    }

    .mobile-nav-active .navmenu > ul {
        display: block;
    }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
    color: var(--default-color);
    background-color: var(--background-color);
    font-size: 14px;
    position: relative;
}

.footer .footer-top {
    padding-top: 20px;
}

.footer .footer-about .logo {
    line-height: 1;
    margin-bottom: 25px;
}

.footer .footer-about .logo img {
    max-height: 40px;
    margin-right: 6px;
}

.footer .footer-about .logo span {
    color: var(--heading-color);
    font-family: var(--heading-font);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer .footer-about p {
    font-size: 14px;
    font-family: var(--heading-font);
}

.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    margin-right: 10px;
    transition: 0.3s;
}

.footer .social-links a:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.footer h4 {
    font-size: 16px;
    font-weight: bold;
    position: relative;
    padding-bottom: 12px;
}

.footer .footer-links {
    margin-bottom: 10px;
}

.footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-links ul i {
    padding-right: 2px;
    font-size: 12px;
    line-height: 0;
}

.footer .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.footer .footer-links ul li:first-child {
    padding-top: 0;
}

.footer .footer-links ul a {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    display: inline-block;
    line-height: 1;
}

.footer .footer-links ul a:hover {
    color: var(--accent-color);
}

.footer .footer-contact p {
    margin-bottom: 5px;
}

.footer .copyright {
    padding: 15px 0;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
    margin-bottom: 0;
}

.footer .credits {
    margin-top: 8px;
    font-size: 13px;
}

.footer-map-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-map-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-map-link {
    font-size: 12px;
    color: var(--accent-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.footer-map-link:hover {
    text-decoration: underline;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    overflow: hidden;
    background-color: var(--background-color);
    transition: all 0.6s ease-out;
}

#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid var(--accent-color);
    border-top-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background-color: var(--accent-color);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

.scroll-top i {
    font-size: 24px;
    color: var(--contrast-color);
    line-height: 0;
}

.scroll-top:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
    color: var(--contrast-color);
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
    color: var(--default-color);
    background-color: var(--background-color);
    position: relative;
}

.page-title .heading {
    padding: 40px 0;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
    font-size: 38px;
    font-weight: 700;
}

.page-title nav {
    background-color: color-mix(in srgb, var(--default-color), transparent 96%);
    padding: 20px 0;
}

.page-title nav ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 16px;
    font-weight: 400;
}

.page-title nav ol li+li {
    padding-left: 10px;
}

.page-title nav ol li+li::before {
    content: "/";
    display: inline-block;
    padding-right: 10px;
    color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 20px 0;
    scroll-margin-top: 120px;
    overflow: clip;
}

@media (max-width: 1199px) {
    section,
    .section {
        scroll-margin-top: 100px;
    }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
    text-align: center;
    padding-bottom: 20px;
    position: relative;
}

.section-title h2 {
    /*font-size: 26px;*/
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 15px;
    position: relative;

    font-size: 1.3rem;
    color: #504f4f;
    font-family: 'Georgia', serif;
    display: block;
    text-align: center;
}

.section-title h2:after {
    content: "";
    position: absolute;
    display: block;
    width: 65px;
    height: 3px;
    background: var(--accent-color);
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.section-title p {
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
    padding: 0;
}

.hero .carousel {
    width: 100%;
    min-height: 70vh;
    padding: 0;
    margin: 0;
    position: relative;
}

@media (max-height: 500px),
(max-width: 580px) {
    .hero .carousel {
        min-height: 100vh;
    }
}

.hero img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero .carousel-item {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero .container {
    background: color-mix(in srgb, var(--surface-color), transparent 40%);
    position: relative;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    z-index: 3;
}

@media (max-width: 1200px) {
    .hero .container {
        margin-left: 50px;
        margin-right: 50px;
    }
}

.hero h2 {
    margin-bottom: 20px;
    font-size: 36px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 30px;
    }
}

.hero .btn-get-started {
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 8px 32px;
    transition: 0.3s;
    margin: 10px;
    border-radius: 5px;
    color: var(--contrast-color);
    background: var(--accent-color);
}

.hero .btn-get-started:hover {
    background: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}

.hero .carousel-control-prev {
    justify-content: start;
}

@media (min-width: 640px) {
    .hero .carousel-control-prev {
        padding-left: 15px;
    }
}

.hero .carousel-control-next {
    justify-content: end;
}

@media (min-width: 640px) {
    .hero .carousel-control-next {
        padding-right: 15px;
    }
}

.hero .carousel-control-next-icon,
.hero .carousel-control-prev-icon {
    background: none;
    font-size: 26px;
    line-height: 0;
    background: color-mix(in srgb, var(--default-color), transparent 90%);
    border-radius: 50px;
    color: var(--contrast-color);
    transition: 0.3s;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
    transition: 0.3s;
    opacity: 0.5;
}

.hero .carousel-control-prev:focus,
.hero .carousel-control-next:focus {
    opacity: 0.5;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
    opacity: 0.9;
}

.hero .carousel-control-prev:hover .carousel-control-next-icon,
.hero .carousel-control-prev:hover .carousel-control-prev-icon,
.hero .carousel-control-next:hover .carousel-control-next-icon,
.hero .carousel-control-next:hover .carousel-control-prev-icon {
    background: var(--accent-color);
    color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Carousel Hero personnalisé
--------------------------------------------------------------*/
.hero-text {
    animation: fadeInLeft 1s ease-in-out;
}

#heroCarousel .carousel-item img {
    animation: fadeInRight 1s ease-in-out;
}

/* Indicateurs — tirets Bootstrap 5 (button) */
#heroCarousel .carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 10;
    list-style: none;
    padding: 0;
}

#heroCarousel .carousel-indicators button {
    all: unset;
    display: inline-block;
    width: 30px;
    height: 3px;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.3s;
}

#heroCarousel .carousel-indicators button.active {
    background-color: #fff;
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

/*--------------------------------------------------------------
# Featured Services Section
--------------------------------------------------------------*/
.zones-intervention .service-item {
    background-color: var(--surface-color);
    box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
    padding: 20px 20px;
    transition: all 0.3s ease-in-out;
    height: 100%;
    position: relative;
    z-index: 1;
    border-radius: 7px;
}

.zones-intervention .service-item:before {
    content: "";
    position: absolute;
    background: var(--accent-color);
    inset: 100% 0 0 0;
    transition: all 0.3s;
    z-index: -1;
}

.zones-intervention .service-item .icon {
    margin-bottom: 10px;
}

.zones-intervention .service-item .icon i {
    color: var(--accent-color);
    font-size: 30px;
    transition: ease-in-out 0.3s;
}

.zones-intervention .service-item h4 {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 20px;
}

.zones-intervention .service-item h4 a {
    color: var(--heading-color);
    transition: ease-in-out 0.3s;
}

.zones-intervention .service-item p {
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
    transition: ease-in-out 0.3s;
}

.zones-intervention .service-item:hover h4 a,
.zones-intervention .service-item:hover .icon i,
.zones-intervention .service-item:hover .icon strong,
.zones-intervention .service-item:hover p {
    color: var(--contrast-color);
}

.zones-intervention .service-item:hover:before {
    background: var(--accent-color);
    inset: 0;
}

.service-item:hover .card-btn {
    background-color: #eff3f1;
    border-color: #0c0c0c;
    color: #0c0c0c;
}

.service-item .card-btn {
    background-color: var(--accent-color);
    color: #FFFFFF;
}

.text-explication {
    font-family: 'Georgia', serif;
    font-size: 0.92rem;
    line-height: 1.9;
    text-align: justify;
    color: #444;
    letter-spacing: 0.2px;
    word-spacing: 1px;
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
    padding: 80px 0;
    position: relative;
    clip-path: inset(0);
}

.call-to-action .container {
    position: relative;
    z-index: 3;
}

.call-to-action h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--default-color);
}

.call-to-action p {
    color: var(--default-color);
}

.call-to-action .cta-btn {
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 40px;
    border-radius: 4px;
    transition: 0.3s;
    margin: 10px;
    border: 2px solid var(--contrast-color);
    color: var(--contrast-color);
}

.call-to-action .cta-btn:hover {
    background: var(--contrast-color);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
    font-size: 1.75rem;
    font-weight: 700;
}

.about .content ul {
    list-style: none;
    padding: 0;
}

.about .content ul li {
    padding: 10px 0 0 0;
    display: flex;
}

.about .content ul i {
    color: var(--accent-color);
    margin-right: 0.5rem;
    line-height: 1.2;
    font-size: 1.25rem;
}

.about .content p:last-child {
    margin-bottom: 0;
}

.about .pulsating-play-btn {
    position: absolute;
    left: calc(50% - 47px);
    top: calc(50% - 47px);
}

/*--------------------------------------------------------------
# useEnChiffre Section
--------------------------------------------------------------*/
.useEnChiffre .useEnChiffre-item {
    background-color: var(--surface-color);
    box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.useEnChiffre .useEnChiffre-item i {
    color: var(--accent-color);
    font-size: 42px;
    line-height: 0;
    margin-right: 20px;
}

.useEnChiffre .useEnChiffre-item span {
    color: var(--heading-color);
    font-size: 36px;
    display: block;
    font-weight: 600;
}

.useEnChiffre .useEnChiffre-item p {
    padding: 0;
    margin: 0;
    font-family: var(--heading-font);
    font-size: 16px;
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .features-image {
    position: relative;
    min-height: 400px;
}

.features .features-image img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.features h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
}

.features h3:after {
    content: "";
    background: var(--accent-color);
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    left: 0;
    bottom: 0;
}

.features .icon-box {
    margin-top: 50px;
}

.features .icon-box i {
    color: var(--accent-color);
    background-color: var(--surface-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    font-size: 28px;
    width: 56px;
    height: 56px;
    border-radius: 4px;
    line-height: 0;
    box-shadow: 0px 2px 30px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.features .icon-box:hover i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
}

.features .icon-box h4 {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 18px;
}

.features .icon-box h4 a {
    color: var(--heading-color);
    transition: 0.3s;
}

.features .icon-box h4 a:hover {
    color: var(--accent-color);
}

.features .icon-box p {
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
    text-align: center;
    padding: 20px;
    transition: all ease-in-out 0.3s;
    height: 100%;
}

.services .service-item .icon {
    background-color: var(--surface-color);
    color: var(--accent-color);
    margin: 0 auto;
    width: 80px;
    height: 80px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: ease-in-out 0.3s;
    font-size: 32px;
    box-shadow: 0px 0 25px rgba(0, 0, 0, 0.1);
}

.services .service-item h3 {
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 15px;
    font-size: 22px;
    transition: 0.3s;
    position: relative;
}

.services .service-item h3:after {
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
    bottom: 0;
    left: calc(50% - 25px);
}

.services .service-item p {
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

.services .service-item:hover .icon {
    box-shadow: 0px 0 40px rgba(0, 0, 0, 0.1);
}

.services .service-item:hover h3 {
    color: var(--accent-color);
}

/*--------------------------------------------------------------
# Appointment Section
--------------------------------------------------------------*/
.appointment .php-email-form {
    width: 100%;
}

.appointment .php-email-form .form-group {
    padding-bottom: 8px;
}

.appointment .php-email-form input,
.appointment .php-email-form textarea,
.appointment .php-email-form select {
    color: var(--default-color);
    background-color: var(--surface-color);
    border-color: color-mix(in srgb, var(--default-color), transparent 80%);
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    padding: 10px !important;
}

.appointment .php-email-form input:focus,
.appointment .php-email-form textarea:focus,
.appointment .php-email-form select:focus {
    border-color: var(--accent-color);
}

.appointment .php-email-form input::placeholder,
.appointment .php-email-form textarea::placeholder,
.appointment .php-email-form select::placeholder {
    color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.appointment .php-email-form input,
.appointment .php-email-form select {
    height: 44px;
}

.appointment .php-email-form textarea {
    padding: 10px 12px;
}

.appointment .php-email-form button[type=submit] {
    background: var(--accent-color);
    border: 0;
    padding: 10px 35px;
    color: #fff;
    transition: 0.4s;
    border-radius: 4px;
}

.appointment .php-email-form button[type=submit]:hover {
    background: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}

/*--------------------------------------------------------------
# Tabs Section
--------------------------------------------------------------*/
.tabs {
    overflow: hidden;
}

.tabs .nav-tabs {
    border: 0;
}

.tabs .nav-link {
    border: 0;
    padding: 12px 15px 12px 0;
    transition: 0.3s;
    color: var(--default-color);
    border-radius: 0;
    border-right: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
    font-weight: 600;
    font-size: 15px;
}

.tabs .nav-link:hover {
    color: var(--accent-color);
}

.tabs .nav-link.active {
    color: var(--accent-color);
    border-color: var(--accent-color);
    background-color: var(--background-color);
}

.tabs .tab-pane.active {
    animation: fadeIn 0.5s ease-out;
}

.tabs .details h3 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 20px;
}

.tabs .details p {
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.tabs .details p:last-child {
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .tabs .nav-link {
        border: 0;
        padding: 15px;
    }

    .tabs .nav-link.active {
        color: var(--accent-color);
        background: var(--accent-color);
    }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
    overflow: hidden;
}

.testimonials .testimonial-item {
    box-sizing: content-box;
    min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
    width: 90px;
    border-radius: 50%;
    margin: -40px 0 0 40px;
    position: relative;
    z-index: 2;
    border: 6px solid var(--background-color);
}

.testimonials .testimonial-item h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 5px 45px;
}

.testimonials .testimonial-item h4 {
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    margin: 0 0 0 45px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
    color: color-mix(in srgb, var(--accent-color), transparent 50%);
    font-size: 26px;
    line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
    display: inline-block;
    left: -5px;
    position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
    display: inline-block;
    right: -5px;
    position: relative;
    top: 10px;
    transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
    font-style: italic;
    margin: 0 15px 0 15px;
    padding: 20px 20px 60px 20px;
    background: color-mix(in srgb, var(--default-color), transparent 97%);
    position: relative;
    border-radius: 6px;
    z-index: 1;
}

.testimonials .swiper-wrapper {
    height: auto;
}

.testimonials .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--background-color);
    opacity: 1;
    border: 1px solid var(--accent-color);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Doctors Section
--------------------------------------------------------------*/
.doctors .team-member {
    background-color: var(--surface-color);
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.doctors .team-member .member-img {
    position: relative;
    overflow: hidden;
}

.doctors .team-member .social {
    position: absolute;
    left: 0;
    bottom: 30px;
    right: 0;
    opacity: 0;
    transition: ease-in-out 0.3s;
    text-align: center;
}

.doctors .team-member .social a {
    background: color-mix(in srgb, var(--contrast-color), transparent 25%);
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    margin: 0 3px;
    border-radius: 4px;
    width: 36px;
    height: 36px;
    transition: ease-in-out 0.3s;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.doctors .team-member .social a:hover {
    color: var(--contrast-color);
    background: var(--accent-color);
}

.doctors .team-member .social i {
    font-size: 18px;
    line-height: 0;
}

.doctors .team-member .member-info {
    padding: 25px 15px;
}

.doctors .team-member .member-info h4 {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 18px;
}

.doctors .team-member .member-info span {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.doctors .team-member:hover .social {
    opacity: 1;
    bottom: 15px;
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery {
    overflow: hidden;
}

.gallery .swiper-wrapper {
    height: auto;
}

.gallery .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

.gallery .swiper-pagination .swiper-pagination-bullet {
    background-color: var(--background-color);
    border: 1px solid var(--accent-color);
    width: 12px;
    height: 12px;
    opacity: 1;
}

.gallery .swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
}

.gallery .swiper-slide-active {
    text-align: center;
}

@media (min-width: 992px) {
    .gallery .swiper-wrapper {
        padding: 40px 0;
    }

    .gallery .swiper-slide-active {
        background: var(--background-color);
        border: 6px solid var(--accent-color);
        padding: 4px;
        z-index: 1;
        transform: scale(1.2);
        transition: none;
    }
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
    background-color: var(--surface-color);
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.pricing .pricing-item h3 {
    font-weight: 400;
    margin: -20px -20px 20px -20px;
    padding: 20px 15px;
    font-size: 16px;
    font-weight: 600;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    background: color-mix(in srgb, var(--default-color), transparent 95%);
}

.pricing .pricing-item h4 {
    font-size: 36px;
    font-weight: 600;
    font-family: var(--heading-font);
}

.pricing .pricing-item h4 sup {
    font-size: 20px;
    top: -15px;
    left: -3px;
}

.pricing .pricing-item h4 span {
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    font-size: 16px;
    font-weight: 300;
}

.pricing .pricing-item ul {
    padding: 15px 0;
    list-style: none;
    text-align: center;
    line-height: 20px;
    font-size: 14px;
}

.pricing .pricing-item ul li {
    padding-bottom: 16px;
}

.pricing .pricing-item ul i {
    color: var(--accent-color);
    font-size: 18px;
    padding-right: 4px;
}

.pricing .pricing-item ul .na {
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    text-decoration: line-through;
}

.pricing .btn-wrap {
    background: color-mix(in srgb, var(--default-color), transparent 95%);
    margin: 0 -20px -20px -20px;
    padding: 20px 15px;
    text-align: center;
}

.pricing .btn-buy {
    background: var(--accent-color);
    color: var(--contrast-color);
    display: inline-block;
    padding: 8px 35px 10px 35px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--heading-font);
    transition: 0.3s;
}

.pricing .btn-buy:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.pricing .featured h3 {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.pricing .advanced {
    background: var(--accent-color);
    color: var(--contrast-color);
    width: 200px;
    position: absolute;
    top: 18px;
    right: -68px;
    transform: rotate(45deg);
    z-index: 1;
    font-size: 14px;
    padding: 1px 0 3px 0;
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-container .faq-item {
    background-color: var(--surface-color);
    position: relative;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    border-radius: 5px;
    overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
    margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    margin: 0 30px 0 0;
    transition: 0.3s;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.faq .faq-container .faq-item h3 .num {
    color: var(--accent-color);
    padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
    color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: 0.3s ease-in-out;
    visibility: hidden;
    opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
    margin-bottom: 0;
    overflow: hidden;
}

.faq .faq-container .faq-item .faq-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 16px;
    line-height: 0;
    transition: 0.3s;
    cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
    color: var(--accent-color);
}

.faq .faq-container .faq-active {
    border-color: var(--accent-color);
}

.faq .faq-container .faq-active h3 {
    color: var(--accent-color);
}

.faq .faq-container .faq-active .faq-content {
    grid-template-rows: 1fr;
    visibility: visible;
    opacity: 1;
    padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
    transform: rotate(90deg);
    color: var(--accent-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item {
    background-color: var(--surface-color);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    padding: 24px 0 30px 0;
}

.contact .info-item i {
    color: var(--accent-color);
    width: 56px;
    height: 56px;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
    border-radius: 50%;
    border: 2px dotted color-mix(in srgb, var(--accent-color), transparent 40%);
}

.contact .info-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    margin: 10px 0;
}

.contact .info-item p {
    padding: 0;
    margin-bottom: 0;
    font-size: 14px;
}

.contact .php-email-form {
    background-color: var(--surface-color);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
    padding: 30px;
}

@media (max-width: 575px) {
    .contact .php-email-form {
        padding: 20px;
    }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
    font-size: 14px;
    padding: 10px 15px;
    box-shadow: none;
    border-radius: 0;
    color: var(--default-color);
    background-color: var(--surface-color);
    border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
    border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
    color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
    color: var(--contrast-color);
    background: var(--accent-color);
    border: 0;
    padding: 10px 30px;
    transition: 0.4s;
    border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
    background-color: var(--surface-color);
    padding: 10px 30px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    margin-bottom: 20px;
}

.service-details .services-list a {
    display: block;
    line-height: 1;
    padding: 8px 0 8px 15px;
    border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
    margin: 20px 0;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    transition: 0.3s;
}

.service-details .services-list a.active {
    color: var(--heading-color);
    font-weight: 700;
    border-color: var(--accent-color);
}

.service-details .services-list a:hover {
    border-color: var(--accent-color);
}

.service-details .services-img {
    margin-bottom: 20px;
}

.service-details h3 {
    font-size: 26px;
    font-weight: 700;
}

.service-details h4 {
    font-size: 20px;
    font-weight: 700;
}

.service-details p {
    font-size: 15px;
}

.service-details ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
}

.service-details ul li {
    padding: 5px 0;
    display: flex;
    align-items: center;
}

.service-details ul i {
    font-size: 20px;
    margin-right: 8px;
    color: var(--accent-color);
}

/*--------------------------------------------------------------
# useEnChiffre personnalisés
--------------------------------------------------------------*/
.useEnChiffre-section {
    padding: 10px 0;
    margin: 0 10px;
    /*background: #f8f9fa;*/
}

.stat-box {
    background: #ffffff;
    padding: 7px 14px;
    border-radius: 12px;
    transition: 0.3s ease;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.22);
}

.stat-box i {
    font-size: 35px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.stat-box h3 {
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #212529;
}

.stat-box p {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
}

/*--------------------------------------------------------------
# Activités / Modèles
--------------------------------------------------------------*/
.model-section {
    background: #f8f9fa;
}

.model-box {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
}

.model-box:hover {
    transform: translateY(-5px);
}

.model-box i {
    font-size: 40px;
    color: var(--accent-color);
}

.arrow-icon {
    font-size: 28px;
    color: #adb5bd;
}

.highlight-box {
    border: 2px solid var(--accent-color);
}

.impact-box {
    background: var(--accent-color);
    color: white;
    padding: 15px 10px;
    border-radius: 15px;
}

.impact-box i {
    font-size: 45px;
}

.impact-box h4 {
    color: #ffffff;
}

/*--------------------------------------------------------------
# Announcement / Bandeau défilant
--------------------------------------------------------------*/
.top-announcement {
    width: 100%;
    color: white;
    overflow: hidden;
    padding: 8px 0;
    font-weight: 500;
    background: linear-gradient(90deg, #0592d8, #13874e);
}

.scroll-text {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: scrollText 35s linear infinite;
}

.scroll-text:hover {
    animation-play-state: paused;
}

@keyframes scrollText {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
}

/* ── Card avec image ─────────────────────────────────────── */
.service-item .service-img {
    position: relative;
    overflow: hidden;
    height: 180px;
}

.service-item .service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-item:hover .service-img img {
    transform: scale(1.05);
}

/* Badge ville (ex: "Dakar") */
.service-item .service-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent-color);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}

/*sevices sociaux*/
/*--------------------------------------------------------------
# Section Activités
--------------------------------------------------------------*/

/* ── Boutons tabs ─────────────────────────────────────────── */
.activite-tab-btn {
    background: #fff;
    border: 2px solid color-mix(in srgb, var(--accent-color), transparent 70%);
    color: var(--default-color);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--nav-font);
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.activite-tab-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.activite-tab-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

/* ── Cards activités ──────────────────────────────────────── */
.activite-card {
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    height: 100%;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid transparent;
}

.activite-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.22);
}

.activite-card.accent-top {
    border-top-color: var(--accent-color);
}

/* ── Header de la card ────────────────────────────────────── */
.activite-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.activite-card-header > i {
    font-size: 2rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.activite-card-header h5 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--heading-color);
}

.accordion-button:focus {
    box-shadow: none;
    outline: none;
}

/* ── Badge lieu ───────────────────────────────────────────── */
.badge-lieu {
    display: inline-block;
    font-size: 11px;
    background: color-mix(in srgb, var(--accent-color), transparent 88%);
    color: var(--accent-color);
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
    margin-top: 3px;
}

/* ── Liste de services ────────────────────────────────────── */
.activite-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.activite-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 14px;
    color: var(--default-color);
    border-bottom: 1px dashed #f0f0f0;
}

.activite-list li:last-child {
    border-bottom: none;
}

.activite-list li i {
    color: var(--accent-color);
    font-size: 15px;
    flex-shrink: 0;
}

/* ── Cards Sport ──────────────────────────────────────────── */
.sport-card {
    border-top: 4px solid var(--accent-color);
    padding: 30px 20px;
}

.sport-icon {
    font-size: 3rem;
    color: var(--accent-color);
    display: block;
    margin-bottom: 12px;
}

.sport-card h5 {
    font-weight: 700;
    margin-bottom: 8px;
}

.sport-card p {
    font-size: 13px;
    color: #777;
    margin: 0;
}

.gallery .swiper-slide a {
    position: relative;
    display: block;
    overflow: hidden;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.65));
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 5px;
    text-align: center;
    opacity: 1;
    transition: opacity 0.3s;
}

.gallery .swiper-slide:hover .gallery-caption {
    opacity: 1;
}

/*==============================================================
  CARTE LEAFLET — Zones d'intervention USE
==============================================================*/

.senegal-map-wrapper {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.1);
    height: 100%;
}

.map-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 10px;
    border-left: 4px solid var(--accent-color);
    padding-left: 10px;
}

#senegalMap {
    width: 100%;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    z-index: 1;
    image-rendering: -webkit-optimize-contrast;
}

/* Popup Leaflet */
.leaflet-popup-content-wrapper {
    border-radius: 10px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
}

.leaflet-popup-tip {
    background: #fff !important;
}

/* Légende */
.map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #555;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
}

/* Animation pulse markers */
@keyframes mapPulse {
    0%, 100% { box-shadow: 0 2px 8px rgba(0,0,0,0.3), 0 0 0 0 rgba(255,255,255,0.4); }
    50%       { box-shadow: 0 2px 8px rgba(0,0,0,0.3), 0 0 0 8px rgba(255,255,255,0); }
}

/*--------------------------------------------------------------
# Mot du Président
--------------------------------------------------------------*/

/* --- Photo --- */
.president-photo-container {
    position: relative;
    display: inline-block;
}

.president-photo {
    width: 280px;
    height: 340px;
    object-fit: cover;
    object-position: top;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 4px solid var(--accent-color);
    transition: transform 0.3s ease;
    display: block;
}

.president-photo:hover {
    transform: scale(1.02);
}

.president-badge {
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: #fff;
    padding: 7px 22px;
    border-radius: 20px;
    white-space: nowrap;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.president-title {
    margin-top: 36px;
    font-size: 13px;
    color: #888;
    font-style: italic;
    line-height: 1.5;
}

/* --- Carte infos latérale --- */
.president-info-card {
    margin-top: 28px;
    background: #fff;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.president-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.president-info-item > i {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-top: 2px;
    flex-shrink: 0;
}

.president-info-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #aaa;
    font-weight: 600;
}

.president-info-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--heading-color);
    margin-top: 2px;
}

/* --- Card message --- */
.president-card {
    position: relative;
    padding: 36px 40px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.07);
    border-left: 5px solid var(--accent-color);
}

.president-quote-icon {
    font-size: 5rem;
    color: var(--accent-color);
    opacity: 0.12;
    position: absolute;
    top: 10px;
    left: 18px;
    line-height: 1;
    pointer-events: none;
}

.president-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.president-card p {
    position: relative;
    z-index: 1;
}

/* --- Signature --- */
.president-signature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    margin-top: 28px;
}

.president-signature-name {
    font-family: 'Georgia', serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--heading-color);
}

.president-signature-role {
    font-size: 12px;
    color: #999;
    margin-top: 3px;
}

.president-since-badge {
    background: color-mix(in srgb, var(--accent-color), transparent 88%);
    color: var(--accent-color);
    font-size: 11px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

/*--------------------------------------------------------------
# Équipe Dirigeante
--------------------------------------------------------------*/
.team-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    max-width: 280px; /* réduit la largeur */
    margin: 0 auto;   /* centre la carte */
    font-size: 14px;  /* texte plus compact */
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.13);
}

.team-photo-wrapper {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.4s ease;
    display: block;
}

.team-card:hover .team-photo {
    transform: scale(1.06);
}

.team-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 20%,
        rgba(202, 103, 57, 0.92) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-desc {
    color: #fff;
    font-size: 12.5px;
    line-height: 1.55;
    margin: 0;
    font-family: 'Georgia', serif;
}

.team-info {
    padding: 16px 18px 18px;
    border-top: 3px solid var(--accent-color);
}

.team-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0 0 4px;
}

.team-poste {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-color);
    background: color-mix(in srgb, var(--accent-color), transparent 88%);
    padding: 3px 12px;
    border-radius: 20px;
}

.team-since {
    margin-top: 10px;
    font-size: 11.5px;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 5px;
}

.team-since i {
    font-size: 11px;
    color: var(--accent-color);
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .president-photo-wrapper {
        margin-bottom: 16px;
    }

    .president-card {
        padding: 24px 22px;
    }

    .president-photo {
        width: 220px;
        height: 270px;
    }
}

@media (max-width: 575px) {
    .president-card {
        padding: 20px 16px;
    }

    .president-signature {
        flex-direction: column;
        align-items: flex-start;
    }

    .president-since-badge {
        margin-top: 8px;
    }
}

/*--------------------------------------------------------------
# Partenaires
--------------------------------------------------------------*/

/* --- Card partenaire actuel --- */
.partenaire-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #fff;
    border-radius: 14px;
    padding: 22px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    border-left: 4px solid var(--accent-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    cursor: pointer;
}

.partenaire-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.11);
}

.partenaire-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.partenaire-icon-wrapper {
    position: relative;
    flex-shrink: 0;
    width: 100px;
    /*height: 54px;*/
    background: color-mix(in srgb, var(--accent-color), transparent 88%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partenaire-icon-wrapper > i {
    font-size: 1.4rem;
    color: var(--accent-color);
}

.partenaire-flag {
    position: absolute;
    bottom: -6px;
    right: -10px;

    width: 28px;
    height: 28px;
    font-size: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.partenaire-body {
    flex: 1;
    min-width: 0;
}

.partenaire-nom {
    font-size: 15px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0 0 3px;
}

.partenaire-pays {
    font-size: 12px;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 4px;
}

.partenaire-pays i {
    font-size: 10px;
    color: var(--accent-color);
}

.partenaire-type-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-color);
    background: color-mix(in srgb, var(--accent-color), transparent 88%);
    padding: 3px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

/* --- Card partenaire historique --- */
.partenaire-historique-card {
    background: #fff;
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.06);
    border-top: 3px solid color-mix(in srgb, var(--accent-color), transparent 60%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    cursor: pointer;
}

.partenaire-historique-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
}

.partenaire-historique-flag {
    font-size: 2rem;
    line-height: 1;
    flex-shrink: 0;
}

.partenaire-historique-nom {
    font-size: 14px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0 0 2px;
}

.partenaire-historique-pays {
    font-size: 11.5px;
    color: #bbb;
}

/* --- CTA partenariat --- */
.partenaire-cta {
    background: color-mix(in srgb, var(--accent-color), transparent 93%);
    border-radius: 20px;
    padding: 52px 40px;
    border: 1px dashed color-mix(in srgb, var(--accent-color), transparent 60%);
}

.partenaire-cta-icon {
    font-size: 3rem;
    color: var(--accent-color);
    display: block;
    margin-bottom: 16px;
}

.partenaire-cta h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 12px;
}

/* --- Responsive --- */
@media (max-width: 767px) {
    .partenaire-card {
        flex-direction: column;
        gap: 14px;
    }

    .partenaire-cta {
        padding: 36px 20px;
    }
}

/*.partenaire-icon-wrapper {*/
/*    !*width: 100%;*!*/
/*    height: 80px; !* ajuste selon ton design *!*/
/*    position: relative;*/
/*    background: #fff;*/
/*    !*border-radius: 10px;*!*/
/*    overflow: hidden;*/
/*}*/

.partenaire-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partenaire-historique-logo {
    width: 60px;
    /*height: 40px;*/
    object-fit: contain;
}

/*--------------------------------------------------------------
# Actualités
--------------------------------------------------------------*/

/* ── À LA UNE ─────────────────────────────────────────────── */

.actu-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.actu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.11);
}

/* Placeholder image */
.actu-img-placeholder {
    background: color-mix(in srgb, var(--accent-color), transparent 88%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.actu-img-large {
    height: 220px;
    font-size: 3rem;
}

.actu-img-large span {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.actu-img-small {
    width: 80px;
    height: 80px;
    font-size: 1.6rem;
    border-radius: 10px;
    flex-shrink: 0;
}

/* Card principale */
.actu-main {
    flex-direction: column;
}

/* Card latérale */
.actu-side {
    flex-direction: row;
    align-items: flex-start;
    padding: 16px;
    gap: 0;
}

.actu-side .actu-img-placeholder {
    margin-right: 14px;
}

.actu-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.actu-side .actu-body {
    padding: 0;
}

.actu-categorie {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-color);
    background: color-mix(in srgb, var(--accent-color), transparent 88%);
    padding: 3px 10px;
    border-radius: 20px;
}

.actu-date {
    font-size: 11.5px;
    color: #bbb;
    display: flex;
    align-items: center;
    gap: 4px;
}

.actu-titre {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--heading-color);
    margin: 10px 0 10px;
    line-height: 1.4;
}

.actu-titre-small {
    font-size: 14px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 6px 0 0;
    line-height: 1.4;
}

.actu-extrait {
    font-size: 13px;
    flex: 1;
}

.actu-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
    gap: 8px;
    flex-wrap: wrap;
}

.actu-meta {
    display: flex;
    gap: 14px;
    font-size: 12px;
    color: #bbb;
}

.actu-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.actu-meta-item {
    font-size: 12px;
    color: #bbb;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ── ÉVÉNEMENTS ───────────────────────────────────────────── */

.event-card {
    display: flex;
    gap: 20px;
    background: #fff;
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: 0 2px 0 rgba(0,0,0,.04), 0 4px 24px rgba(0,0,0,.10);
    border-left: 4px solid var(--accent-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    align-items: flex-start;
}
.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 2px 0 rgba(0,0,0,.04), 0 8px 32px rgba(0,0,0,.14);
}

.event-past {
    border-left-color: #ccc;
    opacity: 0.75;
}

.event-date-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--accent-color), transparent 88%);
    border-radius: 10px;
    padding: 10px 14px;
    min-width: 58px;
    flex-shrink: 0;
}

.event-past .event-date-box {
    background: #f0f0f0;
}

.event-jour {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}

.event-past .event-jour {
    color: #aaa;
}

.event-mois {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.event-past .event-mois {
    color: #aaa;
}

.event-annee {
    font-size: 11px;
    color: #bbb;
    margin-top: 2px;
}

.event-body {
    flex: 1;
    min-width: 0;
}

.event-titre {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 6px 0 6px;
    line-height: 1.4;
}

.event-statut {
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.event-statut-coming {
    background: #e8f5e9;
    color: #388e3c;
}

.event-statut-past {
    background: #f5f5f5;
    color: #aaa;
}

.event-infos {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #bbb;
    margin-top: 8px;
}

.event-infos span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.event-infos i {
    color: var(--accent-color);
    font-size: 11px;
}

/* ── PUBLICATIONS ─────────────────────────────────────────── */

.publi-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.publi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.11);
}

.publi-icon-wrapper {
    background: color-mix(in srgb, var(--accent-color), transparent 88%);
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.publi-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.publi-type {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-color);
    background: color-mix(in srgb, var(--accent-color), transparent 88%);
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.publi-titre {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 8px;
    line-height: 1.4;
}

.publi-desc {
    font-size: 12.5px;
    flex: 1;
}

.publi-footer {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.publi-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 11.5px;
    color: #bbb;
}

.publi-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.publi-format {
    font-size: 10px;
    font-weight: 700;
    background: #fee2d5;
    color: var(--accent-color);
    padding: 2px 8px;
    border-radius: 4px;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */

@media (max-width: 767px) {
    .actu-side {
        flex-direction: column;
    }

    .actu-side .actu-img-placeholder {
        margin-right: 0;
        width: 100%;
        height: 80px;
    }

    .event-date-box {
        flex-direction: row;
        gap: 6px;
        padding: 8px 14px;
        min-width: unset;
        width: fit-content;
    }

    .event-jour {
        font-size: 1.2rem;
    }
}

/*organigramme*/
.org-node { cursor: pointer; }
.org-node rect { transition: opacity .15s; }
.org-node:hover rect { filter: brightness(0.93); }
.info-panel { display:none;
    /*margin-top:16px; */
    border-left:4px solid #888; border-radius:0 8px 8px 0; background:#f8f8f8; padding:4px 6px; position:relative; font-size:14px; line-height:1.6; color:#1a1a1a;
    width: 400px;
    min-height: 150px;
    margin: 5px auto;}
.info-panel h4 { margin:0 0 8px; font-size:15px; font-weight:500; }
.info-panel ul { margin:6px 0 0 0; padding-left:18px; }
.info-panel li { margin-bottom:4px; }
.info-close { position:absolute; top:8px; right:10px; background:none; border:none; font-size:18px; cursor:pointer; color:#666; line-height:1; padding:0; }
.info-close:hover { color:#111; }

/*nos realisations*/
/* ── Show/hide panneaux ── */
.use-panel    { display: none; }
.use-panel.on { display: block; }

/* ── Séparateur de secteur ── */
.use-sector-hd    { display: flex; align-items: center; gap: 10px; margin-bottom: 1.25rem; }
.use-sector-icon  { font-size: 16px; }
.use-sector-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.use-sector-line  { flex: 1; height: 1px; background: #dee2e6; }

/* ── Bouton actif : couleur du secteur ── */
#realisations .activite-tab-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

/* ── Carte publication ── */
.publi-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-top-color: #8B3A1A; /* couleur USE terra */
}

.publi-titre {
    font-size: 14px;
    font-weight: 600;
    color: #212529;
    line-height: 1.4;
    margin: 0 0 10px;
}

.publi-desc {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.65;
    flex: 1;
    margin: 0 0 16px;
}

/* ── Lien téléchargement ── */
.publi-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #8B3A1A;
    text-decoration: none;
    border: 1.5px solid #8B3A1A;
    border-radius: 20px;
    padding: 5px 14px;
    transition: all .2s ease;
    align-self: flex-start;
}
.publi-link:hover {
    background: #8B3A1A;
    color: #fff;
}

/* ── Panneaux show/hide ── */
.pub-panel    { display: none; }
.pub-panel.on { display: block; }

/* ── Bouton actif ── */
#publications .activite-tab-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

/*a la une*/
/* ════════ CARTE PRINCIPALE ════════ */
.actu-main-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 0.5px solid #dee2e6;
}
.actu-main-media {
    position: relative;
    height: 200px; /* réduit */
    overflow: hidden;
    background: #e9ecef;
}
.actu-main-media img,
.actu-main-media iframe {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}
.actu-main-badge {
    position: absolute; top: 12px; left: 12px;
    font-size: 11px; font-weight: 600; color: #fff;
    padding: 4px 12px; border-radius: 20px;
    display: inline-flex; align-items: center; gap: 5px;
}
.actu-main-body {
    padding: 1.25rem; flex: 1;
    display: flex; flex-direction: column;
}
.actu-main-titre {
    font-size: 17px; font-weight: 700;
    line-height: 1.4; color: #212529;
    margin: .625rem 0 .625rem;
}
.actu-main-extrait {
    font-size: 13px; color: #6c757d;
    line-height: 1.7; flex: 1; margin-bottom: 1rem;
}

/* ════════ COLONNE DROITE ════════ */
.actu-side-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
}
.actu-side-window {
    width: 100%;
    height: 320px; /* 3 × 100px + 2 × 10px */
    overflow: hidden;
}
.actu-side-track {
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.actu-mini-card {
    display: flex;
    height: 100px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 10px;
    border: 0.5px solid #dee2e6;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    transition: box-shadow .2s;
}
.actu-mini-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,.10); }

.actu-mini-media {
    position: relative;
    width: 100px; min-width: 100px;
    background: #e9ecef; overflow: hidden;
}
.actu-mini-media img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}

.actu-mini-video-thumb {
    display:flex;
    align-items:center;
    justify-content:center;
    font-size: 26px; color: #fff; background: #1a1a2e;
    width: 100%; height: 100%;
    border-radius:6px;
    transition:0.3s;
}

.actu-mini-video-thumb:hover {
    background: #504343;
    transform:scale(1.05);
}

.actu-mini-cat {
    position: absolute; bottom: 6px; left: 6px;
    width: 22px; height: 22px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; color: #fff;
}
.actu-mini-body {
    padding: 10px 12px; flex: 1;
    display: flex; flex-direction: column; justify-content: space-between;
    overflow: hidden;
}
.actu-mini-titre {
    font-size: 12.5px; font-weight: 600;
    line-height: 1.35; color: #212529;
    margin: 3px 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.actu-mini-lien {
    font-size: 11.5px; font-weight: 600;
    color: var(--accent-color);
    background: none; border: none; padding: 0;
    display: inline-flex; align-items: center; gap: 4px;
    cursor: pointer; transition: gap .2s;
}
.actu-mini-lien:hover { gap: 8px; }

/* ── Méta ── */
.actu-meta-row {
    display: flex; align-items: center;
    gap: 8px; flex-wrap: wrap;
}
.actu-cat-pill {
    font-size: 10px; font-weight: 600;
    padding: 2px 8px; border-radius: 20px;
    display: inline-flex; align-items: center; gap: 4px;
    text-transform: uppercase; letter-spacing: .05em;
}
.actu-date-txt {
    font-size: 11px; color: #adb5bd;
    display: inline-flex; align-items: center; gap: 4px;
}

/* ── Contrôles ── */
.actu-ctrl-btn {
    width: 34px; height: 34px; border-radius: 50%;
    border: 1.5px solid #dee2e6; background: #fff;
    color: #495057; font-size: 13px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s; flex-shrink: 0;
}
.actu-ctrl-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color); color: #fff;
}
.actu-side-dots {
    display: flex; gap: 5px;
    align-items: center; justify-content: center;
}
.actu-side-dot {
    width: 7px; height: 7px; border-radius: 50%;
    border: none; background: #dee2e6;
    cursor: pointer; transition: all .2s; padding: 0;
}
.actu-side-dot.active {
    background: var(--accent-color);
    width: 20px; border-radius: 4px;
}

/* ════════ MODAL ════════ */
.actu-modal-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(3px);
}
.actu-modal-overlay.open {
    display: flex;
    animation: modalFadeIn .25s ease;
}
@keyframes modalFadeIn {
    from { opacity: 0; } to { opacity: 1; }
}
.actu-modal {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    max-width: 780px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    animation: modalSlideIn .3s ease;
}
@keyframes modalSlideIn {
    from { transform: translateY(30px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
.actu-modal-close {
    position: absolute; top: 14px; right: 14px;
    width: 34px; height: 34px; border-radius: 50%;
    border: none; background: rgba(0,0,0,.4);
    color: #fff; font-size: 14px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 10; transition: background .2s;
}
.actu-modal-close:hover { background: rgba(0,0,0,.7); }
.actu-modal-media {
    width: 100%;
    height: 320px;
    background: #e9ecef;
    overflow: hidden;
}
.actu-modal-media img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}
.actu-modal-media iframe {
    width: 100%; height: 100%;
    display: block; border: none;
}
.actu-modal-body {
    padding: 1.75rem;
}
.actu-modal-titre {
    font-size: 20px; font-weight: 700;
    line-height: 1.4; color: #212529;
    margin: .5rem 0 1rem;
}
.actu-modal-contenu {
    font-size: 14px; color: #495057;
    line-height: 1.8; margin: 0;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .actu-main-media  { height: 180px; }
    .actu-side-window { height: 320px; }
    .actu-modal-media { height: 220px; }
}

/*nos satisfactions*/
/* ── Philosophie ── */
.satis-philo-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    background: #fff;
    border: 0.5px solid var(--bs-border-color);
    height: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

/* ── Accordéon ── */
.satis-accordion {
    border: 0.5px solid var(--bs-border-color);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.satis-acc-item {
    border-bottom: 0.5px solid var(--bs-border-color);
}
.satis-acc-item:last-child {
    border-bottom: none;
}

.satis-acc-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: transparent;
    border: none;
    border-left: 3px solid transparent;
    cursor: pointer;
    text-align: left;
    transition: background .15s ease, border-color .15s ease;
}
.satis-acc-btn:hover {
    background: var(--bs-tertiary-bg);
}
.satis-acc-btn.open {
    background: var(--bs-tertiary-bg);
}

.satis-acc-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.satis-acc-titre {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: var(--bs-body-color);
    line-height: 1.3;
}

.satis-acc-chevron {
    font-size: 13px;
    color: var(--bs-secondary-color);
    transition: transform .25s ease;
    flex-shrink: 0;
}
.satis-acc-chevron.open {
    transform: rotate(180deg);
}

/* Contenu accordéon */
.satis-acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
}
.satis-acc-body.open {
    max-height: 300px;
}
.satis-acc-body p {
    font-size: 13.5px;
    color: var(--bs-secondary-color);
    line-height: 1.7;
    margin: 0;
    padding: 2px 18px 16px calc(36px + 14px + 18px + 3px);
}

/* ── Responsive ── */
@media (max-width: 576px) {
    .satis-acc-btn  { padding: 12px 14px; }
    .satis-acc-body p { padding-left: 14px; }
}

/*nos realisations*/
.real-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.real-row {
    display: flex;
    gap: 18px;
    padding: 16px;
    align-items: flex-start;
    background: #fff;
    border-radius: 10px;
    border: 0.5px solid var(--bs-border-color);
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    transition: box-shadow .2s ease;
}

.real-row:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,.10);
}

/* Icône */
.real-icon {
    width: 48px;
    min-width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Contenu */
.real-content {
    flex: 1;
    padding-top: 2px;
}

.real-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--bs-body-color);
    margin-bottom: 8px;
}

/* Liste des réalisations */
.real-items {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.real-items li {
    font-size: 14px;
    color: var(--bs-secondary-color);
    line-height: 1.55;
    padding-left: 14px;
    position: relative;
}
.real-items li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--bs-border-color);
}

/* Badges programmes */
.real-progs {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}
.real-prog-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    letter-spacing: .04em;
}

@media (max-width: 576px) {
    .real-icon { width: 38px; min-width: 38px; height: 38px; }
    .real-label { font-size: 13px; }
}
