/* RESET & BASE */
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --accent: #fbbf24; /* Accent jaune inspiré du logo */
    --accent-dark: #f59e0b;
    --bg: #f4f7fb;
    --white: #fff;
    --text: #1f2937;
    --text-light: #6b7280;
    --border: #e5e7eb;
    --shadow: 0 4px 24px rgba(37,99,235,0.07);
    --container-width: 1200px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
    font-family: 'Inter', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    padding-top: 72px; /* Hauteur de la navbar */
}
a { color: var(--primary); text-decoration: none; }

/* NAVBAR */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: box-shadow 0.2s, background 0.2s;
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 18px rgba(37,99,235,0.10);
}
.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo img { height: 40px; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-weight: 500; color: var(--text); transition: color 0.2s; }
.nav-links a.cta-button {
    background: var(--primary);
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s;
}
.nav-links a.cta-button:hover { background: var(--primary-dark); }

/* HERO */
.hero {
    background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #fff;
    text-align: center;
    padding: 7rem 2rem 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    position: relative;
    overflow: hidden;
    margin-top: -72px; /* Compenser le padding-top du body */
    padding-top: calc(7rem + 72px); /* Ajouter la hauteur de la navbar au padding existant */
}
.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}
.hero-left {
    flex: 1;
    max-width: 600px;
}
.hero-right {
    flex: 1;
    max-width: 500px;
}
.hero h1 {
    font-size: 2.7rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}
.hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #e0e7ff;
}
.primary-button {
    background: var(--accent);
    color: #1f2937;
    border: none;
    border-radius: 8px;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 1rem 2.2rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(251,191,36,0.12);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    text-decoration: none;
    display: inline-block;
}
.primary-button:hover {
    background: var(--accent-dark);
    color: #fff;
    transform: translateY(-2px) scale(1.03);
}
.hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 1;
    line-height: 0;
    pointer-events: none;
}
.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
    min-height: 40px;
    max-height: 120px;
}
@media (max-width: 700px) {
    .hero-wave svg { height: 40px; }
}

/* SECTIONS */
section {
    max-width: var(--container-width);
    margin: 0 auto 3.5rem auto;
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 3rem 2rem;
}
section:not(.hero):not(.cta-final) { margin-top: 2.5rem; }
section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}
section p, section ul, section li { font-size: 1.1rem; }

/* ABOUT */
.about p { text-align: center; color: var(--text-light); max-width: 700px; margin: 0 auto; }

/* FEATURES */
.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem 2rem;
    max-width: 700px;
    margin: 0 auto;
    padding: 0;
}
.features-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 500;
    color: var(--text);
}
.features-list i {
    color: var(--primary);
    font-size: 1.3rem;
}

/* EXAMPLES */
.examples-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem 2rem;
    max-width: 700px;
    margin: 0 auto;
}
.example-card {
    flex: 0 0 calc(50% - 0.8rem);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    margin-top: 5px;
    margin-bottom: 5px;
}

/* TESTIMONIAL */
.testimonial blockquote {
    font-size: 1.2rem;
    color: var(--primary-dark);
    font-style: italic;
    text-align: center;
    margin: 0 auto;
    max-width: 600px;
    padding: 1.5rem 1rem 0.5rem 1rem;
}
.testimonial span {
    display: block;
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 1rem;
}

/* PRICING */
.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
}
.pricing-card {
    background: #f8fafc;
    border: 2px solid var(--primary);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(37,99,235,0.06);
    padding: 2rem 1.5rem;
    min-width: 250px;
    max-width: 300px;
    flex: 1 1 250px;
    text-align: center;
}
.pricing-card h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 0.7rem;
}
.pricing-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}
.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 0.5rem;
}
.pricing-card li {
    color: var(--text-light);
    margin-bottom: 0.4rem;
    font-size: 1rem;
}
.pricing-complementary {
    margin-top: 2rem;
    background: #f1f5fd;
    border-radius: 10px;
    padding: 1.2rem 1rem;
    text-align: center;
}
.pricing-complementary h4 {
    color: var(--primary-dark);
    margin-bottom: 0.7rem;
}
.pricing-complementary ul {
    list-style: none;
    margin-bottom: 0.7rem;
    padding: 0;
}
.pricing-complementary li {
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 0.3rem;
}
.pricing-conditions {
    color: var(--text-light);
    font-size: 0.98rem;
    margin-top: 0.7rem;
}

