/* =========================================================================
   1. VARIÁVEIS GERAIS (CORES E TIPOGRAFIA)
   ========================================================================= */
:root {
    --bg-color: #0a0a0a;
    --bg-darker: #050505;
    --surface: #121212;
    --surface-light: #1a1a1a;
    --text-main: #f0f0f0;
    --text-muted: #a0a0a0;
    --accent: #9b0000;
    --accent-hover: #c1121f;
    --accent-glow: rgba(155, 0, 0, 0.4);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* =========================================================================
   2. RESET E CONFIGURAÇÕES BASE
   ========================================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-color); color: var(--text-main); font-family: var(--font-body); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; }
.accent { color: var(--accent); }
.text-center { text-align: center; }
.bg-darker { background-color: var(--bg-darker); }

/* =========================================================================
   3. ESTRUTURA E ESPAÇAMENTOS GERAIS
   ========================================================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; }
.section-title { font-size: 2.5rem; margin-bottom: 3rem; text-transform: uppercase; letter-spacing: 2px; }
.page-header { padding: 160px 0 60px; text-align: center; background-color: var(--bg-color); }
.page-header h1 { font-size: 3.5rem; text-transform: uppercase; letter-spacing: 2px; }

/* =========================================================================
   4. BOTÕES GERAIS
   ========================================================================= */
.btn {
    display: inline-block; padding: 15px 30px; font-weight: 600; text-decoration: none;
    text-transform: uppercase; letter-spacing: 1px; border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); cursor: pointer; border: none; font-family: var(--font-heading); font-size: 0.9rem;
}
.btn-primary { background-color: var(--accent); color: white; box-shadow: 0 4px 15px var(--accent-glow); }
.btn-primary:hover { background-color: var(--accent-hover); transform: translateY(-3px) scale(1.02); box-shadow: 0 8px 25px var(--accent-glow); }
.btn-outline { background-color: transparent; color: var(--text-main); border: 1px solid var(--text-main); }
.btn-outline:hover { background-color: var(--text-main); color: var(--bg-color); transform: translateY(-3px); }

/* =========================================================================
   5. SISTEMA DE TRADUÇÃO GOOGLE PREMIUM (INVISÍVEL)
   ========================================================================= */
#google_translate_element, .skiptranslate, .goog-te-banner-frame { display: none !important; visibility: hidden !important; }
body { top: 0px !important; }
iframe.goog-te-banner-frame { display: none !important; }
.goog-tooltip, #goog-gt-tt, .goog-te-gadget-simple { display: none !important; visibility: hidden !important; }
.goog-text-highlight { background-color: transparent !important; background: transparent !important; box-shadow: none !important; color: inherit !important; }

.language-selector { position: relative; cursor: pointer; z-index: 2005; user-select: none; -webkit-user-select: none; }
.lang-active { display: flex; align-items: center; gap: 6px; color: var(--text-main); font-size: 0.85rem; font-weight: 500; font-family: var(--font-heading); transition: color 0.3s; }
.lang-active:hover { color: var(--accent); }
.lang-options { position: absolute; top: 150%; right: -10px; background: rgba(15, 15, 15, 0.95); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 8px; list-style: none; padding: 10px 0; min-width: 130px; opacity: 0; visibility: hidden; transform: translateY(15px); transition: all 0.3s ease; box-shadow: 0 10px 25px rgba(0,0,0,0.6); }
.language-selector:hover .lang-options, .language-selector.show-lang .lang-options { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-options li { padding: 12px 20px; font-size: 0.85rem; color: var(--text-muted); font-family: var(--font-body); transition: all 0.3s ease; text-align: left; }
.lang-options li:hover { background: rgba(255, 255, 255, 0.05); color: var(--text-main); padding-left: 25px; }

/* =========================================================================
   6. BARRA DE NAVEGAÇÃO E LOGO (COM SMART HIDE E EFEITO VIDRO)
   ========================================================================= */
.navbar {
    position: fixed; top: 0; width: 100%; padding: 25px 50px; display: flex; justify-content: space-between; align-items: center; 
    background: transparent; transition: all 0.4s ease; z-index: 2000;
}
.navbar.scrolled { 
    background: rgba(10, 10, 10, 0.4); padding: 15px 50px; 
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05); 
}

