/* ==========================================================================
   ORBIT — Design System v2
   Épuré / minimal : Inter, blanc-gris-orange, cards arrondies, animations
   ========================================================================== */

:root {
    --black: #1a1a1a;
    --white: #ffffff;
    --bg: #ffffff;
    --bg-alt: #f8f9fa;
    --orange: #F5921D;
    --orange-light: rgba(245, 146, 29, 0.1);
    --orange-glow: rgba(245, 146, 29, 0.15);
    --grey-900: #1a1a1a;
    --grey-700: #374151;
    --grey-500: #6b7280;
    --grey-400: #9ca3af;
    --grey-300: #d1d5db;
    --grey-200: #e5e7eb;
    --grey-100: #f3f4f6;
    --grey-50: #f9fafb;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --max-width: 1200px;
    --section-padding: 120px 40px;
    --radius: 16px;
    --radius-sm: 12px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 2px 6px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.1), 0 8px 20px rgba(0,0,0,0.06);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--black);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
    z-index: 0;
}

/* ==========================================================================
   SCROLL SNAP
   ========================================================================== */

.hero,
.offres-hebergement,
.offres-socle,
.offres-dashboard,
.offres-pricing,
.testimonials,
.how,
.faq,
.cta-final {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Scroll hint chevron */
.hero::after,
.offres-hebergement::after,
.offres-socle::after,
.offres-dashboard::after,
.offres-pricing::after,
.testimonials::after,
.how::after,
.faq::after {
    content: '';
    position: absolute;
    bottom: 28px;
    left: 50%;
    width: 14px;
    height: 14px;
    border-right: 2px solid var(--grey-300);
    border-bottom: 2px solid var(--grey-300);
    transform: translateX(-50%) rotate(45deg);
    animation: scroll-chevron 2s ease-in-out infinite;
    opacity: 0.6;
    z-index: 2;
    transition: opacity 0.5s ease;
}

.snap-done::after {
    opacity: 0;
    pointer-events: none;
}

@keyframes scroll-chevron {
    0%, 100% { bottom: 28px; opacity: 0.6; }
    50% { bottom: 20px; opacity: 1; }
}

@media (max-width: 900px) {
    .hero,
    .offres-hebergement,
    .offres-socle,
    .offres-dashboard,
    .offres-pricing,
    .testimonials,
    .how,
    .faq,
    .cta-final {
        min-height: auto;
    }
    .hero::after,
    .offres-hebergement::after,
    .offres-socle::after,
    .offres-dashboard::after,
    .offres-pricing::after,
    .testimonials::after,
    .how::after,
    .faq::after {
        display: none;
    }
}

/* ==========================================================================
   ORBITAL CANVAS
   ========================================================================== */

#orbital-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */

[data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

/* ==========================================================================
   HEADER
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--grey-200);
    transition: box-shadow var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 14px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

.logo img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--grey-500);
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange);
    border-radius: 1px;
    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--black);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--orange);
    color: var(--white);
    padding: 10px 22px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: transform var(--transition-bounce), box-shadow var(--transition), background var(--transition);
    display: inline-block;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(245, 146, 29, 0.3);
    background: #e0840f;
}

.nav-login {
    color: var(--orange);
    background: transparent;
    padding: 9px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 100px;
    border: 1.5px solid var(--orange);
    cursor: pointer;
    transition: transform var(--transition-bounce), box-shadow var(--transition), background var(--transition), color var(--transition);
    display: inline-block;
}

.nav-login:hover {
    transform: translateY(-1px);
    background: var(--orange-light);
    box-shadow: 0 4px 16px rgba(245, 146, 29, 0.15);
}

button.nav-cta {
    border: none;
    font-family: var(--font-sans);
    cursor: pointer;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
    z-index: 101;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--black);
    border-radius: 1px;
    position: absolute;
    left: 0;
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

body.menu-open .hamburger span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
body.menu-open .hamburger span:nth-child(2) { opacity: 0; }
body.menu-open .hamburger span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

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

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 32px 40px;
        gap: 24px;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -8px 0 32px rgba(0,0,0,0.1);
    }

    body.menu-open .nav { right: 0; }
    .nav-links { flex-direction: column; gap: 20px; }
    .nav-links a { font-size: 1.1rem; }
    .header-inner { padding: 14px 20px; }
}

/* ==========================================================================
   SECTIONS — commun
   ========================================================================== */

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--grey-900);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--grey-500);
    line-height: 1.7;
    max-width: 600px;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    padding: 180px 40px 120px;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.35);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 750px;
}

