/* Variáveis de Cores e Estilo */
:root {
    --primary-blue: #0A192F;
    --accent-red: #D32F2F;
    --text-light: #F8F9FA;
    --text-dark: #333333;
    --bg-gray: #F4F6F9;
    --transition: all 0.3s ease;
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background-color: var(--bg-gray);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Navegação */
header {
    background-color: var(--primary-blue);
    padding: 0.75rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 35px;
    width: auto;
    display: block;
}

.logo span {
    color: var(--primary-red);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

/* Menu Toggle (Mobile) */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 3px;
    transition: var(--transition);
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 5px 10px;
    border-radius: 4px;
}

/* Seção de Últimos Voos (Tecnológica e Elegante) */
.recent-flights {
    padding: 5rem 5%;
    background: linear-gradient(135deg, #0A192F 0%, #112240 100%);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.recent-flights::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.1;
    pointer-events: none;
}

.recent-flights .container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.recent-flights h2 {
    font-size: 2.2rem;
    margin-bottom: 3.5rem;
    text-align: center;
    font-weight: 300;
    letter-spacing: 2px;
}

.recent-flights h2 span {
    display: block;
    font-size: 0.8rem;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-top: 10px;
}

.flight-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.flight-row {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--accent-red);
    padding: 1.2rem 2.5rem;
    border-radius: 4px 12px 12px 4px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 2fr 1fr 1fr;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(5px);
}

.flight-row:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.flight-row .pilot {
    display: flex;
    align-items: center;
    gap: 15px;
}

.flight-row .pilot img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    object-fit: cover;
}

.flight-row .pilot span {
    font-weight: 600;
    font-size: 0.95rem;
}

