/* ==========================================================
   GuardianTrack 360 — Site vitrine
   Design tokens extraits du fichier Figma C07AjbQtPjUtxLxLmnowDM
   ========================================================== */

:root {
    /* Colors from Figma JSON */
    --teal: #145F7F;
    --teal-dark: #0E4A63;
    --teal-light: #E5EEF2;
    --orange: #FA9722;
    --orange-dark: #E08512;
    --gold: #F9B720;
    --cream: #FFF6DC;
    --text: #0D0E12;
    --text-dark: #2C2C2B;
    --text-mute: #707070;
    --text-blue: #1C2C4D;
    --white: #FFFFFF;
    --border: #E5E7EB;

    --radius: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 2px 8px rgba(20, 95, 127, 0.06);
    --shadow-md: 0 8px 24px rgba(20, 95, 127, 0.10);
    --shadow-lg: 0 20px 60px rgba(20, 95, 127, 0.20);
    --max: 1280px;
    --transition: 220ms cubic-bezier(.4, 0, .2, 1);
}

body.dark-mode {
    /* Mode Sombre : On écrase les variables originales */
    --teal: #0f172a;
    /* Navy 900 */
    --teal-dark: #020617;
    /* Navy 950 */
    --teal-light: #1e293b;
    --orange: #f59e0b;
    /* Brand 500 */
    --orange-dark: #d97706;
    /* Brand 600 */
    --gold: #f59e0b;
    --cream: #020617;
    /* Fond header -> Navy 950 */
    --white: #1e293b;
    /* Fond principal -> Navy 800 */
    --text: #f8fafc;
    --text-dark: #ffffff;
    --text-mute: #94a3b8;
    --text-blue: #cbd5e1;
    --border: rgba(255, 255, 255, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.5;
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
    transition: background 0.3s ease, color 0.3s ease;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============ HEADER ============ */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--cream);
    border-bottom: 1px solid rgba(20, 95, 127, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 14px 24px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 56px;
    width: auto;
}




.nav {
    display: flex;
    gap: 40px;
    margin-left: auto;
}

.nav a {
    font-weight: 500;
    font-size: 17px;
    color: var(--text);
    transition: color var(--transition);
    position: relative;
    padding: 6px 0;
}

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

.nav a.active {
    color: var(--orange);
    font-weight: 700;
}

.header-cta {
    display: flex;
    gap: 12px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
}

.menu-toggle span {
    width: 26px;
    height: 2px;
    background: var(--teal);
    border-radius: 2px;
    transition: var(--transition);
}

/* Theme Toggle */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

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

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    font-weight: 500;
    font-size: 16px;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    font-family: inherit;
    line-height: 1;
}

.btn-block {
    width: 100%;
}

.btn-orange {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}

.btn-orange:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-teal {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
}

.btn-teal:hover {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-light {
    background: var(--white);
    color: var(--teal);
    border-color: var(--white);
    padding: 14px 30px;
}

.btn-light:hover {
    background: var(--cream);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline-teal:hover {
    background: var(--teal);
    color: var(--white);
}

.btn-link-orange {
    background: transparent;
    color: var(--orange);
    border-color: transparent;
    text-decoration: underline;
    text-underline-offset: 4px;
    padding: 14px 16px;
}

.btn-link-orange:hover {
    color: var(--orange-dark);
}

body.dark-mode .btn-outline {
    color: var(--text-main);
    border-color: var(--border);
}

/* ============ TYPOGRAPHY & SECTIONS ============ */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--bg-alt);
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 50px;
    color: var(--primary);
    font-weight: 800;
    line-height: 1.2;
}

body.dark-mode .section-title {
    color: var(--text-main);
}

.section-title.light {
    color: var(--text-inverse);
}

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 740px;
    color: var(--white);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 80px 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: right center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 25, 45, 0.95) 0%, rgba(20, 95, 127, 0.85) 35%, rgba(20, 95, 127, 0.55) 60%, rgba(20, 95, 127, 0.10) 100%);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 720px;
}

.hero-text h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(38px, 5.4vw, 74px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

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

.hero-text p {
    font-size: clamp(16px, 1.6vw, 22px);
    font-weight: 400;
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

/* ============ SECTION TITLES ============ */
.section-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-align: center;
    margin-bottom: 56px;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

.section-title.light {
    color: var(--white);
    font-size: clamp(32px, 4vw, 57px);
}

.section-title.teal {
    color: var(--teal);
    font-size: clamp(30px, 3.8vw, 57px);
}

/* ============ PROBLEM ============ */
.problem {
    background: var(--teal);
    color: var(--white);
    padding: 96px 0;
}

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

.problem-card {
    text-align: left;
}

.problem-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.num-circle {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--orange);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 18px;
    font-family: 'Inter', sans-serif;
}

.problem-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 500;
    color: var(--white);
}

