/* ==========================================================================
   Formulaire d'adhésion Front-Office
   ========================================================================== */



.fcnet-adhesion-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    /* Permettre le position sticky à l'intérieur */
    position: relative;
    overflow: visible;
}

/* Header Type de Structure */
.fcnet-type-structure-header {
    background: #fff;
    padding: 25px 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    border-left: 5px solid #cf0a1d !important;
}

.fcnet-vous-etes {
    font-size: 20px;
    font-weight: 700;
    color: #cf0a1d;
    margin: 0;
    white-space: nowrap;
}

.fcnet-type-select {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #fff;
}

.fcnet-type-select:focus {
    outline: none;
    border-color: #cf0a1d;
    box-shadow: 0 0 0 3px rgba(207, 10, 29, 0.1);
}

/* Layout 2 colonnes : Formulaire + Grille tarifaire */
.fcnet-form-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    position: relative; /* Important pour position absolute */
}

.fcnet-form-main {
    flex: 1;
    min-width: 0;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.fcnet-tarif-sidebar {
    flex: 0 0 350px;
    width: 350px;
    position: relative; /* Pour le positionnement absolu */
}

.fcnet-tarif-sticky {
    position: relative; /* Par défaut, modifié par jQuery */
    width: 100%;
    transition: none; /* Pas de transition pour éviter les saccades */
}

/* Messages */
.fcnet-message {
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 4px;
    border-left: 4px solid;
    font-size: 16px;
    line-height: 1.5;
}

.fcnet-message.fcnet-success {
    background-color: #ffffff;
    border-color: #28a745;
    color: #000000;
    padding-bottom: 40px;
}

.fcnet-message.fcnet-error {
    background-color: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

.fcnet-message.fcnet-info {
    background-color: #d1ecf1;
    border-color: #17a2b8;
    color: #0c5460;
}


/* Sections */
.fcnet-form-section {
    margin-bottom: 20px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
}

.fcnet-form-section:last-of-type {
    border-bottom: none;
}

#fcnet-adhesion-form .fcnet-form-section.cotisation {
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
}

.fcnet-section-title {
    margin: 0 0 25px 0;
    padding: 15px 20px;
    background: #cf0a1d;
    color: #fff !important;
    border-radius: 4px;
    font-size: 20px;
    font-weight: 600;
}

/* Groupes de contacts */
.fcnet-contact-group {
    margin-bottom: 30px;
    padding: 20px;    
}

.fcnet-contact-group:last-child {
    margin-bottom: 0;
}

.fcnet-contact-title {
    margin: 0 0 20px 0 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
}

/* Lignes de formulaire */
.fcnet-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.fcnet-form-row:last-child {
    margin-bottom: 0;
}

.fcnet-row-2cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.fcnet-row-3samecols {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}


.fcnet-row-3cols {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr;
    gap: 20px;
}

/* Groupes de champs */
.fcnet-form-group {
    display: flex;
    flex-direction: column;
}

.fcnet-form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.fcnet-form-group.fcnet-required label::after {
    content: " *";
    color: #cf0a1d;
    font-weight: bold;
}

/* Champs de formulaire */
.fcnet-form-group input[type="text"],
.fcnet-form-group input[type="email"],
.fcnet-form-group input[type="tel"],
.fcnet-form-group input[type="number"],
.fcnet-form-group select,
.fcnet-form-group textarea {
    padding: 10px 12px;
    border: 1px solid #ddd;
    font-size: 14px;
    font-family: inherit;
    border-radius: 20px !important;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.fcnet-form-group input:focus,
.fcnet-form-group select:focus,
.fcnet-form-group textarea:focus {
    outline: none;
    border-color: #cf0a1d;
    box-shadow: 0 0 0 3px rgba(207, 10, 29, 0.1);
}

.fcnet-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Grille de checkboxes */
.fcnet-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.fcnet-checkbox-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    transition: all 0.3s;
}

.fcnet-checkbox-item:hover {
    background: #f9f9f9;
    cursor: pointer;
    border-color: var(--border-color-item);
}

.fcnet-checkbox-item input[type="checkbox"] {
    margin: 0 10px 0 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.fcnet-checkbox-item label {
    margin: 0;
    cursor: pointer;
    flex: 1;
    font-weight: normal;
}
/* Section cotisation */
.fcnet-cotisation-result {
    margin-top: 30px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 4px;
}

.fcnet-cotisation-box {
    padding: 20px;
    background: #fff;
    border-radius: 4px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.fcnet-cotisation-box p {
    margin: 10px 0;
    font-size: 16px;
}

.fcnet-cotisation-montant {
    font-size: 32px;
    font-weight: bold;
    color: #2f7932;
    margin: 15px 0;
}

.fcnet-cotisation-tva {
    font-size: 14px;
    color: #666;
}

.fcnet-cotisation-ttc {
    font-size: 20px;
    color: #cf0a1d;
    padding-top: 10px;
    border-top: 2px solid #e0e0e0;
    margin-top: 10px;
}

.fcnet-info-text {
    font-size: 14px;
    font-style: italic;
    color: #555;
    line-height: 1.6;
    margin: 0;
    margin-bottom: 15px;
}


#fcnet-adhesion-form .fcnet-form-actions {
    box-shadow: unset !important;
}

.fcnet-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.fcnet-btn-primary {
    background: #cf0a1d;
    color: #fff;
}

.fcnet-btn-primary:hover {
    background: #a00818;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(207, 10, 29, 0.3);
}

.fcnet-btn-secondary {
    background: #6c757d;
    color: #fff;
}

.fcnet-btn-secondary:hover {
    background: #545b62;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
}

/* Footer du formulaire */
.fcnet-form-footer {
    margin-top: 30px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 4px;
    text-align: center;
}

.fcnet-form-footer p {
    margin: 5px 0;
    font-size: 14px;
    color: #555;
}

/* ==========================================================================
   Grille tarifaire sticky
   ========================================================================== */

.fcnet-tarif-card {
    background: #fff;
    border: 2px solid #cf0a1d !important;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(207, 10, 29, 0.15);
}

h3.fcnet-tarif-title {
    background: #cf0a1d;
    color: #fff !important;
    margin: 0px !important;
    padding: 15px 20px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-align: center !important;
    line-height: 1.4 !important;
    display: block !important;
}

.fcnet-tarif-grid {
    padding: 20px;
}

.fcnet-tarif-table {
    width: 100%;
    border-collapse: collapse;
}

.fcnet-tarif-table thead th {
    background: #f8f9fa;
    padding: 12px 10px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    color: #333;
    border-bottom: 2px solid #cf0a1d;
}

.fcnet-tarif-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
}

.fcnet-tarif-table tbody tr:last-child {
    border-bottom: none;
}

.fcnet-tarif-table tbody td {
    padding: 5px;
    font-size: 10px;
    line-height: 1.2;
}

.fcnet-tarif-ca {
    color: #333;
    font-weight: 500;
}

.fcnet-tarif-montant {
    color: #cf0a1d;
    font-weight: 700;
    font-size: 14px;
    text-align: right;
}

.fcnet-tarif-empty,
.fcnet-tarif-loading,
.fcnet-tarif-error {
    text-align: center;
    padding: 30px 20px;
    color: #666;
    font-style: italic;
}

.fcnet-tarif-loading {
    color: #19537d;
    animation: pulse 1.5s ease-in-out infinite;
}

#top .main_color .select2 textarea{
    padding: 0px !important
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.fcnet-tarif-error {
    color: #dc3545;
    font-style: normal;
    font-weight: 600;
}
.ss-main {
    background-color: var(--enfold-main-color-bg2) !important;
    border-radius: 20px;
    padding: 10px 10px !important;
    min-height: 50px;
}
.ss-main .ss-values .ss-placeholder {
    font-size: 0px;
}
.ss-main .ss-values .ss-value{
    background-color: #cf0a1d !important;
    border-radius: 20px;
}
/* ==========================================================================
   Responsive
   ========================================================================== */

@media screen and (max-width: 1024px) {
    .fcnet-form-layout {
        flex-direction: column;
    }
    
    .fcnet-tarif-sidebar {
        flex: 1;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        order: -1;
    }
    
    .fcnet-tarif-sticky {
        position: static;
    }
}

@media screen and (max-width: 768px) {
    .fcnet-type-structure-header {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
    }
    
    .fcnet-vous-etes {
        font-size: 18px;
    }
    
    .fcnet-type-select {
        font-size: 16px;
    }
    
    .fcnet-adhesion-form {
        padding: 20px;
    }
    
    .fcnet-row-2cols,
    .fcnet-row-3cols {
        grid-template-columns: 1fr;
    }
    
    .fcnet-checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .fcnet-form-actions {
        flex-direction: column;
    }
    
    .fcnet-btn {
        width: 100%;
        text-align: center;
    }
    
    .fcnet-section-title {
        font-size: 18px;
        padding: 12px 15px;
    }
    
    .fcnet-contact-title {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .fcnet-adhesion-container {
        padding: 10px;
    }
    
    .fcnet-cotisation-montant {
        font-size: 24px;
    }
    
    .fcnet-cotisation-ttc {
        font-size: 18px;
    }
}


/** formulaire 2 **/

/* Styles spécifiques au formulaire multi-étapes */
.fcnet-progress-bar {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    padding: 0 20px;
}

.fcnet-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.fcnet-progress-step.active,
.fcnet-progress-step.completed {
    opacity: 1;
}

.fcnet-progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    width: calc(100% - 15px);
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.fcnet-progress-step.completed:not(:last-child)::after {
    background: #4CAF50;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 5px;
    transition: all 0.3s;
    z-index: 2;
}

.fcnet-progress-step.active .step-number {
    background: #666;
    color: white;
}

.fcnet-progress-step.completed .step-number {
    background: #4CAF50;
    color: white;
}

.step-label {
    font-size: 12px;
    text-align: center;
    margin-top: 5px;
}

.fcnet-form-step {
    display: none;
}

.fcnet-form-step.active {
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fcnet-substeps-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.fcnet-substep-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    transition: all 0.3s;
}

.fcnet-substep-btn:hover {
    color: #cf0a1d;
}

.fcnet-substep-btn.active {
    color: #cf0a1d;
    border-bottom-color: #cf0a1d;
}

.fcnet-substep {
    display: none;
}

.fcnet-substep.active {
    display: block;
    animation: fadeIn 0.3s;
}

.fcnet-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.fcnet-form-actions.first-fomulaire {
    margin-top: 0px !important;
}
.fcnet-summary-section {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid #cf0a1d;
}

.fcnet-summary-section h4 {
    margin-top: 0;
    color: #cf0a1d;
}

.fcnet-summary-section p {
    margin: 10px 0;
}

.fcnet-subsection-title {
    color: #666;
    font-size: 16px;
    margin: 25px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.fcnet-form-help {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    color: #666;
    font-style: italic;
}

input[type="file"].fcnet-form-control {
    padding: 8px;
    border: 2px dashed #ddd;
    background: #f9f9f9;
    cursor: pointer;
}

input[type="file"].fcnet-form-control:hover {
    border-color: #cf0a1d;
    background: #f0f8ff;
}


.fcnet-no-items {
    color: #666;
    font-style: italic;
    padding: 20px;
    text-align: center;
    background: #f9f9f9;
    border-radius: 5px;
}

.fcnet-autre-fields {
    margin-top: 25px;
    padding: 20px;
    background: #fff8e1;
    border: 1px solid #cf0a1d;
    border-radius: 5px;
}

.fcnet-autre-fields h4 {
    margin-top: 0;
    color: #cf0a1d;
}

/* Responsive */
@media (max-width: 768px) {
    .fcnet-progress-bar {
        overflow-x: auto;
        padding: 0 10px;
    }
    
    .step-label {
        font-size: 10px;
    }
    
    .fcnet-form-actions {
        flex-wrap: wrap;
    }
    
    .fcnet-substeps-nav {
        flex-direction: column;
    }
    
    .fcnet-substep-btn {
        border-bottom: none;
        border-left: 3px solid transparent;
        text-align: left;
    }
    
    .fcnet-substep-btn.active {
        border-left-color: #2196F3;
        border-bottom-color: transparent;
    }
    
    .fcnet-form-row {
        grid-template-columns: 1fr;
    }
    
    .fcnet-checkbox-grid {
        grid-template-columns: 1fr;
    }
}

.fcnet-summary-indent {
    margin-left: 20px;
    color: #666;
    font-size: 14px;
}

.fcnet-summary-indent span {
    display: inline;
}

/* Styles pour la validation */
.fcnet-validation-container {
    margin: 20px 0;
    padding: 15px 20px;
    border-radius: 8px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fcnet-error-message {
    border-radius: 5px;
    font-size: 12px;
    padding: 2px 15px;
    background-color: #fee;
    border-left: 4px solid #c00;
    color: #800;
}

.fcnet-error-message strong {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
}

.fcnet-error-message ul {
    margin: 0;
    padding-left: 20px;
}

.fcnet-error-message li {
    margin: 5px 0;
}

.fcnet-success-message {
    background-color: #efe;
    border-left: 4px solid #0c0;
    color: #060;
}

.fcnet-success-message strong {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
}

.fcnet-field-error {
    border-color: #c00 !important;
    background-color: #fff5f5 !important;
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.1) !important;
}

.fcnet-field-error:focus {
    border-color: #c00 !important;
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.2) !important;
}

/* ============================================
   CSS POUR L'UPLOAD AJAX DES IMAGES
   ============================================ */

/* Container de preview pour le logo */
.fcnet-image-preview-container {
    margin-top: 10px;
    margin-bottom: 15px;
}

/* Item de preview individuel */
.fcnet-image-preview-item {
    position: relative;
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #f9f9f9;
    transition: all 0.3s ease;
}

.fcnet-image-preview-item:hover {
    border-color: #0073aa;
    box-shadow: 0 2px 8px rgba(0,115,170,0.2);
}

/* Image de preview */
.fcnet-preview-img {
    display: block;
    width: 200px;
    object-fit: cover;
}

/* Bouton de suppression (croix) */
.fcnet-remove-image {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 28px;
    height: 28px;
    background: rgba(220, 38, 38, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-weight: bold;
    padding: 0;
}

.fcnet-remove-image:hover {
    background: rgba(185, 28, 28, 1);
    transform: scale(1.1);
}

/* Grille pour les images multiples */
.fcnet-images-preview-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.fcnet-images-preview-grid .fcnet-image-preview-item {
    margin: 0;
}

/* Status d'upload */
.fcnet-upload-status {
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
}

.fcnet-upload-status .fcnet-uploading {
    color: #0073aa;
    font-weight: 500;
}

.fcnet-upload-status .fcnet-success {
    color: #46b450;
    font-weight: 500;
}

.fcnet-upload-status .fcnet-error {
    color: #dc3232;
    font-weight: 500;
}

/* Animation pour l'upload */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.fcnet-uploading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .fcnet-preview-img {
        width: 120px;
        height: 120px;
    }
    
    .fcnet-remove-image {
        width: 24px;
        height: 24px;
        font-size: 18px;
    }
}

/* Message de sauvegarde */
.fcnet-saving-message {
    margin-right: 380px ;
    background: #f0f9ff;
    border: 1px solid #0891b2;
    border-radius: 6px;
    padding: 12px 20px;
    margin: 20px 380px 20px 0px;
    text-align: center;
    color: #0e7490;
    font-weight: 500;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Boutons pendant la sauvegarde */
.fcnet-btn.saving {
    opacity: 0.6;
    cursor: not-allowed;
    position: relative;
}

.fcnet-btn.saving::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/* Messages d'upload */
.fcnet-uploading,
.fcnet-success,
.fcnet-error {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    margin-top: 10px;
}

.fcnet-uploading {
    background: #f0f9ff;
    color: #0e7490;
}

.fcnet-success {
    background: #f0fdf4;
    color: #15803d;
}

.fcnet-error {
    background: #fef2f2;
    color: #dc2626;
}

/* Erreurs de validation */
.fcnet-field-error {
    border-color: #dc2626 !important;
    background-color: #fef2f2 !important;
}

.fcnet-error-message {
    color: #dc2626;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

/****************************************************************
**************************ANNUAIRE******************************/

.leaflet-control-attribution.leaflet-control {
    display: none;
}
/* #av_section_1 {
    background-repeat: no-repeat;
    background-image: url('https://pmt-innovation.fc-net.fr/wp-content/uploads/2025/04/AdobeStock_821991373-1500x430.jpeg');
    background-position: 0% 0%;
    background-attachment: scroll;
} */

.structure-header__top-image {
    margin-bottom: 40px;
    max-width: 228px;
}
.structure-header__top-image-elt {
    height: auto;
    width: 100%;
}

.hero-section {
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background:  #cf0a1d ;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(229, 62, 62, 0.3);
}

.cta-button {
    background: #cf0a1d;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 20px rgba(229, 62, 62, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(229, 62, 62, 0.4);
}

.search-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

.section-annuaire {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 11;
}

.fcnet-checkbox-item input[type="radio"] {
    appearance: none;
    border-radius: 0;
    background-color: #FFF;
    cursor: pointer;
    min-width: 20px !important;
    width: 20px;
    height: 20px;
    border: 1px solid #000;
    display: inline-block;
    margin-right: 8px;
}

.fcnet-checkbox-item input[type="radio"]:checked {
    background-color: #cf0a1d;
    border: 1px solid #cf0a1d;
}
.fcnet-checkbox-item input[type="radio"]:checked::before {
    content: '✓';
    display: block;
    text-align: center;
    color: white;
    font-weight: bold;
    line-height: 16px;
}
.filter-group-name { flex: 2; }
.filter-input-large { font-size: 16px; padding: 10px 14px; }
.filter-radio-inline { display: flex; flex-direction: row; gap: 12px; flex-wrap: wrap; height: 45px; }
#an-filter-company-name {
    margin-bottom: 0px !important;
}


.filter-group.center label span {
    margin-top: 6px;
}
div.search-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1.5rem;
}

.search-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-button {
    background: rgba(229, 62, 62, 0.1);
    color: #cf0a1d;
    border: 2px solid #cf0a1d;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


.filter-button path{
    fill: white !important;
    transition: all 0.2s ease-in;
}
.filter-button:hover path{
    fill: #cf0a1d !important;
}
.reset-button path{
    transition: all 0.2s ease-in;
}
.reset-button:hover path{
    fill: white !important;
}

.iconsvg svg:first-child {
    margin-top: 0px !important;
}

.reset-button {
    background: transparent;
    color: #718096;
    border: 1px solid #cbd5e0;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reset-button:hover {
    background: #f7fafc;
    border-color: #a0aec0;
}

.alphabet-nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-left: auto;
}

.alphabet-letter {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9d9d6;
    border-radius: 20px;
    background: white;
    color: #4a5568;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}
.alphabet-letter:first-child{
    padding: 0 30px;
}

.alphabet-letter:hover, .alphabet-letter.active {
    background: #cf0a1d;
    color: white;
    border-color: #cf0a1d;
}

.companies-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;

    gap: 2rem;
    margin: 3rem 0;
}
.companies-grid:has(.no-results) {
    grid-template-columns: 1fr;
}
.type_de_structure {
    margin-top: 0px;
    margin-bottom: 0.5em;
    font-size: 15px;
    color: #555959;
}

.company-card .company-infos {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    overflow: hidden;
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

.company-card {
    background: #FFF;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 3px 3px 6px rgba(37, 36, 40, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    padding-bottom: 60px;
}

.company-card:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #cf0a1d;
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 6px 6px 10px rgba(37, 36, 40, 0.1);
}


.company-logo {
    width: 100%;
    height: 110px;
    padding: 8px;
    box-sizing: border-box;
    background: #f7fafc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 700;
    color: #4a5568;
    overflow: hidden;
}

.company-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.company-name {
    font-size: 18px !important;
    line-height: 1.3 !important;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0px !important;
}

.company-description {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.company-arrow {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: #FFF;
    border: 1px solid #d9d9d6 !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cf0a1d;
    transition: all 0.3s ease;
}

.company-arrow span.iconsvg svg{
    padding-top: 5px;
}

.company-card:hover .company-arrow {
    background: #cf0a1d;
    border: 1px solid #cf0a1d !important;
}

.company-card:hover .company-arrow path, .download path{
    fill: #fff !important;
    transition: all 0.2s ease;
}

.company-card:hover .company-arrow {
    background: #cf0a1d;
}

.download:hover path{
    fill: #cf0a1d !important;
}


/* Modal Filtres */


.filters-inline-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
    position: relative;
}

.filters-inline-row .filter-group {
    flex: 1 1 180px;
    min-width: 150px;
    margin-bottom: 0;
}

.filters-inline-row .filter-group.multiselect {
    flex: 1 1 250px;
    min-width: 220px;
    margin-bottom: 0;
}

.filter-group label {
    color: black !important;
}

.avia-button.primary svg path {
    fill: #FFF !important;
}

.avia-button.primary:hover svg path {
    fill: #cf0a1d !important;
}

.modal-overlay {
    position: fixed  !important;;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: linear-gradient(135deg, #000 0%, #1a202c 100%);
    border-radius: 20px;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.7) translateY(50px);
    transition: all 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}
#top .modal-content .avia-button.primary:hover{
    border: 1px solid #FFF !important;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: white !important;
    margin: 0;
}
h2.modal-title::before{
    display: none;
    visibility: hidden;
}

.modal-close {
    background: #FFF;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.modal-close:hover {
    opacity: 0.7;
}

.iconsvg.close {
    padding-top: 5px;
    font-size: 20px;
}
.iconsvg.close path{
    fill: #000 !important;
}

.filter-group {
    margin-bottom: 2rem;
}

.choices__inner {
    background-color: transparent !important;
}

.filter-label {
    display: block;
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.radio-option span{
    font-weight: 600;
    font-size: 1.1rem;
}

.choices, .choices .choices__inner{
    background-color: var(--enfold-main-color-bg2) !important;
    border-radius: 20px !important;
}
.choices__list--multiple .choices__item{
    background-color: #cf0a1d !important;
    border-radius: 30px;
    border: 1px solid #cf0a1d !important;
    color: #fff;
    font-weight: 400;
    padding: 8px 10px;
}
.choices[data-type*="select-multiple"] .choices__button{
    border-left: 1px solid #fff !important;
}

#top .main_color .choices input[type="search"]{
    border-radius: 30px;
}

.main_color .choices textarea::placeholder, .main_color #filterModal input::placeholder {
  opacity: 1;
}

