@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");
@import url(style-r.css);
@import url(bootstrap.css);
@import url(bootstrap-icons.css);
@import url(icons.css);
@import url(animate.css);
/* ===================== SCROLL TO TOP BUTTON ===================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: var(--bts-radius);
    background-color: var(--bts-primary);
    color: var(--bts-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}
.scroll-to-top:hover {
    background-color: var(--bts-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.scroll-to-top:active {
    transform: translateY(0);
}

/* ===================== CSS VARIABLES (Design Tokens) ===================== */
:root {
    /* Primary Colors - From Logo (Burgundy/Maroon) */
    --bts-primary: #960423;
    --bts-primary-dark: #6a1029;
    --bts-primary-light: #a91d45;
    --bts-primary-rgb: 139, 21, 56;
    
    /* Secondary Colors */
    --bts-secondary: #c4254d;
    --bts-accent: #d4a574;
    
    /* Neutral Colors */
    --bts-white: #ffffff;
    --bts-gray-50: #f8f9fa;
    --bts-gray-100: #f1f3f5;
    --bts-gray-200: #e9ecef;
    --bts-gray-300: #dee2e6;
    --bts-gray-400: #ced4da;
    --bts-gray-500: #adb5bd;
    --bts-gray-600: #6c757d;
    --bts-gray-700: #495057;
    --bts-gray-800: #343a40;
    --bts-gray-900: #212529;
    
    /* Semantic Colors */
    --bts-success: #198754;
    --bts-info: #0dcaf0;
    --bts-warning: #ffc107;
    --bts-danger: #dc3545;
    
    /* Shadows */
    --bts-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --bts-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --bts-shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    

    /* Border Radius */
    --bts-radius-sm: 4px;
    --bts-radius: 8px;
    --bts-radius-lg: 12px;
    --bts-radius-xl: 16px;
    
    /* Transitions */
    --bts-transition: all 0.3s ease;
}

