/* ==========================================================================
   SJ Studio — Design System
   Nova direção: dark/light com accent turquesa
   Tipografia: Poppins (títulos) · Inter (textos)
   RECOVERY — reconstruído a partir de PROJECT.md + HANDOFF.md + fix4-backup
   ========================================================================== */

/* ==========================================================================
   1. Design Tokens
   ========================================================================== */

:root {
    /* --- Cores --- */
    /* Background principal (Hero / dark sections) */
    --bg-dark: #0d0d0d;
    --bg-dark-secondary: #1a1a1a;
    --bg-navy: #070b14;          /* navy muito escuro — Header + Hero */

    /* Background secundário (lighter sections) */
    --bg-light: #f8f8f8;
    --surface-light: #ffffff;

    /* Texto */
    --text-dark: #1a1a1a;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #737373;

    /* Accent */
    --accent: #2dd4bf;
    --accent-hover: #1eab9b;
    --accent-soft: rgba(45, 212, 191, 0.12);

    /* --- Texto para superfícies dark (Hero/Header) --- */
    --text-dark-hero: #f8f8f8;       /* branco — headline, títulos */
    --text-light-hero: #e0e0e0;      /* cinza claro — textos normais */
    --text-muted-hero: #a0a0a0;      /* muted — descriptions, subtlety */

    /* --- Texto para superfícies light (sections abaixo) --- */
    --text-dark-light: #1a1a1a;      /* dark — headers em sections light */
    --text-light-light: #4a4a4a;     /* light — textos corporais */

    /* --- Border --- */
    --border-dark-hero: rgba(255, 255, 255, 0.3);
    --border-dark: rgba(255, 255, 255, 0.08);
    --border-light: #e5e5e5;

    /* --- Aliases legados --- */
    --blue: #103d7c;
    --blue-dark: #0b2f5f;
    --grafite: #151d2b;
    --white: #ffffff;
    --green: #159a8c;
    --green-hover: #10766b;
    --green-light: #35d0bf;
    --green-soft: rgba(53, 208, 191, 0.12);
    --green-ring: rgba(53, 208, 191, 0.35);
    --muted: #a0a0a0;
    --border: rgba(255, 255, 255, 0.08);
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --radius: 14px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;

    /* --- Tipografia --- */
    --font-heading: "Poppins", Arial, sans-serif;
    --font-body: "Inter", Arial, sans-serif;

    /* Sombra */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);

    /* Container */
    --container-max: 1200px;
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
}

/* ==========================================================================
   3. Botões
   ========================================================================== */

.btn {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.9rem 1.6rem;
    border-radius: 10px;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(45, 212, 191, 0.22);
}

.btn:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.55);
    outline-offset: 3px;
}

.btn-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ==========================================================================
   4. Header
   ========================================================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #070b14;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.img-logo {
    width: 100%;
    max-width: 190px;
    height: auto;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    list-style: none;
}

.nav-list a {
    position: relative;
    color: var(--text-light-hero);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.4rem 0;
    transition: color 0.2s ease;
}

.nav-list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav-list a:hover,
.nav-list a:focus-visible {
    color: var(--white);
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
    transform: scaleX(1);
}

/* Alternância do menu (mobile) */
.nav-toggle {
    position: absolute;
    opacity: 0;
}

.nav-toggle-label {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 11px;
    cursor: pointer;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.nav-toggle-label span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Header CTA WhatsApp — compact, outline/dark (não faixa turquesa) para desktop */
.header .btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--text-dark-hero);
    border: 1px solid var(--border-dark-hero);
    padding: 0.5rem 1rem;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.header .btn-whatsapp:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent);
    transform: none;
    box-shadow: none;
}

/* ==========================================================================
   5. Hero
   ========================================================================== */

#inicio {
    padding: 3rem 0 4rem;
    /* navy muito escuro — turquesa apenas como accent, sem glow/cyberpunk */
    background: linear-gradient(165deg, var(--bg-navy) 0%, #0a101d 60%, #0d1524 130%);
}

