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

/* ============================================
   NAVBAR PARTENAIRE
   ============================================ */
.pnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--glass-bg, rgba(255,255,255,0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border, rgba(0,0,0,0.05));
    height: 72px;
    transform: translateY(-100%);
    animation: pnavSlide 0.5s ease 0.1s forwards;
}

@keyframes pnavSlide {
    to { transform: translateY(0); }
}

.pnav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* --- Gauche : retour + logo --- */
.pnav-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pnav-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--text-secondary, #64748B);
    text-decoration: none;
    transition: all 0.25s;
    background: transparent;
}

.pnav-back:hover {
    background: #F1F5F9;
    color: var(--text-dark, #1E293B);
    transform: translateX(-2px);
}

.pnav-separator {
    width: 1px;
    height: 28px;
    background: #E2E8F0;
}

.pnav-logo img {
    height: 38px;
    display: block;
}

/* --- Centre : indicateur de page --- */
.pnav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.pnav-page-indicator {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark, #1E293B);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pnav-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--logo-red, #E11D2D);
    animation: pnavPulse 2s ease-in-out infinite;
}

@keyframes pnavPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(225,29,45,0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(225,29,45,0); }
}

/* --- Droite : actions contextuelles --- */
.pnav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pnav-link-subtle {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary, #64748B);
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}

.pnav-link-subtle::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--logo-red, #E11D2D);
    transition: width 0.3s;
}

.pnav-link-subtle:hover { color: var(--text-dark, #1E293B); }
.pnav-link-subtle:hover::after { width: 100%; }

.pnav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    background: var(--cyan-dark, #1E293B);
    text-decoration: none;
    transition: all 0.25s;
    letter-spacing: 0.01em;
}

.pnav-cta:hover {
    background: var(--logo-red, #E11D2D);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(225,29,45,0.25);
}

.pnav-cta svg { flex-shrink: 0; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .pnav { height: 60px; }
    .pnav-logo img { height: 32px; }
    .pnav-separator { height: 22px; }
    .pnav-left { gap: 10px; }
    .pnav-back { width: 34px; height: 34px; }

    .pnav-page-indicator {
        font-size: 0.65rem;
        gap: 7px;
        letter-spacing: 0.05em;
    }
    .pnav-dot { width: 5px; height: 5px; }

    .pnav-link-subtle { font-size: 0.8rem; }
    .pnav-cta {
        padding: 8px 14px;
        font-size: 0.75rem;
        gap: 5px;
    }
    .pnav-cta svg { width: 13px; height: 13px; }
}

@media (max-width: 480px) {
    .pnav-center { display: none; }
    .pnav-cta span { display: none; }
    .pnav-cta { padding: 9px 12px; }
}


/* ============================================
   HERO SECTION - SPLIT LAYOUT (ARCHITECTURAL)
   ============================================ */
.hero-section {
    padding-top: 120px;
    padding-bottom: 80px;
    background-color: var(--bg-white);
    position: relative;
}

.hero-top-decoration {
    border-top: 1px solid var(--border);
    margin-bottom: 40px;
    padding-top: 20px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: flex-start;
}

/* COLONNE GAUCHE : TITRE */
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--deep-blue);
    line-height: 1.05;
    margin: 0;
    position: relative;
}

.text-accent { color: var(--french-red, #E1000F); }
.text-blue { color: var(--french-blue, #0055A4); }

/* COLONNE DROITE : DESCRIPTION + CTA */
.hero-right-col {
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
}

.btn-arrow {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: var(--deep-blue);
    color: white;
    padding: 16px 32px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    width: fit-content;
}

.btn-arrow:hover {
    background: var(--deep-blue);
    padding-right: 40px;
}

/* --- REMOVED: OLD STAT CARD STYLES (NO LONGER USED) --- */

/* --- 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(--deep-blue);
    transition: 0.3s;
}

.feature-item:hover .f-icon-box {
    background: var(--logo-red);
    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(--deep-blue);
    color: var(--logo-red);
    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(--deep-blue);
    color: var(--bg-white);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px var(--cyan-glow);
}


/* --- RESPONSIVE TABLET --- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

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

    .hero-top-decoration {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .hero-desc {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .btn-arrow {
        width: 100%;
        justify-content: center;
    }

    /* 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;
    }

}
