/* ============================================================
   DIFRATIVA — REDESIGN 2026
   Paleta: Azul Marinho (#1B2F6B) + Teal (#1E9E8E) — cores da logo
   Tipografia: Space Grotesk (display) + IBM Plex Mono (mono)
   Estética: Editorial, assimétrico, studio de design europeu
   ============================================================ */

/* Google Fonts import is in the template */

/* ============================================================
   TOKENS — baseados nas cores da logo Difrativa
   ============================================================ */
:root {
    /* Fundo: azul marinho profundo derivado da logo */
    --ink:    #0C1428;        /* Azul marinho muito escuro — fundo principal */
    --ink-2:  #101c38;        /* Cards e superfícies elevadas */
    --ink-3:  #152242;        /* Hover e elementos interativos */

    /* Teal — cor de acento da logo (setas e detalhes do N) */
    --teal:        #1E9E8E;
    --teal-light:  #2DBDAC;
    --teal-dim:    rgba(30, 158, 142, 0.12);
    --teal-border: rgba(30, 158, 142, 0.25);

    /* Azul marinho da logo — texto DIFRATIVA */
    --navy:        #1B2F6B;
    --navy-mid:    #2244A0;
    --navy-light:  #3A6BC8;

    /* Aliases para compatibilidade com código existente */
    --amber:        var(--teal);
    --amber-light:  var(--teal-light);
    --amber-dim:    var(--teal-dim);
    --amber-border: var(--teal-border);

    /* Creme / Branco */
    --cream:  #EDF2F7;
    --cream-2: #B8C8DC;
    --cream-3: #7890AC;
    --cream-4: #3E5470;

    /* Utilitários */
    --border: rgba(180, 210, 235, 0.07);
    --border-strong: rgba(180, 210, 235, 0.14);

    /* Raios */
    --r-sm: 6px;
    --r-md: 12px;
    --r-lg: 20px;
    --r-xl: 28px;

    /* Tipografia */
    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-mono:    'IBM Plex Mono', 'Fira Code', monospace;

    /* Sombras */
    --shadow-card: 0 4px 40px rgba(0, 0, 0, 0.5);
    --shadow-teal: 0 0 40px rgba(30, 158, 142, 0.18);

    /* Curvas de animação */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    margin: 0; padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-display);
    background: var(--ink);
    color: var(--cream-2);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    /* Gradiente de fundo sutil — marinho com leve teal no topo */
    background-image:
        radial-gradient(ellipse 80% 50% at 60% 0%, rgba(30, 158, 142, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 0% 80%, rgba(27, 47, 107, 0.3) 0%, transparent 60%);
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* Scroll progress */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    background: linear-gradient(to right, var(--teal), var(--teal-light));
    z-index: 9999;
    width: 0%;
    transition: width 0.06s linear;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 22px 0;
    transition: all 0.5s var(--ease-out);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 14px 0;
    background: rgba(11, 12, 24, 0.92);
    backdrop-filter: blur(24px) saturate(160%);
    border-bottom-color: var(--border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.navbar-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.navbar-logo img {
    height: 110px; width: auto;
    transition: all 0.4s var(--ease-out);
    filter: brightness(1);
}

.navbar.scrolled .navbar-logo img { height: 72px; }

.navbar-center {
    display: flex;
    align-items: center;
    gap: 36px;
}

.navbar-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.navbar-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--cream-3);
    letter-spacing: 0.02em;
    position: relative;
    padding: 4px 0;
    transition: color 0.3s ease;
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--teal-light);
    transition: width 0.4s var(--ease-out);
}

.navbar-links a:hover { color: var(--cream); }
.navbar-links a:hover::after { width: 100%; }

.navbar-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: var(--r-sm);
    transition: all 0.3s var(--ease-out);
    letter-spacing: 0.01em;
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.navbar-cta:hover {
    background: linear-gradient(135deg, var(--teal-light) 0%, var(--teal) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 158, 142, 0.3);
    color: #fff;
}

/* Nav ações autenticado */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-nav-admin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    background: var(--teal-dim);
    border: 1px solid var(--teal-border);
    color: var(--teal-light);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.82rem;
    border-radius: var(--r-sm);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-nav-admin:hover {
    background: rgba(30, 158, 142, 0.2);
    color: var(--teal-light);
}

.btn-nav-logout {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    background: transparent;
    border: 1px solid var(--border-strong);
    color: var(--cream-3);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.82rem;
    border-radius: var(--r-sm);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-nav-logout:hover {
    border-color: rgba(240, 237, 234, 0.3);
    color: var(--cream);
}

/* Mobile hamburger */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
}

