:root {
    --primary-color: #1e3a8a; /* Bleu profond */
    --secondary-color: #ff7849; /* Orange/corail doux */
    --text-color: #1f2937;
    --light-text: #6b7280;
    --background: #ffffff;
    --light-background: #f3f4f6;
    --border-color: #e5e7eb;
    --accent-color: #fb923c; /* Accent orange clair */
    --spacing-unit: 1rem;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--background);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem var(--spacing-unit);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

/* Button Styles */
.cta-button {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.cta-button.primary {
    background: var(--secondary-color);
    color: #fff;
}

.cta-button.primary:hover {
    background: var(--accent-color);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 4rem;
    background: linear-gradient(to bottom, var(--light-background), var(--background));
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: sticky;
    top: 7.5rem;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: 2rem;
}

/* Features Section */
.features {
    padding: 4rem 2rem;
    background: var(--background);
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

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

.feature-card {
    padding: 2rem;
    text-align: center;
    background: var(--light-background);
    border-radius: 1rem;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.3s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 2px 8px 0 rgba(30,58,138,0.04);
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.025);
    box-shadow: 0 8px 24px 0 rgba(30,58,138,0.10);
}

.feature-card:hover h3 {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 0.7rem;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 4px rgba(30,58,138,0.04);
    border-bottom: 2px solid rgba(37,99,235,0.08);
    display: inline-block;
    padding-bottom: 0.2em;
    transition: color 0.25s, border-color 0.25s;
}

/* How It Works Section */
.how-it-works {
    padding: 4rem 2rem;
    background: var(--light-background);
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    padding: 4rem 2rem;
    text-align: center;
    background: var(--background);
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.signup-form .signup-row {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-bottom: 1.2rem;
}
.signup-form .signup-row input {
    flex: 1 1 0;
    min-width: 0;
}
.signup-form input[type="email"] {
    display: block;
    width: 100%;
    margin-bottom: 1.2rem;
}
.signup-form button {
    margin-top: 0.2rem;
}

/* Footer */
.footer {
    background: var(--light-background);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .signup-form {
        flex-direction: column;
    }

    .nav-container {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

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

/* HERO FLEX LAYOUT */
.hero-flex {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 7rem;
    flex-wrap: wrap;
}

.hero-mockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0;
}

.email-mockup {
    background: var(--background);
    border: 1.5px solid var(--border-color);
    border-radius: 1.2rem;
    box-shadow: 0 4px 24px 0 rgba(30,58,138,0.08);
    width: 340px;
    max-width: 95vw;
    font-size: 1rem;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.email-header {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--light-background);
    border-bottom: 1px solid var(--border-color);
}
.email-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    margin-right: 1rem;
}
.email-info {
    display: flex;
    flex-direction: column;
}
.email-title {
    font-weight: 600;
    color: var(--primary-color);
}
.email-date {
    font-size: 0.9rem;
    color: var(--light-text);
}
.email-body {
    padding: 1.2rem 1.2rem 1.5rem 1.2rem;
}
.email-summary-title {
    font-weight: 700;
    margin-bottom: 0.7rem;
    color: var(--text-color);
}
.email-summary-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem 0;
}
.email-summary-list li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}
.email-cta-group {
    display: flex;
    gap: 0.7rem;
    margin-top: 1.1rem;
    flex-wrap: wrap;
    justify-content: center;
}
.email-cta {
    background: var(--secondary-color);
    color: #fff;
    border: none;
    font-weight: 600;
    border-radius: 0.5rem;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 1px 4px 0 rgba(30,58,138,0.04);
}
.email-cta:hover {
    background: var(--accent-color);
}
.email-cta.secondary {
    background: var(--light-background);
    color: var(--primary-color);
    border: 1.5px solid var(--border-color);
    font-weight: 500;
    box-shadow: none;
}
.email-cta.secondary:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.hero-content {
    flex: 1 1 350px;
    min-width: 300px;
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}
.hero-content h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    line-height: 1.2;
}
.hero-content .subtitle {
    color: var(--light-text);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}