/* ===================== BASE STYLES ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--bts-gray-800);
    background-color: var(--bts-white);
}
body.has-fixed-nav {
    padding-top: 140px;
}
section {
    padding: 5rem 0;
    background-color: var(--bts-gray-200);
}
.section-red {
    background: linear-gradient(135deg, var(--bts-primary) 0%, var(--bts-primary-dark) 100%);
    color: var(--bts-white);
}
img {
    max-width: 100%;
    height: auto;
}
a {
    color: var(--bts-primary);
    text-decoration: none;
    transition: var(--bts-transition);
}
a:hover {
    color: var(--bts-primary-dark);
}
/* ===================== TYPOGRAPHY ===================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--bts-gray-900);
}
.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--bts-gray-600);
    max-width: 800px;
    margin: 0 auto;
}
.section-header {
    margin-bottom: 3rem;
}
.text-balance {
    text-wrap: balance;
}

/* ===================== BUTTONS ===================== */
.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-toggler:hover,
.navbar-toggler:focus {
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: none;
}
.btn {
    font-weight: 500;
    padding: 0.9rem 1.25rem;
    border-radius: var(--bts-radius);
    transition: var(--bts-transition);
}
.btn-primary {
    background-color: var(--bts-primary);
    border-color: var(--bts-primary);
}
.btn-primary:hover {
    background-color: var(--bts-primary-dark);
    border-color: var(--bts-primary-dark);
    transform: translateY(-1px);
}
.btn-outline-primary {
    color: var(--bts-primary);
    border-color: var(--bts-primary);
}
.btn-outline-primary:hover {
    background-color: var(--bts-primary);
    border-color: var(--bts-primary);
    transform: translateY(-1px);
}
.btn-btsnet {
    letter-spacing: 2px;
    background-color: transparent;
    position: relative;
    color: var(--bts-primary);
    border-radius: var(--bts-radius);   
    border: 1px solid var(--bts-primary); 
}
.btn-btsnet::after,
.btn-btsnet::before {
  content: '';
  position: absolute;
  width: 95%;
  height: 1px;
  background: linear-gradient(to right, #ff0000, #495057);
  bottom: -1px;
  left: 5px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease-out;
}
.btn-btsnet::before {
  top: -1px;
  transform-origin: left;
}
.btn-btsnet:hover::after,
.btn-btsnet:hover::before {
  transform: scaleX(1);
}

.btn-cta {
    background-color: var(--bts-primary);
    border-color: var(--bts-primary);
    color: var(--bts-white);
    font-weight: 500;
}
.btn-cta:hover {
    background-color: var(--bts-primary-dark);
    border-color: var(--bts-primary-dark);
    color: var(--bts-white);
    transform: translateY(-1px);
}
.btn-link {
    color: var(--bts-primary);
    padding: 0;
    font-weight: 500;
}
.btn-link:hover {
    color: var(--bts-primary-dark);
}
.btn-link i {
    transition: transform 0.2s ease;
}
.btn-link:hover i {
    transform: translateX(4px);
}

.btn-group-auto {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-group-auto .btn {
    flex: 1 1 auto;
    min-width: calc(50% - 0.5rem);
}
.btn:disabled, .btn.disabled, fieldset:disabled .btn,
.btn-check:checked + .btn, :not(.btn-check) + .btn:active, .btn:first-child:active, .btn.active, .btn.show {
    background-color: var(--bts-primary);
    border-color: var(--bts-primary);
}
.is-invalid {
    border-color: #dc3545 !important;
}
.is-valid {
    border-color: #198754 !important;
}
.field-error {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}
.field-success {
    color: #198754;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}
/* ===================== SEARCH ===================== */
.search-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}
.search-toggle {
    background: none;
    border: none;
    color: var(--bts-primary);
    font-size: 1.5rem;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    transition: var(--bts-transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.search-toggle:hover {
    color: var(--bts-primary-dark);
    transform: scale(1.1);
}
    .search-bar-fullwidth {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bts-white);
    padding: 0;
    z-index: 1100;
    align-items: center;
    gap: 0.5rem;
}

.search-bar-fullwidth.active {
    display: flex;
}
.search-bar-fullwidth .search-input {
    flex: 1;
    padding: 0.6rem 1rem;
    border: 1px solid var(--bts-primary);
    border-radius: var(--bts-radius);
    font-size: 1rem;
    background-color: var(--bts-white);
    color: var(--bts-gray-800);
}
.search-bar-fullwidth .search-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--bts-primary-rgb), 0.15);
}
.search-close {
    background: none;
    border: none;
    color: var(--bts-primary);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.4rem 0.6rem;
    line-height: 1;
    flex-shrink: 0;
}
.search-close:hover {
    color: var(--bts-primary-dark);
}
.search-bar-mobile {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bts-white);
    padding: 0.5rem 0.75rem;
    z-index: 1100;
    align-items: center;
    gap: 0.5rem;
}
.search-bar-mobile.active {
    display: flex;
}
/* ===================== TABLE TARIFS ===================== */
.tarif-table {
    width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
    border-collapse: collapse;
}
.tarif-table th,
.tarif-table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid var(--bts-gray-300);
}
.tarif-table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid var(--bts-gray-300);
    background-color: var(--bts-primary);
    color: var(--bts-white);
    text-transform: uppercase;
}
.tarif-table tbody td.subtitle{
    vertical-align: bottom;
    border-bottom: 2px solid var(--bts-gray-300);
    background-color: var(--bts-primary);
    color: var(--bts-white);
    font-weight: bold;
    text-transform: uppercase;
}
.tarif-table tbody tr:hover {
    background-color: rgba(var(--bts-primary-rgb), 0.05);
}
.table-caption {
    font-size: 0.8rem;
    color: var(--bts-gray-600);
    margin-top: 0.5rem;
}
/* ===================== TOP NAVIGATION BAR ===================== */
.navbar-top {
    background-color: var(--bts-white);
    padding: 0.7rem 0;
}
.navbar-top .container .d-flex {
    flex-wrap: nowrap;
    gap: 0.5rem;
    position: relative;
    align-items: center;
    min-height: 40px;
}