.navbar-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--cream-2);
    border-radius: 2px;
    transition: all 0.4s var(--ease-out);
    transform-origin: center;
}

/* ============================================================
   HERO — EDITORIAL ASSIMÉTRICO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

/* Linha vertical decorativa */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    width: 1px; height: 100%;
    background: linear-gradient(to bottom, transparent, var(--border-strong) 30%, var(--border-strong) 70%, transparent);
    opacity: 0.5;
}

.hero .container {
    display: grid;
    grid-template-columns: 58% 42%;
    gap: 0;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Número decorativo grande de fundo */
.hero-bg-number {
    position: absolute;
    right: -2%;
    top: 50%;
    transform: translateY(-55%);
    font-family: var(--font-display);
    font-size: clamp(180px, 22vw, 320px);
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(30, 158, 142, 0.07);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.04em;
    z-index: 0;
}

/* Content lado esquerdo */
.hero-content {
    position: relative;
    z-index: 1;
    padding-right: 60px;
}

/* Overline acima do título */
.hero-overline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--teal-light);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-overline::before {
    content: '';
    display: block;
    width: 32px; height: 1px;
    background: var(--teal-light);
    flex-shrink: 0;
}

.hero h1 {
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    font-weight: 800;
    line-height: 1.04;
    color: var(--cream);
    letter-spacing: -0.04em;
    margin-bottom: 28px;
}

.hero h1 em {
    font-style: normal;
    color: var(--teal-light);
}

/* Reveal animation */
.hero h1 .line-wrap {
    display: block;
    overflow: hidden;
}

.hero h1 .line-inner {
    display: inline-block;
    transform: translateY(110%);
    animation: lineReveal 0.9s var(--ease-out) forwards;
}

.hero h1 .line-wrap:nth-child(1) .line-inner { animation-delay: 0.2s; }
.hero h1 .line-wrap:nth-child(2) .line-inner { animation-delay: 0.35s; }
.hero h1 .line-wrap:nth-child(3) .line-inner { animation-delay: 0.5s; }

@keyframes lineReveal {
    to { transform: translateY(0); }
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--cream-3);
    line-height: 1.75;
    max-width: 480px;
    margin-bottom: 44px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.7s forwards;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 0.85s forwards;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--r-sm);
    transition: all 0.35s var(--ease-out);
    border: none;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 20px rgba(30, 158, 142, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--teal-light) 0%, var(--teal) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(30, 158, 142, 0.4);
    color: #fff;
}

.btn-primary .arrow {
    font-size: 1rem;
    transition: transform 0.3s var(--ease-out);
}

.btn-primary:hover .arrow {
    transform: translateX(4px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: transparent;
    color: var(--cream-3);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: var(--r-sm);
    border: 1px solid var(--border-strong);
    transition: all 0.35s var(--ease-out);
    text-decoration: none;
    cursor: pointer;
}

.btn-ghost:hover {
    border-color: rgba(240, 237, 234, 0.3);
    color: var(--cream);
    background: rgba(240, 237, 234, 0.03);
}

/* Stats hero */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 60px;
    padding-top: 36px;
    border-top: 1px solid var(--border);
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 1s forwards;
}

.hero-stat-num {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--cream);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
}

.hero-stat-num .accent {
    color: var(--teal-light);
}

.hero-stat-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--cream-4);
    margin-top: 6px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Hero visual lado direito */
.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 60px;
    border-left: 1px solid var(--border);
    min-height: 420px;
    opacity: 0;
    animation: fadeUp 1s var(--ease-out) 0.5s forwards;
}

/* Card de destaque no hero visual */
.hero-card {
    position: relative;
    width: 100%;
    max-width: 360px;
    background: var(--ink-2);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-lg);
    padding: 36px 32px;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--teal), var(--teal-light));
}

.hero-card-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--teal-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-card-label::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--teal-light);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cream);
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero-card-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-card-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    color: var(--cream-3);
}

.hero-card-item::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--teal);
    border-radius: 1px;
    flex-shrink: 0;
    transform: rotate(45deg);
}

/* Floating elements menores */
.hero-float {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--cream-4);
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    background: var(--ink-3);
    white-space: nowrap;
    animation: floatGently 6s ease-in-out infinite;
}

.hero-float-1 {
    bottom: 40px;
    right: -20px;
    animation-delay: -2s;
}

