/* ================================================
   ATH — HERO SLIDER FRONTEND CSS
   Version « Split Hero » — texte à gauche, photo
   plein cadre à droite, badges de confiance en
   ligne sous les boutons CTA.
   -----------------------------------------------
   TITRE      : Poppins ExtraBold — 46/36/28px — line-height 1.25
   SOUS-TEXTE : Poppins Regular  — 17/16/14px — line-height 1.6
   BOUTON     : Poppins SemiBold — 14/13/12px — MAJUSCULES — letter-spacing 0.6px
   -----------------------------------------------
   COULEURS   : #0B4F59 (accent) | #15181B (texte) | #5B6166 (gris) | #F2F2F2 (fond)
================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --ath-accent:      #0B4F59;
    --ath-accent-dark: #073B43;
    --ath-black:       #15181B;
    --ath-dark:        #2B2F32;
    --ath-gray:        #5B6166;
    --ath-gray-light:  #8A8F93;
    --ath-border:      #E1E4E6;
    --ath-bg:          #F2F2F2;
    --ath-white:       #FFFFFF;
}

.ath-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--ath-bg);
    font-family: 'Poppins', sans-serif;
    user-select: none;
}

.ath-slides-track {
    position: relative;
    width: 100%;
}

.ath-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    min-height: 600px;
    background-color: var(--ath-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}

.ath-slide.ath-slide-active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.ath-overlay {
    position: absolute;
    inset: 0;
    background: #111;
    pointer-events: none;
    z-index: 1;
}

/* ---- LAYOUT PRINCIPAL : 2 COLONNES ---- */
.ath-slide-inner {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 600px;
    position: relative;
    z-index: 2;
}

.ath-slide-content {
    flex: 0 1 640px;
    max-width: 640px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px 48px;
}

.ath-align-right .ath-slide-inner { flex-direction: row-reverse; }

.ath-align-center .ath-slide-inner { flex-direction: column; justify-content: center; }
.ath-align-center .ath-slide-content { max-width: 760px; width: 100%; margin: 0 auto; text-align: center; align-items: center; padding: 56px 24px 0; }
.ath-align-center .ath-slide-ctas { justify-content: center; }
.ath-align-center .ath-trust-row-inline { justify-content: center; }
.ath-align-center .ath-slide-image-wrap { flex: 1 1 auto; min-height: 260px; }