.navbar-top .nav {
    flex-wrap: wrap;
    gap: 0.25rem;
    justify-content: center;
}
.navbar-top .nav-link {
    color: var(--bts-primary);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    white-space: nowrap;
    position: relative;
    display: inline-block;
}
.navbar-top .nav-link::after,
.navbar-top .nav-link::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, #ff0000, #495057);
  button: -2px;
  left: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease-out;
}
.navbar-top .nav-link:hover::after,
.navbar-top .nav-link:hover::before {
  transform: scaleX(1);
}

.navbar-top .top-right {
    display: flex;
    align-items: center;
    margin-left: auto;
    font-size: 1.5rem;
}
/* ===================== MAIN NAVIGATION BAR ===================== */
.navbar-fixed-wrapper{
    position: relative;
    width: 100%;
    z-index: 1050;
    background: var(--bts-white);
}
.navbar-fixed-wrapper.is-fixed{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    animation: slideDown .35s ease;
}
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}
.navbar-top-buttons{
    background: var(--bts-white);
    padding: .75rem 0;
}
.navbar-top-wrapper{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:1rem;
}
.navbar-top-wrapper .navbar-brand {
    flex-shrink: 0;
}
.top-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}
.top-buttons img:last-child {
    max-height: 53px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}
.navbar-main {
    background-color: var(--bts-gray-800);
    padding: 0.5rem 0;
    z-index: 1030;
    box-shadow:none;
}
.navbar-main .container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.navbar-main .navbar-toggler {
    position: absolute;
    left: 0;
    z-index: 2;
}
.navbar-main .top-right {
    position: absolute;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
}
.navbar-main .top-right .search-toggle {
    color: var(--bts-white);
    font-size: 1.5rem;
    padding: 0.5rem;
    background: none;
    border: none;
}
.navbar-main .top-right .search-toggle:hover {
    color: var(--bts-accent);
}
.navbar-main .nav-item{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 0.75rem;
}
.navbar-main .nav-link {
    color: var(--bts-white);
    font-weight: 400;
    padding: 0.75rem 1rem;
    border-bottom: 3px solid transparent;
    font-size: 0.95rem;
    position: relative;
    display: inline-block;
    text-align: center;
}

.navbar-main .nav-link::after,
.navbar-main .nav-link::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, #ff0000, #fff);
  button: -2px;
  left: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease-out;
}
.navbar-main .nav-link:hover::after,
.navbar-main .nav-link:hover::before {
  transform: scaleX(1);
}
/* ===================== BREADCRUMB ===================== */
.breadcrumb {
    background: transparent;
    padding: 0.75rem 0;
    margin-bottom: 0;
}
.breadcrumb-item {
    font-size: 0.85rem;
}
.breadcrumb-item a {
    color: var(--bts-gray-600);
    text-decoration: none;
    transition: var(--bts-transition);
}
.breadcrumb-item a:hover {
    color: var(--bts-primary);
}
.breadcrumb-item.active {
    color: var(--bts-primary);
    font-weight: 500;
}
.breadcrumb-item i {
    font-size: 0.9rem;
    margin-right: 0.25rem;
}

/* ===================== HERO CAROUSEL ===================== */
.hero-section {
    position: relative;
    padding: 0;
}
.carousel-indicators [data-bs-target]{background-color: var(--bts-primary);}
#testimonialsCarousel .carousel {
    padding: 0 3rem;
}
#heroCarousel .carousel {
    padding: 0 ;
}
#heroCarousel .carousel-item {
    height: 650px;
    position: relative;
}
#testimonialsCarousel .carousel {
    padding: 0 3rem;
}
#testimonialsCarousel .carousel-item {
    height: auto !important;
    min-height: auto !important;
}
#testimonialsCarousel .carousel-item {
    height: auto !important;
    overflow: visible !important;
}
#heroCarousel .carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}
#heroCarousel .carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background:radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);*/
}
#heroCarousel .carousel-caption {
    text-align: left !important;
    width: 80%;
    max-width: 800px;
    padding: 1.5rem;
    position: absolute;
    top: 50%;
    left: 35%;
    transform: translate(-50%, -50%);
}
#heroCarousel .carousel-caption h1 {
    text-shadow: 0 2px 4px #0003;
    margin-bottom: 1rem;
    font-weight: 700;
}
#heroCarousel .carousel-indicators {
    bottom: 30px;
}
#testimonialsCarousel .carousel-indicators,
#partnersCarousel .carousel-indicators {
    bottom: -50px;
}
.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
}
#testimonialsCarousel .carousel-control-prev,
#partnersCarousel .carousel-control-prev {left: -40px;}
#testimonialsCarousel .carousel-control-next,
#partnersCarousel .carousel-control-next {right: -40px;}
.carousel-control-next {
    width: 60px;
    opacity: 0.8;
}
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    opacity: 0.8;
}

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

