@media (max-width: 480px) {
    h1 {
        font-size: clamp(1.3rem, 7vw, 2rem);
        line-height: 1.2;
        word-break: break-word;
    }
}
/* Dropdown responsive menu Adhésions */
.nav-dropdown-responsive {
    position: relative;
}
.nav-dropdown-responsive .dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    box-shadow: 0 4px 16px rgba(45,102,86,0.08);
    border-radius: 10px;
    min-width: 220px;
    padding: 10px 0;
    z-index: 100;
}
.nav-dropdown-responsive.open .dropdown-menu {
    display: block;
}
.nav-dropdown-responsive .dropdown-menu li {
    list-style: none;
}
.nav-dropdown-responsive .dropdown-menu a {
    display: block;
    padding: 12px 24px;
    color: #2d5f4f;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #f4f4f4;
    transition: background 0.2s, color 0.2s;
}
.nav-dropdown-responsive .dropdown-menu a:hover {
    background: #e8f0e8;
    color: #234a3d;
}
@media (max-width: 991px) {
    .nav-dropdown-responsive {
        width: 100%;
    }
    .nav-dropdown-responsive .dropdown-menu {
        position: static;
        min-width: 100%;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
    }
    .nav-dropdown-responsive .dropdown-menu a {
        padding: 16px 18px;
        font-size: 1.1rem;
        border-bottom: 1px solid #eee;
    }
}
.btn-note-desktop-only {
    display: inline-block;
}
@media (max-width: 768px) {
    .btn-note-desktop-only {
        display: none !important;
    }
}
/* Masquer le texte CCBA en mobile */
.ccba-desktop-only {
    display: inline;
}
body{
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
html {
    overflow-x: hidden;
}

.breadcrumb-section {
    background: #f7f7f7;
    padding: 12px 0;
    border-bottom: 1px solid #ececec;
}
.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    background: none;
}
.breadcrumb li {
    display: flex;
    align-items: center;
    color: #888;
}
.breadcrumb li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}
.breadcrumb li a:hover {
    text-decoration: underline;
    color: #ffa824;
}
.breadcrumb .separator {
    margin: 0 8px;
    color: #bbb;
    font-size: 13px;
}
.breadcrumb .active {
    color: #333;
    font-weight: 600;
}
@media (max-width: 768px) {
    .breadcrumb-container {
        padding: 0 6vw;
    }
    .breadcrumb {
        font-size: 13px;
    }
    .adhesion-hero {
        padding: 40px 20px 30px;
        text-align: center;
        font-size: 1rem;
    }
    .adhesion-hero h1 {
        font-size: 1.8rem;
        margin-bottom: 16px;
    }
    .adhesion-hero p {
        font-size: 1rem;
        margin-bottom: 0;
    }
}
/* Ajout d'un box-shadow pour chaque bloc du formulaire d'adhésion */
.adhesion-block {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.10), 0 1.5px 4px 0 rgba(102,126,234,0.10);
    padding: 32px 28px 24px 28px;
    margin-bottom: 32px;
    transition: box-shadow 0.2s;
}
/* =============================
     Styles spécifiques à adhesion_1.php (Formulaire d'Adhésion) - Structure moderne
     ============================= */
.adhesion-hero {
    background: linear-gradient(135deg, #2d6656 0%, #1a4d3f 100%);
    color: white;
    padding: 80px 20px 60px;
    text-align: center;
}
.adhesion-hero h1 {
    font-size: 2.3rem;
    margin-bottom: 20px;
    font-weight: 700;
}
.adhesion-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto; 
}
.adhesion-form-container {
    max-width: 1200px;
    margin: -40px auto 80px;
    position: relative;
    z-index: 10;
    width: 100%;
}
.adhesion-container {
      display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
    border-radius: 20px;
    overflow: hidden;
}

@media (max-width: 900px) {
    .adhesion-container {
        max-width: 98vw;
    }
    .adhesion-form-container {
        padding: 30px 8px 30px 8px;
    }
}
/* =============================
   Styles spécifiques à adhesion_1.php (Formulaire d'Adhésion)
   ============================= */
