@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap");

/* --- Variáveis CSS (Cores e Fontes) --- */
:root {
    --primary-color: #10263e; /* Azul Escuro da Lira */
    --secondary-color: #ffb20f; /* Laranja/Amarelo de Destaque */
    --text-color-dark: #333;
    --text-color-light: #fff;
    --bg-light: #f7f4e9; /* Fundo mais claro, próximo ao original */
    --bg-medium: #f2f2f2; /* Cinza claro para seções */
    --card-bg: #fff;
    --font-poppins: 'Poppins', sans-serif;
}

/* --- Reset Básico e Estilos Globais --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 1rem = 10px */
}

body {
    font-family: var(--font-poppins);
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--bg-medium);
    font-size: 1.6rem;
}

/* Classe para impedir rolagem em mobile quando o menu está aberto */
body.no-scroll {
    overflow: hidden;
}

/* --- Seções Gerais --- */
.page-section {
    padding: 8rem 0;
    text-align: center;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Título de seção aprimorado */
.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-color-light); /* Texto branco */
    margin-bottom: 4rem;
    text-align: center;
    padding: 1.5rem 3rem;
    /* Gradiente mais nítido */
    background-image: linear-gradient(90deg, var(--primary-color), #0b1a29);
    border-radius: 1rem;
    display: inline-block;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); /* Sombra para profundidade */
}

.section-title span {
    color: var(--secondary-color); /* Destaque em amarelo/laranja */
}

h3 {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

b {
    color: var(--primary-color);
}

p {
    margin-bottom: 1.5rem;
}

/* --- Botões: Sombra e Hover mais agressivo --- */
.btn {
    display: inline-block;
    margin-top: 3rem;
    padding: 1.2rem 3rem;
    background: var(--primary-color);
    color: var(--text-color-light);
    font-weight: 700; /* Mais peso */
    letter-spacing: 0.1rem;
    text-decoration: none;
    border-radius: 4rem;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out, color 0.3s ease;
    box-shadow: 0 0.4rem 0.6rem rgba(0, 0, 0, 0.2);
}

.btn:hover {
    transform: translateY(-0.8rem) scale(1.05);
    background-color: var(--secondary-color); /* Mude o background no hover */
    color: var(--primary-color); /* Cor do texto no hover */
}

/* Botão do WhatsApp na Hero com ícone */
.whatsapp-btn {
    background: #25d366; /* Cor do WhatsApp */
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    font-size: 1.7rem;
}

.whatsapp-btn:hover {
    background-color: #1faa58;
    color: var(--text-color-light);
}

.whatsapp-btn i {
    font-size: 2.4rem;
}

/* --- Header (Navegação) - FIXED --- */
.main-header {
    position: fixed; /* Mudei para FIXED */
    top: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 10rem; /* Menos padding */
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
    background-color: var(--bg-light); /* Adiciona fundo para não ser transparente */
    box-shadow: 0 0.2rem 0.5rem rgba(0,0,0,0.1); /* Sombra sutil */
}

.main-header .logo img {
    max-width: 5.5rem; /* Um pouco maior */
    transition: transform 0.3s ease;
}

.main-header .logo img:hover {
    transform: scale(1.1);
}

.navigation ul {
    display: flex;
    list-style: none;
}

.navigation ul li {
    margin-left: 4rem; /* 40px */
}

.navigation ul li a {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    font-size: 1.8rem;
    transition: color 0.3s ease;
}

.navigation ul li a:hover,
.navigation ul li a.active {
    color: var(--secondary-color);
}

/* --- Hamburger Menu (Mobile) --- */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 101;
}

.hamburger-menu span {
    height: 0.3rem;
    width: 2.8rem; /* Mais largo */
    background-color: var(--primary-color);
    margin: 0.4rem 0;
    border-radius: 0.2rem;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(0.7rem) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-0.7rem) rotate(-45deg);
}

/* --- Hero Section (Landing Page) --- */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 10rem;
    padding-top: 15rem; /* Compensa o header fixo */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-light);
    overflow: hidden;
}

.background-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    clip-path: circle(50% at bottom right);
}

.hero-content {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1;
}

.hero-content .text-content {
    max-width: 60rem;
    margin-right: 2rem;
    /* COR PADRÃO: Azul Escuro (Funciona bem com fundo BG-LIGHT) */
    color: var(--primary-color); 
}

/* Título principal (H1) Aprimorado */
.main-title {
    font-size: 5.5rem;
    margin-bottom: 1rem;
    line-height: 1.2em;
    font-weight: 800;
    color: var(--primary-color); /* COR PADRÃO: Azul Escuro */
    text-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.1);
}