.problem-card p {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.92);
    margin-left: 60px;
}

/* ============ DESKTOP MOCKUP ============ */
.software-window {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin: 60px auto 0;
    max-width: 900px;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.window-header {
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
}

.window-controls span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    background: var(--text-mute);
}

.window-title {
    margin: 0 auto;
    font-size: 13px;
    color: var(--text-mute);
    font-weight: 500;
}

.window-body {
    display: flex;
    height: 400px;
}

.sidebar {
    width: 200px;
    border-right: 1px solid var(--border);
    padding: 20px;
    display: none;
}

@media(min-width: 768px) {
    .sidebar {
        display: block;
    }
}

.main-view {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dash-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.dash-card {
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.02);
}

body.dark-mode .dash-card {
    background: rgba(255, 255, 255, 0.02);
}

/* ============ SOLUTION + BLOCK ============ */
.solution,
.block {
    background: var(--white);
    padding: 100px 0;
}

.solution-inner,
.block-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}

.block-inner.reverse {
    direction: rtl;
}

.block-inner.reverse>* {
    direction: ltr;
}

.block-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(30px, 3.6vw, 57px);
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 36px;
    line-height: 1.1;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.feature-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feat-num {
    flex-shrink: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 25px;
    color: var(--orange);
    line-height: 1.2;
    min-width: 50px;
}

.feat-body h4 {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    line-height: 1.2;
}

.feat-body p {
    font-size: 18px;
    font-weight: 400;
    color: var(--text);
    line-height: 1.4;
}

/* Mockup phone */
.solution-mockup,
.block-mockup {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mockup-frame {
    width: 320px;
    background: linear-gradient(180deg, #1f1f1f 0%, #0f0f0f 100%);
    border-radius: 36px;
    padding: 14px;
    box-shadow: var(--shadow-lg);
    border: 2px solid #2a2a2a;
}

.mockup-screen {
    background: var(--cream);
    border-radius: 26px;
    padding: 22px 18px;
    aspect-ratio: 9 / 18;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mock-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(20, 95, 127, 0.12);
}

.mock-header strong {
    color: var(--teal);
    font-size: 15px;
}

.mock-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

.mock-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mock-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--white);
    border-radius: 10px;
    font-size: 13px;
    color: var(--text-mute);
    border: 1px solid rgba(20, 95, 127, 0.08);
}

.mock-item.done {
    background: rgba(34, 197, 94, 0.08);
    color: #16a34a;
    border-color: rgba(34, 197, 94, 0.3);
}

.mock-item.current {
    background: rgba(250, 151, 34, 0.10);
    color: var(--orange-dark);
    border-color: rgba(250, 151, 34, 0.4);
    font-weight: 600;
}

.mock-item span {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
}

.mock-item.done span {
    background: #22c55e;
    color: white;
}

.mock-item.current span {
    background: var(--orange);
    color: white;
}

.mock-stat {
    display: flex;
    justify-content: space-between;
    padding: 10px 12px;
    background: var(--white);
    border-radius: 10px;
    font-size: 13px;
    color: var(--text-mute);
}

.mock-stat .ok {
    color: #16a34a;
    font-weight: 700;
}

.mock-stat strong {
    color: var(--text);
    font-weight: 600;
}

.mock-cta-btn {
    margin-top: auto;
    background: var(--orange);
    color: var(--white);
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background var(--transition);
}

.mock-cta-btn:hover {
    background: var(--orange-dark);
}

/* Mock progress bar */
.mock-progress {
    background: var(--white);
    border-radius: 10px;
    padding: 8px 12px;
    border: 1px solid rgba(20, 95, 127, 0.08);
}

.mock-bar {
    height: 6px;
    background: rgba(20, 95, 127, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 4px;
}

.mock-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--orange), #ffb84d);
    border-radius: 4px;
    transition: width 600ms ease;
}

.mock-progress small {
    font-size: 10px;
    color: var(--text-mute);
    font-weight: 600;
}

/* Mock shift info */
.mock-shift {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: linear-gradient(135deg, rgba(20, 95, 127, 0.08), rgba(20, 95, 127, 0.02));
    border-radius: 10px;
    border: 1px solid rgba(20, 95, 127, 0.10);
}

.mock-shift span {
    font-size: 11px;
    color: var(--text-mute);
}

