/* =====================================
   CODEX STUDIO - ESTILO PRINCIPAL
===================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #050505;
    --bg-medium: #0a0a0a;
    --bg-light: #111111;
    --text-primary: #ffffff;
    --text-secondary: #999999;
    --text-muted: #555555;
    --border-color: #222222;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', Arial, sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

::selection {
    background: white;
    color: black;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* =====================================
   LOADER
===================================== */

#loader-screen {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

#loader-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -50px;
    animation: speeder 0.4s linear infinite;
}

.loader > span {
    height: 5px;
    width: 35px;
    background: white;
    position: absolute;
    top: -19px;
    left: 60px;
    border-radius: 2px 10px 1px 0;
}

.base span {
    position: absolute;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-right: 100px solid white;
    border-bottom: 6px solid transparent;
}

.base span:before {
    content: "";
    height: 22px;
    width: 22px;
    border-radius: 50%;
    background: white;
    position: absolute;
    right: -110px;
    top: -16px;
}

.base span:after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-top: 0 solid transparent;
    border-right: 55px solid white;
    border-bottom: 16px solid transparent;
    top: -16px;
    right: -98px;
}

.face {
    position: absolute;
    height: 12px;
    width: 20px;
    background: white;
    border-radius: 20px 20px 0 0;
    transform: rotate(-40deg);
    right: -125px;
    top: -15px;
}

.face:after {
    content: "";
    height: 12px;
    width: 12px;
    background: white;
    right: 4px;
    top: 7px;
    position: absolute;
    transform: rotate(40deg);
    border-radius: 0 0 0 2px;
}

.loader > span > span {
    width: 30px;
    height: 1px;
    background: white;
    position: absolute;
    animation: fazer1 0.2s linear infinite;
}

.loader > span > span:nth-child(2) {
    top: 3px;
    animation: fazer2 0.4s linear infinite;
}

.loader > span > span:nth-child(3) {
    top: 1px;
    animation: fazer3 0.4s linear infinite;
    animation-delay: -1s;
}

.loader > span > span:nth-child(4) {
    top: 4px;
    animation: fazer4 1s linear infinite;
    animation-delay: -1s;
}