/* Logo "REC" Luminoso */
.logo { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 900; letter-spacing: 3px; color: var(--text-main); text-decoration: none; position: relative; z-index: 2001;}
.logo span { color: var(--accent); animation: recBlinkLuminous 10s ease-in-out forwards; }
@keyframes recBlinkLuminous {
    0%   { opacity: 1; text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000, 0 0 30px var(--accent); color: #ff3333; }
    7%   { opacity: 0.1; text-shadow: none; color: var(--accent); } 14%  { opacity: 1; text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000, 0 0 30px var(--accent); color: #ff3333; }
    21%  { opacity: 0.1; text-shadow: none; color: var(--accent); } 28%  { opacity: 1; text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000, 0 0 30px var(--accent); color: #ff3333; }
    35%  { opacity: 0.1; text-shadow: none; color: var(--accent); } 42%  { opacity: 1; text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000, 0 0 30px var(--accent); color: #ff3333; }
    49%  { opacity: 0.1; text-shadow: none; color: var(--accent); } 56%  { opacity: 1; text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000, 0 0 30px var(--accent); color: #ff3333; }
    63%  { opacity: 0.1; text-shadow: none; color: var(--accent); } 70%  { opacity: 1; text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000, 0 0 30px var(--accent); color: #ff3333; }
    77%  { opacity: 0.1; text-shadow: none; color: var(--accent); } 84%  { opacity: 1; text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000, 0 0 30px var(--accent); color: #ff3333; }
    92%  { opacity: 0.1; text-shadow: none; color: var(--accent); } 100% { opacity: 1; text-shadow: none; color: var(--accent); }
}

.nav-links { list-style: none; display: flex; gap: 30px; transition: transform 0.4s ease, opacity 0.3s ease; }
.nav-links.hide-on-scroll { transform: translateY(-100px); opacity: 0; pointer-events: none; }
.nav-links a { color: var(--text-main); text-decoration: none; font-size: 0.85rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; transition: color 0.3s; position: relative; }
.nav-links a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: var(--accent); transition: width 0.3s; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.hamburger { display: none; cursor: pointer; background-color: var(--accent); width: 45px; height: 45px; border-radius: 6px; align-items: center; justify-content: center; color: white; font-size: 1.5rem; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(155, 0, 0, 0.3); z-index: 2001; position: relative; }
.hamburger:hover { background-color: var(--accent-hover); transform: scale(1.05); }

/* =========================================================================
   7. ANIMAÇÕES GERAIS SCROLL (REVEAL) E DELAYS
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; } .delay-2 { transition-delay: 0.2s; } .delay-3 { transition-delay: 0.3s; } .delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; } .delay-6 { transition-delay: 0.6s; } .delay-7 { transition-delay: 0.7s; } .delay-8 { transition-delay: 0.8s; } .delay-9 { transition-delay: 0.9s; }

/* =========================================================================
   8. HOME: HERO & BADGE APPLE
   ========================================================================= */
.hero { height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-video { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; transform: translate(-50%, -50%); z-index: -2; object-fit: cover; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(10,10,10,0.4), var(--bg-color)); z-index: -1; }
.hero-content { text-align: center; max-width: 900px; padding: 0 20px; margin-top: 50px; }
.hero-content h1 { font-size: 4.5rem; line-height: 1.1; margin-bottom: 20px; text-transform: uppercase; letter-spacing: -1px; }

/* Badge Apple Style */
.availability-badge { position: relative; display: inline-flex; text-decoration: none; margin-bottom: 25px; border-radius: 50px; padding: 1px; background: transparent; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; cursor: pointer; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); }
.availability-badge:hover { transform: scale(1.03); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4); }
.availability-badge::before { content: ''; position: absolute; top: 50%; left: 50%; width: 250%; height: 250%; background: conic-gradient(from 0deg, transparent 60%, rgba(255, 255, 255, 0.4) 80%, transparent 100%); transform: translate(-50%, -50%); animation: spinBorder 4s linear infinite; z-index: 0; }
@keyframes spinBorder { 100% { transform: translate(-50%, -50%) rotate(360deg); } }
.badge-inner { display: flex; align-items: center; gap: 8px; background: rgba(10, 10, 10, 0.25); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 6px 16px; border-radius: 50px; position: relative; z-index: 1; }
.status-dot { width: 8px; height: 8px; background-color: #10b981; border-radius: 50%; box-shadow: 0 0 8px rgba(16, 185, 129, 0.6); animation: pulseDot 2s infinite; }
@keyframes pulseDot { 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); } 70% { transform: scale(1); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0); } 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
.status-text { color: rgba(255, 255, 255, 0.9); font-size: 0.8rem; font-weight: 500; font-family: var(--font-body); letter-spacing: 0.3px; }

/* Proteção Google Translate para o Badge */
.availability-badge font, .availability-badge font font { color: inherit !important; font-family: inherit !important; font-size: inherit !important; vertical-align: inherit !important; background: transparent !important; }
.badge-inner font { background: transparent !important; }

/* =========================================================================
   9. HOME: GRELHAS DE INFORMAÇÃO E TIMELINE (CORRIGIDA FLUIDEZ)
   ========================================================================= */
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; margin-top: 40px; }
.value-card { background: var(--surface); padding: 40px 30px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.02); transition: transform 0.4s ease, border-color 0.4s ease; text-align: center; }
.value-card:hover { transform: translateY(-10px); border-color: rgba(155,0,0,0.3); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.value-icon { font-size: 2.5rem; color: var(--accent); margin-bottom: 20px; }
.value-card h3 { font-size: 1.3rem; margin-bottom: 15px; }
.value-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Timeline (Como Trabalhamos) - Animação Grid Fluida */
.process-wrapper { display: flex; justify-content: space-between; align-items: flex-start; margin-top: 60px; position: relative; gap: 15px; }
.process-step { flex: 1; text-align: center; display: flex; flex-direction: column; align-items: center; position: relative; cursor: pointer; }
.process-icon { width: 80px; height: 80px; background: var(--surface); border: 2px solid var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--text-main); margin-bottom: 20px; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; z-index: 2; box-shadow: 0 0 15px rgba(0,0,0,0.5); }
.process-step:hover .process-icon { background: var(--accent); transform: scale(1.15) translateY(-5px); box-shadow: 0 0 25px var(--accent-glow); color: white; }
.process-step h3 { font-size: 1.1rem; margin-bottom: 10px; transition: color 0.3s; }
.process-step:hover h3 { color: var(--accent); }

/* Novo Sistema de Texto Oculto Fluido (CSS Grid) */
.process-text-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.process-step:hover .process-text-wrapper {
    grid-template-rows: 1fr;
}
.process-step p { 
    font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin: 0;
    overflow: hidden; opacity: 0; transform: translateY(-5px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.process-step:hover p { 
    opacity: 1; transform: translateY(0); transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s; 
}

.process-arrow { font-size: 1.2rem; color: var(--accent); opacity: 0.5; margin-top: 30px; }

/* =========================================================================
   10. PÁGINA SOBRE MIM
   ========================================================================= */
.setup-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 60px; padding: 20px 0 100px 0; }
.setup-box { padding: 45px 35px; border-radius: 12px; background: var(--surface); border: 1px solid rgba(255,255,255,0.03); position: relative; transition: all 0.8s ease; text-align: center; display: flex; flex-direction: column; align-items: center; }
.setup-box:hover { transform: translateY(-5px); border-color: rgba(155, 0, 0, 0.4); background: var(--bg-darker); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(155, 0, 0, 0.05); }
.setup-icon { font-size: 2.5rem; color: var(--text-muted); margin-bottom: 15px; transition: all 0.8s ease; }
.setup-box:hover .setup-icon { color: var(--accent); transform: scale(1.08); text-shadow: 0 0 20px var(--accent-glow); }
.setup-box h3 { font-size: 1.4rem; margin-bottom: 20px; color: var(--text-main); font-family: var(--font-heading); }
.setup-box hr { width: 30px; height: 2px; background-color: var(--accent); border: none; margin: 0 auto 20px auto; opacity: 0.3; transition: all 0.8s ease; }
.setup-box:hover hr { opacity: 1; width: 60px; box-shadow: 0 0 10px var(--accent-glow); }
.setup-box p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.8; margin: 0; }

.layout-editorial { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding-bottom: 100px; max-width: 1200px; margin: 0 auto; text-align: left; }
.sobre-texto p { margin-bottom: 25px; font-size: 1.15rem; color: var(--text-muted); line-height: 1.8; }
.sobre-texto strong { color: var(--text-main); }
.sobre-imagem { position: relative; width: 100%; display: flex; justify-content: center; align-items: center; }
.sobre-imagem img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }

/* =========================================================================
   11. PÁGINA SERVIÇOS
   ========================================================================= */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 50px; }
