/* Variables de couleur */
:root {
    --primary-color: #02693A;
    --primary-dark: #015028;
    --primary-light: #038c4e;
    --secondary-color: #000000;
    --light-color: #ffffff;
    --grey-color: #f4f4f4;
    --dark-grey: #333333;
    --border-color: #e1e1e1;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --font-size-base: 16px;
    --font-size-small: 0.875rem;
    --font-size-medium: 1rem;
    --font-size-large: 1.25rem;
    --font-size-xlarge: 1.5rem;
    --font-size-xxlarge: 2rem;
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
}

/* Réinitialisation des styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body.index .container
{
    padding-top:unset;
    background:unset;
}
html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--secondary-color);
    background-color: var(--grey-color);
    overflow-x: hidden;
}

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

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

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

/* Container */
.container {
    width: 100%;
    padding-bottom: 100px;
    background: url('/assets/img/apropos/bg.png') center/cover no-repeat;
    padding-top: 40px;
}
body.formations .container .main-content
{

    background: url('/assets/img/apropos/bg2.png') center/cover no-repeat;
}
body.recherche .container .main-content
{

    background: url('/assets/img/apropos/bg2.png') center/cover no-repeat;
}body.recherche .container .main-content h1
{
	margin:unset;
}
body.formation .container .main-content
{

    background: unset;
    box-shadow:unset;
}
/* Header */
header {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

.logo {
    height: 60px;
    width:100%;
}

.main-nav {
    display: flex;
}

.main-nav li {
    margin-left: var(--spacing-lg);
}

.main-nav a {
    color: var(--light-color);
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.main-nav a:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--light-color);
    font-size: var(--font-size-xlarge);
    cursor: pointer;
    position: absolute;
    right: var(--spacing-md);
    top: var(--spacing-md);
    z-index: 10;
}

.search-container {
    display: flex;
    align-items: center;
}

.search-container form {
    display: flex;
}

.search-container input {
    padding: 8px 10px;
    border: none;
    border-radius: 5px 0 0 5px;
    width: 200px;
}

.search-container button {
    padding: 8px 12px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-container button:hover {
    background-color: var(--primary-dark);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 0 0 0 0;
    position: fixed;
    bottom: 0px;
    width: 100%;
    z-index: 10000;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 var(--spacing-lg);
}

.footer-logo-img {
    height: 50px;
    margin-bottom: var(--spacing-md);
    width:100%;
}

.footer-links h3, .footer-contact h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-large);
}

.footer-links ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a, .footer-contact a {
    color: var(--light-color);
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--primary-light);
}

.footer-contact p {
    margin-bottom: var(--spacing-sm);
}

.footer-contact i {
    margin-right: var(--spacing-sm);
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding: var(--spacing-lg) 0;
    margin-top: var(--spacing-lg);
    background-color: rgba(0, 0, 0, 0.2);
}
.apropos-carousel {
  display: flex;
  flex-direction: row;
  gap: 18px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) #e1e1e1;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}
/* Cartes de formation */
.formations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    margin-left: 50px;
    margin-right: 50px;
}

.formation-card {
    background-color: var(--light-color);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.formation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.formation-thumbnail {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    overflow: hidden;
    background-color: #000; /* Couleur de fond en attendant le chargement */
}

.formation-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.formation-thumbnail:hover img {
    transform: scale(1.05);
}

.formation-thumbnail .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    transition: background-color 0.3s ease;
    z-index: 2; /* Pour s'assurer qu'il est au-dessus de l'image */
    cursor: pointer;
}

.formation-thumbnail:hover .play-button {
    background-color: var(--primary-color);
}

.formation-info {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.formation-info h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--secondary-color);
    font-size: var(--font-size-large);
}

.formation-info p {
    color: var(--dark-grey);
    margin-bottom: var(--spacing-md);
}