/* ==================== PARTENAIRES CAROUSEL ==================== */
.partner-logo {
    padding: 1rem;
    transition: var(--bts-transition);
    border-radius: var(--bts-radius-lg);
    background: var(--bts-white);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-height: 140px;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--bts-shadow);
    background: var(--bts-gray-50);
}

.partner-logo:hover i {
    transform: scale(1.05);
}
/* ===================== ODD SECTION ===================== */
.odd-card {
    background: var(--bts-white);
    border-radius: var(--bts-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--bts-shadow-sm);
    transition: var(--bts-transition);
    height: 100%;
}
.odd-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--bts-shadow);
}
.odd-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.odd-card i {
    color: var(--bts-primary);
}
/* ===================== PARCOURS SECTION ===================== */
.parcours-card {
    background: var(--bts-white);
    border-radius: var(--bts-radius-lg);
    padding: 2.5rem;
    height: 100%;
    box-shadow: var(--bts-shadow-sm);
    transition: var(--bts-transition);
    position: relative;
    border: 1px solid var(--bts-gray-200);
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    text-align: center;
}
.parcours-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--bts-radius-lg);
    background: rgba(var(--bts-primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.parcours-icon i {
    font-size: 1.75rem;
    color: var(--bts-primary);
}

.parcours-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.parcours-card > p {
    color: var(--bts-gray-600);
    margin-bottom: 1.5rem;
}
/*Card Animation*/
.parcours-card{
    position: relative;
    overflow: hidden;
    transition: all .35s ease;
}

.parcours-card::before,
.parcours-card::after{
    content:'';
    position:absolute;
    left:0;
    width:100%;
    height:2px;
    border-radius: var(--bts-radius-lg);
    background: linear-gradient(to right, var(--bts-primary), var(--bts-accent), var(--bts-gray-700));
    transform: scaleX(0);
    transition: transform .4s ease-out;
}

.parcours-card::before{
    top:0;
    transform-origin:left;
}

.parcours-card::after{
    bottom:0;
    transform-origin:right;
}

.parcours-card:hover{
    transform: translateY(-8px);
    box-shadow: var(--bts-shadow-lg);
}

.parcours-card:hover::before,
.parcours-card:hover::after{
    transform: scaleX(1);
}/* ===================== JARALLAX ===================== */
.jarallax {
    position: relative;
    min-height: 600px;
    overflow: hidden;
}

.jarallax .jarallax-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-family: 'object-fit: cover; object-position: center center;';
    background-repeat: no-repeat;
    background-size: cover;
}

.jarallax .jarallax-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: rgba(0, 0, 0, 0.4);*/
    z-index: 1;
    pointer-events: none; 
}

/* ===================== PRODUCTS SECTION ===================== */
.hero-produits {
    height: 400px;
    background-image: url('../images/produits-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-attachment: scroll;
}

.hero-produits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

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

.product-card {
    background: var(--bts-white);
    padding: 1.25rem;
    display: flex;
    height: 100%;
    border: 1px solid var(--bts-gray-200);
    border-radius: var(--bts-radius-lg);
    box-shadow: var(--bts-shadow-sm);
    transition: var(--bts-transition);
}

.product-card:hover {
    box-shadow: var(--bts-shadow-lg);
    transform: translateY(-10px);
}

.product-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--bts-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    position: relative;
    background: rgba(var(--bts-primary-rgb), 0.1);
}

