:root {
    --color-primary: #2a9d8f;
    --color-secondary: #264653;
    --color-accent: #f4a261;
    --color-light: #f4f9f8;
    --color-dark: #1d3557;
    --color-text: #12343b;
    --section-padding: clamp(3rem, 7vw, 4.5rem);
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    color: var(<color>);
    background-color: var(--color-light);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(244, 249, 248, 0.92);
    border-bottom: 1px solid rgba(18, 52, 59, 0.08);
}

.navbar {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0.85rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.2rem;
}

.navbar__brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    color: var(--color-secondary);
}

.navbar__logo {
    width: clamp(48px, 6vw, 66px);
    height: clamp(48px, 6vw, 66px);
    object-fit: contain;
    display: block;
    padding: clamp(0.25rem, 0.8vw, 0.4rem);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 28px rgba(18, 52, 59, 0.18);
}

.navbar__links {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    margin-left: auto;
}

.navbar__links a {
    font-weight: 500;
    padding: 0.4rem 0.2rem;
}

.navbar__cta {
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-primary), #55c4b7);
    color: white;
    font-weight: 600;
    box-shadow: 0 12px 28px rgba(42, 157, 143, 0.25);
}

.navbar__toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-left: auto;
}

.language-toggle {
    border: 1px solid rgba(18, 52, 59, 0.25);
    background: rgba(244, 249, 248, 0.85);
    color: var(--color-secondary);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    margin-left: 1rem;
}

.language-toggle__label {
    display: inline-block;
    min-width: 2ch;
    text-align: center;
}

.language-toggle:hover {
    background: rgba(18, 52, 59, 0.08);
    border-color: rgba(18, 52, 59, 0.4);
}

.language-toggle[aria-pressed="true"] {
    background: var(--color-secondary);
    color: #ffffff;
    border-color: var(--color-secondary);
}

.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background: linear-gradient(135deg, rgba(18, 52, 59, 0.55), rgba(42, 157, 143, 0.55)),
                url('https://images.unsplash.com/photo-1493238792000-8113da705763?auto=format&fit=crop&w=1600&q=80') center/cover fixed;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 52, 59, 0.75), rgba(18, 52, 59, 0.35));
    z-index: 0;
}

.hero__content {
    max-width: 880px;
    padding: 3.2rem 1.6rem;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background-color: rgba(233, 196, 106, 0.9);
    color: var(--color-secondary);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.hero p {
    font-size: clamp(1.1rem, 2.6vw, 1.45rem);
    margin-bottom: 2.4rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.hero__highlights {
    display: grid;
    gap: 0.6rem;
    justify-items: center;
    margin-bottom: 2rem;
    font-weight: 600;
}

.hero__highlights span {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), #6bd5c8);
    color: white;
    padding: 1rem 2.6rem;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 20px 40px rgba(42, 157, 143, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 60px rgba(42, 157, 143, 0.4);
}

.cta--ghost {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: none;
}

.section {
    padding: var(--section-padding) 1.6rem;
    scroll-margin-top: 5rem;
}

.section:nth-of-type(even) {
    background: white;
}

.section__content {
    max-width: 1080px;
    margin: 0 auto;
}

.section h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.6rem);
    margin-bottom: 2.5rem;
    color: var(--color-secondary);
}

.section p {
    font-size: 1.05rem;
}

.section--screenshot .demo__layout {
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 5vw, 3rem);
}

.section--screenshot .demo__video,
.section--screenshot .demo__gallery {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.section--screenshot .demo__video {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 28px 70px rgba(18, 52, 59, 0.1);
    padding: clamp(1.6rem, 3vw, 2.2rem);
}

.section--screenshot .demo__video h3,
.section--screenshot .demo__gallery h3 {
    font-size: 1.5rem;
    color: var(--color-secondary);
    text-align: center;
}

.section--screenshot .demo__video-frame {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
}

.section--screenshot .demo__video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.section--screenshot .demo__separator {
    height: 3px;
    max-width: 160px;
    margin-inline: auto;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.3), rgba(18, 52, 59, 0.5));
}

.section--screenshot .demo__gallery p {
    max-width: 560px;
    text-align: center;
    margin-inline: auto;
}

.section--screenshot .demo__video > p {
    text-align: center;
    margin-inline: auto;
    max-width: 640px;
}

