/*
Theme Name: Vitel Design Twenty Child
Theme URI: https://viteldesign.com/
Description: Child theme/model pack para WordPress, inspirado no layout Vitel Design fornecido. Compatível com temas Twenty clássicos; ajuste Template conforme a versão Twenty instalada.
Author: Vitel Design
Version: 2.0.0
Text Domain: vitel-design
Template: twentytwentyfour
*/

/* =========================================
   IDENTIDADE VITEL DESIGN
========================================= */
:root {
    --vitel-black: #0a0a0a;
    --vitel-dark: #171717;
    --vitel-gray: #737373;
    --vitel-light: #f5f5f5;
    --vitel-white: #ffffff;
    --vitel-border: rgba(255,255,255,0.10);
    --vitel-accent: #2563eb;
    --vitel-radius: 2rem;
    --vitel-container: 1280px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    background: var(--vitel-black);
}

body {
    margin: 0;
    padding: 0;
    background: var(--vitel-black);
    color: var(--vitel-light);
    font-family: "Inter", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.admin-bar .vitel-site-header { top: 32px; }

@media (max-width: 782px) {
    body.admin-bar .vitel-site-header { top: 46px; }
}

h1,h2,h3,h4,h5,h6,
.vitel-display {
    font-family: "Syne", sans-serif !important;
    letter-spacing: -0.025em;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

::selection {
    background: var(--vitel-light);
    color: var(--vitel-black);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--vitel-black); }
::-webkit-scrollbar-thumb {
    background: #303030;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: #4a4a4a; }

/* =========================================
   CONTAINER / UTILITÁRIOS
========================================= */
.vitel-container {
    width: min(calc(100% - 48px), var(--vitel-container));
    margin-inline: auto;
}

.vitel-section {
    position: relative;
    padding: 96px 0;
}

.vitel-eyebrow {
    display: block;
    margin-bottom: 14px;
    color: var(--vitel-gray);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: .20em;
    text-transform: uppercase;
}

.vitel-section-title {
    margin: 0;
    font-size: clamp(2.4rem, 6vw, 5.25rem);
    line-height: .94;
    font-weight: 600;
}

.vitel-muted { color: var(--vitel-gray); }

.vitel-grid-bg {
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 54px 54px;
}

.vitel-fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: vitelFadeUp .8s cubic-bezier(.16,1,.3,1) forwards;
}

@keyframes vitelFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   HEADER
========================================= */
.vitel-site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 0;
    transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}

.vitel-site-header.is-scrolled {
    background: rgba(10,10,10,.72);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.vitel-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
}

.vitel-logo {
    display: block;
    width: auto;
    height: 42px;
    max-width: 190px;
    object-fit: contain;
    object-position: left center;
    filter: none;
    transition: filter .35s ease, opacity .25s ease;
}

.vitel-logo.logo-light {
    filter: brightness(0) invert(1);
}

.vitel-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.vitel-main-nav ul {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vitel-main-nav a {
    color: rgba(245,245,245,.74);
    font-size: 13px;
    font-weight: 500;
    transition: color .25s ease;
}

.vitel-main-nav a:hover,
.vitel-main-nav .current-menu-item > a {
    color: #fff;
}

.vitel-header[data-theme="light"] .vitel-main-nav a {
    color: rgba(10,10,10,.68);
}
.vitel-header[data-theme="light"] .vitel-main-nav a:hover,
.vitel-header[data-theme="light"] .vitel-main-nav .current-menu-item > a {
    color: #0a0a0a;
}

.vitel-header[data-theme="light"] .vitel-menu-toggle {
    color: #0a0a0a;
    border-color: rgba(10,10,10,.15);
}

@media (max-width: 900px) {
    .vitel-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .vitel-main-nav {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 24px;
        right: 24px;
        padding: 22px;
        border: 1px solid rgba(255,255,255,.10);
        border-radius: 22px;
        background: rgba(15,15,15,.96);
        backdrop-filter: blur(18px);
    }
    .vitel-main-nav.is-open { display: block; }
    .vitel-main-nav ul { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* =========================================
   HERO
========================================= */
.vitel-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 150px 0 100px;
    background: var(--vitel-black);
}

.vitel-hero::after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    top: 18%;
    left: 18%;
    border-radius: 50%;
    background: rgba(255,255,255,.035);
    filter: blur(110px);
    pointer-events: none;
}

.vitel-hero-copy {
    position: relative;
    z-index: 2;
    max-width: 920px;
}

.vitel-hero-title {
    margin: 0 0 28px;
    font-size: clamp(4rem, 10vw, 8.8rem);
    line-height: .80;
    font-weight: 700;
}

.vitel-hero-title .is-muted { color: var(--vitel-gray); }

.vitel-hero-text {
    max-width: 680px;
    margin: 0 0 34px;
    color: var(--vitel-gray);
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    line-height: 1.65;
    font-weight: 300;
}

.vitel-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

.vitel-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: transform .25s ease, background .25s ease, color .25s ease;
}