/* CTA FINAL */
.cta-final {
    background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #fff;
    text-align: center;
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 3rem 2rem 2.5rem 2rem;
    margin-bottom: 3rem;
}
.cta-final h2 { color: #fff; margin-bottom: 1.2rem; }
.cta-final p { color: #e0e7ff; margin-top: 1rem; }
.cta-final .primary-button { background: #fff; color: var(--primary); margin-top: 1rem; }
.cta-final .primary-button:hover { background: var(--primary-dark); color: #fff; }

/* CONTACT FORM */
.contact-form {
    max-width: 420px;
    margin: 0 auto;
    background: #f8fafc;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(37,99,235,0.06);
    padding: 2rem 1.5rem;
}
.contact-form .form-group { margin-bottom: 1.2rem; }
.contact-form label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    color: var(--primary-dark);
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 7px;
    font-size: 1rem;
    background: #fff;
    color: var(--text);
    transition: border 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border: 1.5px solid var(--primary);
    outline: none;
}
.contact-form select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 7px;
    font-size: 1rem;
    background: #fff;
    color: var(--text);
    margin-bottom: 0.2rem;
    transition: border 0.2s;
}
.contact-form select:focus {
    border: 1.5px solid var(--primary);
    outline: none;
}
.contact-form .submit-button {
    width: 100%;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 7px;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1rem;
    margin-top: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
    letter-spacing: 0.01em;
    text-transform: none;
}
.contact-form .submit-button:hover {
    background: var(--primary-dark);
}

/* FOOTER */
.footer {
    background: var(--primary-dark);
    color: #fff;
    padding: 3rem 2rem 1.5rem 2rem;
    border-radius: 18px 18px 0 0;
    margin-top: 3rem;
}
.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}
.footer-section {
    flex: 1 1 0;
    min-width: 0;
    margin-bottom: 0;
    padding: 0 1rem;
}
.footer-section h3 { margin-bottom: 0.7rem; color: #fff; }
.footer-section a,
.footer-section .lang-link {
    color: #e0e7ff !important;
}
.footer-section a:hover,
.footer-section .lang-link:hover {
    color: #fff !important;
    text-decoration: underline;
}
.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    color: #e0e7ff;
    font-size: 0.98rem;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    section, .cta-final { padding: 2rem 1rem; }
    .nav-container { padding: 1rem; }
    .logo {
        z-index: 10;
        position: relative;
    }
    .mobile-menu {
        z-index: 1100;
    }
    .mobile-menu.active ~ .logo {
        display: none !important;
    }
    .mobile-menu {
        padding-top: 32px;
    }
    .mobile-menu .cta-mobile-nav {
        display: block;
        width: 100%;
        background: #fff;
        color: var(--primary);
        font-weight: 700;
        border-radius: 6px;
        padding: 0.9rem 0;
        margin-bottom: 1rem;
        font-size: 1.08rem;
        text-align: center;
        text-decoration: none;
        border: 2px solid var(--primary);
        box-shadow: none;
        transition: background 0.2s, color 0.2s;
    }
    .mobile-menu .cta-mobile-nav:hover {
        background: var(--primary);
        color: #fff;
    }
    .mobile-menu .cta-button {
        width: 100%;
        margin: 1.2rem 0 0.5rem 0;
        font-size: 1.08rem;
        padding: 0.9rem 0;
        border-radius: 6px;
        text-align: center;
        font-weight: 700;
        box-shadow: none;
    }
}
@media (max-width: 700px) {
    .features-list, .examples-grid { grid-template-columns: 1fr; }
    .pricing-grid { flex-direction: column; align-items: center; }
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 2.2rem;
    }
    .footer-section {
        width: 100%;
        align-items: center;
        margin-bottom: 2.2rem;
        padding: 0;
    }
    .footer-section:last-child {
        margin-bottom: 0;
    }
    .footer-section a,
    .footer-section .lang-link {
        text-align: center !important;
        display: block;
        margin: 0 auto;
        padding-left: 0;
    }
    .footer-section h3 {
        color: #fff !important;
        text-align: center;
    }
    .footer-language-switcher {
        justify-content: center;
    }
    section, .cta-final { padding: 1.2rem 0.5rem; }
    .pricing-grid, .features-grid, .examples-categories {
        grid-template-columns: 1fr !important;
        justify-items: center;
        gap: 1.5rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .pricing-card, .feature, .examples-category {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        max-width: 340px;
        min-width: 0;
    }
    #features {
        padding-left: 0.7rem;
        padding-right: 0.7rem;
    }
}
@media (max-width: 500px) {
    .hero h1 { font-size: 1.5rem; }
    .hero-content { padding: 0; }
    section, .cta-final { padding: 1.2rem 0.3rem; }
    .pricing-card, .feature, .examples-category {
        max-width: 98vw;
    }
}