.radio-group {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: #cbd5e0;
    transition: color 0.3s ease;
}

.radio-option:hover {
    color: white;
}

.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    border: 2px solid #4a5568;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    position: relative;
    appearance: none;
    transition: all 0.3s ease;
}

.radio-option input[type="radio"]:checked {
    border-color: #cf0a1d;
    background: #cf0a1d;
}

.radio-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-primary {
    background: #cf0a1d;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

@media only screen and (min-width: 768px) and (max-width: 1024px)  {
    .companies-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media only screen and (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-circle {
        width: 300px;
        height: 300px;
    }
    
    .phone-mockup {
        width: 140px;
        height: 250px;
    }
    
    .search-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .alphabet-nav {
        margin-left: 0;
        justify-content: center;
    }
    .companies-grid {
        grid-template-columns: 1fr;
    }
    
}




/* Ajout pour les filtres actifs */
.active-filters {
    margin: 1rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-tag {
    background: #cf0a1d;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-tag .remove-filter {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
}

.filter-tag .remove-filter:hover {
    background: rgba(255, 255, 255, 0.3);
}

.no-results {
    text-align: center;
    padding: 3rem 0;
    color: #4a5568;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.no-results p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.infos-pratiques p.lieu, 
.infos-pratiques p.telephone, 
.infos-pratiques p.mail,
.infos-pratiques p.site {
    position: relative !important;
    padding-left: 25px !important;
}

/* social icon */

.social-icon {
    display: inline-block !important;
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #e5e5e5;
    border-color: #e5e5e5 !important;
    background-color: #fff;
    color: #cf0a1d;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.social-icon span.iconsvg.absolute {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.social-icon:hover {
    border-color: #cf0a1d;
    background-color: #cf0a1d;
    color: #fff !important;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon.facebook {
    color: #4267B2;
}

.social-icon.twitter {
    color: #1DA1F2;
}

.social-icon.linkedin {
    color: #0082B4;
}

.social-icon.facebook:hover {
    background-color: #4267B2;
    border-color: #4267B2;
}

.social-icon.twitter:hover {
    background-color: #1DA1F2;
    border-color: #1DA1F2;
}

.social-icon.linkedin:hover {
    background-color: #0082B2;
    border-color: #0082B2;
}

.social-icon:hover span.iconsvg svg path {
    fill: #fff !important;
}


/* *** Localisation *** */

.encart-arrondi.map {
    padding: 0px !important;
}


.structure-map-container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 20px 0;
}

.map-header {
    background: #fff;
    padding: 15px 20px;
}

.map-display {
    height: 400px;
    width: 100%;
    position: relative;
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .map-display {
        height: 300px;
    }
}

/* CONTACTS */ 
.fiche-contacts-wrapper {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    margin: 40px 0;
    font-family: "Segoe UI", sans-serif;
}

.fiche-contacts-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #000;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.fiche-contacts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-col {
    flex: 1 1 200px;
    min-width: 200px;
}

.contact-name {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 4px;
}

.contact-role {
    font-size: 14px;
    font-style: italic;
    color: #555;
    margin-bottom: 10px;
}

.contact-action a {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    color: #cf0a1d;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-action a:hover {
    color: #a30c19;
    text-decoration: underline;
}

.contact-action svg {
    width: 16px;
    height: 16px;
    fill: #cf0a1d;
    margin-right: 6px;
}

/* ============================================================
   FCNET – Qui fait quoi : onglets + sélection
   ============================================================ */

/* Wrapper global */
.fcnet-qfq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ── Onglets ─────────────────────────────────────────────── */
.fcnet-qfq-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0;
    margin-bottom: 0;
}

.fcnet-qfq-tab {
    position: relative;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    border-radius: 4px 4px 0 0;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    white-space: nowrap;
}

.fcnet-qfq-tab:hover {
    color: #cf0a1d;
    background: #f0f4ff;
}

.fcnet-qfq-tab.active {
    color: #cf0a1d;
    border-bottom-color: #cf0a1d;
    background: #fff;
    font-weight: 600;
}

/* ── Panneaux ────────────────────────────────────────────── */
.fcnet-qfq-panels {
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 20px;
    background: #fff;
    min-height: 120px;
}

.fcnet-qfq-panel {
    display: none;
}

.fcnet-qfq-panel.active {
    display: block;
}

/* ── Grille d'éléments ───────────────────────────────────── */
.fcnet-qfq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

/* ── Item / label checkbox ───────────────────────────────── */
.fcnet-qfq-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    color: #374151;
    background: #f8fafc;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
    user-select: none;
}

