/* ══════════════════════════════════════════════════════
   MIN Express — Styles principaux
   ══════════════════════════════════════════════════════ */

/* ─── VARIABLES ─────────────────────────────────────── */
:root {
    --green-deep:   #1A3C2D;
    --green-mid:    #2D6A4F;
    --green-fresh:  #40916C;
    --green-light:  #D8F3DC;
    --amber:        #E8621A;
    --amber-light:  #FFF0E6;
    --slate:        #1E293B;
    --dark:         #111111;
    --mid:          #4B5563;
    --muted:        #9CA3AF;
    --border:       #E5E5DC;
    --bg:           #F7F7F2;
    --white:        #FFFFFF;
    --radius-sm:    6px;
    --radius-md:    12px;
    --radius-lg:    20px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ─── HEADER ─────────────────────────────────────────── */
header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 12px rgba(0,0,0,0.05);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px 0 12px;
    height: 82px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    margin-left: -4px;
}

.logo img { height: 126px; width: auto; display: block; object-fit: contain; }

.logo-fallback { font-size: 1.2rem; font-weight: 800; color: var(--green-deep); letter-spacing: -0.5px; }

nav.nav-links { display: flex; align-items: center; gap: 8px; flex: 1; }

nav.nav-links a {
    text-decoration: none;
    color: var(--mid);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 7px 15px;
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
}

nav.nav-links a:hover { color: var(--green-deep); background: var(--green-light); }

.min-selector-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
}

.min-selector-wrap svg { color: var(--green-fresh); flex-shrink: 0; }

.min-select {
    appearance: none;
    border: none;
    background: transparent;
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    padding-right: 4px;
}

.min-select:focus { outline: none; }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.btn-ghost {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}

.btn-ghost:hover { background: var(--bg); }

.btn-solid {
    text-decoration: none;
    background: var(--green-deep);
    color: var(--white) !important;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 9px 20px;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
    cursor: pointer;
    border: none;
    font-family: 'Outfit', sans-serif;
}

.btn-solid:hover { background: var(--green-mid); }

.btn-logout {
    background: none;
    border: 1px solid #FECACA;
    color: #EF4444;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--dark);
    margin: 5px 0;
    border-radius: 2px;
    transition: 0.3s;
}

/* ─── MOBILE MENU ────────────────────────────────────── */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 950;
    flex-direction: column;
    padding: 24px;
}

.mobile-menu.open { display: flex; }

.mobile-menu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.close-menu { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--mid); line-height: 1; }

.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; margin-bottom: 32px; }

.mobile-menu nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }

.mobile-signin {
    display: block;
    text-align: center;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--dark);
    text-decoration: none;
}

.mobile-menu-actions .btn-solid { display: block; text-align: center; padding: 14px; font-size: 1rem; border-radius: var(--radius-sm); width: 100%; }

.btn-mobile-full { display: block; text-align: center; padding: 14px; font-size: 1rem; border-radius: var(--radius-sm); }

.btn-logout-mobile {
    display: block;
    text-align: center;
    color: #EF4444;
    font-weight: 700;
    padding: 12px;
    font-size: 0.95rem;
    text-decoration: none;
}

/* ─── TICKER BAR ─────────────────────────────────────── */
.ticker-bar {
    background: var(--green-deep);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 9px 0;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-inner { display: inline-flex; gap: 64px; animation: ticker 28s linear infinite; }
.ticker-inner span { opacity: 0.65; }
.ticker-inner strong { opacity: 1; color: #D1FAE5; }

@keyframes ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ─── HERO ───────────────────────────────────────────── */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 70px);
    max-height: 820px;
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 64px 80px 80px;
    background: var(--white);
    border-right: 1px solid var(--border);
}

.hero h1 {
    font-size: clamp(2.6rem, 3.8vw, 4.4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    color: var(--dark);
    margin-bottom: 24px;
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--green-fresh) 0%, var(--green-mid) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc { font-size: 1.05rem; color: var(--mid); max-width: 440px; margin-bottom: 40px; line-height: 1.7; }
.hero-desc strong { color: var(--dark); }

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary-lg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-deep);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 15px 30px;
    border-radius: var(--radius-sm);
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(26,60,45,0.25);
}