.adhesion-form-container-overlap {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}
@media (max-width: 768px) {
    .adhesion-form-container-overlap {
        margin-top: -30px;
    }
    .left-content {
        padding: 30px 15px;
    }
    .left-content h1 {
        font-size: max(1.8rem, 6vw);
    }
}
.container {
    max-width: 1200px;
}
.card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: slideUp 0.5s ease;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.header {
    background: linear-gradient(135deg, #ED0000 0%, #00AF50 100%);
    color: white;
    padding: 40px;
    text-align: center;
    width: 100%;
}
.ref {
    font-size: 12px;
    text-align: left;
    margin-bottom: 10px;
    opacity: 0.9;
}


.input-group-text {
    background: linear-gradient(135deg, #f7931e, #764ba2);
    color: white;
    border: none;
}
.form-control:focus,
.form-select:focus {
    border-color: #f7931e;
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}
.section-title {
    font-size: 20px;
    font-weight: bold;
    color: #f7931e;
    margin: 30px 0 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-title i { margin-right: 10px; }

.btn-upload {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-upload:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}
.preview-container {
    margin-top: 15px;
    display: none;
}
.preview-container.active { display: block; }
.preview-image {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    border: 2px solid #f7931e;
    padding: 10px;
    background: white;
}
.preview-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 2px solid #00AF50;
}
.remove-btn {
    padding: 8px 16px;
    background: #ED0000;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}
.remove-btn:hover { background: #c40000; }
.spinner {
    display: none;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #f7931e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}
.spinner.active { display: block; }
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
}
.toast-success {
    background: linear-gradient(135deg, #00AF50, #00d46a);
    color: white;
}
.toast-error {
    background: linear-gradient(135deg, #ED0000, #ff4444);
    color: white;
}
.toast-success .btn-close,
.toast-error .btn-close {
    filter: brightness(0) invert(1);
}
.conditions-list {
    list-style: none;
    counter-reset: item;
    padding-left: 0;
}
.conditions-list li {
    counter-increment: item;
    margin-bottom: 15px;
    padding-left: 40px;
    position: relative;
    line-height: 1.6;
}
.conditions-list li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    background: #f7931e;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}
.form-content {
    padding: 40px;
}
.section {
    margin-bottom: 40px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
}
.form-group { margin-bottom: 20px; }
label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #f7931e;
    box-shadow: 0 0 0 3px rgba(247, 147, 30, 0.1);
}
textarea {
    resize: vertical;
    min-height: 100px;
}
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.checkbox-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.checkbox-item:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}
.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
}
.table-responsive {
    overflow-x: auto;
    margin: 20px 0;
}
table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}
th, td {
    padding: 12px;
    text-align: left;
    border: 1px solid #e0e0e0;
}
th {
    background: #e6e6e6;
    color: rgb(41, 41, 41);
    font-weight: 600;
    font-size: 13px;
}
td input {
    width: 100%;
    padding: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}
.signature-box {
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border: 2px dashed #f7931e;
}
.signature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
}
.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #f7931e, #ffd34f);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
}
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}
.upload-container { margin-top: 10px; }
.success-message {
    display: none;
    padding: 20px;
    background: #00AF50;
    color: white;
    border-radius: 10px;
    text-align: center;
    margin-top: 20px;
    animation: slideIn 0.5s ease;
}
@keyframes slideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
@media (max-width: 768px) {
    .grid-2, .signature-row { grid-template-columns: 1fr; }
    .header h1 { font-size: 22px; }
    .form-content { padding: 20px; }
    .section { padding: 15px; }
    .adhesion-form-container-overlap { margin-top: -30px; }
}
/* =============================
   Styles spécifiques à contact.php (Contact Page)
   ============================= */
