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

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
    --color-primary: #003d82;
    --color-primary-light: #0066cc;
    --gradient-primary: linear-gradient(135deg, #003d82 0%, #0066cc 100%);

    --color-bg: #f6f7f9;
    --color-surface: #ffffff;
    --color-border: #e5e8ec;
    --color-border-strong: #d7dbe1;

    --color-text: #1a1d23;
    --color-text-muted: #636b76;
    --color-text-subtle: #9aa1ab;

    --color-success-bg: #e8f5e9;
    --color-success-text: #1e7d32;
    --color-warning-bg: #fff3e0;
    --color-warning-text: #c4630a;
    --color-danger: #d32f2f;
    --color-danger-strong: #b71c1c;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-pill: 999px;

    --shadow-xs: 0 1px 2px rgba(16, 24, 40, .06);
    --shadow-sm: 0 2px 8px rgba(16, 24, 40, .06);
    --shadow-md: 0 8px 24px rgba(16, 24, 40, .10);
    --shadow-lg: 0 20px 48px rgba(16, 24, 40, .16);
    --shadow-focus: 0 0 0 3px rgba(0, 61, 130, .14);

    --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
    background-color: var(--color-bg);
    background-image: radial-gradient(rgba(0, 61, 130, .16) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    background-attachment: fixed;
}
h1, h2, h3 { letter-spacing: -0.02em; font-weight: 700; }
a { color: inherit; }
img { max-width: 100%; }

/* ---------- Blobs decorativos (parallax) ---------- */
.blob {
    position: absolute !important;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.blob-primary { background: radial-gradient(circle at 35% 35%, rgba(0, 102, 204, .42), rgba(0, 102, 204, 0) 70%); }
.blob-navy { background: radial-gradient(circle at 35% 35%, rgba(0, 61, 130, .38), rgba(0, 61, 130, 0) 70%); }

:focus-visible {
    outline: 2px solid var(--color-primary-light);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ---------- Brand ---------- */
.brand {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-decoration: none;
}
.brand span:nth-child(1) { color: var(--color-primary); }
.brand span:nth-child(2) { color: var(--color-primary-light); }
.brand span:nth-child(3) { color: #333; }

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(255, 255, 255, .7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(229, 232, 236, .6);
    padding: 0 28px;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: height 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.navbar.is-scrolled {
    height: 58px;
    background: rgba(255, 255, 255, .92);
    border-color: var(--color-border);
    box-shadow: 0 4px 24px rgba(16, 24, 40, .08);
}
.nav-menu {
    display: flex;
    gap: 28px;
    list-style: none;
    margin-left: 44px;
    flex: 1;
}
.nav-menu > li { display: flex; align-items: center; }
.nav-menu > li > a {
    position: relative;
    color: #444;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 0;
    transition: color 0.18s var(--ease);
}
.nav-menu > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s var(--ease);
}
.nav-menu > li > a:hover { color: var(--color-primary); }
.nav-menu > li > a:hover::after { transform: scaleX(1); }

/* ---------- Dropdown "Recursos" ---------- */
.has-dropdown { position: relative; }
.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}
.dropdown-trigger .caret {
    width: 13px;
    height: 13px;
    transition: transform 0.2s var(--ease);
}
.has-dropdown:hover .caret,
.has-dropdown:focus-within .caret { transform: rotate(180deg); }

.dropdown-panel {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 20px;
    display: flex;
    gap: 20px;
    min-width: 460px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
    z-index: 100;
}
.has-dropdown:hover .dropdown-panel,
.has-dropdown:focus-within .dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.has-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 14px;
}

.dropdown-col { flex: 1; min-width: 190px; }
.dropdown-col-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--color-text-subtle);
    margin-bottom: 12px;
}
.dropdown-col-title svg { width: 14px; height: 14px; }
.dropdown-col-hint {
    font-size: 10px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: #c2c7ce;
}
.dropdown-divider { width: 1px; background: var(--color-border); }

