/*
Theme Name: Tatà Cosméticos
Theme URI: https://site.tatacosmeticos.com.br
Author: V8 Cloud
Description: Tema sob medida para Tatà Cosméticos
Version: 1.0.0
Text Domain: tata-cosmetics
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,400&display=swap');

:root {
    --bg-dark: #121212;
    --bg-card: #1a1a1a;
    --bg-light: #faf6f5;
    --rose-gold: #c88a7a;
    --rose-gold-hover: #b37767;
    --text-dark: #222222;
    --text-light: #ffffff;
    --text-muted: #888888;
    --whatsapp-color: #25d366;
    --font-title: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

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

/* HEADER */
.site-header {
    background-color: var(--bg-dark);
    padding: 15px 5%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 60px;
    width: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--rose-gold);
}

/* BANNER FIXO (HERO CENTRALIZADO) */
.hero-banner {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #ffffff;
    padding: 100px 20px;
    overflow: hidden;
    text-align: center;
}

/* Camada escura transparente sobre o background */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero-container.hero-center {
    position: relative;
    z-index: 2;
    max-width: 800px; /* Largura focada para centralização perfeita */
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-representante {
    display: inline-block;
    background-color: rgba(200, 138, 122, 0.25);
    color: #f3d3ca;
    border: 1px solid var(--rose-gold, #c88a7a);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-family: var(--font-title, serif);
    margin-bottom: 18px;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #f0f0f0;
    margin-bottom: 32px;
    max-width: 650px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.6);
}

.btn-primary {
    display: inline-block;
    background-color: var(--rose-gold, #c88a7a);
    color: #ffffff;
    padding: 14px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    background-color: #b57767;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 138, 122, 0.5);
}

/* Ajustes para Celular */
@media (max-width: 768px) {
    .hero-banner {
        padding: 70px 20px;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

/* SEÇÃO SOBRE / REPRESENTAÇÃO */
.sobre-section {
    padding: 80px 20px;
    background-color: #fafafa;
    color: #333333;
}

.sobre-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: center;
}

/* Coluna da Imagem com Selo */
.sobre-img {
    display: flex;
    justify-content: center;
}

.img-wrapper {
    position: relative;
    max-width: 360px;
    width: 100%;
}

.img-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    object-fit: cover;
}

.badge-selo {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background-color: var(--rose-gold, #c88a7a);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(200, 138, 122, 0.4);
    letter-spacing: 0.5px;
}

/* Coluna de Texto */
.sobre-text .subtitle {
    display: inline-block;
    color: var(--rose-gold, #c88a7a);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.sobre-text h2 {
    font-size: 2.3rem;
    font-family: var(--font-title, serif);
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.sobre-text h2 span {
    color: var(--rose-gold, #c88a7a);
}

.sobre-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555555;
    margin-bottom: 16px;
}

/* Diferenciais em Ícones */
.sobre-diferenciais {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.diferencial-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    font-size: 0.88rem;
    font-weight: 600;
    color: #333333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.diferencial-item .icon {
    font-size: 1rem;
}

/* Adaptabilidade Mobile */
@media (max-width: 850px) {
    .sobre-container {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }

    .badge-selo {
        right: 50%;
        transform: translateX(50%);
        bottom: -12px;
    }

    .sobre-diferenciais {
        justify-content: center;
    }
}

/* SEÇÃO DESTAQUES MINIMALISTA */
.destaques-section {
    padding: 70px 20px;
    background-color: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.subtitle-consultoria {
    color: var(--rose-gold, #c88a7a);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2 {
    font-size: 2rem;
    font-family: var(--font-title, serif);
    color: #1a1a1a;
    margin-top: 5px;
}

/* CARROSSEL E NAVEGAÇÃO */
.carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.grid-destaques {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

/* SETAS DO CARROSSEL */
.carousel-arrow {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #333333;
    cursor: pointer;
    z-index: 5;
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 10px;
}

.carousel-arrow:hover {
    color: var(--rose-gold, #c88a7a);
    transform: translateY(-50%) scale(1.15);
}

.carousel-arrow.prev {
    left: 0;
}

.carousel-arrow.next {
    right: 0;
}

/* CARD DE PRODUTO CLEAN */
.card-produto-clean {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Fundo Cinza Claro para a Foto do Produto */
.card-thumb-clean {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 320px;
    background-color: #f4f4f4;
    border-radius: 4px;
    margin-bottom: 20px;
    overflow: hidden;
    padding: 20px;
    transition: background-color 0.3s ease;
}

.card-thumb-clean img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.card-produto-clean:hover .card-thumb-clean img {
    transform: scale(1.04);
}

/* INFORMAÇÕES DO TEXTO */
.card-info-clean {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.card-title-clean {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    line-height: 1.3;
}

.card-title-clean a {
    color: #222222;
    text-decoration: none;
    transition: color 0.2s ease;
}

.card-title-clean a:hover {
    color: var(--rose-gold, #c88a7a);
}

.card-subtitle-clean {
    font-size: 0.88rem;
    color: #777777;
    margin-bottom: 20px;
    font-weight: 400;
}

/* BOTÃO ESTILO 'COMPRAR' MAS SEM PREÇO (CONSULTAR/VER) */
.btn-consultar {
    display: inline-block;
    width: 80%;
    background-color: #333333;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-consultar:hover {
    background-color: #1a1a1a;
    transform: translateY(-2px);
}

/* Adaptabilidade Mobile */
@media (max-width: 768px) {
    .carousel-wrapper {
        padding: 0 10px;
    }
    
    .carousel-arrow {
        display: none; /* Em mobile o usuário pode arrastar ou usar grid */
    }

    .grid-destaques {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }

    .card-thumb-clean {
        height: 240px;
    }

    .btn-consultar {
        width: 100%;
    }
}

/* FOOTER */
/* Footer em 4 Colunas */
.site-footer {
    background-color: #111111;
    color: #e0e0e0;
    padding-top: 50px;
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px 20px;
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr; /* Layout em 4 colunas proporcionais */
    gap: 40px;
}

/* Títulos das colunas */
.footer-title {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--rose-gold, #c88a7a);
}

/* Coluna 1: Sobre */
.footer-logo img {
    max-height: 55px;
    width: auto;
    margin-bottom: 15px;
    border-radius: 4px;
}

.footer-about p {
    color: #aaa;
    line-height: 1.6;
}

/* Colunas de Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

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

/* Coluna 4: Instagram Button */
.social-intro {
    color: #aaa;
    margin-bottom: 14px;
    line-height: 1.4;
}

.btn-instagram {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    padding: 10px 18px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(225, 48, 108, 0.4);
}

/* Barra de Copyright */
.footer-bottom {
    background-color: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 20px;
    text-align: center;
}

.footer-bottom p {
    color: #777;
    font-size: 0.8rem;
    margin: 0;
}

/* Responsividade Mobile (Transforma em 1 coluna no celular) */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr; /* 2 colunas no tablet */
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr; /* 1 coluna no celular */
        text-align: center;
        gap: 30px;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .btn-instagram {
        justify-content: center;
    }
}

/* ==========================================================
   LAYOUT SINGLE PRODUTO PREMIUM - TATA COSMÉTICOS
   ========================================================== */

.single-produto-main {
    padding: 50px 20px 100px 20px;
    background-color: #ffffff;
    color: #1a1a1a;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.produto-container {
    max-width: 1180px;
    margin: 0 auto;
}

/* Breadcrumb Minimalista */
.breadcrumb {
    font-size: 0.75rem;
    color: #999999;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.breadcrumb a {
    color: #666666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #000000;
}

.breadcrumb span {
    color: #1a1a1a;
    font-weight: 500;
}

/* Grid de 2 Colunas */
.produto-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
    margin-bottom: 100px;
    align-items: start;
}

/* --- COLUNA ESQUERDA: GALERIA --- */
.produto-galeria {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.imagem-destaque-bg {
    width: 100%;
    height: 520px;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.imagem-destaque-bg img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0px 10px 20px rgba(0,0,0,0.05));
}

.galeria-thumbs {
    display: flex;
    gap: 14px;
    justify-content: center;
}

.thumb-item {
    width: 70px;
    height: 70px;
    object-fit: contain;
    background-color: #f9f9f9;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid #e5e5e5;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.thumb-item:hover, .thumb-item.active {
    opacity: 1;
    border-color: #000000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* --- COLUNA DIREITA: INFORMACÕES --- */
.produto-titulo {
    font-size: 2rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    line-height: 1.25;
    color: #111111;
}

/* Badges / Taxonomias */
.produto-meta-tags {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 30px;
}

.meta-badge {
    font-size: 0.82rem;
    color: #555555;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.meta-badge strong {
    color: #111111;
    font-weight: 600;
}

/* Botão WhatsApp de Luxo */
.produto-acoes {
    margin: 35px 0 45px 0;
}

.btn-whatsapp-consultoria {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background-color: #111111;
    color: #ffffff;
    text-decoration: none;
    padding: 18px 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.btn-whatsapp-consultoria:hover {
    background-color: #25D366;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
    transform: translateY(-2px);
}

.garantia-texto {
    display: block;
    text-align: center;
    font-size: 0.78rem;
    color: #888888;
    margin-top: 12px;
    letter-spacing: 0.3px;
}

/* Abas Técnicas Minimalistas */
.abas-tecnicas {
    border-top: 1px solid #eeeeee;
    padding-top: 30px;
}

.abas-header {
    display: flex;
    gap: 25px;
    border-bottom: 1px solid #eeeeee;
    margin-bottom: 25px;
}

.aba-btn {
    background: transparent;
    border: none;
    padding: 0 0 12px 0;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #999999;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.aba-btn:hover, .aba-btn.active {
    color: #111111;
    border-bottom-color: #111111;
}

.aba-conteudo {
    display: none;
    font-size: 0.92rem;
    line-height: 1.8;
    color: #555555;
    letter-spacing: 0.2px;
}

.aba-conteudo p {
    margin-bottom: 15px;
}

.aba-conteudo.active {
    display: block;
}

/* --- SEÇÃO: PRODUTOS RELACIONADOS --- */
.produtos-relacionados-section {
    border-top: 1px solid #eeeeee;
    padding-top: 70px;
}

.relacionados-title {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 50px;
    color: #111111;
}

.relacionados-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.card-produto-clean {
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.card-thumb-clean {
    background-color: #f9f9f9;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-decoration: none;
}

.card-thumb-clean img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.card-title-clean {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.card-title-clean a {
    color: #111111;
    text-decoration: none;
}

.btn-consultar {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #666666;
    text-decoration: none;
    border-bottom: 1px solid #cccccc;
    padding-bottom: 3px;
    align-self: center;
    transition: all 0.2s ease;
}

.btn-consultar:hover {
    color: #000000;
    border-bottom-color: #000000;
}

/* Responsivo */
@media (max-width: 900px) {
    .produto-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .imagem-destaque-bg {
        height: 380px;
    }
    
    .relacionados-grid {
        grid-template-columns: 1fr;
    }
}