:root {
    --bg-dark: #E5D6B7;
    --bg-darker: #dbcca9;
    --text-light: #1a1a1a;
    --text-dim: #4a4a4a;
    --gold-primary: #aa8529;
    --gold-light: #8b6b1d;
    --gold-dark: #7a5c16;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #aa8529 100%);
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    --primary-color: var(--bg-dark);
    --accent-color: var(--gold-primary);
    --bg-light: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-sans); color: var(--text-light); background: var(--bg-dark); line-height: 1.6; overflow-x: hidden; }

/* Layout de Seções */
section { padding: 80px 20px; position: relative; }
.container { max-width: 1200px; margin: 0 auto; width: 100%; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col-50 { flex: 0 0 50%; max-width: 50%; padding: 0 15px; }

header { background: rgba(229, 214, 183, 0.9); backdrop-filter: blur(10px); padding: 15px 0; text-align: center; border-bottom: 1px solid rgba(170, 133, 41, 0.2); position: sticky; top: 0; z-index: 100; }
header img { max-height: 50px; display: inline-block; }

/* Hero Banner - Gradiente dourado para preencher laterais em telas grandes */
.hero { 
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.85)), url('img/tdprodutos.webp'); 
    background-position: center center, center center;
    background-repeat: no-repeat, no-repeat;
    background-size: cover, cover;
    background-color: #E5D6B7;
    color: #ffffff; text-align: center; padding: 120px 20px 100px; 
}
.hero h1 { font-family: var(--font-serif); font-size: 3.2rem; margin-bottom: 20px; font-weight: 700; color: #d4af37; text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6); }
.hero p { font-size: 1.25rem; max-width: 850px; margin: 0 auto 40px; color: #e0e0e0; }

/* Botões */
.btn-cta { 
    display: inline-block; 
    background: var(--gold-gradient); 
    color: #111111; 
    padding: 18px 45px; 
    font-weight: 700; 
    text-decoration: none; 
    border-radius: 8px; 
    text-transform: uppercase; 
    font-size: 1.1rem; 
    letter-spacing: 1px; 
    transition: all 0.3s ease; 
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3); 
    border: none; 
    cursor: pointer; 
    text-align: center; 
}
.btn-cta:hover { 
    transform: scale(1.02); 
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5); 
    background: #ffffff; 
    color: #111111; 
}