.hero-signup {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
}
.hero-signup input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
}
.hero-signup button {
    background: var(--secondary-color);
    color: #fff;
    border: none;
    font-weight: 700;
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.2s;
}
.hero-signup button:hover {
    background: var(--accent-color);
}
.hero-note {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-top: 0.2rem;
}

/* SCHEMA COMMENT CA MARCHE */
.schema-section {
    background: var(--background);
    padding: 4rem 2rem 3rem 2rem;
}
.schema-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}
.schema-step {
    background: var(--light-background);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    min-width: 220px;
    max-width: 260px;
    text-align: center;
    box-shadow: 0 2px 8px 0 rgba(30,58,138,0.04);
}
.schema-icon {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.7rem;
}
.schema-arrow {
    font-size: 2rem;
    color: #cbd5e1;
    margin: 0 0.5rem;
}

@media (max-width: 900px) {
    .hero-flex {
        flex-direction: column;
        gap: 2rem;
        padding-top: 5rem;
    }
    .hero-content {
        position: static;
        top: auto;
    }
    .schema-steps {
        flex-direction: column;
        gap: 1.5rem;
    }
    .schema-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
}

/* AUTRES SECTIONS (features, footer, etc.) restent sobres pero con la nueva paleta */
.features h2, .how-it-works h2 {
    color: var(--primary-color);
}
.feature-card i {
    color: var(--secondary-color);
}
.footer {
    background: var(--light-background);
}

