/* Fetz Arquitetura - Estilos Principais */

:root {
    /* Palette (premium) */
    --verde-escuro: #1E3A2F;
    --verde-medio: #2D4A3E;
    --verde-claro: #3D6B58;
    --ouro: #C9922A;
    --ouro-claro: #E0B060;
    --creme: #F5F0E8;
    --branco: #FAFAF8;
    --cinza-quente: #8A8278;
    --texto-escuro: #1A1A18;

    /* Aliases (compatibilidade com HTML existente) */
    --primary: var(--verde-escuro);
    --secondary: var(--verde-medio);
    --accent: #C7BFB6;
    --neutral-dark: #0D1F18;
    --neutral-light: var(--branco);
    --highlight: var(--ouro);

    --white: #FFFFFF;
    --gray-light: #E8E4DC;
    --gray-dark: #1A1A18;
    --error: #DC3545;
    --success: #28A745;
    --warning: #FFC107;
    --info: #17A2B8;
}

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--cinza-quente);
    background-color: var(--branco);
    line-height: 1.8;
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--verde-escuro);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--cinza-quente);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary);
}

/* Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

/* Seções */
section {
    padding: 80px 0;
}

section.light {
    background-color: var(--neutral-light);
}

section.dark {
    background-color: var(--primary);
    color: var(--white);
}

section.dark h1,
section.dark h2,
section.dark h3,
section.dark h4,
section.dark h5,
section.dark h6 {
    color: var(--white);
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 47, 0.3);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--primary);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-highlight {
    background-color: var(--highlight);
    color: var(--white);
}

.btn-highlight:hover {
    background-color: #c49a4a;
}

.hero .btn-highlight {
    animation: ctaPulse 3.8s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% {
        box-shadow: 0 0 0 rgba(214, 168, 90, 0);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(214, 168, 90, 0.14);
    }
}

.btn-lg {
    padding: 16px 48px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Formulários */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary);
}

input[type="text"],
input[type="email"],
input[type="phone"],
input[type="date"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray-light);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="phone"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 47, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Grid */
.row {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
}

.col-1 { grid-column: span 1; }
.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-10 { grid-column: span 10; }
.col-11 { grid-column: span 11; }
.col-12 { grid-column: span 12; }

/* Cards */
.card {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.card-text {
    color: var(--gray-dark);
    margin-bottom: 1rem;
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.navbar.navbar-scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.navbar-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.18));
}

.brand-fetz {
    color: var(--highlight);
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.navbar-menu a {
    color: var(--gray-dark);
    font-weight: 500;
}

.navbar-menu a:hover {
    color: var(--primary);
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 120px 0;
    text-align: center;
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    color: var(--accent);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Imagens */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.img-responsive {
    width: 100%;
    height: auto;
}

/* Utilidades */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

.hidden { display: none; }
.visible { display: block; }

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    section {
        padding: 40px 0;
    }
    
    .navbar-toggle {
        display: block;
    }

    .navbar {
        padding: 14px 0;
    }
    
    .navbar-menu {
        display: flex;
        position: fixed;
        top: 68px;
        left: 0;
        width: 280px;
        height: calc(100vh - 68px);
        background: rgba(30, 58, 47, 0.98);
        backdrop-filter: blur(18px);
        flex-direction: column;
        gap: 0;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
        overflow-y: auto;
        padding: 14px 0;
        transform: translateX(-105%);
        transition: transform 0.35s ease;
        z-index: 1001;
        pointer-events: none;
    }
    
    .navbar-menu.active {
        transform: translateX(0);
        pointer-events: auto;
    }
    
    .navbar-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .navbar-menu a {
        display: block;
        padding: 1rem;
        color: rgba(255, 255, 255, 0.9) !important;
    }

    .nav-cta--desktop { display: none; }
    .nav-cta--mobile { display: inline-flex; justify-content: center; width: 100%; }
    
    .row {
        gap: 20px;
    }
    
    .col-6 { grid-column: span 12; }
    .col-4 { grid-column: span 12; }
    .col-3 { grid-column: span 12; }
    
    .hero {
        padding: 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }

    .logo-fetz { font-size: 1.25rem; }
    .logo-arq { font-size: 50%; letter-spacing: 0.35em; }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
    }

    .hero-btn-primary,
    .hero-btn-ghost {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        margin-top: 26px;
        gap: 14px;
        flex-wrap: wrap;
    }

    .hero-geo { display: none; }

    /* Seções em 1 coluna */
    .about-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; gap: 18px; }
    .diferenciais-grid { grid-template-columns: 1fr; }
    .portfolio-grid { column-count: 1; }
    .process-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }

    .contact-form { margin-top: 18px; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
}

