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

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

:root {
    --blue: #2166AB;
    --blue-dark: #174E85;
    --blue-deeper: #0F3A66;
    --orange: #FF7F00;
    --orange-light: #FF9933;
    --text: #1E293B;
    --text-light: #64748B;
    --bg-light: #F0F5FA;
    --white: #ffffff;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ========== NAV ========== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: var(--blue-dark);
    padding: 0 2rem;
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.nav-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--white);
    font-weight: 700; font-size: 1.2rem;
}
.nav-logo span { color: var(--orange); }
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a {
    color: rgba(255,255,255,0.85); text-decoration: none;
    font-size: 0.9rem; font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--orange); }

/* ========== HERO ========== */
.hero {
    margin-top: 64px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 50%, var(--blue-deeper) 100%);
    color: var(--white);
    padding: 5rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,127,0,0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.hero::after {
    content: '';
    position: absolute; bottom: -30%; left: -10%; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-label {
    display: inline-block;
    background: rgba(255,127,0,0.15);
    color: var(--orange);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,127,0,0.25);
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    position: relative;
}
.hero h1 em {
    font-style: normal;
    color: var(--orange);
}
.hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* ========== PROCESS TIMELINE ========== */
.process {
    padding: 4rem 2rem;
    background: var(--bg-light);
}
.process-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.section-label {
    color: var(--orange);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text);
}
.timeline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    padding: 0 1rem;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 5%;
    right: 5%;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--orange));
    border-radius: 3px;
}
.tl-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    flex: 1;
    min-width: 0;
}
.tl-dot {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--blue);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(33,102,171,0.15);
    transition: all 0.3s;
}
.tl-step:hover .tl-dot {
    background: var(--blue);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(33,102,171,0.3);
}
.tl-step.accent .tl-dot {
    border-color: var(--orange);
    box-shadow: 0 4px 12px rgba(255,127,0,0.2);
}
.tl-step.accent:hover .tl-dot {
    background: var(--orange);
}
.tl-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
    max-width: 110px;
}
.tl-sub {
    font-size: 0.72rem;
    color: var(--text-light);
    margin-top: 2px;
}

/* ========== MAQUETTES GRID ========== */
.maquettes {
    padding: 4rem 2rem 5rem;
    max-width: 1100px;
    margin: 0 auto;
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid #E2E8F0;
    overflow: hidden;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue);
}
.card-visual {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}
.card-visual.v1 { background: linear-gradient(135deg, #E8F4FD, #D1E9F7); }
.card-visual.v2 { background: linear-gradient(135deg, #FFF3E0, #FFE0B2); }
.card-visual.v3 { background: linear-gradient(135deg, #E8F5E9, #C8E6C9); }
.card-visual.v4 { background: linear-gradient(135deg, #F3E5F5, #E1BEE7); }
.card-visual.v5 { background: linear-gradient(135deg, #FFF8E1, #FFECB3); }
.card-visual .card-icon {
    font-size: 3.5rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}
.card-badge {
    position: absolute;
    top: 12px; right: 12px;
    background: var(--orange);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.card-badge.soon {
    background: var(--text-light);
}
.card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card-code {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}
.card-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    flex: 1;
}
.card-footer {
    padding: 0.75rem 1.25rem;
    border-top: 1px solid #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-cta {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}
.card:hover .card-cta { gap: 8px; color: var(--orange); }
.card-cta svg { width: 16px; height: 16px; }

/* ========== CTA SECTION ========== */
.cta-section {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-deeper));
    color: var(--white);
    text-align: center;
    padding: 4rem 2rem;
}
.cta-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.cta-section p {
    color: rgba(255,255,255,0.75);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}
.btn-orange {
    background: var(--orange);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(255,127,0,0.3);
}
.btn-orange:hover {
    background: var(--orange-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255,127,0,0.4);
}
.btn-white {
    background: var(--white);
    color: var(--blue-dark);
}
.btn-white:hover {
    background: #F0F5FA;
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
    border-color: var(--orange);
    color: var(--orange);
}

/* ========== FOOTER ========== */
.footer {
    padding: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    border-top: 1px solid #E2E8F0;
}
.footer a { color: var(--blue); text-decoration: none; }
.footer a:hover { color: var(--orange); }

/* ========== PRESENTATION PAGE ========== */
.pres-hero {
    margin-top: 64px;
    padding: 4rem 2rem 3rem;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: var(--white);
    text-align: center;
}
.pres-hero .pres-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}
.pres-hero h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.pres-hero .pres-tag {
    display: inline-block;
    background: rgba(255,127,0,0.15);
    color: var(--orange);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.pres-hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
}

.pres-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}
.pres-section { margin-bottom: 2.5rem; }
.pres-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}
.pres-section p, .pres-section li {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}
.pres-section ul {
    list-style: none;
    padding: 0;
}
.pres-section li {
    padding: 6px 0 6px 24px;
    position: relative;
}
.pres-section li::before {
    content: '';
    position: absolute;
    left: 0; top: 14px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--orange);
}
.pres-mockup {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    margin: 2rem 0;
    border: 2px dashed #CBD5E1;
}
.pres-mockup .mock-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}
.pres-mockup p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.pres-cta {
    text-align: center;
    padding: 2rem 0 3rem;
}
.pres-cta .btn {
    font-size: 1.1rem;
    padding: 16px 40px;
}
.pres-cta .hint {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.75rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .timeline {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
        padding-left: 2rem;
    }
    .timeline::before {
        top: 0; bottom: 0; left: 28px;
        width: 3px; height: auto;
        right: auto;
    }
    .tl-step {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
    }
    .tl-dot { flex-shrink: 0; width: 48px; height: 48px; font-size: 1.1rem; }
    .tl-label { max-width: none; }
    .cards-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .hero { padding: 3rem 1.5rem 2.5rem; }
    .hero h1 { font-size: 1.8rem; }
    .nav { padding: 0 1rem; }
    .nav-links { display: none; }
    .process, .maquettes { padding: 2.5rem 1.5rem; }
}
