/* =========================================
   Variaveis de CSS (Design System)
========================================= */
:root {
    /* Cores Oficiais da Bandeira do Paraguai */
    --color-red: #D52B1E;
    --color-white: #FFFFFF;
    --color-blue: #0038A8;
    
    /* Tons de suporte e premium */
    --color-dark: #121212;
    --color-dark-gray: #1E1E1E;
    --color-gray: #F4F4F4;
    --color-text: #333333;
    --color-text-light: #777777;
    
    /* Gradientes e Sombras */
    --gradient-blue: linear-gradient(135deg, var(--color-blue) 0%, #001f5c 100%);
    --gradient-red: linear-gradient(135deg, var(--color-red) 0%, #a31a10 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.1);
    --shadow-lg: 0 15px 35px rgba(0,0,0,0.15);
    --shadow-hover: 0 20px 40px rgba(0, 56, 168, 0.2);
    
    /* Transições */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-blue);
    margin-bottom: 15px;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--color-red);
    border-radius: 2px;
}

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

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    color: var(--color-text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

/* =========================================
   Botões
========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    gap: 8px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-red);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(213, 43, 30, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(213, 43, 30, 0.4);
    color: var(--color-white);
}

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

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-dark);
}

.btn-outline-primary {
    background: transparent;
    color: var(--color-red);
    border: 2px solid var(--color-red);
}

.btn-outline-primary:hover {
    background: var(--color-red);
    color: var(--color-white);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* =========================================
   Header & Navegação
========================================= */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

#header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

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

.logo img {
    height: 50px;
    transition: var(--transition);
}

/* Escalar o logo quando rolar a tela, se desejado */
#header.scrolled .logo img {
    height: 40px;
}

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: var(--color-white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

#header.scrolled .nav-menu a {
    color: var(--color-dark);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-red);
    transition: var(--transition);
}

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

.header-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-white);
    cursor: pointer;
}

#header.scrolled .mobile-toggle {
    color: var(--color-dark);
}

/* =========================================
   Hero Section
========================================= */
#hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: url('../assets/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente que escurece a imagem para dar contraste e usa um toque de azul */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 56, 168, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    max-width: 800px;
}

#hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

#hero h1 span {
    color: var(--color-red);
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    color: #e0e0e0;
}

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

/* =========================================
   Sobre Section
========================================= */
.sobre-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.sobre-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.sobre-text .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.sobre-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--color-text-light);
}

.sobre-images-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 15px;
    align-items: center;
    max-width: 800px;
    width: 100%;
    padding: 20px 0;
}

.sobre-img-wrapper {
    position: relative;
    border-radius: 12px;
    transition: var(--transition);
}

.sobre-img-wrapper img {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    display: block;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.sobre-img-center {
    transform: scale(1.15);
    z-index: 2;
}

.sobre-img-center img {
    box-shadow: var(--shadow-lg);
}



.sobre-img-wrapper:hover {
    z-index: 3;
}

.sobre-img-wrapper:hover img {
    transform: scale(1.05);
}

/* =========================================
   Produtos Section
========================================= */
.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.produto-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.card-img {
    height: 220px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.produto-card:hover .card-img img {
    transform: scale(1.1);
}

.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h3 {
    color: var(--color-blue);
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.card-content p {
    color: var(--color-text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

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

/* =========================================
   Servicios Section
========================================= */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* =========================================
   Diferenciais Section
========================================= */
.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.dif-item {
    text-align: center;
    padding: 30px;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.dif-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--color-red);
}

.icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(0, 56, 168, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--color-blue);
    transition: var(--transition);
}

.dif-item:hover .icon-box {
    background: var(--gradient-blue);
    color: var(--color-white);
}

.dif-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* =========================================
   Marcas Section
========================================= */
.marcas-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.marca-item {
    background: var(--color-white);
    padding: 20px 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-width: 150px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.marca-img {
    max-width: 120px;
    max-height: 80px;
    object-fit: contain;
}

.marca-item h3 {
    font-size: 1.5rem;
    color: var(--color-dark);
    margin: 0;
    letter-spacing: 2px;
}

.marca-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

/* =========================================
   Depoimentos Section
========================================= */
.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.depoimento-card {
    background: var(--color-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    position: relative;
    border-top: 4px solid var(--color-blue);
}

.depoimento-card::before {
    content: '\201C';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 5rem;
    color: rgba(0, 56, 168, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.stars {
    color: #FFD700;
    margin-bottom: 15px;
}

.quote {
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.author {
    font-weight: 700;
    color: var(--color-blue);
}

/* =========================================
   CTA Section
========================================= */
#cta {
    background: var(--gradient-blue);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Detalhe vermelho */
#cta::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--gradient-red);
    border-radius: 50%;
    opacity: 0.8;
}

#cta::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: var(--gradient-red);
    border-radius: 50%;
    opacity: 0.5;
}

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

.cta-content h2 {
    color: var(--color-white);
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* =========================================
   Footer
========================================= */
#footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
    background: white;
    padding: 5px;
    border-radius: 4px;
}

.brand-col p {
    color: #bbb;
    margin-bottom: 20px;
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--color-white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--color-red);
    transform: translateY(-3px);
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--color-red);
}

.contact-info li,
.hours-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    color: #bbb;
}

.contact-info i {
    color: var(--color-red);
    margin-top: 5px;
}

.hours-info span {
    font-weight: 600;
    color: var(--color-white);
    min-width: 140px;
    display: inline-block;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #888;
    font-size: 0.9rem;
}

/* =========================================
   Animações
========================================= */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* =========================================
   Responsividade
========================================= */
@media (max-width: 992px) {
    #hero h1 { font-size: 3rem; }
    .diferenciais-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background: var(--color-white);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        padding: 80px 20px 20px;
        transition: 0.4s ease;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu a {
        color: var(--color-dark);
        font-size: 1.1rem;
    }
    
    .mobile-toggle {
        display: block;
        z-index: 1001;
    }
    
    .header-btn {
        display: none; /* Hide on small screens to save space */
    }
}

@media (max-width: 768px) {
    #hero h1 { font-size: 2.5rem; }
    .diferenciais-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .section { padding: 60px 0; }
    .cta-content h2 { font-size: 2.2rem; }
}
