/* ==========================================================================
   LOOMPER - VERSÃO FINAL 1.000.000% (CORRIGIDA)
   ========================================================================== */

:root {
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --gold: #d4af37;
    --gold-hover: #b5952f;
    --orange: #ff6b35;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* --- HERO (FOTO MAIS VISÍVEL) --- */
.hero-section {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    /* AJUSTE FINO: Opacidade 0.75 (deixa a foto aparecer bem) */
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.75)), url('../assets/images/hero.png');
    background-size: cover;
    background-position: center;
    padding: 100px 20px 60px;
}

.brand-logo { position: absolute; top: 25px; left: 25px; width: 140px; z-index: 10; }
.brand-logo img { width: 100%; height: auto; }

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--gold);
    text-transform: uppercase;
    /* Sombra forte para garantir leitura sobre a foto */
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.95);
}

.hero-subtitle-main {
    display: block;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: #fff;
    font-weight: 700;
    margin-top: 10px;
    text-transform: none;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.hero-desc {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.highlight-text { color: var(--gold); font-weight: 600; }

/* --- PERFIS (CARDS ALINHADOS E ÍCONE CORRIGIDO) --- */
.profiles-section { padding: 40px 0; background: var(--bg-dark); }
.section-header { text-align: center; margin-bottom: 30px; }
.section-header h2 { font-size: 2rem; color: var(--text-white); }

.profiles-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    /* Garante que todos os cards tenham a mesma altura */
    align-items: stretch;
}

.profile-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 30px 25px;
    cursor: pointer;
    transition: all 0.3s ease;

    /* 🔑 Essenciais para a marca d’água */
    position: relative;
    overflow: hidden;

    /* Flexbox para empurrar o botão para o fundo */
    display: flex;
    flex-direction: column;

    /* Tamanho controlado */
    flex: 1;
    min-width: 300px;
    max-width: 350px;
}
.profile-card:hover { border-color: var(--gold); transform: translateY(-5px); }

