/* ============================================
   Années Personnelles - Carrousel Styles
   Style Landing Page Exact
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

.apc-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #E1C9F0 0%, #d4b8e8 50%, #c9a8e0 100%);
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
}

.apc-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(193, 74, 189, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.apc-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.apc-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 4px;
    color: #C14ABD;
    text-transform: uppercase;
    margin: 0 0 15px 0;
}

.apc-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px;
    font-weight: 400;
    color: #6A20E3;
    margin: 0;
    line-height: 1.1;
}

.apc-title span {
    display: block;
    font-size: 72px;
    font-style: italic;
    color: #C14ABD;
    margin-top: 5px;
}

.apc-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #6A20E3;
    margin: 20px 0 0 0;
    opacity: 0.85;
}

/* ============================================
   Carrousel Container
   ============================================ */

.apc-carousel {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 1;
}

.apc-wrapper {
    flex: 1;
    overflow: hidden;
    padding: 20px 0;
}

.apc-track {
    display: flex;
    gap: 25px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.apc-slide {
    flex: 0 0 calc(33.333% - 17px);
    min-width: 350px;
}

/* ============================================
   Year Cards - Style Landing Page
   ============================================ */

.apc-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    height: 100%;
    min-height: 420px;
    box-shadow: 0 8px 32px rgba(106, 32, 227, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.apc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--card-color, #C14ABD);
    z-index: 2;
}

.apc-card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
}

.apc-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.apc-card:hover .apc-card-image img {
    transform: scale(1.05);
}

.apc-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(255,255,255,0.9), transparent);
}

.apc-card-content {
    padding: 25px 30px 35px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.apc-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(106, 32, 227, 0.2);
    background: rgba(255, 255, 255, 0.85);
}

.apc-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.apc-card-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 72px;
    font-weight: 400;
    line-height: 1;
    color: var(--card-color, #C14ABD);
}

.apc-card-type {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(106, 32, 227, 0.5);
    text-transform: uppercase;
}

.apc-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 500;
    color: #6A20E3;
    margin: 0 0 5px 0;
}

.apc-card-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-style: italic;
    font-weight: 400;
    color: #C14ABD;
    margin: 0 0 20px 0;
}

.apc-card-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #6A20E3;
    line-height: 1.8;
    margin: 0 0 25px 0;
    flex-grow: 1;
}

.apc-card-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-style: italic;
    color: #C14ABD;
    line-height: 1.5;
    padding: 15px 0 0 0;
    border-top: 1px solid rgba(193, 74, 189, 0.2);
    position: relative;
}

.apc-card-quote::before {
    content: '"';
    font-size: 40px;
    color: rgba(193, 74, 189, 0.3);
    position: absolute;
    top: -5px;
    left: -5px;
    font-family: 'Cormorant Garamond', serif;
}

/* ============================================
   Navigation Buttons
   ============================================ */

.apc-nav {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(193, 74, 189, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6A20E3;
    box-shadow: 0 4px 20px rgba(106, 32, 227, 0.15);
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.apc-nav:hover {
    background: #C14ABD;
    border-color: #C14ABD;
    color: #ffffff;
    transform: scale(1.1);
}

.apc-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.5);
}

.apc-nav svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   Dots Navigation
   ============================================ */

.apc-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.apc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #C14ABD;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.apc-dot.active {
    background: #C14ABD;
    transform: scale(1.3);
}

.apc-dot:hover {
    background: rgba(193, 74, 189, 0.5);
}

/* ============================================
   Responsive Styles
   ============================================ */

@media (max-width: 1200px) {
    .apc-slide {
        flex: 0 0 calc(50% - 13px);
        min-width: 320px;
    }
    
    .apc-title {
        font-size: 48px;
    }
    
    .apc-title span {
        font-size: 60px;
    }
}

@media (max-width: 768px) {
    .apc-section {
        padding: 60px 15px;
    }
    
    .apc-title {
        font-size: 36px;
    }
    
    .apc-title span {
        font-size: 44px;
    }
    
    .apc-description {
        font-size: 14px;
    }
    
    .apc-slide {
        flex: 0 0 100%;
        min-width: 280px;
    }
    
    .apc-card {
        min-height: 380px;
    }
    
    .apc-card-image {
        height: 150px;
    }
    
    .apc-card-content {
        padding: 20px 20px 25px;
    }
    
    .apc-card-number {
        font-size: 56px;
    }
    
    .apc-card-title {
        font-size: 24px;
    }
    
    .apc-card-subtitle {
        font-size: 18px;
    }
    
    .apc-card-desc {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .apc-title {
        font-size: 28px;
    }
    
    .apc-title span {
        font-size: 36px;
    }
    
    .apc-subtitle {
        font-size: 10px;
        letter-spacing: 2px;
    }
    
    .apc-card-number {
        font-size: 48px;
    }
    
    .apc-card-title {
        font-size: 22px;
    }
}

/* ============================================
   Touch/Swipe Support
   ============================================ */

.apc-wrapper {
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

.apc-track {
    will-change: transform;
}