.flight-row .callsign {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--primary-red);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.flight-row .route {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.flight-row .icao {
    font-weight: 800;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 0.9rem;
}

.flight-row .arrow {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.2rem;
    animation: flightMove 3s infinite linear;
}

@keyframes flightMove {
    0% {
        transform: translateX(-5px);
        opacity: 0.3;
    }

    50% {
        transform: translateX(5px);
        opacity: 1;
    }

    100% {
        transform: translateX(-5px);
        opacity: 0.3;
    }
}

.flight-row .aircraft {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
    background: rgba(0, 0, 0, 0.2);
    padding: 3px 10px;
    border-radius: 20px;
}

.network-badge {
    text-align: right;
    font-size: 0.75rem;
    font-weight: 900;
}

.network-badge span {
    padding: 4px 12px;
    border-radius: 4px;
}

.network-badge.ivao span {
    background: #0d47a1;
    color: #fff;
    box-shadow: 0 0 10px rgba(13, 71, 161, 0.4);
}

.network-badge.vatsim span {
    background: #2e7d32;
    color: #fff;
    box-shadow: 0 0 10px rgba(46, 125, 50, 0.4);
}

.no-flights {
    text-align: center;
    padding: 3rem;
    opacity: 0.5;
    font-style: italic;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

@media (max-width: 768px) {
    header {
        padding: 0.75rem 5%;
    }

    .menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 60px;
        /* Altura do header */
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: var(--primary-blue);
        transition: var(--transition);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 999;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    nav a {
        font-size: 1.2rem;
    }

    .flight-row {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        padding: 1.5rem;
    }

    .flight-row .route,
    .flight-row .aircraft {
        grid-column: span 2;
    }
}

nav a:hover {
    color: var(--primary-red);
}

.btn-login {
    background-color: var(--accent-red);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    color: #fff !important;
}

.btn-login:hover {
    background-color: #b71c1c;
}

/* Seção Hero */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(10, 25, 47, 0.75), rgba(10, 25, 47, 0.85)), url('../img/fundo.jpeg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 5%;
    color: var(--text-light);
    margin-top: 60px;
    position: relative;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
    margin-top: -100px; /* Move o texto para cima para não cobrir a logo da aeronave */
}


.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Widget de Voos Hero */
.hero-flights-widget {
    position: absolute;
    top: 60px; /* Ajustado para dar mais espaço do header */
    right: 40px;
    width: 350px;
    background: rgba(10, 25, 47, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: slideInRight 1s ease-out;
    z-index: 100; /* Aumentado para garantir visibilidade */
    text-align: left;
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.6rem;
}

.widget-header h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
}

.live-indicator {
    font-size: 0.65rem;
    font-weight: bold;
    color: var(--primary-red);
    display: flex;
    align-items: center;
    gap: 6px;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--primary-red);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 rgba(239, 68, 68, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(211, 47, 47, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(211, 47, 47, 0);
    }
}

.widget-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.widget-row {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.widget-row:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.widget-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.widget-info {
    flex: 1;
}

.widget-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.widget-callsign {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--primary-red);
    font-size: 0.9rem;
}

.widget-network {
    font-size: 0.65rem;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.widget-network.ivao {
    background: #0d47a1;
    color: white;
}

.widget-network.vatsim {
    background: #2e7d32;
    color: white;
}

.widget-route {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.widget-arrow {
    font-size: 0.7rem;
    opacity: 0.5;
}

.widget-ac {
    margin-left: auto;
    font-size: 0.7rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 8px;
    border-radius: 10px;
    opacity: 0.7;
}

.no-flights-mini {
    text-align: center;
    opacity: 0.5;
    font-size: 0.9rem;
    padding: 1rem;
}

/* Destaque para Voos AO VIVO */
.widget-row.is-live {
    border-left: 3px solid #00d4ff;
    background: rgba(0, 212, 255, 0.08) !important;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.15);
}

.widget-row.is-live .widget-callsign {
    color: #00d4ff;
}

.live-tag {
    display: none;
    font-size: 0.6rem;
    background: #00d4ff;
    color: #0b1a21;
    padding: 1px 5px;
    border-radius: 3px;
    font-weight: 900;
    margin-left: 8px;
    vertical-align: middle;
    letter-spacing: 0.5px;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

.widget-row.is-live .live-tag {
    display: inline-block;
    animation: flash 2s infinite;
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        padding: 8rem 5% 3rem;
        text-align: center;
    }

    .hero-content {
        margin-top: 0;
        margin-bottom: 3rem;
        max-width: 100%;
        text-align: center;
    }


    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-flights-widget {
        position: static;
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
        animation: slideInUp 1s ease-out;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.btn-primary {
    padding: 1rem 2.5rem;
    background-color: var(--accent-red);
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 5px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
}

/* Seção do Mapa ao Vivo */
.live-map-section {
    padding: 6rem 5% 4rem;
    background: linear-gradient(180deg, #0A192F 0%, #143B4C 100%);
    text-align: center;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.live-map-section .section-header {
    margin-bottom: 3.5rem;
    color: var(--text-light);
}

.live-map-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.live-map-section p {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.live-indicator-map {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(211, 47, 47, 0.1);
    padding: 6px 15px;
    border-radius: 20px;
    color: var(--accent-red);
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(211, 47, 47, 0.2);
    letter-spacing: 2px;
}

.map-container-hero {
    width: 100%;
    height: 700px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #143B4C;
}

.map-container-hero iframe {
    width: 100%;
    height: 100%;
    display: block;
}

@media (max-width: 768px) {
    .live-map-section {
        padding: 4rem 5%;
    }
    .map-container-hero {
        height: 500px;
    }
    .live-map-section h2 {
        font-size: 1.8rem;
    }
}

/* Seção de Recursos (Features) */
.features {
    padding: 5rem 5%;
    background-color: #fff;
    text-align: center;
}

.features h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 3rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-gray);
    padding: 2.5rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* Rodapé */
footer {
    background-color: var(--primary-blue);
    color: var(--text-light);
    text-align: center;
    padding: 3rem 5% 2rem;
}

.footer-networks {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-networks span {
    font-weight: 600;
    color: var(--text-light);
    font-size: 1.1rem;
}

.footer-networks a {
    display: inline-block;
}

.footer-networks img {
    max-height: 40px;
    width: auto;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: var(--transition);
    cursor: pointer;
}

.footer-networks img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.footer-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Modal Cadastro */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h2 {
    font-size: 1.8rem;
    color: var(--primary-blue);
}

.close-btn {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close-btn:hover {
    color: var(--accent-red);
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    background-color: #fff;
}

.form-group select:focus {
    outline: none;
    border-color: var(--accent-red);
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.captcha-image {
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    transition: var(--transition);
}

.user-profile:hover {
    background: rgba(255, 255, 255, 0.1);
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-red);
}

.user-name {
    font-weight: 500;
    font-size: 1rem;
}

.logout-link {
    color: #aaa;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
    padding: 5px 10px;
}

.logout-link:hover {
    color: var(--accent-red);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* Dropdown da Frota no Header */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 350px; /* Aumentado para suportar imagens maiores */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    z-index: 2000;
    top: 100%; /* Removido o gap de 15px que causava o fechamento precoce */
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 0; /* Padding interno para manter a estética */
    animation: fadeInSlide 0.3s ease-out;
}

/* Pseudo-elemento para criar uma ponte invisível e evitar fechamento ao mover o mouse */
.dropdown-content::after {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(10, 25, 47, 0.95);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-item {
    color: white;
    padding: 18px 20px; /* Espaçamento extra para que o zoom não atrapalhe outros itens */
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 8px;
    position: relative;
    overflow: visible; /* Garante que o zoom extrapole os limites sem problemas */
}

.dropdown-item:hover {
    background: rgba(211, 47, 47, 0.1);
    color: var(--accent-red);
}

.dropdown-item img {
    width: 60px; /* Reduzi o tamanho inicial proporcionalmente */
    height: 38px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.dropdown-item:hover img {
    transform: scale(2.2); /* Zoom DOBRADO ao passar o mouse */
    border-color: var(--accent-red);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 100; /* Garante que a imagem ampliada fique sobre as outras */
}

.dropdown-item span {
    font-weight: 600;
}

/* Responsividade Mobile para Dropdown */
@media (max-width: 768px) {
    .dropdown-content {
        position: static;
        transform: none;
        background: rgba(255, 255, 255, 0.05);
        box-shadow: none;
        min-width: 100%;
        display: none; /* Agora começa oculto e expande */
        border: none;
        padding: 0;
        animation: none;
    }
    .dropdown-content.active {
        display: block;
    }
    .dropdown-content::before {
        display: none;
    }
    .dropdown-item {
        margin: 5px 0;
        padding-left: 30px;
    }
}


/* Seção de Frota (Glassmorphism & Modern Design) */
.fleet-section {
    padding: 6rem 5%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.fleet-section h2 {
    font-size: 2.8rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.fleet-subtitle {
    color: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4rem;
    display: block;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.fleet-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.fleet-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.fleet-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.fleet-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.fleet-info h3 {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 700;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 25px;
    background: linear-gradient(45deg, var(--accent-red), #ff5252);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.btn-download:hover {
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.5);
    transform: scale(1.02);
    filter: brightness(1.1);
}

@media (max-width: 768px) {
    .fleet-grid {
        grid-template-columns: 1fr;
    }
    .fleet-section h2 {
        font-size: 2.2rem;
    }
}

/* Seção de Pilotos (Crachás) */
.pilotos-section {
    padding: 6rem 5%;
    background: #f8fafc;
    text-align: center;
}

.pilotos-section h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.pilotos-section .subtitle {
    color: #64748b;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.pilotos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 40px;
    justify-content: center;
}

.pilot-badge {
    background: #fff;
    width: 240px;
    min-height: 400px;
    height: auto;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
    border: 1px solid #edf2f7;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.pilot-badge:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    border-color: var(--accent-red);
}

.badge-header {
    background: var(--primary-blue);
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    position: relative;
}

.badge-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--accent-red);
}

.badge-header img {
    height: 30px;
    filter: brightness(0) invert(1);
}

.badge-photo-container {
    padding: 25px 0 15px;
    position: relative;
    background: linear-gradient(180deg, #f1f5f9 0%, #fff 100%);
}

.badge-photo {
    width: 130px;
    height: 130px;
    margin: 0 auto;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    background: #e2e8f0;
}

.badge-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-info {
    padding: 10px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pilot-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 4px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pilot-callsign {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent-red);
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
}

.pilot-rank {
    font-size: 0.75rem;
    color: #718096;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.pilot-hours {
    font-size: 0.9rem;
    font-weight: 700;
    color: #4a5568;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.badge-footer {
    padding: 15px 20px;
    background: #f8fafc;
    border-top: 1px solid #edf2f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.network-icons {
    display: flex;
    gap: 10px;
}

.net-icon {
    font-size: 0.9rem;
    color: #94a3b8;
}

.net-icon.active {
    color: var(--primary-blue);
}

.id-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: #4a5568;
    background: #e2e8f0;
    padding: 2px 8px;
    border-radius: 10px;
}