/* ============================================================
   NOTORIS — Site vitrine
   Design System & Styles
   ============================================================ */

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

:root {
    --primary:       #0f172a;
    --primary-light:  #1e293b;
    --accent:        #2563eb;
    --accent-light:  #3b82f6;
    --accent-hover:  #1d4ed8;
    --accent-glow:   rgba(37, 99, 235, .15);
    --success:       #10b981;
    --success-light: #d1fae5;
    --warning:       #f59e0b;
    --danger:        #ef4444;
    --france-blue:   #002395;
    --france-red:    #ed2939;
    --bg:            #ffffff;
    --bg-alt:        #f8fafc;
    --bg-dark:       #0f172a;
    --bg-card:       #ffffff;
    --text:          #1e293b;
    --text-light:    #64748b;
    --text-muted:    #94a3b8;
    --border:        #e2e8f0;
    --border-light:  #f1f5f9;
    --shadow-sm:     0 1px 2px rgba(0,0,0,.05);
    --shadow:        0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
    --shadow-lg:     0 10px 25px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.05);
    --shadow-xl:     0 20px 50px -5px rgba(0,0,0,.12);
    --radius-sm:     6px;
    --radius:        10px;
    --radius-lg:     16px;
    --radius-xl:     24px;
    --transition:    .25s cubic-bezier(.4,0,.2,1);
    --max-w:         1200px;
    --nav-h:         72px;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { line-height: 1.25; font-weight: 700; color: var(--primary); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); letter-spacing: -.015em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; }

.section-label {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--accent);
    margin-bottom: .75rem;
}
.section-title { margin-bottom: 1rem; }
.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 640px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

/* --- Layout --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }
section.alt-bg { background: var(--bg-alt); }
section.dark-bg { background: var(--bg-dark); color: #e2e8f0; }
section.dark-bg h2, section.dark-bg h3, section.dark-bg h4 { color: #fff; }
section.dark-bg .section-subtitle { color: #94a3b8; }
.text-center { text-align: center; }

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: box-shadow var(--transition), background var(--transition);
}
.nav.scrolled {
    background: rgba(255,255,255,.95);
    box-shadow: var(--shadow);
}
.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -.02em;
}
.nav-logo .logo-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--accent), #7c3aed);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 900;
}
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-light);
    transition: color var(--transition);
    position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}
.nav-cta {
    background: var(--accent) !important;
    color: #fff !important;
    padding: .5rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
    font-size: .85rem !important;
    transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover {
    background: var(--accent-hover) !important;
    transform: translateY(-1px);
}

/* Mobile menu */
.nav-toggle {
    display: none;
    background: none; border: none;
    cursor: pointer; padding: .5rem;
    flex-direction: column; gap: 5px;
}
.nav-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--primary);
    transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: var(--nav-h); left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border);
        transform: translateY(-120%);
        transition: transform .3s ease;
        box-shadow: var(--shadow-lg);
    }
    .nav-links.open { transform: translateY(0); }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 1.75rem;
    border-radius: var(--radius);
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-align: center;
    justify-content: center;
    line-height: 1.4;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, .3);
}
.btn-primary:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, .4);
}
.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}
.btn-outline:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}
.btn-white {
    background: #fff;
    color: var(--accent);
    box-shadow: var(--shadow);
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--accent-hover);
}
.btn-dark {
    background: var(--primary);
    color: #fff;
}
.btn-dark:hover {
    background: var(--primary-light);
    color: #fff;
    transform: translateY(-2px);
}
.btn-sm { padding: .6rem 1.25rem; font-size: .85rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- Hero --- */
.hero {
    padding-top: calc(var(--nav-h) + 4rem);
    padding-bottom: 5rem;
    background: linear-gradient(160deg, #f0f4ff 0%, #e8f0fe 30%, #f8fafc 70%, #fff 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%; right: -30%;
    width: 80%; height: 120%;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
}
.hero-content { max-width: 560px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--accent-glow);
    color: var(--accent);
    padding: .4rem 1rem;
    border-radius: 100px;
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(37, 99, 235, .15);
}
.hero-badge .flag { font-size: .9rem; }
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}
.hero-mockup {
    width: 280px;
    background: var(--primary);
    border-radius: 32px;
    padding: 12px;
    box-shadow: var(--shadow-xl), 0 0 80px rgba(37, 99, 235, .1);
    position: relative;
}
.hero-mockup-inner {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    aspect-ratio: 9/16;
}
.hero-mockup-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-mockup-notch {
    position: absolute;
    top: 12px; left: 50%;
    transform: translateX(-50%);
    width: 100px; height: 24px;
    background: var(--primary);
    border-radius: 0 0 14px 14px;
    z-index: 2;
}
.hero-floating-card {
    position: absolute;
    background: #fff;
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .85rem;
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
}
.hero-floating-card.card-ocr { top: 15%; right: -20px; }
.hero-floating-card.card-time { bottom: 20%; left: -30px; animation-delay: -1.5s; }
.hero-floating-card .card-icon {
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}
.card-icon.green { background: var(--success-light); color: var(--success); }
.card-icon.blue { background: #dbeafe; color: var(--accent); }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 768px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-content { max-width: 100%; }
    .hero-visual { margin-top: 2rem; }
    .hero .btn-group { justify-content: center; }
    .hero-floating-card { display: none; }
    .hero-mockup { width: 220px; }
}

