/*
Theme Name:   Hello Child — Churrasqueira
Theme URI:    https://example.com
Description:  Tema filho do Hello Elementor para Churrasqueira. Dark & Premium.
Author:       Churrasqueira Dev
Template:     hello-elementor
Version:      1.0.0
Text Domain:  hello-child
*/

/* ╔══════════════════════════════════════════════════════╗
   ║  DESIGN TOKENS                                       ║
   ╚══════════════════════════════════════════════════════╝ */
:root {
    --c-bg:         #0a0a0a;
    --c-surface:    #141414;
    --c-card:       #1a1a1a;
    --c-border:     #252525;
    --c-gold:       #c9922a;
    --c-gold-light: #e8ad45;
    --c-ember:      #e05a1a;
    --c-ember-light:#f07030;
    --c-text:       #f0ece4;
    --c-muted:      #7a7570;
    --c-white:      #ffffff;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Montserrat', 'Helvetica Neue', sans-serif;

    --radius-sm:    6px;
    --radius-md:    12px;
    --radius-lg:    20px;
    --transition:   .3s cubic-bezier(.4,0,.2,1);
}

/* ╔══════════════════════════════════════════════════════╗
   ║  RESET & BASE                                        ║
   ╚══════════════════════════════════════════════════════╝ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--c-bg);
    color: var(--c-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    overflow-x: hidden;
}

/* ╔══════════════════════════════════════════════════════╗
   ║  TIPOGRAFIA                                          ║
   ╚══════════════════════════════════════════════════════╝ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--c-text);
    line-height: 1.2;
    margin: 0 0 .75em;
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }

p { margin: 0 0 1em; color: var(--c-text); }
a { color: var(--c-gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--c-gold-light); }

/* Separador decorativo dourado */
.chr-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--c-gold) 50%, transparent 100%);
    margin: 48px auto;
    max-width: 400px;
    opacity: .5;
}

/* ╔══════════════════════════════════════════════════════╗
   ║  HEADER / NAVEGAÇÃO                                  ║
   ╚══════════════════════════════════════════════════════╝ */
.site-header,
.elementor-location-header {
    background: rgba(10,10,10,.85);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border-bottom: 1px solid var(--c-border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background var(--transition), box-shadow var(--transition);
}

/* Header mais opaco ao fazer scroll */
.site-header.scrolled {
    background: rgba(10,10,10,.97);
    box-shadow: 0 2px 24px rgba(0,0,0,.6);
}

/* Logo */
.site-logo img,
.elementor-widget-site-logo img {
    filter: brightness(0) invert(1);
    max-height: 52px;
    width: auto;
}

/* Nav links */
.elementor-nav-menu a,
.main-navigation a {
    color: var(--c-muted) !important;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: color var(--transition) !important;
    padding: 8px 16px !important;
    position: relative;
}
.elementor-nav-menu a::after,
.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 1px;
    background: var(--c-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition);
}
.elementor-nav-menu a:hover,
.main-navigation a:hover {
    color: var(--c-gold) !important;
}
.elementor-nav-menu a:hover::after,
.main-navigation a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}
/* Link activo */
.elementor-nav-menu .current-menu-item > a,
.main-navigation .current-menu-item > a {
    color: var(--c-gold) !important;
}

/* ╔══════════════════════════════════════════════════════╗
   ║  HERO — VÍDEO DE FOGO                                ║
   ╚══════════════════════════════════════════════════════╝ */
.chr-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chr-hero__video {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.chr-hero__video video,
.chr-hero__video iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.55) saturate(1.3);
}

/* Overlay gradiente sobre o vídeo */
.chr-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, var(--c-bg) 0%, transparent 40%),
        linear-gradient(to bottom, rgba(0,0,0,.5) 0%, transparent 30%);
    z-index: 1;
}

/* Partículas de brasa */
.chr-hero__embers {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}
.chr-ember-particle {
    position: absolute;
    bottom: -10px;
    border-radius: 50%;
    animation: chr-rise linear infinite;
    opacity: 0;
}
@keyframes chr-rise {
    0%   { transform: translateY(0) translateX(0)  scale(1);   opacity: .8; }
    50%  { transform: translateY(-40vh) translateX(var(--drift)) scale(.6); opacity: .5; }
    100% { transform: translateY(-90vh) translateX(var(--drift2)) scale(.2); opacity: 0; }
}

/* Conteúdo do hero */
.chr-hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 24px;
    max-width: 800px;
}

.chr-hero__eyebrow {
    color: var(--c-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
    margin: 0 0 20px;
    display: block;
}

.chr-hero__title {
    color: var(--c-white);
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 900;
    line-height: 1.05;
    text-shadow: 0 4px 32px rgba(0,0,0,.8);
    margin: 0 0 16px;
}
.chr-hero__title span {
    color: var(--c-gold);
    display: block;
}

.chr-hero__sub {
    color: rgba(240,236,228,.7);
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 400;
    letter-spacing: .05em;
    margin: 0 0 36px;
}

/* Botão CTA */
.chr-btn,
.elementor-button {
    background: linear-gradient(135deg, var(--c-ember) 0%, var(--c-gold) 100%);
    border: none;
    border-radius: var(--radius-sm);
    color: #fff !important;
    cursor: pointer;
    display: inline-block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    padding: 14px 36px;
    text-transform: uppercase;
    transition: filter var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 20px rgba(224,90,26,.35);
}
.chr-btn:hover,
.elementor-button:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(224,90,26,.5);
    color: #fff !important;
}

