* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #10b981;
    --secondary-dark: #059669;
    --accent-color: #f59e0b;
    --accent-dark: #d97706;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* Navigation */

/* Hero : la démo est le premier élément visible */

.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 4rem 1.5rem 4.5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><path d="M0 50 Q25 25 50 50 T100 50" stroke="rgba(255,255,255,0.06)" fill="none" stroke-width="2"/></svg>');
    opacity: 0.6;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 3rem;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2rem, 3.5vw, 2.875rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.55;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 34rem;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    gap: 0.875rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

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

.btn-secondary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
}

.trust-badge {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    font-size: 0.9375rem;
    opacity: 0.95;
}

/* Cadre d'application autour de la vidéo du hero */

.app-frame {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.25);
    color: var(--text-dark);
    animation: cadre-entree 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.app-frame-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.9rem;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.8125rem;
    color: var(--text-light);
}

.app-frame-bar .dots {
    display: flex;
    gap: 5px;
}

.app-frame-bar .dots i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
}

.app-frame video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: #e8eefc;
    object-fit: cover;
}

.hero-more {
    display: inline-block;
    margin-top: 0.9rem;
    color: white;
    font-weight: 600;
    text-underline-offset: 3px;
}

@keyframes cadre-entree {
    from { transform: translateY(28px) scale(0.98); }
    to { transform: none; }
}

/* Coupures de ligne : titres equilibres, pas de mot seul sur la
   derniere ligne d'un paragraphe (navigateurs recents ; les autres
   gardent la coupure habituelle). */

h1, h2, h3, h4, .section-title, .section-subtitle, .hero-subtitle {
    text-wrap: balance;
}

p, li {
    text-wrap: pretty;
}

/* Un « ✓ » ne reste jamais seul en fin de ligne */

.insecable {
    white-space: nowrap;
}

/* Container */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.section-title {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Problem/Solution Section */

.problem-solution {
    background: var(--bg-light);
    padding: 4rem 1.5rem;
}

.ps-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.ps-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.ps-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ps-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.problem-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.solution-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
}

.ps-list {
    list-style: none;
}