/* Scroll reveal (animação leve e moderna) */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
}

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

/* Hero - fundo animado sutil */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 20% 20%, rgba(214, 168, 90, 0.28), transparent 52%),
        radial-gradient(circle at 80% 30%, rgba(47, 93, 80, 0.38), transparent 48%),
        radial-gradient(circle at 40% 90%, rgba(30, 58, 47, 0.45), transparent 55%);
    animation: heroAmbient 12s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

@keyframes heroAmbient {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(2%, -2%, 0) scale(1.03); }
    100% { transform: translate3d(0, 0, 0) scale(1); }
}

/* Respeitar preferências do usuário */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero::before {
        animation: none;
    }
    .hero .btn-highlight {
        animation: none;
    }
}

/* =========================================================
   Premium Mission - Overlay/Logo/Hero/Seções/Polish
   (Overrides / overrides after legacy styles)
   ========================================================= */

html { scroll-behavior: smooth; }

::selection {
    background: var(--ouro);
    color: var(--verde-escuro);
}

/* Scrollbar (WebKit) */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--verde-escuro); }
::-webkit-scrollbar-thumb { background: var(--ouro); border-radius: 3px; }

/* Offset para âncora (navbar fixa não cobre títulos) */
section[id] { scroll-margin-top: 110px; }

/* Reveal animations (scroll-triggered) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
}
.reveal.visible,
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: scale(0.95); }
.reveal-left.visible,
.reveal-left.is-visible,
.reveal-right.visible,
.reveal-right.is-visible,
.reveal-scale.visible,
.reveal-scale.is-visible {
    opacity: 1;
    transform: none;
}

/* Stagger (parent adds reveal-stagger) */
.reveal-stagger > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > *:nth-child(2) { transition-delay: 120ms; }
.reveal-stagger > *:nth-child(3) { transition-delay: 240ms; }
.reveal-stagger > *:nth-child(4) { transition-delay: 360ms; }
.reveal-stagger > *:nth-child(5) { transition-delay: 480ms; }

.reveal-delay-0 { transition-delay: 0ms; }
.reveal-delay-1 { transition-delay: 120ms; }
.reveal-delay-2 { transition-delay: 240ms; }

/* Navbar */
.navbar {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1000;
    padding: 18px 0;
    background: transparent;
    backdrop-filter: blur(0px);
    transition: all 0.4s ease;
    box-shadow: none;
}

