/* 
    Expresso PB - Central da Marca
    Design System - Light / White Theme com Imagens
*/

:root {
    /* Cores Oficiais */
    --primary-blue: #19A3DF;
    --dark-blue: #000327;
    --white: #FFFFFF;
    
    /* Cores Tema Claro */
    --bg-main: #FFFFFF;
    --bg-alt: #F8FAFC;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --card-bg: #FFFFFF;
    
    /* Tipografia */
    --font-primary: 'Orbitron', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    
    /* Outras variáveis */
    --transition: all 0.3s ease;
    --radius: 8px;
    --shadow-soft: 0 10px 25px rgba(0, 3, 39, 0.05);
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.logo, .logo-display, .footer-logo, .primary-font .font-name, .primary-font .font-weights span {
    font-family: var(--font-primary);
}

h1, h2, h3, h4, h5, h6, .section-index, .type-label {
    font-family: var(--font-heading);
}

.kicker, .btn {
    font-family: var(--font-secondary);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.mb-4 {
    margin-bottom: 2rem;
}

.container {
    max-width: 1400px; /* Wider container for 2 columns */
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.bg-light-gray {
    background-color: var(--bg-alt);
}

.highlight {
    color: var(--primary-blue);
}

/* Grid Principal (2 Colunas Estilo Tekshine) */
.section-grid {
    display: grid;
    grid-template-columns: 3fr 9fr;
    gap: 6rem;
    align-items: start;
}

/* Coluna Esquerda */
.section-kicker {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.section-index {
    color: var(--primary-blue);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.section-label {
    color: var(--primary-blue);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.section-side h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -1px;
    color: var(--dark-blue);
}

.side-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* Images Globals */
.shadow-img {
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    object-fit: cover;
    width: 100%;
}

.section-image {
    max-height: 400px;
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--dark-blue);
}

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

.btn-secondary {
    background: transparent;
    color: var(--dark-blue);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: var(--border-color);
    color: var(--dark-blue);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    background: rgba(0, 3, 39, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
}

.nav-logo-img {
    height: 38px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    width: 100%;
}

.navbar .btn-primary {
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--white);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 120px;
    border-bottom: 1px solid var(--border-color);
}

.hero-background {
    background-image: url('./hero_truck_br.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 3, 39, 0.95) 0%, rgba(0, 3, 39, 0.6) 40%, rgba(0, 3, 39, 0.1) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
}

.hero-content .kicker {
    color: var(--primary-blue);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 4.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--white);
}

.hero-content .highlight {
    color: var(--primary-blue);
}

.hero-content .hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 100%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--white);
}


/* 01. A Marca */
.traits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.trait-card {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
    aspect-ratio: 16/10;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
}

.trait-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.5s ease;
}

.trait-card:hover img {
    transform: scale(1.05);
}

.trait-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,3,39,0.9), transparent);
    z-index: 2;
}

