/* Base Variables */
:root {
    --gold: #d4af37;
    --navy: #0d1b2a;
    --muted: #6b6b6b;
    --maxw: 1320px;
    --white: #ffffff;
    --black: #0b0b0b;
    --light-bg: #f7f9fb;
    --highlight-bg: rgba(212, 175, 55, 0.08);
    /* Gold highlight */
}

/* Font Awesome Icons (Internalized for Performance) */
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-solid-900.woff2) format('woff2');
}

.fas {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

/* Icon for marketing */
.fa-phone-alt:before {
    content: "\f879";
}

/* Icon for Phone in Footer */
.fa-envelope:before {
    content: "\f0e0";
}

/* Icon for Email in Footer */

/* WhatsApp Icon (using a basic solid fill for simplicity in single-file format) */
.fa-whatsapp:before {
    content: "\f232";
    font-family: 'Font Awesome 6 Brands';
}

@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-brands-400.woff2) format('woff2');
}

.fab {
    font-family: 'Font Awesome 6 Brands';
    font-weight: 400;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}


/* Base Reset & Typography */
*,
*::before,
*::after {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: 'Open Sans', Arial, sans-serif;
    background: var(--white);
    color: var(--black);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
    color: var(--navy);
}

/* Utility Classes & Components */
.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 28px
}

.btn {
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s, opacity 0.2s;
    text-align: center;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px)
}

.btn-primary {
    background: var(--gold);
    color: #081226;
    border: none;
}

.btn-primary:hover {
    background: #c3a133
}


/* --- HEADER --- */

header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: 80px; /* Altura fixa confortável */
    background: rgba(255, 255, 255, 0.98); /* Quase branco sólido */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%; /* Espaçamento lateral */
    border-bottom: 1px solid #eee;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

/* Logo Ajustes */
.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo {
    height: 90px;
    width: auto; 
    display: block;
}

/* Ajuste fino para Mobile (caso precise diminuir em telas pequenas) */
@media (max-width: 560px) {
    .header-logo {
        height: 45px;
    }
}

/* Navegação Desktop */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px; /* Espaço entre os links */
}

.desktop-nav a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}

.desktop-nav a:hover {
    color: var(--gold);
}

/* Botão de Contato destacado no Menu */
.btn-header {
    padding: 8px 18px;
    border: 1px solid var(--navy);
    border-radius: 4px;
}
.btn-header:hover {
    background: var(--navy);
    color: #fff !important;
}

/* Seletor de Idioma (EN / ES) */
.lang-switch {
    border-left: 1px solid #ddd;
    padding-left: 20px;
    margin-left: 10px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    gap: 5px;
}
.lang-switch .active {
    color: var(--gold);
    cursor: default;
}
.lang-switch .divider {
    color: #ccc;
}
.lang-switch a {
    color: #ccc;
}
.lang-switch a:hover {
    color: var(--navy);
}

/* Ajuste Mobile (Esconde o menu desktop em telas pequenas) */
@media (max-width: 980px) {
    .desktop-nav {
        display: none;
    }
    .hamburger {
        display: flex; /* Garante que o ícone apareça */
    }
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 21px;
    justify-content: space-around;
    flex-direction: column;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--navy);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: 88px;
    left: 0;
    width: 100%;
    height: calc(100vh - 88px);
    background: rgba(255, 255, 255, 0.95);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    overflow-y: auto;
}

.mobile-nav a {
    padding: 15px 20px;
    font-size: 1.2rem;
    color: var(--navy);
    text-decoration: none;
    width: 80%;
    text-align: center;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.mobile-nav a:hover {
    background: var(--light-bg);
    color: var(--gold);
}

/* --- HERO --- */

.hero {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;

    /* Imagem de Fundo + Fallback */
    background-color: var(--navy);
    background-image: url('../img/capa-hero.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* O Overlay (Máscara Escura) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.9) 0%, rgba(13, 27, 42, 0.6) 100%);
    z-index: 1;
}

/* Conteúdo (fica acima do overlay) */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    /* Título grande */
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
}

.lead-hero {
    font-size: 1.25rem;
    color: #e0e0e0;
    /* Um branco levemente cinza para cansar menos a vista */
    margin: 0 auto 40px;
    max-width: 700px;
    line-height: 1.6;
}

/* Botões do Hero */
.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Estilo do Botão Primário (Solid Gold) */
.btn-primary {
    background-color: var(--gold);
    color: var(--navy);
    border: 2px solid var(--gold);
}

.btn-primary:hover {
    background-color: #c3a133;
    /* Gold um pouco mais escuro */
    border-color: #c3a133;
    transform: translateY(-2px);
    /* Efeito de subir levemente */
}

/* Estilo do Botão Secundário (Outline White) */
.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Responsividade para Celular */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

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

    .cta-group {
        flex-direction: column;
        gap: 15px;
    }

    /* Botões um em cima do outro */
    .btn {
        width: 100%;
    }

    /* Botões largura total no mobile */
}