.navbar.navbar-scrolled {
    backdrop-filter: blur(20px);
    background: rgba(30, 58, 47, 0.92);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

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

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 1.9rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.navbar-menu a {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
    position: relative;
    padding: 6px 2px;
}

.navbar.navbar-scrolled .navbar-menu a {
    color: rgba(255, 255, 255, 0.9);
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 1px;
    width: 100%;
    background: var(--ouro);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.navbar-menu a:hover {
    color: var(--ouro);
}

.navbar-menu a:hover::after {
    transform: scaleX(1);
}

.nav-cta {
    font-family: 'DM Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(201, 146, 42, 0.9);
    color: rgba(255, 255, 255, 0.95);
    background: transparent;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.navbar-scrolled .nav-cta,
.navbar.navbar-scrolled .nav-cta {
    color: rgba(255, 255, 255, 0.95);
}

.nav-cta:hover {
    background: var(--ouro);
    color: var(--texto-escuro);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 146, 42, 0.4);
}

.nav-cta-arrow { display: inline-block; transition: transform 0.35s ease; }
.nav-cta:hover .nav-cta-arrow { transform: translateX(2px); }

.nav-cta--mobile { display: none; }
.nav-cta--desktop { display: inline-flex; }

/* Logo (inline wordmark) */
.logo {
    display: flex;
    flex-direction: column;
    gap: 6px;
    line-height: 1;
    align-items: flex-start;
}

.logo #nav-logo-wrap {}

.logo-fetz {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    letter-spacing: 0.15em;
    font-size: 1.55rem;
    color: var(--ouro);
}

.logo-linha {
    height: 1px;
    width: 100%;
    background: var(--ouro);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.logo-linha-wrap {
    display: block;
}

.logo--footer .logo-linha {
    transform: scaleX(1);
}

.logo-arq {
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    letter-spacing: 0.4em;
    font-size: 55%;
    color: rgba(255, 255, 255, 0.80);
}

.navbar.navbar-scrolled .logo-arq {
    color: var(--verde-claro);
}

.navbar-brand:hover .logo-linha,
.navbar-brand:focus-visible .logo-linha {
    transform: scaleX(1);
}

/* Hero (full transformation) */
.hero {
    height: 100vh;
    min-height: 700px;
    padding: 0; /* remove padding legado que atrapalhava o centro vertical */
    position: relative;
    overflow: hidden;
    color: white;
    background: linear-gradient(135deg, #0D1F18 0%, #1E3A2F 45%, #162D24 100%);
}

/* Grain overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27160%27%20height%3D%27160%27%3E%3Cfilter%20id%3D%27n%27%3E%3CfeTurbulence%20type%3D%27fractalNoise%27%20baseFrequency%3D%270.9%27%20numOctaves%3D%273%27%20stitchTiles%3D%27stitch%27/%3E%3C/filter%3E%3Crect%20width%3D%27160%27%20height%3D%27160%27%20filter%3D%27url(%23n)%27%20opacity%3D%270.18%27/%3E%3C/svg%3E");
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    min-height: 0;
}

.hero-pretitle {
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--ouro);
    display: flex;
    align-items: center;
    gap: 14px;
    text-transform: uppercase;
}

.hero-pretitle::before {
    content: '';
    height: 1px;
    width: 52px;
    background: rgba(201, 146, 42, 0.55);
}

.hero-title {
    margin-top: 18px;
}

.hero-title h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 4.5rem;
    line-height: 1.02;
    letter-spacing: -0.01em;
    margin: 0;
}

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

.hero-title-line2 em {
    font-style: italic;
}

.hero-underline {
    position: relative;
    display: inline-block;
}

.hero-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.16em;
    height: 8px;
    width: 0%;
    background: linear-gradient(90deg, rgba(201, 146, 42, 1), rgba(224, 176, 96, 1));
    opacity: 0.95;
    transition: width 0.55s ease;
}

.hero:hover .hero-underline::after {
    width: 100%;
}

.hero-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.65);
    max-width: 640px;
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
    margin-top: 26px;
    flex-wrap: wrap;
    width: 100%;
}

.hero-btn-primary,
.hero-btn-ghost {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 14px 22px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.hero-btn-primary {
    background: var(--ouro);
    color: #1A1A18;
    border: 1px solid rgba(201, 146, 42, 0.9);
}

.hero-btn-primary:hover {
    background: var(--ouro-claro);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 146, 42, 0.4);
}

.hero-btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.95);
    background: rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(4px);
}

.hero-btn-ghost:hover {
    border-color: var(--ouro);
    color: var(--ouro);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.hero-stats {
    margin-top: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.hero-stat {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 0 20px;
    position: relative;
}

.hero-stat:not(:first-child)::before {
    content: '';
    position: absolute;
    left: 0;
    top: -14px;
    bottom: -14px;
    width: 1px;
    background: rgba(255, 255, 255, 0.18);
}

.hero-stat-num {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--ouro);
    font-size: 1.8rem;
}

.hero-stat-label {
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.82);
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.scroll-indicator span {
    font-family: 'DM Mono', monospace;
    letter-spacing: 0.3em;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 34px;
    background: rgba(255, 255, 255, 0.28);
}

.scroll-bubble {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ouro);
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translate3d(-50%, 0, 0);
    animation: scrollBubble 1.6s ease-in-out infinite;
}

@keyframes scrollBubble {
    0% { transform: translate3d(-50%, 0, 0); opacity: 0.95; }
    55% { transform: translate3d(-50%, 16px, 0); opacity: 0.35; }
    100% { transform: translate3d(-50%, 0, 0); opacity: 0.95; }
}

/* Decorative hero geometric */
.hero-geo {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 420px;
    height: 420px;
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
}

.hero-geo.intro-shown {
    opacity: 0.12; /* sutil */
}

.hero-geo svg {
    width: 100%;
    height: 100%;
}

.hero-geo {
    animation: heroGeoRotate 60s linear infinite;
}

@keyframes heroGeoRotate {
    from { transform: translateY(-50%) rotate(0deg); }
    to { transform: translateY(-50%) rotate(360deg); }
}

/* Page intro overlay + element reveal */
.page-intro-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.6s ease;
    pointer-events: all;
}

.page-intro-overlay.intro-overlay-fading {
    opacity: 0;
}

.intro-hidden {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.intro-hidden.intro-shown {
    opacity: 1;
    transform: translateY(0);
}

.intro-fade-slide-up { transform: translateY(22px); }
.intro-fade-slide-down { transform: translateY(-14px); }
.intro-hidden.intro-fade-slide-up.intro-shown,
.intro-hidden.intro-fade-slide-down.intro-shown {
    transform: translateY(0);
    opacity: 1;
}

/* Sections foundations */
section { padding: 92px 0; }

.section-label {
    font-family: 'DM Mono', monospace;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--ouro);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* About */
#sobre {
    background: var(--branco);
    color: var(--texto-escuro);
    padding-top: 110px;
}

.about-grid {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 34px;
    align-items: center;
}

.sobre-img-placeholder {
    position: relative;
    background: linear-gradient(135deg, var(--verde-medio), var(--verde-escuro));
    border-radius: 2px;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: rgba(255,255,255,0.92);
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    letter-spacing: 0.02em;
}

.sobre-img-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sobre-img-placeholder img {
    flex: 1;
}

.sobre-viewfinder {
    position: absolute;
    inset: 18px;
    border-radius: 2px;
    border: 1px solid rgba(201, 146, 42, 0.55);
    pointer-events: none;
}

.about-content h2 {
    font-size: 2.8rem;
}

.about-content p {
    color: var(--cinza-quente);
    line-height: 1.8;
    font-weight: 300;
    font-family: 'DM Sans', sans-serif;
}

.about-counter {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 18px;
}

.about-counter-num {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    color: var(--ouro);
    font-size: 2.4rem;
}

.about-counter-plus {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    color: var(--ouro);
}

.btn-outline-green {
    border-radius: 999px;
    padding: 12px 18px;
    border: 1px solid var(--verde-escuro);
    background: transparent;
    color: var(--verde-escuro);
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.35s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.btn-outline-green:hover {
    background: rgba(30, 58, 47, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(30, 58, 47, 0.12);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    align-items: stretch;
}

.service-card {
    background: var(--branco);
    border: 1px solid #E8E4DC;
    border-radius: 8px;
    padding: 28px 22px;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.service-card::after {
    content: '→';
    position: absolute;
    left: 22px;
    bottom: 22px;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    color: var(--ouro);
    font-weight: 700;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: var(--verde-escuro);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    stroke: #fff;
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-size: 1.7rem;
    margin-top: 2px;
}

.service-card p {
    color: var(--cinza-quente);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    line-height: 1.8;
    margin: 0;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(30, 58, 47, 0.12);
    border-color: var(--ouro);
}

.service-card:hover .service-icon {
    background: var(--ouro);
}

.service-card:hover .service-card::after { opacity: 1; transform: translateX(0); }
.service-card:hover::after { opacity: 1; transform: translateX(0); }

/* Differenciais */
#diferenciais {
    background: var(--verde-escuro);
    color: white;
    padding-top: 88px;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    align-items: stretch;
}

.diferencial-item {
    position: relative;
    padding: 34px 26px 30px;
    min-height: 290px;
}

.diferencial-item:not(:first-child) {
    border-left: 1px solid rgba(255,255,255,0.1);
}

.diff-number {
    position: absolute;
    top: -10px;
    left: 22px;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 6rem;
    opacity: 0.06;
    color: #fff;
    pointer-events: none;
}

.diff-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--ouro);
}

.diferencial-item h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: rgba(255,255,255,0.94);
}

.diferencial-item p {
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    color: rgba(255,255,255,0.86);
    line-height: 1.8;
    margin: 16px 0 0;
}

/* Portfolio */
#portfolio { background: var(--branco); }

.portfolio-grid {
    column-count: 2;
    column-gap: 22px;
}

.project-card {
    break-inside: avoid;
    display: block;
    margin-bottom: 22px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background: #0b1713;
    transform: translateZ(0);
    cursor: none;
}

.project-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    filter: saturate(1.02) contrast(1.01);
    transition: transform 0.6s ease;
}

.project-card-img-fallback {
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, var(--verde-escuro), var(--verde-medio));
    display: grid;
    place-items: center;
}