.btn-primary-lg:hover { background: var(--green-mid); box-shadow: 0 6px 20px rgba(26,60,45,0.35); }

.btn-secondary-lg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 15px 28px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    transition: border-color 0.2s, color 0.2s;
}

.btn-secondary-lg:hover { border-color: var(--green-deep); color: var(--green-deep); }

.hero-right {
    position: relative;
    overflow: hidden;
    background: url('https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&w=900&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 28px;
}

.hero-right::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(15,40,25,0.88) 0%, rgba(26,60,45,0.80) 100%);
    z-index: 0;
}

.hero-right > * { position: relative; z-index: 1; }

/* ── Workflow cards ── */
.wf-wrap { width: 100%; max-width: 480px; }
.wf-header { text-align: center; margin-bottom: 24px; }

.wf-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.14);
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.wf-title { font-size: 1.4rem; font-weight: 800; color: white; letter-spacing: -0.5px; line-height: 1.2; }

.wf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.wf-card {
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 14px;
    padding: 20px 14px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    position: relative;
    transition: box-shadow 0.2s, transform 0.2s;
    backdrop-filter: blur(4px);
}

.wf-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.18); transform: translateY(-2px); }

.wf-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--amber);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
}

.wf-illus {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(232,98,26,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wf-card h4 { font-size: 0.82rem; font-weight: 700; color: var(--dark); margin: 0; line-height: 1.3; }
.wf-card p  { font-size: 0.71rem; color: var(--mid); margin: 0; line-height: 1.4; }

/* ─── TRUST BAR ──────────────────────────────────────── */
.trust-bar {
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 24px 32px;
}

.trust-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-stat { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; min-width: 120px; }

.trust-stat-number { font-size: 1.7rem; font-weight: 800; color: var(--green-deep); letter-spacing: -0.5px; transition: opacity 0.3s; }

.trust-stat-label { font-size: 0.75rem; font-weight: 500; color: var(--mid); letter-spacing: 0.05em; text-transform: uppercase; margin-top: 2px; }

.trust-divider { width: 1px; height: 36px; background: var(--border); flex-shrink: 0; }

/* ─── MARCHÉ ACTIF ───────────────────────────────────── */
.marche-actif {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 32px;
}

.marche-actif-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.marche-actif-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; flex-shrink: 0; }

.marche-badge {
    background: var(--green-light);
    border: 1px solid rgba(64,145,108,0.25);
    border-radius: 50px;
    padding: 5px 16px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--green-deep);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.marche-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-fresh); display: inline-block; }

.marche-soon { font-size: 0.72rem; font-weight: 600; color: var(--muted); font-style: italic; }

/* ─── SECTIONS ───────────────────────────────────────── */
.section { padding: 96px 32px; }

.section-inner { max-width: 1280px; margin: 0 auto; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green-fresh);
    padding: 0;
    margin-bottom: 16px;
}

.section-label::before { content: ''; display: block; width: 20px; height: 2px; background: var(--green-fresh); border-radius: 2px; flex-shrink: 0; }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.section-heading { font-size: clamp(2rem, 3vw, 3.2rem); font-weight: 800; letter-spacing: -1px; color: var(--dark); line-height: 1.12; margin-bottom: 16px; }
.section-sub { font-size: 1.05rem; color: var(--mid); max-width: 560px; line-height: 1.7; }

/* ─── ESPACES MÉTIERS ────────────────────────────────── */
.espaces-section { padding: 0; }

.espace-panel { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; }

.espace-content { padding: 72px 64px; display: flex; flex-direction: column; justify-content: center; gap: 28px; }

.espace-panel.acheteur  .espace-content { background: var(--green-deep); }
.espace-panel.producteur .espace-content { background: var(--amber); order: 2; }
.espace-panel.producteur .espace-visual  { order: 1; }
.espace-panel.grossiste  .espace-content { background: var(--slate); }
.espace-panel.grossiste  .espace-visual  {
    background: url('https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?auto=format&fit=crop&w=900&q=80') center/cover no-repeat;
    order: 2;
}

.espace-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 14px; border-radius: 4px; width: fit-content; }