.hero-title {
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -2.5px;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--grey-900);
}

.hero-title .accent {
    color: var(--orange);
}

.typewriter-line {
    display: inline-grid;
}

.typewriter-sizer,
.typewriter-visible {
    grid-area: 1 / 1;
}

.typewriter-sizer {
    visibility: hidden;
    pointer-events: none;
}

.typewriter-cursor {
    display: inline-block;
    color: var(--orange);
    font-weight: 300;
    animation: blink-cursor 0.7s step-end infinite;
    margin-left: 2px;
}

@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--grey-500);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
}

.hero-reassurance {
    font-size: 0.85rem;
    color: var(--grey-400);
}

.hero-proof {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero-proof-item {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--grey-500);
}

.hero-proof-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--grey-300);
}

.hero-proof-intro {
    font-size: 0.85rem;
    color: var(--grey-400);
    font-weight: 400;
}

.hero-proof-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--orange);
    color: var(--white);
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: transform var(--transition-bounce), box-shadow var(--transition), background var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 146, 29, 0.35);
    background: #e0840f;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary--lg {
    padding: 20px 40px;
    font-size: 1.1rem;
}

/* ==========================================================================
   OFFRES — Section unifiee
   ========================================================================== */

/* --- Acte 1 : Socle --- */

/* --- Hébergement --- */

.offres-hebergement {
    padding: var(--section-padding);
}

.offres-hebergement-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.perf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.perf-card {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    padding: 0;
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
}

.perf-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.perf-card-visual {
    background: var(--grey-50);
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.perf-card-visual img {
    width: 85%;
    height: 85%;
    object-fit: contain;
}

.perf-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--grey-900);
    padding: 24px 24px 8px;
}

.perf-card-desc {
    font-size: 0.92rem;
    color: var(--grey-500);
    line-height: 1.6;
    padding: 0 24px 16px;
}

.perf-card-sources {
    padding: 0 24px 24px;
    border-top: 1px solid var(--grey-100);
    margin-top: 8px;
    padding-top: 16px;
}

.perf-card-source {
    font-size: 0.75rem;
    color: var(--grey-400);
    line-height: 1.5;
    margin-bottom: 6px;
    padding-left: 12px;
    border-left: 2px solid var(--orange);
}

.perf-card-source:last-child {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .perf-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* --- Socle --- */

.offres-socle {
    padding: var(--section-padding);
}

.offres-socle-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.offres-socle .section-subtitle {
    margin-bottom: 32px;
}

/* Pills */

.offres-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 64px;
}

.offres-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: var(--orange-light);
    color: var(--orange);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 100px;
    letter-spacing: 0.02em;
}

/* Socle Showcase */

.socle-showcase {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: start;
    margin-top: 48px;
}

.socle-preview {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: #1a1a2e;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-lg);
}

.socle-screen {
    position: absolute;
    inset: 0;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.socle-screen--active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.socle-screen img {
    width: 85%;
    height: 85%;
    object-fit: contain;
}

.socle-tabs {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.socle-tab {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 24px;
    background: none;
    border: none;
    border-left: 3px solid var(--grey-200);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: background var(--transition), border-color var(--transition);
    position: relative;
}

.socle-tab:hover {
    background: var(--grey-50);
}

.socle-tab--active {
    background: var(--orange-light);
}

.socle-tab-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--grey-400);
    transition: color var(--transition);
}

.socle-tab--active .socle-tab-title {
    color: var(--grey-900);
}

.socle-tab-desc {
    font-size: 0.88rem;
    color: var(--grey-500);
    line-height: 1.5;
    display: none;
}

.socle-tab--active .socle-tab-desc {
    display: block;
}

.socle-tab-progress {
    display: none;
    position: absolute;
    left: -3px;
    top: 0;
    width: 3px;
    height: 0;
    background: var(--orange);
    border-radius: 2px;
}

.socle-tab--active .socle-tab-progress {
    display: block;
    animation: socle-progress 5s linear forwards paused;
}

.is-running .socle-tab--active .socle-tab-progress {
    animation-play-state: running;
}