.project-card-img-fallback::before {
    content: '';
    width: 68px;
    height: 68px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.06);
}

.project-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.0) 40%, rgba(0,0,0,0.78) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px 18px;
    gap: 10px;
}

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

.project-card:hover .project-card-overlay {
    opacity: 1;
}

.project-card-title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    color: #fff;
    font-size: 1.35rem;
}

.project-card-cat {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(201,146,42,0.55);
    color: rgba(224, 176, 96, 0.95);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    font-size: 0.85rem;
}

.portfolio-empty {
    border: 1px solid #E8E4DC;
    background: #fff;
    border-radius: 12px;
    padding: 38px 26px;
    display: grid;
    place-items: center;
    text-align: center;
    gap: 16px;
}

.portfolio-empty svg {
    width: 70px;
    height: 70px;
    stroke: var(--verde-escuro);
}

.portfolio-empty h3 {
    font-size: 1.8rem;
}

.portfolio-empty p {
    max-width: 560px;
}

/* Process */
#processo {
    background: var(--branco);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    position: relative;
}

.process-step {
    padding: 22px 18px 18px;
    border-radius: 12px;
    border: 1px solid #E8E4DC;
    background: #fff;
    position: relative;
    transition: all 0.35s ease;
    min-height: 320px;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -18px;
    top: 50%;
    width: 36px;
    border-top: 2px dotted rgba(201,146,42,0.55);
    transform: translateY(-50%);
}