.espace-panel.acheteur  .espace-badge { background: rgba(255,255,255,0.15); color: #A7F3D0; }
.espace-panel.producteur .espace-badge { background: rgba(255,255,255,0.2); color: white; }
.espace-panel.grossiste  .espace-badge { background: rgba(255,255,255,0.12); color: #94A3B8; }

.espace-content h2 { font-size: clamp(1.8rem, 2.2vw, 2.6rem); font-weight: 800; color: white; letter-spacing: -1px; line-height: 1.15; }

.espace-desc { font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,0.72); max-width: 400px; }

.espace-features { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }

.espace-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.88); }
.espace-features li svg { flex-shrink: 0; margin-top: 2px; }

.espace-cta { display: inline-flex; align-items: center; gap: 8px; background: white; font-weight: 700; font-size: 0.9rem; padding: 13px 24px; border-radius: 6px; text-decoration: none; width: fit-content; transition: opacity 0.2s; }
.espace-panel.acheteur  .espace-cta { color: var(--green-deep); }
.espace-panel.producteur .espace-cta { color: var(--amber); }
.espace-panel.grossiste  .espace-cta { color: var(--slate); }
.espace-cta:hover { opacity: 0.88; }

.espace-visual { position: relative; overflow: hidden; background: var(--bg); }
.espace-panel.acheteur  .espace-visual { background: url('https://images.unsplash.com/photo-1488459716781-31db52582fe9?auto=format&fit=crop&w=900&q=80') center/cover no-repeat; }
.espace-panel.producteur .espace-visual { background: url('https://images.unsplash.com/photo-1464226184884-fa280b87c399?auto=format&fit=crop&w=900&q=80') center/cover no-repeat; }

.espace-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 100%; height: 100%; background: rgba(0,0,0,0.08); }

.espace-stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 28px;
    text-align: center;
    gap: 8px;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.2s;
}

.espace-stat-box:hover { background: rgba(255,255,255,0.96); }

.espace-stat-num { font-size: clamp(2rem, 3vw, 3rem); font-weight: 800; letter-spacing: -2px; line-height: 1; }
.espace-panel.acheteur  .espace-stat-num { color: var(--green-deep); }
.espace-panel.producteur .espace-stat-num { color: var(--amber); }
.espace-panel.grossiste  .espace-stat-num { color: var(--slate); }

.espace-stat-label { font-size: 0.8rem; font-weight: 500; color: var(--mid); line-height: 1.4; text-align: center; }

@media (max-width: 1024px) {
    .espace-panel { grid-template-columns: 1fr; min-height: auto; }
    .espace-panel.producteur .espace-content { order: 1; }
    .espace-panel.producteur .espace-visual  { order: 2; }
    .espace-content { padding: 56px 40px; }
    .espace-visual  { min-height: 280px; }
    .espace-stats   { height: 280px; }
}

@media (max-width: 768px) {
    .espace-content { padding: 48px 24px; gap: 20px; }
    .espace-content h2 { font-size: 1.8rem; }
    .espace-features { grid-template-columns: 1fr; }
    .espace-visual { display: none; }
}

/* ─── PROFILS ────────────────────────────────────────── */
.process-section { background: var(--bg); }

.profils-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; }

.profil-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 240px;
    cursor: default;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s, transform 0.3s;
}

.profil-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.14); transform: translateY(-3px); }

.profil-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; filter: saturate(0.9); }
.profil-card:hover img { transform: scale(1.05); }

.profil-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,30,20,0.88) 0%, rgba(15,30,20,0.2) 60%, transparent 100%); transition: background 0.3s; }
.profil-card:hover .profil-card-overlay { background: linear-gradient(to top, rgba(15,30,20,0.92) 0%, rgba(15,30,20,0.35) 60%, transparent 100%); }

.profil-card-text { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; }
.profil-card-text h3 { font-size: 1rem; font-weight: 700; color: white; margin-bottom: 4px; }
.profil-card-text p  { font-size: 0.78rem; color: rgba(255,255,255,0.72); line-height: 1.4; }