.service-card { background: var(--surface); border-radius: 8px; padding: 40px 30px; border: 1px solid rgba(255,255,255,0.05); transition: all 0.4s ease; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-10px); border-color: var(--accent); box-shadow: 0 15px 30px rgba(0,0,0,0.6); }
.service-icon-box { width: 60px; height: 60px; background: rgba(155,0,0,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--accent); margin-bottom: 25px; transition: 0.4s; }
.service-card:hover .service-icon-box { background: var(--accent); color: white; }
.service-card h3 { font-size: 1.4rem; margin-bottom: 15px; }
.service-card p.service-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 25px; min-height: 45px; }
.service-list { list-style: none; margin-top: auto; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 25px; }
.service-list li { margin-bottom: 12px; display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: #d0d0d0; }
.service-list i { color: var(--accent); margin-top: 3px; }

/* =========================================================================
   12. PÁGINA PORTEFÓLIO E LIGHTBOX
   ========================================================================= */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; padding-bottom: 100px; }
.portfolio-item { position: relative; height: 300px; border-radius: 6px; overflow: hidden; cursor: pointer; }
.preview-img { position: absolute; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease, opacity 0.5s ease; }
.portfolio-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.2) 50%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; opacity: 0; transition: all 0.4s ease; }
.portfolio-item:hover .preview-img { transform: scale(1.05); }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h3 { font-size: 1.4rem; transform: translateY(20px); transition: transform 0.4s ease 0.1s; margin-bottom: 5px; }
.portfolio-overlay p { color: var(--accent); font-size: 0.85rem; text-transform: uppercase; font-weight: bold; transform: translateY(20px); transition: transform 0.4s ease 0.2s; }
.portfolio-item:hover .portfolio-overlay h3, .portfolio-item:hover .portfolio-overlay p { transform: translateY(0); }