.dropdown-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 9px 10px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    margin: 0 -10px 2px;
    transition: background 0.15s var(--ease);
}
.dropdown-item:hover { background: #f2f6fb; }
.dropdown-item-name { font-size: 13px; font-weight: 600; color: var(--color-text); }
.dropdown-item-desc { font-size: 12px; color: var(--color-text-subtle); }
.badge.small {
    margin-top: 4px;
    align-self: flex-start;
    padding: 2px 8px;
    font-size: 10px;
}

.navbar-right { display: flex; align-items: center; gap: 18px; }
.user-name { font-size: 13px; color: var(--color-text-muted); font-weight: 500; }
.logout-btn {
    background: transparent;
    color: var(--color-danger);
    border: 1px solid #f3cfcf;
    padding: 7px 15px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    font-family: inherit;
    transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.logout-btn:hover { background: var(--color-danger); color: white; border-color: var(--color-danger); }
.portal-btn {
    background: var(--gradient-primary);
    color: white;
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    box-shadow: var(--shadow-xs);
    transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.portal-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }

/* ==========================================================================
   Layout
   ========================================================================== */
.page-wrap { min-height: 100%; display: flex; flex-direction: column; }
.container {
    flex: 1;
    max-width: 1180px;
    margin: 48px auto;
    width: 100%;
    padding: 0 28px;
}
.footer {
    position: relative;
    overflow: hidden;
    background: #0a1b30;
    color: #aab8ca;
    margin-top: 64px;
}
.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, black 40%, transparent 100%);
    pointer-events: none;
}
.footer-top {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    padding: 56px 28px 40px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 32px;
}
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h4 {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 4px;
}
.footer-col a {
    color: #aab8ca;
    text-decoration: none;
    font-size: 13.5px;
    transition: color 0.18s var(--ease);
    width: fit-content;
}
.footer-col a:hover { color: #fff; }
.footer-brand p { font-size: 13.5px; line-height: 1.6; color: #8393a8; max-width: 260px; }
.footer-logo { margin-bottom: 2px; }
.footer-logo span:nth-child(1) { color: #4f9cf0; }
.footer-logo span:nth-child(2) { color: #7fc4ff; }
.footer-logo span:nth-child(3) { color: #fff; }
.footer-status {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    color: #7fd99a;
    margin-top: 4px;
}
.footer-status svg { width: 15px; height: 15px; flex-shrink: 0; }

.footer-bottom {
    position: relative;
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 20px 28px;
    text-align: center;
    font-size: 12px;
    color: #6b7c92;
}

@media (max-width: 760px) {
    .footer-top { grid-template-columns: 1fr 1fr; }
}

/* ---------- Page header ---------- */
.header, .page-header { margin-bottom: 44px; }
.header h1, .page-header h1 { font-size: 30px; margin-bottom: 8px; }
.header p, .page-header p { color: var(--color-text-muted); font-size: 15px; }

/* ==========================================================================
   Seções de Recursos (Público/Privado)
   ========================================================================== */
.resource-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    margin-bottom: 40px;
    padding: 32px;
    background: #f8fafc;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}
.resource-section:last-child { margin-bottom: 0; }
.resource-section > * { position: relative; }
.section-label {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--color-border);
}
.section-label svg {
    width: 22px;
    height: 22px;
    color: var(--color-primary-light);
    flex-shrink: 0;
    margin-top: 2px;
}
.section-title { font-size: 18px; margin-bottom: 2px; }
.section-subtitle { font-size: 13px; color: var(--color-text-subtle); }

.card-placeholder { text-align: left; border-style: dashed; background: #fafbfc; box-shadow: none; }
.card-placeholder:hover { transform: none; box-shadow: none; border-color: var(--color-border-strong); }
.placeholder-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: #eef1f4;
    color: var(--color-text-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.placeholder-icon svg { width: 22px; height: 22px; }

.badge.restricted { background: #eef1f4; color: #555; margin-left: 6px; }

/* ==========================================================================
   Hero (Home pública)
   ========================================================================== */
.hero {
    position: relative;
    overflow: hidden; isolation: isolate;
    text-align: center;
    padding: 76px 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    margin-bottom: 44px;
    box-shadow: var(--shadow-sm);
}
.hero-bg {
    position: absolute !important;
    inset: 0;
    background:
        radial-gradient(560px 280px at 12% -10%, rgba(0, 102, 204, .10), transparent 60%),
        radial-gradient(480px 260px at 88% 110%, rgba(0, 61, 130, .08), transparent 60%);
    pointer-events: none;
}
.hero > * { position: relative; }
.hero h1 { font-size: 38px; margin-bottom: 14px; line-height: 1.15; }
.hero .brand-highlight { color: var(--color-primary-light); }
.hero p { color: var(--color-text-muted); font-size: 17px; margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn-primary, .btn-secondary {
    padding: 13px 26px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease);
}
.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary {
    background: var(--color-surface);
    color: var(--color-primary);
    border: 1px solid var(--color-border-strong);
}
.btn-secondary:hover { background: #f0f5fb; transform: translateY(-2px); }

.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.highlight-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    text-align: center;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-border-strong);
}
.highlight-icon {
    width: 46px;
    height: 46px;
    margin: 0 auto 16px;
    color: var(--color-primary-light);
    background: #eaf2fb;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}
.highlight-icon svg { width: 22px; height: 22px; }
.highlight-card h3 { font-size: 16px; margin-bottom: 8px; }
.highlight-card p { color: var(--color-text-muted); font-size: 13.5px; line-height: 1.6; }

/* ==========================================================================
   Stack tecnológico (logo wall por fornecedor/ecossistema)
   ========================================================================== */
.stack-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    margin-top: 52px;
    margin-bottom: 52px;
    padding: 32px;
    background: #f8fafc;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}
.stack-section:first-child { margin-top: 0; }
.stack-section > * { position: relative; }
.stack-header { margin-bottom: 32px; text-align: center; }
.stack-header h2 { font-size: 24px; margin-bottom: 8px; }
.stack-header p { color: var(--color-text-muted); font-size: 14.5px; }
.stack-footnote { text-align: center; margin-top: 24px; font-size: 13px; color: var(--color-text-subtle); }
.stack-footnote a { color: var(--color-primary-light); text-decoration: none; font-weight: 500; }
.stack-footnote a:hover { text-decoration: underline; }

.vendor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 16px;
}
.vendor-grid-prose { max-width: 800px; margin-bottom: 32px; }
.vendor-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 22px 12px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.vendor-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-border-strong);
}
.vendor-tile img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: filter 0.2s var(--ease), opacity 0.2s var(--ease);
}
.vendor-tile:hover img { filter: grayscale(0%); opacity: 1; }
.vendor-tile span {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-align: center;
}

/* ==========================================================================
   Componentes da página Sobre
   ========================================================================== */
.section-block { margin-bottom: 52px; }
.section-block:last-of-type { margin-bottom: 0; }

.quote-band {
    position: relative;
    overflow: hidden; isolation: isolate;
    text-align: center;
    padding: 48px 28px;
    margin-bottom: 52px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
}
.quote-band > * { position: relative; }
.quote-mark { width: 30px; height: 30px; color: var(--color-primary-light); opacity: 0.55; margin-bottom: 12px; }
.quote-band p {
    max-width: 640px;
    margin: 0 auto 14px;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--color-text);
}
.quote-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--color-text-subtle);
}