.formation-gtin {
    font-size: var(--font-size-small);
    color: var(--dark-grey);
    margin-bottom: var(--spacing-md);
}

.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease;
    margin-top: auto;
    font-size: var(--font-size-medium);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-dark);
    color: var(--light-color);
}

.btn-outline {
    --contrast-color: var(--primary-color);
    --contrast-bg: transparent;
    --contrast-color-hover: var(--light-color);
    --contrast-bg-hover: var(--primary-color);
    
    background-color: var(--contrast-bg);
    color: var(--contrast-color);
    border: 1px solid var(--contrast-color);
}

.btn-outline:hover,
.btn-outline:focus {
    background-color: var(--contrast-bg-hover);
    color: var(--contrast-color-hover);
    border-color: var(--contrast-bg-hover);
}

/* Correction spécifique pour les boutons avec fond et texte verts */
a.btn-outline,
button.btn-outline {
    color: var(--primary-color);
    background-color: transparent;
}

/* Page de détail formation */
.formation-detail {
    background-color: var(--light-color);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    color: black !important;
    margin-left: 50px;
    margin-right: 50px;
}

.formation-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    margin-bottom: var(--spacing-xl);
    background-color: #000; /* Couleur de fond en attendant le chargement */
    overflow: hidden;
}

.formation-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-error {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.8);
    font-size: 1.2rem;
    text-align: center;
    padding: 20px;
}

.formation-detail h1 {
    color: black !important;
    margin-bottom: var(--spacing-lg);
    font-size: 1.5rem;
}

.formation-detail .gtin {
    font-size: var(--font-size-medium);
    color: var(--dark-grey);
    margin-bottom: var(--spacing-lg);
}

.formation-description {
    margin-bottom: var(--spacing-xl);
    padding-left: 50px;
    padding-right: 50px;
}

.formation-description h2 {
    margin-left: -50px;
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    margin-bottom: var(--spacing-md);
    color: white !important;
    background-color: var(--primary-color);
    padding: 5px;
    padding-left: 20px !important;
    border-radius: 5px;
}

.description-longue {
    line-height: 1.8;
}

/* Autres éléments UI */
.page-title {
    background: #101010;
    margin-bottom: var(--spacing-lg);
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #101010;
    border-radius:  12px 12px 0px 0px;
    box-shadow: 0 2px 16px #101010;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    padding-top:1.5rem;
}

.alert {
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    border-radius: 5px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Formulaire de recherche */
.search-form {
    background-color: var(--light-color);
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

}

.form-group {
     margin: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: var(--font-size-medium);
}

.form-group textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    min-height: 150px;
    font-family: inherit;
    font-size: var(--font-size-medium);
}

/* Page d'accueil */
.hero {
    position: relative;
    background: #101010;
    color: var(--light-color);
    padding: clamp(2rem, 10vw, 3rem) var(--spacing-xl);
    text-align: center;
    overflow: hidden;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    margin-bottom: var(--spacing-lg);
}

.hero p {
    font-size: 1.1em;
    font-weight: 600;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
}

.featured-formations { 
    background: url('/assets/img/apropos/bg2.png') center/cover no-repeat;
    padding:50px;
}

.featured-formations h2 {
    color: #101010;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid #101010;
    font-size: clamp(1.2rem, 4vw, 1.8rem);
}

.about-section {
    background-color: var(--light-color);
    padding: var(--spacing-xl);
    border-radius: 8px;
    margin-bottom: var(--spacing-xl);
    margin-left: 50px;
    margin-right: 50px;
}

.about-content h2 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    font-size: clamp(1.2rem, 4vw, 1.8rem);
}

