@charset "utf-8";

/* Page Devenir Partenaire - styles spécifiques */

/* Button Primary */
.btn_primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--mbr-cyan) 0%, var(--cyan-accent) 100%);
    color: #ffffff !important;
    font-weight: 900;
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius-2xl);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 10px 20px -10px var(--cyan-glow);
}

.btn_primary:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px -10px var(--cyan-glow);
}

/* Button Secondary */
.btn_secondary {
    display: inline-block;
    background: var(--surface_input);
    color: var(--foreground) !important;
    border: 1px solid var(--border_subtle);
    font-weight: 700;
    padding: 1.25rem 2.5rem;
    border-radius: var(--radius-2xl);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.btn_secondary:hover {
    background: var(--surface_card_hover);
    border-color: var(--cyan-accent);
    color: var(--cyan-accent) !important;
    transform: translateY(-3px);
}

.hero_actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    margin-top: 2.5rem;
}

/* Arguments Section */
.arguments_section {
    padding: 6rem 0;
}

.arguments_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.argument_card {
    padding: 2.5rem;
    border-radius: var(--radius-3xl);
}

.argument_card .material-symbols-outlined {
    color: var(--cyan-accent);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.argument_card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 1rem;
}

.argument_card p {
    font-size: 0.875rem;
    color: var(--slate-500);
    line-height: 1.7;
}

.argument_card.highlight_card {
    background: rgba(6, 182, 212, 0.05);
    border-color: rgba(6, 182, 212, 0.2);
}

.argument_card.highlight_card p {
    color: var(--slate-400);
}

/* Onboarding Section */
.onboarding_section {
    padding: 8rem 0;
    /* background: rgba(15, 23, 42, 0.3); */
}

.section_title {
    text-align: center;
    margin-bottom: 5rem;
}

.section_title h2 {
    font-size: 2rem;
    font-weight: 900;
    font-style: italic;
    margin-bottom: 1rem;
}

.section_title p {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 700;
    color: var(--slate-500);
}

.steps_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.step_card {
    padding: 2rem;
    border-radius: var(--radius-3xl);
    border: 1px solid var(--white-5);
    transition: all 0.3s ease;
    backdrop-filter: blur(7px);
    position: relative;
    z-index: 1;
}

.step_card:hover {
    border-color: rgba(6, 182, 212, 0.4);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(34, 211, 238, 0.1);
}

.step_number {
    font-size: 2rem;
    font-weight: 950;
    color: var(--slate-800);
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.step_card:hover .step_number {
    color: white;
    transform: scale(1.2);
    text-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
}

.step_card h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step_card p {
    font-size: 0.75rem;
    color: var(--slate-500);
    line-height: 1.6;
}

/* Partner Form */
.partner_form_wrapper {
    max-width: 36rem;
    margin: 5rem auto 0;
    padding: 2.5rem;
    border-radius: var(--radius-3xl);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(2px);
    position: relative;
    z-index: 1;
}

.partner_form_wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 8rem;
    height: 8rem;
    background: rgba(6, 182, 212, 0.1);
    filter: blur(48px);
    border-radius: 50%;
    pointer-events: none;
}

.partner_form_wrapper h3 {
    text-align: center;
    font-weight: 700;
    margin-bottom: 2rem;
}

/* Partner Form Row */
.partner_form_row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .arguments_grid {
        grid-template-columns: 1fr;
    }

    .steps_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hero_content {
        display: flex !important;
        flex-direction: column !important;
        padding: 2rem 0.75rem !important;
        text-align: center;
        width: 100% !important;
        max-width: 100vw !important;
        overflow: hidden;
        gap: 1.5rem !important;
    }

    .hero_text {
        padding: 0rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    .hero_title {
        font-size: clamp(1.5rem, 8vw, 2.2rem) !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        width: 100% !important;
    }

    .hero_actions {
        flex-direction: column;
        width: 100%;
    }

    .btn_primary,
    .btn_secondary {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
        padding: 0.6rem 1rem !important;
        font-size: 0.9rem !important;
        letter-spacing: 0.05em !important;
    }

    .hero_image {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .hero_image img {
        max-width: 100%;
        height: auto;
        border-radius: var(--radius-2xl);
    }

    .partner_leads_counter {
        margin: 1rem auto 0;
        position: relative;
        bottom: auto;
        right: auto;
    }
}

@media (max-width: 768px) {
    .steps_grid {
        grid-template-columns: 1fr;
    }

    .partner_form_row {
        flex-direction: column;
        gap: 1rem;
    }

    .partner_form_wrapper {
        padding: 1.5rem;
    }

    .arguments_section,
    .onboarding_section,
    .seo_detail_section,
    .faq_section {
        padding: 3rem 0 !important;
    }
}

@media (max-width: 480px) {
    .section_title h2 {
        font-size: 1.5rem !important;
    }
}

/* ── Classes sémantiques (nettoyage inline) ── */

/* Hero */
.hero-section-pleine {
    min-height: 80vh;
}

.texte-qualifie {
    color: var(--text_heading);
    font-weight: 700;
}

.btn-hero-inline {
    display: inline-flex;
    justify-content: center;
    cursor: pointer;
}

.badge-certifie-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.5rem;
}