/* --- Stats / Problem Section --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.stat-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.1;
    margin-bottom: .5rem;
}
.stat-card.danger .stat-number { color: var(--danger); }
.stat-card.warning .stat-number { color: var(--warning); }
.stat-label {
    font-size: .9rem;
    color: var(--text-light);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .stat-number { font-size: 2rem; }
}

/* --- Feature Cards --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.feature-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #7c3aed);
    opacity: 0;
    transition: opacity var(--transition);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
    background: var(--accent-glow);
    color: var(--accent);
}
.feature-icon.green { background: var(--success-light); color: var(--success); }
.feature-icon.purple { background: #ede9fe; color: #7c3aed; }
.feature-icon.orange { background: #fff7ed; color: #ea580c; }
.feature-icon.red { background: #fee2e2; color: var(--danger); }
.feature-icon.teal { background: #ccfbf1; color: #0d9488; }
.feature-card h3 { margin-bottom: .5rem; font-size: 1.1rem; }
.feature-card p { font-size: .9rem; color: var(--text-light); line-height: 1.6; }

@media (max-width: 768px) {
    .features-grid { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Solution / Promises --- */
.promises-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.promise-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.promise-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.promise-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: .25rem;
    line-height: 1;
}
.promise-number.blue { color: var(--accent); }
.promise-number.green { color: var(--success); }
.promise-number.purple { color: #7c3aed; }
.promise-unit {
    font-size: .9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 600;
    margin-bottom: 1rem;
}
.promise-card h3 { margin-bottom: .75rem; }
.promise-card p { font-size: .9rem; color: var(--text-light); line-height: 1.6; }

@media (max-width: 768px) {
    .promises-grid { grid-template-columns: 1fr; }
}

/* --- Steps / Timeline --- */
.steps-timeline {
    display: flex;
    gap: 0;
    position: relative;
    justify-content: center;
}
.step-item {
    flex: 1;
    max-width: 200px;
    text-align: center;
    position: relative;
    padding: 0 .75rem;
}
.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 24px;
    right: -10%;
    width: 20%;
    height: 2px;
    background: var(--border);
}
.step-circle {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 1;
}
.step-time {
    font-size: .75rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .25rem;
}
.step-item h4 { margin-bottom: .35rem; font-size: 1rem; }
.step-item p { font-size: .8rem; color: var(--text-light); line-height: 1.5; }

@media (max-width: 768px) {
    .steps-timeline {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding-left: 2rem;
    }
    .step-item { text-align: left; display: flex; gap: 1rem; align-items: flex-start; max-width: 100%; padding: 0; }
    .step-item:not(:last-child)::after {
        top: 48px; left: 24px; right: auto;
        width: 2px; height: calc(100% + 1.5rem);
    }
    .step-circle { flex-shrink: 0; margin: 0; }
}