.profil-tag { display: inline-block; background: var(--green-fresh); color: white; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; margin-bottom: 8px; }
.profil-tag.orange { background: var(--amber); }
.profil-tag.slate  { background: var(--slate); }

@media (max-width: 1024px) { .profils-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .profil-card { height: 180px; } }

/* ─── SPLIT CTA ──────────────────────────────────────── */
.split-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-top: 56px; }

.split-cta-panel { padding: 60px 56px; display: flex; flex-direction: column; gap: 20px; }
.split-cta-panel.dark  { background: var(--green-deep); }
.split-cta-panel.light { background: var(--white); }

.split-cta-panel h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.5px; }
.split-cta-panel.dark  h3 { color: var(--white); }
.split-cta-panel.light h3 { color: var(--dark); }

.split-cta-panel p { font-size: 0.95rem; line-height: 1.7; }
.split-cta-panel.dark  p { color: rgba(255,255,255,0.7); }
.split-cta-panel.light p { color: var(--mid); }

.btn-white { display: inline-flex; align-items: center; gap: 8px; background: var(--white); color: var(--green-deep); text-decoration: none; font-weight: 700; font-size: 0.9rem; padding: 12px 24px; border-radius: var(--radius-sm); width: fit-content; transition: background 0.2s; }
.btn-white:hover { background: var(--green-light); }

.btn-dark { display: inline-flex; align-items: center; gap: 8px; background: var(--green-deep); color: var(--white); text-decoration: none; font-weight: 700; font-size: 0.9rem; padding: 12px 24px; border-radius: var(--radius-sm); width: fit-content; transition: background 0.2s; border: none; cursor: pointer; font-family: 'Outfit', sans-serif; }
.btn-dark:hover { background: var(--green-mid); }

/* ─── LOGOS / ILS PARLENT DE NOUS ───────────────────── */
.logos-section { background: #FAFAFA; border-top: 1px solid #EBEBEB; border-bottom: 1px solid #EBEBEB; padding: 48px 0 52px; overflow: hidden; }

.logos-label { text-align: center; font-size: 0.61rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #BBBBBB; margin-bottom: 36px; }

.logos-track-wrap {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 14%, black 86%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 14%, black 86%, transparent 100%);
}

.logos-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: logos-scroll 40s linear infinite; }
.logos-track:hover { animation-play-state: paused; }

.logo-item { display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: #fff; border: 1px solid #E8E8E8; border-radius: 16px; padding: 20px 36px; box-shadow: 0 2px 12px rgba(0,0,0,0.05); transition: box-shadow 0.3s, transform 0.3s; min-width: 200px; height: 90px; }
.logo-item:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.1); transform: translateY(-2px); }
.logo-item img { height: 52px; width: auto; max-width: 160px; object-fit: contain; }

@keyframes logos-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ─── FOOTER ─────────────────────────────────────────── */
footer { background: var(--dark); color: var(--white); padding: 72px 32px 40px; }

.footer-inner { max-width: 1280px; margin: 0 auto; }

.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid #1F2937; margin-bottom: 40px; }