.icone-certifie {
    color: var(--cyan-accent);
}

.label-certifie {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--slate-500);
}

/* Arguments CTA */
.cta-centre {
    text-align: center;
    margin-top: 3rem;
}

.btn-decouvrir {
    display: inline-flex;
    cursor: pointer;
}

/* SEO Section */
.section-seo-detail {
    padding: 6rem 0;
    background: var(--background_20);
}

.titre-seo-section {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text_heading);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.contenu-seo-colonne {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    color: var(--text_secondary);
    line-height: 1.6;
}

.encart-bordure-cyan {
    border-left: 3px solid var(--cyan-accent);
    padding-left: 1.5rem;
}

.encart-bordure-jaune {
    border-left: 3px solid #fbbf24;
    padding-left: 1.5rem;
}

.titre-encart {
    color: var(--text_heading);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.texte-encart {
    font-size: 0.9rem;
}

.carte-pourquoi {
    padding: 2.5rem;
    border-radius: 2rem;
    border: 1px solid var(--border_subtle);
    background: var(--surface_card);
}

.titre-pourquoi {
    color: var(--text_heading);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 800;
}

.liste-pourquoi {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 0;
}

.item-pourquoi {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.icone-check-cyan {
    color: var(--cyan-accent);
    margin-top: 0.2rem;
}

.label-avantage {
    color: var(--text_heading);
    display: block;
}

.detail-avantage {
    font-size: 0.8rem;
}

.cta-seo-centre {
    text-align: center;
    margin-top: 3.5rem;
}

.btn-rejoindre-large {
    display: inline-flex;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

/* Onboarding trigger */
.conteneur-trigger {
    text-align: center;
    padding: 3rem 1rem;
}

.texte-trigger {
    color: var(--slate-400);
    margin-bottom: 2rem;
}

.btn-creer-compte {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

/* JS-generated badge départemental */
.badge-departement {
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid var(--cyan-500);
    padding: 4px 10px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--cyan-300);
}

.icone-supprimer-badge {
    font-size: 1rem;
    cursor: pointer;
}

/* Keyframe spin */
@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.spin {
    animation: spin 1s linear infinite;
    display: inline-block;
}

/* FAQ Section */
.section-faq {
    padding: 6rem 0;
    background: var(--background_20);
}

.entete-faq {
    margin-bottom: 4rem;
    text-align: center;
}

.titre-faq {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text_heading);
    margin-bottom: 1rem;
}

.sous-titre-faq {
    color: var(--text_secondary);
}

.conteneur-faq {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.carte-faq {
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid var(--border_subtle);
    background: var(--surface_card);
}

.question-faq {
    font-weight: 700;
    color: var(--text_heading);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
}

.icone-faq {
    color: var(--cyan-accent);
}

.reponse-faq {
    margin-top: 1.25rem;
    color: var(--text_secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.cta-final {
    text-align: center;
    margin-top: 4rem;
}

.titre-cta-final {
    color: var(--text_heading);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.btn-cta-final {
    display: inline-flex;
    cursor: pointer;
    font-size: 1.25rem;
    padding: 1.25rem 3rem;
}

/* Cleanup CSS Inline */
#sector_input_hint {
    text-align: center;
    font-size: 0.85rem;
    margin-top: 6px;
    min-height: 18px;
    font-weight: bold;
}

div#bt_add_sector {
    flex: 0.2;
}

/* Section de l'encart de lancement */
.promo_lancement_section {
    padding: 3rem 0 1rem;
}

section {
    position: relative;
    z-index: 2;
}

/* Encart Promotionnel de Lancement */
.encart-lancement-promo {
    max-width: 48rem;
    margin: 0 auto;
    padding: 2.5rem;
    border-radius: var(--radius-3xl);
    border: 1px solid rgba(247, 148, 29, 0.4);
    background: var(--surface_card);
    position: relative;
    z-index: 2;
    box-shadow: var(--box-shadow-card);
}

.encart-lancement-promo .promo-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.encart-lancement-promo .promo-icon {
    font-size: 2.5rem;
    color: #f59e0b;
    /* Orange/Ambre chaud */
    animation: pulse-promo 2s infinite ease-in-out;
}

.encart-lancement-promo h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text_heading);
    margin: 0;
    font-style: italic;
}

.encart-lancement-promo .promo-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
    color: var(--text_secondary);
}

.encart-lancement-promo .promo-warning {
    background: rgba(247, 148, 29, 0.08);
    border-left: 3px solid #f59e0b;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    color: var(--text_primary);
}

@keyframes pulse-promo {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 2px rgba(247, 148, 29, 0.2));
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 10px rgba(247, 148, 29, 0.5));
    }
}