/* --- SERVICES --- */

/* Configuração Geral de Seções */
.section {
    padding: 80px 0;
    background-color: var(--white);
}

.section-header {
    margin-bottom: 50px;
}

.text-center {
    text-align: center;
}

/* O Grid Mágico (Responsivo Automático) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
    gap: 30px;
}

/* O Cartão de Serviço */
.service-card {
    background: #ffffff;
    padding: 30px 25px;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Efeito ao passar o mouse */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
    border-color: var(--gold);
}

/* Ícones */
.icon-box {
    margin-bottom: 20px;
}

.service-card i {
    font-size: 2.5rem;
    color: var(--gold);
}

/* Texto do Card */
.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--navy);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
}

/* --- ABOUT & MAP SECTION --- */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Texto */
.about-text p {
    color: var(--muted);
    margin-bottom: 20px;
    font-size: 1rem;
}

.highlight-box {
    background: var(--light-bg);
    border-left: 4px solid var(--gold);
    padding: 15px 20px;
    font-size: 0.95rem;
    color: var(--navy);
    margin: 25px 0;
}

/* --- ÁREA DO MAPA --- */
.map-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    background: #eaf6ff;
    border-radius: 12px;
    border: 1px solid rgba(13, 27, 42, 0.1);
    overflow: hidden;
    /* Cursor de 'alvo' para indicar interatividade */
    cursor: crosshair; 
}

/* Fundo decorativo (Grade) */
.map-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#d4af37 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.2;
}

/* Objetos Interativos (Navio e Avião) */
.interactive-obj {
    position: absolute;
    font-size: 3rem;
    transition: transform 0.1s linear;
    pointer-events: none;
    z-index: 10;
}

.ship-obj {
    bottom: 25%;
    left: 20%;
    color: var(--navy);
    /* Sombra para dar profundidade */
    text-shadow: 0 10px 10px rgba(0,0,0,0.2); 
}

.plane-obj {
    top: 20%;
    right: 20%;
    color: #c0392b;
    transform: rotate(-15deg);
}

.map-label {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    color: #8899a6;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsividade: No celular vira uma coluna só */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .map-wrapper {
        height: 300px;
        order: -1;
    }
}

/* --- CONTACT --- */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Formulário */
.contact-form {
    background: #ffffff;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--navy);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(13, 27, 42, 0.1);
}

/* Info Lateral */
.info-block p {
    color: var(--muted);
    margin-bottom: 15px;
}

.contact-links {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--navy);
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.contact-item:hover {
    color: var(--gold);
}

.whatsapp-btn {
    color: #25D366;
}

/* --- PARTNERS STRIP ---*/

.partners-section {
    background-color: #ffffff;
    padding: 40px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.partners-title {
    text-align: center;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 25px;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.partner-logo {
    height: 40px;
    width: auto; 
    object-fit: contain;
    
    /* Efeito de estilo */
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1; 
    transform: scale(1.05);
}

/* No celular, diminui um pouco os logos para caberem melhor */
@media (max-width: 768px) {
    .partners-grid {
        gap: 20px;
    }
    .partner-logo {
        height: 30px;
    }
}

/* --- FOOTER --- */
footer {
    background-color: var(--navy);
    color: #ffffff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: 0.2s;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.85rem;
    color: #666;
}

/* Responsividade */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* === V9 EXCHANGE BAR STYLES === */
#exchange-bar {
    position: sticky;
    top: 88px;
    /* Stick right under the main header */
    background-color: var(--navy);
    color: var(--white);
    z-index: 900;
    /* Below the main header */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
}

/* Animations Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes float {
    0% {
        transform: translateY(0) translateX(0)
    }

    25% {
        transform: translateY(-18px) translateX(10px)
    }

    50% {
        transform: translateY(-8px) translateX(18px)
    }

    75% {
        transform: translateY(-12px) translateX(8px)
    }

    100% {
        transform: translateY(0) translateX(0)
    }
}

@keyframes wave {
    from {
        background-position-x: 0;
    }

    to {
        background-position-x: -1200px;
    }
}

/* ========== RESPONSIVE DESIGN ========== */

@media(max-width:980px) {
    nav {
        display: none
    }

    .hamburger {
        display: flex
    }

    header {
        padding: 0 18px;
        height: 70px;
    }

    .mobile-nav {
        top: 70px;
        height: calc(100vh - 70px);
    }

    .section h2 {
        font-size: 32px;
    }

@media(max-width:560px) {
    header {
        padding: 0 14px;
        height: 70px;
    }

    .mobile-nav {
        top: 70px;
        height: calc(100vh - 70px);
    }

    .brand img {
        height: 44px
    }

    .btn {
        padding: 10px 18px;
        font-size: 14px;
    }
}}

@media (max-width: 980px) {
    .desktop-nav.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        border-top: 1px solid #eee;
    }
}