/* MOCKUP COMPARISON */
.mockup-comparison {
    display: flex;
    align-items: flex-end;
    gap: 2rem;
    justify-content: center;
    position: relative;
}
.classic-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 110px;
    margin-bottom: 0.5rem;
    position: relative;
}
.classic-badge {
    background: var(--light-background);
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 0.7rem;
    padding: 0.2rem 0.8rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 1px 4px 0 rgba(30,58,138,0.06);
}
.classic-emails {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0.5rem;
}
.classic-envelope {
    background: #e5e7eb;
    color: #b91c1c;
    border-radius: 0.4rem;
    width: 38px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 1px 2px 0 rgba(30,58,138,0.04);
}
.classic-label {
    font-size: 0.95rem;
    color: var(--light-text);
    margin-top: 0.2rem;
}
.arrow-comparison {
    font-size: 2.2rem;
    color: #cbd5e1;
    align-self: center;
    margin: 0 0.5rem;
}
.mockup-badge {
    position: static;
    display: block;
    margin: 0 auto 0.7rem auto;
    background: var(--secondary-color);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 0.7rem;
    padding: 0.25rem 1.2rem;
    box-shadow: 0 1px 4px 0 rgba(30,58,138,0.08);
    z-index: 2;
    letter-spacing: 0.01em;
    text-align: center;
    max-width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.email-mockup.wide {
    padding-top: 0.7rem;
}
.summary-cat {
    font-size: 0.95em;
    font-weight: 600;
    margin-right: 0.3em;
    vertical-align: middle;
}
.summary-title {
    color: var(--primary-color);
    margin-left: 0.2em;
}
.summary-excerpt {
    font-size: 0.95em;
    color: var(--light-text);
    margin-left: 1.2em;
    margin-bottom: 0.3em;
}

@media (max-width: 900px) {
    .mockup-comparison {
        flex-direction: column;
        gap: 1.2rem;
        align-items: center;
    }
    .arrow-comparison {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
    .mockup-badge, .mockup-badge.after {
        position: static;
        transform: none;
        margin: 0.3rem auto 0.2rem auto;
        display: block;
    }
}

@media (max-width: 600px) {
    .mockup-badge {
        font-size: 0.85rem;
        padding: 0.18rem 0.7rem;
        max-width: 98%;
    }
    .email-mockup.wide {
        padding-top: 0.5rem;
    }
    .email-cta-group {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }
    .email-cta {
        width: 100%;
        font-size: 0.98rem;
    }
}

/* ANIMATION FADE-IN + SLIDE-UP */
.fade-in-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* TRANSITIONS ENTRE SECTIONS */
section {
    position: relative;
    z-index: 1;
}
section + section::before {
    content: '';
    display: block;
    width: 100%;
    height: 36px;
    background: linear-gradient(to bottom, rgba(243,244,246,0.0), rgba(243,244,246,0.7));
    position: absolute;
    top: -18px;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

/* Pour garder le minimalisme, pas de séparateurs trop marqués */
.mockup-preferences {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--light-background);
    border-bottom: 1px solid var(--border-color);
    padding: 0.7rem 1.2rem 0.7rem 1.2rem;
    font-size: 0.98rem;
    color: var(--text-color);
    justify-content: space-between;
}
.mockup-prefs-label {
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.mockup-prefs-list {
    color: var(--secondary-color);
    font-weight: 500;
    margin-left: 0.3rem;
}
.mockup-prefs-edit {
    color: var(--light-text);
    font-size: 0.95em;
    margin-left: auto;
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.2em;
}
.mockup-prefs-edit:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

@media (max-width: 900px) {
    .email-mockup {
        width: 98vw;
        min-width: 0;
        max-width: 99vw;
    }
}

.mockup-title-box {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.1rem;
    padding: 0.7rem 0 0.2rem 0;
}
.mockup-title {
    background: var(--light-background);
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 0.8rem;
    padding: 0.5rem 2.2rem;
    box-shadow: 0 1px 4px 0 rgba(30,58,138,0.04);
    margin: 0 auto;
    text-align: center;
    letter-spacing: 0.01em;
}
.mockup-email-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 2rem 1.5rem;
    box-sizing: border-box;
}
.email-mockup.wide {
    width: 100%;
    min-width: 0;
    max-width: 680px;
    margin: 0 auto;
}
.slicer-comparison {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: 700px;
    max-width: 98vw;
    min-height: 370px;
    background: var(--background);
    border-radius: 1.2rem;
    box-shadow: 0 4px 24px 0 rgba(30,58,138,0.08);
    overflow: hidden;
    margin: 0 auto 1.5rem auto;
}
.slicer-side {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 1.5rem 1.2rem 1.2rem 1.2rem;
    transition: width 0.3s cubic-bezier(.4,0,.2,1);
    background: transparent;
}
.slicer-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.7rem;
}
.slicer-before {
    border-right: 1.5px solid var(--border-color);
    background: #f9fafb;
    z-index: 1;
}
.slicer-after {
    background: #fff;
    z-index: 1;
}
.slicer-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}
.slicer-range {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
    opacity: 0;
    pointer-events: auto;
    margin: 0;
}
.slicer-divider-bar {
    position: absolute;
    top: 5%;
    height: 90%;
    width: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    z-index: 30;
    left: 50%;
    transform: translateX(-50%);
    transition: left 0.2s cubic-bezier(.4,0,.2,1);
    user-select: none;
    pointer-events: none;
}
.slicer-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border: 2.5px solid var(--secondary-color);
    transition: box-shadow 0.2s, border-color 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 40;
    cursor: grab;
}
.slicer-handle:hover, .slicer-handle.active {
    background: var(--secondary-color);
    border-color: var(--accent-color);
}
.slicer-handle img {
    width: 65%;
    height: 65%;
    object-fit: contain;
    display: block;
    margin: auto;
    pointer-events: none;
    filter: brightness(0) invert(1);
}

/* Emails bruts (avant) */
.raw-emails {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.raw-email {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.7rem 1rem;
    font-size: 1rem;
    color: var(--text-color);
    box-shadow: 0 1px 4px 0 rgba(30,58,138,0.04);
    margin-bottom: 0.2rem;
}
.raw-email-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}
.raw-email-body {
    color: var(--light-text);
    font-size: 0.98em;
}