.main-title span {
    font-size: 7.5rem;
    color: var(--secondary-color); /* Destaque em amarelo/laranja */
    display: block;
    line-height: 0.9em;
}

.hero-content .text-content p {
    color: var(--primary-color); /* COR PADRÃO: Azul Escuro */
    font-size: 1.8rem;
    line-height: 1.8;
}

.hero-image {
    position: relative;
    width: 45rem;
    height: 40rem;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transform: scale(1.1);
}

/* Ícones Sociais (com suas imagens - CORREÇÃO DE TAMANHO APLICADA) */
.social-icons {
    position: absolute;
    bottom: 4rem;
    left: 9rem;
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    z-index: 1;
}

.social-icons li {
    margin-right: 2rem;
}

.social-icons li a {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--primary-color);
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.social-icons li a:hover {
    background: var(--secondary-color);
    transform: translateY(-0.8rem);
}

.social-icon-img {
    width: 50%; 
    height: 50%; 
    object-fit: contain;
    filter: invert(1); /* Deixa a imagem branca (se ela for escura) */
    transition: filter 0.3s ease;
}

.social-icons li a:hover .social-icon-img {
    filter: none; /* Remove o filtro no hover, mostrando a cor original da imagem */
}

/* --- Nossos Serviços - Embalagem --- */
.service-block {
    background-color: var(--bg-light);
    padding: 4rem;
    border-radius: 1.5rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.05);
    margin-bottom: 4rem;
    text-align: left;
}

.service-block h3 {
    text-align: center;
    margin-bottom: 3rem;
}

/* Cards de Benefícios */
.packaging-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    margin-bottom: 4rem;
}

.benefit-card {
    position: relative;
    border: 0.2rem solid var(--primary-color);
    border-radius: 1rem;
    padding: 3rem 2rem 2rem;
    font-size: 1.5rem;
    text-align: left;
    background-color: var(--card-bg);
    box-shadow: 0 0.2rem 0.5rem rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
}

.benefit-card .card-title {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-image: linear-gradient(90deg, var(--secondary-color), #f7a30b);
    color: var(--text-color-light);
    border-radius: 1rem;
    font-size: 1.7rem;
    white-space: nowrap;
    font-weight: 600;
}

.packaging-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
}

.packaging-images img {
    width: 100%;
    max-width: 30rem;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.packaging-images img:hover {
    transform: scale(1.05);
}

/* --- Carrossel de Serviços --- */
.carousel-wrapper {
    max-width: 60rem;
    margin: 4rem auto;
    position: relative;
    padding: 2rem;
    background-color: var(--card-bg);
    border-radius: 1.5rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.08);
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 1rem;
}

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 1rem;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 1rem;
}