.hero-float-2 {
    top: 30px;
    right: 20px;
    animation-delay: -4s;
    color: var(--teal-light);
    border-color: var(--teal-border);
}

@keyframes floatGently {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   MARQUEE — FAIXA DIAGONAL COM TEXTO DIAGONAL
   Toda a seção (faixa + texto) é inclinada junto — visual coeso
   ============================================================ */
.marquee-section {
    position: relative;
    z-index: 2;
    margin: 72px 0;
    overflow: hidden;
    background: linear-gradient(90deg, var(--navy) 0%, var(--navy-mid) 45%, var(--teal) 100%);
    transform: skewY(-2.5deg);
    /* Padding extra para a diagonal não cortar os cantos */
    padding: 8px 0;
    border-top: 1px solid rgba(45, 189, 172, 0.25);
    border-bottom: 1px solid rgba(45, 189, 172, 0.25);
}

.marquee-section-inner {
    padding: 14px 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 30s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 36px;
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    white-space: nowrap;
    font-family: var(--font-mono);
}

.marquee-item .sep {
    width: 4px; height: 4px;
    background: rgba(30, 158, 142, 0.7);
    border-radius: 50%;
    flex-shrink: 0;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============================================================
   PORTFÓLIO — LISTA EDITORIAL
   ============================================================ */
.portfolio {
    position: relative; z-index: 1;
    padding: 120px 0 100px;
}

.section-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--teal-light);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.section-eyebrow::before {
    content: '';
    display: block;
    width: 28px; height: 1px;
    background: var(--teal-light);
    flex-shrink: 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--cream);
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 60px;
}

.section-title em {
    font-style: normal;
    color: var(--teal-light);
}

/* Lista de projetos editorial */
.projects-list {
    display: flex;
    flex-direction: column;
}

.project-item {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 0 28px;
    align-items: center;
    padding: 28px 0;
    border-top: 1px solid var(--border);
    cursor: pointer;
    position: relative;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s var(--ease-out);
    overflow: hidden;
}

.project-item:last-child {
    border-bottom: 1px solid var(--border);
}

/* Fundo de hover no item */
.project-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--teal-dim);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out);
    border-radius: var(--r-sm);
}

.project-item:hover::before {
    transform: scaleX(1);
}

.project-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--cream-4);
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
    padding-left: 4px;
}

.project-item:hover .project-num {
    color: var(--teal-light);
}

.project-body {
    position: relative;
    z-index: 1;
}

.project-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--cream);
    letter-spacing: -0.02em;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.project-item:hover .project-name {
    color: var(--cream);
}

.project-desc {
    font-size: 0.85rem;
    color: var(--cream-4);
    transition: color 0.3s ease;
}

.project-item:hover .project-desc {
    color: var(--cream-3);
}

.project-tags {
    display: flex;
    gap: 6px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.project-tag {
    padding: 4px 12px;
    border: 1px solid var(--border-strong);
    border-radius: var(--r-sm);
    font-size: 0.72rem;
    color: var(--cream-3);
    font-family: var(--font-mono);
    transition: all 0.3s ease;
    background: transparent;
}

.project-item:hover .project-tag {
    border-color: var(--teal-border);
    color: var(--teal-light);
}

/* Seta no hover */
.project-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%) translateX(-8px);
    opacity: 0;
    font-size: 1.2rem;
    color: var(--teal-light);
    transition: all 0.35s var(--ease-out);
    z-index: 1;
}

.project-item:hover .project-arrow {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* ============================================================
   SERVIÇOS — LISTA MINIMALISTA TIPO TABELA
   ============================================================ */
.services {
    position: relative; z-index: 1;
    padding: 100px 0 120px;
    border-top: 1px solid var(--border);
}

.services-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 72px;
}

.services-header-desc {
    font-size: 1rem;
    color: var(--cream-3);
    line-height: 1.75;
    align-self: end;
    padding-bottom: 4px;
}

.services-list {
    display: flex;
    flex-direction: column;
}

