/* ================================
   STRUCTURE DES SECTIONS
================================ */
.sidebar-section {
    background: #ffffff;
    padding: 18px 20px;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 22px; /* 🔥 espace entre les blocs */
}
.sidebar-section:last-child {
    margin-bottom: 0;
}


/* ================================
   TITRES DE SECTIONS
================================ */
.sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    padding-bottom: 6px;
    border-bottom: 2px solid #e2e8f0;

    /* 🔥 Dégradé bleu premium sur le texte */
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ================================
   CTA PREMIUM (TEXTE + FLÈCHE)
================================ */
/* Bouton premium : ton style conservé */
/* Bouton premium bombé VERT */
/* ============================
   CTA PREMIUM VERT BOMBÉ
   largeur limitée + anti-débordement
============================ */
.cta-btn-premium {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: flex-start; /* 🔥 rapproche flèche + texte */
    gap: 10px; /* 🔥 contrôle la distance */

    /* Dégradé vert premium */
    background: linear-gradient(145deg, #22c55e, #15803d);
    border-radius: 22px;
    padding: 15px 20px;

    /* Effet bombé */
    box-shadow:
        inset 0 2px 4px rgba(255,255,255,0.25),
        0 6px 18px rgba(34,197,94,0.35);

    color: white;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 700;
    transition: 0.25s ease;

    /* 🔥 Limitation largeur */
    max-width: 280px;
    width: 100%;
    margin: 0 auto;

    /* 🔥 Empêche la flèche de dépasser */
    overflow: hidden;
}

/* Hover bombé vert */
.cta-btn-premium:hover {
    transform: translateY(-3px);
    box-shadow:
        inset 0 2px 4px rgba(255,255,255,0.3),
        0 10px 26px rgba(34,197,94,0.45);
}

/* Conteneur flèche */
.cta-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; /* 🔥 réduit pour éviter débordement */
}

/* ============================
   ANIMATION FLÈCHE OR
   slide + stretch + anti-débordement
============================ */
@keyframes arrowGrowSlide {
    0% {
        transform: translateX(0) scaleX(1) scaleY(0.7);
        stroke-width: 3;
    }
    30% {
        transform: translateX(12px) scaleX(1.15) scaleY(0.9);
        stroke-width: 4;
    }
    60% {
        transform: translateX(28px) scaleX(1.25) scaleY(1.1);
        stroke-width: 5;
    }
    80% {
        transform: translateX(38px) scaleX(1.35) scaleY(1.25); /* 🔥 ajusté pour ne plus dépasser */
        stroke-width: 6;
    }
    100% {
        transform: translateX(0) scaleX(1) scaleY(0.7);
        stroke-width: 3;
    }
}

/* Flèche OR premium discontinue */
.arrow-icon {
    width: 48px;   /* 🔥 légèrement réduite pour éviter débordement */
    height: 28px;
    stroke: #f6d37a;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: arrowGrowSlide 3.2s ease-in-out infinite;
}



/* ================================
   LISTES PREMIUM
================================ */
.sidebar-list {
    margin: 0;
    padding-left: 18px;
    color: #475569;
    line-height: 1.55;
    font-size: 0.95rem;
}

/* ================================
   CAROUSEL (compact)
================================ */
.sidebar-section.carousel-section > div {
    padding: 0 !important;
    margin: 0 !important;
}

.sidebar-section.carousel-section {
    gap: 8px !important;
    padding: 10px 12px !important;
}

.sidebar-carousel {
    padding: 0;
}

/* ================================
   CONTACT PREMIUM
================================ */
.sidebar-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sidebar-contact-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 8px;
    border-radius: 14px;
    text-decoration: none;
    color: #1f2933;
    background: #f9fafb;
    border: 2px solid transparent;
    transition: 0.25s ease;
}

.sidebar-contact-card.call {
    border-color: #2563eb;
    background: #eff6ff;
}

.sidebar-contact-card.whatsapp {
    border-color: #25D366;
    background: #e8fff1;
}

.sidebar-contact-card.email {
    border-color: #f59e0b;
    background: #fff7e6;
}

.sidebar-contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.sidebar-contact-card .icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-contact-card .text h4 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.sidebar-contact-card .text p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}