.breadcrumb-section {
    background: var(--primary-color);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 10px;
}
.breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.9;
}
.breadcrumb a:hover {
    opacity: 1;
    color: var(--secondary-orange);
}
.breadcrumb .separator {
    color: #fff;
    font-size: 12px;
    opacity: 0.6;
}
.breadcrumb .active {
    color: #fff;
    font-weight: 600;
}
.contact-hero {
    background: linear-gradient(135deg, #2d6656 0%, #1a4d3f 100%);
    color: white;
    padding: 80px 20px 60px;
    text-align: center;
}
.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}
.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}
.contact-section {
    max-width: 1200px;
    margin: -40px auto 80px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
.contact-info {
    padding: 50px;
    background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
}
.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1a1a1a;
    font-weight: 700;
}
.contact-info p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}
.info-item {
    display: flex;
    align-items: start;
    gap: 20px;
    margin-bottom: 25px;
}
.info-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}
.info-content h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #1a1a1a;
    font-weight: 600;
}
.info-content p {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
}
.contact-form-container {
    padding: 50px;
}
.contact-form-container h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #1a1a1a;
    font-weight: 700;
}
.form-group {
    margin-bottom: 25px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Georgia', serif;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-orange);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.submit-contact-btn {
    background: var(--gradient-orange);
    color: white;
    padding: 16px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}
.submit-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}
.map-section {
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 20px;
}
.map-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: #1a1a1a;
    font-weight: 700;
}
#map {
    height: 500px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}
.social-contact {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}
.social-contact a {
    width: 45px;
    height: 45px;
    background: var(--gradient-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}
.social-contact a:hover {
    transform: translateY(-3px);
    background: var(--gradient-red);
}
@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2rem;
    }
    .contact-hero p {
        font-size: 1rem;
    }
    .contact-container {
        grid-template-columns: 1fr;
    }
    .contact-info,
    .contact-form-container {
        padding: 30px;
    }
    #map {
        height: 350px;
    }
}
:root {
    --primary-color: #2d6656;
    --secondary-orange: #ff6b35;
    --secondary-red: #dc3545;
    --gradient-orange: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    --gradient-red: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
}

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

body {
    font-family: 'Georgia', serif;
    color: #333;
    line-height: 1.6;
}

.top-bar {
    background: #f8f8f8;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid #e0e0e0;
}

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

.top-bar-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-links a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar-links a:hover {
    color: var(--secondary-orange);
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
    padding-left: 15px;
    border-left: 1px solid #ddd;
}

.lang-link {
    color: #555;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-link:hover {
    color: var(--secondary-orange);
    background: rgba(255, 107, 53, 0.1);
}

.lang-link.active {
    color: white;
    background: var(--gradient-orange);
    font-weight: 600;
}

.lang-separator {
    color: #ddd;
    font-size: 12px;
}

header {
    background: white;
    color: var(--primary-color);
    padding: 8px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
    backdrop-filter: blur(0px);
}

body.sticky-header header {
    background: rgba(255, 255, 255, 0.4);
    box-shadow: none;
    backdrop-filter: blur(6px);
}


header::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #2d6656, transparent);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(-50%);
    z-index: -1;
} 


nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: relative;
    transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
    will-change: transform;
}

body.sticky-header nav {
    transform: scale(1.035);
}
.logo {
    font-size: 22px;
    font-weight: bold;
    position: relative;
    z-index: 102;
    justify-self: start;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.logo img {
    height: 65px;
    width: auto;
    object-fit: contain;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 24px;
    cursor: pointer;
    position: relative;
    z-index: 102;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
    justify-self: center;
    margin-bottom: 0;
}

.menu-close {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}
.nav-links li {
  
    bottom: 1px solid #ddd;
}

.nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-weight: 600;
    display: inline-block;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary-orange), transparent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform-origin 0s;
    z-index: 1;
}

.nav-links a:hover {
    color: var(--secondary-orange);
    transform: scale(1.1);
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links a.active {
    color: var(--secondary-orange);
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary-orange), transparent);
    transform: scaleX(1);
    transform-origin: left;
    z-index: 2;
}

.mobile-join {
    display: none;
}