.longfazers {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.longfazers span {
    position: absolute;
    height: 2px;
    width: 20%;
    background: #555;
}

.longfazers span:nth-child(1) {
    top: 20%;
    animation: lf 0.6s linear infinite;
    animation-delay: -5s;
}

.longfazers span:nth-child(2) {
    top: 40%;
    animation: lf2 0.8s linear infinite;
    animation-delay: -1s;
}

.longfazers span:nth-child(3) {
    top: 60%;
    animation: lf3 0.6s linear infinite;
}

.longfazers span:nth-child(4) {
    top: 80%;
    animation: lf4 0.5s linear infinite;
    animation-delay: -3s;
}

.loader-label {
    position: absolute;
    bottom: 70px;
    width: 100%;
    text-align: center;
}

.loader-label span {
    display: block;
    font-size: 12px;
    letter-spacing: 6px;
    margin-bottom: 10px;
    font-weight: 600;
}

.loader-label small {
    color: #555;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

@keyframes speeder {
    0% { transform: translate(2px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -3px) rotate(-1deg); }
    20% { transform: translate(-2px, 0px) rotate(1deg); }
    30% { transform: translate(1px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 3px) rotate(-1deg); }
    60% { transform: translate(-1px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-2px, -1px) rotate(1deg); }
    90% { transform: translate(2px, 1px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}

@keyframes fazer1 {
    0% { left: 0; }
    100% { left: -80px; opacity: 0; }
}

@keyframes fazer2 {
    0% { left: 0; }
    100% { left: -100px; opacity: 0; }
}

@keyframes fazer3 {
    0% { left: 0; }
    100% { left: -50px; opacity: 0; }
}

@keyframes fazer4 {
    0% { left: 0; }
    100% { left: -150px; opacity: 0; }
}

@keyframes lf {
    0% { left: 200%; }
    100% { left: -200%; opacity: 0; }
}

@keyframes lf2 {
    0% { left: 200%; }
    100% { left: -200%; opacity: 0; }
}

@keyframes lf3 {
    0% { left: 200%; }
    100% { left: -100%; opacity: 0; }
}

@keyframes lf4 {
    0% { left: 200%; }
    100% { left: -100%; opacity: 0; }
}

/* =====================================
   NAVBAR
===================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 6vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 6vw;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
}

.logo-placeholder {
    width: 40px;
    height: 40px;
    border: 1px solid #444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    background: white;
    color: black;
}

.navbar nav {
    display: flex;
    gap: 35px;
}

.navbar nav a {
    position: relative;
    font-size: 11px;
    color: var(--text-secondary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.navbar nav a:hover {
    color: white;
}

.navbar nav a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: white;
    transition: width 0.3s ease;
}

.navbar nav a:hover::after {
    width: 100%;
}

.login-link {
    font-size: 11px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-link:hover {
    color: white;
}

/* =====================================
   BOTÕES
===================================== */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    border: 1px solid white;
    background: white;
    color: black;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 10px;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

.button.small {
    padding: 12px 20px;
    font-size: 10px;
}

.button.outline {
    background: transparent;
    color: white;
}

.button.outline:hover {
    background: white;
    color: black;
}

.button.dark-button {
    background: black;
    color: white;
    border-color: black;
}

.button.dark-button:hover {
    background: white;
    color: black;
    border-color: black;
}

/* =====================================
   HERO
===================================== */

.hero {
    position: relative;
    min-height: 100vh;
    padding: 160px 10vw 100px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    right: -300px;
    top: 15%;
    border: 1px solid #151515;
    border-radius: 50%;
}

.hero::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    right: -170px;
    top: 35%;
    border: 1px solid #181818;
    border-radius: 50%;
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    background-image:
        linear-gradient(#151515 1px, transparent 1px),
        linear-gradient(90deg, #151515 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(to right, transparent, black, transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.hero-tag {
    display: block;
    color: #666;
    font-size: 11px;
    letter-spacing: 5px;
    margin-bottom: 35px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(60px, 10vw, 140px);
    font-weight: 300;
    line-height: 0.85;
    letter-spacing: -6px;
}

.hero h1 strong {
    display: block;
    font-weight: 900;
}

.hero-description {
    max-width: 550px;
    margin: 45px 0 40px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 15px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-number {
    position: absolute;
    bottom: 40px;
    right: 6vw;
    color: #333;
    font-size: 11px;
    letter-spacing: 2px;
}

/* =====================================
   SEÇÕES
===================================== */

.section {
    padding: 150px 10vw;
}

.page-header {
    padding: 180px 10vw 80px;
    border-bottom: 1px solid var(--border-color);
}

.page-header > span {
    font-size: 11px;
    color: #666;
    letter-spacing: 5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
}

.page-header h1 {
    margin: 0 0 30px;
    font-size: clamp(50px, 8vw, 100px);
    font-weight: 300;
    line-height: 0.9;
    letter-spacing: -5px;
}

.page-header h1 strong {
    display: block;
    font-weight: 900;
}

.page-header p {
    max-width: 600px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    font-size: 12px;
    color: #888;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: white;
}

.back-link svg {
    transition: transform 0.3s ease;
}

.back-link:hover svg {
    transform: translateX(-5px);
}

.section-heading {
    max-width: 850px;
    margin-bottom: 80px;
}

.section-heading > span {
    font-size: 11px;
    color: #666;
    letter-spacing: 5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
}

.section-heading h2 {
    margin: 0 0 30px;
    font-size: clamp(50px, 8vw, 100px);
    font-weight: 300;
    line-height: 0.9;
    letter-spacing: -5px;
}

.section-heading h2 strong {
    display: block;
    font-weight: 900;
}

.section-heading p {
    max-width: 600px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* =====================================
   SERVIÇOS
===================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-color);
    border: 1px solid var(--border-color);
}

.service-card {
    min-height: 380px;
    padding: 50px 40px;
    position: relative;
    background: var(--bg-dark);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: white;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    background: var(--bg-medium);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card .number {
    font-size: 12px;
    color: #555;
    letter-spacing: 3px;
    margin-bottom: 40px;
    font-weight: 600;
}

.service-icon {
    margin-bottom: 30px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.service-card:hover .service-icon {
    color: white;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.service-card p {
    color: #777;
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 14px;
    flex-grow: 1;
}

.service-card a {
    font-size: 11px;
    color: var(--text-secondary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}



.service-card a:hover {
    color: white;
}

.service-card a:hover::after {
    transform: translateX(5px);
}

.servico-lista {
    margin: 20px 0 30px;
    padding: 0;
}

.servico-lista li {
    color: #888;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
}

.servico-lista li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #555;
    font-size: 12px;
}

/* =====================================
   DIFERENCIAIS
===================================== */

.diferenciais-section {
    background: var(--bg-medium);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: #444;
    transform: translateY(-5px);
}

.feature-item svg {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

/* =====================================
   PORTFÓLIO
===================================== */

.portfolio-section {
    background: var(--bg-dark);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.project-large {
    grid-column: span 2;
}

.project {
    transition: all 0.3s ease;
}

.project:hover {
    transform: translateY(-5px);
}

.project-image {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: linear-gradient(135deg, #151515, #050505);
    aspect-ratio: 16/9;
}

.project-large .project-image {
    aspect-ratio: 21/9;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project:hover .project-image img {
    transform: scale(1.05);
}

.project-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 900;
    color: #222;
    letter-spacing: -3px;
}

.project-info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 25px 0;
    gap: 20px;
}

.project-number {
    font-size: 12px;
    color: #555;
    letter-spacing: 2px;
}

.project-info h3 {
    font-size: 22px;
    margin-bottom: 8px;
    font-weight: 600;
}

.project-info p {
    color: #666;
    font-size: 13px;
    margin-bottom: 10px;
}

.tags {
    font-size: 11px;
    color: #444;
    font-weight: 400;
}

.project-arrow {
    font-size: 20px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.project:hover .project-arrow {
    color: white;
    transform: translateX(5px);
}

/* =====================================
   PROCESSO
===================================== */

.processo-section {
    background: var(--bg-medium);
}

.processo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.processo-item {
    padding: 40px;
    border-top: 2px solid #333;
    transition: all 0.3s ease;
}

.processo-item:hover {
    border-top-color: white;
}

.processo-item > span {
    font-size: 40px;
    font-weight: 900;
    color: #333;
    display: block;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.processo-item:hover > span {
    color: #666;
}

.processo-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.processo-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

/* =====================================
   SOBRE
===================================== */

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.sobre-texto h2,
.sobre-missao h3 {
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: 600;
}

.sobre-texto p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.sobre-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    border: 1px solid var(--border-color);
}

.stat-item strong {
    font-size: 32px;
    font-weight: 900;
    display: block;
    margin-bottom: 8px;
}

.stat-item span {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sobre-missao {
    padding: 40px;
    background: var(--bg-medium);
    border: 1px solid var(--border-color);
}

.sobre-missao h3 {
    margin-top: 30px;
    font-size: 18px;
}

.sobre-missao h3:first-child {
    margin-top: 0;
}

.sobre-missao p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 10px;
}

.sobre-missao ul li {
    color: #888;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.sobre-missao ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #555;
}

/* =====================================
   CTA
===================================== */

.cta {
    padding: 150px 10vw;
    background: white;
    color: black;
    text-align: center;
}

.cta > span {
    font-size: 11px;
    color: #777;
    letter-spacing: 5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 25px;
}

.cta h2 {
    max-width: 900px;
    margin: 0 auto 50px;
    font-size: clamp(50px, 8vw, 110px);
    font-weight: 300;
    line-height: 0.9;
    letter-spacing: -5px;
}

.cta h2 strong {
    display: block;
    font-weight: 900;
}

/* =====================================
   FOOTER
===================================== */

footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding: 60px 6vw;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-brand > span {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 4px;
}

.footer-brand p {
    width: 100%;
    color: #666;
    margin-top: 20px;
}

.footer-links h4,
.footer-contato h4 {
    font-size: 13px;
    margin-bottom: 20px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-links a,
.footer-contato a {
    display: block;
    color: #555;
    margin-bottom: 10px;
    font-size: 13px;
}

.footer-links a:hover,
.footer-contato a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding: 25px 6vw;
    border-top: 1px solid var(--border-color);
    color: #444;
    font-size: 12px;
}

/* =====================================
   BOTÃO VOLTAR AO TOPO
===================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    color: black;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* =====================================
   ANIMAÇÕES
===================================== */

.service-card,
.project,
.feature-item,
.processo-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.animate,
.project.animate,
.feature-item.animate,
.processo-item.animate {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================
   RESPONSIVO
===================================== */

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .processo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 100px 6vw;
    }
    
    .page-header {
        padding: 140px 6vw 60px;
    }
    
    .hero {
        padding: 140px 6vw 80px;
    }
    
    .navbar {
        padding: 20px 6vw;
    }
    
    .navbar nav {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .project-large {
        grid-column: auto;
    }
    
    .processo-grid {
        grid-template-columns: 1fr;
    }
    
    .sobre-grid {
        grid-template-columns: 1fr;
    }
    
    .sobre-stats {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 50px;
        letter-spacing: -3px;
    }
    
    .section-heading h2,
    .page-header h1,
    .cta h2 {
        font-size: 40px;
        letter-spacing: -3px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* =====================================
   VERSION BADGE
===================================== */

.version-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
    user-select: none;
    transition: all 0.3s ease;
    cursor: default;
    text-transform: lowercase;
}

.version-badge:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.08);
}

.version-dot {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(74, 222, 128, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

.version-label {
    font-weight: 700;
    color: white;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

/* Ajuste no footer-bottom para acomodar a badge */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
/* =====================================
   MENU MOBILE (HAMBÚRGUER)
===================================== */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.menu-toggle:hover {
    border-color: #555;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 100px 8vw 60px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.mobile-menu nav a {
    font-size: clamp(30px, 7vw, 44px);
    font-weight: 300;
    letter-spacing: 2px;
    padding: 10px 0;
    color: var(--text-secondary);
    transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.mobile-menu nav a:hover,
.mobile-menu nav a.active {
    color: white;
    letter-spacing: 4px;
}

.mobile-menu .button {
    margin-top: 10px;
}

.mobile-menu-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 13px;
}

.mobile-menu-footer a:hover {
    color: white;
}

body.menu-open {
    overflow: hidden;
}

/* Estado ativo do link da navegação */
.navbar nav a.active {
    color: white;
}

.navbar nav a.active::after {
    width: 100%;
}

/* =====================================
   BARRA DE PROGRESSO DE LEITURA
===================================== */

#scrollProgress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: white;
    z-index: 10000;
    transition: width 0.1s linear;
    pointer-events: none;
}

/* =====================================
   WHATSAPP FLUTUANTE
===================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #25d366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
    width: 27px;
    height: 27px;
}

@keyframes whatsapp-pulse {
    0%, 100% {
        box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 5px 25px rgba(37, 211, 102, 0.7);
    }
}

/* Ajuste do voltar-ao-topo para não sobrepor o WhatsApp */
.back-to-top {
    bottom: 100px;
}

/* =====================================
   MARQUEE (FAIXA ROLANTE)
===================================== */

.marquee {
    overflow: hidden;
    padding: 28px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-medium);
}

.marquee-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: marquee 32s linear infinite;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-track span {
    display: flex;
    align-items: center;
    gap: 60px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #555;
    white-space: nowrap;
}

.marquee-track span::after {
    content: "✦";
    font-size: 10px;
    color: #333;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* =====================================
   BARRA DE NÚMEROS (STATS)
===================================== */

.stats-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border-color);
    background: var(--border-color);
    gap: 1px;
}

.stat-box {
    background: var(--bg-dark);
    padding: 55px 30px;
    text-align: center;
    transition: background 0.3s ease;
}

.stat-box:hover {
    background: var(--bg-medium);
}

.stat-box strong {
    display: block;
    font-size: clamp(38px, 4vw, 54px);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 12px;
}

.stat-box span {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* =====================================
   DEPOIMENTOS
===================================== */

.depoimentos-section {
    background: var(--bg-medium);
}

[hidden] { display: none !important; }

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.depoimento-card {
    display: flex;
    flex-direction: column;
    padding: 40px 35px;
    border: 1px solid var(--border-color);
    background: var(--bg-dark);
    transition: all 0.3s ease;
}

.depoimento-card:hover {
    border-color: #444;
    transform: translateY(-5px);
}

.depoimento-stars {
    color: white;
    letter-spacing: 5px;
    font-size: 13px;
    margin-bottom: 25px;
}

.depoimento-card > p {
    color: #999;
    line-height: 1.8;
    font-size: 14px;
    font-style: italic;
    flex-grow: 1;
}

.depoimento-card > p::before {
    content: "“";
    color: #444;
    font-size: 20px;
    margin-right: 4px;
}

.depoimento-card > p::after {
    content: "”";
    color: #444;
    font-size: 20px;
    margin-left: 4px;
}

.depoimento-autor {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.depoimento-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: white;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
}

.depoimento-autor strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
}

.depoimento-autor span {
    font-size: 12px;
    color: #666;
}

/* =====================================
   FAQ
===================================== */

.faq-list {
    max-width: 900px;
    border-top: 1px solid var(--border-color);
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 32px 5px;
    background: none;
    border: none;
    color: white;
    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #ccc;
}

.faq-icon {
    position: relative;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background: #666;
    transition: all 0.35s ease;
}

.faq-icon::before {
    top: 8px;
    left: 0;
    width: 18px;
    height: 2px;
}

.faq-icon::after {
    top: 0;
    left: 8px;
    width: 2px;
    height: 18px;
}

.faq-item.open .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-item.open .faq-icon::before {
    background: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    color: #888;
    line-height: 1.8;
    font-size: 14px;
    padding: 0 5px 32px;
    max-width: 750px;
}

/* =====================================
   RODAPÉ — REDES SOCIAIS
===================================== */

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    color: #666;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: white;
    color: black;
    border-color: white;
    transform: translateY(-3px);
}

/* =====================================
   FORMULÁRIO — ERROS DE VALIDAÇÃO
===================================== */

.budget-field input.field-error,
.budget-field select.field-error,
.budget-field textarea.field-error {
    border-color: #f44336;
    background: rgba(244, 67, 54, 0.06);
}

/* =====================================
   ANIMAÇÕES — NOVOS COMPONENTES
===================================== */

.stat-box,
.depoimento-card,
.section-heading {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-box.animate,
.depoimento-card.animate,
.section-heading.animate {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {

    .marquee-track {
        animation: none;
    }

    .whatsapp-float {
        animation: none;
    }
}

/* =====================================
   RESPONSIVO — NOVOS COMPONENTES
===================================== */

@media (max-width: 1024px) {
    .depoimentos-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-band {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar .button.small {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .depoimentos-grid {
        grid-template-columns: 1fr;
    }

    .stats-band {
        grid-template-columns: 1fr 1fr;
    }

    .stat-box {
        padding: 35px 20px;
    }

    .faq-question {
        font-size: 16px;
        padding: 25px 5px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .back-to-top {
        bottom: 85px;
    }
}

@media (max-width: 480px) {
    .stats-band {
        grid-template-columns: 1fr;
    }

    .marquee-track {
        gap: 40px;
    }

    .marquee-track span {
        gap: 40px;
        letter-spacing: 3px;
    }
}