.mock-shift strong {
    font-size: 11px;
    color: var(--teal);
    font-weight: 700;
}

/* Mock item time */
.mock-item em {
    margin-left: auto;
    font-style: normal;
    font-size: 11px;
    opacity: 0.7;
    font-weight: 600;
}

.solution-tag {
    margin-top: 28px;
    color: var(--teal);
    font-weight: 700;
    font-size: 28px;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

/* Dashboard mockup */
.dashboard-frame {
    width: 100%;
    max-width: 460px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--border);
}

.dash-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--teal);
    color: var(--white);
}

.dash-top strong {
    font-size: 15px;
}

.dash-tag {
    background: var(--orange);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.dash-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    padding: 1px;
}

.dash-stats>div {
    background: var(--white);
    padding: 16px 12px;
    text-align: center;
}

.dash-stats span {
    font-size: 12px;
    color: var(--text-mute);
    display: block;
    margin-bottom: 4px;
}

.dash-stats strong {
    font-size: 26px;
    color: var(--teal);
    font-weight: 700;
}

.dash-stats .alert strong {
    color: var(--orange-dark);
}

.dash-map {
    height: 220px;
    background:
        linear-gradient(rgba(20, 95, 127, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 95, 127, 0.08) 1px, transparent 1px),
        linear-gradient(135deg, #cee2e8 0%, #b3d3dd 100%);
    background-size: 32px 32px, 32px 32px, 100% 100%;
    position: relative;
}

.dash-pin {
    position: absolute;
    width: 14px;
    height: 14px;
    background: var(--teal);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.dash-pin.alert {
    background: var(--orange);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(250, 151, 34, 0.6);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(250, 151, 34, 0);
    }
}

/* ============ CTA STRIP ============ */
.cta-strip {
    background: var(--teal);
    color: var(--white);
    padding: 70px 0;
    text-align: center;
}

.cta-strip h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(24px, 3vw, 45px);
    font-weight: 700;
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

/* ============ BANNER ============ */
.banner {
    background: var(--teal);
    color: var(--white);
    padding: 80px 0 70px;
    text-align: center;
}

.banner h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(32px, 4vw, 60px);
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.banner p {
    font-size: clamp(15px, 1.6vw, 23px);
    font-weight: 500;
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.95);
}

/* ============ FONCTIONNALITES ============ */
.features {
    background: #DDE9EE;
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 56px;
}

.feature-card {
    text-align: left;
    padding: 32px 28px;
    background: transparent;
}

.feat-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.feat-row h3 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 500;
    color: var(--teal);
    line-height: 1.2;
}

.feature-card p {
    font-size: 18px;
    color: var(--text-blue);
    margin-left: 60px;
    line-height: 1.4;
}

/* ============ HOW IT WORKS ============ */
.how {
    background: var(--white);
    padding: 100px 0;
}

.how-timeline {
    max-width: 900px;
    margin: 60px auto 0;
    position: relative;
}

.how-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 20px;
    bottom: 20px;
    width: 3px;
    background: var(--orange);
    transform: translateX(-50%);
    border-radius: 2px;
}

.how-step {
    display: grid;
    grid-template-columns: 1fr 24px 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 56px;
    position: relative;
}

.how-dot {
    grid-column: 2;
    width: 24px;
    height: 24px;
    background: var(--white);
    border: 4px solid var(--teal);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 4px var(--white);
}

.how-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 500;
    color: var(--teal);
    margin-bottom: 6px;
    line-height: 1.2;
}

.how-content p {
    font-size: 17px;
    color: var(--text);
    line-height: 1.4;
}

.how-step.left .how-content {
    grid-column: 1;
    text-align: right;
    padding-right: 24px;
}

.how-step.right .how-content {
    grid-column: 3;
    text-align: left;
    padding-left: 24px;
}

/* ============ PRICING ============ */
.pricing {
    background: var(--white);
    padding: 80px 0 100px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
}

.price-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px 36px;
    text-align: center;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.price-card.highlight {
    border: 2px solid var(--orange);
    box-shadow: var(--shadow-md);
}

.price-title {
    font-family: 'Inter', sans-serif;
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 8px;
}

.price-title.teal {
    color: var(--teal);
}

.price-title.gold {
    color: var(--gold);
}

.price {
    font-family: 'Inter', sans-serif;
    font-size: clamp(28px, 2.8vw, 40px);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 24px;
}

