
:root {
    --green: #00853f;
   
    --red: #e31b23;
    --text: #333;
    --bg: #fff;
}

.adhesion-section {
    background-color: #f4f4f4;
    padding: 4rem 0;
}

.adhesion-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.adhesion-intro {
    text-align: center;
    margin-bottom: 3rem;
    color: #666;
}

.btn-adhesion-direct {
    display: inline-block;
    padding: 1rem 2rem;
    background: #ffd700;
    color: var(--green);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid var(--yellow);
}

.btn-adhesion-direct:hover {
    background: transparent;
    color: var(--green);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.adhesion-header h1 {
    display: inline-block;
    position: relative;
    margin-bottom: 1rem;
}

.adhesion-header h1:after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background : var(--green);
    background: var(--green);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tarif-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.tarif-card:hover {
    transform: translateY(-10px);
}

.tarif-header {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
}

.tarif-price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-top: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--green);
}

.currency, .period {
    margin-left: 0.5rem;
    color: #666;
}

.tarif-description {
    margin-bottom: 1.5rem;
}

.tarif-avantages ul {
    list-style-type: none;
    padding: 0;
}

.tarif-avantages li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.tarif-avantages li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
}

.btn-adhesion {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--green);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1.5rem;
    transition: background 0.3s;
}

.btn-adhesion:hover {
    background: #006e33;
}

.adhesion-info {
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.info-item i {
    font-size: 3rem;
    color: var(--green);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .tarifs-grid,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .adhesion-header {
        flex-direction: column;
        align-items: center;
    }

    .btn-adhesion-direct {
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }
}

/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

.btn-adhesion-direct:hover {
    animation: pulse 1.5s infinite;
}

.btn-adhesion-direct {
    position: relative;
    overflow: hidden;
}

.btn-adhesion-direct:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.btn-adhesion-direct:hover:before {
    left: 100%;
}
