@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg-main: #1e3a8a;
    --bg-secondary: #2563eb;
    --bg-card: rgba(59, 130, 246, 0.15);
    --bg--strong: rgba(37, 99, 235, 0.25);

    --primary-color: #3b82f6;
    --primary-soft: #60a5fa;
    --primary-glow: #93c5fd;
    --cyan-soft: #7dd3fc;

    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;

    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;

    --border-color: rgba(148, 163, 184, 0.25);
    --border-strong: rgba(147, 197, 253, 0.4);

    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-strong: 0 20px 50px rgba(0, 0, 0, 0.3);
    --glow-blue: 0 0 0 1px rgba(147, 197, 253, 0.2), 0 0 30px rgba(59, 130, 246, 0.15);

    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
}

/* =========================
   ANIMATIONS
========================= */

@keyframes pageFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatGlow {
    0%, 100% {
        transform: translateY(0);
        box-shadow: var(--shadow-strong), var(--glow-blue);
    }
    50% {
        transform: translateY(-2px);
        box-shadow: 0 22px 52px rgba(0, 0, 0, 0.48), 0 0 36px rgba(37, 99, 235, 0.22);
    }
}

@keyframes borderPulse {
    0%, 100% {
        border-color: rgba(56, 189, 248, 0.12);
    }
    50% {
        border-color: rgba(56, 189, 248, 0.24);
    }
}

@keyframes shineSweep {
    from {
        transform: translateX(-120%) skewX(-20deg);
    }
    to {
        transform: translateX(220%) skewX(-20deg);
    }
}

@keyframes pulseDot {
    0% {
        box-shadow: 0 0 0 0 currentColor;
        opacity: 1;
    }
    70% {
        box-shadow: 0 0 0 10px transparent;
        opacity: 0.85;
    }
    100% {
        box-shadow: 0 0 0 0 transparent;
        opacity: 1;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes softZoom {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    min-height: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background: #08245d;
}

body {
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 28%),
        radial-gradient(circle at top right, rgba(34, 211, 238, 0.14), transparent 24%),
        radial-gradient(circle at bottom center, rgba(37, 99, 235, 0.10), transparent 30%),
        linear-gradient(180deg, #040814 0%, #071120 45%, #08111d 100%);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    animation: pageFade 0.7s ease;
}

/* Páginas simples com .container centralizado */
body:has(> .container),
body:has(> h1 + .container),
body:has(> h1 + p + .container) {
    padding: 40px 20px;
    align-items: center;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(148,163,184,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148,163,184,0.04) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

h1, h2, h3, h4 {
    color: #f8fafc;
    font-weight: 800;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2rem, 3vw, 2.7rem);
    text-align: center;
    margin-bottom: 0.75rem;
    animation: fadeUp 0.7s ease;
}

h2 {
    font-size: 1.7rem;
    margin-bottom: 0.75rem;
}

h3 {
    font-size: 1.1rem;
    color: var(--primary-glow);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

p {
    color: var(--text-secondary);
}

.container {
    width: 100%;
    max-width: 560px;
    background: var(--bg-card);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-strong), var(--glow-blue);
    padding: 34px;
    position: relative;
    overflow: hidden;
    animation: softZoom 0.75s ease, borderPulse 6s ease-in-out infinite;
}

.container::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(56, 189, 248, 0.08), transparent 30%),
        linear-gradient(315deg, rgba(37, 99, 235, 0.10), transparent 35%);
    pointer-events: none;
}

.container::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.06),
        transparent
    );
    transform: skewX(-20deg);
    animation: shineSweep 7s ease-in-out infinite;
    pointer-events: none;
}