.fcnet-qfq-item:hover {
    border-color: #cf0a1d;
    background: #f8fafc;
    color: #cf0a1d;
}

.fcnet-qfq-item.selected {
    border-color: #cf0a1d;
    background: #f8fafc;
    color: #cf0a1d;
    font-weight: 500;
}

/* Masquer la checkbox native, garder l'accessibilité */
.fcnet-qfq-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #cf0a1d;
    flex-shrink: 0;
    cursor: pointer;
}

/* ── Progress bar : étape masquée ───────────────────────── */
.fcnet-progress-step.fcnet-step-skipped {
    opacity: 0.35;
    pointer-events: none;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 640px) {
    .fcnet-qfq-tabs {
        gap: 2px;
    }

    .fcnet-qfq-tab {
        padding: 8px 12px;
        font-size: 0.82rem;
    }

    .fcnet-qfq-grid {
        grid-template-columns: 1fr 1fr;
    }

    .fcnet-qfq-panels {
        padding: 14px;
    }
}

/** accordéon contacts **/
.fcnet-accordion-content {
    display: none;
    margin-top: 15px;
}

.fcnet-contact-item.is-open .fcnet-accordion-content {
    display: block;
}

.fcnet-accordion-button {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fcnet-contact-item.is-open .fcnet-accordion-icon {
    transform: rotate(45deg);
}

/* ── Wrapper global ── */
.ea-wrapper {
    font-family: inherit;
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

/* ── Sélecteur de structure ── */
.ea-structure-select-wrap {
    margin-bottom: 24px;
}
.ea-structure-select-wrap label {
    display: block;
    font-size: .85rem;
    color: #555;
    margin-bottom: 6px;
}
.ea-structure-select-wrap select {
    width: 100%;
    max-width: 480px;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    appearance: auto;
    cursor: pointer;
}

/* ── Bandeau complétion ── */
.ea-completion-banner {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.ea-completion-left {
    flex: 1 1 300px;
}
.ea-completion-title {
    font-weight: 600;
    margin-bottom: 14px;
    font-size: 1rem;
}

/* ── Barre de progression ── */
.ea-progress-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 20px 18px;
    gap: 3px 3px;
}
.ea-progress-segment {
    height: 20px;
    transition: background .3s;
}
.ea-progress-label {
    font-size: 18px;
    text-align: center;
    color: #555;
    padding-top: 3px;
    text-align: center;
    font-weight: 700;
}

/* ── Actions ── */
.ea-completion-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}
.ea-btn-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ea-btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: opacity .2s;
}
.ea-btn:hover { opacity: .85; }
.ea-btn-primary  { background: #c0392b; color: #fff; }
.ea-btn-secondary { background: #27ae60; color: #fff; }

/* ── Bas de page ── */
.ea-bottom-row {
    display: flex;
    flex-direction: column;
    
    align-items: flex-start;
    flex-wrap: wrap;

}
/* ═══════════════════════════════════════════════════════════
   Espace adhérent — Encart téléchargements
   ═══════════════════════════════════════════════════════════ */
 
 
.ea-downloads-section__title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #666;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}
 
.ea-downloads-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
 
/* Bouton générique dans l'encart */
.ea-downloads-grid .ea-dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: filter .18s ease, transform .15s ease, box-shadow .18s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
    line-height: 1.3;
    border: none;
    cursor: pointer;
    border-radius: 30px;
}

 
/* Bouton annuaire : couleur neutre par défaut */
.ea-dl-btn--annuaire {
    background-color: #cf0a1d;
    border: 1px solid #cf0a1d !important;
}

.ea-dl-btn--filiere {
    background-color: var(--color);
    border: 1px solid var(--color) !important;
}
 .ea-dl-btn--filiere:hover {
    background-color: #fff;
    color: var(--color) !important;
}
.ea-dl-btn svg {
    flex-shrink: 0;
    fill: currentColor;
    width: 18px;
    height: 18px;
}
 
/* Tooltip info */
.ea-downloads-section .ea-tooltip-trigger {
    align-self: center;
    flex-shrink: 0;
    cursor: pointer;
    opacity: .7;
    transition: opacity .15s;
}
.ea-downloads-section .ea-tooltip-trigger:hover { opacity: 1; }
 
.ea-dl-btn--annuaire:hover {
    color: #cf0a1d !important;
    background-color: #fff !important;
}
@media (max-width: 600px) {
    .ea-downloads-section { padding: 16px; }
    .ea-downloads-grid { flex-direction: column; }
    .ea-downloads-grid .ea-dl-btn { width: 100%; justify-content: center; }
}
/* ── Contact privilégié ── */
.ea-contact-privilegié {
    flex: 1 1 220px;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,.07);
    background: #fff;
}
.ea-contact-placeholder {
    color: #888;
    font-size: .9rem;
}

