/* ============================================
   DUAUX - Charte Graphique
   Primary: #1E40AF
   Secondary: #2563EB
   Light Blue: #EFF6FF
   Text Primary: #1F2937
   Text Secondary: #6B7280
   White: #FFFFFF
   CTA Accent: #F59E0B
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a,link{
    text-decoration: none;
}

:root {
    --primary: #1E40AF;
    --secondary: #2563EB;
    --light-blue: #EFF6FF;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --white: #FFFFFF;
    --accent: #F59E0B;
    --border: #E5E7EB;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ============================================
   HEADER (Mobile First)
   ============================================ */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    gap: 1rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.nav {
    display: none;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-list a:hover {
    color: var(--primary);
}

.btn-demo-sticky {
    display: none;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-demo-sticky:hover {
    background: var(--secondary);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.nav.mobile-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
}

.nav.mobile-open .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

/* ============================================
   HERO SECTION (Mobile First)
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
    padding: 3rem 0;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-top: 1.5rem;
}

.hero-image {
    margin-top: 2rem;
}

.dashboard-placeholder {
    background: var(--white);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    max-width: 100%;
}

.dashboard-mockup {
    background: var(--light-blue);
    border-radius: 0.5rem;
    overflow: hidden;
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
}

.mockup-header {
    height: 3rem;
    background: var(--primary);
}

.mockup-content {
    flex: 1;
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
}

.mockup-sidebar {
    width: 20%;
    background: var(--white);
    border-radius: 0.25rem;
}

.mockup-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mockup-card {
    flex: 1;
    background: var(--white);
    border-radius: 0.25rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-size: 1rem;
    min-width: 200px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--light-blue);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background: #D97706;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-block {
    width: 100%;
    display: block;
}

.btn-block:disabled {
    background: var(--text-secondary);
    cursor: not-allowed;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-whatsapp:hover {
    background: #20BA5A;
}

/* ============================================
   MODAL DIALOG
   ============================================ */
.modal-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

.modal-dialog.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-dialog-content {
    background: var(--white);
    border-radius: 1rem;
    max-width: 500px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease;
    overflow: hidden;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.modal-dialog-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--light-blue);
    color: var(--text-primary);
}

.modal-dialog-body {
    padding: 2rem 1.5rem;
    text-align: center;
}

.modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    font-weight: 700;
}

.modal-icon.success {
    background: #D1FAE5;
    color: #065F46;
}

.modal-icon.error {
    background: #FEE2E2;
    color: #DC2626;
}

.modal-icon.warning {
    background: #FEF3C7;
    color: #92400E;
}

.modal-dialog-body p {
    font-size: 1.125rem;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
}

.modal-dialog-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.modal-dialog-footer .btn {
    min-width: 120px;
}

/* ============================================
   TRUST / PROOF SECTION
   ============================================ */
.trust {
    background: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.trust-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--light-blue);
    border-radius: 0.5rem;
    min-width: 150px;
}

.badge-icon {
    font-size: 2rem;
}

.badge-text {
    font-weight: 600;
    color: var(--text-primary);
}

/* ============================================
   FONCTIONNALITÉS SECTION
   ============================================ */
.fonctionnalites {
    padding: 3rem 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.9375rem;
}

/* ============================================
   LEAD MAGNET SECTION
   ============================================ */
.lead-magnet {
    background: var(--light-blue);
    padding: 3rem 0;
}

.lead-magnet-content {
    max-width: 600px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 1rem;
}

.section-title2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    margin-bottom: 1rem;
}


.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2rem;
}

.lead-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

/* ============================================
   TARIFS SECTION
   ============================================ */
.tarifs {
    padding: 3rem 0;
    background: var(--white);
}

