/* ESTILOS DA PÁGINA DE CORES REVCRYL */
:root {
    --primary: #0284c7;
    --primary-dark: #0369a1;
    --dark: #0f172a;
    --gray-bg: #f8fafc;
    --border: #e2e8f0;
}

body {
    font-family: 'Inter', sans-serif;
    color: #334155;
    margin: 0;
    padding: 0;
}

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

.section-padding {
    padding: 80px 0;
}

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

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

/* 1. HERO SECTION */
.hero-cores {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 80px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.badge-tag {
    background: rgba(2, 132, 199, 0.2);
    color: #38bdf8;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.btn-secondary {
    border: 1px solid #475569;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #334155;
}

.hero-img-box {
    text-align: center;
}

.img-leque {
    max-width: 100%;
    max-height: 520px;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.img-leque:hover {
    transform: rotate(0deg) scale(1.02);
}

/* 2. LEQUE DIGITAL */
.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.section-title p {
    color: #64748b;
    margin-bottom: 40px;
}

.familias-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn-familia {
    background: #f1f5f9;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-familia.active, .btn-familia:hover {
    background: var(--primary);
    color: #fff;
}

.simulador-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
}

.preview-parede {
    height: 380px;
    border-radius: 12px;
    background-color: #f1f5f9;
    display: flex;
    align-items: flex-end;
    padding: 25px;
    transition: background-color 0.4s ease;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.15);
}

.preview-overlay {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: 20px;
    border-radius: 10px;
    width: 100%;
}

.preview-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 700;
}

.preview-overlay h3 {
    margin: 4px 0;
    font-size: 1.4rem;
    color: var(--dark);
}

.preview-overlay p {
    margin: 0 0 15px 0;
    font-size: 0.85rem;
    color: #64748b;
}

.btn-cotar-cor {
    background-color: #25d366;
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}



.paleta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 12px;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 5px;
}

.swatch-item {
    height: 80px;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.2s ease, border-color 0.2s ease;
    position: relative;
}

.swatch-item:hover, .swatch-item.active {
    transform: scale(1.05);
    border-color: var(--dark);
}

/* 3. GALERIA DE TEXTURAS */
.texturas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.textura-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.textura-card:hover {
    transform: translateY(-5px);
}

.textura-img-wrapper {
    height: 180px;
    position: relative;
    background: #e2e8f0;
}

.textura-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--dark);
    color: #fff;
    font-size: .7rem;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
}

/* Simulação de efeitos via gradientes CSS */
.textura-simulada {
    width: 100%;
    height: 100%;
}

.cimento-queimado {
    background: linear-gradient(135deg, #8d99ae 0%, #4a5568 50%, #2d3748 100%);
    filter: contrast(110%);
}

.grafiato {
    background: repeating-linear-gradient(45deg, #d6d3d1, #d6d3d1 4px, #a8a29e 4px, #a8a29e 8px);
}

.projetado {
    background: radial-gradient(circle, #78716c 20%, transparent 20%), #a8a29e;
    background-size: 10px 10px;
}

.fosco-acetinado {
    background: linear-gradient(180deg, #f1f5f9 0%, #cbd5e1 100%);
}

.textura-info {
    padding: 20px;
}

.textura-info h3 {
    margin: 0 0 8px 0;
    color: var(--dark);
}

.textura-info p {
    font-size: 0.90rem;
    color: #64748b;
    margin-bottom: 12px;
}

.textura-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: #475569;
}

.textura-info li {
    margin-bottom: 4px;
}

.textura-info i {
    color: #10b981;
    margin-right: 6px;
}

/* BANNER CTA */
.banner-custom-color {
    background: #008729;
    background: linear-gradient(90deg, rgba(0, 135, 41, 1) 0%, rgba(0, 96, 222, 1) 63%, rgba(62, 34, 117, 1) 100%);
    padding: 60px 0;
}

.banner-custom-color h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--dark);
}
.banner-custom-color p {
    color: var(--dark);
    font-size: 1.1rem;
}


.btn-whatsapp-lg {
    background: #25d366;
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 1.1rem;
    
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .hero-grid, .simulador-box {
        grid-template-columns: 1fr;
    }
}
/* Fixa a altura da imagem e esconde o que passar */
.textura-img-wrapper {
    height: 200px;
    width: 100%;
    position: relative;
    background-color: #e2e8f0;
    overflow: hidden;
}

/* Força a imagem a preencher exatamente os 200px sem esticar o card */
.textura-img-real {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Garante que o texto fique sempre visível abaixo da imagem */
.textura-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}