.showcase-paused .socle-tab--active .socle-tab-progress {
    animation: none;
    height: 100%;
}

@keyframes socle-progress {
    from { height: 0; }
    to { height: 100%; }
}

@media (max-width: 900px) {
    .socle-showcase {
        grid-template-columns: 1fr;
    }

    .socle-preview {
        order: -1;
    }
}

/* --- Dashboard dans offres --- */

.offres-dashboard {
    padding: var(--section-padding);
}

.offres-dashboard-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

/* --- Transition --- */

.offres-transition-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--grey-700);
    letter-spacing: -0.3px;
    text-align: center;
    margin-top: 64px;
    padding-top: 40px;
    position: relative;
}

.offres-transition-text::before {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--orange);
    border-radius: 1px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* ==========================================================================
   DASHBOARD SHOWCASE
   ========================================================================== */


.dashboard-showcase {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 48px;
    align-items: start;
    margin-top: 48px;
}

.dashboard-tabs {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dashboard-tab {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 24px;
    background: none;
    border: none;
    border-left: 3px solid var(--grey-200);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: background var(--transition), border-color var(--transition);
    position: relative;
}

.dashboard-tab:hover {
    background: var(--grey-50);
}

.dashboard-tab--active {
    background: var(--orange-light);
}

.dashboard-tab-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--grey-400);
    transition: color var(--transition);
}

.dashboard-tab--active .dashboard-tab-title {
    color: var(--grey-900);
}

.dashboard-tab-desc {
    font-size: 0.88rem;
    color: var(--grey-500);
    line-height: 1.5;
    display: none;
}

.dashboard-tab--active .dashboard-tab-desc {
    display: block;
}

.dashboard-tab-progress {
    display: none;
    position: absolute;
    left: -3px;
    top: 0;
    width: 3px;
    height: 0;
    background: var(--orange);
    border-radius: 2px;
}

.dashboard-tab--active .dashboard-tab-progress {
    display: block;
    animation: tab-progress 5s linear forwards paused;
}

.is-running .dashboard-tab--active .dashboard-tab-progress {
    animation-play-state: running;
}

.showcase-paused .dashboard-tab--active .dashboard-tab-progress {
    animation: none;
    height: 100%;
}

@keyframes tab-progress {
    from { height: 0; }
    to { height: 100%; }
}

.dashboard-preview {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--grey-100);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--grey-200);
}

.dashboard-window-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f0f0f0;
    border-bottom: 1px solid var(--grey-200);
}

.dashboard-window-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dashboard-window-dot--red { background: #ff5f57; }
.dashboard-window-dot--yellow { background: #febc2e; }
.dashboard-window-dot--green { background: #28c840; }

.dashboard-screen {
    position: relative;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.dashboard-screen--active {
    display: block;
    opacity: 1;
}

.dashboard-screen img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 10;
}

@media (max-width: 900px) {
    .dashboard-showcase { grid-template-columns: 1fr; }
    .dashboard-preview { order: -1; }
}

/* ==========================================================================
   PRICING
   ========================================================================== */

.offres-pricing {
    background: rgba(248, 249, 250, 0.78);
    padding: var(--section-padding);
}

.offres-pricing-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.offer {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    padding: 40px 32px;
    position: relative;
    transition: transform var(--transition-bounce), box-shadow var(--transition);
}

.offer:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.offer.featured {
    border: 2px solid var(--orange);
    box-shadow: 0 0 0 4px var(--orange-light);
    padding-top: 56px;
}

.offer.featured:hover {
    box-shadow: 0 0 0 4px var(--orange-light), var(--shadow-lg);
}

.badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--orange);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.tier-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--grey-400);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
}

.offer-name {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
    color: var(--grey-900);
}

.offer-target {
    font-size: 0.9rem;
    color: var(--grey-500);
    margin-bottom: 24px;
    line-height: 1.5;
    min-height: 40px;
}

.offer-price {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 4px;
    color: var(--grey-900);
}

.offer.featured .offer-price {
    color: var(--orange);
}

.price-suffix {
    font-size: 0.8rem;
    color: var(--grey-400);
    margin-bottom: 28px;
    display: block;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--grey-200);
    border-bottom: 1px solid var(--grey-200);
    margin-bottom: 24px;
}

.stat-block {
    padding: 16px 0;
}