/* ── Notice ── */
.ea-notice {
    padding: 12px 16px;
    background: #fef9e7;
    border-left: 4px solid #f39c12;
    border-radius: 4px;
}

/* ── Notification succès parution ── */
.ea-notif-success {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #eafaf1;
    border: 1px solid #27ae60;
    border-left: 5px solid #27ae60;
    border-radius: 6px;
    padding: 14px 18px;
    margin-bottom: 24px;
    font-size: .95rem;
    color: #1a6b40;
}
.ea-notif-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: #27ae60;
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: .9rem;
}
.ea-notif-text {
    flex: 1;
    line-height: 1.5;
}
.ea-notif-close {
    flex-shrink: 0;
    background: none;
    border: none;
    font-size: 1.4rem;
    line-height: 1;
    color: #27ae60;
    cursor: pointer;
    padding: 0 2px;
    opacity: .7;
    transition: opacity .15s;
}
.ea-notif-close:hover { opacity: 1; }


/* =============================================
   Structure Carousel
   ============================================= */

.structure-carousel {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 28px;
    background: #0d0d0d;
    /* Ratio 16/9 par défaut */
    aspect-ratio: 16 / 9;
    user-select: none;
}

/* Track */
.structure-carousel__track-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.structure-carousel__track {
    display: flex;
    height: 100%;
    will-change: transform;
    transition: transform 0.55s cubic-bezier(0.77, 0, 0.18, 1);
}