@media (max-width: 800px) {
    .mockup-email-container {
        max-width: 99vw;
        padding: 0.5rem 0.2rem 1rem 0.2rem;
    }
    .email-mockup.wide {
        max-width: 99vw;
    }
}

.slicer-photo-section {
    margin: 2.5rem 0 2rem 0;
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
    text-align: center;
    background: var(--background);
    padding: 0;
}
.slicer-photo-container {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    position: relative;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
}
.slicer-photo-wrapper {
    position: relative;
    width: 100%;
    max-width: 700px;
    aspect-ratio: 16/6;
    background: #e5e7eb;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 4px 24px 0 rgba(30,58,138,0.08);
    margin: 0 auto;
    min-height: 180px;
}
.slicer-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: clip-path 0.3s cubic-bezier(.4,0,.2,1);
    border-radius: 0;
    pointer-events: none;
}
.slicer-photo-before {
    z-index: 1;
}
.slicer-photo-after {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}
.slicer-photo-range {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    width: 90%;
    height: 36px;
    z-index: 10;
    accent-color: var(--secondary-color);
    background: transparent;
    cursor: pointer;
    pointer-events: auto;
    opacity: 1;
}
.slicer-photo-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: 3px solid #fff;
    box-shadow: 0 2px 8px 0 rgba(30,58,138,0.10);
    cursor: pointer;
    transition: background 0.2s;
}
.slicer-photo-range::-webkit-slider-thumb:hover {
    background: var(--accent-color);
}
.slicer-photo-range::-moz-range-thumb {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: 3px solid #fff;
    box-shadow: 0 2px 8px 0 rgba(30,58,138,0.10);
    cursor: pointer;
    transition: background 0.2s;
}
.slicer-photo-range::-moz-range-thumb:hover {
    background: var(--accent-color);
}
.slicer-photo-range::-ms-thumb {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: 3px solid #fff;
    box-shadow: 0 2px 8px 0 rgba(30,58,138,0.10);
    cursor: pointer;
    transition: background 0.2s;
}
.slicer-photo-range:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--secondary-color);
}
.slicer-photo-range::-webkit-slider-runnable-track {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
}
.slicer-photo-range::-ms-fill-lower {
    background: #e5e7eb;
    border-radius: 4px;
}
.slicer-photo-range::-ms-fill-upper {
    background: #e5e7eb;
    border-radius: 4px;
}
.slicer-photo-range::-moz-range-track {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
}
.slicer-photo-label {
    position: absolute;
    top: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    background: rgba(255,255,255,0.85);
    color: var(--primary-color);
    padding: 0.2em 0.8em;
    border-radius: 0.7em;
    z-index: 20;
    pointer-events: none;
}
.slicer-photo-label-before {
    left: 18px;
}
.slicer-photo-label-after {
    right: 18px;
}
@media (max-width: 900px) {
    .slicer-photo-section, .slicer-photo-container, .slicer-photo-wrapper {
        width: 100vw;
        max-width: 100vw;
        border-radius: 0;
    }
    .slicer-photo-wrapper {
        aspect-ratio: 16/8;
        min-height: 120px;
    }
}
@media (max-width: 700px) {
    .slicer-photo-wrapper {
        max-width: 98vw;
        aspect-ratio: 16/10;
        min-height: 80px;
    }
    .slicer-photo-range {
        width: 98vw;
    }
}

.features-extra-explanation {
    margin: 2.2rem auto 0 auto;
    max-width: 700px;
    color: var(--text-color);
    background: var(--light-background);
    border-radius: 0.7rem;
    padding: 1rem 1.5rem;
    font-size: 1.08rem;
    display: flex;
    align-items: center;
    gap: 0.7em;
    box-shadow: 0 1px 4px 0 rgba(30,58,138,0.04);
}