.product-icon i {
    font-size: 1.75rem;
    color: var(--bts-primary-dark);
}
.product-card:hover .product-icon {
    background-color: var(--bts-primary-dark);
    transition: var(--bts-transition);
}
.product-card:hover .product-icon i {
    color: var(--bts-white);
}
.product-content {
    width: 100%;
    margin-left: 20px;
}
.product-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.product-content > p,
.product-content > a {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.product-features span {
    font-size: 0.8rem;
    color: var(--bts-primary-dark);
}

.product-features span i {
    color: var(--bts-primary-dark);
    margin-right: 0.25rem;
}

/* ===================== E-SERVICES SECTION ===================== */
.eservice-card {
    background: var(--bts-white);
    border-radius: var(--bts-radius-lg);
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    box-shadow: var(--bts-shadow-sm);
    transition: var(--bts-transition);
    height: 100%;
}

.eservice-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--bts-shadow);
}

.eservice-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: var(--bts-radius-lg);
    background: linear-gradient(135deg, var(--bts-primary) 0%, var(--bts-primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.eservice-icon i {
    font-size: 1.75rem;
    color: var(--bts-white);
}

.eservice-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.eservice-content ul li,
.parcours-card ul li {
    padding: 0.2rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--bts-gray-600);
    font-size: 0.9rem;
}

.eservice-content ul li::before,
.parcours-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--bts-accent);
}

.eservice-content p {
    color: var(--bts-gray-600);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
/* ===================== IMPACT SECTION ===================== */
.impact-content .section-title,
.section-red .section-title {
    color: var(--bts-white);
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.product-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.stat-item {
    text-align: center;
    padding: 1.25rem;
    border-radius: var(--bts-radius);
}
.impact-stats .stat-item {
    background: rgba(255, 255, 255, 0.1);
}
.product-stats .stat-item {
    background: linear-gradient(135deg, var(--bts-primary) 0%, var(--bts-primary-dark) 100%);
    color: var(--bts-white);
}
.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--bts-white);
}

.stat-item-gray {
    background: var(--bts-gray-100);
    border-radius: var(--bts-radius-lg);
    padding: 0.75rem 1rem;
    text-align: center;
    min-width: 90px;
    flex: 1 0 auto;
}

.stat-number-gray {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bts-primary);
    display: block;
}

.stat-label-gray {
    font-size: 0.85rem;
    color: var(--bts-gray-600);
}

.testimonial-card {
    border-radius: var(--bts-radius-lg);
    background-color: #ffffff1a;
    border-radius: 12px;
    margin-top: 2rem;
    padding: 2rem;
    display: block;
}
.testimonial-card p {
    color: #fffffff2;
    border-left: 3px solid var(--bts-accent);
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    font-style: italic;
    position: relative;
    font-size: 1rem;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bts-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    font-size: 2rem;
}

.author-info strong {
    display: block;
    color: var(--bts-gray-900);
}
.author-info h5, .author-info span {
    font-size: 0.85rem;
    color: var(--bts-white);
}

/* ===================== NETWORK SECTION ===================== */
.map-placeholder {
    background: linear-gradient(135deg, #fdf2f4 0%, #fff8f9 100%);
    border-radius: var(--bts-radius-lg);
    height: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--bts-gray-300);
    position: relative;
    overflow: hidden;
}

.map-content {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    border: 0;
}

.carte-container.ratio-16-9 {
    aspect-ratio: 16 / 9;
}

.carte-container.ratio-16-9 .carte-iframe {
    height: 100%;
}

.agency-finder {
    background: var(--bts-white);
    border-radius: var(--bts-radius-lg);
    padding: 2rem;
    box-shadow: var(--bts-shadow);
}

.agency-finder h4 {
    margin-bottom: 1.5rem;
    color: var(--bts-primary);
}

.agency-form .form-select {
    padding: 0.75rem 1rem;
    border-radius: var(--bts-radius);
}

.contact-info {
    border-top: 1px solid var(--bts-gray-200);
    padding-top: 1.5rem;
}