.contact-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 1.2rem;
    font-size: 1.08rem;
}
.contact-form-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(37,99,235,0.08);
    padding: 2.2rem 1.5rem 1.5rem 1.5rem;
    max-width: 440px;
    margin: 0 auto;
}

.cta-bottom {
    background: linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #fff;
    text-align: center;
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 3rem 2rem 2.5rem 2rem;
    margin: 3rem auto 0 auto;
    max-width: 900px;
}
.cta-bottom h2 {
    color: #fff;
    margin-bottom: 1.2rem;
    font-size: 2rem;
}
.cta-bottom p {
    color: #e0e7ff;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}
.cta-bottom .primary-button {
    background: #fff;
    color: var(--primary);
    margin-top: 0.5rem;
}
.cta-bottom .primary-button:hover {
    background: var(--primary-dark);
    color: #fff;
}

/* Alternance de fonds pour sections */
section.about, section.examples, section.pricing {
    background: #f8fafc;
}

.examples-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-content: center;
    margin: 0 auto;
    max-width: 1100px;
}
.examples-category {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(37,99,235,0.06);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    min-width: 0;
    text-align: left;
    font-size: 1.13rem;
}
.examples-category h3 {
    color: var(--primary-dark);
    font-size: 1.18rem;
    margin-bottom: 0.9rem;
    text-align: left;
}
.examples-category ul {
    list-style: disc inside;
    color: var(--text-light);
    font-size: 1.08rem;
    margin-left: 0.5rem;
}
.examples-category li {
    margin-bottom: 0.5rem;
}
@media (max-width: 1000px) {
    .examples-categories { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
    .examples-categories { grid-template-columns: 1fr; }
}

.cta-audio-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-top: 1.2rem;
}
.audio-wave {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 40px;
    width: 80px;
}
.audio-wave span {
    display: block;
    width: 6px;
    height: 100%;
    background: #2563eb;
    border-radius: 3px;
    animation: wave 1s infinite ease-in-out;
}
.audio-wave span:nth-child(1) { animation-delay: 0s; }
.audio-wave span:nth-child(2) { animation-delay: 0.1s; }
.audio-wave span:nth-child(3) { animation-delay: 0.2s; }
.audio-wave span:nth-child(4) { animation-delay: 0.3s; }
.audio-wave span:nth-child(5) { animation-delay: 0.4s; }
@keyframes wave {
    0%, 100% { height: 20%; }
    50% { height: 100%; }
}
@media (max-width: 700px) {
    .audio-wave { height: 24px; width: 48px; }
    .audio-wave span { width: 4px; }
    .cta-audio-row { gap: 0.7rem; }
}

/* === Audio Player Modern === */
.demo-player-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(37,99,235,0.08);
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem 1.5rem 1.2rem 1.5rem;
}
.demo-player-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: -0.5px;
}
.visualization-container {
    width: 100%;
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.2rem 0.5rem 0.7rem 0.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
#audio-visualizer {
    width: 100%;
    max-width: 600px;
    height: 80px;
    background: #f8fafc;
    border-radius: 8px;
    display: block;
}
.seek-container {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
    margin-bottom: 0.2rem;
}
.player-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(37,99,235,0.12);
    flex-shrink: 0;
}
.player-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.07);
}
.player-btn:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
}
.seekbar {
    flex: 1;
    height: 6px;
    -webkit-appearance: none;
    background: #e2e8f0;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    transition: height 0.2s ease;
}
.seekbar:hover {
    height: 8px;
}
.seekbar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(37,99,235,0.2);
}
.seekbar::-webkit-slider-thumb:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}
.seekbar::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(37,99,235,0.2);
}
.seekbar::-moz-range-thumb:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}
.time-display {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
    min-width: 80px;
    text-align: right;
    flex-shrink: 0;
}
.player-status {
    color: var(--primary-dark);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    margin-top: 0.5rem;
    min-height: 1.2em;
}
@media (max-width: 700px) {
    .demo-player-container { padding: 1.2rem 0.5rem; }
    .demo-player-title { font-size: 1rem; }
    .visualization-container { padding: 0.7rem 0.1rem; }
    #audio-visualizer { height: 48px; }
    .player-btn { width: 36px; height: 36px; font-size: 1.1rem; }
    .time-display { font-size: 0.8rem; min-width: 60px; }
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    margin-left: 1.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid var(--border);
}