.values-grid .highlight-card { text-align: left; }
.values-grid .highlight-card h3 { margin-bottom: 0; }
.values-grid .highlight-icon { margin: 0 0 14px; }

.contact-cta {
    position: relative;
    overflow: hidden; isolation: isolate;
    text-align: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 56px 28px;
    box-shadow: var(--shadow-sm);
}
.contact-cta > * { position: relative; }
.contact-cta h2 { font-size: 24px; margin-bottom: 10px; }
.contact-cta p { color: var(--color-text-muted); font-size: 14.5px; margin-bottom: 24px; }
.contact-cta .btn-primary { display: inline-flex; text-decoration: none; }

/* ==========================================================================
   Prose (Sobre, textos institucionais)
   ========================================================================== */
.prose {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 36px;
    max-width: 800px;
    box-shadow: var(--shadow-xs);
    margin-bottom: 52px;
}
.prose h2 { font-size: 18px; margin: 26px 0 12px; color: var(--color-primary); }
.prose h2:first-child { margin-top: 0; }
.prose p { color: #4a5158; line-height: 1.75; margin-bottom: 12px; }
.prose a { color: var(--color-primary-light); }
.check-list { list-style: none; margin: 12px 0; }
.check-list li {
    padding: 9px 0 9px 30px;
    position: relative;
    color: #4a5158;
}
.check-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-success-bg);
    box-shadow: inset 0 0 0 1px rgba(30, 125, 50, .15);
}
.check-list li:after {
    content: "";
    position: absolute;
    left: 5px;
    top: 15px;
    width: 6px;
    height: 3px;
    border-left: 2px solid var(--color-success-text);
    border-bottom: 2px solid var(--color-success-text);
    transform: rotate(-45deg);
}

