@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* ==========================================================================
   DESIGN SYSTEM – OxyMoov
   Colors: #7ab648 (green) + #1a2b4a (navy)
   Font: Montserrat
   ========================================================================== */

:root {
    /* Typography */
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

    /* Brand */
    --green: #7ab648;
    --green-dark: #5e9232;
    --green-light: #eaf4e0;
    --green-mid: #c4e3a4;
    --navy: #1a2b4a;
    --navy-dark: #0f1c31;
    --navy-mid: #2d4470;

    /* Light Theme */
    --bg: #ffffff;
    --bg-2: #f8f9fa;
    --bg-3: #f0f2f5;
    --text: #1a2b4a;
    --text-2: #3d4f6b;
    --text-muted: #7a8ba3;
    --border: #dde3ec;
    --card-bg: #ffffff;
    --primary: var(--green);
    --primary-hover: var(--green-dark);
    --accent-bg: var(--green-light);

    /* Radii */
    --r-sm: 6px;
    --r-md: 12px;
    --r-lg: 20px;
    --r-xl: 32px;
    --r-pill: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(26, 43, 74, 0.08), 0 1px 2px rgba(26, 43, 74, 0.06);
    --shadow-md: 0 4px 16px rgba(26, 43, 74, 0.10), 0 2px 6px rgba(26, 43, 74, 0.06);
    --shadow-lg: 0 12px 40px rgba(26, 43, 74, 0.12), 0 4px 12px rgba(26, 43, 74, 0.08);
    --shadow-glow: 0 0 0 3px rgba(122, 182, 72, 0.18);

    /* Transitions */
    --t: 0.18s ease;
    --t-md: 0.28s ease;

    /* Layout */
    --nav-h: 72px;
}

[data-theme="dark"] {
    --bg: #111827;
    --bg-2: #161f2e;
    --bg-3: #1e2a3e;
    --text: #f0f4ff;
    --text-2: #b8c8e0;
    --text-muted: #6b7fa0;
    --border: #283349;
    --card-bg: #161f2e;
    --accent-bg: #1a2d16;
    --primary: #7ab648;
    --primary-hover: #8fd055;
    --navy-mid: #5879b2;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text-2);
    line-height: 1.65;
    overflow-x: hidden;
    transition: background var(--t-md), color var(--t-md);
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: all var(--t);
}

button,
input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
}

ul {
    list-style: none;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 7rem 0;
    position: relative;
}

@media (max-width: 768px) {
    .section {
        padding: 4.5rem 0;
    }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--r-md);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    transition: all var(--t);
    border: 2px solid transparent;
    white-space: nowrap;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
    box-shadow: 0 4px 14px rgba(122, 182, 72, 0.35);
}

.btn-primary:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(122, 182, 72, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.btn-outline:hover {
    background: var(--bg-3);
    border-color: var(--text-muted);
    transform: translateY(-1px);
}

.btn-navy {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.btn-navy:hover {
    background: var(--navy-dark);
    border-color: var(--navy-dark);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1.1rem;
    font-size: 0.8rem;
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-h);
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: background var(--t-md), border-color var(--t-md);
}

[data-theme="dark"] .header {
    background: rgba(17, 24, 39, 0.92);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    max-width: 100%;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-img {
    height: 2.5rem;
    width: auto;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--navy);
    letter-spacing: -0.02em;
}

[data-theme="dark"] .logo-text {
    color: #fff;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-2);
    padding: 0.45rem 0.9rem;
    border-radius: var(--r-sm);
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--text);
    background: var(--bg-3);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Theme Toggle */
.theme-toggle {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-2);
    transition: all var(--t);
}

.theme-toggle:hover {
    background: var(--bg-3);
}

.theme-toggle svg {
    width: 1rem;
    height: 1rem;
}

.theme-toggle .sun-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .sun-icon {
    display: block;
}

/* Burger */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 1.3rem;
    height: 1rem;
}

.burger-menu span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--text-2);
    border-radius: 2px;
    transition: all var(--t);
}

@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(80vw, 340px);
        height: 100dvh;
        background: var(--bg);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 3rem;
        transition: right var(--t-md);
        z-index: 105;
        border-left: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.05rem;
    }

    .burger-menu {
        display: flex;
    }

    .burger-menu.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

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

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

