/**
 * JR Caçamba - Design Industrial Moderno Premium
 * Paleta: Preto profundo + Amarelo vibrante + Cinza industrial
 * Tipografia: Montserrat (títulos) + Inter (corpo)
 * Melhorias: Design mais atrativo, animações suaves, melhor UX
 */

/* ===== Reset e Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
}

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

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

/* ===== Container ===== */
.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;
    }
}

/* ===== Header ===== */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 50;
    transition: all 0.4s ease;
    background-color: transparent;
}

.header.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    flex-wrap: wrap;
}

.logo h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #FFD700;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

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

.nav-link {
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FFD700;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #FFD700;
}

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

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

/* ===== Buttons ===== */
.btn-industrial {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background: linear-gradient(135deg, #FFD700 0%, #FFC700 100%);
    color: #000;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.8px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-industrial::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn-industrial:hover {
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
    transform: translateY(-3px);
}

.btn-industrial:hover::before {
    left: 100%;
}

.btn-industrial:active {
    transform: translateY(-1px);
}

.btn-industrial.full-width {
    width: 100%;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    padding-top: 10rem;
    padding-bottom: 8rem;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    overflow: hidden;
    margin-top: 3rem;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-industrial.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
    animation: zoomSlow 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    z-index: 1;
}

@keyframes zoomSlow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

.hero h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: #FFD700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    animation: slideInDown 0.8s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 768px) {
    .hero h2 {
        font-size: 3.8rem;
    }
}

.hero p {
    color: #e0e0e0;
    font-size: 1.15rem;
    margin-bottom: 2rem;
    max-width: 650px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

.checklist {
    list-style: none;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.checklist li {
    color: #FFD700;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
}

.checklist li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #FFD700;
    color: #000;
    border-radius: 50%;
    font-weight: 700;
    flex-shrink: 0;
}

/* ===== Process Section ===== */
.process {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
    margin: 2rem 0;
}

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

.process-item {
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.process-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.process-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.process-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #000;
}

.process-description {
    color: #666;
    font-size: 0.95rem;
}

/* ===== Features Section ===== */
.features {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    color: #fff;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.features-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: #FFD700;
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .features-title {
        font-size: 3.2rem;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-left: 5px solid #FFD700;
    border-radius: 8px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover {
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.2);
    transform: translateY(-12px);
}

.feature-card:hover::before {
    left: 100%;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: #FFD700;
}

.feature-description {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== Stats Section ===== */
.stats {
    background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%);
    padding: 5rem 0;
}

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

.stat-item {
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #FFD700 0%, #FFC700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #000;
}

.stat-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== Services Section ===== */
.services {
    background-color: #fff;
    padding: 5rem 0;
}

.services-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: #000;
    text-align: center;
    margin-bottom: 1rem;
}

.services-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.15rem;
    margin-bottom: 3.5rem;
}

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

.service-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-top: 4px solid #FFD700;
}

.service-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-12px);
}

.service-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-image {
    transform: scale(1.12);
}

.service-content {
    padding: 2.5rem;
}

.service-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #000;
}

.service-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* ===== Gallery Section ===== */
.gallery {
    background: linear-gradient(135deg, #f5f5f5 0%, #e9ecef 100%);
    padding: 5rem 0;
}

.gallery-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: #000;
    text-align: center;
    margin-bottom: 1rem;
}

.gallery-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.15rem;
    margin-bottom: 3.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.gallery-item {
    position: relative;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-item:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(-12px);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.12);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(255, 215, 0, 0.1) 100%);
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(255, 215, 0, 0.2) 100%);
}

/* ===== CTA Section ===== */
.cta {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #fff;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-industrial.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
}

.cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: #FFD700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .cta h2 {
        font-size: 3.2rem;
    }
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #fff;
    padding: 4rem 0 2rem;
    text-align: center;
    border-top: 2px solid #FFD700;
}

.footer-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.6rem;
    color: #FFD700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(255, 215, 0, 0.2);
}

.footer-subtitle {
    color: #b0b0b0;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-copyright {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.footer-contact {
    color: #666;
    font-size: 0.9rem;
}

.footer-link {
    color: #FFD700;
    transition: all 0.3s ease;
    font-weight: 600;
}

.footer-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* ===== WhatsApp Button ===== */
.whatsapp-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366 0%, #20ba5a 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 40;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
    }
    50% {
        box-shadow: 0 8px 40px rgba(37, 211, 102, 0.6);
    }
}

.whatsapp-button:hover {
    background: linear-gradient(135deg, #20ba5a 0%, #1a9d4a 100%);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
    transform: scale(1.15);
}

@media (max-width: 640px) {
    .whatsapp-button {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 55px;
        height: 55px;
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .header-content {
        gap: 1rem;
    }

    .logo h1 {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }

    .hero {
        padding-top: 7rem;
        padding-bottom: 4rem;
    }

    .hero h2 {
        font-size: 2.2rem;
    }

    .features-title,
    .services-title,
    .gallery-title {
        font-size: 2.2rem;
    }

    .stat-number {
        font-size: 3.5rem;
    }

    .cta h2 {
        font-size: 2.2rem;
    }

    .btn-industrial {
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
    }
}

/* ===== Print ===== */
@media print {
    .header,
    .whatsapp-button,
    .footer {
        display: none;
    }
}
