/* ========================================================
   Esquadrão em Foco — Tema Moderno
   Paleta: #2085B2 (azul) · #D82B2F (vermelho) · #FFFFFF
   ======================================================== */

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

:root {
    --azul: #2085B2;
    --azul-light: #3FA3CF;
    --azul-dark: #155F80;
    --vermelho: #D82B2F;
    --vermelho-light: #E85458;
    --vermelho-dark: #A31E22;

    --ink: #07101A;
    --ink-2: #0F1B26;
    --paper: #F6F9FC;
    --line: rgba(15, 27, 38, 0.08);
    --muted: #5C6B78;
    --muted-2: #8896A2;
    --white: #FFFFFF;

    --grad-rgb: linear-gradient(135deg, #2085B2 0%, #6B5DC9 50%, #D82B2F 100%);

    --shadow-md: 0 16px 40px rgba(7, 16, 26, 0.12);
    --shadow-lg: 0 32px 80px rgba(7, 16, 26, 0.20);
    --shadow-vermelho: 0 20px 60px rgba(216, 43, 47, 0.35);

    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-pill: 999px;

    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    --ease: cubic-bezier(.22, .61, .36, 1);
    --container: 1200px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--vermelho); color: var(--white); }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 0;
    transition: background 0.3s var(--ease), backdrop-filter 0.3s var(--ease), box-shadow 0.3s var(--ease), padding 0.3s var(--ease);
}

.header.scrolled {
    background: rgba(7, 16, 26, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
    padding: 0.6rem 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--white);
}

.brand-shield {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.brand-shield img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    color: var(--white);
}

.brand-text em {
    font-style: normal;
    font-weight: 500;
    color: var(--vermelho-light);
    margin-left: 0.3rem;
}

.mainnav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mainnav ul {
    display: flex;
    gap: 0.5rem;
}

.mainnav a {
    display: inline-block;
    padding: 0.5rem 0.9rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-pill);
    transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.mainnav a:hover,
.mainnav a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--vermelho);
    color: var(--white);
    padding: 0.65rem 1.2rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-pill);
    transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.nav-cta:hover {
    background: var(--vermelho-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-vermelho);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 1rem 1.85rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.98rem;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
    white-space: nowrap;
}

.btn i { font-size: 1.05em; }

.btn-primary {
    background: var(--vermelho);
    color: var(--white);
    box-shadow: var(--shadow-vermelho);
}

.btn-primary:hover {
    background: var(--vermelho-dark);
    transform: translateY(-2px);
    box-shadow: 0 28px 70px rgba(216, 43, 47, 0.5);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* ===== Common ===== */
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.95rem;
    border-radius: var(--radius-pill);
    background: rgba(32, 133, 178, 0.1);
    color: var(--azul);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.kicker i { font-size: 0.9em; }

.block-head {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.block-head h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 0.7rem;
}

.block-head p {
    color: var(--muted);
    font-size: 1.05rem;
}

.block-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.grad {
    background: var(--grad-rgb);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 0 6rem;
    background: var(--ink);
    color: var(--white);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(800px 400px at 50% 100%, rgba(32, 133, 178, 0.18), transparent 60%),
        linear-gradient(180deg, rgba(7, 16, 26, 0) 60%, rgba(7, 16, 26, 1) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.55;
    animation: float 14s ease-in-out infinite;
}

.orb-1 {
    width: 520px;
    height: 520px;
    background: var(--azul);
    top: -160px;
    left: -120px;
}

.orb-2 {
    width: 460px;
    height: 460px;
    background: var(--vermelho);
    top: 30%;
    right: -140px;
    animation-delay: -5s;
}

.orb-3 {
    width: 380px;
    height: 380px;
    background: var(--azul-light);
    bottom: -150px;
    left: 30%;
    animation-delay: -9s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.05); }
    66% { transform: translate(-20px, 30px) scale(0.95); }
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    width: clamp(160px, 22vw, 240px);
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 22px 50px rgba(216, 43, 47, 0.4));
    animation: hero-logo-float 6s ease-in-out infinite;
}

@keyframes hero-logo-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.6rem, 6.5vw, 5.4rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-sub {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 620px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ===== Vídeos ===== */
.videos {
    padding: 7rem 0;
    background: var(--ink);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.videos::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(216, 43, 47, 0.18) 0%, transparent 70%);
    top: -200px;
    right: -150px;
    border-radius: 50%;
    pointer-events: none;
}

.videos .container { position: relative; z-index: 1; }

.videos .block-head h2 { color: var(--white); }

.videos .block-head p { color: rgba(255, 255, 255, 0.6); }

.videos .kicker {
    background: rgba(216, 43, 47, 0.15);
    color: var(--vermelho-light);
}

.video-frame {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--ink-2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
}

.video-glow {
    position: absolute;
    inset: -2px;
    background: var(--grad-rgb);
    border-radius: var(--radius-lg);
    z-index: -1;
    filter: blur(24px);
    opacity: 0.5;
    pointer-events: none;
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== Instagram ===== */
.instagram {
    padding: 7rem 0;
    background: var(--paper);
    position: relative;
}

.instagram .kicker {
    background: rgba(216, 43, 47, 0.1);
    color: var(--vermelho);
}

.instagram-frame {
    max-width: 1080px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

/* ===== Sobre ===== */
.sobre {
    padding: 7rem 0;
    background: var(--white);
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sobre-text h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.9rem, 3.4vw, 2.8rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 1.3rem;
}

.sobre-text p {
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}

.stat strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat span {
    display: block;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted-2);
    margin-top: 0.4rem;
    font-weight: 500;
}

.sobre-card {
    background: var(--ink);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.sobre-card::before,
.sobre-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.sobre-card::before {
    width: 280px;
    height: 280px;
    background: var(--azul);
    top: -100px;
    right: -80px;
    opacity: 0.5;
}

.sobre-card::after {
    width: 220px;
    height: 220px;
    background: var(--vermelho);
    bottom: -80px;
    left: -60px;
    opacity: 0.45;
}

.sobre-card-inner {
    position: relative;
    z-index: 1;
}

.sobre-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--grad-rgb);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 12px 30px rgba(32, 133, 178, 0.4);
}

.sobre-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.sobre-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.sobre-card-links {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.sobre-card-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1.1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-pill);
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--white);
    transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.sobre-card-links a:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(4px);
}

.sobre-card-links a i { font-size: 1.1em; }

/* ===== Footer ===== */
.footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.55);
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-social a:hover {
    background: var(--vermelho);
    color: var(--white);
    border-color: var(--vermelho);
    transform: translateY(-2px);
}

.footer-copy {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-copy-sep { margin: 0 0.4rem; }

.footer-copy a {
    color: var(--azul-light);
}

.footer-copy a:hover { color: var(--white); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    section { padding: 5rem 0; }

    .nav-toggle { display: flex; }

    .mainnav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: rgba(7, 16, 26, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 1.5rem;
        gap: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .mainnav.active { display: flex; }

    .mainnav ul {
        flex-direction: column;
        gap: 0.4rem;
    }

    .mainnav a {
        display: block;
        text-align: center;
        padding: 0.85rem;
    }

    .nav-cta { justify-content: center; }

    .hero { padding: 7rem 0 5rem; }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
    }

    .hero-actions .btn { width: 100%; }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-copy-part { display: block; }

    .footer-copy-sep { display: none; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.15rem; }

    .hero-title { font-size: 2.4rem; }

    .stat strong { font-size: 1.4rem; }

    .sobre-card { padding: 2rem 1.5rem; }

    .instagram-frame { padding: 1rem; }
}