.features-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
@media (max-width: 1000px) {
    .features-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}
@media (max-width: 600px) {
    .features-grid-4 {
        grid-template-columns: 1fr;
        gap: 1.1rem;
    }
}

.mockup-disclaimer {
    font-size: 0.88rem;
    color: #8b949e;
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 0.2rem;
    font-style: italic;
    letter-spacing: 0.01em;
    user-select: none;
}

.steps-flex {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0 1rem 0;
    flex-wrap: wrap;
}
.step-card {
    background: var(--light-background);
    border-radius: 1rem;
    box-shadow: 0 2px 8px 0 rgba(30,58,138,0.04);
    padding: 2rem 1.2rem 1.5rem 1.2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 220px;
    max-width: 260px;
    flex: 1 1 220px;
    margin: 0 0.2rem;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1), box-shadow 0.3s cubic-bezier(.4,0,.2,1);
}
.step-card:hover {
    transform: translateY(-6px) scale(1.025);
    box-shadow: 0 8px 24px 0 rgba(30,58,138,0.10);
}
.step-icon {
    width: 3.2rem;
    height: 3.2rem;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px 0 rgba(30,58,138,0.10);
    border: 2px solid var(--light-background);
    transition: background 0.2s, color 0.2s;
}
.step-card:hover .step-icon {
    background: var(--secondary-color);
    color: #fff;
}
.step-card h3 {
    font-size: 1.13rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.6rem;
    letter-spacing: 0.01em;
}
.step-card p {
    color: var(--light-text);
    font-size: 1.01rem;
    margin: 0;
}
.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 2.1rem;
    min-width: 32px;
    min-height: 100px;
    margin: 0 0.1rem;
}
@media (max-width: 1100px) {
    .steps-flex {
        gap: 1rem;
    }
    .step-card {
        min-width: 180px;
        max-width: 1fr;
        padding: 1.5rem 0.7rem 1.2rem 0.7rem;
    }
}
@media (max-width: 900px) {
    .steps-flex {
        flex-direction: column;
        gap: 1.2rem;
        padding: 1.2rem 0 0.5rem 0;
        align-items: stretch;
    }
    .step-arrow {
        transform: rotate(90deg);
        font-size: 1.7rem;
        min-height: 0;
        min-width: 0;
        margin: 0.2rem 0;
    }
    .step-card {
        margin: 0 auto;
        width: 100%;
        max-width: 400px;
    }
}

.step-svg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
}
.step-svg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    filter: brightness(0) invert(1);
}

.slicer-photo-wrapper.dragging .slicer-divider-bar,
.slicer-photo-wrapper.dragging .slicer-handle {
    transition: none !important;
}

.slicer-photo-simple-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    aspect-ratio: 16/7;
    margin: 2rem auto 2.5rem auto;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 4px 24px 0 rgba(30,58,138,0.08);
    background: #e5e7eb;
    min-height: 180px;
}
.slicer-photo-simple {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    transition: opacity 0.18s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
    user-select: none;
}
.slicer-photo-simple-before {
    z-index: 1;
}
.slicer-photo-simple-after {
    z-index: 2;
    opacity: 1;
}
.slicer-simple-range {
    position: absolute;
    left: 0; top: 0; width: 100%; height: 100%;
    opacity: 0;
    z-index: 10;
    cursor: pointer;
    margin: 0;
}
.slicer-simple-handle {
    position: absolute;
    top: 50%;
    left: 100%; /* JS mettra à jour */
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border: 2.5px solid var(--secondary-color);
    border-radius: 50%;
    box-shadow: 0 2px 12px 0 rgba(30,58,138,0.13);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: background 0.2s, border-color 0.2s;
    cursor: grab;
    user-select: none;
}
.slicer-simple-handle:hover, .slicer-simple-handle.active {
    background: var(--secondary-color);
    border-color: var(--accent-color);
}
.slicer-simple-handle img {
    width: 65%;
    height: 65%;
    object-fit: contain;
    display: block;
    margin: auto;
    pointer-events: none;
    filter: brightness(0) invert(1);
}
@media (max-width: 900px) {
    .slicer-photo-simple-container {
        max-width: 98vw;
        aspect-ratio: 16/10;
        min-height: 100px;
    }
}