#inicio .container {
    display: grid;
    grid-template-columns: 50% 50%;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    max-width: 52rem;
    color: var(--text-dark-hero);
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 1.2rem + 3.4vw, 3.9rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.01em;
}

.hero-title-line {
    display: block;
}

@media (min-width: 1024px) {
    .hero-title-line {
        white-space: nowrap;
    }
}

.hero-content h1 .accent {
    color: var(--accent);
}

.hero-content p {
    margin-top: 1.25rem;
    font-size: clamp(1rem, 0.4rem + 1.2vw, 1.18rem);
    line-height: 1.65;
    color: var(--text-light-hero);
    max-width: 34rem;
}

.hero-content .btn {
    margin-top: 1.75rem;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-whatsapp {
    flex: 0 0 auto;
    max-width: 220px;
    background: var(--accent);
    color: #0d0d0d;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    text-align: center;
    white-space: nowrap;
}

.btn-whatsapp:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(45, 212, 191, 0.22);
}

.btn-whatsapp:active {
    transform: translateY(-2px) scale(0.98);
}

.btn-whatsapp:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.55);
    outline-offset: 3px;
}

.btn-service {
    flex: 0 0 auto;
    max-width: 220px;
    background: transparent;
    border: 1px solid var(--border-dark-hero);
    color: var(--text-dark-hero);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-service:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}

.btn-service:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.55);
    outline-offset: 3px;
}

/* --- Hero: Diferenciais (3 cards no Hero) --- */

.diferenciais {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem 1.75rem;
    margin-top: 1.75rem;
    padding: 0;
}

.diferencial {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.8rem;
    row-gap: 0.25rem;
    align-items: start;
    padding: 0.25rem 0;
    width: 100%;
}

.diferencial .diferencial-icon {
    grid-column: 1;
    grid-row: 1;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    color: var(--accent);
}

.diferencial .diferencial-titulo {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark-hero);
}

.diferencial .diferencial-desc {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-muted-hero);
}

/* --- Hero: Arte SJ --- */

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 720px;
    height: auto;
    /* Sem mask-image/hacks; asset usado diretamente sobre navy */
}

/* --- Eyebrow --- */

.eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

/* ==========================================================================
   6. Serviços
   ========================================================================== */

.services {
    background: var(--bg-light);
    padding: 6rem 0;
    position: relative;
}

/* Hero → Serviços: continuidade visual sutil */
.services::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    max-width: 600px;
    height: 120px;
    pointer-events: none;
    background: radial-gradient(ellipse at center top, rgba(45, 212, 191, 0.06) 0%, transparent 70%);
    filter: blur(40px);
}

.services-layout {
    display: grid;
    grid-template-columns: 1.1fr 1.9fr;
    gap: 4rem;
    align-items: start;
}

.services-intro .eyebrow {
    color: var(--accent);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.services-intro h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 0.8rem + 2.5vw, 2.4rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.services-intro p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.services-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--surface-light);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.service-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.service-icon {
    width: 22px;
    height: 22px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.service-link {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    padding-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.2em;
    transition: transform 0.15s ease, color 0.2s ease;
}

.service-link::after {
    content: "→";
    display: inline-block;
    transition: transform 0.15s ease;
}

.service-link:hover::after,
.service-link:focus-visible::after {
    transform: translateX(3px);
}

.service-link:active {
    transform: scale(0.98);
}

.services-features {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1rem;
    align-items: center;
}

.services-features-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
}

