/**
 * PrepCenter Brasil - CSS Principal
 * Design: Clean Logistics Pro
 * Paleta: Navy #0F2D5E + Amber #F59E0B
 * Tipografia: Sora (títulos) + Inter (corpo)
 */

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

/* ─────────────────────────────────────────────────────────────────────────── */
/* RESET E VARIÁVEIS */
/* ─────────────────────────────────────────────────────────────────────────── */

:root {
    --navy: #0F2D5E;
    --navy-light: #1a3f7a;
    --amber: #F59E0B;
    --amber-dark: #d97706;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    --font-sora: 'Sora', sans-serif;
    --font-inter: 'Inter', sans-serif;
    
    --radius: 0.65rem;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-inter);
    color: var(--gray-700);
    background-color: var(--white);
    line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* TIPOGRAFIA */
/* ─────────────────────────────────────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sora);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.25rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--navy);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--amber);
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* CONTAINER E LAYOUT */
/* ─────────────────────────────────────────────────────────────────────────── */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* BOTÕES */
/* ─────────────────────────────────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-sora);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-amber {
    background-color: var(--amber);
    color: var(--navy);
}

.btn-amber:hover {
    background-color: var(--amber-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-navy {
    background-color: var(--navy);
    color: var(--white);
}

.btn-navy:hover {
    background-color: var(--navy-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

/* ─────────────────────────────────────────────────────────────────────────── */
/* NAVBAR */
/* ─────────────────────────────────────────────────────────────────────────── */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(15, 45, 94, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-lg);
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
    padding-top: 0;
    padding-bottom: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    width: 2.25rem;
    height: 2.25rem;
    object-fit: contain;
}

.logo-text {
    color: var(--white);
    font-family: var(--font-sora);
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: -0.5px;
}

.logo-text .accent {
    color: var(--amber);
}

.nav-links {
    display: none;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 1.375rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* HERO SECTION */
/* ─────────────────────────────────────────────────────────────────────────── */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 5rem;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/assets/images/hero-warehouse-banner.webp');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(15, 45, 94, 0.92) 0%, rgba(15, 45, 94, 0.75) 55%, rgba(15, 45, 94, 0.3) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 42rem;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: var(--amber);
    font-family: var(--font-sora);
    margin-bottom: 2rem;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero h1 .accent {
    color: var(--amber);
}

.hero p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 28rem;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat {
    flex: 1;
    min-width: 120px;
}

.stat-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--amber);
    font-family: var(--font-sora);
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.4);
    animation: bounce 2s infinite;
    z-index: 3;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(0.5rem); }
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* SEÇÕES GERAIS */
/* ─────────────────────────────────────────────────────────────────────────── */

section {
    padding: 6rem 0;
}

.section-tag {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--amber);
    font-family: var(--font-sora);
    margin-bottom: 0.75rem;
}

.section-header {
    max-width: 42rem;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: var(--navy);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray-500);
    font-size: 1.125rem;
    line-height: 1.8;
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* CARDS DE SERVIÇOS */
/* ─────────────────────────────────────────────────────────────────────────── */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--gray-100);
    background: var(--white);
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--amber);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: rgba(15, 45, 94, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--navy);
}

.service-card h3 {
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--gray-500);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* ANIMAÇÕES */
/* ─────────────────────────────────────────────────────────────────────────── */

.fade-up {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* RESPONSIVIDADE */
/* ─────────────────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* FORMULÁRIOS */
/* ─────────────────────────────────────────────────────────────────────────── */

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--navy);
    font-family: var(--font-sora);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-family: var(--font-inter);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--amber);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.error {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

/* ─────────────────────────────────────────────────────────────────────────── */
/* FOOTER */
/* ─────────────────────────────────────────────────────────────────────────── */

footer {
    background: var(--navy);
    color: var(--white);
    padding: 2.5rem 0;
    border-top: 1px solid var(--gray-200);
}

footer .container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    footer .container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 0;
}