.video-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 3000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: 0.4s; backdrop-filter: blur(5px); }
.video-modal.active { opacity: 1; pointer-events: all; }
.modal-content { width: 90%; max-width: 1100px; aspect-ratio: 16/9; transform: scale(0.9); transition: 0.4s; }
.video-modal.active .modal-content { transform: scale(1); }
.modal-content iframe { width: 100%; height: 100%; border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); border: none; }
.modal-close { position: absolute; top: 40px; right: 50px; color: white; font-size: 2.5rem; cursor: pointer; transition: 0.3s; }
.modal-close:hover { color: var(--accent); transform: rotate(90deg); }

/* =========================================================================
   13. FORMULÁRIO DE CONTACTO E FAQ
   ========================================================================= */
#contacto { scroll-margin-top: 100px; }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; max-width: 1000px; margin: 0 auto; }
.contact-info { display: flex; flex-direction: column; gap: 30px; padding-right: 20px; }
.contact-info-block h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; color: var(--text-muted); }
.contact-info-block p, .contact-info-block a { font-size: 1.5rem; font-weight: 700; color: var(--text-main); text-decoration: none; transition: color 0.3s; font-family: var(--font-heading); }
.contact-info-block a:hover { color: var(--accent); }

.contact-form { margin: 0; max-width: 100%; display: flex; flex-direction: column; gap: 20px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 18px; background: var(--surface); border: 1px solid rgba(255,255,255,0.05); color: white; font-family: var(--font-body); border-radius: 6px; outline: none; transition: 0.3s; font-size: 1rem; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--accent); background: rgba(255,255,255,0.02); }
.contact-form select { width: 100%; padding: 18px; background: var(--surface); border: 1px solid rgba(255,255,255,0.05); color: white; font-family: var(--font-body); border-radius: 6px; outline: none; transition: 0.3s; font-size: 1rem; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 1em; }
.contact-form select option { background: var(--bg-darker); color: white; padding: 10px; }
.checkbox-group { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9rem; color: var(--text-muted); }
.checkbox-group input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); cursor: pointer; }