.contact-info h5 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: var(--bts-gray-600);
}

.contact-info i {
    color: var(--bts-primary);
    width: 20px;
}

/* ===================== NEWS SECTION ===================== */
.title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bts-primary);
    display: inline-block;
}
.news-card {
    background: var(--bts-white);
    border-radius: var(--bts-radius-lg);
    overflow: hidden;
    box-shadow: var(--bts-shadow-sm);
    transition: var(--bts-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--bts-shadow-lg);
}
.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-card:hover .news-image img {
    transform: scale(1.05);
}
.news-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-content time {
    font-size: 0.8rem;
    color: var(--bts-gray-500);
    margin-bottom: 0.5rem;
    display: block;
}
.news-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}
.news-content p {
    color: var(--bts-gray-600);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex: 1;
}
.read-more {
    font-weight: 500;
    font-size: 0.9rem;
}
.read-more i {
    transition: transform 0.2s ease;
}
.read-more:hover i {
    transform: translateX(4px);
}
.article-header {
    margin-bottom: 2rem;
}
.article-meta {
    color: var(--bts-gray-500);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}
.article-meta i {
    margin-right: 0.25rem;
}
.article-content {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--bts-gray-700);
}
.article-content h2 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}
.article-content h3 {
    font-size: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
}
.article-content ul {
    margin-bottom: 1rem;
}
.article-content li {
    margin-bottom: 0.5rem;
}
.share-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bts-gray-100);
    border-radius: var(--bts-radius);
    color: var(--bts-gray-700);
    font-size: 0.85rem;
    transition: var(--bts-transition);
}
.share-links a:hover {
    background: var(--bts-primary);
    color: white;
}

/* ===================== FOOTER ===================== */
.footer {
    background-color: var(--bts-gray-900);
    color: var(--bts-gray-300);
    padding: 4rem 0 0;
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-logo {
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bts-gray-800);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bts-gray-400);
    transition: var(--bts-transition);
}

.social-links a:hover {
    background: var(--bts-primary);
    color: var(--bts-white);
}

.footer h5 {
    color: var(--bts-white);
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

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

.footer-links li {
    margin-bottom: 0.625rem;
}

.footer-links a {
    color: var(--bts-gray-400);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--bts-white);
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--bts-primary-light);
    margin-top: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid var(--bts-gray-800);
    padding: 1.5rem 0;
    margin-top: 1rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    margin: 0;
}

.legal-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
}

.legal-links a {
    color: var(--bts-gray-500);
    font-size: 0.85rem;
}

.legal-links a:hover {
    color: var(--bts-white);
}

/* ===================== ANIMATIONS ===================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===================== IDENTITY SECTION ===================== */
.identity-content blockquote {
    color: var(--bts-gray-700);
    font-weight: 500;
    margin: 1.5rem 0;
}

.identity-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.identity-image img {
    width: 100%;
    height: auto;
    box-shadow: var(--bts-shadow-lg);
}

/* ===================== HISTORY SECTION ===================== */
.timeline-horizontal {
    width: 100%;
    min-width: 900px;
    padding: 2rem 1rem;
    position: relative;
}

.timeline-track {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.timeline-track::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--bts-primary-dark);
    opacity: 0.3;
}

.timeline-item {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 0.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--bts-primary-dark);
    border-radius: 50%;
    z-index: 2;
}

.timeline-year {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--bts-primary);
    background: var(--bts-white);
    display: inline-block;
    padding: 1rem;
    border-radius: var(--bts-radius-lg);
    margin-bottom: 1rem;
    box-shadow: var(--bts-shadow);
}

.timeline-content {
    background: var(--bts-white);
    padding: 1rem;
    border-radius: var(--bts-radius-lg);
    text-align: center;
    box-shadow: var(--bts-shadow-sm);
    min-height: 140px;
    transition: var(--bts-transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--bts-shadow);
}

.timeline-content h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--bts-primary-dark);
}

.timeline-content p {
    font-size: 0.85rem;
    color: var(--bts-gray-600);
    margin-bottom: 0;
}