.lang-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.lang-link:hover {
    color: var(--primary);
    background: rgba(37,99,235,0.05);
}

.lang-link.active {
    color: var(--primary);
    font-weight: 600;
}

.lang-separator {
    color: var(--text-light);
    margin: 0 0.5rem;
    font-size: 0.9rem;
}

.footer-language-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.2rem;
    width: 100%;
    text-align: center;
}
.footer-language-switcher .lang-link {
    color: #e0e7ff;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    background: none;
    transition: background 0.2s, color 0.2s;
    text-align: center;
    margin: 0 auto;
    display: inline-block;
}
.footer-language-switcher .lang-link:hover {
    color: #fff;
    background: rgba(37,99,235,0.15);
    text-decoration: underline;
}
@media (max-width: 700px) {
    .footer-language-switcher {
        justify-content: center;
        width: 100%;
        margin-top: 1rem;
    }
    .footer-language-switcher .lang-link {
        font-size: 1.08rem;
        padding: 0.4rem 1rem;
        margin: 0 auto;
        display: inline-block;
    }
}

.demo-form-container {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.demo-form-container h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e40af;
}

.demo-subtitle {
    font-size: 1rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.demo-form .form-group {
    margin-bottom: 1rem;
}

.demo-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.demo-form input[type="text"],
.demo-form input[type="tel"],
.demo-form input[type="url"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
}

.demo-form .consent-group {
    margin: 1.5rem 0;
}

.demo-form .consent-group input[type="checkbox"] {
    margin-right: 0.5rem;
}

.demo-form .consent-group label {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.4;
}

.demo-form .form-links {
    margin: 1rem 0;
    font-size: 0.75rem;
}

.demo-form .form-links a {
    color: #2563eb;
    text-decoration: none;
}

.demo-form .form-links a:hover {
    text-decoration: underline;
}

.demo-form .submit-button {
    width: 100%;
    background: #2563eb;
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.demo-form .submit-button:hover {
    background: #1d4ed8;
}

@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        align-items: center;
    }

    .hero-left,
    .hero-right {
        max-width: 100%;
    }

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

@media (max-width: 640px) {
    .hero-content {
        padding: 1rem;
    }

    .demo-form-container {
        padding: 1.5rem;
    }
}

/* Contact Section Styles */
.contact {
    padding: 4rem 2rem;
    background: #f8fafc;
}

.contact-container {
    max-width: 1200px;
    margin: 2rem auto;
}

.demo-form-container {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.call-us-block {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.call-button {
    display: inline-block;
    margin-top: 0.5rem;
    background: #2563eb;
    color: #fff;
    padding: 0.7rem 1.5rem;
    border-radius: 7px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: background-color 0.2s;
}

.call-button:hover {
    background: #1d4ed8;
}

.demo-form-container h3 {
    font-size: 1.5rem;
    color: #1e40af;
    margin-bottom: 0.5rem;
}

.demo-subtitle {
    color: #64748b;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #334155;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.consent-group {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    margin: 1rem 0;
}

.consent-group input[type="checkbox"] {
    margin-top: 0.25rem;
}

.consent-group label {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
}

.form-links {
    font-size: 0.875rem;
    color: #64748b;
    margin: 1rem 0;
}

.form-links a {
    color: #2563eb;
    text-decoration: none;
}

.form-links a:hover {
    text-decoration: underline;
}

.submit-button {
    background: #2563eb;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-button:hover {
    background: #1d4ed8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .call-us-block {
        order: 2;
    }

    .demo-form-container {
        order: 1;
    }
}

/* Features Note */
.features-note {
    background-color: #f8fafc;
    border-left: 4px solid #2563eb;
    padding: 1.5rem;
    margin-top: 2rem;
    border-radius: 0 8px 8px 0;
}

.features-note p {
    margin: 0;
    color: #4b5563;
    line-height: 1.6;
}

/* Pricing Page Styles */
.pricing-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.pricing-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-hero h1 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.pricing-hero .subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
}

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

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured {
    border: 2px solid #2563eb;
    transform: scale(1.05);
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card h3 {
    color: #2563eb;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.pricing-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.pricing-card .subtitle {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.pricing-card ul li {
    margin-bottom: 0.75rem;
    color: #4b5563;
}

.pricing-features {
    margin: 4rem 0;
}

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

.feature {
    text-align: center;
    padding: 1.5rem;
}

.feature i {
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.feature h3 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #64748b;
}

.custom-solutions {
    background: #f8fafc;
    padding: 3rem;
    border-radius: 12px;
    margin: 4rem 0;
    text-align: center;
}

.custom-solutions h2 {
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.custom-solutions ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: inline-block;
    text-align: left;
}

.custom-solutions ul li {
    margin-bottom: 0.75rem;
    color: #4b5563;
}

.custom-solutions .note {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 1rem;
}

.faq {
    margin: 4rem 0;
}

.faq h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    color: #1e293b;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: #64748b;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-page {
        padding: 1rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-hero h1 {
        font-size: 2rem;
    }

    .custom-solutions {
        padding: 2rem 1rem;
    }
}

/* Navigation Active State */
.nav-links a.active {
    color: #2563eb;
    font-weight: 600;
}

/* Mobile Navigation Styles */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1003;
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #2563eb;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 12px rgba(0,0,0,0.12);
    z-index: 1100;
    transition: right 0.3s;
    padding: 80px 24px 24px 24px;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
    display: block;
}

