/* --- 1. Variáveis e Reset --- */
:root {
    --primary-yellow: #FFC107;
    --primary-hover: #e0a800;
    --light-yellow-bg: #FFF9E6;
    --dark-bg: #0f1115;
    --black-bg: #000000;
    --text-white: #ffffff;
    --text-gray: #cccccc;
    --text-dark: #333333;
    --font-main: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    background-color: var(--dark-bg);
    color: var(--text-white);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- 2. Tipografia e Cores Utilitárias --- */
.text-gray { color: var(--text-gray); }
.text-dark { color: var(--text-dark); }
.text-white { color: #fff !important; }
.text-center { text-align: center; }
.highlight { color: var(--primary-yellow); }
.highlight-text { color: var(--primary-yellow); }

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: inherit;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-yellow);
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: inline-block;
    text-transform: uppercase;
}

/* --- 3. Botões Gerais --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary { background-color: var(--primary-yellow); color: #000; }
.btn-primary:hover { background-color: var(--primary-hover); }

.btn-black {
    display: inline-block;
    background-color: #111;
    color: #fff;
    padding: 15px 35px;
    font-weight: 700;
    border-radius: 4px;
    transition: transform 0.3s;
}
.btn-black:hover {
    background-color: #000;
    transform: translateY(-3px);
    color: var(--primary-yellow);
}

.btn-outline-light {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    transition: 0.3s;
}
.btn-outline-light:hover { background-color: rgba(255,255,255,0.1); border-color: #fff; }

.full-width { width: 100%; }

/* --- 4. Estrutura de Seções Base --- */
.white-section { background-color: #fff; padding: 80px 0; color: #333; }
.gray-section { background-color: #f9f9f9; padding: 80px 0; color: #333; }
.dark-section { background-color: #1a1d24; padding: 80px 0; color: #fff; }
.narrow-container { max-width: 800px; margin: 0 auto; }
.text-block p { font-size: 1.1rem; line-height: 1.6; color: #555; margin-bottom: 15px; }

/* --- 5. Header (Menu) --- */
header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 20px 0; background: transparent; transition: background-color 0.3s ease;
}
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo-img { height: 40px; width: auto; display: block; }
.navbar.desktop-nav ul { display: flex; gap: 30px; }
.navbar a { font-size: 0.9rem; font-weight: 500; color: var(--text-gray); }
.navbar a:hover, .navbar a.active { color: var(--text-white); font-weight: 700; }

/* Menu Mobile */
.mobile-menu-icon { display: none; cursor: pointer; z-index: 1001; }
.bar { width: 25px; height: 3px; background-color: #fff; margin: 5px 0; transition: 0.4s; }
.mobile-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    z-index: 2000; background-color: rgba(0,0,0,0.6);
    visibility: hidden; opacity: 0; transition: visibility 0s linear 0.3s, opacity 0.3s ease-in-out;
}
.mobile-menu-overlay.active { visibility: visible; opacity: 1; transition-delay: 0s; }
.mobile-menu-content {
    position: absolute; top: 0; right: -100%; width: 85%; max-width: 320px;
    height: 100%; background-color: #ffffff; padding: 25px;
    transition: right 0.3s ease-in-out; display: flex; flex-direction: column; box-shadow: -5px 0 20px rgba(0,0,0,0.3);
}
.mobile-menu-overlay.active .mobile-menu-content { right: 0; }
.mobile-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.logo-img-mobile { height: 35px; width: auto; display: block; }
.close-btn { font-size: 1.8rem; background: none; border: none; color: #333; cursor: pointer; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 15px; }
.mobile-nav a { display: block; font-size: 1rem; color: #666; padding: 12px 15px; border-radius: 8px; font-weight: 500; }
.mobile-nav a:hover { color: #000; background-color: #f5f5f5; }
.mobile-nav a.active { background-color: var(--light-yellow-bg); color: #000; font-weight: 600; }
.mobile-footer { margin-top: auto; padding-top: 20px; border-top: 1px solid #eee; }
.btn-dark-pill { display: block; width: 100%; background-color: #2c2c2c; color: #fff; text-align: center; padding: 14px; border-radius: 50px; font-weight: 600; }

@media (max-width: 900px) {
    .navbar.desktop-nav, .desktop-btn { display: none; }
    .mobile-menu-icon { display: block; }
}

/* --- 6. Hero Base (Usado por padrão) --- */
.hero {
    position: relative; height: 100vh; min-height: 600px;
    display: flex; align-items: center; background-color: var(--black-bg); overflow: hidden;
}
.video-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Isso garante que a imagem de capa não estique */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
 opacity: 0.3; }
.overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%); z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-title { font-size: 3.5rem; line-height: 1.2; font-weight: 900; margin-bottom: 20px; }
.hero-description { font-size: 1.1rem; color: var(--text-gray); margin-bottom: 40px; max-width: 600px; }
.hero-buttons { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

@media (max-width: 500px) {
    .hero-title { font-size: 2rem; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
}

/* --- 7. Footer --- */
#footer { background-color: #0f1115; color: #fff; padding-top: 80px; border-top: 1px solid #1a1d24; }
.footer-container { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer-desc { color: #888; font-size: 0.9rem; line-height: 1.6; margin-bottom: 25px; max-width: 300px; }
.social-links { display: flex; gap: 15px; }
.social-icon { width: 36px; height: 36px; background-color: #1a1d24; display: flex; align-items: center; justify-content: center; border-radius: 4px; color: #fff; font-weight: bold; font-size: 0.8rem;}
.social-icon:hover { background-color: var(--primary-yellow); color: #000; }
.footer-col h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; color: #fff; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { color: #888; font-size: 0.9rem; }
.footer-col ul a:hover { color: var(--primary-yellow); }
.contact-list li { color: #888; font-size: 0.9rem; }
.footer-link-highlight { display: inline-block; margin-top: 15px; color: var(--primary-yellow); font-weight: 700; font-size: 0.9rem; border-bottom: 1px solid var(--primary-yellow); }
.footer-bottom { background-color: #000; padding: 20px 0; text-align: center; font-size: 0.85rem; color: #555; }

@media (max-width: 900px) {
    .footer-container { grid-template-columns: 1fr; gap: 50px; }
}

/* --- 8. Seções Compartilhadas (CTAs) --- */
/* CTA Amarelo */
.cta-section {
    position: relative; background-color: var(--primary-yellow); padding: 100px 0;
    text-align: center; color: #000; overflow: hidden;
}
.cta-background {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.1;
    background-image: linear-gradient(45deg, #000 25%, transparent 25%, transparent 75%, #000 75%, #000), linear-gradient(45deg, #000 25%, transparent 25%, transparent 75%, #000 75%, #000);
    background-size: 40px 40px; background-position: 0 0, 20px 20px; pointer-events: none;
}
.cta-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.cta-title { font-size: 3rem; font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.cta-title .underline-text { border-bottom: 4px solid #000; display: inline-block; line-height: 1.2; }
.cta-text { font-size: 1.1rem; margin-bottom: 40px; font-weight: 500; }
.cta-divider { width: 100%; height: 3px; background-color: rgba(0,0,0,0.3); margin: 60px 0 40px 0; }
.cta-info-grid { display: flex; justify-content: center; gap: 0; }
.cta-info-item { padding: 0 40px; text-align: left; }
.middle-item { border-left: 3px solid rgba(0,0,0,0.6); border-right: 3px solid rgba(0,0,0,0.3); }
.info-label { display: block; font-size: 0.85rem; color: #333; margin-bottom: 5px; }
.info-value { display: block; font-size: 1.2rem; font-weight: 800; }

/* CTA Assessment Dark */
.cta-assessment-dark {
    background-color: #121212; padding: 80px 0; border-top: 1px solid #222; border-bottom: 1px solid #222;
    position: relative; overflow: hidden;
}
.cta-flex-wrapper { display: flex; justify-content: space-between; align-items: center; gap: 60px; position: relative; z-index: 1; }
.cta-text-content { max-width: 600px; }
.cta-tag { display: inline-block; font-size: 0.75rem; font-weight: 700; color: var(--primary-yellow); border: 1px solid var(--primary-yellow); padding: 4px 10px; border-radius: 4px; margin-bottom: 15px; letter-spacing: 1px; }
.cta-title-light { font-size: 2.5rem; font-weight: 800; color: #fff; line-height: 1.1; margin-bottom: 15px; }
.cta-title-light .highlight { color: var(--primary-yellow); }
.cta-desc-light { font-size: 1.1rem; color: #bbb; line-height: 1.6; }
.cta-action-content { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.btn-glow { box-shadow: 0 0 15px rgba(255, 193, 7, 0.3); padding: 15px 30px; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.5px; }
.btn-glow:hover { box-shadow: 0 0 25px rgba(255, 193, 7, 0.5); transform: translateY(-2px); }
.score-preview { display: flex; align-items: center; gap: 15px; }
.score-circle-mini { position: relative; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; }
.circular-chart-mini { width: 100%; height: 100%; transform: rotate(-90deg); }
.circular-chart-mini .circle-bg { fill: none; stroke: #333; stroke-width: 3; }
.circular-chart-mini .circle { fill: none; stroke: var(--primary-yellow); stroke-width: 3; stroke-dasharray: 0, 100; animation: mini-progress 2s ease-out forwards; }
@keyframes mini-progress { to { stroke-dasharray: 75, 100; } }
.score-text { position: absolute; color: #fff; font-weight: 700; font-size: 1.2rem; }
.score-label { color: #666; font-size: 0.9rem; font-weight: 500; }

@media (max-width: 900px) {
    .cta-title { font-size: 2.2rem; }
    .cta-info-grid { flex-direction: column; gap: 30px; align-items: center; }
    .cta-info-item { text-align: center; border: none; padding: 0; }
    .cta-flex-wrapper { flex-direction: column; text-align: center; gap: 40px; }
    .cta-text-content { margin: 0 auto; }
    .score-preview { display: none; }
}

/* --- 9. Utilitários (Toast, Forms, Animações) --- */
.toast-notification {
    position: fixed; top: 20px; right: 20px;
    background-color: #fff; color: #333;
    padding: 15px 25px; border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 9999; font-weight: 600; font-size: 0.95rem;
    display: flex; align-items: center; gap: 10px;
    opacity: 0; transform: translateY(-20px);
    transition: all 0.4s ease; border-left: 5px solid #ccc;
}
.toast-notification.show { opacity: 1; transform: translateY(0); }
.toast-success { border-left-color: #28a745; }
.toast-error { border-left-color: #dc3545; }

.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 15px; border: 1px solid #ddd;
    border-radius: 5px; font-family: var(--font-main); font-size: 1rem; color: #333; transition: border 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary-yellow); box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}
.input-error { border-color: #dc3545 !important; background-color: #fff8f8; }
.error-msg { color: #dc3545; font-size: 0.8rem; margin-top: 5px; display: none; font-weight: 600; }

.fade-in { animation: fadeIn 0.6s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Decorações de Texto (Caneta/Risco) */
.risco-caneta {
    display: inline-block; position: relative; z-index: 1; padding: 0.1em 0.4em;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 60' preserveAspectRatio='none'%3e%3cpath d='M10,30 Q30,5 100,5 Q170,5 190,30 Q200,55 100,55 Q20,55 5,35 Q-5,15 50,15' fill='none' stroke='%23FFC107' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' vector-effect='non-scaling-stroke' opacity='0.85' /%3e%3c/svg%3e");
    background-repeat: no-repeat; background-size: 100% 120%; background-position: center;
}
.risco-caneta:nth-child(odd) { transform: rotate(-1deg); }
.risco-caneta:nth-child(even) { transform: rotate(1deg); }

.tachado-mao {
    position: relative; display: inline-block; color: #555;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3e%3cpath d='M0 12 C 30 12, 70 10, 100 12' fill='none' stroke='%23FFC107' stroke-width='3' stroke-linecap='round' vector-effect='non-scaling-stroke' opacity='0.85' /%3e%3c/svg%3e");
    background-repeat: no-repeat; background-size: 100% 100%; background-position: center;
}
.tachado-mao::after {
    content: "";
   position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3e%3cpath d='M0 12 C 30 12, 70 10, 100 12' fill='none' stroke='%23FFC107' stroke-width='3' stroke-linecap='round' vector-effect='non-scaling-stroke' opacity='0.85' /%3e%3c/svg%3e");
    background-repeat: no-repeat; background-size: 100% 100%; background-position: center;
}
/* =========================================
   VARIAÇÕES DE HERO (DIFERENCIAÇÃO DE PÁGINAS)
   ========================================= */

/* Padrão para remover o vídeo e ajustar altura */
.hero-static {
    background-color: var(--dark-bg);
    position: relative;
    overflow: hidden;
    /* Altura um pouco menor que a home para páginas internas */
    height: 70vh; 
    min-height: 500px;
    display: flex;
    align-items: center;
}

/* 1. WEBSITES (Tecnológico - Azul Noturno Sutil) */
.hero-tech-bg {
    background-color: #1a1a0d;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px; /* Cria o quadriculado */
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #222;
}

/* Sombra nas bordas para suavizar o grid */
.hero-tech-bg::after {
    content: "";
    position: absolute; left: 0; top: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, transparent 0%, #0f1115 90%);
    pointer-events: none;
}


/* 2. ID VISUAL (Criativo - Toque de Ouro) */
.hero-watermark-bg {
   background: linear-gradient(135deg, #1a1d24 0%, #0f1115 100%);
    background-image: 
        linear-gradient(rgba(255, 217, 0, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 217, 0, 0.5) 1px, transparent 1px);
    background-size: 50px 50px; /* Cria o quadriculado */
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #222;    
}

.watermark-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15vw; /* Gigante */
    font-weight: 900;
    color: rgba(225, 255, 255, 0.01); /* Quase invisível */
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    text-transform: uppercase;
}




/* 3. PORTFÓLIO (Spotlight - Foco Central) */
.hero-spotlight {
    background: radial-gradient(circle at 50% 50%, #1f2229 0%, #000000 80%);
}

/* 4. SOBRE (Institucional - Cinza Neutro) */
.hero-institution {
   /* background: linear-gradient(135deg, #1a1d24 0%, #0f1115 100%);*/
    background-color:  #4d4100;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px);
    background-size: 50px 50px; /* Cria o quadriculado */
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #222;

}
.hero-institution::after {
    content: "";
    position: absolute; left: 0; top: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, transparent 0%, #201c01 90%);
    pointer-events: none;
}

/* 5. CONTATO / ORÇAMENTO (Compacto e Direto) */
.hero-compact {
    background-color: #1a1a0d;
    background-image: 
        linear-gradient(rgba(255, 217, 0, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 217, 0, 0.5) 1px, transparent 1px);
    background-size: 50px 50px; /* Cria o quadriculado */
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #222;
}
.hero-compact::after {
    content: "";
    position: absolute; left: 0; top: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, transparent 0%, #201c01 90%);
    pointer-events: none;
}


/* --- A FAIXA DE IDENTIDADE (Sua ideia!) --- */
.page-identity-bar {
    width: 100%;
    background-color: var(--primary-yellow);
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

/* Setinha decorativa na faixa */
.page-identity-bar::before {
    content: "↓";
    margin-right: 15px;
    font-weight: 900;
}
.page-identity-bar::after {
    content: "↓";
    margin-left: 15px;
    font-weight: 900;
}


/* --- AJUSTES DE ALINHAMENTO --- */
.text-left-hero {
    text-align: left;
    align-items: flex-start;
    max-width: 800px;
    
}

.text-center-hero {
    text-align: center;
    margin: 0 auto;
}