.services-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.service-card {
    background: var(--surface-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(45, 212, 191, 0.35);
}

.service-card .service-icon-wrap {
    transition: transform 0.25s ease;
}

.service-card:hover .service-icon-wrap {
    transform: scale(1.06);
}

.service-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.service-icon svg {
    width: 48px;
    height: 48px;
    color: var(--accent);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.service-card .btn-service {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    border-radius: var(--radius-md);
}

.service-card .btn-service:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(45, 212, 191, 0.3);
}

/* --- Bloco compacto de recursos opcionais --- */
.extras-block {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.extras-block .eyebrow {
    color: var(--accent);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.extras-headline {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 0.8rem + 1.8vw, 1.8rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.extras-intro {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: none;
    margin: 0 auto 2.5rem;
}

.extras-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 860px;
    margin: 0 auto 2rem;
    text-align: left;
}

.extras-card {
    background: var(--surface-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 0.5rem;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.extras-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(45, 212, 191, 0.35);
}

.extras-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    align-self: center;
}

.extras-icon {
    width: 20px;
    height: 20px;
}

.extras-visual-area {
    width: 100%;
    height: 65px;
    position: relative;
    align-self: center;
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
}

.extras-card-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: center;
}

.extras-card-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.55;
    margin: 0;
    grid-column: 1 / -1;
    grid-row: 3;
    text-align: center;
}

.extras-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 45rem;
    margin: 0 auto 1.5rem;
}

.btn-extras {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--accent);
    color: var(--bg-navy);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-md);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-extras:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(45, 212, 191, 0.22);
}

.btn-extras:active {
    transform: translateY(-2px) scale(0.98);
}

/* ==========================================================================
   7. Portfólio
   ========================================================================== */

.portfolio {
    background: var(--bg-light);
    padding: 5.5rem 0 6rem;
}

.portfolio-header {
    text-align: center;
    max-width: none;
    margin: 0 auto 4rem;
}

.portfolio-header .eyebrow {
    color: var(--accent);
    margin-bottom: 1rem;
}

.portfolio-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 0.8rem + 2.5vw, 2.4rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.portfolio-lead {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.project-card {
    background: var(--surface-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(45, 212, 191, 0.35);
}

.project-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-light);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .project-image img {
        will-change: transform;
        transform: translate3d(var(--parallax-x, 0px), var(--parallax-y, 0px), 0) scale(1);
    }
    .project-card:hover .project-image img {
        transform: translate3d(var(--parallax-x, 0px), var(--parallax-y, 0px), 0) scale(1.03);
    }
}

.project-content {
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tag,
.project-segment {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
}

.project-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.project-link {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    transition: transform 0.15s ease, color 0.2s ease;
    margin-top: auto;
    padding-top: 0.5rem;
}

.project-link::after {
    content: "→";
    display: inline-block;
    transition: transform 0.15s ease;
}

.project-link:hover::after,
.project-link:focus-visible::after {
    transform: translateX(3px);
}

.project-link:active {
    transform: scale(0.98);
}

/* Portfolio CTA */
.portfolio-cta {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--bg-navy);
    border-radius: var(--radius-lg);
    max-width: 860px;
    margin: 0 auto;
}

.portfolio-cta-text {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 0.8rem + 1.5vw, 1.5rem);
    font-weight: 700;
    color: var(--text-dark-hero);
    margin-bottom: 0.5rem;
}

.portfolio-cta-sub {
    color: var(--text-light-hero);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-cta .btn-whatsapp {
    background: var(--accent);
    color: var(--bg-navy);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.9rem 2.25rem;
    border-radius: var(--radius-md);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    white-space: nowrap;
    max-width: none;
    width: auto;
}

.portfolio-cta .btn-whatsapp:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(45, 212, 191, 0.3);
}

.portfolio-cta .btn-whatsapp:active {
    transform: translateY(-2px) scale(0.98);
}

/* ==========================================================================
   8. Sobre
   ========================================================================== */

.about {
    background: var(--bg-light);
    padding: 5rem 0 6rem;
    position: relative;
}

/* Sobre: profundidade sutil */
.about::before {
    content: "";
    position: absolute;
    top: 15%;
    right: 8%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle at center, rgba(45, 212, 191, 0.04) 0%, transparent 75%);
    filter: blur(60px);
}
@media (prefers-reduced-motion: reduce) {
    .about::before {
        animation: none;
    }
}