#faq { scroll-margin-top: 100px; } 
.faq-wrapper { max-width: 800px; margin: 50px auto 0; }
.faq-item { border: 1px solid rgba(255,255,255,0.05); background: var(--surface); margin-bottom: 15px; border-radius: 6px; overflow: hidden; transition: all 0.3s ease; }
.faq-item:hover { border-color: rgba(155,0,0,0.3); }
.faq-item.active { border-color: var(--accent); box-shadow: 0 5px 20px rgba(0,0,0,0.3); }
.faq-question { padding: 20px 25px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; user-select: none; transition: 0.3s; }
.faq-question:hover { color: var(--accent); }
.faq-icon { color: var(--accent); transition: transform 0.4s ease; font-size: 1.2rem; }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.175, 0.885, 0.32, 1); background: var(--bg-darker); }
.faq-answer-content { padding: 0 25px 25px; color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 10px; padding-top: 20px; }

/* MODAL PRIVACIDADE */
.terms-link { color: var(--accent); text-decoration: underline; transition: color 0.3s; font-weight: 500; }
.terms-link:hover { color: var(--text-main); }
.terms-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 3000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; backdrop-filter: blur(8px); }
.terms-modal.active { opacity: 1; pointer-events: all; }
.terms-modal-content { background: var(--surface); width: 90%; max-width: 700px; max-height: 80vh; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 20px 50px rgba(0,0,0,0.6); display: flex; flex-direction: column; position: relative; transform: translateY(20px); transition: transform 0.4s ease; }
.terms-modal.active .terms-modal-content { transform: translateY(0); }
.terms-modal-header { padding: 25px 30px; border-bottom: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-between; align-items: center; }
.terms-modal-header h2 { font-size: 1.3rem; margin: 0; color: var(--text-main); }
.terms-modal-close { color: var(--text-muted); font-size: 1.5rem; cursor: pointer; transition: color 0.3s; }
.terms-modal-close:hover { color: var(--accent); }
.terms-modal-body { padding: 30px; overflow-y: auto; color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }
.terms-modal-body h3 { color: var(--text-main); font-size: 1.05rem; margin-top: 25px; margin-bottom: 10px; font-family: var(--font-body); }
.terms-modal-body h3:first-child { margin-top: 0; }
.terms-modal-body::-webkit-scrollbar { width: 8px; }
.terms-modal-body::-webkit-scrollbar-track { background: var(--bg-darker); border-radius: 4px; }
.terms-modal-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }
.terms-modal-body::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* =========================================================================
   15. FOOTER E LAYOUT RESPONSIVO (MOBILE)
   ========================================================================= */
