/* Variáveis de Cores (High-Contrast Modern - Mantidas) */
:root {
    --primary-color: var(--color-primary, #007bff); /* Azul Profundo */
    --accent-color: #ff5722; /* Laranja/Vermelho para Destaques e Ação (CTA) */
    --secondary-color: #0056b3; /* Azul Escuro */
    --background-color: var(--color-bg, #f4f6f9); /* Fundo muito claro e suave */
    --card-background: var(--color-surface, #ffffff); /* Branco Puro para Cards */
    --text-color: var(--color-text, #1c2a38); /* Texto Escuro */
    --light-text-color: #6c757d; /* Texto Secundário */
    --border-color: var(--border-color, #e9ecef);
    --shadow-subtle: 0 6px 15px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 15px 50px rgba(0, 0, 0, 0.4); /* Adicionado para a Hero */
}

/* Base Styles e Tipografia */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    max-width: 1280px; 
    margin: 0 auto;
    padding: 0 25px;
}

h1, h2, h3 {
    font-weight: 900;
    line-height: 1.2;
}

h2 {
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    text-align: center;
    color: var(--text-color); 
}

/* --- Botão Global (Ação) --- */
.btn-submit, .product-info button {
    background-color: var(--accent-color); 
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4); 
}

.btn-submit:hover, .product-info button:hover {
    background-color: #e64a19;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.6);
}


/* ---------------------------------------------------------------------- */
/* --- 1. SEÇÃO DE TÍTULO/HERO OUSADA (Aprimorada) --- */
/* ---------------------------------------------------------------------- */
.title {
    /* Gradiente com cores originais, mas estilo mais agressivo */
    background: linear-gradient(145deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    padding: 150px 0; /* Mais altura */
    text-align: center;
    margin-bottom: 60px;
    margin-top: -20px; /* Sobreposição sutil */
    box-shadow: var(--shadow-heavy); /* Sombra pesada */
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); /* Onda suave */
}

.title h1 {
    font-size: 6rem; /* Título gigante */
    letter-spacing: 6px; /* Espaçamento premium */
    margin-bottom: 1.5rem; 
    color: white; 
    text-shadow: 0 5px 10px rgba(0, 0, 0, 0.5); /* Sombra para destaque */
}

.title p {
    font-size: 1.8rem; /* Descrição maior */
    font-weight: 300;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.9);
    max-width: 900px;
    margin: 1rem auto 30px; /* Espaço para o botão CTA */
}

/* Botão CTA da Seção Hero (Requer que você adicione a tag <a> no HTML) */
.btn-hero-cta {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 18px 40px; 
    border-radius: 50px; 
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.6);
}

.btn-hero-cta:hover {
    background-color: #e64a19;
    transform: scale(1.05) translateY(-5px); 
    box-shadow: 0 10px 30px rgba(255, 87, 34, 0.8);
}

.btn-hero-cta i {
    margin-left: 10px;
    font-size: 0.9em;
}


/* ---------------------------------------------------------------------- */
/* --- 2. SEÇÃO DE PRODUTOS --- (Seus estilos) */
/* ---------------------------------------------------------------------- */
.product-list {
    padding: 20px 0 80px;
}

.product-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 40px; 
}

/* Card de Produto REAL (.product) */
.product {
    background-color: var(--card-background);
    border-radius: 20px; 
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-subtle);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.product:hover {
    transform: scale(1.02); 
    box-shadow: var(--shadow-hover);
}

.product img {
    width: 100%;
    height: auto; /* Mantém 250px para telas grandes */
    object-fit: cover; 
    display: block;
    transition: transform 0.5s ease;
}

.product-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.product-info h3 {
    font-size: 1.8rem; 
    margin-bottom: 0.5rem;
}

.product-info p {
    font-size: 1.05rem;
    margin-bottom: 15px;
}

.product-info .price {
    font-size: 2.8rem; 
    font-weight: 900;
    color: var(--accent-color); 
    margin-top: 25px;
    margin-bottom: 25px;
}

.product-info button {
    width: 100%;
    padding: 16px; 
    border-radius: 12px;
}

.product-info button.btn-add-cart {
  width: auto;
}


/* --- SKELETON LOADER (Ajustado) --- */
@keyframes pulse-bg {
    /* Cor de Base (Mais Clara) */
    0% { 
        /* Mistura sua cor de fundo com 10% de branco para um tom mais suave */
        background-color: color-mix(in srgb, var(--background-color) 90%, white); 
    }
    
    /* Cor de Pulso (Mais Escura) */
    50% { 
        /* Mistura sua cor de fundo com 15% de preto para um tom mais forte */
        background-color: color-mix(in srgb, var(--background-color) 85%, black); 
    }
    
    /* Retorna à Cor de Base */
    100% { 
        background-color: color-mix(in srgb, var(--background-color) 90%, white); 
    }
}

