@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@font-face {
font-family: 'Panton Narrow Black Italic Caps';
font-style: normal;
font-weight: normal;
src: local('Panton Narrow Black Italic Caps'), url('/fonts/PantonNarrowDemoBlackItalic.woff') format('woff');
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: transparent;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

header {
  padding: 1rem 0;
  background: white;
  backdrop-filter: none;
  border-bottom: none;
  top: 0;
  z-index: 1000;
  box-shadow: none;
  transition: all 0.3s ease;
  width: 100%;
}

.nav-links{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15%;
    min-width: 120px;
}

.logo a {
    background: url('../imgs/H_Preferencial.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 80px;
}

.nav {
    display: flex;
    gap: 2.5rem;
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links li a {
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(175, 178, 184, 0.356);
    transform: translateY(-1px);
    color: #152f5d;
}

.container-header {
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
}

/* ============================================================
   ESTILOS DO HEADER MOBILE (Faltava este bloco)
   ============================================================ */
.header-mobile {
    display: none; /* Oculto por padrão no Desktop */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: white;
    z-index: 1000;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    padding: 0;
    align-items: center; 
    justify-content: space-between;
}

.header-mobile .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: auto; 
    margin-left: 20px;
}

.header-mobile .logo img {
    height: 35px;
    width: auto;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu i {
    font-size: 28px;
    color: #152f5d;
}

#mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 999;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    padding: 1rem 0;
    box-shadow: 0 10px 10px rgba(0,0,0,0.1);
}

#mobile-menu.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#mobile-menu .nav-link {
    color: #333;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    padding: 1rem;
    display: block;
}

#particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #152f5d 0%, #1a365d 50%, #2d3748 100%);
    background-size: cover;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    filter: blur(2px);
    animation: float-particles 25s infinite ease-in-out;
    min-width: 6px;
    min-height: 6px;
}

@keyframes float-particles {
    0% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-100px) translateX(50px); }
    100% { transform: translateY(0) translateX(0); }
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    text-align: center;
    color: white;
    overflow: hidden;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="truck" patternUnits="userSpaceOnUse" width="100" height="100"><path d="M20 50h15v10h10v-5h15v15h-15v5h-10v10h-15z" fill="rgba(255,255,255,0.03 )"/></pattern></defs><rect width="100%" height="100%" fill="url(%23truck)"/></svg>') repeat;
    opacity: 0.1;
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.hero-content h2{
    min-height: 11rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.main-content {
    border-radius: 0;
    margin-top: 3rem;
    padding: 5rem 0 3rem;
    box-shadow: none;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5rem;
    width: 100vw;
}

.advantages-section {
    width: 90%;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #ffffff;
    opacity: 0.5;
    border-radius: 2px;
}

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

.advantage-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-10px) scale(1.05);
    background-color: rgba(255, 255, 255, 0.15);
}

.advantage-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #152f5d 0%, #2d3748 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(21, 47, 93, 0.3);
    position: relative;
    z-index: 1;
}

.advantage-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff; /* Garante que o título seja branco */
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.advantage-content p {
    color: rgba(255, 255, 255, 0.8); /* Texto do parágrafo branco com opacidade */
    font-size: 1rem;
    line-height: 1.6;
}

/* Registration Section */
.registration {
    padding: 5rem 0;
    color: white;
    overflow: hidden;
}