.vitel-button:hover { transform: translateY(-2px); }

.vitel-button--light {
    background: var(--vitel-light);
    color: var(--vitel-black);
}

.vitel-button--dark {
    background: var(--vitel-black);
    color: #fff;
}

.vitel-button--ghost {
    color: var(--vitel-gray);
    padding-inline: 0;
}
.vitel-button--ghost:hover { color: #fff; }

.vitel-scroll-note {
    position: absolute;
    z-index: 2;
    left: 0;
    bottom: 28px;
    color: var(--vitel-gray);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

/* =========================================
   BLOCOS / CARDS
========================================= */
.vitel-dark-panel {
    background: var(--vitel-dark);
    border-radius: var(--vitel-radius) var(--vitel-radius) 0 0;
}

.vitel-dark-section {
    background: var(--vitel-black);
}

.vitel-light-panel {
    color: var(--vitel-black);
    background: var(--vitel-light);
    border-radius: var(--vitel-radius) var(--vitel-radius) 0 0;
}

.vitel-copy-lg {
    margin: 0;
    color: var(--vitel-light);
    font-size: clamp(1.55rem, 3vw, 2.3rem);
    line-height: 1.3;
    font-weight: 300;
}

.vitel-copy {
    margin: 0;
    color: var(--vitel-gray);
    font-size: 1rem;
    line-height: 1.75;
    font-weight: 300;
}

.vitel-stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 42px;
    margin-top: 28px;
    padding-top: 26px;
    border-top: 1px solid rgba(255,255,255,.1);
}

.vitel-stat strong {
    display: block;
    margin-bottom: 4px;
    font-family: "Syne", sans-serif;
    font-size: 42px;
    line-height: 1;
}

.vitel-stat span {
    color: var(--vitel-gray);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* =========================================
   SERVICES
========================================= */
.vitel-services {
    border-top: 1px solid rgba(255,255,255,.10);
}

.vitel-service-row {
    display: grid;
    grid-template-columns: 1.25fr 1.5fr .8fr;
    gap: 44px;
    align-items: center;
    padding: 32px 0;
    border-bottom: 1px solid rgba(255,255,255,.10);
    transition: background .25s ease;
}

.vitel-service-row:hover {
    background: rgba(255,255,255,.018);
}

.vitel-service-title {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 16px;
    align-items: start;
    margin: 0;
    font-family: "Syne", sans-serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.08;
}

.vitel-service-number {
    padding-top: 4px;
    color: var(--vitel-gray);
    font: 400 13px/1 "Inter", sans-serif;
}

.vitel-service-description {
    margin: 0;
    max-width: 560px;
    color: var(--vitel-gray);
    font-size: 14px;
    line-height: 1.65;
    font-weight: 300;
}

.vitel-service-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vitel-service-list li {
    color: rgba(245,245,245,.82);
    font-size: 11px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
}

/* =========================================
   BRAND MARK
========================================= */
.vitel-brand-mark {
    position: absolute;
    right: -100px;
    top: 50%;
    width: 560px;
    height: 560px;
    object-fit: contain;
    transform: translateY(-50%);
    opacity: .055;
    filter: brightness(0) invert(1);
    pointer-events: none;
}

/* =========================================
   PORTFOLIO
========================================= */
.vitel-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 28px;
}

.vitel-project-card {
    position: relative;
    overflow: hidden;
    min-height: 540px;
    border-radius: 26px;
    background: #101010;
}

.vitel-project-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.vitel-project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform .6s cubic-bezier(.16,1,.3,1);
}

.vitel-project-card:hover .vitel-project-media img {
    transform: scale(1.06);
}

.vitel-project-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 34px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.78) 68%);
}