.ps-list li {
    padding: 0.75rem 0;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.ps-list li::before {
    content: '×';
    color: #ef4444;
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.solution-list li::before {
    content: '✓';
    color: var(--secondary-color);
}

/* Features Tabs */

.features-tabs {
    margin-top: 3rem;
}

.tabs-nav {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 0.875rem 1.75rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.tab-btn:hover {
    border-color: var(--primary-light);
    color: var(--primary-color);
}

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

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Integration Section */

.integration-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 4rem 1.5rem;
    text-align: center;
}

.integration-content {
    max-width: 800px;
    margin: 0 auto;
}

.integration-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.integration-section p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.integration-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Testimonials Section */

.testimonials-section {
    background: var(--bg-white);
    padding: 4rem 1.5rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: all 0.3s;
}

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

.testimonial-quote {
    font-size: 3rem;
    line-height: 1;
    color: var(--primary-light);
    opacity: 0.4;
    font-family: Georgia, serif;
    margin-bottom: -0.5rem;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.7;
    font-style: italic;
    flex: 1;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.375rem;
    flex-shrink: 0;
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.testimonial-name {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s;
}

.testimonial-name:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.testimonial-location {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Clients sans avis publie : une rangee sobre, sans guillemets */

.aussi-confiance {
    margin-top: 2.5rem;
    text-align: center;
}

.aussi-confiance-liste {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    padding: 0;
}

.aussi-confiance-liste li {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 0.5rem 1.25rem;
}

.aussi-confiance-liste a {
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
}

.aussi-confiance-liste a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.aussi-confiance-liste span {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-left: 0.25rem;
}

/* Pricing Section */

.pricing-section {
    background: var(--bg-light);
}

.pricing-card {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary-color);
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--text-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.pricing-header h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.price span {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-light);
}

.price-note {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

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

.pricing-features li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.0625rem;
}

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

.check-icon {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.25rem;
}

.pricing-cta {
    text-align: center;
    margin-top: 2rem;
}

.bonus-section {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.bonus-section h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.bonus-list {
    list-style: none;
}

/* Pas de flex ici : le texte et son <strong> formaient deux colonnes,
   et la suite d'une ligne coupee repartait sous le gras, pas sous le texte. */

.bonus-list li {
    position: relative;
    padding: 0.5rem 0 0.5rem 2rem;
    line-height: 1.5;
}

.bonus-list li::before {
    content: '🎁';
    font-size: 1.25rem;
    position: absolute;
    left: 0;
    top: 0.4rem;
}

/* Beta Test Section */

.beta-test {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: white;
    padding: 4rem 1.5rem;
    text-align: center;
}

.beta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.beta-test h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.beta-test p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */

.about {
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 800;
}

.about-text h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1.0625rem;
}

.about-image-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile-photo {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.about-info-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 16px;
    padding: 2rem;
    color: white;
    text-align: center;
}

.about-info-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.about-info-card p {
    margin: 0.75rem 0;
    color: white;
    opacity: 0.95;
}

.linkedin-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 2rem;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.linkedin-link:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* Contact Section */

.contact {
    text-align: center;
    padding: 4rem 1.5rem;
    background: var(--bg-light);
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.contact-card {
    flex: 1 1 300px;
    max-width: 400px;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.contact-card a, .contact-card button {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-card button {
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    font-size: 1rem;
}

.contact-card a:hover, .contact-card button:hover {
    text-decoration: underline;
}

/* Footer */

footer {
    background: var(--text-dark);
    color: white;
    text-align: center;
    padding: 2.5rem 1.5rem;
}

footer p {
    opacity: 0.8;
}

/* Modal */

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

/* Responsive Design */

@media (max-width: 968px) {
    .ps-container {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {


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


    .features-grid {
        grid-template-columns: 1fr;
    }

    .tabs-nav {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
    }

    .price {
        font-size: 2.5rem;
    }

    .profile-photo {
        max-width: 100%;
    }
}

@media (max-width: 480px) {


    .container {
        padding: 3rem 1rem;
    }


    .btn {
        width: 100%;
    }



    /* Carte de tarifs : sur 320 px, la liste n'avait plus que
       180 px de large (trois lignes par avantage) et le bandeau
       « Offre complete » se coupait en deux. */
    .pricing-card {
        padding: 2.5rem 1.25rem 1.5rem;
    }

    .pricing-badge {
        white-space: nowrap;
    }

    .bonus-section {
        padding: 1.25rem 1rem;
    }

    /* Cartes « limitations / solution » : sur 320 px, le titre se
       cassait mot par mot et la carte debordait de l'ecran. */
    .ps-card {
        padding: 1.5rem;
    }

    .ps-card h3 {
        font-size: 1.375rem;
    }
}

/* ---- Pages intérieures (tarifs, faq) ---- */

.page-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 3.5rem 1.5rem 3rem;
    text-align: center;
}

.page-hero-inner {
    max-width: 860px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.page-lead {
    font-size: 1.125rem;
    opacity: 0.95;
}

.page-updated {
    margin-top: 1rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

.prose-section {
    padding: 3rem 1.5rem;
}

.prose {
    max-width: 780px;
    margin: 0 auto;
    color: var(--text-dark);
    line-height: 1.7;
}

.prose h2 {
    font-size: 1.5rem;
    margin: 2rem 0 0.75rem;
}

.prose h2:first-child {
    margin-top: 0;
}

.prose p, .prose ul {
    margin-bottom: 1rem;
}

.prose a {
    color: var(--primary-color);
}

.prose .facts {
    list-style: none;
    padding: 1.25rem 1.5rem;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
}

.prose .facts li {
    padding: 0.25rem 0;
}

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

.faq-item summary {
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary h2 {
    display: inline;
    font-size: 1.125rem;
    margin: 0;
}

.faq-item summary::before {
    content: "＋";
    color: var(--primary-color);
    margin-right: 0.6rem;
    font-weight: 700;
}

.faq-item[open] summary::before {
    content: "－";
}

.faq-item p {
    margin: 0.75rem 0 0 1.6rem;
}

.faq-more {
    margin-top: 2rem;
}

.prose-section > .container {
    padding-top: 0;
    padding-bottom: 0;
}

.prose-section + .pricing-section,
.pricing-section + .prose-section {
    padding-top: 1rem;
}

/* ================= Refonte : étapes, démo, fonctionnalités, transitions ================= */

/* Transitions entre pages (navigateurs récents ; sans effet ailleurs) */

.section-intro {
    max-width: 44rem;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-intro .section-title {
    margin-bottom: 0.75rem;
}

.section-intro .section-subtitle {
    margin-bottom: 0;
}

/* Trois étapes : vraie suite d'actions, donc numérotée */

.etapes {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4.5rem 1.5rem 3rem;
}

.etapes-liste {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    counter-reset: etape;
    position: relative;
}

.etapes-liste::before {
    content: '';
    position: absolute;
    top: 23px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--secondary-color));
    opacity: 0.35;
}

.etapes-liste li {
    counter-increment: etape;
    position: relative;
    text-align: center;
}

.etapes-liste li::before {
    content: counter(etape);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    font-weight: 800;
    font-size: 1.25rem;
    position: relative;
    box-shadow: 0 0 0 6px white;
}

.etapes-liste h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.etapes-liste p {
    color: var(--text-light);
    max-width: 22rem;
    margin: 0 auto;
}

/* Démo sur l'accueil */

.demo-home {
    background: var(--bg-light);
    padding: 4.5rem 1.5rem;
}

.demo-home-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.demo-player {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.demo-player video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: #e8eefc;
    object-fit: contain;
}

.demo-player p {
    padding: 1rem 1.25rem;
    color: var(--text-light);
    font-size: 0.9375rem;
    border-top: 1px solid var(--border-color);
}

.demo-liste {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.demo-item {
    display: block;
    padding: 1rem 1.15rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.demo-item:hover {
    border-color: var(--primary-light);
    transform: translateX(3px);
}

.demo-item[aria-current="true"] {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.demo-item strong {
    display: block;
    font-size: 1.0625rem;
}

.demo-item span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.demo-essai {
    max-width: 1200px;
    margin: 2.5rem auto 0;
    padding: 1.75rem;
    background: white;
    border: 2px dashed var(--primary-light);
    border-radius: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    align-items: center;
    justify-content: space-between;
}

.demo-essai p {
    flex: 1 1 22rem;
}

.demo-essai strong {
    display: block;
    font-size: 1.1875rem;
    margin-bottom: 0.25rem;
}

.demo-essai .actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Fonctionnalités : tout est visible, sans onglets cachés */

.fonctions {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4.5rem 1.5rem 2rem;
}

.fonctions .feature-card h3 {
    margin-top: 0.25rem;
}

.fonctions-plus {
    text-align: center;
    margin-top: 2rem;
}

.fonctions-plus a {
    color: var(--primary-color);
    font-weight: 600;
    text-underline-offset: 3px;
}

/* Bandeau d'essai collant sur mobile, après le hero */

.cta-collant {
    display: none;
}

@media (max-width: 960px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    .hero {
        padding: 2.5rem 1.25rem 3rem;
    }

    .demo-home-grid {
        grid-template-columns: 1fr;
    }

    .demo-liste {
        grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    }

    .etapes-liste {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .etapes-liste::before {
        display: none;
    }

    .cta-collant {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 900;
        padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.95);
        border-top: 1px solid var(--border-color);
        transform: translateY(110%);
        transition: transform 0.3s ease;
    }

    .cta-collant.visible {
        transform: none;
    }

    .cta-collant .btn {
        width: 100%;
        text-align: center;
    }

    body.a-cta-collant footer {
        padding-bottom: 5rem;
    }
}

@media (max-width: 480px) {
    .cta-buttons .btn {
        flex: 1 1 100%;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .app-frame {
        animation: none;
    }

    .demo-item,
    .cta-collant {
        transition: none;
    }
}

/* Barre de sections de l'accueil : collante sous la barre principale, section courante surlignée */
:root {
    --nav-h: 67px;
}

html:has(.sections-nav) {
    scroll-padding-top: 8rem;
}

.sections-nav {
    position: sticky;
    top: var(--nav-h);
    z-index: 900;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--border-color);
}

.sections-nav ul {
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: center;
    gap: 0.25rem 1.75rem;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}

.sections-nav ul::-webkit-scrollbar {
    display: none;
}

.sections-nav a {
    display: block;
    white-space: nowrap;
    padding: 0.8rem 0.15rem;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    scroll-snap-align: center;
    transition: color 0.2s, border-color 0.2s;
}

.sections-nav a:hover,
.sections-nav a[aria-current="location"] {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

@media (max-width: 960px) {
    .sections-nav ul {
        justify-content: flex-start;
        padding: 0 1rem;
        gap: 0.25rem 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sections-nav a {
        transition: none;
    }
}

/* Page Fonctionnalités */

.fx-chiffres {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.fx-chiffres ul {
    list-style: none;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1.75rem 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: center;
}

.fx-chiffres strong {
    display: block;
    font-size: 2rem;
    line-height: 1.1;
    color: var(--primary-color);
    font-weight: 800;
}

.fx-chiffres span {
    color: var(--text-light);
    font-size: 0.9375rem;
}

.fx {
    padding: 4rem 1.5rem;
}

.fx-gris {
    background: var(--bg-light);
}

.fx .section-title,
.fx .section-subtitle {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.fx-cadre {
    margin: 0 0 2.5rem;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    background: var(--bg-light);
}

.fx-cadre img {
    display: block;
    width: 100%;
    height: auto;
}

.fx-duo {
    display: grid;
    grid-template-columns: minmax(220px, 300px) 1fr;
    gap: 3.5rem;
    align-items: center;
}

.fx-tel {
    margin: 0;
    border-radius: 30px;
    padding: 10px;
    background: var(--text-dark);
    box-shadow: var(--shadow-lg);
}

.fx-tel img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 22px;
}

.fx-liste {
    list-style: none;
    display: grid;
    gap: 1.5rem 2rem;
    margin-top: 2rem;
}

.fx-liste-3 {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.fx-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.fx-ico {
    flex: none;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.fx-item h3 {
    font-size: 1.0625rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.fx-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.fx-fin {
    padding: 4rem 1.5rem;
    text-align: center;
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.fx-fin h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.fx-fin p {
    margin-bottom: 1.25rem;
}

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

.fx-lien {
    margin-left: 1.25rem;
    color: white;
    text-decoration: underline;
}

.fx-fin .faq-more,
.fx-fin .faq-more a {
    color: white;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .fx {
        padding: 3rem 1.5rem;
    }

    .fx-duo {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .fx-tel {
        max-width: 260px;
        margin: 0 auto;
    }

    .fx-chiffres strong {
        font-size: 1.5rem;
    }

    .fx-lien {
        display: block;
        margin: 1rem 0 0;
    }
}

/* Comparatif de la page Fonctionnalités */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.cmp-cadre {
    margin-top: 2rem;
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-white);
}

.cmp {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.cmp th,
.cmp td {
    padding: 0.7rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

.cmp thead th {
    background: var(--bg-light);
    font-weight: 700;
}

.cmp tbody th[scope="row"] {
    font-weight: 500;
}

.cmp td:nth-child(2),
.cmp thead th:nth-child(2) {
    width: 20%;
}

.cmp td:nth-child(3),
.cmp thead th:nth-child(3) {
    width: 38%;
}

.cmp .cmp-sous {
    display: none;
}

.cmp .cmp-note-c {
    color: var(--text-light);
    font-size: 0.875rem;
}

.cmp .cmp-nous {
    background: rgba(37, 99, 235, 0.06);
    font-weight: 600;
}

.cmp thead .cmp-nous {
    background: var(--primary-color);
    color: white;
}

.cmp .cmp-groupe th {
    background: var(--bg-light);
    color: var(--primary-dark);
    font-size: 0.8125rem;
    padding: 0.5rem 1rem;
}

.cmp-oui {
    color: var(--secondary-dark);
    font-weight: 800;
}

.cmp-non,
.cmp-nr {
    color: var(--text-light);
}

.cmp-note {
    margin-top: 1.25rem;
    color: var(--text-light);
    font-size: 0.9rem;
    max-width: 70ch;
}

.cmp-titre {
    margin: 2.5rem 0 0.5rem;
    font-size: 1.375rem;
}

@media (max-width: 640px) {
    .cmp th,
    .cmp td {
        padding: 0.55rem 0.6rem;
        font-size: 0.875rem;
    }

    .cmp {
        table-layout: auto;
    }

    .cmp td:nth-child(2),
    .cmp thead th:nth-child(2) {
        width: 36%;
    }

    .cmp colgroup,
    .cmp td:nth-child(3),
    .cmp thead th:nth-child(3) {
        display: none;
    }

    .cmp .cmp-sous {
        display: block;
        margin-top: 0.2rem;
        font-weight: 400;
        font-size: 0.78rem;
        color: var(--text-light);
    }

    .cmp thead th {
        font-size: 0.72rem;
        overflow-wrap: normal;
        padding-left: 0.35rem;
        padding-right: 0.35rem;
    }

    .cmp th,
    .cmp td {
        padding: 0.5rem 0.45rem;
        font-size: 0.8125rem;
    }
}