.container-wide {
    max-width: 1280px;
    width: 96%;
    padding: 34px;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    margin-bottom: 0.6rem;
    background: linear-gradient(90deg, #ffffff 0%, #c4d7ff 45%, #67e8f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeUp 0.8s ease;
}

.hero-subtitle {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 2rem;
    color: var(--text-secondary);
    font-size: 1rem;
    animation: fadeUp 0.95s ease;
}

.panel-grid {
    display: grid;
    gap: 18px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

label {
    font-weight: 600;
    color: #cbd5e1;
    font-size: 0.94rem;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.86);
    color: #f8fafc;
    outline: none;
    transition: 0.25s ease;
    font-size: 0.98rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

input[type="text"]::placeholder,
input[type="password"]::placeholder {
    color: #64748b;
    transition: 0.25s ease;
}

input[type="text"]:focus::placeholder,
input[type="password"]:focus::placeholder {
    opacity: 0.55;
    transform: translateX(4px);
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: rgba(56, 189, 248, 0.7);
    box-shadow:
        0 0 0 4px rgba(37, 99, 235, 0.16),
        0 0 22px rgba(56, 189, 248, 0.08);
    background: rgba(10, 18, 33, 0.95);
    transform: translateY(-1px);
}

.checkbox-group {
    display: grid;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-md);
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.10);
    cursor: pointer;
    transition: 0.25s ease;
    color: var(--text-primary);
    animation: fadeUp 0.6s ease;
}

.checkbox-label:hover {
    transform: translateY(-1px);
    border-color: rgba(56, 189, 248, 0.25);
    box-shadow: 0 10px 18px rgba(0,0,0,0.18);
}

input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

button {
    width: 100%;
    padding: 0.95rem 1.3rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    color: white;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 55%, #38bdf8 100%);
    box-shadow:
        0 8px 20px rgba(29, 78, 216, 0.15),
        0 0 0 1px rgba(255,255,255,0.03) inset;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

button:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow:
        0 12px 25px rgba(29, 78, 216, 0.25),
        0 0 15px rgba(56, 189, 248, 0.10);
}

button:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(15, 23, 42, 0.82);
    color: #dbeafe;
    border: 1px solid rgba(56, 189, 248, 0.22);
    box-shadow: none;
}

.btn-secondary:hover {
    background: rgba(20, 31, 55, 0.96);
    box-shadow: 0 10px 20px rgba(0,0,0,0.18);
}

.nav-menu {
    display: grid;
    gap: 1rem;
}

.nav-menu > * {
    animation: fadeUp 0.6s ease;
}

.feature-card {
    padding: 18px;
    border-radius: var(--radius-lg);
    background: rgba(10, 18, 33, 0.62);
    border: 1px solid rgba(148, 163, 184, 0.08);
    box-shadow: var(--shadow-soft);
    transition: 0.25s ease;
    animation: fadeUp 0.7s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(56, 189, 248, 0.20);
    box-shadow:
        0 16px 28px rgba(0,0,0,0.20),
        0 0 24px rgba(37, 99, 235, 0.08);
}

.feature-card h4 {
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

.feature-card p {
    font-size: 0.93rem;
    color: var(--text-secondary);
}

.header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    animation: fadeUp 0.8s ease;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.84rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    transition: 0.25s ease;
}

.status-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 10px currentColor;
    animation: pulseDot 1.8s ease-in-out infinite;
}

.status-badge.available {
    background: rgba(16, 185, 129, 0.14);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.26);
}

.status-badge.unavailable {
    background: rgba(239, 68, 68, 0.14);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.24);
}

.status-badge.busy {
    background: rgba(59, 130, 246, 0.16);
    color: #60a5fa;
    border-color: rgba(56, 189, 248, 0.24);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    width: 100%;
    margin-top: 1.5rem;
}

.dashboard-grid > * {
    animation: fadeUp 0.8s ease;
}