/* ===================== VALUES SECTION ===================== */
.value-card {
    padding: 1rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    height: 100%;
}

.value-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--bts-primary-rgb), 0.08);
    border-radius: var(--bts-radius-lg);
}

.value-icon i {
    font-size: 1.75rem;
    color: var(--bts-primary);
}

.value-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--bts-gray-800);
}

/* ==================== CIBLES ==================== */
.cible-rectangle {
    background: linear-gradient(135deg, var(--bts-primary) 0%, var(--bts-primary-dark) 100%);
    border-radius: 12px;
    padding: 25px 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}
.cible-rectangle:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    transform: translateY(-2px);
}
.cible-title {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}
.cible-title i {
    color: white;
}
.cible-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.cible-tag {
    padding: 8px 18px;
    font-size: 0.95rem;
    color: white;
    transition: all 0.2s ease;
}
.cible-tag i {
    color: white;
    font-size: 0.8rem;
}

/* ==================== BANQUE INCLUSIVE ==================== */
.inclusive-card {
    background-color: #ffffff1a;
    padding: 2rem;
    border-radius: var(--bts-radius-lg);
    height: 100%;
}

.inclusive-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.inclusive-card h5 {
    font-size: 1rem;
}

.inclusive-card p,
.inclusive-card h4,
.inclusive-card h5
 {
    color: #fffffff2;
}

.inclusive-card ul,
.eservice-content ul,
.parcours-card ul {
    list-style: none;
    padding: 0;
}

.inclusive-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.inclusive-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--bts-accent);
}

/* ===================== AGENCY CARD ===================== */
.agency-card {
    background: var(--bts-white);
    border-radius: var(--bts-radius-lg);
    overflow: hidden;
    transition: var(--bts-transition);
    box-shadow: var(--bts-shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.agency-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--bts-shadow-lg);
}

.agency-card-header {
    background: linear-gradient(135deg, var(--bts-primary) 0%, var(--bts-primary-dark) 100%);
    padding: 1rem;
    text-align: center;
    position: relative;
}

.agency-card-header h4 {
    color: var(--bts-white);
    margin-bottom: 0;
    font-size: 1rem;
}

.agency-card-body {
    padding: 1.5rem;
    flex: 1;
}

.agency-card-body p {
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--bts-gray-700);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.agency-card-body p i {
    color: var(--bts-primary);
    min-width: 20px;
    margin-top: 0.2rem;
}

/* ===================== CONTACT SECTION ===================== */
.contact-form-card {
    background: var(--bts-white);
    border-radius: var(--bts-radius-lg);
    padding: 2rem;
    box-shadow: var(--bts-shadow);
}

.contact-form .form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border-radius: var(--bts-radius);
    border: 1px solid var(--bts-gray-300);
    padding: 0.75rem 1rem;
    transition: var(--bts-transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--bts-primary);
    box-shadow: 0 0 0 3px rgba(var(--bts-primary-rgb), 0.1);
}

/* ===================== NEWS ===================== */
.news-featured {
    background: var(--bts-white);
    border-radius: var(--bts-radius-lg);
    overflow: hidden;
    box-shadow: var(--bts-shadow);
    height: 100%;
    transition: var(--bts-transition);
}

.news-featured:hover {
    transform: translateY(-5px);
    box-shadow: var(--bts-shadow-lg);
}

.news-featured-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.news-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-featured:hover .news-featured-image img {
    transform: scale(1.05);
}

.news-featured-content {
    padding: 1.5rem;
}

.news-featured-content time {
    font-size: 0.8rem;
    color: var(--bts-gray-500);
    display: block;
    margin-bottom: 0.5rem;
}

.news-featured-content h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.news-featured-content p {
    color: var(--bts-gray-600);
    margin-bottom: 1.25rem;
}

/* News list style */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-list-item {
    display: flex;
    gap: 1rem;
    background: var(--bts-white);
    border-radius: var(--bts-radius);
    padding: 1rem;
    box-shadow: var(--bts-shadow);
    transition: var(--bts-transition);
}

.news-list-item:hover {
    transform: translateX(5px);
    box-shadow: var(--bts-shadow-lg);
}