/* Botão outline */
.chr-btn--outline {
    background: transparent;
    border: 1px solid var(--c-gold);
    color: var(--c-gold) !important;
    box-shadow: none;
}
.chr-btn--outline:hover {
    background: var(--c-gold);
    color: #0a0a0a !important;
    filter: none;
}

/* Scroll indicator */
.chr-hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--c-muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
}
.chr-hero__scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, var(--c-gold) 0%, transparent 100%);
    animation: chr-scroll-pulse 2s ease-in-out infinite;
}
@keyframes chr-scroll-pulse {
    0%,100% { opacity: 1; transform: scaleY(1); }
    50%      { opacity: .3; transform: scaleY(.6); }
}

/* ╔══════════════════════════════════════════════════════╗
   ║  SECÇÕES GENÉRICAS                                   ║
   ╚══════════════════════════════════════════════════════╝ */
.chr-section {
    padding: 96px 0;
    position: relative;
}

.chr-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Badge de secção */
.chr-badge-section {
    background: rgba(201,146,42,.12);
    border: 1px solid rgba(201,146,42,.3);
    border-radius: 20px;
    color: var(--c-gold);
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
    margin-bottom: 16px;
    padding: 5px 14px;
    text-transform: uppercase;
}

/* Título de secção */
.chr-section-heading {
    text-align: center;
    margin-bottom: 56px;
}
.chr-section-heading h2 { margin-bottom: 12px; }
.chr-section-heading p {
    color: var(--c-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* ╔══════════════════════════════════════════════════════╗
   ║  SECÇÃO SOBRE                                        ║
   ╚══════════════════════════════════════════════════════╝ */
.chr-sobre {
    background: var(--c-surface);
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
}

.chr-sobre__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
@media (max-width: 768px) {
    .chr-sobre__grid { grid-template-columns: 1fr; gap: 40px; }
}

.chr-sobre__img {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
}
.chr-sobre__img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s ease;
}
.chr-sobre__img:hover img { transform: scale(1.04); }
.chr-sobre__img::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(201,146,42,.3);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.chr-sobre__stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
}
.chr-stat { text-align: center; }
.chr-stat__number {
    color: var(--c-gold);
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    display: block;
}
.chr-stat__label {
    color: var(--c-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-top: 4px;
}

/* ╔══════════════════════════════════════════════════════╗
   ║  SECÇÃO CATERING                                     ║
   ╚══════════════════════════════════════════════════════╝ */
.chr-catering {
    background:
        linear-gradient(rgba(10,10,10,.88), rgba(10,10,10,.88)),
        url('../img/catering-bg.jpg') center/cover no-repeat;
}

.chr-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 48px;
}
.chr-feature-card {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    transition: border-color var(--transition), transform var(--transition);
}
.chr-feature-card:hover {
    border-color: var(--c-gold);
    transform: translateY(-4px);
}
.chr-feature-card__icon {
    font-size: 40px;
    margin-bottom: 16px;
    display: block;
}
.chr-feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.chr-feature-card p {
    color: var(--c-muted);
    font-size: 14px;
    margin: 0;
}

/* ╔══════════════════════════════════════════════════════╗
   ║  GALERIA MÍDIA                                       ║
   ╚══════════════════════════════════════════════════════╝ */
.chr-media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 12px;
}
.chr-media-item {
    overflow: hidden;
    border-radius: var(--radius-md);
    aspect-ratio: 1;
    position: relative;
    cursor: pointer;
}
.chr-media-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}
.chr-media-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease, filter .5s ease;
    filter: brightness(.85);
}
.chr-media-item:hover img {
    transform: scale(1.06);
    filter: brightness(1);
}
.chr-media-item__overlay {
    position: absolute;
    inset: 0;
    background: rgba(201,146,42,.2);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--transition);
    font-size: 32px;
}
.chr-media-item:hover .chr-media-item__overlay { opacity: 1; }

@media (max-width: 600px) {
    .chr-media-grid { grid-template-columns: 1fr 1fr; }
    .chr-media-item:first-child { grid-column: span 2; aspect-ratio: 2/1; }
}

/* ╔══════════════════════════════════════════════════════╗
   ║  CONTATOS                                            ║
   ╚══════════════════════════════════════════════════════╝ */
.chr-contatos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
@media (max-width: 768px) {
    .chr-contatos-grid { grid-template-columns: 1fr; }
}