.about-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content .eyebrow {
    color: var(--accent);
    margin-bottom: 1rem;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 0.8rem + 2.2vw, 2.2rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 0.9rem;
    max-width: 34rem;
}

/* --- Composição editorial da marca (direita) --- */

.about-editorial {
    align-self: center;
    max-width: 320px;
}

.about-editorial-brand {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.01em;
    margin-bottom: 0.35rem;
}

.about-editorial-sub {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.about-editorial-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.about-editorial-list li {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 0.85rem 0;
    border-top: 1px solid var(--border-light);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}

.about-editorial-list li:last-child {
    border-bottom: 1px solid var(--border-light);
}

.about-editorial-num {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
}

/* ==========================================================================
   9. (removido — Diferenciais dedicados, redundante com Hero)
   ========================================================================== */

/* ==========================================================================
   10. Processo (4 etapas)
   ========================================================================== */

.process {
    background: var(--bg-light);
    padding: 5.5rem 0 6rem;
}

.process .container {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
    align-items: start;
    max-width: 1480px;
}

.process-intro .eyebrow {
    color: var(--accent);
    margin-bottom: 1rem;
}

.process-intro h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 0.8rem + 2.5vw, 2.4rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.process-intro p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 26rem;
}

.process-track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    position: relative;
}

.process-track::before {
    content: "";
    position: absolute;
    top: 24px;
    left: 6%;
    right: 6%;
    height: 1px;
    background: var(--border-light);
}

.step {
    position: relative;
    text-align: left;
}

.step-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-navy);
    color: var(--text-dark-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
}

.step-icon {
    width: 22px;
    height: 22px;
    color: var(--accent);
}

.step h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
    text-align: center;
}

.step p {
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--text-secondary);
    text-align: center;
}

/* ==========================================================================
   11. FAQ (Perguntas Frequentes)
   ========================================================================== */

.faq {
    background: var(--bg-light);
    padding: 5rem 0 5.5rem;
}

.faq-head {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-head .eyebrow {
    color: var(--accent);
    margin-bottom: 1rem;
}

.faq-head h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 0.8rem + 2.2vw, 2.2rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.faq-item {
    background: var(--surface-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow 0.25s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.5rem;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-dark);
    list-style: none;
    transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "";
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    color: var(--text-muted);
    transition: transform 0.25s ease, color 0.25s ease;
}

.faq-item summary:hover {
    color: var(--accent);
}

.faq-item[open] summary {
    color: var(--text-dark);
}

.faq-item[open] summary::after {
    transform: rotate(225deg);
    color: var(--accent);
}

.faq-item[open] p {
    animation: faqFadeIn 0.16s ease-out;
}

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

.faq-item p {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 64ch;
}

/* ==========================================================================
   12. Contato
   ========================================================================== */

.contact {
    background: var(--bg-light);
    padding: 5rem 0 5rem;
}

.contact .container {
    max-width: 1400px;
}

.contact-block {
    background: var(--bg-navy);
    border-radius: var(--radius-lg);
    padding: 4rem 3rem;
    max-width: 1360px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-info-side .eyebrow {
    color: var(--accent);
    margin-bottom: 1rem;
}

.contact-info-side h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 0.8rem + 2.2vw, 2.2rem);
    font-weight: 700;
    color: var(--text-dark-hero);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.contact-info-side p:last-child {
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--text-light-hero);
    max-width: none;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
    max-width: 320px;
    justify-self: end;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
    background: var(--accent);
    color: var(--bg-navy);
    border-radius: 10px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: background 0.25s ease, transform 0.25s ease;
    white-space: nowrap;
}

.btn-contact:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-contact:active {
    transform: translateY(-2px) scale(0.98);
}

.btn-contact .btn-icon {
    width: 20px;
    height: 20px;
}

