/* ============================================
   OFFERS PAGES - Styles des pages d'offres
   ============================================ */

/* === HERO OFFRE === */
.offer-hero {
    min-height: 60vh;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 20px 80px;
    position: relative;
    overflow: hidden;
}

.offer-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.offer-hero-content {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.offer-hero-text {
    color: var(--white);
}

.offer-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    opacity: 0.9;
}

.offer-breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.offer-breadcrumb a:hover {
    opacity: 0.7;
}

.offer-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
}

.offer-hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.95;
}

.offer-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-badge i {
    font-size: 18px;
}

.offer-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-icon-large {
    width: 280px;
    height: 280px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    color: var(--white);
    border: 8px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: float 6s ease-in-out infinite;
}

/* === SECTIONS CONTENU === */
.offer-details {
    padding: 80px 0;
    background: var(--white);
}

.offer-advantages {
    padding: 80px 0;
    background: var(--gradient-bg);
}

.offer-conditions {
    padding: 80px 0;
    background: var(--white);
}

.offer-process {
    padding: 80px 0;
    background: var(--gradient-bg);
}

.offer-faq {
    padding: 80px 0;
    background: var(--white);
}

.offer-cta-section {
    padding: 100px 0;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
}

/* === GRILLES === */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.advantage-card {
    padding: 32px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
}

.advantage-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--neutral-900);
}

.advantage-card p {
    color: var(--neutral-600);
    line-height: 1.6;
}

/* === CONDITIONS === */
.conditions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.condition-category {
    background: var(--gradient-bg);
    padding: 32px;
    border-radius: 20px;
    border-left: 4px solid var(--primary-color);
}

.condition-category h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--neutral-900);
    display: flex;
    align-items: center;
    gap: 12px;
}

.condition-category h3 i {
    color: var(--primary-color);
}

.condition-list {
    list-style: none;
    padding: 0;
}

.condition-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--neutral-300);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.condition-list li:last-child {
    border-bottom: none;
}

.condition-list li i {
    color: var(--success-color);
    margin-top: 4px;
    flex-shrink: 0;
}

/* === PROCESSUS === */
.process-timeline {
    margin-top: 60px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.process-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
}

.process-step:nth-child(even) .process-content {
    order: 1;
}

.process-step:nth-child(even) .process-visual {
    order: 0;
}

.process-number {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    box-shadow: 0 0 0 8px var(--white), var(--shadow-lg);
    z-index: 2;
}

.process-content {
    background: var(--white);
    padding: 32px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.process-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--neutral-900);
}

.process-content p {
    color: var(--neutral-600);
    line-height: 1.6;
}

.process-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-icon {
    width: 150px;
    height: 150px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: var(--white);
    box-shadow: var(--shadow-xl);
}

/* === FAQ === */
.faq-list {
    max-width: 900px;
    margin: 60px auto 0;
}

.faq-item {
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 2px solid var(--neutral-200);
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: var(--neutral-900);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    font-size: 20px;
    transition: var(--transition);
    color: var(--primary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 24px 24px;
    color: var(--neutral-600);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* === CTA SECTION === */
.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    font-weight: 800;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button-white {
    background: var(--white);
    color: var(--primary-color);
    padding: 18px 36px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    border: none;
    cursor: pointer;
}

.cta-button-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .offer-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .offer-hero-features {
        justify-content: center;
    }

    .process-timeline::before {
        left: 30px;
    }

    .process-step {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-left: 80px;
    }

    .process-step:nth-child(even) .process-content,
    .process-step:nth-child(even) .process-visual {
        order: 0;
    }

    .process-number {
        left: 30px;
        transform: translateY(-50%);
    }

    .process-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .offer-hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }

    .offer-hero h1 {
        font-size: 2rem;
    }

    .offer-hero-description {
        font-size: 1rem;
    }

    .offer-icon-large {
        width: 200px;
        height: 200px;
        font-size: 80px;
    }

    .conditions-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-button,
    .cta-button-white {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .offer-hero-features {
        flex-direction: column;
    }

    .feature-badge {
        width: 100%;
        justify-content: center;
    }

    .faq-question {
        font-size: 16px;
        padding: 20px;
    }

    .process-step {
        padding-left: 60px;
    }
}