/* ==========================================================================
   Resource cards
   ========================================================================== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 44px;
}
.card {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: 26px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-xs);
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.card:hover {
    border-color: var(--color-border-strong);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.resource-logo-wrap {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    overflow: hidden; isolation: isolate;
    border: 1px solid #eee;
    background: #fff;
    padding: 6px;
}
.resource-logo-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.card-head h2 { font-size: 16px; margin-bottom: 2px; font-weight: 700; }
.resource-provider { font-size: 12px; color: var(--color-text-subtle); font-weight: 500; }
.card p { color: var(--color-text-muted); font-size: 13.5px; line-height: 1.6; margin-bottom: 18px; }
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gradient-primary);
    color: white;
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    box-shadow: var(--shadow-xs);
    transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.card-link:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 600;
    margin-top: 12px;
}
.badge svg { width: 12px; height: 12px; }
.badge.active { background: var(--color-success-bg); color: var(--color-success-text); }
.badge.coming { background: var(--color-warning-bg); color: var(--color-warning-text); }

/* ==========================================================================
   Login
   ========================================================================== */
.login-page {
    position: relative;
    overflow: hidden; isolation: isolate;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(160deg, #f4f6fa 0%, #dbe6f4 100%);
}
.login-bg {
    position: absolute !important;
    inset: 0;
    background:
        radial-gradient(600px 400px at 15% 15%, rgba(0, 102, 204, .14), transparent 60%),
        radial-gradient(600px 400px at 85% 85%, rgba(0, 61, 130, .14), transparent 60%);
    pointer-events: none;
}
.login-container { position: relative; width: 100%; max-width: 400px; padding: 20px; }
.login-box {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-lg);
}
.logo { text-align: center; margin-bottom: 32px; }
.logo h1 { font-size: 34px; letter-spacing: -0.03em; }
.logo p { color: var(--color-text-subtle); font-size: 13px; margin-top: 8px; }
.error {
    background: #fdecec;
    color: #c0392b;
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 22px;
    font-size: 13px;
    border-left: 3px solid #c0392b;
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: #333; }
.form-group input {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #dcdfe4;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.form-group input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: var(--shadow-focus);
}
.login-btn {
    width: 100%;
    padding: 12px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.login-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.login-footer { text-align: center; margin-top: 22px; font-size: 12.5px; color: var(--color-text-subtle); }
.login-footer a { color: var(--color-primary-light); text-decoration: none; font-weight: 500; }
.login-footer a:hover { text-decoration: underline; }

/* ==========================================================================
   Perfil
   ========================================================================== */
.success {
    background: #e9f7ea;
    color: var(--color-success-text);
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 22px;
    font-size: 13px;
    border-left: 3px solid var(--color-success-text);
}
.profile-box {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 36px;
    max-width: 720px;
    box-shadow: var(--shadow-xs);
}
.profile-section-title {
    font-size: 12.5px;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 700;
    margin: 28px 0 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
}
.profile-section-title:first-child { margin-top: 0; }
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 8px;
}
.readonly-field {
    padding: 11px 13px;
    background: #f6f7f9;
    border: 1px solid #edeff2;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: #555;
    min-height: 20px;
}
.profile-save-btn { width: auto; padding: 11px 28px; margin-top: 20px; }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 860px) {
    .navbar { padding: 0 18px; }
    .nav-menu { display: none; }
    .container { padding: 0 18px; margin: 32px auto; }
    .hero { padding: 48px 20px; }
    .hero h1 { font-size: 28px; }
    .dropdown-panel { min-width: 320px; }
}