@media (max-width: 768px) {
    .promo_lancement_section {
        padding: 2rem 0 0.5rem;
    }

    .encart-lancement-promo {
        margin: 0 1.5rem;
        padding: 1.75rem;
    }

    .encart-lancement-promo h3 {
        font-size: 1.1rem;
    }

    .encart-lancement-promo .promo-icon {
        font-size: 2rem;
    }
}

/* Pastille de Lancement sur la Hero */
.hero_pastille {
    position: absolute;
    top: -1em;
    right: -2%;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(247, 148, 29, 0.4);
    background: var(--surface_card);
    backdrop-filter: blur(12px);
    z-index: 10;
    box-shadow: var(--box-shadow-card);
    animation: float-pastille 3s ease-in-out infinite;
    max-width: 20em;
}

.hero_pastille .pastille_icon {
    font-size: 1.5rem;
}

.hero_pastille .pastille_text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.hero_pastille .pastille_label {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #f59e0b;
    /* Orange/Ambre */
    letter-spacing: 0.1em;
}

.hero_pastille .pastille_desc {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text_heading);
}

@keyframes float-pastille {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@media (max-width: 900px) {
    .hero_image {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .hero_image img {
        order: 0 !important;
    }

    .hero_pastille {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        margin: 0 auto 1.5rem !important;
        /* max-width: 280px !important; */
        justify-content: center !important;
        animation: none !important;
        order: -1 !important;
        /* Placé au-dessus de l'image */
        max-width: 100%;
        right: 0;
    }

    .partner_leads_counter {
        margin: 1.5rem auto 0 !important;
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        order: 1 !important;
        /* Placé sous l'image */
    }
}

/* =========================================================================
   BRIGHT MODE — Page Devenir Partenaire & Onboarding Formulaire
   Syntaxe Allman stricte — A VALIDER PAR JaxX
   ========================================================================= */

html.bright_mode #onboarding_form_container
{
    background-color: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    border-radius: var(--radius-xl);
    color: var(--text_primary);
}

html.bright_mode .hero_pastille
{
    background-color: #ffffff;
    border: 1px solid rgba(245, 158, 11, 0.4);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.15);
}

html.bright_mode .hero_pastille .pastille_desc
{
    color: #0f172a;
}

html.bright_mode .partner_leads_counter
{
    background-color: #ffffff;
    border: 1px solid rgba(6, 182, 212, 0.3);
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.12);
    color: var(--text_primary);
}

html.bright_mode .partner_leads_counter p
{
    color: #0f172a;
}

html.bright_mode .partner_leads_counter small
{
    color: #64748b;
}

html.bright_mode .encart-lancement-promo
{
    background-color: #ffffff;
    border: 1px solid rgba(6, 182, 212, 0.25);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

html.bright_mode .encart-lancement-promo h3
{
    color: #0f172a;
}

html.bright_mode .carte-faq
{
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

html.bright_mode .question-faq
{
    color: #0f172a;
    font-weight: 700;
}

html.bright_mode .reponse-faq
{
    color: #334155;
    border-top: 1px solid #f1f5f9;
}