.mobile-menu a {
    display: block;
    margin: 12px 0;
    font-size: 1.1rem;
    color: var(--text);
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s;
    cursor: pointer;
}

.mobile-menu a:hover {
    color: var(--primary);
}

.mobile-menu a.cta-button {
    background: var(--primary);
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    margin-top: 20px;
    border: none;
    text-align: center;
    font-weight: 600;
}

.mobile-menu a.cta-button:hover {
    background: var(--primary-dark);
    color: white;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 1099;
    transition: opacity 0.3s;
    opacity: 0;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

@media screen and (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    /* Hamburger Animation */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

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

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* Cacher le logo et le bouton hamburger quand le menu mobile est ouvert */
@media (max-width: 768px) {
  .mobile-menu.active ~ .logo,
  .mobile-menu.active ~ .mobile-menu-btn {
    display: none !important;
  }
}

/* Le logo reste visible uniquement quand le menu est fermé */
@media (max-width: 768px) {
  .logo {
    position: relative;
  }
}


/* Le formulaire de démo est complètement étirer en mobile */
@media (max-width: 768px) {
    #contact {
      padding: 0px !important;
      
    }
  }

@media (max-width: 700px) {
    .demo-form-container {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        border-radius: 0;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        box-sizing: border-box;
    }
}
@media (max-width: 500px) {
    .demo-form-container {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0.2rem;
        padding-right: 0.2rem;
    }
}

.cta-mobile-nav {
    display: none;
}
@media (max-width: 900px) {
    .cta-mobile-nav {
        display: inline-block;
        background: var(--primary);
        color: #fff;
        font-weight: 600;
        border-radius: 6px;
        padding: 0.45rem 1rem;
        margin-right: 0.7rem;
        font-size: 1rem;
        text-decoration: none;
        transition: background 0.2s;
        box-shadow: 0 2px 8px rgba(37,99,235,0.08);
        vertical-align: middle;
    }
    .cta-mobile-nav:hover {
        background: var(--primary-dark);
        color: #fff;
    }
    .navbar .cta-mobile-nav {
        order: 2;
    }
    .mobile-menu-btn {
        order: 3;
    }
}
@media (min-width: 901px) {
    .cta-mobile-nav {
        display: none !important;
    }
}

body.menu-open .logo {
    display: initial !important;
}

.mobile-menu.active .logo {
    display: none !important;
}

/* Boutons CTA accent */
.cta-button,
.cta-mobile-nav,
.cta-bottom .primary-button,
.cta-final .primary-button {
    background: var(--primary) !important;
    color: #fff !important;
    border: none;
    box-shadow: 0 2px 8px rgba(37,99,235,0.12);
}
.cta-button:hover,
.cta-mobile-nav:hover,
.cta-bottom .primary-button:hover,
.cta-final .primary-button:hover {
    background: var(--primary-dark) !important;
    color: #fff !important;
}

/* Hero button specific style */
.hero .primary-button {
    background: var(--accent) !important;
    color: #1f2937 !important;
    box-shadow: 0 2px 8px rgba(251,191,36,0.12);
}
.hero .primary-button:hover {
    background: var(--accent-dark) !important;
    color: #fff !important;
}

#pricing h2,
#pricing h3,
#pricing .pricing-intro {
    text-align: center;
}

