/* ============================================
   DEVENIR PARTENAIRE PAGE - TESTCIVIQUE
   Styles spécifiques pour la page partenaires
   ============================================ */

/* --- HERO SECTION --- */
.hero-section {
    padding-top: 140px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero-bg-line {
    position: absolute;
    top: 0;
    right: 10%;
    width: 1px;
    height: 100%;
    background: var(--border);
    z-index: 0;
}

.hero-bg-circle {
    position: absolute;
    top: 15%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    position: relative;
    z-index: 1;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(3rem, 5vw, 5.5rem);
    margin-bottom: 30px;
    color: var(--deep-blue);
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.text-cyan {
    color: var(--cyan);
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
    border-left: 3px solid var(--cyan);
    padding-left: 24px;
}

.btn-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--cyan);
    color: var(--deep-blue);
    padding: 16px 36px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: none;
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px var(--cyan-glow);
}

/* --- STAT CARD PREMIUM --- */
.stat-card-pro {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
    max-width: 420px;
    margin-left: auto;
}

.card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.card-badge {
    background: #ECFDF5;
    color: var(--success);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-icon-bg {
    width: 48px;
    height: 48px;
    background: rgba(0, 212, 255, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 10px;
}

.stat-main {
    font-family: 'Anton', sans-serif;
    font-size: 3.5rem;
    line-height: 1;
    color: var(--deep-blue);
}

.stat-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.card-graph {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 0;
    opacity: 0.1;
    color: var(--cyan);
}

.card-content {
    position: relative;
    z-index: 1;
}

.dashed-line {
    border-top: 2px dashed var(--border);
    margin: 24px 0;
    position: relative;
}

.stat-secondary {
    display: flex;
    align-items: center;
    gap: 16px;
}

.check-circle {
    width: 24px;
    height: 24px;
    background: var(--deep-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- FEATURES STRIP --- */
.features-strip {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-item {
    padding: 24px;
    transition: 0.3s;
    border-radius: 20px;
    background: white;
    border: 1px solid transparent;
}

.feature-item:hover {
    background: var(--surface);
    transform: translateY(-5px);
    border-color: var(--border);
    box-shadow: var(--shadow-hover);
}

.f-icon-box {
    width: 56px;
    height: 56px;
    background: rgba(0, 212, 255, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--cyan);
    transition: 0.3s;
}

.feature-item:hover .f-icon-box {
    background: var(--cyan);
    color: white;
    transform: rotate(-10deg);
}

.f-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--deep-blue);
}

.f-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- WORKFLOW SECTION --- */
.workflow-section {
    padding: 100px 0;
    background: var(--surface);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 60px;
    text-align: center;
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--deep-blue);
}

.timeline-wrapper {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.step-node {
    position: relative;
    z-index: 1;
    width: 30%;
    background: var(--surface);
    padding-right: 10px;
}

.step-marker {
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Anton', sans-serif;
    font-size: 1.4rem;
    color: var(--deep-blue);
    margin-bottom: 24px;
    box-shadow: var(--shadow-card);
    transition: 0.3s;
    border-radius: 14px;
}

.step-node:hover .step-marker {
    border-color: var(--cyan);
    color: var(--cyan);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.08);
}

.step-title {
    font-weight: 800;
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: var(--deep-blue);
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- CONTACT SECTION --- */
.contact-section {
    padding: 100px 0;
    background: white;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.contact-section > .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.4fr 0.6fr;
    gap: 80px;
    align-items: start;
}

.contact-txt h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 24px;
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    color: var(--deep-blue);
}

.contact-txt p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-info {
    margin-top: 40px;
}

.info-label {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--deep-blue);
}

.info-hours {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.info-email {
    color: var(--deep-blue);
    font-weight: 600;
    margin-top: 4px;
}

/* FORMULAIRE */
.clean-input {
    width: 100%;
    padding: 16px 0;
    border: none;
    border-bottom: 1px solid var(--border);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-main);
    background: transparent;
    transition: 0.3s;
    border-radius: 0;
    outline: none;
}

.clean-input:focus {
    border-bottom-color: var(--cyan);
}

.clean-input::placeholder {
    color: var(--text-light);
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 24px;
}

.input-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 4px;
    display: block;
}

.btn-submit {
    background: var(--deep-blue);
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    margin-top: 20px;
    display: inline-block;
    width: auto;
}

.btn-submit:hover {
    background: var(--cyan);
    color: var(--deep-blue);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px var(--cyan-glow);
}

/* --- FOOTER OVERRIDE --- */
body footer {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 900px) {
    /* HERO */
    .hero-section {
        padding-top: 120px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 40px auto;
        border-left: none;
        border-bottom: 3px solid var(--cyan);
        padding-bottom: 16px;
        padding-left: 0;
    }

    .stat-card-pro {
        margin: 0 auto;
        max-width: 100%;
    }

    /* FEATURES */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature-item {
        text-align: center;
        padding: 20px;
    }

    .f-icon-box {
        margin: 0 auto 20px auto;
    }

    /* TIMELINE VERTICALE */
    .timeline-wrapper {
        flex-direction: column;
        padding-left: 20px;
    }

    .timeline-line {
        width: 2px;
        height: 100%;
        top: 0;
        left: 45px;
    }

    .step-node {
        width: 100%;
        padding-left: 60px;
        margin-bottom: 40px;
        padding-right: 0;
        background: transparent;
    }

    .step-marker {
        position: absolute;
        left: 0;
        top: 0;
    }

    /* FORMULAIRE */
    .contact-section {
        padding: 60px 0;
    }

    .contact-layout {
        display: block;
    }

    .contact-txt {
        text-align: center;
        margin-bottom: 40px;
        padding: 0 10px;
    }

    .contact-txt h2 {
        line-height: 1.1;
        margin-bottom: 16px;
    }

    .input-row {
        display: block;
        margin-bottom: 0;
    }

    .input-wrap {
        margin-bottom: 24px;
        width: 100%;
    }

    .clean-input {
        font-size: 16px;
    }

    .btn-submit {
        width: 100%;
        padding: 18px;
    }

    /* Footer Mobile Override */
    body footer {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
    }

    footer a {
        display: block !important;
        margin: 8px 0 !important;
    }

    footer > div > div {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
}