.section--screenshot .demo__gallery-grid {
    margin-top: 0.6rem;
    display: grid;
    gap: clamp(1rem, 3vw, 1.6rem);
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.gallery-card {
    background: linear-gradient(145deg, #ffffff, #f5fbf9);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(18, 52, 59, 0.08);
    padding: clamp(1.2rem, 2.4vw, 1.8rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.gallery-card__title {
    font-size: 1.1rem;
    color: var(--color-secondary);
}

.gallery-card__trigger {
    border: none;
    background: transparent;
    padding: 0;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(18, 52, 59, 0.06);
    position: relative;
    cursor: zoom-in;
}

.gallery-card__trigger::after {
    content: "Voir en grand";
    position: absolute;
    inset: auto 1rem 1rem auto;
    background: rgba(18, 52, 59, 0.85);
    color: #fff;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.gallery-card__trigger:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.gallery-card__trigger img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-card figcaption p {
    font-size: 0.95rem;
    color: rgba(18, 52, 59, 0.78);
}

.metrics,
.features,
.pricing,
.timeline,
.screenshot-grid {
    display: grid;
    gap: 1.8rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.pricing {
    justify-content: center;
    justify-items: center;
}

.metric,
.card,
.pricing__card,
.timeline li,
.testimonial-slide,
.screenshot-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(18, 52, 59, 0.08);
    padding: 1.8rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.metric:hover,
.card:hover,
.pricing__card:hover,
.timeline li:hover,
.testimonial-slide:hover,
.screenshot-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px rgba(18, 52, 59, 0.12);
}

.metric__value {
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--color-primary);
}

.metric__label {
    display: block;
    margin-top: 0.6rem;
    color: var(--color-secondary);
}

.card h3,
.pricing__card h3 {
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.pricing__card--highlight {
    border: 2px solid var(--color-accent);
    background: #fffaf4;
}

.pricing__price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.pricing__card ul {
    list-style: none;
    margin: 1.2rem 0;
    padding: 0;
    text-align: center;
}

.pricing__card li {
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0;
}

.pricing__card li::before {
    content: '✓';
    position: static;
    color: var(--color-primary);
    font-weight: 700;
}

.pricing__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pricing__note,
.pricing__trial {
    text-align: center;
}

.section--pricing {
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.12), rgba(244, 162, 97, 0.12));
}

.screenshot-card {
    padding: 0;
    overflow: hidden;
}

.screenshot-card__trigger {
    border: none;
    background: transparent;
    padding: 0;
    cursor: zoom-in;
    display: block;
}

.screenshot-card__trigger img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.screenshot-card__trigger:hover img {
    transform: scale(1.02);
}

.screenshot-card figcaption {
    padding: 1.2rem 1.6rem;
    color: var(--color-secondary);
    font-size: 1rem;
}

.timeline {
    margin-top: 2.5rem;
}

.timeline {
    list-style: none;
}

.logos {
    display: grid;
    gap: 1.8rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin-top: 2.5rem;
}

.logo-card {
    background: white;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(18, 52, 59, 0.08);
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.logo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(18, 52, 59, 0.12);
}

.logo-card img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
}

.logo-card figcaption {
    font-weight: 600;
    text-align: center;
    color: rgba(18, 52, 59, 0.75);
    font-size: 0.95rem;
}

.testimonials-slider {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-slide {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    inset: 0;
    padding: 2rem 2.4rem;
    transition: opacity 0.6s ease;
}

.testimonial-slide.is-active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.testimonial__quote {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: clamp(1.05rem, 2.4vw, 1.25rem);
}

.testimonial__author {
    font-weight: 600;
    color: var(--color-secondary);
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(38, 70, 83, 0.3);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.testimonial-dot.is-active {
    background: var(--color-primary);
    transform: scale(1.2);
}

.faq details {
    border: 1px solid rgba(18, 52, 59, 0.1);
    border-radius: 12px;
    margin-bottom: 1rem;
    background: white;
}

.faq summary {
    padding: 1rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.faq summary:hover {
    background: rgba(42, 157, 143, 0.08);
    border-radius: 12px;
}

.faq details[open] summary {
    color: var(--color-primary);
}

.faq details p {
    padding: 0.75rem 1.5rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(18, 52, 59, 0.05);
}

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

.footer {
    padding: 2rem 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    background: var(--color-dark);
}

.lightbox {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 200;
}

.lightbox--visible {
    opacity: 1;
    pointer-events: auto;
}

.lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 52, 59, 0.65);
}

.lightbox__content {
    position: relative;
    max-width: min(90vw, 1000px);
    max-height: 90vh;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 40px 90px rgba(18, 52, 59, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.lightbox__content img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    background: #f5f8f7;
}

.lightbox__close {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    border: none;
    background: rgba(18, 52, 59, 0.75);
    color: #fff;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__close:hover {
    background: rgba(18, 52, 59, 0.95);
}

.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

html.js .reveal {
    opacity: 0;
    transform: translateY(35px);
}

html.js .reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .navbar__toggle {
        display: block;
    }

    .navbar__links {
        display: none;
        flex-direction: column;
        gap: 0.8rem;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-light);
        padding: 1.2rem 1.4rem;
        border-top: 1px solid rgba(18, 52, 59, 0.08);
        margin-left: 0;
    }

    .navbar__links--open {
        display: flex;
    }

    .language-toggle {
        order: 3;
        margin-left: 0.8rem;
    }

    .hero {
        min-height: 68vh;
        background-attachment: scroll;
    }

    .section {
        padding: clamp(2.4rem, 9vw, 3.2rem) 1.2rem;
    }

    .metrics,
    .features,
    .pricing,
    .timeline,
    .screenshot-grid {
        grid-template-columns: 1fr;
    }

    .screenshot-card__trigger img {
        height: 240px;
    }

    .hero__highlights {
        justify-items: stretch;
        text-align: left;
    }
}

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

    .hero p {
        font-size: 1.05rem;
    }

    .cta,
    .cta--ghost {
        width: 100%;
    }

    .pricing__card li {
        padding-left: 0;
        text-align: center;
    }

    .pricing__card li::before {
        display: none;
    }
}
.section--contact {
    background: var(--color-secondary);
    color: white;
    text-align: center;
}

.section--contact a {
    color: var(--color-accent);
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(42, 157, 143, 0.6);
    outline-offset: 3px;
}
.timeline {
    list-style: none;
    margin-top: 2.5rem;
}

.timeline li {
    border-left: 4px solid var(--color-primary);
}

.logos span {
    font-size: 1.2rem;
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