.prev-slide, .next-slide {
    background-color: rgba(16, 38, 62, 0.7);
    color: var(--text-color-light);
    font-size: 3rem;
    padding: 0.5rem 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.prev-slide:hover, .next-slide:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.carousel-bullets {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.bullet {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background-color: #bbb;
    margin: 0 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.bullet.active {
    background-color: var(--primary-color);
}

/* --- Nossa Frota --- */
.vehicle-card {
    background-color: var(--bg-light);
    padding: 4rem;
    border-radius: 1.5rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.05);
    margin-bottom: 4rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vehicle-card img {
    max-width: 40rem;
    height: auto;
    margin-bottom: 2rem;
    object-fit: contain;
}

.vehicle-card h3 {
    text-align: center;
    margin-top: 0;
}

/* --- Sobre Nós --- */
.intro-text {
    border-left: 0.5rem solid var(--secondary-color);
    padding: 0.5rem 1rem 1rem;
    margin-bottom: 4rem;
    text-align: left;
    font-style: italic;
    font-weight: 300;
}

.about-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.about-card {
    position: relative;
    border-radius: 1rem;
    box-shadow: 0 0 0 0.2rem var(--primary-color); 
    padding: 4rem 2rem 2rem;
    font-size: 1.5rem;
    text-align: left;
    background-color: var(--card-bg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 0 0 0.2rem var(--secondary-color); 
}

.about-card .icon-wrapper {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 1rem;
    background-color: var(--primary-color); 
    width: 7rem;
    height: 7rem;
    box-shadow: 0 0 0 0.5rem var(--bg-medium);
}

.about-card .icon-wrapper img {
    width: 60%;
    height: auto;
    object-fit: contain;
    filter: invert(1);
}

.about-final-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4rem;
}

.about-final-text p {
    max-width: 80rem;
    text-align: justify;
    margin-bottom: 3rem;
}

.featured-image {
    max-width: 100%;
    height: auto;
    border: 1rem solid var(--primary-color);
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.featured-image:hover {
    transform: scale(1.02);
}

/* --- Contato --- */
.contact-section {
    background-color: var(--bg-light);
}

.contact-section .section-title span {
    color: var(--secondary-color);
}

.contact-text, .whatsapp-number, .instagram-text, .instagram-handle {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.whatsapp-number a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 800;
    font-style: italic;
    transition: color 0.3s ease;
}

.whatsapp-number a:hover {
    color: #25d366;
}

.instagram-handle {
    color: var(--primary-color);
    font-weight: bold;
}

/* --- Footer --- */
.main-footer {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    text-align: center;
    padding: 3rem 0;
    font-size: 1.6rem;
}

/* --- Responsividade (Media Queries) --- */
@media (max-width: 1024px) {
    .main-header {
        padding: 2rem 3rem;
    }
    .navigation ul li {
        margin-left: 2.5rem;
    }
    .hero-section {
        padding: 12rem 4rem 8rem;
    }
    .hero-content .text-content {
        max-width: 50rem;
    }
    .main-title {
        font-size: 5rem;
    }
    .main-title span {
        font-size: 7rem;
    }
    
    /* [AJUSTE FINAL AQUI] Garante que o texto use o Azul Escuro (Primary) para contraste com o BG-LIGHT */
    .hero-content .text-content, 
    .hero-content .text-content h1, 
    .hero-content .text-content p {
        color: var(--primary-color); 
    }
    .main-title span {
        color: var(--secondary-color);
    }
}

@media (max-width: 992px) {
    /* Hero em coluna */
    .hero-content {
        flex-direction: column;
        text-align: center;
        margin-top: 5rem;
    }

    .hero-content .text-content {
        margin-right: 0;
        margin-bottom: 4rem;
    }

    .hero-image {
        width: 100%;
        max-width: 45rem;
    }

    .background-circle {
        clip-path: circle(70% at bottom right);
    }

    .social-icons {
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        justify-content: center;
    }

    .social-icons li {
        margin: 0 1.5rem;
    }

    .packaging-benefits-grid,
    .about-card-grid {
        grid-template-columns: 1fr;
    }

    .featured-image {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 2rem;
    }
    
    .navigation {
        display: none;
        flex-direction: column;
        position: fixed; 
        top: 0;
        right: 0;
        height: 100vh;
        width: 70%; 
        max-width: 300px;
        background-color: var(--primary-color);
        padding-top: 8rem;
        box-shadow: -0.5rem 0 1rem rgba(0,0,0,0.2);
        transition: transform 0.3s ease-in-out;
        transform: translateX(100%);
    }

    .navigation.active {
        display: flex;
        transform: translateX(0);
    }

    .navigation ul {
        flex-direction: column;
        width: 100%;
    }

    .navigation ul li {
        margin: 0;
        padding: 1.5rem 0;
        text-align: center;
        border-bottom: 0.1rem solid rgba(255,255,255,0.1);
    }

    .navigation ul li a {
        color: var(--text-color-light);
        font-size: 2rem;
    }

    .hamburger-menu {
        display: flex;
    }

    .hero-section {
        padding: 10rem 2rem 6rem;
    }

    /* [AJUSTE FINAL AQUI] No mobile (768px), o texto também usará o Azul Escuro (Primary), 
       já que o fundo é predominantemente claro. */
    .hero-content .text-content,
    .hero-content .text-content h1,
    .hero-content .text-content p {
        color: var(--primary-color); 
    }

    .main-title {
        color: var(--primary-color);
    }
    
    .main-title span {
        color: var(--secondary-color); /* LIRA sempre em destaque */
    }

    .section-title {
        font-size: 3rem;
    }

    .service-block, .vehicle-card, .about-card {
        padding: 3rem 2rem;
    }

    .about-card .icon-wrapper {
        width: 6rem;
        height: 6rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 55%;
    }

    .main-header {
        padding: 1.5rem 1rem;
    }

    .hero-section {
        padding: 8rem 1.5rem 4rem;
    }

    .whatsapp-btn {
        font-size: 1.5rem;
        padding: 1.2rem 2.5rem;
    }

    .social-icons {
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        justify-content: space-around;
    }

    .social-icons li {
        margin-right: 0;
    }

    .section-title {
        font-size: 2.6rem;
        padding: 1rem 2rem;
    }
}