.footer-section:nth-child(2) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
@media (max-width: 700px) {
    .footer-section:nth-child(2) {
        align-items: center;
    }
}

/* CARROUSEL D'EXEMPLES AUDIO */
.demo-carousel-container {
    background: var(--white);
    margin: 2rem auto 3rem auto;
    max-width: var(--container-width);
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
    clear: both;
    position: relative;
}

.demo-carousel {
    padding: 2rem 1rem;
    width: 100%;
    box-sizing: border-box;
}

.demo-carousel-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.demo-carousel-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
    padding: 10px 0;
    margin-bottom: 1.5rem;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    position: relative;
    padding: 15px 5px;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease;
    width: 100%;
    padding: 5px 0;
    gap: 1rem;
}

.example-card {
    flex: 0 0 calc(50% - 0.8rem);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    margin-top: 5px;
    margin-bottom: 5px;
}

@media (min-width: 1200px) {
    .example-card {
        flex: 0 0 calc(33.333% - 0.8rem);
    }
}

@media (max-width: 768px) {
    .example-card {
        flex: 0 0 100%;
    }
    
    .carousel-track {
        gap: 0;
    }
}

.example-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15);
}

.example-card.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
}

.example-card.playing {
    border-color: var(--accent);
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    box-shadow: 0 8px 32px rgba(251, 191, 36, 0.2);
}

.example-card.playing .card-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.05); 
    }
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.example-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.8rem;
}

.example-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    flex-grow: 1;
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

.example-card.playing .audio-controls {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.play-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.play-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.play-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.example-card.playing .play-btn {
    background: var(--accent);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}

.example-card.playing .play-btn:hover {
    background: var(--accent-dark);
}

.audio-progress {
    flex: 1;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.audio-progress:hover {
    height: 6px;
}

.progress-bar {
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s ease;
    position: relative;
}

.example-card.playing .progress-bar {
    background: var(--accent);
}

.audio-time {
    font-size: 0.8rem;
    color: var(--text-light);
    min-width: 35px;
    font-weight: 500;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    z-index: 20;
    backdrop-filter: blur(8px);
}

.carousel-btn.prev-btn {
    left: -22px;
}

.carousel-btn.next-btn {
    right: -22px;
}

.carousel-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.carousel-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #9ca3af;
    transform: translateY(-50%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.indicator {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.2s ease;
}

.indicator.active {
    background: var(--primary);
    transform: scale(1.2);
}

.indicator:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .demo-carousel {
        padding: 1.5rem 1rem;
    }
    
    .demo-carousel-title {
        font-size: 1.5rem;
    }
    
    .carousel-wrapper {
        gap: 0.5rem;
    }
    
    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .carousel-btn.prev-btn {
        left: -18px;
    }
    
    .carousel-btn.next-btn {
        right: -18px;
    }
    
    .example-card {
        padding: 1.2rem;
        min-height: 260px;
    }
    
    .card-icon {
        font-size: 2.5rem;
    }
    
    .example-card h4 {
        font-size: 1.1rem;
    }
    
    .example-card p {
        font-size: 0.9rem;
    }
    
    .audio-controls {
        padding: 0.8rem;
        gap: 0.8rem;
    }
    
    .play-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .demo-carousel {
        padding: 1rem 0.5rem;
    }
    
    .carousel-wrapper {
        flex-direction: column;
        gap: 1rem;
    }
    
    .carousel-btn {
        display: none;
    }
    
    .example-card {
        min-height: 240px;
        padding: 1rem;
    }
    
    .card-icon {
        font-size: 2rem;
    }
    
    .carousel-indicators {
        order: -1;
        margin-bottom: 1rem;
        margin-top: 0;
    }
} 