.price-card ul {
    margin-bottom: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-card ul li {
    font-size: 18px;
    color: var(--text-mute);
    font-weight: 400;
}

.pricing-note {
    text-align: center;
    margin-top: 56px;
    font-size: 18px;
    color: var(--text);
    font-weight: 500;
}

/* ============ CONTACT ============ */
.contact {
    background: var(--white);
    padding: 70px 0 100px;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

.info-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.info-text h4 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--teal);
    font-weight: 400;
    margin-bottom: 4px;
}

.info-text p {
    font-size: 16px;
    color: var(--text);
    font-weight: 400;
}

.info-plus {
    width: 36px;
    height: 36px;
    background: var(--orange);
    color: var(--white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 400;
    flex-shrink: 0;
    margin-left: 16px;
    cursor: pointer;
    transition: transform var(--transition);
}

.info-plus:hover {
    transform: rotate(90deg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 56px;
    align-items: stretch;
}

.contact-form {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.contact-form h3 {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 24px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    margin-bottom: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 17px;
    color: var(--text);
    transition: border-color var(--transition);
    background: var(--white);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-mute);
    font-weight: 400;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(20, 95, 127, 0.12);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .btn {
    padding: 16px;
    font-size: 18px;
    margin-top: 8px;
}

.contact-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-visual img {
    width: 100%;
    aspect-ratio: 493 / 541;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.socials {
    display: flex;
    gap: 14px;
    justify-content: center;
}

.socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--teal-light);
    color: var(--teal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    transition: all var(--transition);
}

.socials a:hover {
    background: var(--teal);
    color: white;
    transform: translateY(-2px);
}

.map {
    margin-top: 56px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 1920 / 545;
    max-height: 380px;
    position: relative;
}

.map-crop {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.map img {
    width: 140%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    display: block;
    transform: translateX(-28%);
}

/* Map pin overlay */
.map::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    background: var(--orange);
    border: 4px solid white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
    z-index: 2;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--teal);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.3fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    align-items: start;
}

.footer-brand .logo-img {
    height: 70px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.footer-col h5 {
    font-family: 'Inter', sans-serif;
    font-size: 25px;
    color: var(--white);
    margin-bottom: 16px;
    font-weight: 400;
}

.footer-col a {
    display: block;
    padding: 4px 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 400;
    transition: color var(--transition);
}

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

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    transition: all var(--transition);
    padding: 0;
}

.footer-socials a:hover {
    background: var(--orange);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding: 18px 0;
}

.footer-bottom p {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.60);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {

    .nav,
    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav.open {
        display: flex;
        position: fixed;
        top: 84px;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: 20px;
        gap: 12px;
        box-shadow: var(--shadow-md);
    }

    .nav.open a {
        padding: 10px 0;
        font-size: 18px;
    }

    .hero-inner {
        padding-top: 20px;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(8, 25, 45, 0.85) 0%, rgba(20, 95, 127, 0.85) 100%);
    }

    .problem-grid,
    .features-grid,
    .pricing-grid,
    .info-cards {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .solution-inner,
    .block-inner,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .block-inner.reverse {
        direction: ltr;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .how-timeline::before {
        left: 24px;
    }

    .how-step {
        grid-template-columns: 24px 1fr;
        gap: 20px;
    }

    .how-step .how-dot {
        grid-column: 1;
    }

    .how-step.left .how-content,
    .how-step.right .how-content {
        grid-column: 2;
        text-align: left;
        padding: 0;
    }

    .problem-card p {
        margin-left: 0;
    }

    .feature-card p {
        margin-left: 0;
    }
}

@media (max-width: 560px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 60px 0;
        min-height: 600px;
    }

    .problem,
    .solution,
    .block,
    .features,
    .how,
    .pricing,
    .contact {
        padding: 60px 0;
    }

    .banner {
        padding: 50px 0 40px;
    }

    .cta-strip {
        padding: 50px 0;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

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

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: left;
    }

    .footer-brand .logo-img {
        height: 56px;
    }

    .info-card {
        flex-wrap: wrap;
    }

    .mockup-frame {
        width: 280px;
    }
}

/* ============ SCROLL REVEAL ============ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ==========================================================
   MODE SOMBRE — Adaptations visuelles spécifiques
   Correction des éléments qui ne s'adaptent pas via les variables
   ========================================================== */

/* Logo : conserver les couleurs d'origine en mode sombre (pas d'inversion) */
body.dark-mode .logo-img {
    filter: none;
    opacity: 1;
}

/* Header : bordure plus visible */
body.dark-mode .header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

/* Menu toggle burger : barres blanches sur fond sombre */
body.dark-mode .menu-toggle span {
    background: #f8fafc;
}

/* Bouton theme toggle : visible sur fond sombre */
body.dark-mode .theme-toggle {
    border-color: rgba(255, 255, 255, 0.15);
    color: #f8fafc;
}

/* Navigation : liens bien visibles */
body.dark-mode .nav a {
    color: #cbd5e1;
}

body.dark-mode .nav a:hover,
body.dark-mode .nav a.active {
    color: #f59e0b;
}

/* Section "Problème" : fond Teal est remplacé, textes OK automatiquement */
body.dark-mode .problem {
    background: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

body.dark-mode .problem-card h3 {
    color: #f8fafc;
}

body.dark-mode .problem-card p {
    color: #94a3b8;
}

/* Titres de sections : .teal en mode clair -> doivent être clairs en mode sombre */
body.dark-mode .section-title.teal {
    color: #f59e0b;
}

/* Cards de fonctionnalités */
body.dark-mode .feature-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .feature-card h3 {
    color: #f8fafc;
}

body.dark-mode .feature-card p {
    color: #94a3b8;
}

/* Timeline "Comment ça marche" */
body.dark-mode .how {
    background: #1e293b;
}

body.dark-mode .how-content {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .how-content h3 {
    color: #f8fafc;
}

body.dark-mode .how-content p {
    color: #94a3b8;
}

/* Section tarifs */
body.dark-mode .pricing {
    background: #0f172a;
}

body.dark-mode .price-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .price-card.highlight {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.05);
}

body.dark-mode .price-card h3,
body.dark-mode .price-card .price {
    color: #f8fafc;
}

body.dark-mode .price-card.highlight .price-title.teal {
    color: #f59e0b;
}

body.dark-mode .price-card li {
    color: #94a3b8;
}

body.dark-mode .pricing-note {
    color: #64748b;
}

/* Bouton outline-teal en mode sombre */
body.dark-mode .btn-outline-teal {
    color: #f59e0b;
    border-color: #f59e0b;
}

body.dark-mode .btn-outline-teal:hover {
    background: #f59e0b;
    color: #0f172a;
}

/* Bouton btn-light sur les CTA strips */
body.dark-mode .btn-light {
    background: #f8fafc;
    color: #0f172a;
}

/* Bouton btn-teal (Télécharger, Envoyer) : fond ambre avec texte sombre */
body.dark-mode .btn-teal {
    background: #f59e0b;
    color: #0f172a;
    border-color: #f59e0b;
    font-weight: 700;
}

body.dark-mode .btn-teal:hover {
    background: #d97706;
    border-color: #d97706;
    color: #0f172a;
}

/* CTA Strip */
body.dark-mode .cta-strip {
    background: #f59e0b;
}

body.dark-mode .cta-strip h2 {
    color: #0f172a;
}

/* Banner système */
body.dark-mode .banner-system {
    background: #1e293b;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

body.dark-mode .banner-system h2,
body.dark-mode .banner-system p {
    color: #f8fafc;
}

/* Sections de contact */
body.dark-mode .contact {
    background: #0f172a;
}

body.dark-mode .info-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .info-card h4 {
    color: #f8fafc;
}

body.dark-mode .info-card p {
    color: #94a3b8;
}

body.dark-mode .info-plus {
    color: #f59e0b;
}

/* Formulaire de contact */
body.dark-mode .contact-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 32px;
}

body.dark-mode .contact-form h3 {
    color: #f8fafc;
}

body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #f8fafc;
}

body.dark-mode .contact-form input::placeholder,
body.dark-mode .contact-form textarea::placeholder {
    color: #64748b;
}

body.dark-mode .contact-form input:focus,
body.dark-mode .contact-form textarea:focus {
    border-color: #f59e0b;
    outline: none;
}

/* Réseaux sociaux */
body.dark-mode .socials a,
body.dark-mode .footer-socials a {
    color: #94a3b8;
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .socials a:hover,
body.dark-mode .footer-socials a:hover {
    color: #f59e0b;
    border-color: #f59e0b;
}

/* Footer */
body.dark-mode .footer {
    background: #020617;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

body.dark-mode .footer-col h5 {
    color: #f8fafc;
}

body.dark-mode .footer-col a {
    color: #64748b;
}

body.dark-mode .footer-col a:hover {
    color: #f59e0b;
}

body.dark-mode .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

body.dark-mode .footer-bottom p {
    color: #475569;
}

/* Feat body textes dans section Solution */
body.dark-mode .feat-body h4 {
    color: #f8fafc;
}

body.dark-mode .feat-body p {
    color: #94a3b8;
}

body.dark-mode .section>.container>div[style] {
    color: #f8fafc;
}