@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --bg-light: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: var(--text-main);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* NAVBAR MODIFICADA */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 80px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #f1f5f9;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    max-height: 44px;
    filter: brightness(0) drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.brand-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a:not(.btn-login-area, .btn-contato-nav) {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

.nav-links a:not(.btn-login-area, .btn-contato-nav):hover {
    color: var(--primary);
}

.btn-contato-nav {
    text-decoration: none;
    color: var(--primary);
    background-color: #eff6ff;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    border: 1px solid #bfdbfe;
}

.btn-contato-nav:hover {
    background-color: #dbeafe;
}

.btn-login-area {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--text-main);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-login-area:hover {
    background-color: #334155;
    transform: translateY(-2px);
}

/* HERO SECTION MODIFICADA */
.hero-section {
    margin-top: 80px;
    padding: 140px 24px;
    background: radial-gradient(circle at center, #f0f9ff 0%, #ffffff 100%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 900px;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 28px 0;
    line-height: 1.05;
    letter-spacing: -2px;
}

.hero-content p {
    font-size: 22px;
    color: var(--text-muted);
    margin: 0 0 48px 0;
    line-height: 1.6;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-primary-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary);
    color: #ffffff;
    padding: 18px 38px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
}

.btn-primary-hero:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.btn-secondary-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #ffffff;
    color: var(--text-main);
    padding: 18px 38px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.btn-secondary-hero:hover {
    background-color: #f1f5f9;
    transform: translateY(-3px);
}

/* MODULES SECTION MODIFICADA */
.modules-section {
    padding: 100px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.modules-header {
    text-align: center;
    margin-bottom: 70px;
    max-width: 700px;
    margin-left: auto; margin-right: auto;
}

.modules-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 16px 0;
    letter-spacing: -1.5px;
}

.modules-header p {
    font-size: 20px;
    color: var(--text-muted);
    margin: 0;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.module-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 28px;
    padding: 48px 36px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.04);
}

.module-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.1);
    border-color: #e2e8f0;
}

.module-icon {
    width: 90px;
    height: 90px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 32px auto;
}

.bg-board { background: #fdf2f8; color: #db2777; border: 1px solid #fbcfe8; }
.bg-route { background: #fff7ed; color: #ea580c; border: 1px solid #ffedd5; }
.bg-hub { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }

.module-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 16px 0;
}

.module-card p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 24px 0;
    flex-grow: 1;
}

.learn-more {
    font-weight: 600;
    font-size: 15px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* SECTION DETAILS MODULAR */
.details-section {
    padding: 0;
}

.module-details {
    padding: 120px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.grid-right {
    grid-template-columns: 1fr 1fr;
}

.bg-light {
    background-color: var(--bg-light);
    max-width: 100%;
    padding-left: 10%; padding-right: 10%;
}

.details-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge {
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.details-content h2 {
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 24px 0;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.details-content p {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 0 32px 0;
}

/* AJUSTE PARA LISTAS DE DESCRIÇÃO LONGA */
.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-main);
}

.features-list li strong {
    font-weight: 600;
}

.features-list i {
    font-size: 18px;
    margin-top: 2px; /* Alinha o ícone com a primeira linha do texto */
    flex-shrink: 0; /* Impede o ícone de ser esmagado */
}

.text-board { color: #db2777; }
.text-route { color: #ea580c; }
.text-hub { color: #2563eb; }

/* MEDIA CONTENT (VIDEO & PRINTS) */
.details-media {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* PLACEHOLDER VIDEO */
.video-placeholder {
    width: 100%;
    aspect-ratio: 16/9; /* Tamanho padrão de vídeo */
    background-color: #1e293b;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    gap: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.2);
    border: 4px solid #f1f5f9;
}

/* Se você adicionar um vídeo real, esta classe deve ser usada na tag <video> */
.media-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.video-icon {
    font-size: 60px;
    color: #ffffff;
}

.video-placeholder span {
    font-weight: 600;
    font-size: 16px;
}

/* GRIDS DE PRINTS */
.prints-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.print-item {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.print-item:hover {
    transform: scale(1.03);
}

.print-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

/* CONTACT SECTION MODIFICADA */
.contact-section {
    padding: 120px 24px;
    background-color: var(--text-main);
    color: #ffffff;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto; margin-right: auto;
}

.contact-header h2 {
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 16px 0;
    letter-spacing: -1.5px;
    color: #ffffff;
}

.contact-header p {
    font-size: 19px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.6;
}

/* ESTILIZAÇÃO DO FORMULÁRIO */
.contact-form {
    background-color: #ffffff;
    padding: 60px;
    border-radius: 28px;
    color: var(--text-main);
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.3);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
    width: 100%;
}

.form-group label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-main);
}

.form-group input, .form-group textarea {
    padding: 16px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background-color: #f8fafc;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--text-main);
    transition: all 0.2s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px #dbeafe;
}

.btn-submit {
    width: 100%;
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.form-privacy {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin: 20px 0 0 0;
}

/* FOOTER */
.footer {
    background-color: #ffffff;
    padding: 40px 24px;
    text-align: center;
    border-top: 1px solid #f1f5f9;
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
}

/* RESPONSIVO */
@media (max-width: 1200px) {
    .nav-links { gap: 10px; }
    .nav-links a:not(.btn-login-area, .btn-contato-nav) { font-size: 14px; }
    .module-details { gap: 40px; padding: 80px 24px; }
    .hero-content h1 { font-size: 50px; }
}

@media (max-width: 1024px) {
    .navbar { height: auto; padding: 15px 0; }
    .nav-container { flex-direction: column; gap: 15px; }
    .hero-section { margin-top: 140px; }
    .module-details, .grid-right { grid-template-columns: 1fr; }
    .details-content { margin-bottom: 40px; }
    .grid-right .details-media { order: 2; }
    .details-section .module-details.grid-left { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 36px; letter-spacing: -1px; }
    .hero-content p { font-size: 18px; }
    .hero-actions { flex-direction: column; gap: 10px; }
    .modules-header h2 { font-size: 32px; }
    .details-content h2 { font-size: 32px; }
    .form-group-row { grid-template-columns: 1fr; gap: 0; }
    .contact-form { padding: 30px; }
}