/* VMA public site — shared dark theme.
   Loaded by Elements/vma_site_head and the home page. */

:root {
    --vma-red: #e63946;
    --vma-red-dark: #c1121f;
    --vma-bg: #000;
    --vma-bg-soft: #0a0a0a;
    --vma-surface: #151515;
    --vma-surface-2: #0d0d0d;
    --vma-border: #1f1f1f;
    --vma-text: #fff;
    --vma-text-muted: #b6b6b6;
    --vma-text-dim: #888;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body.vma-site {
    background-color: var(--vma-bg);
    color: var(--vma-text);
    font-family: 'Raleway', sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.vma-site a { color: var(--vma-text); }
body.vma-site a:hover { color: var(--vma-red); text-decoration: none; }

/* TOPBAR =============================== */
.vma-topbar {
    background-color: var(--vma-bg);
    box-shadow: 0 2px 12px rgba(0,0,0,0.5);
    z-index: 1030;
}
.vma-topbar-row1 {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 10px 20px;
    gap: 12px;
}
.vma-topbar-brand { display: inline-flex; align-items: center; justify-self: start; }
.vma-topbar-logo { height: 44px; width: auto; display: block; }

.vma-topbar-nav-inline {
    display: flex;
    justify-content: center;
    justify-self: center;
}

.vma-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
    gap: 0;
}
.vma-nav-item { position: relative; }
.vma-nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 12px 22px;
    text-decoration: none;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: color 0.15s ease, background-color 0.15s ease;
}
.vma-nav-link:hover,
.vma-nav-link:focus,
.vma-nav-link[aria-expanded="true"] {
    color: var(--vma-red);
    background: rgba(230,57,70,0.06);
    text-decoration: none;
}
.vma-nav-link.dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: middle;
    border-top-color: currentColor;
}

.vma-topbar .dropdown-menu {
    background-color: var(--vma-bg-soft);
    border: 1px solid #222;
    border-radius: 8px;
    margin-top: 0;
    padding: 6px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1040;
    min-width: 220px;
}
.vma-topbar .vma-nav-item.dropdown.vma-open > .dropdown-menu {
    display: block;
}
.vma-topbar .dropdown-item {
    color: #eee;
    padding: 9px 18px;
    font-size: 0.92rem;
}
.vma-topbar .dropdown-item:hover,
.vma-topbar .dropdown-item:focus {
    background-color: #1a1a1a;
    color: var(--vma-red);
}
.vma-topbar .dropdown-header {
    color: #999;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 8px 18px 4px;
}
.vma-topbar .dropdown-divider { border-color: #222; margin: 6px 0; }

.btn-login {
    background: transparent;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 22px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.btn-login:hover { background: rgba(255,255,255,0.1); color: #fff !important; text-decoration: none; }

.btn-experimente {
    background: var(--vma-red);
    color: #fff !important;
    border-radius: 22px;
    padding: 8px 22px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(230,57,70,0.4);
    text-decoration: none;
}
.btn-experimente:hover {
    background: var(--vma-red-dark);
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(230,57,70,0.6);
    text-decoration: none;
}

/* HERO ================================= */
.vma-hero {
    position: relative;
    height: 100vh;
    min-height: 560px;
    width: 100%;
    overflow: hidden;
}
.vma-hero video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
}
.vma-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 45%, rgba(0,0,0,0.75) 100%);
    z-index: 2;
}
.vma-hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 90px 20px 40px;
}
.vma-hero h1 {
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.05;
    margin: 0 0 16px;
    text-shadow: 0 4px 16px rgba(0,0,0,0.6);
}
.vma-hero h1 .accent { color: var(--vma-red); }
.vma-hero p.lead {
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 300;
    margin: 0 auto 32px;
    max-width: 640px;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.vma-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}
.vma-hero-ctas .btn {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 32px;
    border-radius: 30px;
    border: 2px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.vma-hero-ctas .btn-experimente-hero {
    background: var(--vma-red);
    color: #fff;
    box-shadow: 0 4px 16px rgba(230,57,70,0.5);
}
.vma-hero-ctas .btn-experimente-hero:hover {
    background: var(--vma-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230,57,70,0.7);
}
.vma-hero-ctas .btn-login-hero {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.7);
}
.vma-hero-ctas .btn-login-hero:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    transform: translateY(-2px);
}