.process-num {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    color: var(--ouro);
    font-size: 3rem;
    opacity: 0.28;
    margin-bottom: 10px;
}

.process-step h3 {
    font-size: 1.4rem;
    transition: color 0.35s ease;
}

.process-step p {
    color: var(--cinza-quente);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    line-height: 1.8;
    margin-top: 12px;
}

.process-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(30,58,47,0.10);
    border-color: rgba(201,146,42,0.65);
}

.process-step:hover h3 {
    color: var(--ouro);
}

/* Testimonials */
#depoimentos { background: #fff; }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.testimonial-card {
    border: 1px solid #E8E4DC;
    border-radius: 12px;
    padding: 22px 20px 18px;
    position: relative;
    overflow: hidden;
    background: #fff;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(30,58,47,0.10);
    border-color: rgba(201,146,42,0.65);
}

.testimonial-quote {
    position: absolute;
    top: -12px;
    left: 12px;
    font-size: 6.5rem;
    color: rgba(201,146,42,0.18);
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    pointer-events: none;
}

.testimonial-message {
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    color: var(--cinza-quente);
    line-height: 1.8;
    margin: 26px 0 18px;
    font-style: italic;
}

.testimonial-person {
    display: flex;
    gap: 12px;
    align-items: center;
}

.testimonial-avatar {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: var(--verde-escuro);
    display: grid;
    place-items: center;
    color: #fff;
    font-family: 'DM Mono', monospace;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.testimonial-name {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    color: var(--verde-escuro);
}

.testimonial-meta {
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    color: var(--cinza-quente);
    font-size: 0.95rem;
    margin-top: 2px;
}

/* Contact */
#contato {
    background: var(--verde-escuro);
    color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 32px;
    align-items: start;
}

.contact-info p {
    color: rgba(255,255,255,0.75);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    line-height: 1.8;
}

.contact-list {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.contact-item .contact-ico {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(224,176,96,0.10);
    border: 1px solid rgba(224,176,96,0.28);
}

.contact-item .contact-ico svg {
    width: 18px;
    height: 18px;
    stroke: var(--ouro);
}

.contact-item b {
    color: rgba(255,255,255,0.95);
    font-weight: 600;
}

.contact-item a {
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.25s ease;
}
.contact-item a:hover { color: var(--ouro); border-bottom-color: rgba(201,146,42,0.55); }

.contact-form {
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    padding: 26px 22px;
}

.field {
    position: relative;
    margin-bottom: 18px;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.28);
    color: #fff;
    padding: 16px 0 10px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    outline: none;
}

.field textarea { min-height: 120px; resize: vertical; }

.field label {
    position: absolute;
    left: 0;
    top: 16px;
    pointer-events: none;
    font-family: 'DM Sans', sans-serif;
    color: rgba(255,255,255,0.60);
    transition: all 0.25s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    border-bottom-color: rgba(201,146,42,0.9);
}

.field input:focus + label,
.field textarea:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:not(:placeholder-shown) + label,
.field select:focus ~ label,
.field select:valid ~ label {
    top: 0;
    font-size: 0.78rem;
    color: var(--ouro);
}

.field select {
    appearance: none;
}

.field .select-arrow {
    position: absolute;
    right: 0;
    top: 18px;
    color: rgba(255,255,255,0.65);
    pointer-events: none;
}

.contact-submit {
    width: 100%;
    margin-top: 10px;
    border-radius: 999px;
    border: none;
    background: var(--ouro);
    color: var(--texto-escuro);
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 16px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.35s ease;
}