/* --- Personas / Value --- */
.personas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.persona-card {
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.persona-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.persona-emoji {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}
.persona-card h3 { margin-bottom: .25rem; }
.persona-role {
    font-size: .85rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1.25rem;
}
.persona-list { list-style: none; }
.persona-list li {
    padding: .4rem 0;
    font-size: .9rem;
    color: var(--text-light);
    display: flex;
    gap: .5rem;
    align-items: baseline;
}
.persona-list li::before {
    content: '\2713';
    color: var(--success);
    font-weight: 700;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .personas-grid { grid-template-columns: 1fr; }
}

/* --- Pricing --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: start;
}
.pricing-card {
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2.5rem 2rem;
    transition: all var(--transition);
    position: relative;
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.pricing-card.recommended {
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}
.pricing-card.recommended:hover {
    transform: scale(1.03) translateY(-4px);
}
.pricing-badge {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    padding: .3rem 1.25rem;
    border-radius: 100px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    white-space: nowrap;
}
.pricing-target {
    font-size: .8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .5rem;
}
.pricing-card h3 { margin-bottom: 1.25rem; font-size: 1.3rem; }
.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: .25rem;
    margin-bottom: .25rem;
}
.pricing-amount .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.pricing-amount .currency { font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.pricing-period {
    font-size: .85rem;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}
.pricing-features { list-style: none; margin-bottom: 2rem; }
.pricing-features li {
    padding: .45rem 0;
    font-size: .88rem;
    color: var(--text);
    display: flex;
    gap: .6rem;
    align-items: baseline;
}
.pricing-features li::before {
    content: '\2713';
    color: var(--success);
    font-weight: 700;
    flex-shrink: 0;
}
.pricing-card .btn { width: 100%; }

@media (max-width: 1024px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-card.recommended { transform: none; }
    .pricing-card.recommended:hover { transform: translateY(-4px); }
}
@media (max-width: 600px) {
    .pricing-grid { grid-template-columns: 1fr; }
}

/* --- Options Table --- */
.options-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-top: 2rem;
}
.options-table th, .options-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    font-size: .9rem;
}
.options-table thead th {
    background: var(--bg-dark);
    color: #fff;
    font-weight: 600;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.options-table tbody tr { border-bottom: 1px solid var(--border-light); }
.options-table tbody tr:nth-child(even) { background: var(--bg-alt); }
.options-table tbody tr:hover { background: #f0f4ff; }
.options-table tbody td { color: var(--text); }
.options-table tbody td:first-child { font-weight: 600; }

@media (max-width: 768px) {
    .options-table { font-size: .8rem; }
    .options-table th, .options-table td { padding: .75rem; }
}

/* --- Security Section --- */
.security-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.security-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: var(--radius);
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    transition: all var(--transition);
}
.security-item:hover {
    background: rgba(255,255,255,.08);
    transform: translateX(4px);
}
.security-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(37, 99, 235, .2);
    color: var(--accent-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.security-item h4 { color: #fff; margin-bottom: .25rem; font-size: 1rem; }
.security-item p { font-size: .85rem; color: #94a3b8; line-height: 1.5; }

@media (max-width: 768px) {
    .security-grid { grid-template-columns: 1fr; }
}

/* --- Deploy Guide --- */
.deploy-tabs {
    display: flex;
    gap: .5rem;
    margin-bottom: 2rem;
    justify-content: center;
}
.deploy-tab {
    padding: .65rem 1.5rem;
    border-radius: 100px;
    border: 2px solid var(--border);
    background: transparent;
    color: var(--text-light);
    font-weight: 600;
    font-size: .9rem;
    cursor: pointer;
    transition: all var(--transition);
    display: flex; align-items: center; gap: .5rem;
}
.deploy-tab:hover { border-color: var(--accent); color: var(--accent); }
.deploy-tab.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.deploy-tab-content { display: none; }
.deploy-tab-content.active { display: block; }

.deploy-steps {
    max-width: 700px;
    margin: 0 auto;
}
.deploy-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}
.deploy-step-num {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}
.deploy-step-content { flex: 1; }
.deploy-step-content h4 { margin-bottom: .5rem; }
.deploy-step-content p { font-size: .9rem; color: var(--text-light); margin-bottom: .75rem; }
.deploy-screenshot {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    max-width: 100%;
    margin-top: .5rem;
}

/* --- CTA Section --- */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1e293b 100%);
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -25%;
    width: 150%; height: 200%;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, .15) 0%, transparent 60%);
    pointer-events: none;
}
.cta-section h2 { color: #fff; margin-bottom: 1rem; position: relative; }
.cta-section p {
    color: #94a3b8;
    font-size: 1.15rem;
    max-width: 500px;
    margin: 0 auto 2rem;
    position: relative;
}
.cta-section .btn-group { justify-content: center; position: relative; }

/* --- Form --- */
.form-card {
    max-width: 560px;
    margin: 0 auto;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: .4rem;
}
.form-group label .required { color: var(--danger); }
.form-control {
    width: 100%;
    padding: .75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: .9rem;
    font-family: inherit;
    color: var(--text);
    background: var(--bg);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-hint { font-size: .8rem; color: var(--text-muted); margin-top: .25rem; }
.form-success {
    display: none;
    text-align: center;
    padding: 2rem;
}
.form-success.show { display: block; }
.form-success .success-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--success-light);
    color: var(--success);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

/* --- Footer --- */
.footer {
    background: var(--bg-dark);
    color: #94a3b8;
    padding: 3rem 0 1.5rem;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}
.footer-brand .nav-logo { color: #fff; margin-bottom: 1rem; }
.footer-brand p { font-size: .85rem; line-height: 1.7; max-width: 280px; }
.footer h4 {
    color: #fff;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 1rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: #94a3b8; font-size: .85rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .8rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-france {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.flag-bar {
    display: inline-flex;
    height: 14px;
    border-radius: 2px;
    overflow: hidden;
}
.flag-bar span { width: 8px; height: 100%; }
.flag-bar .fb { background: var(--france-blue); }
.flag-bar .fw { background: #fff; }
.flag-bar .fr { background: var(--france-red); }

@media (max-width: 768px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .footer-inner { grid-template-columns: 1fr; }
}

/* --- Animations on scroll --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- FAQ Accordion --- */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: .75rem;
    overflow: hidden;
    transition: border-color var(--transition);
}
.faq-item:hover { border-color: var(--accent); }
.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .95rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}
.faq-question .faq-arrow {
    transition: transform var(--transition);
    font-size: .8rem;
    color: var(--text-muted);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner {
    padding: 0 1.5rem 1.25rem;
    font-size: .9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* --- Accompagnement Steps --- */
.accomp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.accomp-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: all var(--transition);
}
.accomp-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}
.accomp-num {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--accent-glow);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 auto 1rem;
}
.accomp-card h4 { margin-bottom: .5rem; }
.accomp-card p { font-size: .85rem; color: var(--text-light); line-height: 1.5; }

@media (max-width: 768px) {
    .accomp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .accomp-grid { grid-template-columns: 1fr; }
}

/* --- Comparison badge --- */
.badge {
    display: inline-block;
    padding: .2rem .6rem;
    border-radius: 4px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.badge-green { background: var(--success-light); color: #065f46; }
.badge-blue { background: #dbeafe; color: #1e40af; }
.badge-purple { background: #ede9fe; color: #5b21b6; }

/* --- Screenshot gallery --- */
.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.screenshot-item {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: all var(--transition);
}
.screenshot-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}
.screenshot-item img {
    width: 100%;
    height: auto;
}
.screenshot-caption {
    padding: .75rem 1rem;
    background: var(--bg-alt);
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-light);
    text-align: center;
}

/* --- Utilities --- */
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.fw-700 { font-weight: 700; }
.visually-hidden {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