.btn-contact-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    font-size: 0.9rem;
    background: transparent;
    color: var(--text-dark-hero);
    border: 1px solid var(--border-dark-hero);
    border-radius: 10px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    white-space: nowrap;
}

.btn-contact-outline:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent);
}

.btn-contact-outline:active {
    transform: scale(0.98);
}


/* ==========================================================================
   13. Footer
   ========================================================================== */

.footer {
    background: var(--bg-navy);
    padding: 2.5rem 0 1.5rem;
    border-top: 1px solid var(--border-dark);
}

.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-dark);
    flex-wrap: wrap;
}

.footer-brandblock {
    max-width: 600px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
}

.footer-logo {
    width: 100%;
    max-width: 110px;
    height: auto;
    margin-bottom: 0.5rem;
}

.footer-brandblock p {
    font-size: 0.82rem;
    color: var(--text-muted-hero);
    line-height: 1.5;
}

.footer-social {
    display: inline-flex;
    align-items: center;
    margin-top: 0.5rem;
    padding: 0.25rem;
    color: var(--text-light-hero);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-social:hover,
.footer-social:focus-visible {
    color: var(--accent);
}

.footer-social svg {
    width: 24px;
    height: 24px;
}

.footer-nav-list {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
    list-style: none;
    flex-wrap: wrap;
}

.footer-nav-list a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light-hero);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav-list a:hover,
.footer-nav-list a:focus-visible {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.25rem;
    font-size: 0.8rem;
    color: var(--text-muted-hero);
}

/* ==========================================================================
   14. Acessibilidade — prefers-reduced-motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   15. Responsividade
   ========================================================================== */

/* --- 1440px: Desktop large --- */
@media (min-width: 1440px) {
    #inicio {
        padding: 5rem 0 6rem;
    }

    #inicio .container {
        gap: 4rem;
    }

    .hero-content {
        max-width: 46rem;
    }

    .hero-content h1 {
        font-size: clamp(2.1rem, 1.1rem + 3.4vw, 3.9rem);
    }

    .hero-image img {
        max-width: 640px;
    }
}

/* --- 1024px: Laptop/tablet horizontal --- */
@media (max-width: 1024px) {
    #inicio .container {
        gap: 3rem;
    }

    .hero-content {
        max-width: 32rem;
    }

    .diferenciais {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    
    .process .container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    }

/* --- 900px: Tablet --- */
@media (max-width: 900px) {
    .header .btn-whatsapp {
        display: none;
    }

    .nav-toggle-label {
        display: flex;
    }

    .services-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .services-cards {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-block {
        grid-template-columns: 2fr 1fr;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 0;
        transition: right 0.3s ease;
        z-index: 200;
        border-left: 1px solid var(--border-dark);
    }

    .nav-toggle:checked ~ .nav {
        right: 0;
    }

    .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        width: 100%;
    }

    .nav-list a {
        font-size: 1.05rem;
    }

    #inicio .container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-content p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-ctas {
        justify-content: center;
    }

    .diferenciais {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        padding: 0;
    }

    .hero-image {
        order: 2;
    }

    .hero-image img {
        max-width: 400px;
        margin: 0 auto;
    }

    
    .about-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .process-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* --- 768px: Tablet vertical --- */