.product-skeleton {
    background-color: var(--color-bg);
    border-radius: 20px;
    box-shadow: var(--shadow-subtle);
    padding: 30px; 
}

.product-skeleton > div {
    animation: pulse-bg 1.5s infinite;
    border-radius: 6px;
    margin-bottom: 12px;
}

.skeleton-image {
    width: auto;
    height: 250px; 
    /* margin: -30px -30px -30px -30px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px; */
    margin-top: -30px;
    margin-left: -30px;
    margin-right: -30px;
}

.skeleton-text {
    height: 20px;
    width: 95%;
}

.skeleton-text.short {
    width: 70%;
    margin-top: 25px;
}

.skeleton-button {
    height: 48px;
    width: 100%;
    margin-top: 35px;
    border-radius: 12px; 
}


/* ---------------------------------------------------------------------- */
/* --- 3. SEÇÃO DE FEATURES --- (Seus estilos) */
/* ---------------------------------------------------------------------- */
.features-section {
    background-color: var(--card-background); 
    padding: 100px 0;
    text-align: center;
}

.features {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.feature-item {
    flex-basis: 30%;
    min-width: 300px;
    padding: 40px;
    border-radius: 16px;
    background-color: var(--background-color); 
    box-shadow: var(--shadow-subtle);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-8px);
    background-color: #e9ecef;
}

.feature-item i {
    font-size: 4rem;
    color: var(--accent-color); 
    margin-bottom: 25px;
}

.feature-item h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

/* ---------------------------------------------------------------------- */
/* --- 4. SEÇÃO DE DEPOIMENTOS --- (Seus estilos) */
/* ---------------------------------------------------------------------- */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--background-color); 
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--card-background);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-subtle);
    text-align: left;
    border-top: 5px solid var(--primary-color); 
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 10%, rgba(0, 123, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.testimonial-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.05rem;
    color: var(--text-color);
    margin-bottom: 20px;
    min-height: 50px;
}

.testimonial-card h4 {
    margin-top: 15px;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.testimonial-card .role {
    font-weight: 400;
    color: var(--light-text-color);
    font-size: 0.9rem;
}

/* ---------------------------------------------------------------------- */
/* --- 5. SEÇÃO DE CONTATO --- (Seus estilos) */
/* ---------------------------------------------------------------------- */
.contact-section {
    background-color: var(--secondary-color); 
    padding: 100px 0;
    text-align: center;
    color: white;
}

.contact-section h2 {
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.contact-section p {
    color: rgba(255, 255, 255, 0.9);
}

.contact-form {
    max-width: 600px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 18px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.9); 
    color: var(--text-color);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--light-text-color);
}

.contact-form input:focus,
.contact-form textarea:focus {
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.5);
    outline: none;
}

.contact-section .btn-submit { 
    background-color: white; 
    color: var(--primary-color);
    font-weight: 900;
    box-shadow: none;
    margin-top: 20px;
}
.contact-section .btn-submit:hover {
    background-color: #f0f0f0;
    color: var(--secondary-color);
}


/* ---------------------------------------------------------------------- */
/* --- Media Queries (Ajustadas para a Hero) --- */
/* ---------------------------------------------------------------------- */
@media (max-width: 992px) {
    .title h1 {
        font-size: 4rem; /* Ajustado */
        letter-spacing: 3px; /* Adicionado */
    }
    .title p {
        font-size: 1.4rem;
    }
    .product-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    }
}

@media (max-width: 768px) {
    .title {
        padding: 80px 0;
        margin-bottom: 40px;
    }
    .title h1 {
        font-size: 3rem; /* Ajustado */
        letter-spacing: 2px; /* Adicionado */
    }
    .title p {
        font-size: 1.1rem;
        margin-bottom: 20px; /* Ajuste para o botão CTA */
    }
    h2 {
        font-size: 2.2rem;
    }
    
    .product-container, .testimonials-grid {
        grid-template-columns: 1fr; 
        gap: 30px;
    }

    /* .product img {
        height: 200px; Diminui para 200px em tablets
    } */

    .feature-item {
        min-width: 90%;
    }
}

@media (max-width: 480px) {
    /* ... (outros estilos) ... */

    /* .product img {
        height: 150px; Diminui para 150px em celulares, liberando espaço 
    } */
}
