:root {
    --bg: #ffffff;
    --bg-alt: #f5f7f9;
    --text: #1f2933;
    --muted: #6b7280;
    --primary: #0b4f6c;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, system-ui, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container.narrow {
    max-width: 700px;
}

.site-header {
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-weight: 600;
    text-decoration: none;
    color: var(--text);
}

nav a {
    margin-left: 1.2rem;
    text-decoration: none;
    color: var(--text);
}

.hero {
    padding: 7rem 1.5rem;
    text-align: center;
    background:
            linear-gradient(
                    rgba(255,255,255,0.15),
                    rgba(255,255,255,0.85)
            ),
            url('/assets/images/concept-hero-2000.jpg') center/cover no-repeat;
}

.hero h1 {
    font-size: 2.6rem;
    margin-bottom: 1rem;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--text);
}

.section {
    padding: 4rem 0;
}

.section.alt {
    background: var(--bg-alt);
}

.section.center {
    text-align: center;
}

.lead {
    font-size: 1.2rem;
    text-align: center;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.split-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.card {
    background: #fff;
    padding: 2rem;
    border-radius: 14px;
    border: 2px solid #e5e7eb;
    transition:
            transform 0.35s cubic-bezier(.4,0,.2,1),
            border-color 0.35s ease;
}

.card:hover {
    transform: translateY(-3px);
    border-color: rgba(11, 79, 108, 0.35);
}

.btn {
    display: inline-block;
    padding: 0.7rem 1.4rem;
    border-radius: 6px;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-link {
    color: var(--primary);
}

.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 2rem 0;
    font-size: 0.9rem;
}

.site-footer a {
    color: #cbd5e1;
    margin-right: 1rem;
}
/*****************
FONCTIONNEMENT
*****/
.page-hero {
   /* padding: 5rem 0 2rem;*/
    padding: 7rem 1.5rem;
    text-align: center;
    background:
            linear-gradient(
                    rgba(255,255,255,0.15),
                    rgba(255,255,255,0.85)
            ),
            url('/assets/images/premium_photo.jpg') center/cover no-repeat;
}

.center { text-align: center; }
.muted { color: var(--muted); }

.timeline {
    display: grid;
    gap: 2rem;
}

.step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 1.5rem;
    align-items: start;
}

.step-badge {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(11, 79, 108, 0.10);
    color: var(--primary);
    display: grid;
    place-items: center;
    font-weight: 700;
}

.step-body h2 {
    margin: 0 0 0.5rem;
}

.callout {
    margin-top: 1rem;
    padding: 1rem 1.2rem;
    border-left: 3px solid var(--primary);
    background: #fff;
    border-radius: 8px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.2rem;
}

.list {
    margin: 1rem 0 0;
    padding-left: 1.1rem;
}

.list li{
    margin-bottom: 0.5rem;
    text-align: left;
    list-style: none;
    position: relative;
    padding-left: 0.7rem;
}
.list li::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary);
}

.note {
    color: var(--muted);
}

@media (max-width: 800px) {
    .split { grid-template-columns: 1fr; }
    .step { grid-template-columns: 36px 1fr; }
    .step-badge { width: 36px; height: 36px; border-radius: 10px; }
}

/*****************************
TARIFS
 *****************************/
.pricing {
    text-align: center;
}

.pricing .price {
    font-size: 1.1rem;
    margin: 1rem 0;
}

.pricing.highlight {
    border: 2px solid var(--primary);
    transform: translateY(-6px);
}

.pricing.highlight .price strong {
    color: var(--primary);
}

/***************
CONTACT
 *************/
.form {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.form-row {
    margin-bottom: 1.2rem;
}

.form-row label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    outline: none;
    font-size: 1rem;
}

.form-row input:focus,
.form-row textarea:focus {
    border-color: rgba(11, 79, 108, 0.5);
}

.form-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.alert {
    padding: 0.9rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.2rem;
}

.alert.success {
    background: rgba(34, 197, 94, 0.10);
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.alert.error {
    background: rgba(239, 68, 68, 0.10);
    border: 1px solid rgba(239, 68, 68, 0.25);
}
.icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 79, 108, 0.08);
    border-radius: 14px;
    color: #001447;
}

.icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.6;
}
/* ===== MENU BURGER ===== */

.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Nav desktop */
.main-nav {
    display: none;
    align-items: center;
}

.main-nav a {
    margin-left: 1.2rem;
}
@media (min-width: 901px) {
    .main-nav {
        display: flex;
    }

    .burger {
        display: none;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {

    .burger {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 70px;
        right: 0;
        left: 0;
        background: #fff;
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
        padding: 2rem 0;
        border-bottom: 1px solid #e5e7eb;
    }

    .menu-open .main-nav {
        display: flex;
    }

    .main-nav a {
        margin: 0;
        font-size: 1.1rem;
    }
}
/*========LOGIN========*/
.form-row input {
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-row input:focus {
    box-shadow: 0 0 0 3px rgba(11, 79, 108, 0.12);
}

.note {
    font-size: 0.9rem;
}
/*========SEPARATEURS==========*/
.section-separator {
    width: 200px;
    height: 6px;
    margin: 4rem auto;
    background: linear-gradient(
            to right,
            rgba(11, 79, 108, 0.15),
            rgba(11, 79, 108, 0.35),
            rgba(11, 79, 108, 0.15)
    );
    border-radius: 6px;
}
.block-accent {
    position: relative;
    padding-left: 2.2rem;
}

.block-accent::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    width: 6px;
    height: 80%;
    background: linear-gradient(
            to bottom,
            rgba(11, 79, 108, 0.15),
            rgba(11, 79, 108, 0.45)
    );
    border-radius: 6px;
}
.block-accent.soft::before {
    background: rgba(11, 79, 108, 0.15);
}
@media (max-width: 768px) {
    .section-separator {
        margin: 3rem auto;
    }
    .block-accent::before {
        width: 4px;
    }
}
/* ===== Reveal on scroll (premium) ===== */

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition:
            opacity 0.6s ease,
            transform 0.7s cubic-bezier(.2,.8,.2,1);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Variantes (optionnel) */
.reveal.reveal-soft {
    transform: translateY(10px);
    transition-duration: 0.7s;
}

.reveal.reveal-fast {
    transition-duration: 0.45s;
}

/* Respect accessibilité */
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal.is-visible {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
/* ===== UPLOAD ===== */
.upload-zone {
    text-align: center;
    padding: 2.5rem;
    border: 2px dashed #ccd6e0;
    border-radius: 18px;
    background: #fafbfd;
    transition: background .2s ease, border-color .2s ease;
    cursor: pointer;
}

.upload-zone.dragover {
    background: #f0f5ff;
    border-color: #001447;
}

.upload-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.upload-sub {
    color: #6b7280;
    margin-bottom: 1rem;
}

.progress-bar {
    height: 8px;
    background: #e5e9f0;
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #001447, #003a8f);
    transition: width .3s ease;
}

.file-preview {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 16px;
    background: #f9fafb;
    border: 1px solid #e5e9f0;
}

.preview-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.preview-thumb img {
    max-width: 120px;
    border-radius: 12px;
}

.preview-meta {
    font-size: .95rem;
}

.preview-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}
.btn-danger {
    border-color: #e5e7eb;
    color: #991b1b;
}

.btn-danger:hover {
    background: #fef2f2;
    border-color: #fecaca;
}