.news-list-image {
    width: 100px;
    min-width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: var(--bts-radius);
}

.news-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-list-content {
    flex: 1;
}

.news-list-content time {
    font-size: 0.7rem;
    color: var(--bts-gray-500);
    display: block;
    margin-bottom: 0.25rem;
}

.news-list-content h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.news-list-content p {
    font-size: 0.8rem;
    color: var(--bts-gray-600);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-content .read-more {
    font-size: 0.75rem;
}

/* ===================== NEWS ===================== */
.pagination .page-link {
    color: var(--bts-primary);
    border-radius: var(--bts-radius);
    margin: 0 3px;
}

.pagination .page-item.active .page-link {
    background-color: var(--bts-primary);
    border-color: var(--bts-primary);
    color: var(--bts-white);
}

.pagination .page-link:hover {
    background-color: var(--bts-primary-light);
    border-color: var(--bts-primary-light);
    color: var(--bts-white);
}
/* ==================== FAQ ==================== */
.accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
}

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

.accordion-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.accordion-button {
    padding: 15px 20px;
    color: #1a1a2e;
    background: #fff;
    border: none;
    border-radius: 12px !important;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    color: #fff;
    background: var(--bts-primary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-size: 1rem;
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
     background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 20px 24px 24px;
    color: #444;
    line-height: 1.7;
    font-size: 0.98rem;
    background: #fff;
}

.accordion-body p:last-child {
    margin-bottom: 0;
}

/* ================= SEARCH ================= */

.search-result-section {
    margin-bottom: 3rem;
}
.search-result-section .section-header {
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--bts-gray-200);
    padding-bottom: 0.75rem;
}
.search-result-section .section-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--bts-gray-800);
}
.search-result-section .section-header h3 .badge-count {
    font-size: 0.8rem;
    background: var(--bts-gray-200);
    color: var(--bts-gray-700);
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    margin-left: 0.5rem;
}
.result-item {
    padding: 1.25rem;
    background: var(--bts-white);
    border-radius: var(--bts-radius);
    box-shadow: var(--bts-shadow-sm);
    transition: var(--bts-transition);
    margin-bottom: 1rem;
    border-left: 4px solid var(--bts-gray-300);
}
.result-item:hover {
    box-shadow: var(--bts-shadow);
    transform: translateY(-2px);
}
.result-item.type-actualite {
    border-left-color: var(--bts-primary);
}
.result-item.type-contenu {
    border-left-color: var(--bts-gray-500);
}
.result-item.type-produit {
    border-left-color: var(--bts-success);
}
.result-item .result-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--bts-gray-900);
}
.result-item .result-title a {
    color: var(--bts-gray-900);
    text-decoration: none;
}
.result-item .result-title a:hover {
    color: var(--bts-primary);
}
.result-item .result-excerpt {
    color: var(--bts-gray-700);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}
.result-item .result-excerpt strong {
    color: var(--bts-primary);
    background: #fff5f6;
    padding: 0 0.2rem;
}
.result-item .result-meta {
    font-size: 0.8rem;
    color: var(--bts-gray-500);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.result-item .result-meta .date {
    color: var(--bts-gray-500);
}
.no-results {
    text-align: center;
    padding: 4rem 2rem;
}
.no-results i {
    font-size: 4rem;
    color: var(--bts-gray-300);
    margin-bottom: 1rem;
    display: block;
}
.no-results h3 {
    color: var(--bts-gray-700);
    margin-bottom: 0.5rem;
}
.no-results p {
    color: var(--bts-gray-500);
}
.search-query-header {
    background: var(--bts-gray-50);
    padding: 1.5rem 0;
    border-radius: var(--bts-radius-lg);
    margin-bottom: 2rem;
}
.search-query-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bts-gray-900);
}
.search-query-header h1 .query {
    color: var(--bts-primary);
}
.search-query-header .count {
    color: var(--bts-gray-600);
    font-size: 1rem;
    font-weight: 400;
}
.search-query-header .count strong {
    color: var(--bts-primary);
}