/* SUBTITLE (eyebrow) */
.ath-slide-subtitle {
    font-size: 13px;
    font-weight: 700;
    color: var(--ath-accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.ath-slide-title {
    font-family: 'Poppins', sans-serif;
    font-size: 46px;
    font-weight: 800;
    color: var(--ath-black);
    line-height: 1.25;
    letter-spacing: -0.3px;
    margin: 0 0 18px;
}

.ath-highlight {
    color: var(--ath-accent);
}

.ath-slide-desc {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: var(--ath-gray);
    line-height: 1.6;
    margin: 0 0 32px;
    max-width: 460px;
}
.ath-align-center .ath-slide-desc { max-width: 600px; margin-left: auto; margin-right: auto; }

.ath-slide-ctas {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.ath-cta-btn {
    display: inline-flex;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border-radius: 6px;
    padding: 13px 24px;
    border: 1.5px solid transparent;
    white-space: nowrap;
}

.ath-cta-primary {
    background: var(--ath-accent);
    color: var(--ath-white);
    border-color: var(--ath-accent);
}
.ath-cta-primary:hover {
    background: var(--ath-accent-dark);
    border-color: var(--ath-accent-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(11,79,89,0.25);
}

.ath-cta-secondary {
    background: var(--ath-white);
    color: var(--ath-black);
    border-color: var(--ath-border);
}
.ath-cta-secondary:hover {
    border-color: var(--ath-accent);
    color: var(--ath-accent);
}

.ath-trust-row-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.ath-trust-item-inline {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.ath-trust-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    margin-top: 1px;
    color: var(--ath-accent);
}
.ath-trust-icon svg { width: 100%; height: 100%; display: block; }

.ath-trust-item-inline div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ath-trust-item-inline strong {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--ath-black);
    line-height: 1.3;
}
.ath-trust-item-inline span {
    font-family: 'Poppins', sans-serif;
    font-size: 11.5px;
    color: var(--ath-gray-light);
    line-height: 1.3;
}

.ath-slide-image-wrap {
    flex: 1 1 auto;
    position: relative;
    overflow: hidden;
    min-height: 260px;
}

.ath-product-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ath-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: var(--ath-white);
    border: 1.5px solid var(--ath-border);
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(17,17,17,0.09);
    color: var(--ath-black);
}
.ath-arrow:hover {
    background: var(--ath-accent);
    border-color: var(--ath-accent);
    color: #fff;
    box-shadow: 0 8px 24px rgba(11,79,89,0.25);
}
.ath-arrow svg { transition: stroke 0.25s ease; }
.ath-arrow-prev { left: 20px; }
.ath-arrow-next { right: 20px; }

.ath-dots {
    position: absolute;
    bottom: 22px;
    left: 50%; transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}
.ath-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(17,17,17,0.18);
    border: none; cursor: pointer;
    padding: 0; transition: all 0.3s ease;
}
.ath-dot-active {
    background: var(--ath-accent);
    width: 28px;
    border-radius: 4px;
}

.ath-slide[data-animation="slide"] { transition: transform 0.75s cubic-bezier(0.4,0,0.2,1), opacity 0.75s; transform: translateX(60px); }
.ath-slide[data-animation="slide"].ath-slide-active { transform: translateX(0); }
.ath-slide[data-animation="zoom"] { transition: transform 0.85s cubic-bezier(0.4,0,0.2,1), opacity 0.85s; transform: scale(1.04); }
.ath-slide[data-animation="zoom"].ath-slide-active { transform: scale(1); }

.ath-slide-active .ath-slide-subtitle     { animation: ath-fade-up 0.6s 0.1s both; }
.ath-slide-active .ath-slide-title        { animation: ath-fade-up 0.65s 0.2s both; }
.ath-slide-active .ath-slide-desc         { animation: ath-fade-up 0.6s 0.3s both; }
.ath-slide-active .ath-slide-ctas         { animation: ath-fade-up 0.6s 0.4s both; }
.ath-slide-active .ath-trust-row-inline   { animation: ath-fade-up 0.6s 0.5s both; }
.ath-slide-active .ath-slide-image-wrap   { animation: ath-fade-in 0.9s 0.15s both; }

@keyframes ath-fade-up {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes ath-fade-in {
    from { opacity: 0; transform: scale(0.98); }
    to   { opacity: 1; transform: scale(1); }
}

@media (max-width: 1024px) {
    .ath-slide, .ath-slide-inner { min-height: 540px; }
    .ath-slide-content { flex-basis: 440px; max-width: 440px; padding: 48px 32px; }
    .ath-slide-title { font-size: 36px; }
    .ath-slide-desc  { font-size: 16px; max-width: 100%; }
    .ath-cta-btn     { font-size: 13px; padding: 12px 22px; }
    .ath-trust-row-inline { gap: 20px; }
}

@media (max-width: 768px) {
    .ath-slide, .ath-slide-inner { min-height: auto; }
    .ath-slide-inner,
    .ath-align-right .ath-slide-inner {
        flex-direction: column;
    }
    .ath-slide-image-wrap { order: -1; width: 100%; min-height: 300px; }
    .ath-slide-content {
        flex-basis: auto; max-width: 100%; width: 100%;
        padding: 36px 28px;
    }
    .ath-slide-subtitle { margin-bottom: 14px; }
    .ath-slide-title { font-size: 28px; margin-bottom: 14px; }
    .ath-slide-desc { font-size: 14px; margin-bottom: 26px; }
    .ath-slide-ctas { margin-bottom: 28px; }
    .ath-cta-btn { font-size: 12px; padding: 12px 20px; }
    .ath-trust-row-inline { gap: 18px 24px; }
    .ath-trust-item-inline strong { font-size: 12.5px; }
    .ath-trust-item-inline span { font-size: 11px; }
    .ath-arrow { width: 38px; height: 38px; }
    .ath-arrow-prev { left: 8px; }
    .ath-arrow-next { right: 8px; }
    .ath-dots { bottom: 14px; }
}

@media (max-width: 480px) {
    .ath-slide-image-wrap { min-height: 220px; }
    .ath-slide-content { padding: 28px 20px; }
    .ath-slide-title { font-size: 25px; }
    .ath-trust-row-inline { flex-direction: column; gap: 14px; }
}





/* ---- NAVIGATION ARROWS - PREMIUM STYLE ---- */
.ath-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30; /* Augmenté pour éviter tout chevauchement */
    
    /* Effet Glassmorphism */
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    
    width: 56px; /* Agrandit légèrement pour un effet luxe */
    height: 56px;
    border-radius: 50%;
    
    display: flex; 
    align-items: center; 
    justify-content: center;
    cursor: pointer;
    color: var(--ath-black);
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.08);
    
    /* Animations fluides */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Effet de remplissage au survol */
.ath-arrow::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ath-accent);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.ath-arrow:hover {
    color: var(--ath-white);
    border-color: transparent;
    box-shadow: 0 12px 32px rgba(11, 79, 89, 0.25);
    transform: translateY(-50%) scale(1.05); /* Léger pop */
}

.ath-arrow:hover::before {
    transform: scale(1);
}

/* Mouvement directionnel de l'icône */
.ath-arrow svg {
    transition: transform 0.3s ease;
    z-index: 2;
}

.ath-arrow-prev:hover svg {
    transform: translateX(-3px); /* Décale vers la gauche */
}

.ath-arrow-next:hover svg {
    transform: translateX(3px); /* Décale vers la droite */
}

/* Espacement plus généreux sur Desktop */
.ath-arrow-prev { left: 32px; }
.ath-arrow-next { right: 32px; }



@media (max-width: 768px) {
    .ath-arrow { 
        width: 44px; 
        height: 44px; 
        backdrop-filter: blur(4px); /* Allégé pour les perfs mobiles */
    }
    .ath-arrow-prev { left: 12px; }
    .ath-arrow-next { right: 12px; }
}



/* ---- FIX ULTRA-STRICT POUR SVG (ASTRA / ELEMENTOR) ---- */
.ath-slider-wrapper button.ath-arrow svg {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 2;
    transition: transform 0.3s ease !important;
}

/* Ciblage direct du tracé (path) pour forcer le dessin de l'icône */
.ath-slider-wrapper button.ath-arrow svg path {
    fill: none !important;
    stroke: #15181B !important; /* Force la couleur foncée en ignorant les thèmes */
    stroke-width: 1.5px !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: stroke 0.3s ease !important;
}

/* Changement de couleur du tracé au survol */
.ath-slider-wrapper button.ath-arrow:hover svg path {
    stroke: #FFFFFF !important; /* Passe en blanc */
}

/* Animations directionnelles conservées */
.ath-slider-wrapper button.ath-arrow-prev:hover svg {
    transform: translateX(-3px) !important;
}

.ath-slider-wrapper button.ath-arrow-next:hover svg {
    transform: translateX(3px) !important;
}