@media (max-width: 768px) {
    .extras-grid {
        grid-template-columns: 1fr;
    }

    .process-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .footer-nav-list {
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* --- 480px: Mobile grande --- */
@media (max-width: 480px) {
    #inicio {
        padding: 3rem 0 3rem;
    }

    .hero-content h1 {
        font-size: clamp(1.5rem, 0.8rem + 3vw, 2rem);
    }

    .hero-ctas {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-whatsapp,
    .btn-service {
        width: 100%;
        text-align: center;
    }

    .diferenciais {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .diferencial {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .diferencial:last-child {
        border-bottom: none;
    }

    .hero-image img {
        max-width: 220px;
        margin: 0 auto;
    }

    .portfolio-cta {
        padding: 2rem 1.25rem;
    }

    .portfolio-cta .btn-whatsapp {
        width: 100%;
        text-align: center;
        white-space: normal;
    }

    .faq-head {
        margin-bottom: 2rem;
    }

    .contact-block {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3rem 2rem;
    }

    .contact-actions {
        max-width: 100%;
        justify-self: stretch;
    }

    .process-track {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .process-track::before {
        top: 0;
        bottom: 0;
        left: 24px;
        right: auto;
        width: 1px;
        height: auto;
        background: var(--border-light);
    }

    .step {
        display: grid;
        grid-template-columns: 48px 1fr;
        grid-template-rows: auto auto;
        column-gap: 1rem;
        row-gap: 0.25rem;
        align-items: center;
    }

    .step-head {
        grid-column: 1;
        grid-row: 1;
        flex-direction: row;
        justify-content: flex-start;
        gap: 0;
        margin-bottom: 0;
    }

    .step .step-icon {
        display: none;
    }

    .step h3 {
        grid-column: 2;
        grid-row: 1;
        text-align: left;
        margin-bottom: 0;
    }

    .step p {
        grid-column: 2;
        grid-row: 2;
        text-align: left;
    }

    
    .extras-block {
        margin-top: 2.5rem;
        padding-top: 2rem;
    }

    .btn-extras {
        width: 100%;
        text-align: center;
    }

    .faq-item summary {
        padding: 1rem 1.25rem;
        font-size: 0.9rem;
    }

    .faq-item p {
        padding: 0 1.25rem 1rem;
        font-size: 0.85rem;
    }
}

/* --- 375px: Mobile padrão --- */
@media (max-width: 375px) {
    .header .container {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .img-logo {
        max-width: 120px;
    }

    #inicio {
        padding: 2rem 0 2.5rem;
    }

    .hero-content h1 {
        font-size: 1.4rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .diferenciais {
        gap: 0.75rem;
    }

    .contact-block {
        padding: 2.5rem 1.5rem;
    }

    .footer-nav-list {
        gap: 1rem;
    }
}

/* --- 320px: Mobile pequeno --- */
@media (max-width: 320px) {
    .hero-content h1 {
        font-size: 1.25rem;
    }

    .hero-content p {
        font-size: 0.85rem;
    }

    .btn-whatsapp,
    .btn-service {
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
    }

    .process-track {
        gap: 1rem;
    }

    .service-card {
        padding: 1.5rem 1rem;
    }

    .footer-nav-list {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
}

/* ==========================================================================
   16. Hover / Focus states
   ========================================================================== */

/* Global focus-visible for accessibility */
a:focus-visible,
button:focus-visible,
details summary:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

/* Skip link (future-proofing) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Decoração dos cards de recursos opcionais --- */
.extras-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    padding: 0.25rem;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.extras-decoration svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* --- Animations for resources opcionais --- */
.typing-dot1 {
    animation: typing-blink 1.8s ease-in-out infinite;
}
.typing-dot2 {
    animation: typing-blink 1.8s ease-in-out infinite 0.2s;
}
.typing-dot3 {
    animation: typing-blink 1.8s ease-in-out infinite 0.4s;
}

/* Moving light: back and forth along the line */
@keyframes typing-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes moving-light {
    0% { cx: 30; }
    50% { cx: 70; }
    100% { cx: 30; }
}

.moving-light {
    animation: moving-light 4s ease-in-out infinite;
}

/* --- Destaque editorial animado no portfólio --- */
.portfolio-highlight {
    position: relative;
    font-weight: 600;
    color: var(--accent);
}
.portfolio-highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    background: var(--accent);
    width: 0;
    animation: highlight-reveal 1.5s ease-out forwards;
}
@keyframes highlight-reveal {
    to { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .portfolio-highlight::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