.desktop-only {
    display: inline-block;
    position: relative;
    z-index: 102;
    justify-self: end;
}

.join-btn, .join-btn-mobile {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.join-btn:hover, .join-btn-mobile:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #ff5722 0%, #ff8c00 100%);
}

.hero {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.hero-content p {
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

.award-badge {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.badge-icon {
    width: 16px;
    height: 16px;
    background: var(--secondary-orange);
    border-radius: 50%;
}

.badge-text {
    color: var(--secondary-orange);
    font-size: 14px;
    font-weight: 600;
}

.email-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.email-input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 14px;
}

.learn-btn {
    background: var(--gradient-red);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.learn-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.hero-images {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.img-placeholder {
    background: #e0e0e0;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.img-placeholder.large {
    grid-row: span 2;
    height: 100%;
    min-height: 300px;
}

.img-placeholder.small {
    height: 150px;
}

.time-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-weight: bold;
    text-align: center;
}

.time-badge .number {
    font-size: 20px;
    color: var(--secondary-red);
}

.testimonial-box {
    background: #2d6656;
    color: white;
    padding: 25px;
    border-radius: 10px;
    position: relative;
}

.testimonial-box p {
    font-size: 14px;
    line-height: 1.6;
}

.client-count {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.mission-section {
    background: #2d6656;
    color: white;
    padding: 60px 20px;
    position: relative;
    z-index: 1;
}
.mission-section::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #f9bb1e, transparent);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(-50%);
    z-index: -1;
} 

.mission-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mission-content h2 {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 30px;
    padding: 0 40px;
}

.mission-text {
    font-size: 16px;
    line-height: 1.8;
}

.stats {
    display: flex;
    gap: 40px;
}

.stat-item h3 {
    font-size: 32px;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 14px;
    opacity: 0.9;
}

.consulting-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.consulting-image {
    background: #e0e0e0;
    height: 400px;
    border-radius: 10px;
}

.consulting-content h2 {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.consulting-content p {
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.8;
}

.explore-btn {
    background: var(--gradient-orange);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.explore-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.testimonials-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.testimonials-header h2 {
    font-size: 42px;
    line-height: 1.2;
    color: #1a1a1a;
    font-weight: 700;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 25px;
}

.testimonial-row-single {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-card {
    background: #f5f5f5;
    padding: 35px;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.testimonial-header {
    margin-bottom: 20px;
}

.testimonial-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #1a1a1a;
    font-weight: 700;
}

.stars {
    color: #f5a623;
    font-size: 16px;
    margin-bottom: 15px;
}

.stars i {
    margin-right: 2px;
}

.quote-icon {
    position: absolute;
    top: 30px;
    right: 35px;
    font-size: 60px;
    color: #1a1a1a;
    line-height: 1;
    opacity: 0.15;
}

.testimonial-card p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 15px;
}

.testimonial-card p:last-child {
    margin-bottom: 0;
}

.services-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.service-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.service-card.reverse {
    direction: rtl;
}

.service-card.reverse > * {
    direction: ltr;
}

.service-content h2 {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.service-content p {
    color: #666;
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.8;
}

.service-btn {
    background: var(--gradient-red);
    color: white;
    padding: 12px 28px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.service-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.service-image {
    height: 350px;
    border-radius: 12px;
    background: #e0e0e0;
    position: relative;
}

.service-image.meeting {
    background: linear-gradient(135deg, #f0f0f0 0%, #d8d8d8 100%);
}

.service-image.digital {
    background: linear-gradient(135deg, #001a33 0%, #003d7a 100%);
}

.solutions-section {
    background: #ebebeb;
    padding: 80px 20px;
}

.solutions-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px;
}

.solutions-header h2 {
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 18px;
    color: #1a1a1a;
    font-weight: 700;
}

.solutions-header p {
    color: #555;
    font-size: 16px;
    line-height: 1.7;
}

.solutions-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.solution-card {
    background: #d8d8d8;
    padding: 40px 30px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.solution-card.dark {
    background: var(--gradient-orange);
    color: white;
}

.solution-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    font-size: 22px;
}

.solution-icon.light {
    background: transparent;
    color: var(--secondary-orange);
}

.solution-card.dark .solution-icon {
    background: transparent;
    color: white;
}

.solution-card h3 {
    font-size: 20px;
    margin-bottom: 14px;
    color: inherit;
    font-weight: 700;
}

.solution-card p {
    font-size: 15px;
    line-height: 1.65;
    color: inherit;
}

.solution-card.dark p {
    opacity: 0.95;
}

.faq-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.faq-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.faq-header h2 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #1a1a1a;
    font-weight: 700;
}

.faq-header p {
    color: #666;
    line-height: 1.7;
    font-size: 16px;
}

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--secondary-orange);
}

.faq-question i {
    font-size: 20px;
    color: #1a1a1a;
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    color: var(--secondary-red);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 25px;
}

.faq-answer p {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
}

.insights-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.insights-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 50px;
}

.insights-header h2 {
    font-size: 42px;
    line-height: 1.2;
    color: #1a1a1a;
    font-weight: 700;
}

.insights-header p {
    color: #666;
    line-height: 1.7;
    font-size: 16px;
}

.insights-slider {
    position: relative;
    padding: 0 60px;
}

.insight-card {
    background: #f8f8f8;
    border-radius: 16px;
    overflow: hidden;
    margin: 0 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

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

.insight-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-color: #ddd;
}

.insight-content {
    padding: 30px;
}

.insight-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #1a1a1a;
    font-weight: 700;
    line-height: 1.3;
}

.insight-content p {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
}

.slick-dots {
    bottom: -50px;
}

.slick-dots li button:before {
    font-size: 12px;
    color: var(--secondary-orange);
}

.slick-dots li.slick-active button:before {
    color: var(--secondary-red);
}

.slick-prev, .slick-next {
    width: 45px;
    height: 45px;
    z-index: 1;
}

.slick-prev {
    left: 0;
}

.slick-next {
    right: 0;
}

.slick-prev:before, .slick-next:before {
    font-size: 40px;
    color: var(--secondary-orange);
    opacity: 0.7;
}

.slick-prev:hover:before, .slick-next:hover:before {
    opacity: 1;
    color: var(--secondary-red);
}

@media (max-width: 768px) {
    .insights-slider {
        padding: 0;
    }
}

.cta-section {
    background: #2d6656;
    padding: 60px 20px;
    margin-top: 120px;
    position: relative;
    z-index: 1;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, transparent, #fec210, transparent);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(-50%);
    z-index: -1;
} 
.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-content p {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0.95;
}

.cta-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
    justify-content: center;
}

.cta-email-input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
}

.cta-btn {
    background: white;
    color: var(--secondary-red);
    padding: 14px 35px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: scale(1.05);
    background: var(--gradient-orange);
    color: white;
}

.footer {
    background: #f8f8f8;
    padding: 50px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.footer-about h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.footer-about p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: var(--gradient-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    background: var(--gradient-red);
}

.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.footer-contact p {
    color: #666;
    margin-bottom: 10px;
    font-size: 15px;
}

.footer-cta-btn {
    display: inline-block;
    background: var(--gradient-red);
    color: white;
    padding: 12px 28px;
    border-radius: 25px;
    text-decoration: none;
    margin-top: 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: #888;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        padding: 10px 20px;
    }

    .top-bar-content span {
        font-size: 12px;
        text-align: center;
    }

    .top-bar-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .language-selector {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
    }

    nav {
        grid-template-columns: 1fr auto;
    }

    .logo img {
        height: 40px;
    }

    .menu-toggle {
        display: block;
        justify-self: end;
        order: 2;
    }

    .logo {
        order: 1;
    }

    .nav-links {
        order: 3;
    }

    .desktop-only {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(180deg, #2d6656 0%, #1a4d3f 100%);
        flex-direction: column;
        gap: 0;
        padding: 80px 30px 30px;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
        transition: left 0.4s ease;
        z-index: 101;
        overflow-y: auto;
        justify-content: center;
        z-index: 1000000;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        width: 100%;
        padding: 18px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links a {
        display: block;
        font-size: 18px;
        font-weight: 500;
        width: 100%;
        text-align: center;
        color: white !important;
    }

    .menu-close {
        display: block;
        z-index: 103;
        color: white;
    }

    /* Overlay pour le menu mobile */
    .nav-links::before {
        content: '';
        position: fixed;
        top: 0;
        left:280px;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        z-index: 99;
    }

    .nav-links.active::before {
        opacity: 1;
        visibility: visible;
    }

    .mobile-join {
        display: block;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        text-align: center;
    }

    .join-btn-mobile {
        display: block;
        text-align: center;
        margin: 0 auto;
    }

    .hero, .mission-content, .consulting-section, .service-card {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .stats {
        flex-direction: column;
        gap: 20px;
    }

    .solutions-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .service-card.reverse {
        direction: ltr;
    }

    .faq-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .insights-header {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-form {
        flex-direction: column;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Hero Section Styles */



@media (max-width: 1200px) {

    h1 {
        font-size: 3rem;
    }

    .right-content {
        height: 500px;
    }
}

@media (max-width: 768px) {

    h1 {
        font-size: clamp(1.7rem, 8vw, 2.5rem);
    }

    .email-form {
        flex-direction: column;
    }

    .submit-btn {
        width: 100%;
    }

    .right-content {
        height: 400px;
    }

    .quote-badge {
        max-width: 250px;
        padding: 20px 25px;
    }
}

/* Dropdown menu styles améliorés */
.dropdown {
  position: relative;
}
.dropdown-toggle {
    display: inline-block;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    position: relative;
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 600;
    background: none;
    border: none;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.dropdown-toggle::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary-orange), transparent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform-origin 0s;
    z-index: 1;
}
.dropdown.open > .dropdown-toggle,
.dropdown:hover > .dropdown-toggle {
    color: var(--secondary-orange);
}
.dropdown.open > .dropdown-toggle::after,
.dropdown:hover > .dropdown-toggle::after {
    transform: scaleX(1);
    transform-origin: left;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 110%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
 
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(45,102,86,0.13);
  border-radius: 10px;
  padding: 10px 0;
  z-index: 100 !important;
  overflow: hidden;
  border: 1px solid #eee;
}
.dropdown.open > .dropdown-menu,
.dropdown:hover > .dropdown-menu {
  display: block;
}
.dropdown-menu li {
    width: 100%;
    white-space: nowrap;
}
.dropdown-menu a {
    display: block;
    padding: 12px 28px;
    color: var(--primary-color);
    text-decoration: none;
    white-space: nowrap;
    font-size: 15px;
    background: none;
    border: none;
    transition: background 0.2s, color 0.2s;
}
.dropdown-menu a:hover {
  background: var(--gradient-orange);
  color: #fff;
}
@media (max-width: 768px) {
  .dropdown-menu {
    left: 0;
    right: 0;
    min-width: unset;
    width: 100vw;
    border-radius: 0 0 10px 10px;
    transform: none;
  }
}

/* Correction : le sous-menu reste affiché tant que la souris est sur .dropdown ou .dropdown-menu */
.dropdown:hover > .dropdown-menu,
.dropdown.open > .dropdown-menu,
.dropdown:focus-within > .dropdown-menu,
.dropdown-menu:hover,
.dropdown-menu:focus {
  display: block;
}

/* Floating Network Button Styles */
#btn-note-reseau {
    position: fixed;
    top: 50%;
    left: 0;
    z-index: 1051;
    padding: 16px 0 16px 0;
    border-radius: 0 30px 30px 0;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(45,102,86,0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transform: translateY(-50%);
    height: auto;
    min-width: 48px;
}
@media (max-width: 768px) {
    #btn-note-reseau {
        display: none !important;
    }
}