/* Slides */
.structure-carousel__slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
}

.structure-carousel__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Boutons prev / next */
.structure-carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    padding: 0;
}

.structure-carousel__btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-50%) scale(1.08);
}

.structure-carousel__btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.structure-carousel__btn--prev { left: 12px; }
.structure-carousel__btn--next { right: 12px; }

/* Dots */
.structure-carousel__dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 10;
}

.structure-carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease, transform 0.25s ease, width 0.3s ease;
    flex-shrink: 0;
}

.structure-carousel__dot.is-active {
    background: #fff;
    width: 22px;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .structure-carousel {
        border-radius: 8px;
        aspect-ratio: 4 / 3;
    }

    .structure-carousel__btn {
        width: 34px;
        height: 34px;
    }
}

/* slider espace adherent */

.fcnet-slider-wrap {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
}
 
.fcnet-slider-track { 
    position: relative; 
    overflow: hidden; 
    width: 420px;
    height: 220px;
    background-color: #f2f2f2;
    border-radius: 20px;
    padding-left: 20px;
    padding-right: 30px;
    padding-top: 30px;
    box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.2)
}
 
.fcnet-slide { 
    width: 100%;
    display: none; 
}
 
.fcnet-slide.active { 
    display: flex; 
    gap: 20px; 
    align-items: flex-start; 
}
 
