/* ========================================
   ColorPrime - Fábrica de Tintas
   Estilos Principais
   ======================================== */

/* ---- CSS Variables ---- */
:root {
    --primary: #1E88E5;
    --primary-dark: #1565C0;
    --primary-light: #42A5F5;
    --secondary: #FF6F00;
    --secondary-dark: #E65100;
    --accent: #00ACC1;
    
    --text-dark: #1a1a2e;
    --text-medium: #4a4a68;
    --text-light: #6b6b8b;
    --text-muted: #9a9ab5;
    
    --bg-white: #ffffff;
    --bg-light: #f8f9fc;
    --bg-cream: #faf8f5;
    --bg-dark: #1a1a2e;
    
    --border: #e8e8f0;
    --border-light: #f0f0f8;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ---- Container ---- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.header-spacer {
    height: 72px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--primary);
}

.logo img {
    height: 80px;
    width: auto;
}

/* ---- Navegação Desktop ---- */
.nav-desktop {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-medium);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(30, 136, 229, 0.08);
}

/* ---- Menu Mobile ---- */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    padding: 16px 24px;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    gap: 4px;
}

.nav-mobile .nav-link {
    padding: 12px 16px;
}

.nav-mobile.active {
    display: flex;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 136, 229, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), #FF8F00);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 111, 0, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 111, 0, 0.4);
}

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

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

.btn-sm {
    padding: 10px 24px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 18px 48px;
    font-size: 1.05rem;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-badge svg {
    width: 18px;
    height: 18px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 36px;
    line-height: 1.7;
}

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

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.stat-item h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.stat-item p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin: 0;
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(30, 136, 229, 0.08);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.section-dark {
    background: var(--bg-dark);
}

.section-dark .section-title {
    color: white;
}

.section-dark .section-subtitle {
    color: rgba(255,255,255,0.7);
}

/* ========================================
   FEATURES GRID
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 40px 32px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   SIMULADOR PREVIEW
   ======================================== */
.simulador-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.simulador-preview-img {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.simulador-preview-img img {
    width: 100%;
    display: block;
}

.simulador-preview-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    background: var(--secondary);
    color: white;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.simulador-preview-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.simulador-preview-content p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.color-dots {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.color-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: var(--transition);
}

.color-dot:hover {
    transform: scale(1.15);
}

/* ========================================
   CATÁLOGO DE CORES
   ======================================== */
.cores-filter {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: white;
    color: var(--text-medium);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.cores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 24px;
}

.cor-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
}

.cor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.cor-swatch {
    height: 120px;
    position: relative;
}

.cor-info {
    padding: 16px;
}

.cor-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.cor-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: monospace;
}

.cor-preco {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 8px;
}

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

.produto-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.produto-img {
    height: 260px;
    background: linear-gradient(135deg, var(--bg-light), var(--bg-cream));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 15px;
}

.produto-img svg {
    width: 80px;
    height: 80px;
    opacity: 0.2;
}

.produto-img img{
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center;
    display:block;
}

.produto-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.produto-info {
    padding: 24px;
}

.produto-info h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.produto-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.produto-preco {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.produto-preco small {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* ========================================
   BLOG
   ======================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

.blog-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-img {
    height: 220px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.blog-img svg {
    width: 60px;
    height: 60px;
    color: rgba(255,255,255,0.3);
}

.blog-img .blog-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    background: rgba(255,255,255,0.95);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-content {
    padding: 28px;
}

.blog-content h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.blog-meta a {
    color: var(--primary);
    font-weight: 600;
}

/* Post Individual */
.post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 0;
}

.post-content h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.post-content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 32px 0 16px;
}

.post-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 24px 0 12px;
}

.post-content p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 16px;
}

.post-content ul,
.post-content ol {
    margin: 16px 0;
    padding-left: 24px;
    color: var(--text-medium);
}

.post-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

/* ======================================================
   SIMULADOR NOVO - MÁSCARAS PNG
====================================================== */

.simulador-canvas{
    position:relative;
    overflow:hidden;
    border-radius:16px;
}

.ambiente-base{
    display:block;
    width:100%;
    height:auto;
    position:relative;
    z-index:1;
}

/* Camadas das paredes */

.wall-layer{
    position:absolute;
    inset:0;

    background:#f5f5f0;

    pointer-events:none;

    z-index:2;

    transition:
        background-color .35s ease,
        opacity .35s ease;


    opacity:.55;
}

/* Parede Fundo */

.wall-fundo{

    -webkit-mask-image:url('../images/masks/parede-fundo.png');
    mask-image:url('../images/masks/parede-fundo.png');

    -webkit-mask-size:contain;
    mask-size:contain;

    -webkit-mask-repeat:no-repeat;
    mask-repeat:no-repeat;

    -webkit-mask-position:center top;
    mask-position:center top;
}

/* Parede Esquerda */

.wall-esquerda{

    -webkit-mask-image:url('../images/masks/parede-esquerda.png');
    mask-image:url('../images/masks/parede-esquerda.png');

    -webkit-mask-size:contain;
    mask-size:contain;

    -webkit-mask-repeat:no-repeat;
    mask-repeat:no-repeat;

    -webkit-mask-position:center top;
    mask-position:center top;
}

/* Parede Direita */