.service-row {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 28px 0;
    border-top: 1px solid var(--border);
    transition: all 0.4s var(--ease-out);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.service-row:last-child {
    border-bottom: 1px solid var(--border);
}

.service-row::after {
    content: '';
    position: absolute;
    left: 0; bottom: -1px;
    width: 0; height: 1px;
    background: linear-gradient(to right, var(--teal), var(--teal-light));
    transition: width 0.6s var(--ease-out);
}

.service-row:hover::after {
    width: 100%;
}

.service-icon-box {
    width: 44px; height: 44px;
    border-radius: var(--r-sm);
    background: var(--ink-2);
    border: 1px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.4s var(--ease-out);
}

.service-row:hover .service-icon-box {
    background: var(--teal-dim);
    border-color: var(--teal-border);
    transform: rotate(-8deg) scale(1.1);
}

/* Cores individuais por serviço */
.service-icon-box.s-crm  { color: #7C9EF5; }
.service-icon-box.s-erp  { color: #A78BFA; }
.service-icon-box.s-rest { color: #FBBF24; }
.service-icon-box.s-ecom { color: #F472B6; }
.service-icon-box.s-saas { color: #34D399; }
.service-icon-box.s-custom { color: var(--amber); }

.service-info { flex: 1; }

.service-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.service-row:hover .service-name {
    color: var(--cream);
}

.service-summary {
    font-size: 0.85rem;
    color: var(--cream-4);
    transition: color 0.3s ease;
}

.service-row:hover .service-summary {
    color: var(--cream-3);
}

.service-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.service-chip {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--cream-4);
    padding: 3px 10px;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    transition: all 0.3s ease;
}

.service-row:hover .service-chip {
    border-color: var(--teal-border);
    color: var(--teal-light);
}

/* ============================================================
   DIFERENCIAIS — MANIFESTO
   ============================================================ */
.manifesto {
    position: relative; z-index: 1;
    padding: 100px 0 120px;
    border-top: 1px solid var(--border);
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
}

.manifesto-text {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 600;
    color: var(--cream-2);
    line-height: 1.55;
    letter-spacing: -0.02em;
}

.manifesto-text strong {
    color: var(--cream);
    font-weight: 700;
}

.manifesto-text em {
    font-style: normal;
    color: var(--teal-light);
    font-weight: 700;
}

.manifesto-text p {
    margin-bottom: 28px;
}

.manifesto-text p:last-child {
    margin-bottom: 0;
}

/* Lado direito: tech stack + números */
.manifesto-aside {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 4px;
}

.manifesto-nums {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.manifesto-num-card {
    background: var(--ink-2);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 24px 20px;
    transition: all 0.4s var(--ease-out);
}

.manifesto-num-card:hover {
    border-color: var(--teal-border);
    background: var(--ink-3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-teal);
}

.manifesto-big-num {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--cream);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 6px;
}

.manifesto-big-num .accent { color: var(--teal-light); }

.manifesto-num-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--cream-4);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Tech stack */
.tech-stack-title {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--teal-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-stack-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: var(--ink-2);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-sm);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--cream-3);
    transition: all 0.3s ease;
}

.tech-pill:hover {
    border-color: var(--teal-border);
    color: var(--teal-light);
    background: var(--teal-dim);
    transform: translateY(-2px);
}

.tech-pill .tech-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============================================================
   PROCESSO — TIMELINE HORIZONTAL EDITORIAL
   ============================================================ */
.process {
    position: relative; z-index: 1;
    padding: 100px 0 120px;
    border-top: 1px solid var(--border);
    overflow: hidden;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
}

.process-step {
    background: var(--ink-2);
    padding: 40px 32px;
    position: relative;
    transition: all 0.5s var(--ease-out);
    opacity: 0;
    transform: translateY(30px);
}

.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.process-step:nth-child(2) { transition-delay: 0.12s; }
.process-step:nth-child(3) { transition-delay: 0.24s; }
.process-step:nth-child(4) { transition-delay: 0.36s; }

.process-step:hover {
    background: var(--ink-3);
    z-index: 1;
}

/* Número grande em background */
.step-bg-num {
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(30, 158, 142, 0.1);
    line-height: 1;
    pointer-events: none;
    letter-spacing: -0.04em;
    transition: -webkit-text-stroke-color 0.4s ease;
}

.process-step:hover .step-bg-num {
    -webkit-text-stroke-color: rgba(30, 158, 142, 0.22);
}

.step-phase {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--teal-light);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--cream);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 0.88rem;
    color: var(--cream-4);
    line-height: 1.65;
}

/* Linha de progresso animada no topo */
.process-step::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    height: 2px; width: 0;
    background: linear-gradient(to right, var(--teal), var(--teal-light));
    transition: width 0.6s var(--ease-out);
}

.process-step:hover::after {
    width: 100%;
}

/* ============================================================
   CTA — LIMPO E DIRETO
   ============================================================ */
.cta {
    position: relative; z-index: 1;
    padding: 100px 0 120px;
    border-top: 1px solid var(--border);
}