/* Bloco de Investimento Inicial */
.investimento-box { background: var(--bg-light); text-align: center; border-bottom: 2px solid var(--accent-color); border-top: 1px solid rgba(170, 133, 41, 0.1); padding: 80px 20px; }
.investimento-box h3 { font-family: var(--font-serif); font-size: 2rem; color: var(--text-light); margin-bottom: 10px; }
.tag-valor { display: inline-block; background: #111111; color: var(--gold-light); padding: 8px 20px; border-radius: 8px; font-size: 1.1em; font-weight: 800; margin: 0 5px; box-shadow: 0 8px 20px rgba(0,0,0,0.15); border: none; }
.investimento-box p { color: var(--text-dim); font-size: 1.1rem; max-width: 800px; margin: 0 auto; }

/* Benefícios (Grid flex) */
.beneficios { background: var(--bg-darker); border-bottom: 1px solid rgba(170, 133, 41, 0.1); padding: 80px 20px; }
.beneficios h2 { font-family: var(--font-serif); font-size: 2.5rem; color: var(--gold-primary); margin-bottom: 40px; text-align: center; }
.beneficios .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.beneficio-card { background: rgba(255, 255, 255, 0.8); padding: 25px 20px; border-radius: 8px; border-left: 3px solid var(--accent-color); transition: transform 0.3s ease; flex: 1 1 calc(33.333% - 20px); min-width: 250px; display: flex; align-items: center; justify-content: center; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.beneficio-card:hover { transform: translateY(-5px); background: #ffffff; border-color: var(--gold-light); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.beneficio-card h4 { font-size: 1.1rem; color: var(--text-light); }

/* Produtos / Carros-chefes */
.produtos-section { background: #faf9f5; border-top: 1px solid rgba(170, 133, 41, 0.1); }
.produtos-section h2 { font-family: var(--font-serif); font-size: 2.5rem; color: var(--gold-primary); margin-bottom: 40px; text-align: center; }
.produtos-section .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; padding: 0 10px; }
.produto-card-wrapper { display: flex; }
.produto-card { background: #ffffff; border: none; border-radius: 8px; padding: 30px 20px; text-align: center; width: 100%; transition: all 0.3s ease; display: flex; flex-direction: column; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); }
.produto-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(170, 133, 41, 0.15); }
.produto-img { width: 100%; height: 220px; object-fit: contain; margin-bottom: 20px; transition: transform 0.3s ease; filter: drop-shadow(0 5px 15px rgba(0,0,0,0.08)); }
.produto-card:hover .produto-img { transform: scale(1.05); }
.produto-card h4 { font-family: var(--font-serif); font-size: 1.4rem; color: var(--text-light); margin-bottom: 15px; }
.produto-card p { color: var(--text-dim); font-size: 0.95rem; line-height: 1.5; }

/* Suporte ao Distribuidor */
.suporte-section { background: linear-gradient(135deg, rgba(229, 214, 183, 0.9) 0%, rgba(219, 204, 169, 0.95) 100%); border-top: 1px solid rgba(170, 133, 41, 0.2); border-bottom: 1px solid rgba(170, 133, 41, 0.2); }
.suporte-box { background: rgba(255, 255, 255, 0.8); padding: 50px; border-radius: 15px; border: 1px solid var(--accent-color); text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.suporte-box h2 { font-family: var(--font-serif); color: var(--gold-primary); font-size: 2.5rem; margin-bottom: 15px; }
.suporte-box p.destaque { color: var(--text-dim); font-size: 1.15rem; margin-bottom: 40px; max-width: 800px; margin-left: auto; margin-right: auto; }
.suporte-grid { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; }
.suporte-item { background: var(--bg-dark); padding: 20px; border-radius: 8px; font-weight: 600; color: var(--text-light); flex: 1 1 calc(33.333% - 15px); min-width: 220px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid rgba(170, 133, 41, 0.2); transition: all 0.3s; }
.suporte-item:hover { border-color: var(--gold-primary); color: var(--gold-light); transform: translateY(-3px); background: #ffffff; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }

/* Segurança Operacional */
.seguranca-section { background: var(--bg-darker); color: var(--text-light); border-bottom: 1px solid rgba(170, 133, 41, 0.1); }
.seguranca-section h2 { font-family: var(--font-serif); color: var(--gold-primary); font-size: 2.2rem; margin-bottom: 15px; }
.seguranca-section h3 { font-size: 1.1rem; color: var(--text-dim); font-weight: 400; line-height: 1.5; }
.list-seguranca { list-style: none; margin-top: 30px; }
.list-seguranca li { margin-bottom: 20px; font-size: 1.1rem; display: flex; align-items: flex-start; }
.list-seguranca li::before { content: "✓"; color: #ffffff; background: var(--gold-gradient); width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: bold; margin-right: 15px; font-size: 1rem; flex-shrink: 0; margin-top: 3px; }

.box-fabrica { background: rgba(255, 255, 255, 0.8); padding: 50px 40px; border-radius: 15px; text-align: center; border: 1px dashed var(--accent-color); box-shadow: 0 10px 30px rgba(0,0,0,0.05); width: 100%; max-width: 450px; }
.box-fabrica p.titulo { color: var(--gold-primary); font-weight: 700; font-size: 1.2rem; letter-spacing: 1px; }
.box-fabrica p.desc { font-size: 1rem; margin-top: 15px; color: var(--text-dim); }

/* Formulário de Captura Inteligente */
.form-section { background: var(--bg-light); position: relative; }
.form-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('img/foto%20salao.webp') no-repeat center center/cover; opacity: 0.05; pointer-events: none; }
.form-wrapper { background: rgba(255, 255, 255, 0.95); padding: 40px; border-radius: 15px; color: var(--text-light); box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid rgba(170, 133, 41, 0.2); }
.form-group { margin-bottom: 20px; }
.form-group input, .form-group select { width: 100%; padding: 18px 20px; border: 1px solid rgba(0,0,0,0.1); background: var(--bg-dark); color: var(--text-light); border-radius: 8px; font-size: 1rem; font-family: var(--font-sans); transition: all 0.3s ease; }
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--gold-primary); background: #ffffff; box-shadow: 0 0 8px rgba(212, 175, 55, 0.3); }
.form-group input::placeholder { color: #888; }
.form-group label { display: block; margin-bottom: 8px; font-size: 0.95rem; color: var(--text-dim); }

/* Footer - Mantendo escuro para dar contraste final e combinar com o selo */
footer { background: #111111; color: #cccccc; padding: 40px 20px; font-size: 0.9rem; border-top: 4px solid var(--accent-color); }
footer a { color: #d4af37; text-decoration: none; margin: 0 10px; transition: color 0.3s ease; }
footer a:hover { color: #f3e5ab; }
footer strong { color: #ffffff; }

@media(max-width: 768px) {
    .col-50 { flex: 0 0 100%; max-width: 100%; margin-bottom: 20px; }
    .hero h1 { font-size: 2.2rem; }
    .investimento-box h3 { font-size: 1.5rem; }
    .beneficio-card, .produto-card-wrapper, .suporte-item { flex: 0 0 100%; max-width: 100%; }
    .suporte-box { padding: 30px 20px; }
    .box-fabrica { margin-top: 40px; }
    .form-wrapper { padding: 30px 20px; }
}

@media(min-width: 769px) {
    .hero {
        background-size: 60% 100%, 60% auto; /* Gradiente e imagem limitados a 60%, deixando o fundo E5D6B7 nas laterais */
    }
}

/* Language Selector */
.lang-selector {
    display: flex;
    gap: 15px;
    align-items: center;
}
.lang-selector a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    opacity: 0.6;
}
.lang-selector a:hover, .lang-selector a.active {
    color: var(--gold-primary);
    opacity: 1;
}

/* RTL Support for Arabic */
[dir="rtl"] {
    text-align: right;
}
[dir="rtl"] .row {
    flex-direction: row-reverse;
}
[dir="rtl"] .form-group label {
    display: block;
    text-align: right;
}
[dir="rtl"] .radio-group label {
    flex-direction: row-reverse;
    justify-content: flex-end;
}
[dir="rtl"] .suporte-item {
    text-align: right;
}
[dir="rtl"] .beneficio-card {
    text-align: right;
}
[dir="rtl"] .list-seguranca li {
    padding-left: 0;
    padding-right: 25px;
}
[dir="rtl"] .list-seguranca li::before {
    left: auto;
    right: 0;
}
[dir="rtl"] .form-group input[type="checkbox"] {
    margin-right: 0;
    margin-left: 10px;
}
