/* ==========================================================================
   THALESCON — ESTRUTURAS DE CONCRETO PRÉ-MOLDADAS
   Design System Industrial Moderno, Limpo & Responsivo
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Paleta de Cores Thalescon */
    --primary: #FCB900;
    --primary-hover: #e5a700;
    --slate-deep: #12161f;
    --slate-medium: #191e27;
    --slate-light: #232936;
    
    /* Neutros & Contraste */
    --concrete-light: #f8f9fa;
    --concrete-border: #e2e8f0;
    --text-dark: #12161f;
    --text-muted: #4a5568;
    --white: #ffffff;
    
    /* Tipografia */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Utilitários */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --box-shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Layout Container */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Seções e Espaçamentos Globais Otimizados */
.section-padding {
    padding: 55px 0;
}

.section-light {
    background-color: var(--concrete-light);
}

.section-header {
    max-width: 680px;
    margin: 0 auto 32px auto;
    text-align: center;
}

.section-subtitle {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 8px;
    display: inline-block;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--slate-deep);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-lead-text {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.text-center {
    text-align: center;
}

/* Grids Otimizados */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Botões Globais */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 14px 28px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    cursor: pointer;
    font-size: 0.95rem;
    gap: 10px;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--slate-deep);
    border: none;
    box-shadow: 0 6px 20px rgba(252, 185, 0, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(252, 185, 0, 0.35);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(252, 185, 0, 0.1);
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 40%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Header Navigation (Glassmorphic Dark Theme)
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 14px 0;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px 0;
    border-bottom: 1px solid #cbd5e1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    background-color: transparent;
    padding: 4px 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    transition: var(--transition-smooth);
}

.logo:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.main-header.scrolled .logo-img {
    height: 44px;
}

/* Nav Menu Modern Pills for White Header */
.nav-menu ul {
    display: flex;
    gap: 12px;
    align-items: center;
    list-style: none;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
    color: #12161f;
    position: relative;
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-link:hover {
    color: #12161f;
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.nav-link.active {
    color: #12161f;
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(252, 185, 0, 0.25);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    font-weight: 800;
    font-size: 0.9rem;
    padding: 10px 22px;
    border-radius: 30px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #28e16f 0%, #159a8b 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1100;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: #12161f;
    transition: var(--transition-smooth);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    height: 88vh;
    min-height: 580px;
    display: flex;
    align-items: center;
    background-image: url('assets/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(18, 22, 31, 0.92) 30%, rgba(18, 22, 31, 0.65) 85%);
    z-index: 1;
}

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

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

.hero-subtitle {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 16px;
    display: inline-block;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.hero-lead {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 36px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Stats Bar */
.stats-bar {
    position: relative;
    width: 100%;
    background-color: var(--slate-medium);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 5;
    padding: 22px 0;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-top: 4px;
}

/* ==========================================================================
   Produtos / Catálogo
   ========================================================================== */
.product-card {
    background: var(--white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--box-shadow-premium);
    transition: var(--transition-smooth);
    border: 1px solid var(--concrete-border);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
}

.product-image-container {
    position: relative;
    overflow: hidden;
    height: 220px;
    background-color: var(--slate-medium);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-info {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-cat {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.product-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   Clientes Marquee
   ========================================================================== */
.clients-marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 15px 0;
}

.clients-marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 40px;
    animation: marquee 25s linear infinite;
}

.client-logo-item {
    background: var(--white);
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    width: 160px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.client-logo-item img {
    max-width: 120px;
    max-height: 50px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.client-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Footer Component
   ========================================================================== */
.main-footer {
    background-color: var(--slate-deep);
    color: var(--white);
    padding: 60px 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo-img {
    height: 46px;
    width: auto;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 16px 0 20px 0;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--slate-deep);
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

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

.footer-bottom {
    padding: 24px 0;
    background: #0c0f15;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.developer-attribution {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mfranco-logo-img {
    height: 20px;
}

.admin-footer-link {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-smooth);
    margin-left: 12px;
}

.admin-footer-link:hover {
    color: var(--primary);
    background: rgba(252, 185, 0, 0.1);
    border-color: rgba(252, 185, 0, 0.3);
}

/* Floating Social Sidebar */
.floating-social-sidebar {
    position: fixed;
    right: 20px;
    bottom: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-side-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(18, 22, 31, 0.9);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition-smooth);
    opacity: 0.85;
}

.social-side-link:hover {
    background-color: var(--primary);
    color: var(--slate-deep);
    border-color: var(--primary);
    transform: scale(1.1);
    opacity: 1;
    box-shadow: 0 6px 16px rgba(252, 185, 0, 0.3);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-brand {
        grid-column: span 2;
    }
    .contact-responsive-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    .form-row-responsive {
        grid-template-columns: 1fr !important;
    }
    .map-badge-responsive {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
    .menu-toggle {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background-color: #12161f;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
        border-left: 1px solid rgba(252, 185, 0, 0.2);
        z-index: 1000;
        transition: var(--transition-smooth);
        padding: 100px 30px;
    }
    .nav-menu.open {
        right: 0;
    }
    .nav-menu ul {
        flex-direction: column;
        gap: 16px;
    }
    .nav-link {
        color: rgba(255, 255, 255, 0.9) !important;
        font-size: 1.05rem;
        width: 100%;
        display: block;
    }
    .menu-toggle .bar {
        background-color: #ffffff !important;
    }
    .menu-toggle.open .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.open .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}