/* Ícone Padronizado */
.card-icon {
    height: 60px; /* Altura fixa para alinhar */
    display: flex;
    align-items: center; /* Centraliza verticalmente */
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}
.profile-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
  opacity: 0.04; /* 🔑 ESSA É A CHAVE */
  pointer-events: none;
}
.profile-card h3 { font-size: 1.25rem; margin-bottom: 12px; font-weight: 700; color: #fff; }

.profile-card p {
    color: var(--text-gray);
    margin-bottom: 25px;
    font-size: 0.95rem;
    flex-grow: 1; /* Ocupa espaço para alinhar botão */
}
.profile-card.motorista::before {
  background-image: url('../assets/images/bg-motorista.png');
}
.profile-card.chapa::before {
  background-image: url('../assets/images/bg-chapa.png');
}
.profile-card.transportadora::before {
  background-image: url('../assets/images/bg-transportadora.png');
}


.card-cta {
    color: var(--orange);
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: auto; /* Cola no rodapé do card */
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

/* Auxiliar */
.card-auxiliary { background: rgba(255,255,255,0.03); border: 1px dashed rgba(255,255,255,0.2); border-radius: 12px; padding: 15px; text-align: center; cursor: pointer; transition: all 0.2s; max-width: 500px; margin: 0 auto; }
.card-auxiliary:hover { border-color: var(--gold); }

/* --- REALIDADE --- */
.reality-section { padding: 40px 0; background: #0f0f0f; }
.reality-box { display: flex; flex-direction: column; align-items: center; gap: 30px; background: rgba(255,255,255,0.02); padding: 30px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); text-align: center; }
.reality-text h2 { color: var(--gold); margin-bottom: 15px; font-size: 1.5rem; }
.pioneer-list { list-style: none; display: inline-block; text-align: left; margin-top: 15px; }
.pioneer-list li { margin-bottom: 8px; color: #ccc; }
.pioneer-list i { color: var(--gold); margin-right: 8px; }
.responsive-img-wide { width: 100%; max-width: 500px; height: auto; max-height: 300px; object-fit: cover; border-radius: 8px; border: 1px solid #333; }

/* --- RODAPÉ MENU --- */
.footer-menu-style { background: #050505; padding: 40px 0 20px; border-top: 1px solid #222; }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin-bottom: 40px; }
.footer-nav-item { color: #ccc; font-size: 0.95rem; cursor: pointer; padding: 8px 16px; border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; transition: all 0.3s; }
.footer-nav-item:hover { border-color: var(--gold); color: var(--gold); background: rgba(212, 175, 55, 0.05); }
.highlight-apoie { border-color: var(--orange); color: var(--orange); font-weight: bold; }
.highlight-apoie:hover { background: var(--orange); color: #fff; }
.footer-bottom-info { text-align: center; border-top: 1px solid #222; padding-top: 30px; color: #888; }
.brand-name { color: var(--gold); font-weight: 900; font-size: 1.2rem; margin-bottom: 5px; }
.brand-slogan { font-size: 0.75rem; letter-spacing: 2px; margin-bottom: 15px; color: #666; }
.company-details { font-size: 0.8rem; line-height: 1.4; color: #777; }

/* Botões de Investidor */
.investor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-top: 20px; }
.investor-btn {
    display: block;
    text-align: center;
    padding: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.2s;
}
.investor-btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(212,175,55,0.1); }

/* --- OUTROS --- */
.cta-button { background: var(--gold); color: #000; border: none; padding: 18px 40px; font-size: 1.1rem; font-weight: 800; border-radius: 8px; cursor: pointer; text-transform: uppercase; transition: all 0.3s ease; display: inline-block; box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3); }
.cta-button:hover { background: var(--gold-hover); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4); }
.full-width { width: 100%; }
.donate-btn { background: var(--orange); color: #fff; border: none; padding: 10px 20px; border-radius: 20px; cursor: pointer; font-weight: 600; margin: 5px; }
.donate-btn.outline { background: transparent; border: 1px solid var(--orange); color: var(--orange); }
.donate-btn.outline:hover { background: var(--orange); color: #fff; }

.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.95); overflow-y: auto; backdrop-filter: blur(5px); }
.modal-content { background: #181818; margin: 5% auto; padding: 30px; width: 95%; max-width: 500px; border-radius: 12px; border: 1px solid #333; position: relative; animation: fadeIn 0.3s; }
.modal-close { position: absolute; right: 15px; top: 15px; color: #666; font-size: 28px; cursor: pointer; }
.form-group input, .form-group select { width: 100%; padding: 12px; border-radius: 6px; border: 1px solid #333; background: #222; color: #fff; margin-bottom: 5px; }
.form-row { display: flex; gap: 15px; }
.form-checkbox { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; font-size: 0.85rem; color: #ccc; }
.form-checkbox a { color: var(--gold); text-decoration: none; }
.micro-trust { font-size: 0.8rem; color: #666; margin-top: 15px; text-align: center; }
.referral-input { width: 100%; padding: 12px; background: #000; color: var(--gold); border: 1px solid var(--gold); text-align: center; font-family: monospace; margin-bottom: 15px; border-radius: 6px; }

/* Timeline */
.timeline-container { position: relative; padding-left: 20px; }
.timeline-item { position: relative; margin-bottom: 30px; padding-left: 40px; }
.timeline-item::before { content: ''; position: absolute; left: 14px; top: 30px; bottom: -30px; width: 2px; background: #333; }
.timeline-item:last-child::before { display: none; }
.tl-icon { position: absolute; left: 0; top: 0; width: 30px; height: 30px; background: #222; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #555; border: 2px solid #333; }
.timeline-item.done .tl-icon { background: var(--gold); color: #000; }
.timeline-item.active .tl-icon { background: var(--orange); color: #fff; box-shadow: 0 0 10px rgba(255, 107, 53, 0.4); }

.whatsapp-float { position: fixed; bottom: 25px; right: 25px; background: #25d366; color: white !important; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; box-shadow: 0 4px 15px rgba(0,0,0,0.5); z-index: 2000; text-decoration: none; }
.whatsapp-float i { color: white !important; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 768px) {
  .footer-nav {
    flex-direction: column;
    align-items: center;
  }

  .footer-nav-item {
    width: 80%;
    text-align: center;
  }

  /* HERO – mais imagem, mais caminhão, mais impacto */
  .hero-section {
    min-height: 85vh;
    padding-top: 120px;
    /* 🔑 O segredo está aqui */
     background-position: center top;
    background-size: 120%;}
}

/* ==========================================================================
   BOT���O DOWNLOAD APK BETA - FLUTUANTE
   ========================================================================== */
.download-apk-float {
    position: fixed;
    bottom: 90px;
    right: 25px;
    background: linear-gradient(135deg, #FF6600, #ffd700);
    color: #fff;
    width: 110px;
    height: 56px;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 25px rgba(255, 102, 0, 0.5);
    z-index: 999;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.download-apk-float:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 102, 0, 0.7);
}

.download-apk-float i {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.download-apk-float span {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ==========================================================================
   BOTÃO WEB APP - FLUTUANTE (PRIORIDADE ACIMA DO APK)
   ========================================================================== */
.web-app-float {
    position: fixed;
    bottom: 160px;
    right: 25px;
    background: linear-gradient(135deg, #DAA520, #FFD700);
    color: #0a0a0a;
    width: 110px;
    height: 56px;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 25px rgba(218, 165, 32, 0.6);
    z-index: 1000; /* Acima do APK */
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.web-app-float:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(218, 165, 32, 0.8);
}

.web-app-float i {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.web-app-float span {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* ==========================================================================
   REDES SOCIAIS - FOOTER
   ========================================================================== */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--gold);
    color: #0a0a0a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Responsivo para botões flutuantes */
@media (max-width: 768px) {
    .web-app-float {
        bottom: 150px;
        right: 15px;
        width: 95px;
        height: 50px;
    }
    
    .web-app-float i {
        font-size: 1.2rem;
    }
    
    .web-app-float span {
        font-size: 0.65rem;
    }
    
    .download-apk-float {
        bottom: 85px;
        right: 15px;
        width: 95px;
        height: 50px;
    }
    
    .download-apk-float i {
        font-size: 1.2rem;
    }
    
    .download-apk-float span {
        font-size: 0.65rem;
    }
}