/* ==========================================================================
   HERO SECTION — CENTERED LAYOUT
   ========================================================================== */

.hero {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: var(--nav-h);
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--bg);
}

/* Subtle geometric background */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 50% -10%, rgba(122, 182, 72, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 50% 50% at 80% 80%, rgba(26, 43, 74, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

[data-theme="dark"] .hero::before {
    background:
        radial-gradient(ellipse 70% 60% at 50% -10%, rgba(122, 182, 72, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 50% 50% at 80% 80%, rgba(26, 43, 74, 0.2) 0%, transparent 60%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 4rem 2rem 3rem;
    max-width: 860px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--green-light);
    border: 1px solid rgba(122, 182, 72, 0.3);
    border-radius: var(--r-pill);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--green-dark);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

[data-theme="dark"] .hero-badge {
    background: rgba(122, 182, 72, 0.15);
    color: var(--green);
    border-color: rgba(122, 182, 72, 0.25);
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.hero-title {
    font-size: clamp(2.6rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--navy);
}

[data-theme="dark"] .hero-title {
    color: #fff;
}


.hero-desc {
    font-size: 1.15rem;
    color: var(--text-2);
    max-width: 640px;
    line-height: 1.75;
    font-weight: 500;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.5rem;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 700;
}

.trust-items {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.trust-item svg {
    width: 1rem;
    height: 1rem;
    color: var(--green);
}

/* Hero Visual — Full width below text */
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
    z-index: 1;
}

.hero-screens-row {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1.25rem;
}

.hero-phone {
    position: relative;
    flex-shrink: 0;
}

.hero-phone-frame {
    width: 200px;
    height: 406px;
    border-radius: 0;
    /* ← supprime les coins arrondis */
    border: none;
    /* ← supprime la bordure */
    overflow: hidden;
    background: transparent;
    /* ← supprime le fond noir */
    box-shadow: none;
    /* ← supprime l'ombre */
    position: relative;
}



.hero-phone-frame img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

/* Main center phone is larger */
.hero-phone.center .hero-phone-frame {
    width: 240px;
    height: 488px;
    border-radius: 36px;
    box-shadow: 0 20px 60px rgba(26, 43, 74, 0.22), 0 0 0 1px rgba(122, 182, 72, 0.12);
}

.hero-phone.side {
    opacity: 0.82;
    transform: scale(0.92);
}

/* Floating stat cards */
.hero-stat-card {
    position: absolute;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 0.85rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    z-index: 20;
}

.hero-stat-card:nth-child(1) {
    top: 20%;
    left: -2%;
    animation: float 4s ease-in-out infinite;
}

.hero-stat-card:nth-child(2) {
    bottom: 25%;
    right: -2%;
    animation: float 4s ease-in-out 1.5s infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.stat-card-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--r-sm);
    background: var(--accent-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.stat-card-data {
    display: flex;
    flex-direction: column;
}

.stat-card-val {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text);
    line-height: 1.1;
}

.stat-card-lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero-phone.side {
        display: none;
    }

    .hero-phone.center .hero-phone-frame {
        width: 200px;
        height: 407px;
    }

    .hero-stat-card:nth-child(1) {
        left: 0;
        top: 15%;
    }

    .hero-stat-card:nth-child(2) {
        right: 0;
        bottom: 20%;
    }
}

@media (max-width: 480px) {
    .hero-stat-card {
        display: none;
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }

    .hero-ctas .btn {
        width: 100%;
    }
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.85rem;
    background: var(--green-light);
    border: 1px solid rgba(122, 182, 72, 0.3);
    border-radius: var(--r-pill);
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--green-dark);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

[data-theme="dark"] .section-tag {
    background: rgba(122, 182, 72, 0.12);
    color: var(--green);
    border-color: rgba(122, 182, 72, 0.2);
}

.section-title {
    font-size: clamp(1.9rem, 3.5vw, 2.75rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--navy);
    margin-bottom: 1rem;
}

[data-theme="dark"] .section-title {
    color: #fff;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-2);
    line-height: 1.7;
    font-weight: 500;
}

/* ==========================================================================
   DIVIDER / BACKGROUND ALTERNATION
   ========================================================================== */

.section-alt {
    background: var(--bg-2);
}

.section-navy {
    background: var(--navy);
    color: #fff;
}

.section-navy .section-title {
    color: #fff;
}

.section-navy .section-desc {
    color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   FEATURES / SOLUTIONS (TABS)
   ========================================================================== */

.tabs-wrap {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--border);
    background: var(--bg-2);
}

.tab-btn {
    flex: 1;
    padding: 1.1rem 1.5rem;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: transparent;
    transition: all var(--t);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-bottom: 3px solid transparent;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.tab-btn:hover {
    color: var(--text);
    background: var(--bg-3);
}

.tab-btn.active {
    color: var(--navy);
    border-bottom-color: var(--green);
    background: var(--bg);
}

[data-theme="dark"] .tab-btn.active {
    color: #fff;
}

.tab-body {
    padding: 3rem;
}

@media (max-width: 768px) {
    .tab-body {
        padding: 2rem 1.5rem;
    }
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    animation: fadeInUp 0.35s forwards;
}

@media (max-width: 900px) {
    .tab-panel.active {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.tab-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tab-content h3 {
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--navy);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

[data-theme="dark"] .tab-content h3 {
    color: #fff;
}

.tab-content>p {
    color: var(--text-2);
    font-size: 1rem;
    font-weight: 500;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon-wrap {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--r-sm);
    background: var(--green-light);
    border: 1px solid rgba(122, 182, 72, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

[data-theme="dark"] .feature-icon-wrap {
    background: rgba(122, 182, 72, 0.15);
}

.feature-icon-wrap img {
    width: 1.1rem;
    height: 1.1rem;
    filter: brightness(0) saturate(100%) invert(55%) sepia(50%) saturate(600%) hue-rotate(65deg);
}

.feature-text h4 {
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 0.2rem;
    color: var(--text);
}

.feature-text p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Tab Visuals */
.tab-visual-wrap {
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.tab-visual-video {
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.tab-visual-video video {
    width: 90%;
    height: 90%;
    object-fit: contain;
    display: block;
}

.parents-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    align-items: center;
    justify-content: center;
}

.schools-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 1.5rem;
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
}

.collectivites-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 1.5rem;
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
}

.ui-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ui-avatar-circle {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.ui-name {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text);
}

.ui-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.notif-item {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-left: 3px solid var(--green);
    border-radius: var(--r-sm);
    padding: 0.75rem;
    font-size: 0.78rem;
}

.notif-item.secondary {
    border-left-color: var(--navy);
}

.notif-title {
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.notif-sub {
    color: var(--text-muted);
}

.notif-time {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    font-weight: 600;
}

.stats-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.stat-box {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 1rem;
    text-align: center;
}

.stat-val {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 0.3rem;
}

[data-theme="dark"] .stat-val {
    color: var(--green);
}

.stat-val.green {
    color: var(--green);
}

.stat-lbl {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

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

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

/* Connector line */
.steps-grid::before {
    content: '';
    position: absolute;
    top: 3.5rem;
    left: 16.67%;
    right: 16.67%;
    height: 2px;
    background-color: var(--border);
    opacity: 0.25;
    z-index: 0;
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .steps-grid::before {
        display: none;
    }
}

.step-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: all var(--t-md);
    position: relative;
    z-index: 1;
}

.step-card:hover {
    box-shadow: 0 8px 30px rgba(54, 54, 54, 0.12);
    transform: translateY(-4px);
}

.step-num {
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green);
}

.step-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--r-md);
    background: var(--bg-3);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--text);
    letter-spacing: -0.01em;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    font-weight: 500;
}

/* ==========================================================================
   APP GALLERY / SCREENSHOTS STRIP (legacy)
   ========================================================================== */

.gallery-strip {
    display: none;
}

/* ==========================================================================
   APP SHOWCASE — Style Notion Mobile
   ========================================================================== */

.app-showcase {
    background: linear-gradient(160deg, #0d1117 0%, #111827 40%, #0f2a1a 100%);
    padding: 6rem 0 0;
    overflow: hidden;
    position: relative;
}

.app-showcase::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(ellipse, rgba(122, 182, 72, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.app-showcase-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header */
.app-showcase-header {
    text-align: center;
    max-width: 640px;
    margin-bottom: 4.5rem;
    position: relative;
    z-index: 1;
}

.app-showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(122, 182, 72, 0.15);
    border: 1px solid rgba(122, 182, 72, 0.35);
    color: #8bc34a;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.app-showcase-title {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.app-showcase-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    font-weight: 400;
    margin-bottom: 2rem;
}

/* Store buttons */
.app-showcase-stores {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: all 0.2s ease;
    text-decoration: none;
}

.store-btn-apple {
    background: #fff;
    color: #111;
}

.store-btn-apple:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.store-btn-google {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.store-btn-google:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

/* Phones */
.app-showcase-phones {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 2rem;
    position: relative;
}

.app-phone {
    flex-shrink: 0;
    position: relative;
    transition: transform 0.35s ease;
}

.app-phone:hover {
    transform: translateY(-12px) !important;
}

.app-phone-left {
    transform: rotate(-5deg) translateY(20px);
    z-index: 1;
}

.app-phone-right {
    transform: rotate(5deg) translateY(20px);
    z-index: 1;
}

.app-phone-frame {
    width: 240px;
    height: 500px;
    border-radius: 40px;

    box-shadow:
        0 0 0 1px #0c0d2b,
        0 40px 80px rgba(38, 38, 40, 0.6),
        0 20px 40px rgba(42, 43, 53, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
}


.app-phone-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top;
    display: block;
}

@media (max-width: 640px) {
    .app-showcase {
        padding: 4rem 0 0;
    }

    .app-showcase-header {
        margin-bottom: 3rem;
    }

    .app-phone-frame {
        width: 160px;
        height: 330px;
        border-radius: 28px;
    }

    .app-showcase-phones {
        gap: 1rem;
    }

    .app-phone-left {
        transform: rotate(-3deg) translateY(10px);
    }

    .app-phone-right {
        transform: rotate(3deg) translateY(10px);
    }
}


/* ==========================================================================
   CALCULATOR
   ========================================================================== */

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

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

.calc-panel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.slider-group {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.slider-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    font-weight: 600;
}

.slider-label {
    color: var(--text-2);
}

.slider-val {
    font-family: var(--font-mono);
    color: var(--navy);
    font-weight: 800;
    background: var(--accent-bg);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

[data-theme="dark"] .slider-val {
    color: var(--green);
    background: rgba(122, 182, 72, 0.1);
}

.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: var(--r-pill);
    background: var(--border);
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--green);
    cursor: pointer;
    border: 3px solid var(--bg);
    box-shadow: 0 1px 6px rgba(122, 182, 72, 0.4);
    transition: transform var(--t);
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-results {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.calc-results-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--navy);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
}

.result-metric {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.result-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.result-info {
    display: flex;
    flex-direction: column;
}

.result-val {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--green);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.result-lbl {
    font-size: 0.8rem;
    color: #3D4F6B;
    font-weight: 600;
}

.calc-note {
    font-size: 0.7rem;
    color: #3D4F6B;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.25rem;
    line-height: 1.5;
}

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

.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

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

.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-q {
    width: 100%;
    padding: 1.4rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text);
    gap: 1rem;
    transition: color var(--t);
}

.faq-q:hover {
    color: var(--green);
}

.faq-chevron {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform var(--t-md);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--green);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s ease-out;
}

.faq-a-inner {
    padding-bottom: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.75;
    font-weight: 500;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4.5rem;
    align-items: start;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 900;
    color: var(--navy);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

[data-theme="dark"] .contact-title {
    color: #fff;
}

.contact-desc {
    font-size: 1rem;
    color: var(--text-2);
    font-weight: 500;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-detail-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-detail-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--r-sm);
    background: var(--green-light);
    border: 1px solid rgba(122, 182, 72, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

[data-theme="dark"] .contact-detail-icon {
    background: rgba(122, 182, 72, 0.12);
}

.contact-detail-h {
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--text);
}

.contact-detail-p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Form */
.form-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 2.75rem;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 576px) {
    .form-card {
        padding: 1.75rem;
    }
}

.form-card-title {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 1.75rem;
    letter-spacing: -0.01em;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

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

.form-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border-radius: var(--r-sm);
    background: var(--bg-2);
    border: 1.5px solid var(--border);
    color: var(--text);
    font-weight: 500;
    transition: all var(--t);
}

.form-input:focus {
    border-color: var(--green);
    background: var(--bg);
    box-shadow: 0 0 0 3px rgba(122, 182, 72, 0.12);
}

.form-input::placeholder {
    color: var(--text-muted);
    font-weight: 500;
}

textarea.form-input {
    resize: vertical;
    min-height: 110px;
}

.alert-message {
    padding: 0.8rem 1rem;
    border-radius: var(--r-sm);
    font-size: 0.85rem;
    font-weight: 700;
    display: none;
}

.alert-message.success {
    background: var(--green-light);
    color: #2d6a0f;
    border: 1px solid rgba(122, 182, 72, 0.3);
    display: block;
}

.alert-message.error {
    background: #fbeeed;
    color: #9e2b24;
    border: 1px solid rgba(239, 68, 68, 0.2);
    display: block;
}

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

.footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 2.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-logo-img {
    height: 2.25rem;
    display: block;
    margin-right: auto;
}

.footer-desc {
    font-size: 0.875rem;
    max-width: 280px;
    line-height: 1.7;
}

.footer-socials {
    display: flex;
    gap: 0.6rem;
}

.social-btn {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--t);
}

.social-btn:hover {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
}

.social-btn svg {
    width: 1rem;
    height: 1rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-col-title {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.9);
}

.footer-col-links {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-col-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--t);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.35);
}

.footer-bottom-links a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   ANIMATIONS & SCROLL REVEAL
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children */


.stagger.revealed>*:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.05s;
}

.stagger.revealed>*:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.12s;
}