.chr-contact-info { display: flex; flex-direction: column; gap: 20px; }
.chr-contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.chr-contact-item__icon {
    background: rgba(201,146,42,.12);
    border: 1px solid rgba(201,146,42,.3);
    border-radius: var(--radius-sm);
    font-size: 20px;
    min-width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.chr-contact-item__text { flex: 1; }
.chr-contact-item__label {
    color: var(--c-gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-bottom: 4px;
    display: block;
}
.chr-contact-item__value { color: var(--c-text); font-size: 15px; }

/* Mapa embed */
.chr-map-embed {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid var(--c-border);
}
.chr-map-embed iframe { width: 100%; height: 100%; border: none; }

/* ╔══════════════════════════════════════════════════════╗
   ║  FOOTER                                              ║
   ╚══════════════════════════════════════════════════════╝ */
.site-footer,
.elementor-location-footer {
    background: var(--c-surface);
    border-top: 1px solid var(--c-border);
    padding: 0;
}

.chr-footer {
    background: var(--c-surface);
    border-top: 1px solid var(--c-border);
}

.chr-footer__main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding: 64px 0 48px;
}
@media (max-width: 900px) {
    .chr-footer__main { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
    .chr-footer__main { grid-template-columns: 1fr; padding: 40px 0 32px; }
}

/* Coluna brand */
.chr-footer__brand-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--c-gold);
    margin-bottom: 12px;
    display: block;
}
.chr-footer__brand-logo img {
    max-height: 48px;
    filter: brightness(0) saturate(100%) invert(70%) sepia(40%) saturate(600%) hue-rotate(0deg);
}
.chr-footer__brand-desc {
    color: var(--c-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Redes sociais */
.chr-social {
    display: flex;
    gap: 10px;
}
.chr-social__link {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    color: var(--c-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    height: 40px;
    transition: all var(--transition);
    width: 40px;
    text-decoration: none;
}
.chr-social__link:hover {
    background: var(--c-gold);
    border-color: var(--c-gold);
    color: #0a0a0a;
    transform: translateY(-2px);
}

/* Coluna de footer */
.chr-footer__col-title {
    color: var(--c-gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.chr-footer__col ul { list-style: none; margin: 0; padding: 0; }
.chr-footer__col ul li { margin-bottom: 10px; }
.chr-footer__col ul li a {
    color: var(--c-muted);
    font-size: 14px;
    transition: color var(--transition);
}
.chr-footer__col ul li a:hover { color: var(--c-gold-light); }

/* Horário */
.chr-hours { list-style: none; margin: 0; padding: 0; }
.chr-hours li {
    display: flex;
    justify-content: space-between;
    color: var(--c-muted);
    font-size: 13px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,.04);
}
.chr-hours li:last-child { border-bottom: none; }
.chr-hours li strong { color: var(--c-text); font-weight: 600; }

/* Barra inferior */
.chr-footer__bottom {
    border-top: 1px solid var(--c-border);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--c-muted);
    font-size: 12px;
}
.chr-footer__bottom a { color: var(--c-muted); }
.chr-footer__bottom a:hover { color: var(--c-gold); }

/* Linha decorativa dourada no topo do footer */
.chr-footer::before {
    content: '';
    display: block;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--c-ember) 30%, var(--c-gold) 70%, transparent 100%);
}

/* ╔══════════════════════════════════════════════════════╗
   ║  UTILITÁRIOS ELEMENTOR                               ║
   ╚══════════════════════════════════════════════════════╝ */

/* Padding padrão para secções Elementor */
.elementor-section { padding: 0 !important; }
.elementor-container { max-width: 1200px !important; }

/* Remove fundo branco padrão do Elementor */
.elementor-page { background: var(--c-bg); }

/* Input / textarea dark */
input, textarea, select {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    color: var(--c-text);
    font-family: var(--font-body);
    padding: 12px 16px;
    transition: border-color var(--transition);
    width: 100%;
}
input:focus, textarea:focus, select:focus {
    border-color: var(--c-gold);
    outline: none;
}
input::placeholder, textarea::placeholder { color: var(--c-muted); }

/* Scrollbar personalizada */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb {
    background: var(--c-border);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--c-gold); }

/* ╔══════════════════════════════════════════════════════╗
   ║  ANIMAÇÕES DE ENTRADA                                ║
   ╚══════════════════════════════════════════════════════╝ */
.chr-fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
.chr-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.chr-fade-up:nth-child(2) { transition-delay: .1s; }
.chr-fade-up:nth-child(3) { transition-delay: .2s; }
.chr-fade-up:nth-child(4) { transition-delay: .3s; }

/* ╔══════════════════════════════════════════════════════╗
   ║  RESPONSIVE UTILS                                    ║
   ╚══════════════════════════════════════════════════════╝ */
@media (max-width: 768px) {
    .chr-section { padding: 64px 0; }
    .chr-hero__title { font-size: 2.8rem; }
}

/* ╔══════════════════════════════════════════════════════╗
   ║  ELEMENTOR WIDGET OVERRIDES                          ║
   ╚══════════════════════════════════════════════════════╝ */
.elementor-widget-heading .elementor-heading-title { font-family: var(--font-display); }
.elementor-widget-text-editor p { color: var(--c-muted); }
.elementor-button-wrapper .elementor-button {
    background: linear-gradient(135deg, var(--c-ember) 0%, var(--c-gold) 100%);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.elementor-button-wrapper .elementor-button:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}
