@import 'base.css';

/* Modelo 3 Specific Styles (Light Theme) */
:root {
    --primary-color: #ff0000;
    --secondary-color: #000000;
    --background: #ffffff;
    --background-alt: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(0, 0, 0, 0.05);
}

body {
    color: var(--text-primary);
    background-color: var(--background);
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.5rem 0;
    backdrop-filter: blur(10px);
}

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

.btn-red {
    background: var(--primary-color);
    color: #fff;
}

.btn-red:hover {
    background: #cc0000;
}

.card {
    background: #ffffff;
    padding: 2.5rem 2rem;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 24px;
    box-shadow: none; /* Shadow removed */
    transition: none; /* Hover animation removed */
    border: 1px solid #e2e8f0; /* Discrete border */
}

.card-icon {
    width: 80px;
    height: 80px;
    background: #f8fafc;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 1px solid #f1f5f9;
}

.card-hover:hover {
    transform: none; /* Hover effect removed */
    box-shadow: none; /* Hover effect removed */
}

.testimonial-card {
    padding: 2rem;
    min-height: auto;
    align-items: flex-start;
    text-align: left;
}

@media (max-width: 768px) {
    .card {
        min-height: auto;
        padding: 2rem;
    }
}

.numeros {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.numeros::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1;
}

.stats-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
}

/* Brands Carousel */
.marcas {
    position: relative;
}

/* Efeito de fade nas bordas do carrossel */
.marcas::before,
.marcas::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marcas::before {
    left: 0;
    background: linear-gradient(to right, #E6E6E6, transparent);
}

.marcas::after {
    right: 0;
    background: linear-gradient(to left, #E6E6E6, transparent);
}

.brands-carousel {
    display: flex;
    overflow-x: hidden; /* Esconde a barra para o auto-scroll */
    gap: 80px; /* Mais espaço entre marcas */
    padding: 40px 0;
    align-items: center;
    cursor: grab;
    user-select: none;
    white-space: nowrap;
}

.brands-carousel.active {
    cursor: grabbing;
}

.brands-carousel img {
    flex: 0 0 auto;
    max-height: 35px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

/* No hover effect requested, but keeping it clean */
.brands-carousel img:hover {
    opacity: 0.6; 
}

@media (max-width: 768px) {
    .brands-carousel {
        gap: 50px;
    }
    .marcas::before, .marcas::after {
        width: 50px;
    }
}

.footer {
    background: #252222;
    padding: 60px 0;
    color: #94a3b8;
}

.hero-pdf {
    background: url('../img/banner topo inicial imagem.webp') center/cover no-repeat;
    color: #fff;
    padding: 0;
    min-height: 600px;
    display: flex;
    align-items: stretch;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
}

.hero-col-1 {
    position: relative;
    padding: 80px 100px 80px 40px;
    /* Top, Right=100px (maior recuo evitar vazar), Bottom, Left */
    display: flex;
    flex-direction: column;
    gap: 25px;
    justify-content: center;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 50vw;
    /* Metade cravada da tela */
    height: 100%;
    z-index: 0;
    pointer-events: none;
    display: flex;
    justify-content: flex-end;
    /* Justifica a imagem perfeitamente à direita do container (centro do site) */
    overflow: hidden;
    /* Corta apenas o que vazar da esquerda da tela, o que já era invisível */
}

.hero-forma {
    height: 100%;
    width: auto;
    max-width: none;
    /* Deixa crescer livremente na largura */
    object-fit: contain;
    /* Não distorce nem corta forçadamente */
    object-position: right center;
    pointer-events: none;
}

.hero-col-1-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-image-container {
        width: 100vw;
    }

    .hero-forma {
        object-position: center;
    }
}

/* Mobile Hero Behavior */
@media (max-width: 768px) {
    .hero-pdf {
        background: url('../img/banner-topo-inicial-2.webp') center top / cover no-repeat;
        min-height: 850px; /* Increased height to accommodate two rows better */
        display: flex;
        flex-direction: column;
    }

    .hero-image-container {
        display: none !important;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr; /* Divide into two rows */
        gap: 0;
        flex: 1;
    }

    .hero-col-1 {
        padding: 40px 20px;
        justify-content: flex-start; /* Justify text at the top */
        height: auto;
    }

    .hero-col-1-content {
        gap: 20px;
    }

    .hero-pdf h1 {
        font-size: 1.8rem !important;
    }

    .hero-pdf h2 {
        font-size: 1.1rem !important;
    }
}

.section-title {
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

h1,
h2 {
    font-weight: 300 !important;
    line-height: 1.15;
}

h1 strong,
h2 strong {
    font-weight: 500 !important;
}

h2 {
    font-size: 2.1rem;
}

p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.card,
.testimonial-card {
    justify-content: flex-start !important;
}

.numeros::before {
    display: none !important;
}

.stat-image-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 5rem 2rem 5rem 2rem;
    /* Mais espaçamento no topo para abaixar o texto dentro da imagem */
    min-height: 250px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.stat-image-card h3 {
    font-size: 2.0rem;
    /* Diminuindo de 3.5rem */
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1;
}

.stat-image-card p {
    font-size: 0.95rem;
    /* Diminuindo de 1.1rem */
    color: #ffffff;
    margin: 10px 0 0 0;
    line-height: 1.2;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #1e293b;
}

.less-suppliers {
    padding: 100px 0;
    text-align: center;
    background: #f8fafc;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.gallery-section {
    width: 100%;
    display: block;
}

.gallery-section img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    box-shadow: none;
}

.about-section {
    padding: 100px 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.connect-section {
    background: #f5f5f5;
    padding: 100px 0;
}

.connect-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.step-list {
    list-style: none;
    padding: 0;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    background: #fff;
    padding: 20px 30px;
    border-radius: 20px;
    border: 1px solid #e2e8f0; /* Discrete border to match cards */
}

.step-item:hover {
    transform: none;
    box-shadow: none;
}

.step-number {
    background: red;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}

.btn-red {
    background: red;
    color: #fff;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 700;
}

.btn-red:hover {
    background: #cc0000;
}

.btn-black {
    background: #262125;
    color: #fff;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 700;
}

.btn-black:hover {
    background: #110e11;
}

@media (max-width: 992px) {
    .hide-mobile {
        display: none !important;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        justify-content: space-between !important;
    }

    .about-container,
    .connect-grid,
    .gallery-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}