@media (min-width: 900px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.video-container {
    position: relative;
    background:
        radial-gradient(circle at top, rgba(37,99,235,0.16), transparent 40%),
        linear-gradient(180deg, #07101d 0%, #091423 100%);
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16/9;
    border: 1px solid rgba(56, 189, 248, 0.18);
    box-shadow:
        0 20px 50px rgba(0,0,0,0.35),
        0 0 0 1px rgba(56, 189, 248, 0.05),
        0 0 30px rgba(37, 99, 235, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.video-container:hover {
    transform: translateY(-2px);
    box-shadow:
        0 24px 54px rgba(0,0,0,0.38),
        0 0 0 1px rgba(56, 189, 248, 0.08),
        0 0 36px rgba(37, 99, 235, 0.14);
}

.video-container::before {
    content: "LIVE";
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: white;
    background: rgba(239, 68, 68, 0.88);
    padding: 6px 10px;
    border-radius: 999px;
    box-shadow: 0 0 18px rgba(239,68,68,0.28);
}

.video-container::after {
    content: "Sem sinal";
    position: absolute;
    color: rgba(148, 163, 184, 0.6);
    font-size: 1rem;
    font-weight: 600;
    z-index: 1;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    background: transparent;
}

.call-card {
    background: rgba(9, 18, 34, 0.86);
    border: 1px solid rgba(56, 189, 248, 0.14);
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 14px;
    box-shadow: var(--shadow-soft);
    transition: 0.2s ease;
    animation: fadeUp 0.6s ease;
}

.call-card:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.28);
    box-shadow:
        0 18px 30px rgba(0,0,0,0.22),
        0 0 26px rgba(37, 99, 235, 0.08);
}

.call-card p:first-child {
    color: #f8fafc;
    margin-bottom: 4px;
}

.call-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.call-actions button {
    flex: 1;
    min-width: 140px;
}

.error-message {
    color: #f87171;
    text-align: center;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeUp 0.4s ease;
}

.success-message {
    color: #34d399;
    text-align: center;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeUp 0.4s ease;
}

.muted-text {
    color: var(--text-secondary);
}

#toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    min-width: 280px;
    max-width: 380px;
    padding: 16px 18px;
    border-radius: 16px;
    color: white;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: var(--shadow-strong);
    opacity: 0;
    transform: translateY(-12px) scale(0.98);
    transition: all 0.28s ease;
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(16px);
}

.toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.toast-info {
    background: linear-gradient(135deg, rgba(37,99,235,0.95), rgba(56,189,248,0.85));
}

.toast-success {
    background: linear-gradient(135deg, rgba(5,150,105,0.96), rgba(16,185,129,0.86));
}

.toast-error {
    background: linear-gradient(135deg, rgba(220,38,38,0.96), rgba(239,68,68,0.86));
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56,189,248,0.24), transparent);
    margin: 20px 0;
    animation: fadeUp 0.8s ease;
}

@media (max-width: 640px) {
    body:has(> .container),
    body:has(> h1 + .container),
    body:has(> h1 + p + .container) {
        padding: 24px 14px;
    }

    .container,
    .container-wide {
        padding: 22px;
    }

    h1 {
        font-size: 1.7rem;
    }

    .header-actions {
        align-items: stretch;
    }

    .call-actions {
        flex-direction: column;
    }

    #toast-container {
        right: 14px;
        left: 14px;
        top: 14px;
    }

    .toast {
        min-width: unset;
        max-width: unset;
        width: 100%;
    }
}

/* =========================
   REDUCED MOTION
========================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* =========================
   LANDING PAGE MODERNA
========================= */

body.landing-page {
    padding: 0;
    margin: 0;
    background: #08245d;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.landing-page::before {
    display: none;
}

body.landing-page main {
    flex: 1 0 auto;
}

body.landing-page .footer {
    flex-shrink: 0;
}