.trait-title {
    position: relative;
    z-index: 3;
    color: var(--white);
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* 02. Logo */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.logo-item {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.logo-box {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.logo-box.dark-bg { background-color: var(--dark-blue); }
.logo-box.light-bg { background-color: var(--white); }

.logo-box img {
    max-width: 75%;
    max-height: 70%;
    object-fit: contain;
}

.logo-text h4 {
    font-size: 1.05rem;
    color: var(--dark-blue);
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.logo-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.logo-rules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.rule-item {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.rule-visual {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    min-height: 220px;
}

.rule-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--dark-blue);
}

.rule-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Protection Box */
.protection-box {
    display: inline-block;
}

.protection-guides {
    border: 1px dashed var(--primary-blue);
    padding: 24px;
    position: relative;
    background: rgba(25, 163, 223, 0.05);
}

.protection-guides img {
    height: 35px;
    display: block;
}

.guide {
    position: absolute;
    color: var(--primary-blue);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.guide.top { top: 0; left: 50%; transform: translateX(-50%); height: 24px; }
.guide.bottom { bottom: 0; left: 50%; transform: translateX(-50%); height: 24px; }
.guide.left { left: 0; top: 50%; transform: translateY(-50%); width: 24px; }
.guide.right { right: 0; top: 50%; transform: translateY(-50%); width: 24px; }

/* Min Size Box */
.minsize-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.dimension-line {
    border-top: 1px solid var(--text-muted);
    position: relative;
    text-align: center;
    margin-top: 10px;
}

.dimension-line::before, .dimension-line::after {
    content: '';
    position: absolute;
    top: -4px;
    width: 1px;
    height: 9px;
    background: var(--text-muted);
}
.dimension-line::before { left: 0; }
.dimension-line::after { right: 0; }

.dimension-line span {
    background: var(--white);
    padding: 0 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
    position: relative;
    top: -11px;
}

/* 03. Cores */
.colors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.color-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.color-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
}

.color-swatch {
    height: 300px;
    width: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.color-info {
    width: 100%;
    color: var(--white);
}

.color-info h3 {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.color-info .hex {
    font-size: 1.5rem;
    font-weight: 700;
}

.color-info.dark-text {
    color: var(--dark-blue);
}

.copy-hint {
    font-size: 0.75rem;
    opacity: 0.8;
    text-transform: uppercase;
}

/* 04. Tipografia */
.typography-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.typo-block {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
}

.typo-header {
    padding: 2rem;
}

.typo-preview {
    padding: 0 2rem 2rem 2rem;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    color: var(--text-main);
}

.primary-font .typo-preview {
    font-family: var(--font-primary);
}

.secondary-font .typo-preview {
    font-family: var(--font-secondary);
}

.typo-preview .alphabet {
    font-size: 2rem;
    line-height: 1.4;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    word-break: break-word;
}

.typo-preview .numbers {
    font-size: 1.5rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.typo-details {
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.type-label {
    color: var(--primary-blue);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.font-name {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1;
    color: var(--dark-blue);
}

.font-weights {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--text-main);
}

.font-usage {
    max-width: 100%;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}
.font-usage strong {
    color: var(--dark-blue);
}

/* 05. Aplicações */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.app-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

.app-img-container {
    height: 250px;
    background: #e2e8f0;
    position: relative;
    overflow: hidden;
}

.app-img-container img.mockup-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Note: CSS overlay logic removed since mockups have baked-in logos */

.app-card-content {
    padding: 2rem;
}

.app-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    color: var(--dark-blue);
}

.app-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* 06. Usos da Marca */
.uses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.use-panel {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.use-panel h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.use-panel.correct { border-top: 3px solid var(--primary-blue); }
.use-panel.correct h3 { color: var(--text-main); }
.use-panel.correct h3 i { color: var(--primary-blue); margin-right: 0.25rem; }

.use-panel.incorrect { border-top: 3px solid var(--text-muted); }
.use-panel.incorrect h3 { color: var(--text-main); }
.use-panel.incorrect h3 i { color: var(--text-muted); margin-right: 0.25rem; }

.use-panel ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.use-panel ul li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.use-panel ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
}

.donts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.dont-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dont-visual {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.dont-visual img {
    max-width: 90%;
    max-height: 90%;
    display: block;
}

.dont-cross {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: var(--text-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.dont-cross::before, .dont-cross::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 2px;
    background: white;
}

.dont-cross::before { transform: rotate(45deg); }
.dont-cross::after { transform: rotate(-45deg); }

.dont-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.3;
}

/* 07. Biblioteca */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.download-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-blue);
    opacity: 0;
    transition: var(--transition);
}

.download-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.download-card:hover::before {
    opacity: 1;
}

.download-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    background: rgba(4, 150, 222, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.download-card .btn {
    width: 100%;
    justify-content: center;
}

.download-info {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.download-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--dark-blue);
}

.download-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.download-card .btn {
    width: 100%;
}

/* Footer */
.footer {
    background: var(--dark-blue);
    padding: 5rem 0 2rem;
    color: var(--white);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo-img {
    height: 45px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-slogan {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.25rem;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--primary-blue);
}

/* Toast */
.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: var(--dark-blue);
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    z-index: 9999;
}

.toast.show {
    bottom: 30px;
}

/* Responsividade */
@media (max-width: 1200px) {
    .section-grid {
        grid-template-columns: 4fr 8fr;
        gap: 3rem;
    }
}

@media (max-width: 1050px) {
    .nav-links {
        display: none;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 3, 39, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 2rem;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.5);
        gap: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        z-index: 999;
    }

    .navbar .btn {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 992px) {
    .section-grid {
        grid-template-columns: 1fr; /* Stack para mobile */
        gap: 2rem;
    }
    
    .section {
        padding: 5rem 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content h1 { font-size: 3.5rem; }
    
    .logo-grid, .logo-rules-grid, .downloads-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .colors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .typo-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .use-panel ul {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    
    .hero-content h1 { font-size: 2.8rem; }
    
    .traits-grid, .logo-grid, .logo-rules-grid, .colors-grid, .applications-grid, .downloads-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
    }
}