.slicer-photo-classic-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    aspect-ratio: 16/7;
    margin: 2rem auto 2.5rem auto;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 4px 24px 0 rgba(30,58,138,0.08);
    background: #e5e7eb;
    min-height: 180px;
}
.slicer-photo-classic {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
}
.slicer-photo-classic-before {
    z-index: 1;
}
.slicer-photo-classic-after {
    z-index: 2;
    clip-path: inset(0 50% 0 0); /* JS mettra à jour */
    transition: clip-path 0.18s cubic-bezier(.4,0,.2,1);
}
.slicer-classic-range {
    position: absolute;
    left: 0; top: 0; width: 100%; height: 100%;
    opacity: 0;
    z-index: 10;
    cursor: pointer;
    margin: 0;
}
.slicer-classic-divider {
    position: absolute;
    top: 5%;
    height: 90%;
    width: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    z-index: 30;
    left: 50%;
    transform: translateX(-50%);
    transition: left 0.18s cubic-bezier(.4,0,.2,1);
    user-select: none;
    pointer-events: none;
}
.slicer-classic-handle {
    position: absolute;
    top: 50%;
    left: 50%; /* JS mettra à jour */
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border: 2.5px solid var(--secondary-color);
    border-radius: 50%;
    box-shadow: 0 2px 12px 0 rgba(30,58,138,0.13);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 40;
    transition: background 0.2s, border-color 0.2s, left 0.18s cubic-bezier(.4,0,.2,1);
    cursor: grab;
    user-select: none;
}
.slicer-classic-handle:hover, .slicer-classic-handle.active {
    background: var(--secondary-color);
    border-color: var(--accent-color);
}
.slicer-classic-handle img {
    width: 65%;
    height: 65%;
    object-fit: contain;
    display: block;
    margin: auto;
    pointer-events: none;
    filter: brightness(0) invert(1);
}
@media (max-width: 900px) {
    .slicer-photo-classic-container {
        max-width: 98vw;
        aspect-ratio: 16/10;
        min-height: 100px;
    }
}