.footer-brand p { font-size: 0.875rem; color: #D1D5DB; line-height: 1.7; margin-top: 16px; max-width: 280px; }
.footer-brand .logo-text { font-size: 1.1rem; font-weight: 800; color: var(--white); letter-spacing: -0.5px; }

.footer-col h5 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #9CA3AF; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #D1D5DB; text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }

.footer-newsletter { display: flex; gap: 6px; margin-top: 12px; }
.footer-newsletter input { flex: 1; background: #1F2937; border: 1px solid #374151; color: var(--white); padding: 9px 14px; border-radius: var(--radius-sm); font-family: 'Outfit', sans-serif; font-size: 0.85rem; }
.footer-newsletter input::placeholder { color: #6B7280; }
.footer-newsletter input:focus { outline: none; border-color: var(--green-fresh); }
.footer-newsletter button { background: var(--green-fresh); color: var(--white); border: none; padding: 9px 16px; border-radius: var(--radius-sm); font-weight: 700; font-family: 'Outfit', sans-serif; font-size: 0.85rem; cursor: pointer; transition: background 0.2s; }
.footer-newsletter button:hover { background: var(--green-mid); }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.8rem; color: #9CA3AF; }

/* ─── CONTACT FIXE ───────────────────────────────────── */
.btn-contact-fixed {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: var(--green-deep);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    transition: background 0.2s, transform 0.2s;
    z-index: 800;
}

.btn-contact-fixed:hover { background: var(--green-mid); transform: scale(1.06); }

/* ─── MODALS ─────────────────────────────────────────── */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 1000; justify-content: center; align-items: center; padding: 20px; }
.modal-overlay.open { display: flex; }

.modal-box { background: var(--white); border-radius: var(--radius-lg); padding: 40px; width: 100%; max-width: 480px; position: relative; max-height: 90vh; overflow-y: auto; animation: modalIn 0.25s ease-out; }

@keyframes modalIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.modal-box h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.modal-box .modal-sub { font-size: 0.9rem; color: var(--mid); margin-bottom: 28px; }

.close-modal { position: absolute; top: 18px; right: 20px; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--muted); line-height: 1; transition: color 0.2s; }
.close-modal:hover { color: var(--dark); }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 0.875rem; color: var(--dark); margin-bottom: 7px; }
.form-group input,
.form-group textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.9rem; font-family: 'Outfit', sans-serif; transition: border-color 0.2s; color: var(--dark); }
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--green-fresh); }

.role-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.role-card { display: block; text-decoration: none; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 28px 20px; text-align: center; transition: border-color 0.2s, background 0.2s; }
.role-card:hover { border-color: var(--green-fresh); background: var(--bg); }
.role-card-icon { width: 48px; height: 48px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px auto; }
.role-card-icon.green { background: var(--green-light); color: var(--green-deep); }
.role-card-icon.amber { background: var(--amber-light); color: var(--amber); }
.role-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.role-card p  { font-size: 0.8rem; color: var(--muted); }

/* ─── USER PILL ──────────────────────────────────────── */
.user-pill { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border: 1px solid var(--border); border-radius: 50px; text-decoration: none; transition: border-color 0.2s; }
.user-pill:hover { border-color: var(--green-fresh); }
.user-pill-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--green-light); display: flex; align-items: center; justify-content: center; color: var(--green-deep); }
.user-pill-text strong { display: block; font-size: 0.8rem; font-weight: 700; color: var(--dark); line-height: 1.2; }
.user-pill-text span  { font-size: 0.7rem; color: var(--green-fresh); }

/* ─── PWA BANNER ─────────────────────────────────────── */
.pwa-install-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--dark); color: var(--white); padding: 14px 20px; z-index: 5000; display: none; align-items: center; gap: 14px; box-shadow: 0 -2px 16px rgba(0,0,0,0.2); }
.pwa-install-banner.show { display: flex; }
.pwa-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--green-fresh); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pwa-text { flex: 1; }
.pwa-text strong { display: block; font-size: 0.9rem; }
.pwa-text span   { font-size: 0.8rem; color: #9CA3AF; }
.pwa-btn-install { background: var(--green-fresh); color: var(--white); border: none; padding: 9px 18px; border-radius: var(--radius-sm); font-weight: 700; font-family: 'Outfit', sans-serif; font-size: 0.85rem; cursor: pointer; flex-shrink: 0; }
.pwa-btn-close   { background: none; border: none; color: #6B7280; font-size: 1.2rem; cursor: pointer; flex-shrink: 0; line-height: 1; }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; max-height: none; }
    .hero-right { display: none; }
    .hero-left { padding: 60px 32px; }
    .split-cta { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .header-inner { padding: 0 20px; }
    nav.nav-links, .min-selector-wrap, .header-actions { display: none; }
    .hamburger { display: block; }
    .hero-left { padding: 48px 20px; }
    .section { padding: 64px 20px; }
    .split-cta-panel { padding: 40px 24px; }
    .trust-bar-inner { justify-content: center; }
    .trust-divider { display: none; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .role-cards { grid-template-columns: 1fr; }
    .marche-actif { padding: 12px 20px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .hero-ctas { flex-direction: column; }
    .btn-primary-lg, .btn-secondary-lg { justify-content: center; }
    .ticker-bar { display: none; }
}
