/**
 * Styles spécifiques pour la page Opportunité Edmark
 * @package BornToWin
 * @since 1.0.0
 */

/* ==========================================================================
   VARIABLES CSS LOCALES
   ========================================================================== */

:root {
    --color-primary: #2E7D2E;
    --color-accent: #2E7D2E;
    --color-gold: #FFD700;
    --color-red: #8B0000;
    --color-text: #333333;
    --color-background: #F5F5F5;
    --color-white: #FFFFFF;
    --color-gray-light: #F5F5F5;
}

/* ==========================================================================
   PAGE EDMARK - SECTIONS GÉNÉRALES
   ========================================================================== */

.page-opportunite {
    background-color: var(--color-background);
    display: block;
}

.page-opportunite section {
    display: block;
    width: 100%;
    clear: both;
    margin-bottom: 0;
}

.page-opportunite .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   SECTION 1: HERO EDMARK
   ========================================================================== */

.edmark-hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.hero-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    min-height: 500px;
}

@media (max-width: 768px) {
    .hero-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        min-height: auto;
        text-align: center;
    }
}

.hero-text-content {
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-primary);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(46, 125, 46, 0.3);
}

.hero-badge i {
    font-size: 0.8rem;
}

.edmark-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 40px;
}

.hero-mission-box {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 40px 0;
    border-left: 5px solid var(--color-primary);
}

.hero-mission-box h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.mission-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mission-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    color: var(--color-text);
}

.mission-item i {
    font-size: 1.2rem;
    color: var(--color-gold);
    width: 20px;
}

.btn-edmark-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--color-primary);
    color: white;
    padding: 18px 35px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(46, 125, 46, 0.3);
}

.btn-edmark-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(46, 125, 46, 0.4);
    background: var(--color-gold);
    color: var(--color-text);
}

/* Hero Image */
.hero-image-content {
    position: relative;
    z-index: 2;
}

.edmark-image-container {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.edmark-image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.hero-edmark-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.edmark-image-frame:hover .hero-edmark-img {
    transform: scale(1.05);
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    z-index: 3;
}

.decoration-circle {
    background: var(--edmark-orange);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.decoration-circle i {
    font-size: 1.5rem;
    color: white;
}

/* ==========================================================================
   SECTION 2: PRODUITS PHARES
   ========================================================================== */

.edmark-produits {
    padding: 100px 0;
    background: white;
}

.produits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.produit-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.produit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    border-color: var(--edmark-blue);
}

.produit-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
}

.produit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 102, 204, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.produit-card:hover .image-overlay {
    opacity: 1;
}

.btn-voir-details {
    background: white;
    color: var(--edmark-blue);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-voir-details:hover {
    transform: scale(1.1);
}

.produit-content {
    padding: 25px;
}

.produit-nom {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 15px;
    line-height: 1.3;
}

.produit-prix {
    margin-bottom: 20px;
}

.prix {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--edmark-orange);
}

.devise {
    font-size: 1rem;
    color: var(--color-text);
    margin-left: 5px;
}

.produit-actions {
    display: flex;
    gap: 10px;
}

.btn-produit-details,
.btn-produit-commander {
    flex: 1;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-produit-details {
    background: transparent;
    color: var(--edmark-blue);
    border: 2px solid var(--edmark-blue);
}

.btn-produit-details:hover {
    background: var(--edmark-blue);
    color: white;
}

.btn-produit-commander {
    background: var(--edmark-orange);
    color: white;
    border: 2px solid var(--edmark-orange);
}

.btn-produit-commander:hover {
    background: transparent;
    color: var(--edmark-orange);
}

/* ==========================================================================
   SECTION 3: OPPORTUNITÉ BUSINESS
   ========================================================================== */

.edmark-business {
    padding: 100px 0;
    background: #f8f9fa;
}

.business-content {
    display: grid;
    gap: 60px;
}

.business-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.business-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--edmark-blue);
    margin-bottom: 25px;
}

.business-text p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--color-text);
    margin: 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--edmark-blue);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--edmark-blue), var(--edmark-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
}

.benefit-titre {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--edmark-blue);
    margin-bottom: 15px;
}

.benefit-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    margin: 0;
}

/* ==========================================================================
   SECTION 4: PLAN DE COMPENSATION
   ========================================================================== */