.landing-page {
    padding: 0;
    min-width: 0;
    overflow-x: hidden;
    align-items: stretch;
    background:
        radial-gradient(circle at top left, rgba(96, 165, 250, 0.55), transparent 32%),
        radial-gradient(circle at top right, rgba(125, 211, 252, 0.38), transparent 30%),
        linear-gradient(180deg, #0b3fae 0%, #155ee8 45%, #08245d 100%);
    color: #0f172a;
    width: 100%;
}

.landing-page::before {
    opacity: 0.18;
    background-image:
        radial-gradient(circle, rgba(255,255,255,0.5) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* NAVBAR */

.navbar {
    width: 100%;
    padding: 0 2rem;
    background: rgba(4, 20, 59, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.nav-container {
    width: 100%;
    max-width: 1280px;
    height: 86px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 76px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2.4rem;
    align-items: center;
}

.nav-link {
    color: rgba(248, 250, 252, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    transition: 0.2s ease;
}

.nav-link:hover {
    color: #7dd3fc;
}

.nav-button,
.mobile-nav-button {
    text-decoration: none;
    color: #fff;
    font-weight: 800;
    padding: 0.9rem 1.7rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.32);
    transition: 0.25s ease;
}

.nav-button:hover,
.mobile-nav-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

/* HERO */

.hero-section {
    position: relative;
    padding: 110px 40px 0 20px;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(96, 165, 250, 0.55), transparent 32%),
        radial-gradient(circle at top right, rgba(125, 211, 252, 0.38), transparent 30%),
        linear-gradient(180deg, #0b3fae 0%, #155ee8 60%, #eff6ff 100%);
}

.main-layout {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 200px 1fr 420px;
    align-items: stretch;
    gap: 2rem;
    padding-bottom: 40px;
}

.main-slogan {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-slogan {
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.main-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: flex-end;
}

.hero-logo {
    height: 100px;
    width: auto;
    object-fit: contain;
    align-self: flex-start;
}

.main-right {
    display: flex;
    align-items: flex-start;
}

.main-right .video-card {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 26px;
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow:
        0 28px 70px rgba(3, 7, 18, 0.38),
        0 0 0 8px rgba(255,255,255,0.06);
    background: rgba(15, 23, 42, 0.3);
    overflow: hidden;
    position: relative;
}

.main-right .video-card iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-section::after {
    display: none;
}

.hero-bg-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(20px);
    opacity: 0.65;
    pointer-events: none;
}

.hero-bg-glow-one {
    width: 420px;
    height: 420px;
    left: -120px;
    top: 90px;
    background: rgba(96, 165, 250, 0.7);
}

.hero-bg-glow-two {
    width: 360px;
    height: 360px;
    right: -80px;
    top: 130px;
    background: rgba(125, 211, 252, 0.45);
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    color: #eff6ff;
    font-size: 0.85rem;
    font-weight: 800;
    background: rgba(59, 130, 246, 0.32);
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
    margin-bottom: 1.7rem;
}

.hero-title {
    text-align: left;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: 1.1;
    margin-bottom: 0;
    color: #ffffff;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #ffffff;
    animation: fadeUp 0.8s ease;
}

.hero-title span {
    color: #38bdf8;
    -webkit-text-fill-color: #38bdf8;
}

.hero-subtitle {
    text-align: left;
    max-width: 620px;
    margin: 0;
    color: rgba(248, 250, 252, 0.95);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-direction: row;
    gap: 5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: auto;
    margin-bottom: 2rem;
}

.hero-card-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    width: 220px;
    height: 220px;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    transition: 0.25s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.hero-card-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.hero-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.2);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.hero-card-icon i {
    width: 26px;
    height: 26px;
    stroke-width: 2.2;
}

.primary-button,
.secondary-button {
    text-decoration: none;
    font-weight: 800;
    border-radius: 999px;
    padding: 1rem 1.5rem;
    transition: 0.25s ease;
}

.primary-button {
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: white;
    box-shadow: 0 18px 35px rgba(37, 99, 235, 0.32);
}

.secondary-button {
    color: white;
    border: 1px solid rgba(255,255,255,0.32);
    background: rgba(255,255,255,0.12);
}

.primary-button:hover,
.secondary-button:hover {
    transform: translateY(-3px);
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.05rem;
    padding: 1.1rem 2rem;
    letter-spacing: 0.01em;
}

.hero-cta-btn i {
    width: 20px;
    height: 20px;
    stroke-width: 2.2;
}

/* VIDEO */

.hero-video-wrapper {
    width: 100%;
    max-width: 260px;
    margin-left: auto;
}

.video-card {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow:
        0 28px 70px rgba(3, 7, 18, 0.38),
        0 0 0 8px rgba(255,255,255,0.06);
    background: rgba(15, 23, 42, 0.3);
}

.video-card iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* FEATURES */

.features-section {
    position: relative;
    z-index: 3;
    padding: 0;
    background: transparent;
}

.features-container {
    display: flex;
    gap: 12px;
}

.landing-feature-card {
    flex: 1;
    min-width: 0;
    display: flex;
    gap: 14px;
    align-items: center;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: 0 16px 35px rgba(0,0,0,0.13);
    transition: 0.25s ease;
    overflow: hidden;
}

.landing-feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 26px 55px rgba(37, 99, 235, 0.16);
}

.feature-icon {
    min-width: 44px;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #dbeeff;
    color: #1766e8;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.landing-feature-card h3 {
    margin: 0 0 4px;
    font-size: 14px;
    color: #075ddd;
    font-weight: 800;
    text-transform: none;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.landing-feature-card p {
    color: #44566f;
    font-size: 12px;
    line-height: 1.4;
}

/* FOOTER */

.footer {
    padding: 25px 20px;
    text-align: center;
    color: rgba(248, 250, 252, 0.82);
    font-size: 0.95rem;
    background: linear-gradient(135deg, #0b3a94, #08245d);
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-title {
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

/* MOBILE MENU */

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 14px;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 23px;
    height: 3px;
    margin: 3px auto;
    background: #fff;
    border-radius: 999px;
    transition: 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 85vw);
    height: 100vh;
    background: rgba(8, 36, 93, 0.98);
    box-shadow: -20px 0 60px rgba(0,0,0,0.22);
    padding: 90px 24px 24px;
    z-index: 1200;
    gap: 1.5rem;
}

.mobile-menu.open {
    display: flex;
}

.mobile-close-main {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,0.12) !important;
    border: 1px solid rgba(255,255,255,0.22) !important;
    color: #fff !important;
    font-size: 1.2rem;
    font-weight: 800;
}

/* RESPONSIVO */

@media (max-width: 1000px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-title {
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-video-wrapper {
        max-width: 340px;
        margin: 0 auto;
    }

    .features-container {
        flex-direction: column;
    }
}

@media (max-width: 900px) {
    .nav-links,
    .nav-button {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
}

@media (max-width: 640px) {
    .navbar {
        padding: 0 1rem;
    }

    .nav-container {
        height: 78px;
    }

    .nav-logo img {
        height: 64px;
    }

    .hero-section {
        padding: 115px 16px 45px;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .features-section {
        padding: 25px 16px 55px;
    }

    .landing-feature-card {
        flex-direction: column;
        padding: 1.6rem;
    }
    
    .feature-icon i {
    width: 28px;
    height: 28px;
    stroke-width: 2.2;
}
}


/* =========================
   SITE NAVBAR / FOOTER
   (páginas internas: area-cliente, login-interprete, etc.)
========================= */

.site-navbar {
    width: 100%;
    background: rgba(4, 20, 59, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,0.10);
    padding: 0 2rem;
    flex-shrink: 0;
}

.site-nav-inner {
    width: 100%;
    max-width: 1600px;
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.site-navbar img {
    height: 56px;
    width: auto;
    object-fit: contain;
}

.site-footer {
    width: 100%;
    background: linear-gradient(135deg, #0b3a94, #08245d);
    border-top: 1px solid rgba(255,255,255,0.10);
    padding: 20px 24px;
    text-align: center;
    color: rgba(248, 250, 252, 0.82);
    font-size: 0.92rem;
    flex-shrink: 0;
}

/* Corrige o body para páginas internas que usam .page-wrapper */
body:has(.page-wrapper) {
    padding: 0;
    align-items: stretch;
    background:
        radial-gradient(circle at 15% 25%, rgba(75,169,255,0.45), transparent 35%),
        radial-gradient(circle at 80% 40%, rgba(78,174,255,0.35), transparent 35%),
        linear-gradient(135deg, #063fba 0%, #0b5be7 42%, #d9eaff 100%);
}

body:has(.page-wrapper)::before {
    display: none;
}

/* Corrige o body para páginas internas com site-navbar (login-admin, mensagem, etc.) */
body:has(.site-navbar) {
    padding: 0;
    align-items: stretch;
}

body:has(.site-navbar)::before {
    display: none;
}

/* site-main: área de conteúdo centralizado nas páginas internas simples */
.site-main {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}
