/* =========================================================
   bwa-scb — Service CTA Banner
   Source: DroneInspection.tsx lines 505-531
   BEM scoped, no global resets
   ========================================================= */

/* --- Animations --- */

.bwa-scb [data-anim] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.bwa-scb.is-inview [data-anim] {
    opacity: 1;
    transform: none;
}

/* --- Root --- */
/* section-padding bg-primary relative overflow-hidden */

.bwa-scb {
    background-color: hsl(220 25% 15%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px)  { .bwa-scb { padding: 6rem 0; } }
@media (min-width: 1024px) { .bwa-scb { padding: 8rem 0; } }

/* --- Pattern overlay --- */

.bwa-scb__pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
}

/* --- Container --- */

.bwa-scb__container {
    width: 100%;
    max-width: 85rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* --- Inner : max-w-3xl mx-auto text-center --- */

.bwa-scb__inner {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

/* --- Titre --- */
/* section-title text-white */

.bwa-scb__title {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-top: 0 !important;
    margin-bottom: 1.5rem !important;
}

@media (min-width: 768px)  { .bwa-scb__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .bwa-scb__title { font-size: 3rem; } }

/* --- Description --- */
/* text-xl text-white/80 mb-8 */

.bwa-scb__description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* --- Actions --- */
/* flex flex-col sm:flex-row gap-4 justify-center */

.bwa-scb__actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .bwa-scb__actions {
        flex-direction: row;
    }
}

/* --- CTA primaire --- */
/* cta-primary : gradient + arrow */

.bwa-scb__cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, hsl(5 85% 50%) 0%, hsl(30 95% 55%) 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.bwa-scb__cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px hsl(15 90% 55% / 0.4);
    opacity: 0.9;
}

/* --- CTA secondaire (téléphone) --- */
/* cta-secondary border-white/30 text-white hover:bg-white/10 */

.bwa-scb__cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.bwa-scb__cta-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.bwa-scb__phone-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

/* --- Note --- */
/* text-white/60 text-sm mt-6 */

.bwa-scb__note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1.5rem !important;
    margin-bottom: 0 !important;
}

/* --- Responsive padding --- */

@media (max-width: 767px) {
    .bwa-scb__container { padding-inline: 1.25rem; }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .bwa-scb__container { padding-inline: 2rem; }
}

@media (min-width: 1024px) and (max-width: 1439px) {
    .bwa-scb__container { padding-inline: 2rem; }
}