.edmark-compensation {
    padding: 100px 0;
    background: white;
}

.compensation-content {
    display: grid;
    gap: 60px;
}

.compensation-image {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.plan-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.plan-image:hover {
    transform: scale(1.02);
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.bonus-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border-left: 4px solid var(--edmark-blue);
    transition: all 0.3s ease;
}

.bonus-item:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.bonus-number {
    background: linear-gradient(135deg, var(--edmark-blue), var(--edmark-orange));
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.bonus-content {
    flex: 1;
}

.bonus-nom {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--edmark-blue);
    margin-bottom: 8px;
}

.bonus-pourcentage {
    background: var(--edmark-orange);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 10px;
}

.bonus-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--color-text);
    margin: 0;
}

/* ==========================================================================
   SECTION 5: CALL-TO-ACTION FINAL
   ========================================================================== */

.edmark-cta {
    padding: 120px 0;
    background: #f8f9fa;
    position: relative;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 60px 40px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0,0,0,0.08);
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--edmark-blue);
    margin-bottom: 25px;
    line-height: 1.2;
}

.cta-description {
    font-size: 1.1rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.8;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.btn-cta-primary,
.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 240px;
    justify-content: center;
}

.btn-cta-primary {
    background: var(--edmark-blue);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.2);
    border: 2px solid var(--edmark-blue);
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 102, 204, 0.3);
    background: var(--edmark-orange);
    border-color: var(--edmark-orange);
    color: white;
}

.btn-cta-secondary {
    background: transparent;
    color: var(--edmark-blue);
    border: 2px solid var(--edmark-blue);
}

.btn-cta-secondary:hover {
    background: var(--edmark-blue);
    color: white;
    transform: translateY(-2px);
}

/* ==========================================================================
   FLOATING ELEMENTS
   ========================================================================== */

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.float-element {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.float-heart {
    top: 20%;
    left: 10%;
    color: var(--edmark-orange);
    animation-delay: 0s;
}

.float-dollar {
    top: 50%;
    right: 15%;
    color: var(--edmark-blue);
    animation-delay: 2s;
}

.float-leaf {
    bottom: 30%;
    left: 15%;
    color: var(--color-primary);
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* ==========================================================================
   MODAL PRODUITS
   ========================================================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.modal-container {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}

.modal-header {
    padding: 30px 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--edmark-blue);
    margin: 0;
    flex: 1;
    line-height: 1.3;
}

.modal-close {
    background: #f8f9fa;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-text);
    transition: all 0.3s ease;
    margin-left: 15px;
}

.modal-close:hover {
    background: var(--edmark-orange);
    color: white;
}

.modal-body {
    padding: 30px;
}

.modal-description,
.modal-benefices {
    margin-bottom: 25px;
}

.modal-body h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--edmark-blue);
    margin-bottom: 10px;
}

.modal-body p {
    line-height: 1.6;
    color: var(--color-text);
    margin: 0;
}

.modal-prix {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 20px;
}

.prix-modal {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--edmark-orange);
}

.modal-footer {
    padding: 0 30px 30px;
    text-align: center;
}

.btn-modal-commander {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--edmark-orange);
    color: white;
    padding: 16px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-modal-commander:hover {
    background: var(--edmark-blue);
    color: white;
    transform: translateY(-2px);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

.fade-in {
    opacity: 0;
    transition: all 1s ease;
}

.fade-in.animate {
    opacity: 1;
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.slide-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.zoom-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease;
}

.zoom-in.animate {
    opacity: 1;
    transform: scale(1);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 992px) {
    .edmark-hero-title {
        font-size: 2.5rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .business-text h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .page-opportunite .container {
        padding: 0 15px;
    }

    .edmark-hero,
    .edmark-produits,
    .edmark-business,
    .edmark-compensation,
    .edmark-cta {
        padding: 60px 0;
    }

    .edmark-hero-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .produits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bonus-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

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

    .btn-cta-primary,
    .btn-cta-secondary {
        min-width: auto;
        width: 100%;
        max-width: 300px;
    }

    .mission-items {
        gap: 12px;
    }

    .mission-item {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .edmark-hero-title {
        font-size: 1.8rem;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .hero-mission-box {
        padding: 20px;
    }

    .modal-container {
        margin: 10px;
        max-height: 85vh;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 20px;
    }
}