.wall-direita{

    -webkit-mask-image:url('../images/masks/parede-direita.png');
    mask-image:url('../images/masks/parede-direita.png');

    -webkit-mask-size:contain;
    mask-size:contain;

    -webkit-mask-repeat:no-repeat;
    mask-repeat:no-repeat;

    -webkit-mask-position:center top;
    mask-position:center top;
}

/* Destaque da parede selecionada */

.wall-option.active{
    background:var(--primary);
    color:#fff;
}

/* Cor selecionada */

.color-item.active{
    transform:scale(1.08);
    border:3px solid #fff;
    box-shadow:0 0 0 2px var(--primary);
}

/* Mobile */

@media(max-width:768px){

    .wall-layer{
        opacity:.75;
    }

}

/* ========================================
   SIMULADOR DE AMBIENTES
   ======================================== */
.simulador-container {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    min-height: 70vh;
}

.simulador-canvas {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--bg-light);
}

.simulador-canvas img {
    width: 100%;
    height:auto;
    object-fit:unset;
    display: block;
}

/* Parede selecionada */
.wall-selector {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    z-index: 20;
}

.wall-option {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    background: var(--bg-light);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
    color: var(--text-medium);
}

.wall-option:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.wall-option.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Painel de Controles */
.simulador-controls {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 80vh;
}

.controls-header {
    padding: 24px;
    border-bottom: 1px solid var(--border);
}

.controls-header h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.controls-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.controls-search {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
}

.controls-search input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.controls-search input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

.controls-tabs {
    display: flex;
    gap: 4px;
    padding: 12px 24px;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    flex-shrink: 0;
}

.tab-btn {
    padding: 8px 14px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: white;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition);
    color: var(--text-medium);
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.controls-colors {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

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

.color-item {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    border: 2px solid transparent;
}

.color-item:hover {
    transform: scale(1.08);
    border-color: var(--text-dark);
}

.color-item.active {
    border-color: var(--text-dark);
    box-shadow: 0 0 0 2px white, 0 0 0 4px var(--text-dark);
}

.color-item .tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    padding: 6px 10px;
    background: var(--text-dark);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 30;
}

.color-item:hover .tooltip {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.controls-info {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
    background: var(--bg-light);
}

.color-selected {
    display: flex;
    align-items: center;
    gap: 12px;
}

.color-selected-preview {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.color-selected-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.color-selected-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: monospace;
}

/* ========================================
   FORMS
   ======================================== */
.form-section {
    max-width: 720px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group label span {
    color: var(--secondary);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: white;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6b8b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Alertas */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.alert-success {
    background: rgba(76, 175, 80, 0.1);
    color: #2E7D32;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.alert-error {
    background: rgba(244, 67, 54, 0.1);
    color: #C62828;
    border: 1px solid rgba(244, 67, 54, 0.2);
}

.alert-warning {
    background: rgba(255, 152, 0, 0.1);
    color: #EF6C00;
    border: 1px solid rgba(255, 152, 0, 0.2);
}

.alert-info {
    background: rgba(33, 150, 243, 0.1);
    color: #1565C0;
    border: 1px solid rgba(33, 150, 243, 0.2);
}

/* ========================================
   ORÇAMENTO / CALCULADORA
   ======================================== */
.orcamento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.calculadora-box {
    background: linear-gradient(135deg, var(--bg-dark), #2a2a4a);
    color: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    position: sticky;
    top: 100px;
}

.calculadora-box h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.calculadora-box p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.calc-result {
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-top: 24px;
}

.calc-result-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.calc-result-item:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 2px solid rgba(255,255,255,0.2);
}

/* ========================================
   CONTATO
   ======================================== */
.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contato-item {
    display: flex;
    gap: 20px;
}

.contato-item-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contato-item-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.contato-item h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.contato-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 300px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

/* ========================================
   QUEM SOMOS
   ======================================== */
.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.sobre-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.sobre-text h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.sobre-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.valores-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

.valor-item {
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.valor-item h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary);
}

.valor-item p {
    font-size: 0.9rem;
    margin: 0;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-bottom: 32px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid white;
    box-shadow: 0 0 0 2px var(--primary);
}

.timeline-item h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 4px;
}

.timeline-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 80px 0;
    text-align: center;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-lg);
    padding: 64px 48px;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.cta-box h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
}

.cta-box p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 36px;
}

.footer-desc {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

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

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-text {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.footer-form {
    display: flex;
    gap: 8px;
}

.footer-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.05);
    color: white;
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
}

.footer-input::placeholder {
    color: rgba(255,255,255,0.4);
}

.footer-btn {
    padding: 12px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.footer-btn:hover {
    background: var(--primary-light);
}

.footer-bottom {
    margin-top: 64px;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .contato-grid,
    .sobre-content,
    .simulador-preview {
        grid-template-columns: 1fr;
    }
    
    .orcamento-grid {
        grid-template-columns: 1fr;
    }
    
    .calculadora-box {
        position: static;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .header-spacer {
        height: 64px;
    }
    
    .hero {
        min-height: auto;
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .simulador-container {
        grid-template-columns: 1fr;
    }
    
    .simulador-controls {
        max-height: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cta-box h2 {
        font-size: 1.8rem;
    }
    
    .cta-box {
        padding: 40px 24px;
    }
    
    .features-grid,
    .produtos-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .cores-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .cores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .color-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .valores-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Scrollbar styling */
.controls-colors::-webkit-scrollbar {
    width: 6px;
}

.controls-colors::-webkit-scrollbar-track {
    background: transparent;
}

.controls-colors::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

.controls-colors::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}