.contact-submit:hover {
    background: #B98527;
    transform: translateY(-2px);
    box-shadow: 0 12px 44px rgba(201,146,42,0.30);
}

/* Footer (premium) */
.site-footer {
    background: #0D1F18;
    color: rgba(255,255,255,0.86);
    padding: 80px 0 28px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 26px;
    align-items: start;
}

.footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 34px 0 18px;
}

.footer-col h4 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.90);
    font-size: 0.9rem;
    margin-bottom: 14px;
}

.footer-tagline {
    margin-top: 16px;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: rgba(255,255,255,0.86);
    line-height: 1.6;
}

.logo--footer .logo-arq {}

.logo--footer .logo-fetz {}

.logo--footer .logo-arq { color: rgba(61,107,88,0.95); }

.logo--footer .logo-linha { background: var(--ouro); }

.logo--footer .logo-fetz { color: var(--ouro); }

.logo--footer .logo-arq { color: rgba(255,255,255,0.82); }

.footer-links a,
.footer-social a {
    display: inline-block;
    margin: 8px 0;
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.25s ease;
}
.footer-links a:hover,
.footer-social a:hover {
    color: var(--ouro);
    border-bottom-color: rgba(201,146,42,0.55);
}

.footer-contact p {
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    margin: 8px 0;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom span {
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    opacity: 0.4;
}

/* Cursor custom */
body.cursor-enabled { cursor: none; }

#fetz-cursor-dot,
#fetz-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    pointer-events: none;
    transform: translate3d(-999px, -999px, 0);
}

#fetz-cursor-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(201,146,42,0.85);
    box-shadow: 0 0 0 6px rgba(201,146,42,0.15);
    opacity: 0.9;
}

#fetz-cursor-ring {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 1px solid rgba(201,146,42,0.55);
    background: rgba(201,146,42,0.08);
    transition: width 0.18s ease, height 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    display: grid;
    place-items: center;
}

#fetz-cursor-ring span {
    color: rgba(201,146,42,0.92);
    font-family: 'DM Mono', monospace;
    font-size: 0.55rem;
    letter-spacing: 0.08em;
    opacity: 0;
}

#fetz-cursor-ring.cursor-ring--active {
    width: 40px;
    height: 40px;
    border-color: rgba(224,176,96,0.85);
    background: rgba(201,146,42,0.14);
}

#fetz-cursor-ring.cursor-ring--active span {
    opacity: 0.92;
}

/* Project hover cursor label target */
.project-card:hover #fetz-cursor-label,
.project-card:hover ~ #fetz-cursor-label { opacity: 1; }

@media (max-width: 1000px) {
    .services-grid { grid-template-columns: 1fr; }
    .diferenciais-grid { grid-template-columns: 1fr; }
    .diferencial-item:not(:first-child) { border-left: none; border-top: 1px solid rgba(255,255,255,0.1); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .portfolio-grid { column-count: 1; }
    .process-grid { grid-template-columns: 1fr; }
    .hero-title h1 { font-size: 2.8rem; }
    .about-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 10px; flex-wrap: wrap; }
    .hero-stat { padding: 10px 0; }
    .hero-stat:not(:first-child)::before { display: none; }
    .hero-geo { display: none; }
}

@media (max-width: 768px) {
    .navbar-menu {
        background: rgba(30, 58, 47, 0.98) !important;
    }
    .navbar-menu a {
        color: rgba(255,255,255,0.86) !important;
    }
}

/* SVG Blueprint backgrounds (draw-on-scroll) */
#sobre, #servicos, #diferenciais, #processo, #contato {
    position: relative;
}

#sobre .container,
#servicos .container,
#diferenciais .container,
#processo .container,
#contato .container {
    position: relative;
    z-index: 1;
}

.section-blueprint {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.section-blueprint svg {
    width: 100%;
    height: 100%;
    display: block;
}

.section-blueprint .bp-anim {
    fill: none;
    stroke-width: 1.25;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
}

.section-blueprint .bp-dot {
    stroke-width: 0.85;
}

.section-blueprint .bp-ouro {
    stroke: rgba(201, 146, 42, 0.16);
}

.section-blueprint .bp-verde {
    stroke: rgba(61, 107, 88, 0.13);
}

.section-blueprint.reveal.visible .bp-anim {
    animation: bpDraw var(--bp-duration, 2200ms) var(--bp-ease, linear) forwards;
    animation-fill-mode: forwards;
}

@keyframes bpDraw {
    to { stroke-dashoffset: 0; }
}
