/* Click & Collect section - Charte graphique moderne et chaleureuse */
@font-face {
    font-family: 'ThirstyScriptExtraBoldDemo';
    src: url('/assets/fonts/ThirstyScriptExtraBoldDemo.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

.click-collect {
    padding: 6rem 1rem;
    background-color: #fdf6f0;
    position: relative;
}

.click-collect-container {
    max-width: 1200px;
    margin: 0 auto;
}

.click-collect-title {
    font-family: 'ThirstyScriptExtraBoldDemo', cursive;
    color: #1e1e1e;
    font-size: 3rem;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    animation: fadeIn 1s ease-out;
}

.click-collect-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #a67c52, #e8d8c3);
    margin: 0.5rem auto 0;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(166, 124, 82, 0.2);
    transition: width 0.3s ease;
}

.cc-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    animation: fadeIn 1.2s ease-out;
}

.cc-step {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-left: 3px solid #a67c52;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cc-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: #a67c52;
    transform: scaleY(0);
    transition: transform 0.4s ease;
    transform-origin: top;
}

.cc-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(166, 124, 82, 0.15);
}

.cc-step:hover::before {
    transform: scaleY(1);
}

.cc-step-icon {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    color: #a67c52;
    text-shadow: 1px 1px 1px rgba(166, 124, 82, 0.1);
    transition: all 0.3s ease;
}

.cc-step:hover .cc-step-icon {
    transform: scale(1.1);
    color: #8a6642;
}

.cc-step-label {
    font-family: 'Rubik', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
    color: #1e1e1e;
    position: relative;
    transition: all 0.3s ease;
}

.cc-step:hover .cc-step-label {
    color: #a67c52;
}

.cc-step-desc {
    font-family: 'Rubik', 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 1rem;
}

.click-collect-cta {
    text-align: center;
    margin-top: 4rem;
    animation: fadeInUp 1.5s ease-out;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #a67c52;
    color: white;
    font-family: 'Rubik', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(166, 124, 82, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(30deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.cta-button:hover {
    background-color: #8a6642;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(166, 124, 82, 0.3);
}

.cta-button:hover::before {
    left: 120%;
    opacity: 0.8;
}

.cta-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(166, 124, 82, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .click-collect {
        padding: 4rem 1rem;
    }
    
    .click-collect-title {
        font-size: 2.4rem;
    }
    
    .cc-step {
        padding: 1.5rem;
    }
    
    .cc-step-label {
        font-size: 1.1rem;
    }
    
    .cc-step-icon {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .click-collect-title {
        font-size: 2rem;
    }
    
    .cc-steps {
        gap: 1.5rem;
    }
    
    .cc-step-desc {
        font-size: 0.9rem;
    }
    
    .click-collect-cta {
        margin-top: 2.5rem;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
        padding: 0.9rem 1.5rem;
    }
}