.vma-scroll-cue {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: vma-bounce 2s infinite;
    text-decoration: none;
}
.vma-scroll-cue:hover { color: #fff; text-decoration: none; }
.vma-scroll-cue i { display: block; font-size: 1.4rem; margin-top: 4px; }
@keyframes vma-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

/* HEADER for inner pages =============== */
.vma-page-header {
    background: linear-gradient(180deg, #0a0a0a 0%, #000 100%);
    padding: 100px 20px 50px;
    text-align: center;
    border-bottom: 3px solid var(--vma-red);
}
.vma-page-header h1 {
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 8px;
}
.vma-page-header h1 .accent { color: var(--vma-red); }
.vma-page-header p {
    color: var(--vma-text-muted);
    font-size: 1.05rem;
    margin: 0;
}

/* SECTIONS ============================= */
.vma-section {
    padding: 70px 0;
}
.vma-section.alt { background: var(--vma-bg-soft); }
.vma-section .section-title {
    text-align: center;
    margin-bottom: 40px;
}
.vma-section .section-title h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 10px;
}
.vma-section .section-title h2 .accent { color: var(--vma-red); }
.vma-section .section-title p {
    color: var(--vma-text-muted);
    max-width: 640px;
    margin: 0 auto;
}

/* SERVICE CARDS (home) ================ */
.vma-services { background: var(--vma-bg-soft); padding: 80px 0 100px; }
.vma-service-card {
    background: linear-gradient(180deg, var(--vma-surface) 0%, var(--vma-surface-2) 100%);
    border: 1px solid var(--vma-border);
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.vma-service-card:hover {
    transform: translateY(-4px);
    border-color: var(--vma-red);
    box-shadow: 0 12px 32px rgba(230,57,70,0.2);
}
.vma-card-icon {
    font-size: 2.5rem;
    color: var(--vma-red);
    background: rgba(230,57,70,0.08);
    padding: 28px 0 16px;
    text-align: center;
}
.vma-card-body {
    padding: 4px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.vma-service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 10px;
    text-align: center;
}
.vma-service-card p {
    color: var(--vma-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 0 18px;
    text-align: center;
    flex: 1;
}
.vma-card-link {
    color: var(--vma-red);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-align: center;
    display: block;
    padding-top: 4px;
}
.vma-card-link:hover { color: #fff; }

/* CONTENT / PROSE ===================== */
.vma-prose {
    color: #ddd;
    line-height: 1.7;
    font-size: 1.05rem;
}
.vma-prose p { margin: 0 0 1em; }
.vma-prose strong { color: #fff; }
.vma-prose ul, .vma-prose ol { padding-left: 1.25em; margin: 0 0 1em; }

/* PILLAR CARDS (sobre nós / criancas / jovens) */
.vma-pillar-card {
    background: var(--vma-surface);
    border: 1px solid var(--vma-border);
    border-radius: 10px;
    padding: 18px 14px;
    text-align: center;
    height: 100%;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.vma-pillar-card:hover {
    border-color: var(--vma-red);
    transform: translateY(-3px);
}
.vma-pillar-card .pillar-title {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: #fff;
}

/* IMAGE / CAROUSEL ==================== */
.vma-figure {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.vma-figure img { width: 100%; display: block; }

/* CTA STRIP =========================== */
.vma-cta-strip {
    background: linear-gradient(135deg, var(--vma-red) 0%, var(--vma-red-dark) 100%);
    padding: 50px 20px;
    text-align: center;
}
.vma-cta-strip h3 {
    color: #fff;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 18px;
}
.vma-cta-strip .btn {
    background: #000;
    color: #fff !important;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid #000;
}
.vma-cta-strip .btn:hover { background: #fff; color: #000 !important; border-color: #fff; }

/* FOOTER ============================== */
.vma-footer {
    background: #000;
    color: var(--vma-text-dim);
    padding: 30px 20px;
    text-align: center;
    font-size: 0.85rem;
    border-top: 1px solid #1a1a1a;
}
.vma-footer a { color: #ccc; margin: 0 8px; text-decoration: none; }
.vma-footer a:hover { color: var(--vma-red); }

/* MEDIA QUERIES ======================= */
@media (min-width: 992px) {
    .vma-topbar .vma-nav-item.dropdown:hover > .dropdown-menu { display: block; }
}

/* On mobile, dropdown menu spans full width below the nav row */
@media (max-width: 767.98px) {
    .vma-topbar-row1 {
        display: flex;
        justify-content: space-between;
        padding: 8px 10px;
        gap: 6px;
    }
    .vma-topbar-nav-inline { justify-self: auto; }
    .vma-topbar-logo { height: 36px; }
    .vma-topbar-nav-inline { position: static; }
    .vma-topbar .vma-nav-item.dropdown { position: static; }
    .vma-topbar .vma-nav-item.dropdown > .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        min-width: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
        margin-top: 0;
        max-height: 60vh;
        overflow-y: auto;
    }
    .vma-topbar .dropdown-item {
        padding: 12px 18px;
        font-size: 0.95rem;
    }
    .vma-topbar-row1 { position: relative; }

    .vma-nav-link {
        padding: 10px 8px;
        font-size: 0.74rem;
        letter-spacing: 0.4px;
    }
    .vma-nav-link.dropdown-toggle::after { margin-left: 3px; }

    .vma-hero { min-height: 480px; }
    .vma-hero-content { padding: 100px 16px 30px; }
    .vma-hero-ctas .btn { padding: 12px 24px; width: 100%; max-width: 280px; }
    .vma-services { padding: 60px 0 70px; }
    .vma-page-header { padding: 100px 16px 36px; }
    .vma-section { padding: 50px 0; }
}

@media (max-width: 380px) {
    .vma-topbar-logo { height: 30px; }
    .vma-nav-link { font-size: 0.66rem; padding: 9px 5px; letter-spacing: 0.2px; }
}