.stagger.revealed>*:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.19s;
}

.stagger.revealed>*:nth-child(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.26s;
}

/* ==========================================================================
   SPONSORS SECTION (ILS NOUS SOUTIENNENT)
   ========================================================================== */
.sponsors-section {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
}

.sponsor-card {
    background-color: white;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 1.5rem;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t), border-color var(--t), box-shadow var(--t);
    cursor: pointer;
}

.sponsor-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.sponsor-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(10%) contrast(90%);
    transition: filter var(--t);
}

[data-theme="dark"] .sponsor-card img {
    filter: brightness(0.9) grayscale(20%);
}

.card-laureat img {
    max-height: 80px;
    width: auto;
}

.sponsor-card img[src*="idf"] {
    max-height: 70px;
    width: auto;
}

/* ==========================================================================
   TEAM SECTION (L'ÉQUIPE)
   ========================================================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 280px));
    gap: 2rem;
    justify-content: center;
    margin: 3rem auto 0 auto;
}

.team-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-md), border-color var(--t-md), box-shadow var(--t-md);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t-md);
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.team-card:hover::before {
    transform: scaleX(1);
}

.team-img-wrapper {
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem auto;
    border-radius: 50%;
    padding: 6px;
    border: 2px solid var(--border);
    transition: border-color var(--t-md);
}

.team-card:hover .team-img-wrapper {
    border-color: var(--primary);
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.35rem;
    transition: color var(--t);
}

[data-theme="dark"] .team-name {
    color: #fff;
}

.team-role {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.team-desc {
    font-size: 0.95rem;
    color: var(--text-2);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.team-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--bg-2);
    color: var(--navy-mid);
    border: 1px solid var(--border);
    transition: all var(--t);
}

[data-theme="dark"] .team-social-link {
    color: var(--text-2);
}

.team-social-link:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: scale(1.1);
}

/* ==========================================================================
   POLICY SUBPAGES STYLING
   ========================================================================== */
.policy-page {
    padding-top: calc(var(--nav-h) + 2rem);
    background: var(--bg);
    min-height: calc(100vh - 250px);
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem 5rem 1.5rem;
}

.policy-header {
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.5rem;
}

.policy-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

[data-theme="dark"] .policy-title {
    color: #fff;
}

.policy-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.policy-content {
    line-height: 1.8;
    color: var(--text-2);
    font-size: 1.05rem;
}

.policy-content h2,
.policy-content h3,
.policy-content h4 {
    color: var(--navy);
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

[data-theme="dark"] .policy-content h2,
[data-theme="dark"] .policy-content h3,
[data-theme="dark"] .policy-content h4 {
    color: #fff;
}

.policy-content h2 {
    font-size: 1.5rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

.policy-content h3 {
    font-size: 1.25rem;
}

.policy-content p {
    margin-bottom: 1.5rem;
}

.policy-content ul,
.policy-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

.policy-content blockquote {
    border-left: 4px solid var(--primary);
    background: var(--bg-2);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    font-style: italic;
}