.cta-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
    padding: 60px;
    background: var(--ink-2);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-xl);
    position: relative;
    overflow: hidden;
}

/* Detalhe de canto âmbar */
.cta-inner::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 200px; height: 200px;
    background: radial-gradient(circle at 100% 0%, rgba(30, 158, 142, 0.12), transparent 60%);
}

.cta-inner::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 300px; height: 2px;
    background: linear-gradient(to right, var(--teal), transparent);
}

.cta-heading {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--cream);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
    position: relative;
}

.cta-heading em {
    font-style: normal;
    color: var(--teal-light);
}

.cta-subtext {
    font-size: 1rem;
    color: var(--cream-3);
    line-height: 1.7;
    max-width: 480px;
    position: relative;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
    position: relative;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: #25D366;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.92rem;
    border-radius: var(--r-sm);
    transition: all 0.35s var(--ease-out);
    text-decoration: none;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.btn-whatsapp:hover {
    background: #1EBE5A;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.3);
    color: #fff;
}

.btn-email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: var(--cream-3);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.85rem;
    border-radius: var(--r-sm);
    border: 1px solid var(--border-strong);
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-email:hover {
    border-color: rgba(240, 237, 234, 0.25);
    color: var(--cream);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    position: relative; z-index: 1;
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 28px;
}

.footer-brand img {
    height: 80px; width: auto;
    margin-bottom: 16px;
    filter: brightness(0.9);
}

.footer-brand p {
    font-size: 0.88rem;
    color: var(--cream-4);
    line-height: 1.7;
    max-width: 260px;
}

.footer-col-title {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--teal-light);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.footer-col a {
    display: block;
    font-size: 0.88rem;
    color: var(--cream-4);
    padding: 5px 0;
    transition: color 0.3s ease;
}

.footer-col a:hover { color: var(--cream-2); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--cream-4);
    letter-spacing: 0.03em;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 36px; height: 36px;
    border-radius: var(--r-sm);
    background: var(--ink-2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--cream-4);
    transition: all 0.35s var(--ease-out);
}

.footer-socials a:hover {
    border-color: var(--teal-border);
    color: var(--teal-light);
    transform: translateY(-3px);
}

/* ============================================================
   SCROLL REVEAL GENÉRICO
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVO — MOBILE
   ============================================================ */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding-right: 0;
    }

    .hero-visual {
        display: none;
    }

    .hero-bg-number {
        opacity: 0.4;
        font-size: clamp(100px, 30vw, 180px);
    }

    .services-header {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .manifesto-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .process-steps {
        grid-template-columns: 1fr 1fr;
    }

    .cta-inner {
        grid-template-columns: 1fr;
        padding: 44px 32px;
    }

    .cta-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    html { scroll-padding-top: 70px; }

    .navbar-center {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        background: rgba(11, 12, 24, 0.98);
        backdrop-filter: blur(24px);
        border-top: 1px solid var(--border);
        padding: 20px 28px 28px;
        gap: 24px;
    }

    .navbar-center.open {
        display: flex;
    }

    .navbar-links {
        flex-direction: column;
        gap: 0;
    }

    .navbar-links li {
        border-top: 1px solid var(--border);
    }

    .navbar-links a {
        display: block;
        padding: 14px 0;
        font-size: 1rem;
    }

    .navbar-actions {
        flex-direction: column;
    }

    .navbar-actions .navbar-cta,
    .navbar-actions .btn-nav-admin,
    .navbar-actions .btn-nav-logout {
        width: 100%;
        justify-content: center;
    }

    .navbar-toggle { display: flex; }

    .hero { padding: 100px 0 60px; }

    .hero h1 { font-size: clamp(2.2rem, 9vw, 3.2rem); }

    .hero-stats { gap: 28px; }

    .project-item {
        grid-template-columns: 44px 1fr;
        grid-template-rows: auto auto;
    }

    .project-tags {
        grid-column: 2;
        justify-content: flex-start;
        margin-top: 8px;
    }

    .project-arrow { display: none; }

    .service-row {
        grid-template-columns: 44px 1fr;
        grid-template-rows: auto auto;
    }

    .service-chips {
        grid-column: 2;
        justify-content: flex-start;
        margin-top: 8px;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .manifesto-nums {
        grid-template-columns: 1fr 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 20px; }



    .cta-inner { padding: 32px 24px; }

    .cta-actions { flex-direction: column; }

    .manifesto-nums { grid-template-columns: 1fr; }

    .section-title { margin-bottom: 40px; }
}