.fcnet-slide-img img { 
    width: 200px; 
    height: 140px; 
    object-fit: cover; border-radius: 6px; 
}
 
.fcnet-slide-date { 
    font-size: .85em; 
    color: #888; 
    margin-bottom: 6px; 
}
 
.fcnet-slide-excerpt { 
    font-size: .9em; 
    color: #555; 
    margin: 0 0 10px; 
}
 
.fcnet-slide-link { 
    font-size: .85em; 
    font-weight: 600; 
    color: #cf0a1d; 
    text-decoration: none; 
}
 
.fcnet-slider-nav { 
    
    display: flex; 
    justify-content: center;
    align-items: center; 
    gap: 12px; 
    margin-top: 14px; 
    width: 420px;
}
 
.fcnet-prev,  .fcnet-next { 
    background: none;
    border: none;
    font-size: 2rem;
    color: #cf0a1d;
    cursor: pointer;
    outline: none;
    padding: 0 10px;
}
 
.fcnet-counter { 
    font-size: .85em; 
    color: #666; 
}

.fcnet-slider-wrap .vertical-title.actus, 
.fcnet-slider-wrap .vertical-title.agenda {
    margin-top: 0px;
    height: 147px !important;
    left: 30px;
    top: 176px;
    z-index: -1;
}

.fcnet-slider-wrap .vertical-title h3 {
    font-size: 22px !important;
}

.fcnet-slider-wrap.agenda .fcnet-slider-track {
    background-color: #fff !important;
}

.fcnet-slider-wrap .fcnet-slide-excerpt { 
    max-height: 100px !important;
    overflow-y: auto !important;
}
.fcnet-slider-wrap.actualite .fcnet-slide .event {
    margin-left: 70px;
}

.fcnet-slider-wrap .fcnet-slide .event {
    width: 100%;
}

.fcnet-slider-wrap .fcnet-slide .event .info {
    width: 290px;
}

