/* ============================================
   BASE.CSS - SISTEMA DE DESIGN LETUSH
   ============================================
   Este arquivo contém todos os estilos comuns
   compartilhados entre todas as páginas do site.
   ============================================ */

/* ============================================
   1. VARIÁVEIS CSS (DESIGN TOKENS)
   ============================================ */
:root {
    /* Cores da Marca */
    --gold: #D4AF37;
    --gold-light: #F4C430;
    --gold-dark: #AA8C2C;
    
    /* Cores de Fundo */
    --black: #0a0a0a;
    --dark-gray: #1a1a1a;
    --medium-gray: #2a2a2a;
    
    /* Cores de Texto */
    --text-light: #f0f0f0;
    --text-gray: #a0a0a0;
    
    /* Fontes */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Layout e Efeitos */
    --container-width: 1200px;
    --radius: 4px;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ============================================
   2. RESET CSS UNIVERSAL
   ============================================ */
*, *::before, *::after { 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { 
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--black);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============================================
   3. ESTRUTURA PRINCIPAL (MAIN)
   ============================================ */
main {
    flex: 1;
    width: 100%;
    padding-top: 120px; /* Compensa o header fixo */
}

/* ============================================
   4. TIPOGRAFIA BASE
   ============================================ */
h1, h2, h3, h4 { 
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: var(--text-light);
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.3rem); }

.text-gold { color: var(--gold); }

/* ============================================
   5. CONTAINER
   ============================================ */
.container { 
    width: 100%; 
    max-width: var(--container-width); 
    margin: 0 auto;
    padding: 0 120px;
}

/* ============================================
   6. BOTÕES
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 0.8rem;
    font-family: var(--font-body);
}

.btn--gold { 
    background: linear-gradient(45deg, var(--gold), var(--gold-light));
    color: var(--black);
    border-color: var(--gold);
}

.btn--gold:hover { 
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.25);
    background: transparent;
    color: var(--gold);
}

.btn--outline { 
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn--outline:hover { 
    background: var(--gold);
    color: var(--black);
}

.btn--large { 
    padding: 14px 28px;
    font-size: 0.85rem;
}

/* ============================================
   7. HEADER FIXO
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.header__inner { 
    display: flex; 
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 120px;
}

.logo { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    text-decoration: none; 
    color: var(--text-light);
    z-index: 1001;
}

.logo__img {
    height: 90px;
    width: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
}

.logo__hebrew {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--gold);
    font-weight: 700;
}

.logo__text {
    font-size: 1rem;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

.nav { z-index: 1000; }

.nav__list { 
    display: flex; 
    list-style: none; 
    gap: 32px;
    align-items: center;
}

.nav__link { 
    color: var(--text-light); 
    text-decoration: none; 
    font-size: 0.85rem; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    transition: var(--transition); 
    position: relative; 
    padding: 5px 0; 
    font-weight: 500;
}

.nav__link::after { 
    content: ''; 
    position: absolute; 
    width: 0; 
    height: 2px; 
    bottom: 0; 
    left: 0; 
    background-color: var(--gold); 
    transition: var(--transition); 
}

.nav__link:hover, 
.nav__link--active { color: var(--gold); }

.nav__link:hover::after, 
.nav__link--active::after { width: 100%; }

.hamburger { 
    display: none;
    flex-direction: column; 
    gap: 5px; 
    background: none; 
    border: none; 
    cursor: pointer; 
    padding: 5px;
    z-index: 1001;
}

.hamburger span { 
    width: 24px; 
    height: 2px; 
    background: var(--text-light); 
    transition: var(--transition); 
}

/* ============================================
   8. FOOTER
   ============================================ */
.footer {
    padding: 40px 0 24px;
    background: var(--black);
    border-top: 1px solid rgba(212,175,55,0.2);
    position: relative;
    z-index: 10;
    width: 100%;
    margin-top: auto;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.5;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 35px;
    position: relative;
    z-index: 2;
}

.footer__brand {
    position: relative;
    z-index: 2;
}

.footer__brand .logo--footer { 
    margin-bottom: 10px; 
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    text-decoration: none;
}

.footer__tagline {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 18px;
    max-width: 320px;
}

.footer__social { 
    display: flex; 
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 50%;
    color: var(--text-light);
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover { 
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
}

.footer__title {
    font-size: 0.9rem;
    margin-bottom: 16px;
    color: var(--gold);
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer__list { list-style: none; }
.footer__list li { margin-bottom: 10px; }

.footer__list a, 
.footer__list .contact-link {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__list a:hover, 
.footer__list .contact-link:hover { 
    color: var(--gold);
    transform: translateX(3px);
}

.footer__bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer__copyright {
    color: rgba(255,255,255,0.3);
    font-size: 0.8rem;
    line-height: 1.5;
}

.icon { width: 18px; height: 18px; fill: currentColor; }
.icon--small { width: 16px; height: 16px; }

/* ============================================
   9. ANIMAÇÕES E LABELS BASE
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in.delay-1 { transition-delay: 0.1s; }
.fade-in.delay-2 { transition-delay: 0.2s; }
.fade-in.delay-3 { transition-delay: 0.3s; }
.fade-in.delay-4 { transition-delay: 0.4s; }

/* Label dourada padrão (usado em várias seções) */
.section-label {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid var(--gold);
    border-radius: var(--radius);
    color: var(--gold);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 600;
}

/* ============================================
   10. RESPONSIVO BASE
   ============================================ */
@media (max-width: 992px) {
    .container { padding: 0 40px; }
    .header__inner { padding: 0 40px; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .header__inner { padding: 0 20px; }
    .header { padding: 8px 0; }
    .logo__img { height: 60px; max-width: 180px; }
    main { padding-top: 90px; }
    
    .nav {
        position: fixed;
        top: 76px;
        left: 0;
        width: 100%;
        background: var(--dark-gray);
        padding: 20px;
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    }
    
    .nav.active { transform: translateY(0); }
    .nav__list { flex-direction: column; align-items: center; gap: 16px; }
    .hamburger { display: flex; }
    
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    
    .footer { padding: 60px 0 24px; }
    .footer__grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .footer__brand { text-align: center; display: flex; flex-direction: column; align-items: center; }
    .footer__brand .logo--footer { flex-direction: column; align-items: center; gap: 6px; }
    .footer__tagline { max-width: 100%; margin: 0 auto 20px; text-align: center; }
    .footer__social { justify-content: center; }
    .footer__links, .footer__contact { text-align: center; }
    .footer__links .footer__list, .footer__contact .footer__list { display: flex; flex-direction: column; align-items: center; }
    .footer__bottom { text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .header__inner { padding: 0 16px; }
    .logo__img { height: 50px; max-width: 150px; }
    main { padding-top: 80px; }
    .btn { width: 100%; justify-content: center; }
}