.nlm-help-section {
    background: var(--background);
    padding: 4rem 2rem 3rem 2rem;
}
.nlm-help-container {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.nlm-help-accordion {
    flex: 1 1 340px;
    min-width: 280px;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.nlm-help-accordion h2 {
    font-size: 2.1rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-weight: 800;
}
.nlm-accordion-list {
    width: 100%;
}
.nlm-accordion-item {
    border-bottom: 1px solid var(--border-color);
    background: var(--background);
    transition: background 0.2s;
}
.nlm-accordion-title {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    text-align: left;
    font-size: 1.13rem;
    font-weight: 600;
    color: var(--text-color);
    padding: 1.1rem 2.2rem 1.1rem 0.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s;
    position: relative;
}
.nlm-accordion-title:hover {
    background: var(--light-background);
}
.nlm-chevron {
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    margin-left: 0.5em;
    transition: transform 0.25s cubic-bezier(.4,0,.2,1);
    position: relative;
}
.nlm-chevron::before {
    content: '';
    display: block;
    width: 0.7em;
    height: 0.7em;
    border-right: 2.5px solid var(--secondary-color);
    border-bottom: 2.5px solid var(--secondary-color);
    transform: rotate(45deg);
    position: absolute;
    left: 0.2em;
    top: 0.1em;
    transition: border-color 0.2s;
}
.nlm-accordion-item.active .nlm-chevron {
    transform: rotate(180deg);
}
.nlm-accordion-content {
    max-height: 0;
    overflow: hidden;
    font-size: 1.04rem;
    color: var(--light-text);
    background: var(--background);
    padding: 0 0.2rem;
    opacity: 0;
    transition: max-height 0.45s cubic-bezier(.4,0,.2,1), opacity 0.35s cubic-bezier(.4,0,.2,1), padding 0.2s;
    pointer-events: none;
}
.nlm-accordion-item.active .nlm-accordion-content {
    opacity: 1;
    padding: 0.7rem 0.2rem 1.2rem 0.2rem;
    pointer-events: auto;
}
.nlm-help-image {
    flex: 1 1 320px;
    min-width: 220px;
    max-width: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nlm-help-image img {
    width: 100%;
    max-width: 420px;
    border-radius: 1.1rem;
    box-shadow: 0 2px 12px 0 rgba(30,58,138,0.10);
    object-fit: cover;
}
@media (max-width: 900px) {
    .nlm-help-container {
        flex-direction: column;
        gap: 2rem;
        align-items: stretch;
    }
    .nlm-help-image {
        max-width: 100vw;
        margin: 0 auto;
    }
}

.nlm-help-desc {
    font-size: 1.07rem;
    color: var(--text-color);
    margin-bottom: 0.7em;
    line-height: 1.6;
}
.nlm-help-desc strong, .nlm-help-desc .highlight {
    color: var(--secondary-color);
    font-weight: 700;
}
.nlm-help-exemple {
    background: #f9fafb;
    border-left: 4px solid var(--secondary-color);
    padding: 0.9em 1.1em;
    margin: 0.5em 0 0.2em 0;
    border-radius: 0.6em;
    font-style: italic;
    color: var(--primary-color);
    font-size: 1.04rem;
    position: relative;
    box-shadow: 0 1px 4px 0 rgba(30,58,138,0.04);
    display: flex;
    align-items: flex-start;
    gap: 0.7em;
}
.nlm-help-exemple::before {
    content: "💡";
    font-size: 1.2em;
    margin-right: 0.3em;
    display: inline-block;
    vertical-align: middle;
}
.nlm-help-exemple strong {
    color: var(--secondary-color);
    font-style: normal;
    font-weight: 700;
    margin-right: 0.4em;
}

.highlight-beta {
    background: linear-gradient(90deg, var(--secondary-color) 60%, var(--accent-color) 100%);
    color: #fff;
    font-size: 1.18rem;
    font-weight: 800;
    box-shadow: 0 4px 18px 0 rgba(251,146,60,0.18);
    border: none;
    letter-spacing: 0.01em;
    transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
    padding: 1rem 2.2rem;
    margin-top: 0.1rem;
    text-shadow: 0 2px 8px rgba(30,58,138,0.08);
}
.highlight-beta:hover, .highlight-beta:focus {
    background: linear-gradient(90deg, var(--accent-color) 60%, var(--secondary-color) 100%);
    box-shadow: 0 8px 32px 0 rgba(251,146,60,0.22);
    transform: scale(1.045);
    color: #fff;
}

@media (max-width: 600px) {
    .signup-form .signup-row {
        flex-direction: column;
        gap: 0.7rem;
    }
}

.cta-card .cta-button {
    display: block;
    margin: 2rem auto 0 auto;
    width: 100%;
    max-width: 320px;
    font-size: 1.18rem;
    padding: 1.1rem 2.2rem;
    border-radius: 0.8rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--secondary-color) 60%, var(--accent-color) 100%);
    color: #fff;
    box-shadow: 0 4px 18px 0 rgba(251,146,60,0.18);
    border: none;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 8px rgba(30,58,138,0.08);
    transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
    cursor: pointer;
}
.cta-card .cta-button:hover, .cta-card .cta-button:focus {
    background: linear-gradient(90deg, var(--accent-color) 60%, var(--secondary-color) 100%);
    box-shadow: 0 8px 32px 0 rgba(251,146,60,0.22);
    transform: scale(1.045);
    color: #fff;
} 