footer { background: var(--bg-darker); padding: 60px 20px 30px; text-align: center; border-top: 1px solid rgba(255,255,255,0.02); }
.footer-instagram { font-size: 1.5rem; color: var(--text-main); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; transition: 0.3s; margin-bottom: 30px; }
.footer-instagram:hover { color: var(--accent); transform: scale(1.1); }

@media (max-width: 900px) {
    .hamburger { display: flex; z-index: 2002; position: relative; }
    .nav-links {
        position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background: rgba(5, 5, 5, 0.98); backdrop-filter: blur(15px);
        flex-direction: column; align-items: center; justify-content: center;
        padding: 0; gap: 15px; clip-path: circle(0px at top right); 
        transition: clip-path 0.6s cubic-bezier(0.86, 0, 0.07, 1); z-index: 2000;
    }
    .nav-links.active { clip-path: circle(150% at top right); }
    .nav-links li { width: 100%; text-align: center; opacity: 0; transform: translateY(30px); transition: opacity 0.4s ease, transform 0.4s ease; }
    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
    .nav-links.active li:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
    .nav-links.active li:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
    .nav-links.active li:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
    .nav-links.active li:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
    .nav-links.active li:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }
    .nav-links a { display: inline-block; padding: 15px 40px; font-size: 1.5rem; font-family: var(--font-heading); font-weight: 700; color: var(--text-muted); border-radius: 8px; transition: all 0.3s ease; }
    .nav-links a::after { display: none; }
    .nav-links a:hover, .nav-links a.active { color: var(--text-main); background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); transform: scale(1.05); }
    .nav-links a.active { color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }

    .section { padding: 60px 0; }
    .section-title { font-size: 2rem; margin-bottom: 2rem; }
    .page-header { padding: 130px 0 40px; }
    .page-header h1 { font-size: 2.8rem; }
    .hero-content h1 { font-size: 3rem; }
    .navbar { padding: 15px 20px; } 

    .value-grid { gap: 25px; margin-top: 25px; }
    .value-card { padding: 30px 20px; }
    .services-grid { gap: 20px; margin-top: 30px; }
    .service-card { padding: 30px 20px; }

    /* TIMELINE MOBILE - Deixa os textos visíveis sempre para não saltar na leitura */
    .process-step.reveal, .process-arrow.reveal { transition-delay: 0.1s !important; } 
    .process-wrapper { flex-direction: column; align-items: center; gap: 20px; margin-top: 40px; }
    .process-icon { width: 60px; height: 60px; font-size: 1.4rem; margin-bottom: 10px; }
    .process-step { width: 100%; max-width: 320px; }
    .process-step .text-container { grid-template-rows: 1fr; }
    .process-step p { opacity: 1; transform: translateY(0); margin-top: 5px; font-size: 0.8rem; }
    .process-arrow { transform: rotate(90deg); margin: 5px 0 0 0; font-size: 1rem; }

    .layout-editorial { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .setup-wrapper { grid-template-columns: 1fr; gap: 30px; margin-top: 40px; padding: 20px 0 60px 0; }
    .setup-box { padding: 30px 20px; }
    .stats-wrapper { flex-wrap: wrap; gap: 30px; justify-content: space-around; margin-top: 30px; padding-top: 30px; }
    .stat-number { font-size: 3rem; }
    .commitment-block { padding: 40px 20px 60px; }
    .commitment-block h2 { font-size: 1.3rem; }

    .portfolio-grid { gap: 15px; padding-bottom: 60px; }
    .portfolio-item { height: 220px; }

    .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .contact-info { padding-right: 0; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 30px; }
    .faq-wrapper { margin-top: 30px; }
    .faq-question { font-size: 0.95rem; padding: 15px 20px; }
}}