/* Variables personnalisées */
:root {
    --bs-primary: #94c11f;
    --bs-primary-dark: #008741;
    --bs-secondary: #0077b6;
    --bs-primary-light: #e8f5e9;
    --secondary: #3b82f6;
    --dark: #111827;
    --gray: #6b7280;
    --light-gray: #f9fafb;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

/* Styles globaux */
body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
}

.form-container {
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .25);
}

.form-control {
    border-radius: 12px;
    border: 1px solid #e6e9ef;
}

.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 .25rem rgba(0, 166, 81, .15);
}

.choice-btn.btn-selected {
    background: var(--bs-primary);
    color: #fff;
    border-color: var(--bs-primary);
}

/* ========== PROOF STRIP ========== */
.proof-modern {
    padding: 2rem 0;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.proof-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.proof-logos:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ================= AVANTAGES ================= */
.feature-card {
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 14px;
    padding: 20px;
    height: 100%;
}

.icon-box {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================= PROCESS ================= */
.step-card {
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 14px;
    padding: 22px;
    height: 100%;
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 700;
}

/* ================= URGENCE ================= */
.urgency {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
    color: #fff;
    border-radius: 16px;
}

/* ================= CAS CONCRET ================= */
.transformation-card {
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 16px;
    padding: 24px;
}

/* ========== TESTIMONIALS ========== */
.testimonials-modern {
    padding: 5rem 0;
    background: var(--light-gray);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card-modern {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    box-shadow: var(--shadow-md);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-weight: 700;
    color: var(--dark);
}

.testimonial-rating {
    color: #fbbf24;
    font-size: 0.875rem;
}

.testimonial-content {
    color: var(--gray);
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ========== CTA SECTION ========== */
.cta-modern {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: white;
    color: #222222;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-xl);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-2xl);
    color: var(--primary);
}

/* ================= FOOTER ================= */
footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* ================= STICKY MOBILE CTA ================= */
.sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1031;
    display: none;
    background: #111827;
    padding: 10px 14px;
    box-shadow: 0 -6px 18px rgba(0, 0, 0, .2);
}

.sticky-cta .btn {
    width: 100%;
}

@media (max-width: 991.98px) {
    .sticky-cta {
        display: block;
    }

    .hero-section {
        padding-bottom: 110px;
    }
}

/* Boutons personnalisés */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    ;
    font-weight: 600;
    border-radius: 10px;
    padding: 12px 30px;
}

.btn-primary:hover {
    background-color: var(--bs-primary-dark);
    border-color: var(--bs-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 166, 81, 0.3);
}

.text-primary {
    color: var(--bs-primary) !important;
}

.bg-primary {
    background: var(--gradient-primary) !important;
}

.bg-primary-dark {
    background-color: var(--bs-primary-dark) !important;
}

/* Navigation */
.navbar-sticky {
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Hero Section */

/* Variante fond dégradé (par défaut) */
.hero-section.hero--gradient {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
    padding: 64px 0;
}

/* Variante image + overlay : mets l’URL de ton image ci-dessous */
.hero-section.hero--image {
    position: relative;
    padding: 64px 0;
    background: url('../img/pac1000-hero21.jpg') center/cover no-repeat;
}

.hero-section.hero--image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(55, 55, 55, 0.95) 0%,
            rgba(0, 135, 65, 0.55) 50%,
            rgba(148, 193, 31, 0.35) 100%);
}


.hero-section.hero--image>.container {
    position: relative;
    z-index: 1;
}

/* Accent price */
.text-accent {
    color: #ffd166;
    /* jaune chaud qui contraste bien sur vert */
}

/* Carte formulaire */
.form-container {
    border-radius: 16px;
    background: #fff;
}

/* Boutons sélectionnés dans le simulateur */
.choice-btn.btn-selected {
    border-color: var(--bs-primary);
    color: #fff;
    background: var(--bs-primary);
}

/* Badges clairs lisibles sur fond foncé */
.badge.bg-white {
    background: #fff !important;
    color: #212529 !important;
}

/* Petites améliorations de lisibilité mobile */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 40px 0;
    }

    .display-5 {
        font-size: 2rem;
    }
}

/* Conteneur de formulaire */
.form-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

/* États des boutons de choix */
.btn-selected {
    background-color: var(--bs-primary) !important;
    color: white !important;
    border-color: var(--bs-primary-dark) !important;
}

.choice-btn {
    transition: all 0.3s;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    background: white;
    color: #495057;
    padding: 15px;
    font-weight: 500;
}

.choice-btn:hover {
    background-color: var(--bs-primary-light) !important;
    transform: scale(1.02);
    border-color: var(--bs-primary);
    color: #222222;
}

.choice-btn.btn-selected {
    background-color: var(--bs-primary) !important;
    color: white !important;
    border-color: var(--bs-primary) !important;
}

/* États des étapes */
.step-hidden {
    display: none;
}

.step-visible {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cartes de fonctionnalités */
.feature-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e9ecef;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-card .icon-box {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

/* Cartes de témoignages */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 60px;
    color: var(--bs-primary);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
}

/* Barre de progression */
.progress {
    height: 8px;
    border-radius: 10px;
    background-color: #e9ecef;
}

.progress-bar {
    background: var(--gradient-primary);
    border-radius: 10px;
    transition: width 0.5s ease;
}

/* Formulaires */
.form-control,
.form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px;
    font-size: 16px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 166, 81, 0.25);
}

.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

/* Statistiques */
.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bs-primary);
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Section de transformation */
.transformation-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.transformation-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
}

.before-after {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 20px;
}

.before-after .arrow {
    font-size: 2rem;
    color: var(--bs-primary);
}

/* Section CTA */
.cta-section {
    background: linear-gradient(135deg, #00a651 0%, #00c25e 100%);
    color: white;
    padding: 60px 0;
    border-radius: 30px;
    margin: 40px 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* ========== FAQ ========== */
.faq-modern {
    padding: 5rem 0;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: white;
    border: none;
    text-align: left;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-question.active {
    background: var(--primary-light);
    color: var(--primary);
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 1.5rem;
    max-height: 500px;
}


/* Footer */
footer {
    background: #222222 !important;
}

/* Badges et alertes */
.badge {
    padding: 8px 16px;
    font-weight: 600;
}

.alert-success {
    background-color: var(--bs-primary-light);
    border: 2px solid var(--bs-primary);
    color: var(--bs-primary-dark);
    border-radius: 10px;
}

/* Cartes de résultat */
.result-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.result-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

/* Responsivité */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
    }

    .form-container {
        padding: 20px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .transformation-card {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .choice-btn {
        padding: 12px;
        font-size: 14px;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .hero-section h1 span {
        font-size: 1.4rem !important;
    }
}

/* Animations supplémentaires */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

.slide-up {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects */
.hover-scale:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.hover-shadow:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}

/* Loading spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--bs-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bs-primary-dark);
}

/* Visuel PAC — cadre premium + badge */
.pac-visual {
    position: relative;
}

.pac-visual img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .18);
    /* léger liseré dégradé autour pour un effet premium */
    border: 1px solid rgba(0, 0, 0, .06);
}

.pac-visual::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(0, 135, 65, .25), rgba(148, 193, 31, .25));
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    padding: 1px;
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: .6;
}

.pac-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    background: rgba(255, 255, 255, .92);
    color: #1f2937;
    border: 1px solid #eef1f5;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: .85rem;
    display: flex;
    align-items: center;
}

#pourquoi-simu .step-card {
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 14px;
    padding: 22px;
}

.phone-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    animation: slide-in-up 1s ease 0.4s both;
}

.trust-badge {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #212529;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
}