.vitel-project-kicker {
    display: block;
    margin-bottom: 8px;
    color: rgba(255,255,255,.66);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.vitel-project-title {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: .95;
}

.vitel-taxonomy {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
}
.vitel-taxonomy a {
    display: inline-flex;
    padding: 8px 11px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 999px;
    color: var(--vitel-gray);
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* =========================================
   POST / ARTIGO
========================================= */
.vitel-article-header {
    padding: 170px 0 70px;
    background: var(--vitel-black);
}

.vitel-article-title {
    max-width: 1000px;
    margin: 0;
    font-size: clamp(3.2rem, 8vw, 7.5rem);
    line-height: .88;
}

.vitel-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 26px;
    color: var(--vitel-gray);
    font-size: 12px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.vitel-article-wrap {
    padding: 88px 0 110px;
    background: var(--vitel-light);
    color: var(--vitel-black);
    border-radius: 38px 38px 0 0;
}

.vitel-prose {
    max-width: 820px;
    margin: 0 auto;
    font-size: 1.08rem;
    line-height: 1.9;
}

.vitel-prose h2,
.vitel-prose h3,
.vitel-prose h4 {
    margin: 2.4em 0 .7em;
    line-height: 1.05;
}

.vitel-prose p,
.vitel-prose ul,
.vitel-prose ol,
.vitel-prose blockquote,
.vitel-prose pre,
.vitel-prose figure {
    margin-top: 0;
    margin-bottom: 1.5em;
}

.vitel-prose img {
    display: block;
    width: 100%;
    border-radius: 22px;
}

.vitel-prose a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.vitel-prose blockquote {
    padding: 22px 0 22px 26px;
    border-left: 2px solid #111;
    font-family: "Syne", sans-serif;
    font-size: 1.35rem;
}

/* =========================================
   SINGLE WITH BAR / SIDEBAR
========================================= */
.vitel-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 64px;
    align-items: start;
}

.vitel-side-bar {
    position: sticky;
    top: 120px;
    padding-top: 6px;
    border-top: 1px solid rgba(10,10,10,.13);
}

.vitel-side-bar a {
    display: block;
    padding: 12px 0;
    color: #666;
    border-bottom: 1px solid rgba(10,10,10,.08);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
}

/* =========================================
   PAGE / CONTACT / 404
========================================= */
.vitel-page-hero {
    padding: 160px 0 80px;
    background: var(--vitel-black);
}

.vitel-404 {
    min-height: 80vh;
    display: grid;
    place-items: center;
    text-align: center;
}

.vitel-404-code {
    margin: 0;
    font-size: clamp(7rem, 22vw, 18rem);
    line-height: .72;
    color: #fff;
}

.vitel-form-box {
    padding: 42px;
    border-radius: 26px;
    background: #111;
    border: 1px solid rgba(255,255,255,.08);
}

.vitel-form-box input,
.vitel-form-box textarea,
.vitel-form-box select {
    width: 100%;
    min-height: 50px;
    margin-bottom: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    outline: none;
    background: #090909;
    color: #fff;
    font: inherit;
}

/* =========================================
   FOOTER
========================================= */
.vitel-footer {
    padding: 70px 0 28px;
    background: var(--vitel-black);
    border-top: 1px solid rgba(255,255,255,.08);
}

.vitel-footer-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 48px;
}

.vitel-footer p {
    color: var(--vitel-gray);
    font-size: 13px;
    line-height: 1.7;
}

.vitel-footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vitel-footer-links a {
    color: rgba(245,245,245,.72);
    font-size: 13px;
}
.vitel-footer-links a:hover { color: #fff; }

.vitel-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: var(--vitel-gray);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* =========================================
   RESPONSIVO
========================================= */
@media (max-width: 900px) {
    .vitel-container { width: min(calc(100% - 32px), var(--vitel-container)); }
    .vitel-section { padding: 76px 0; }
    .vitel-service-row,
    .vitel-single-layout { grid-template-columns: 1fr; gap: 20px; }
    .vitel-side-bar { position: static; order: -1; }
    .vitel-portfolio-grid { grid-template-columns: 1fr; }
    .vitel-project-card { min-height: 460px; }
    .vitel-footer-inner { grid-template-columns: 1fr; gap: 30px; }
    .vitel-brand-mark { right: -180px; width: 480px; height: 480px; opacity: .035; }
}

@media (max-width: 640px) {
    .vitel-container { width: min(calc(100% - 28px), var(--vitel-container)); }
    .vitel-site-header { padding: 14px 0; }
    .vitel-logo { height: 34px; max-width: 150px; }
    .vitel-hero { min-height: 86vh; padding: 130px 0 90px; }
    .vitel-hero-title { font-size: clamp(3.1rem, 17vw, 5rem); }
    .vitel-hero-text { font-size: 1rem; }
    .vitel-service-title { font-size: 23px; }
    .vitel-project-card { min-height: 420px; }
    .vitel-project-overlay { padding: 24px; }
    .vitel-article-header { padding: 140px 0 56px; }
    .vitel-article-title { font-size: clamp(2.8rem, 16vw, 5rem); }
    .vitel-article-wrap { padding: 60px 0 80px; border-radius: 26px 26px 0 0; }
    .vitel-footer-bottom { flex-direction: column; }
    .vitel-brand-mark { right: -190px; width: 380px; height: 380px; }
}

/* Conteúdo de página livre de molduras; o HTML colado define suas próprias seções. */
.vitel-page-content--full { width:100%; max-width:none; margin:0; padding:0; }
.vitel-page-content--full > * { max-width:none; }
.vitel-page-content--full .wp-block-html { margin:0; }