.registration::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.registration-wrapper {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.registration-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.registration-subtitle {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 3.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Registration Form */
.registration-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.form-group {
    position: relative;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center; /* Mantém o ícone centralizado com o input */
}

.input-wrapper input{
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 1.25rem;
    color: #ffffff;
    opacity: 0.7;
    font-size: 1.1rem;
    pointer-events: none; /* Evita que o ícone seja clicável */
}

.error-message {
    color: #ef4444;
    font-size: 0.9rem; 
    margin-top: 8px;   
    margin-left: 10rem;
    padding-left: 10px; 
    text-align: left;   
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Adiciona o ícone de aviso antes da mensagem */
.error-message::before {
    content: "⚠"; /* Ícone de aviso */
    font-size: 0.8rem;
    margin-right: 4px;
}



.registration-form input {
    width: 100%;
    padding: 1.25rem 1.25rem 1.25rem 3.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1); 
    color: #ffffff;
}

.registration-form input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.registration-form input::placeholder {
    color: rgba(255, 255, 255, 0.7); /* Placeholder branco com opacidade */
}

/* Privacy Checkbox */
.privacy {
    margin: 1.5rem 0;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    color: #ffffff; /* Texto branco */
    justify-content: center;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    accent-color: #ffffff;
}

.privacy-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.privacy-text i {
    color: #10b981;
    font-size: 1.1rem;
}

/* Submit Button */
.submit-button {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: white;
    border: none;
    padding: 1.5rem 2.5rem;
    border-radius: 16px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    box-shadow: 0 8px 20px rgba(21, 47, 93, 0.3);
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(21, 47, 93, 0.4);
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
}

.submit-button:active {
    transform: translateY(-1px);
}

/* Container principal do rodapé */
footer {
    color: white;
    background-color: #123e7a;
    padding: 2rem 0rem;
    width: 100%;
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: clamp(2rem, 8vw, 15rem);
    padding: 0 2rem;
}

.footer-section {
    flex: 1;
}

.footer-legal {
    text-align: center;
    padding-top: 4rem;
}

.footer-social {
    text-align: right;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.social-links i {
    font-size: 1.8rem;
    transition: transform 0.3s ease;
    color: white;
}

.social-links a:hover i {
    transform: scale(1.1);
    color: #3182ce;
}

.footer-links-legal a {
    color: white;
    text-decoration: underline;
    margin: 0 0.5rem;
}

.footer-logo h3 {
    font-family: 'Panton Narrow Black Italic Caps';
    font-weight: 800;
}

@media (max-width: 1024px) {
    .nav-links { gap: 1rem; padding: 0 1rem; }
    .nav { gap: 1.5rem; }
    .footer-content { gap: 8rem; }
    
    /* Reduz um pouco a largura mínima para caber em tablets menores */
    .partner-benefits, 
    .partner-form-container {
        min-width: 300px; 
    }
}

@media (max-width: 900px) {
    /* Troca de Header */
    header { display: none !important; }
    .header-mobile { display: flex; }
    
    /* Ajuste de Espaçamento do Topo (para não ficar atrás do menu) */
    body { padding-top: 80px; } 

    /* Layout Geral */
    .content-wrapper {
        flex-direction: column;
        gap: 3rem;
        width: 100%;
    }
    
    .hero {
        padding: 3rem 1rem;
    }
    
    .hero-title {
        font-size: 2.2rem; /* Título menor */
        min-height: auto; /* Remove altura fixa */
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }

    /* Cards de Vantagens */
    .advantages-section {
        width: 100%; /* Ocupa a tela toda */
        padding: 0 1rem;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr; /* Uma coluna só */
        gap: 1.5rem;
    }

    /* Formulário */
    .registration-wrapper {
        padding: 0 1rem;
    }
    
    .registration-form-wrapper {
        padding: 2rem 1.5rem; /* Menos padding interno */
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
        align-items: center;
    }
    .footer-social { text-align: center; }
    .footer-legal { padding-top: 2rem; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
    }
    
    .nav {
        display: none;
    }
    
    .registration-form-wrapper {
        padding: 2rem;
    }
    
    .registration-title {
        font-size: 2.2rem;
    }
}


/* 2. CELULARES PEQUENOS (Abaixo de 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .registration-title {
        font-size: 1.8rem;
    }
    
    /* Ajuste nos inputs para não quebrar layout */
    .registration-form input {
        padding: 1rem 1rem 1rem 3rem; /* Menor padding */
        font-size: 1rem;
    }
    
    .input-icon {
        left: 1rem;
        font-size: 1rem;
    }
    
    .advantage-card {
        padding: 1.5rem;
    }
}