.stat-block:first-child {
    border-right: 1px solid var(--grey-200);
    padding-right: 16px;
}

.stat-block:last-child {
    padding-left: 16px;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--grey-900);
}

.stat-value.orange {
    color: var(--orange);
}

.stat-label {
    font-size: 0.7rem;
    color: var(--grey-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 2px;
}

.features-section-title {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--grey-400);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
}

.features-list {
    /*border-top: 1px solid var(--grey-200);*/
}

.feature-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--grey-100);
    font-size: 0.85rem;
}

.feature-label {
    color: var(--grey-500);
}

.feature-value {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--grey-900);
}

.feature-value.orange { color: var(--orange); }
.feature-value.muted { color: var(--grey-400); }

/* Checklist socle dans les cartes */

.offer-socle-list {
    border-top: 1px solid var(--grey-200);
    padding-top: 20px;
    margin-bottom: 24px;
}

.offer-socle-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
}

.offer-socle-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--orange-light);
    color: var(--orange);
    font-size: 0.65rem;
    font-weight: 700;
    flex-shrink: 0;
}

.offer-socle-label {
    font-size: 0.85rem;
    color: var(--grey-700);
    font-weight: 500;
}

.offer-specs {
    margin-top: 4px;
}

.offer-specs-title {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--grey-400);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
}

.offer-cta {
    width: 100%;
    margin-top: 24px;
}

@media (max-width: 900px) {
    .offers-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonials {
    padding: var(--section-padding);
}

.testimonials-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.testimonial {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: transform var(--transition-bounce), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}

.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Flip swap animation */
@keyframes testimonial-flip-out {
    0% { transform: perspective(800px) rotateY(0deg); opacity: 1; }
    100% { transform: perspective(800px) rotateY(90deg); opacity: 0; }
}

@keyframes testimonial-flip-in {
    0% { transform: perspective(800px) rotateY(-90deg); opacity: 0; }
    100% { transform: perspective(800px) rotateY(0deg); opacity: 1; }
}

.testimonial--flip-out {
    animation: testimonial-flip-out 0.35s ease-in forwards;
    pointer-events: none;
}

.testimonial--flip-in {
    animation: testimonial-flip-in 0.35s ease-out forwards;
    pointer-events: none;
}

.testimonial-quote {
    color: var(--orange);
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 12px;
}

.testimonial-text {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--grey-700);
    flex: 1;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--grey-900);
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--grey-400);
}

/* CTA tile — Malt */
.testimonial-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: var(--grey-50);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-decoration: none;
    transition: transform var(--transition-bounce), box-shadow var(--transition), border-color var(--transition);
}

.testimonial-cta:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--orange);
}

.testimonial-cta-logo {
    width: 80px;
    height: auto;
    object-fit: contain;
}

.testimonial-cta-text {
    text-align: center;
}

.testimonial-cta-label {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--grey-900);
    display: block;
    margin-bottom: 4px;
}

.testimonial-cta-sub {
    font-size: 0.8rem;
    color: var(--grey-400);
}

.testimonial-cta-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    font-size: 1rem;
    transition: transform var(--transition-bounce), box-shadow var(--transition);
}

.testimonial-cta:hover .testimonial-cta-arrow {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(245, 146, 29, 0.3);
}

/* Pending state — card face-down before dealing */
.testimonial--pending {
    transform: perspective(800px) rotateY(-90deg);
    opacity: 0;
}

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

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */

.how {
    background: rgba(248, 249, 250, 0.78);
    padding: var(--section-padding);
}

.how-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
    position: relative;
}

/* Connecting line */
.steps-grid::before {
    content: '';
    position: absolute;
    top: 30px;
    left: calc(16.66% + 18px);
    right: calc(16.66% + 18px);
    height: 2px;
    background: var(--grey-200);
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(245, 146, 29, 0.25);
}

.step-title {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--grey-900);
}

.step-desc {
    font-size: 0.9rem;
    color: var(--grey-500);
    line-height: 1.6;
}

.how-cta {
    text-align: center;
    margin-top: 56px;
}

.how-cta-reassurance {
    font-size: 0.8rem;
    color: var(--grey-400);
    margin-top: 12px;
}

