/* =======================
   MARTICLINK — ESTILO
   ======================= */

:root {
    --blue-900: #0a4ea6;
    --blue-700: #1167d6;
    --blue-100: #eaf6ff;
    --bg: #ffffff;
    --muted: #6b7280;
    --shadow: 0 6px 20px rgba(10, 78, 166, 0.08);

    font-family: Inter, system-ui, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: #0b1320;
}

/* ---------------- HEADER ---------------- */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 26px;
    background: linear-gradient(90deg, var(--bg), var(--blue-100));
    border-bottom: 1px solid rgba(10, 78, 166, 0.05);
    position: sticky;
    top: 0;
    z-index: 50;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 46px;
    height: 46px;
    background: linear-gradient(180deg, var(--blue-700), var(--blue-900));
    border-radius: 10px;
    color: white;
    font-weight: 700;
    display:flex;
    justify-content:center;
    align-items:center;
    box-shadow: var(--shadow);
}

.subtitle { 
    color: var(--muted); 
    font-size: 13px;
}

nav {
    display: flex;
    gap: 16px;
}

nav a {
    text-decoration: none;
    color: var(--blue-900);
    font-weight: 600;
}

.btn {
    background: var(--blue-900);
    color: white;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.btn.secondary {
    background: transparent;
    border: 2px solid var(--blue-900);
    color: var(--blue-900);
}

/* ---- MOBILE MENU ---- */
.mobile-nav { display: none; }

nav.mobile-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    right: 20px;
    top: 70px;
    background: white;
    padding: 12px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.35s ease;
    z-index: 100;
}

nav.mobile-open.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* ---------------- HERO ---------------- */

main {
    max-width: 1180px;
    margin: auto;
    padding: 20px;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 26px;
    padding-top: 10px;
}

.hero-card {
    padding: 26px;
    background: white;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.kicker {
    background: var(--blue-100);
    padding: 6px 10px;
    border-radius: 20px;
    font-weight: 700;
    color: var(--blue-900);
}

.lead { color: var(--muted); }

.features {
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.feature {
    background:white;
    border-radius:12px;
    padding:12px;
    flex:1 1 150px;
    border:1px solid rgba(10,78,166,0.1);
}

.actions {
    margin-top: 18px;
    display:flex;
    gap:10px;
}

/* ---------------- FORM ---------------- */

.card-form {
    padding: 20px;
    background: var(--blue-100);
    border-radius: 14px;
}

.field {
    display:flex;
    flex-direction:column;
    margin-bottom:10px;
}

.field input,
.field textarea {
    padding:10px;
    border-radius:8px;
    border:1px solid rgba(10,78,166,0.2);
}

.row {
    display:flex;
    gap:10px;
}

.submit-box {
    display:flex;
    justify-content:space-between;
    align-items:center;
}

/* ---------------- SERVICES ---------------- */

.services {
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap:14px;
    margin-top:20px;
}

.service-card {
    padding:16px;
    background:white;
    border-radius:12px;
    box-shadow:var(--shadow);
}

/* ---------------- STEPS ---------------- */

.steps {
    display:flex;
    flex-direction:column;
    gap:14px;
}

.step {
    display:flex;
    gap:12px;
}

.num {
    width:42px;
    height:42px;
    border-radius:10px;
    background:var(--blue-900);
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
}

/* ---------------- FOOTER ---------------- */

footer {
    margin-top:40px;
    padding:26px;
    background:#f7faff;
}

.footer-top,
.footer-bottom {
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:16px;
}

.muted { color: var(--muted); }

/* ---------------- RESPONSIVO ---------------- */

@media (max-width:900px) {
    nav { display:none; }
    .mobile-nav { display:block; }

    .hero {
        grid-template-columns: 1fr;
    }

    .row {
        flex-direction:column;
    }
}