.pricing-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    padding: 2rem;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-featured {
    border-color: var(--primary);
    background: var(--light-blue);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.pricing-price {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.25rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.price-currency {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li span {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 400;
    background: #e5e5e5;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    margin-left: 0.5rem;
}
.pricing-features li i.fa-check{
    color: darkgreen;
}

.pricing-features li i.fa-close{
    color: darkred;
}

/* .pricing-features li::before {
    content: "✓ ";
    color: var(--primary);
    font-weight: 700;
    margin-right: 0.5rem;
} */

/* ============================================
   CLIENTS CAROUSEL SECTION
   ============================================ */
.clients-carousel {
    background: var(--white);
    padding: 4rem 0;
}

.clients-header {
    text-align: center;
    margin-bottom: 3rem;
}

.clients-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.clients-number {
    color: var(--primary);
    font-weight: 700;
}

.clients-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.clients-carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 2rem;
}

.clients-track {
    display: flex;
    gap: 3rem;
    animation: scroll-clients 30s linear infinite;
    will-change: transform;
    width: fit-content;
}

.clients-track:hover {
    animation-play-state: paused;
}

/* Assurer que le wrapper masque le débordement */
.clients-carousel-wrapper {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.client-logo {
    flex-shrink: 0;
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s;
    filter: grayscale(100%);
    opacity: 0.7;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.client-logo-placeholder {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
}

/* Animation du carrousel */
@keyframes scroll-clients {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(var(--scroll-width, -50%));
    }
}

/* Dupliquer les logos pour l'effet infini */
.clients-track::after {
    content: '';
    display: none;
}

/* Responsive */
@media (min-width: 768px) {
    .clients-title {
        font-size: 2.5rem;
    }

    .client-logo {
        width: 200px;
        height: 120px;
    }
}

@media (min-width: 1024px) {
    .clients-title {
        font-size: 3rem;
    }

    .client-logo {
        width: 220px;
        height: 140px;
    }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
    padding: 3rem 0;
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 2rem auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s;
    font-weight: 300;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 0 1.5rem 0;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   CTA FINAL SECTION
   ============================================ */
.cta-final {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 4rem 0;
    text-align: center;
    color: var(--white);
}

.cta-content .section-title {
    color: var(--white);
}

.cta-content .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
}

.cta-buttons .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.cta-buttons .btn-primary:hover {
    background: var(--light-blue);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--text-primary);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* ============================================
   RESPONSIVE - TABLET & DESKTOP
   ============================================ */
@media (min-width: 768px) {
    .header-content {
        padding: 1rem 2rem;
    }

    .nav {
        display: block;
    }

    .menu-toggle {
        display: none;
    }

    .btn-demo-sticky {
        display: block;
    }

    .hero {
        padding: 5rem 0;
    }

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

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }

    .trust-badges {
        flex-direction: row;
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .pricing-grid {
        flex-direction: row;
        align-items: stretch;
    }

    .pricing-card {
        flex: 1;
    }

    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-section {
        flex: 1;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}



/* Styles spécifiques page témoignages */
.testimonial-page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}
.testimonial-page-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.testimonial-page-hero .subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}
.testimonials-page-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.testimonial-card-page {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    border: 2px solid var(--border);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.testimonial-card-page:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}
.testimonial-card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.testimonial-logo {
    width: 80px;
    height: 80px;
    border-radius: 0.75rem;
    /* background: var(--light-blue); */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
}
.testimonial-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0.75rem;
    filter: saturate(0);
    transition: filter 0.3s ease;
}
.testimonial-establishment {
    flex: 1;
}
.testimonial-establishment h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}
.testimonial-establishment .type-ville {
    font-size: 0.875rem;
    color: var(--text-secondary);
}
.testimonial-quote-page {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-primary);
    font-style: italic;
}
.testimonial-quote-page::before {
    content: '"';
    font-size: 2rem;
    color: var(--primary);
    line-height: 1;
}
.testimonial-author-page {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
}
.testimonial-author-page strong {
    color: var(--text-primary);
}
@media (min-width: 768px) {
    .testimonial-page-hero h1 {
        font-size: 2.75rem;
    }
}

@media (max-width: 768px){
    .testimonials-page-container{
        grid-template-columns: repeat(1, 1fr);
    }
}






 /* ===== Questionnaire – Stepper & Phases ===== */
 .questionnaire-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 2.5rem 0;
    text-align: center;
}
.questionnaire-hero h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.questionnaire-hero p {
    font-size: 1rem;
    opacity: 0.95;
}
/* Stepper – suivi progressif des phases */
.stepper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    padding: 1.25rem 1rem;
    background: var(--white);
    box-shadow: var(--shadow);
    overflow-x: auto;
}
.stepper-item {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.stepper-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.stepper-item.active .stepper-dot {
    background: var(--primary);
    color: var(--white);
}
.stepper-item.done .stepper-dot {
    background: var(--secondary);
    color: var(--white);
}
.stepper-line {
    width: 24px;
    height: 2px;
    background: var(--border);
}
.stepper-item.done + .stepper-item .stepper-line,
.stepper-item.done .stepper-line {
    background: var(--secondary);
}
@media (min-width: 768px) {
    .stepper-dot { width: 44px; height: 44px; }
    .stepper-line { width: 36px; }
}
/* Conteneur formulaire par phase */
.questionnaire-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 1.5rem 1rem 3rem;
}
.phase-block {
    display: none;
    animation: fadeIn 0.35s ease;
}
.phase-block.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.phase-title {
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.phase-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}
.form-card {
    background: var(--white);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    border: 1px solid var(--border);
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}
.form-group input,
.form-group select {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1rem;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    min-height: 100px;
    resize: vertical;
}
/* Échelle de réponse (Non → 100%) */
.scale-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.scale-options label {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1rem;
    border: 2px solid var(--border);
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}
.scale-options input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.scale-options input:checked + label,
.scale-options label:hover {
    border-color: var(--primary);
    background: var(--light-blue);
}
.scale-options input:checked + label {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
/* Boutons navigation phases */
.phase-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.phase-actions .btn {
    min-width: auto;
}
@media (min-width: 480px) {
    .phase-actions {
        flex-direction: row;
        justify-content: space-between;
    }
}
/* Écran de remerciement */
.thank-you-block {
    display: none;
    text-align: center;
    padding: 2rem 1rem 3rem;
}
.thank-you-block.active {
    display: block;
    animation: fadeIn 0.4s ease;
}
.thank-you-block .icon-success {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
}
.thank-you-block h2 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}
.thank-you-block .next-step {
    background: var(--light-blue);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin: 1.5rem 0;
    text-align: left;
    border: 1px solid var(--border);
}
.thank-you-block .next-step strong {
    color: var(--primary);
}
/* Liens aspects automatisés DUAUX */
.duaux-automation-links {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}
.duaux-automation-links h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}
.duaux-automation-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.duaux-automation-links li {
    margin-bottom: 0.75rem;
}
.duaux-automation-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}
.duaux-automation-links a:hover {
    text-decoration: underline;
}
.duaux-automation-links a::before {
    content: "→";
    font-weight: 700;
}
/* Masquer stepper et formulaire quand remerciement affiché */
.questionnaire-form-section.hidden {
    display: none;
}