.about-content ul {
    list-style: disc;
    margin-left: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.about-content ul li {
    margin-bottom: var(--spacing-sm);
}

.search-info .search-tips {
    margin-top: var(--spacing-lg);
}

.search-info .search-tips h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.search-info .search-tips ul {
    list-style: disc;
    margin-left: var(--spacing-lg);
}

.search-info .search-tips li {
    margin-bottom: var(--spacing-sm);
}

/* Responsive */
/* Extra Large Screens (≥1200px) */
@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Large Screens (≥992px) */
@media (max-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    .formations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Medium Screens (≥768px) */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .container {
        max-width: 720px;
    }
    
    header {
        flex-direction: column;
        padding: var(--spacing-md);
    }
    
    .logo-container {
        margin-bottom: var(--spacing-md);
    }
    
    .main-nav {
        margin-bottom: var(--spacing-md);
    }
    
    .search-container {
        margin-top: var(--spacing-md);
        width: 100%;
    }
    
    .search-container form {
        width: 100%;
    }
    
    .search-container input {
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo, .footer-links, .footer-contact {
        margin-bottom: var(--spacing-xl);
        text-align: center;
        width: 100%;
    }
    
    .formations-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .formation-detail {
        padding: var(--spacing-lg);
    }
    
    .hero,
    .featured-formations,
    .about-section,
    .no-formations .alert {
        margin-left: unset;
        margin-right: unset;
    }
    
    .main-content {
        max-width: 98vw;
    }
}

/* Small Screens (≥576px) */
@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    .container {
        max-width: 540px;
    }
    
    header {
        padding: var(--spacing-sm);
    }
    
    .logo {
        height: 40px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    .featured-formations {
        	padding: 10px;

    }
    .main-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--secondary-color);
        z-index: 100;
        padding: 0;
    }
    
    .main-nav.show {
        display: flex;
    }
    
    .main-nav li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .main-nav a {
        display: block;
        padding: var(--spacing-md);
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .search-container {
        width: 100%;
        padding: 0 var(--spacing-md);
    }
    
    .formation-card {
        margin-bottom: var(--spacing-md);
    }
    
    .formation-info {
        padding: var(--spacing-md);
    }
    
    .formation-detail {
        padding: var(--spacing-md);
    }
    
    .search-form {
        padding: var(--spacing-md);
    }
    
    .hero {
        padding: var(--spacing-xl) var(--spacing-md);
    }
    
    .about-section {
        padding: var(--spacing-md);
    }
    
    .back-to-top {
        bottom: 10px;
        right: 10px;
    }
}

/* Very Small Screens (≤400px) */
@media (max-width: 400px) {
    html {
        font-size: 13px;
    }
    
    .logo {
        height: 35px;
    }
    
    .footer-logo-img {
        height: 35px;
    }
    
    .formation-thumbnail .play-button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* For Print */
@media print {
    body {
        background-color: #fff;
        font-size: 12pt;
    }
    
    header, footer, .btn, .play-button {
        display: none;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .formation-detail {
        box-shadow: none;
        padding: 0;
    }
    
    a {
        color: #000;
        text-decoration: none;
    }
}

/* Bouton retour en haut */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
}

/* Règle avec spécificité élevée pour corriger tout problème d'héritage */
body .container a.btn.btn-outline,
body .container button.btn.btn-outline,
body footer a.btn.btn-outline,
body footer button.btn.btn-outline,
body header a.btn.btn-outline,
body header button.btn.btn-outline {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
    text-decoration: none;
}

body .container a.btn.btn-outline:hover,
body .container button.btn.btn-outline:hover,
body footer a.btn.btn-outline:hover,
body footer button.btn.btn-outline:hover,
body header a.btn.btn-outline:hover,
body header button.btn.btn-outline:hover {
    background-color: var(--primary-dark);
    color: var(--light-color);
    border: 1px solid var(--primary-color);
}

/* Exception pour les boutons outline sur fond foncé */
body .hero a.btn.btn-outline,
body .hero button.btn.btn-outline {
    color: var(--light-color);
    border-color: var(--light-color);
}

body .hero a.btn.btn-outline:hover,
body .hero button.btn.btn-outline:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* Styles spécifiques pour les boutons dans différentes sections */
.hero .btn-outline {
    background-color: transparent;
    border: 1px solid var(--light-color);
    color: var(--light-color);
}

.hero .btn-outline:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.formation-actions .btn-outline,
.cta-buttons .btn-outline,
.error-actions .btn-outline,
.search-results .btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.formation-actions .btn-outline:hover,
.cta-buttons .btn-outline:hover,
.error-actions .btn-outline:hover,
.search-results .btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

/* Styles pour les résultats de recherche rapide */
.quick-search-results {
    background-color: var(--light-color);
    border: 1px solid var(--border-color);
    border-radius: 0 0 5px 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    margin-top: -1px;
}

.quick-result-item {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.quick-result-item:hover {
    background-color: var(--grey-color);
}

.quick-result-item .result-title {
    font-weight: 600;
    color: var(--dark-grey);
    margin-bottom: var(--spacing-xs);
}

.quick-result-item .result-gtin {
    font-size: var(--font-size-small);
    color: var(--dark-grey);
    opacity: 0.8;
}

.quick-search-results .more-results {
    padding: var(--spacing-md);
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    background-color: var(--grey-color);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.quick-search-results .more-results:hover {
    background-color: #e5e5e5;
}

.quick-search-results .no-results {
    padding: var(--spacing-md);
    text-align: center;
    color: var(--dark-grey);
    font-style: italic;
}

/* Message pour aucun résultat en recherche directe */
.no-search-results {
    margin: var(--spacing-lg) 0;
}

.main-content {
    border-radius: 12px;
    padding-bottom: 40px;
    margin-bottom: 100px;
    color: white;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;

}

.main-content h1 {
    color: white;
    font-size: 2.2rem;
           margin: 1.5rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: 1px;
}

.main-content h2 {
    color: var(--primary-dark);
    font-size: 1.3rem;
    margin-top: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.main-content ul {
    margin: 0 0 1.5rem 1.5rem;
    padding-left: 1.2em;
    list-style: disc inside;
}

.main-content li {
    margin-bottom: 0.5em;
    font-size: 1.05rem;
}

.main-content blockquote {
    background: #f4f4f4;
    border-left: 4px solid var(--primary-color);
    margin: 2rem 0;
    padding: 1.2rem 1.5rem;
    font-style: italic;
    color: #222;
    font-size: 1.1rem;
}

.main-content hr {
    border: none;
    border-top: 1px solid #e1e1e1;
    margin: 2.5rem 0;
}

/* Mise en page deux colonnes pour apropos-kit */
.apropos-row {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
}
.apropos-col {
  box-sizing: border-box;
}
.apropos-gauche {
    background: #111 url('/assets/img/apropos/bg2.png') center/cover no-repeat;
    width: 50%;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 100vh;
    border-right: 2px solid #000000;
}
.apropos-droite {
    background: #111 url('/assets/img/apropos/bg.png') center/cover no-repeat;
    width: 50%;
    color: #222;
    border-left: 2px solid #000000;
}
@media (max-width: 900px) {
  .apropos-row {
    flex-direction: column;
  }
  .apropos-gauche, .apropos-droite {
    width: 100%;
    min-height: unset;
  }
  .apropos-carousel {
  display: flex;
  flex-direction: row;
  gap: 5px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) #e1e1e1;
  justify-content: unset;
  margin-left: auto;
  margin-right: auto;
  }
}

.apropos-gauche .apropos-card {
    border-radius: 18px;
    padding: 10px;
    margin: 25px;
    color: #101010;
    font-size: 1.08rem;
    line-height: 1.7;
    backdrop-filter: blur(3px);
  }
  .apropos-gauche .apropos-card-title {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #101010;
    margin-bottom: 1.2rem;
    text-align: center;
  }
  .apropos-gauche .apropos-card-subtitle {
    font-size: 1.15rem;
    font-weight: 700;
    color: #000;
    margin-top: 1.7rem;
    margin-bottom: 0.7rem;
    letter-spacing: 1px;
  }
.apropos-droite .apropos-card {
  border-radius: 18px;
  padding: 10px;
  margin: 25px;
  color: #CCC;
  font-size: 1.08rem;
  line-height: 1.7;
  backdrop-filter: blur(3px);
}
.apropos-droite .apropos-card-title {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #CCC;
  margin-bottom: 1.2rem;
  text-align: center;
}
.apropos-droite .apropos-card-subtitle {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFF;
  margin-top: 1.7rem;
  margin-bottom: 0.7rem;
  letter-spacing: 1px;
}
.apropos-card-list {
  margin: 0.7rem 0 1.2rem 1.2rem;
  padding-left: 1.2em;
  list-style: disc inside;
}
.apropos-card-list li {
  margin-bottom: 0.3em;
  font-size: 1.05rem;
}

.logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px auto 0 auto;
  width: 100%;
}
.logos-full {
  width: 100%;
  text-align: center;
}
.logos-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 18px;
  letter-spacing: 1px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.logos-date {
  color: #888;
  font-size: 0.95rem;
  margin-top: 10px;
}


.apropos-carousel::-webkit-scrollbar {
  height: 8px;
}
.apropos-carousel::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}
.carousel-img-link {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.carousel-img-link:hover {
  box-shadow: 0 4px 18px rgba(2,105,59,0.18);
  z-index: 2;
}
.carousel-img {
  height: 110px;
  width: auto;
  object-fit: cover;
  border-radius: 10px;
  background: #fff;
  transition: transform 0.2s;
}
.carousel-img-link:hover .carousel-img {
  transform: scale(1.07);
}
@media (max-width: 600px) {
  .carousel-img {
    height: 100px;
    width: 100px;
    max-width:unset;
  }
.carousel-img-link {
    display: block;
    border-radius: 10px;
    overflow: unset; 
    transition: box-shadow 0.2s;
}
}
.apropos-card-lorem {
  color: #fff;
  margin: 30px 0 18px 0;
  padding: 1.5rem 1.2rem;
  border-radius: 14px;
  font-size: 1.05rem;
  text-align: left;
}

.kit-stats {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-bottom: 10px;
}
.kit-social-logos {
  padding: 1.2rem 1.5rem;
  background: #101010FF;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-right: 10px;
}
.kit-stats-content {
  padding: 1.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}
.kit-social-logo {
  width: 32px;
  height: 32px;
  margin: 0 0 2px 0;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  border-radius: 8px;
  cursor: pointer;
}
.kit-social-logo:hover {
  transform: scale(1.12) rotate(-3deg);
  box-shadow: 0 4px 16px rgba(2,105,59,0.18);
}
@media (max-width: 600px) {
  .kit-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .kit-social-logos {
    flex-direction: row;
    gap: 10px;
    margin: auto;
  }
}

@font-face {
    font-family: 'JUSTSansOutlineExBold';
    src: url('../font/JUST Sans Outline ExBold.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}
@font-face {
    font-family: 'Bison-Bold';
    src: url('../font/Bison-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

.kit-intro h1 {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  margin-bottom: 1.2rem;
  text-align: center;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.1;
}
.kit-intro .creator-outline {
  font-family: 'JUSTSansOutlineExBold', Arial, sans-serif;
  font-weight: 300;
  display: block;
  font-size: 1em;
  color: #fff;
}
.kit-intro .expert-bold {
  font-family: 'Bison-Bold', Arial, sans-serif;
  display: block;
  font-size: 0.9em;
  letter-spacing: 1.5px;
  color: #fff;
}

.carousel-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: unset;
  max-width: unset;
}
.carousel-caption {
  margin-top: 8px;
  font-size: 0.98em;
  color: #eaeaea;
  text-align: center;
  line-height: 1.3;
  max-width: 200px;
}
