/*
Theme Name: Tiago Tesla Store
Theme URI: https://tiagotesla.com.br
Author: Tiago Tesla
Description: Tema oficial 4K da loja Tiago Tesla com Banners Fixos em 4K, Embed Oficial Ao Vivo do Instagram (@tiago_tesla_) sem senha e WooCommerce.
Version: 4.0.0
Text Domain: tiago-tesla
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Orbitron:wght@600;700;800&display=swap');

:root {
  --tt-black: #0b0b0d;
  --tt-dark: #141519;
  --tt-gray-bg: #f3f4f6;
  --tt-text: #111827;
  --tt-muted: #6b7280;
  --tt-gold: #f59e0b;
  --tt-border: #e5e7eb;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--tt-text); background: #ffffff; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; transition: 0.2s; }
img { max-width: 100%; display: block; }
.tt-container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* TOP BAR */
.tt-topbar { background: var(--tt-black); color: #ffffff; font-size: 12px; font-weight: 500; padding: 9px 0; }
.tt-topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.tt-topbar-center { display: flex; align-items: center; gap: 14px; margin: 0 auto; color: #d1d5db; }
.tt-topbar-center span { display: inline-flex; align-items: center; gap: 6px; }
.tt-lang { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: #d1d5db; }

/* HEADER */
.tt-header { background: #ffffff; border-bottom: 1px solid #f1f1f4; position: sticky; top: 0; z-index: 100; }
.tt-header-inner { height: 70px; display: flex; align-items: center; justify-content: space-between; }
.tt-logo { font-family: 'Orbitron', sans-serif; font-size: 20px; font-weight: 700; letter-spacing: 4.5px; color: #000; text-transform: uppercase; }
.tt-nav { display: flex; align-items: center; gap: 32px; list-style: none; }
.tt-nav a { font-size: 14px; font-weight: 500; color: #1f2937; }
.tt-nav a:hover { color: #000; opacity: 0.7; }
.tt-header-icons { display: flex; align-items: center; gap: 18px; }
.tt-icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: #111; }
.tt-icon-btn:hover { background: #f3f4f6; }
.tt-cart-count { position: absolute; top: 2px; right: 0; background: #000; color: #fff; font-size: 10px; font-weight: 700; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* HERO 4K FULL-BLEED */
.tt-hero { position: relative; background-color: #f7f8fa; overflow: hidden; }
.tt-hero-bg-wrap { width: 100%; max-width: 100%; margin: 0 auto; background-size: cover; background-position: center right; background-repeat: no-repeat; min-height: 550px; display: flex; align-items: center; }
.tt-hero-content { max-width: 520px; padding: 56px 0 48px; position: relative; z-index: 2; }
.tt-hero-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 3.2px; text-transform: uppercase; color: #4b5563; line-height: 1.6; margin-bottom: 12px; }
.tt-hero-title { font-size: 64px; font-weight: 800; line-height: 0.98; letter-spacing: -2px; color: #000000; margin-bottom: 16px; }
.tt-hero-sub { font-size: 17.5px; font-weight: 400; color: #374151; margin-bottom: 26px; }
.tt-hero-actions { display: flex; align-items: center; gap: 14px; margin-bottom: 38px; flex-wrap: wrap; }
.tt-btn-primary { background: #0b0b0d; color: #ffffff; padding: 14px 28px; border-radius: 999px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.tt-btn-primary:hover { background: #222; transform: translateY(-1px); color: #fff; }
.tt-btn-secondary { background: rgba(255,255,255,0.88); color: #111827; padding: 14px 28px; border-radius: 999px; font-size: 14px; font-weight: 600; border: 1px solid rgba(0,0,0,0.08); backdrop-filter: blur(6px); }
.tt-btn-secondary:hover { background: #ffffff; }
.tt-trust-bar { display: grid; grid-template-columns: repeat(4, auto); gap: 20px; padding-top: 6px; }
.tt-trust-item { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: #374151; line-height: 1.25; }
.tt-trust-item svg { width: 20px; height: 20px; flex-shrink: 0; color: #111; }

/* DESTAQUES / PRODUTOS */
.tt-section { padding: 56px 0 36px; }
.tt-section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 26px; }
.tt-section-title { font-size: 32px; font-weight: 800; letter-spacing: -0.8px; color: #000; margin-bottom: 6px; }
.tt-section-sub { font-size: 14px; color: var(--tt-muted); }
.tt-view-all { font-size: 13.5px; font-weight: 600; color: #111; display: inline-flex; align-items: center; gap: 6px; }
.tt-products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tt-product-card { display: flex; flex-direction: column; }
.tt-product-media { position: relative; background: #f2f2f4; border-radius: 16px; overflow: hidden; aspect-ratio: 1 / 1.06; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; }
.tt-product-media a.tt-media-link { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.tt-product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.tt-product-card:hover .tt-product-media img { transform: scale(1.04); }
.tt-badge { position: absolute; top: 12px; left: 12px; background: #0b0b0d; color: #fff; font-size: 11px; font-weight: 600; padding: 5px 11px; border-radius: 999px; z-index: 3; }
.tt-badge.preorder { background: #1d4ed8; }
.tt-wishlist { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.85); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 3; color: #374151; }
.tt-swatches { position: absolute; bottom: 12px; left: 14px; display: flex; gap: 6px; z-index: 3; }
.tt-swatch { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,0.15); }
.tt-product-info { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.tt-product-title { font-size: 14px; font-weight: 600; color: #111827; margin-bottom: 4px; }
.tt-product-price { font-size: 16px; font-weight: 800; color: #000; margin-bottom: 4px; }
.tt-product-price small { font-size: 12px; font-weight: 500; color: #4b5563; }
.tt-product-rating { display: flex; align-items: center; gap: 5px; font-size: 12px; color: #9ca3af; }
.tt-stars { color: var(--tt-gold); letter-spacing: 1px; font-size: 12px; }
.tt-add-cart { width: 38px; height: 38px; border-radius: 10px; background: #0b0b0d; color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; border: none; cursor: pointer; }
.tt-add-cart:hover { background: #27272a; color: #fff; }

/* LIFESTYLE BANNER 4K */
.tt-lifestyle-wrap { padding: 28px 0; }
.tt-lifestyle-banner { border-radius: 22px; overflow: hidden; background-color: #0d1017; background-size: cover; background-position: center; min-height: 320px; display: flex; align-items: center; justify-content: space-between; padding: 42px 48px; color: #ffffff; position: relative; }
.tt-lifestyle-left { max-width: 380px; z-index: 2; }
.tt-lifestyle-title { font-size: 40px; font-weight: 800; line-height: 1.05; letter-spacing: -1px; margin-bottom: 14px; }
.tt-lifestyle-sub { font-size: 14.5px; color: #d1d5db; line-height: 1.45; margin-bottom: 24px; }
.tt-btn-white { background: #ffffff; color: #0b0b0d; padding: 12px 24px; border-radius: 999px; font-size: 13.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.tt-lifestyle-right { display: flex; flex-direction: column; gap: 14px; z-index: 2; min-width: 230px; }
.tt-feature-row { display: flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 500; color: #f3f4f6; }
.tt-feature-row svg { width: 18px; height: 18px; color: #e5e7eb; flex-shrink: 0; }

/* INSTAGRAM SECTION (OFFICIAL LIVE EMBED + 4K GRID) */
.tt-insta-section { padding: 36px 0 72px; }
.tt-insta-embed-container { width: 100%; border-radius: 18px; overflow: hidden; border: 1px solid #e5e7eb; background: #ffffff; box-shadow: 0 10px 30px rgba(0,0,0,0.04); margin-bottom: 20px; }
.tt-insta-embed-container iframe { width: 100%; min-height: 540px; border: none; display: block; }
.tt-insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.tt-insta-card { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 1 / 1.05; background: #f3f4f6; }
.tt-insta-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.tt-insta-card:hover img { transform: scale(1.05); }
.tt-reel-icon { position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; background: rgba(0,0,0,0.45); backdrop-filter: blur(4px); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #fff; }

/* FOOTER */
.tt-footer { background: #0b0b0d; color: #9ca3af; padding: 48px 0 32px; font-size: 13px; }
.tt-footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; border-top: 1px solid #1f2937; padding-top: 24px; }

@media (max-width: 992px) {
  .tt-hero-bg-wrap { background-size: cover; background-position: center; }
  .tt-products-grid { grid-template-columns: repeat(2, 1fr); }
  .tt-insta-grid { grid-template-columns: repeat(3, 1fr); }
  .tt-lifestyle-banner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .tt-hero-title { font-size: 46px; }
  .tt-trust-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .tt-nav { display: none; }
  .tt-products-grid { grid-template-columns: 1fr; }
  .tt-insta-grid { grid-template-columns: repeat(2, 1fr); }
  .tt-insta-embed-container iframe { min-height: 460px; }
}