@media (max-width: 700px) {
    .steps-grid { grid-template-columns: 1fr; gap: 40px; }
    .steps-grid::before { display: none; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq {
    padding: var(--section-padding);
    justify-content: flex-start;
    padding-top: 120px;
    z-index: 1;
    overflow-x: clip;
}

.faq-inner {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    padding: 48px 40px;
}

.faq-inner::before {
    content: '';
    position: absolute;
    inset: -120px;
    z-index: -1;
    background: radial-gradient(ellipse 55% 50% at 50% 45%, rgba(255,255,255,0.92) 20%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.faq-list {
    margin-top: 48px;
}

.faq-item {
    border-bottom: 1px solid var(--grey-200);
    overflow: hidden;
}

.faq-item summary {
    padding: 22px 0;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: var(--grey-900);
    transition: color var(--transition);
}

.faq-item summary:hover {
    color: var(--orange);
}

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

.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--orange);
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--orange-light);
    transition: transform 0.3s, background 0.3s;
}

.faq-item[open] summary::after {
    content: '−';
    transform: rotate(180deg);
    background: var(--orange);
    color: var(--white);
}

.faq-answer {
    padding: 0 0 22px 0;
    font-size: 0.95rem;
    color: var(--grey-500);
    line-height: 1.7;
}

/* ==========================================================================
   CTA FINAL
   ========================================================================== */

.cta-final {
    background: transparent;
    color: var(--black);
    text-align: center;
    position: relative;
}

.cta-final-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
}

.cta-final .section-title {
    color: var(--grey-900);
    margin-bottom: 16px;
}

.cta-final-subtitle {
    font-size: 1.05rem;
    color: var(--grey-500);
    margin-bottom: 36px;
}

.cta-final .btn-primary {
    margin-bottom: 0;
}

.cta-final-reassurance {
    font-size: 0.8rem;
    color: var(--grey-500);
    margin-top: 14px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    border-top: 1px solid var(--grey-200);
}

.footer-haiku {
    text-align: center;
    padding: 0 40px 24px;
    font-size: 0.75rem;
    font-style: italic;
    color: var(--grey-300);
    letter-spacing: 0.02em;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 28px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-credit {
    font-size: 0.85rem;
    color: var(--grey-400);
}

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--grey-400);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--orange);
}

@media (max-width: 700px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ==========================================================================
   CONTACT (formulaire)
   ========================================================================== */

.contact-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--section-padding);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-info p {
    color: var(--grey-500);
    line-height: 1.7;
    margin-bottom: 16px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--grey-500);
    letter-spacing: 0.02em;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--grey-300);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px var(--orange-light);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-feedback {
    padding: 14px 18px;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
}

.form-feedback.success {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-feedback.error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

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

/* ==========================================================================
   CONTACT MODAL
   ========================================================================== */

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius);
    padding: 48px 40px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(24px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-xl);
}

.modal-overlay.is-open .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--grey-100);
    border-radius: 50%;
    font-size: 1.3rem;
    color: var(--grey-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), color var(--transition);
}

.modal-close:hover {
    background: var(--grey-200);
    color: var(--grey-900);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    padding-right: 40px;
}

.modal-subtitle {
    font-size: 0.95rem;
    color: var(--grey-500);
    margin-bottom: 28px;
    line-height: 1.5;
}

.modal-content .contact-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--grey-300);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--black);
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.modal-content .contact-form select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px var(--orange-light);
}

.modal-submit {
    width: 100%;
    margin-top: 8px;
}

.modal-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .modal-content {
        padding: 32px 24px;
        max-height: 95vh;
    }

    .modal-title {
        font-size: 1.3rem;
    }
}

/* ==========================================================================
   RESPONSIVE — global
   ========================================================================== */

@media (max-width: 640px) {
    :root {
        --section-padding: 80px 20px;
    }

    .hero {
        padding: 140px 20px 80px;
    }

    .hero-title {
        letter-spacing: -1.5px;
    }
}

/* ── Legal page ───────────────────────────── */
.legal-page {
    padding: 8rem 1.5rem 4rem;
    min-height: 100vh;
}

.legal-container {
    max-width: 720px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.legal-section h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-section p {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: var(--grey-500);
}

.legal-section ul {
    list-style: none;
    padding: 0;
    margin-bottom: 0.75rem;
}

.legal-section li {
    padding: 0.25rem 0;
    color: var(--grey-500);
}
