:root {
    --color-primary: #1C1C1C;
    --color-secondary: #9C5C2C;
    --color-accent: #C47431;
    --color-light: #EAEAEA;
    --color-white: #FFFFFF;
    --color-muted: #A1A1A1;
    --font-sans: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
    --max-width: 1200px;
    --spacing-section: clamp(60px, 8vw, 120px);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    background-color: var(--color-primary);
    color: var(--color-white);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover,
a:focus {
    color: var(--color-accent);
    outline: none;
}

header,
footer,
main>section {
    padding-left: clamp(16px, 6vw, 60px);
    padding-right: clamp(16px, 6vw, 60px);
}

/* ========================================
   HEADER SUPER PREMIUM
======================================== */
header.header-centered {
    position: sticky;
    top: 0;
    background: linear-gradient(180deg, rgba(14, 14, 14, 0.98) 0%, rgba(28, 28, 28, 0.95) 100%);
    backdrop-filter: blur(20px);
    z-index: 100;
    border-bottom: 1px solid rgba(156, 92, 44, 0.3);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
    display: flex;
    flex-direction: row;
    /* Alterado para LINHA */
    align-items: center;
    justify-content: space-between;
    /* Espaço entre Logo e Actions */
    gap: 24px;
    height: 90px;
    /* Altura fixa para alinhar verticalmente */
}

/* Logo Alinhada à Esquerda */
.header-logo {
    text-align: left;
    padding-bottom: 0;
    border-bottom: none;
    width: auto;
    flex-shrink: 0;
    /* order removido para voltar ao fluxo natural (esquerda) */
}

.logo-link {
    text-decoration: none;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}

.logo-link:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.logo-image {
    height: 60px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
}

/* Fallback para texto (caso a imagem não carregue) */
.logo-text {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.logo-tagline {
    font-size: 0.7rem;
    color: rgba(156, 92, 44, 0.8);
    margin: 6px 0 0 0;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
}

/* Actions Alinhado à Direita */
.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* Alinha itens à direita */
    width: auto;
    gap: 40px;
    /* order removido para voltar ao fluxo natural (direita) */
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-list a {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    color: rgba(234, 234, 234, 0.85);
    transition: all 0.3s ease;
}

.nav-list a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: width 0.3s ease;
}

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

.nav-list a:hover::before {
    width: 100%;
}

.nav-list a.active {
    color: var(--color-white);
}

.nav-list a.active::before {
    width: 100%;
}

/* Header Actions - Mesma Linha do Menu */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-right: 20px;
    border-right: 1px solid rgba(156, 92, 44, 0.3);
}

.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(156, 92, 44, 0.15);
    color: var(--color-secondary);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(156, 92, 44, 0.2);
}

.social-links a:hover {
    background: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 16px rgba(156, 92, 44, 0.4);
    border-color: var(--color-secondary);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--color-secondary);
    color: var(--color-white);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(156, 92, 44, 0.4);
    border: 2px solid var(--color-secondary);
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-cta:hover::before {
    opacity: 1;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(156, 92, 44, 0.6);
    border-color: var(--color-accent);
}

.btn-cta svg,
.btn-cta span {
    position: relative;
    z-index: 1;
}

.btn-cta svg {
    flex-shrink: 0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ========================================
   LINKS - CONTRASTE OTIMIZADO
======================================== */
/* Links gerais com melhor contraste */
a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Links em fundos escuros - HOVER SEMPRE BRANCO */
.hero-home a:not(.btn),
.especialidades a:not(.btn):not(.especialidade-link),
.faq-section a:not(.btn),
.cta-final a:not(.btn),
header a:not(.btn):not(.btn-cta) {
    color: rgba(234, 234, 234, 0.85);
}

.hero-home a:not(.btn):hover,
.especialidades a:not(.btn):not(.especialidade-link):hover,
.faq-section a:not(.btn):hover,
.cta-final a:not(.btn):hover,
header a:not(.btn):not(.btn-cta):hover {
    color: var(--color-white);
}

/* Botões na hero com melhor contraste */
.hero-home .btn-primary {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-white);
}

.hero-home .btn-primary:hover {
    background: var(--color-white);
    border-color: var(--color-white);
    color: var(--color-primary);
}

.hero-home .btn-outline {
    background: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
}

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

/* Links em fundos claros */
.quem-somos a:not(.btn) {
    color: var(--color-secondary);
}

.quem-somos a:not(.btn):hover {
    color: var(--color-accent);
}

/* Footer links com contraste */
.main-footer a {
    color: var(--color-secondary);
}

.main-footer a:hover {
    color: var(--color-accent);
}

.hero {
    min-height: 100vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: var(--spacing-section) clamp(16px, 6vw, 60px);
    background: linear-gradient(135deg, rgba(28, 28, 28, 0.85), rgba(28, 28, 28, 0.95)),
        url('../img/hero-structure.jpg') center/cover no-repeat;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
}

.hero__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 32px;
    border-radius: 4px;
    border: 1px solid transparent;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.3s ease, color 0.3s ease;
}

.btn svg {
    flex-shrink: 0;
}

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

.btn-primary:hover,
.btn-primary:focus {
    background: var(--color-accent);
}

.btn-outline {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
    background: transparent;
}

.btn-outline:hover,
.btn-outline:focus {
    background: var(--color-secondary);
    color: var(--color-white);
}

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

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

section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 20px;
}

section p {
    max-width: 720px;
    margin-bottom: 16px;
}

.services-preview__grid,
.values__grid,
.projects-gallery__grid {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-top: 32px;
}

.service-card,
.value-card,
.project-card {
    background: rgba(28, 28, 28, 0.85);
    border: 1px solid rgba(156, 92, 44, 0.2);
    padding: 24px;
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

.section-light .service-card,
.section-light .value-card,
.section-light .project-card {
    background: var(--color-white);
    border-color: rgba(28, 28, 28, 0.08);
}

.manifesto {
    border-top: 1px solid rgba(156, 92, 44, 0.3);
    border-bottom: 1px solid rgba(156, 92, 44, 0.3);
    padding: clamp(40px, 6vw, 80px) 0;
}

.cta {
    text-align: center;
    padding: var(--spacing-section) clamp(16px, 6vw, 60px);
    background: linear-gradient(135deg, rgba(156, 92, 44, 0.9), rgba(28, 28, 28, 0.9));
}

.footer {
    background: #0E0E0E;
    color: var(--color-muted);
    text-align: center;
    padding: 40px clamp(16px, 6vw, 60px);
    font-size: 0.9rem;
}

.contact-info__grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.contact-item {
    padding: 20px;
    background: rgba(28, 28, 28, 0.9);
    border-radius: 6px;
}

.contact-form form,
.contact-form .admin-form {
    max-width: 640px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

label span {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 8px;
}

input,
textarea {
    width: 100%;
    padding: 14px;
    border-radius: 4px;
    border: 1px solid rgba(156, 92, 44, 0.4);
    background: rgba(28, 28, 28, 0.6);
    color: var(--color-white);
}

textarea {
    resize: vertical;
}

input:focus,
textarea:focus {
    outline: 2px solid var(--color-secondary);
    border-color: var(--color-secondary);
}

/* ========================================
   ANIMATIONS & KEYFRAMES
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

/* ========================================
   ENHANCED HERO SECTION
======================================== */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(28, 28, 28, 0.92) 0%,
            rgba(28, 28, 28, 0.85) 50%,
            rgba(156, 92, 44, 0.3) 100%);
    z-index: 1;
}

.hero>* {
    position: relative;
    z-index: 2;
}

.hero h1 {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero p {
    animation: fadeInUp 1s ease-out 0.4s both;
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--color-light);
    max-width: 720px;
    margin: 0 auto 32px auto;
}

.hero__actions {
    animation: fadeInUp 1s ease-out 0.6s both;
}

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

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
    animation: shimmer 3s linear infinite;
    background-size: 1000px 100%;
}

/* ========================================
   ENHANCED BUTTONS
======================================== */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before,
.btn:focus::before {
    width: 300px;
    height: 300px;
}

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

/* ========================================
   ENHANCED SECTIONS
======================================== */
section {
    padding: var(--spacing-section) clamp(16px, 6vw, 60px);
    animation: fadeIn 0.8s ease-out;
}

section>* {
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   ENHANCED CARDS
======================================== */
.service-card,
.value-card,
.project-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.service-card::before,
.value-card::before,
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--color-secondary), var(--color-accent));
    transition: height 0.4s ease;
}

.service-card:hover,
.value-card:hover,
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(156, 92, 44, 0.3);
}

.service-card:hover::before,
.value-card:hover::before,
.project-card:hover::before {
    height: 100%;
}

.service-card h3,
.value-card h3,
.project-card h3 {
    color: var(--color-secondary);
    font-size: 1.3rem;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.service-card:hover h3,
.value-card:hover h3,
.project-card:hover h3 {
    color: var(--color-accent);
}

.service-card p,
.value-card p,
.project-card p {
    color: var(--color-muted);
    line-height: 1.7;
}

/* ========================================
   MANIFESTO SECTION
======================================== */
.manifesto {
    position: relative;
    text-align: center;
}

.manifesto::before,
.manifesto::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
}

.manifesto::before {
    top: 0;
}

.manifesto::after {
    bottom: 0;
}

.manifesto h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 24px;
    color: var(--color-secondary);
}

.manifesto p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-light);
}

/* ========================================
   CTA SECTION
======================================== */
.cta {
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(156, 92, 44, 0.95),
            rgba(28, 28, 28, 0.95));
    z-index: 1;
}

.cta>* {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 16px;
}

/* ========================================
   HEADER ENHANCEMENTS
======================================== */
header {
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    letter-spacing: 0.05em;
}

nav a {
    font-weight: 500;
}

nav a.active {
    color: var(--color-accent);
}

nav a.active::after {
    width: 100%;
}

/* ========================================
   FOOTER ENHANCEMENTS
======================================== */
footer {
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(156, 92, 44, 0.5),
            transparent);
}

/* ========================================
   FORM ENHANCEMENTS
======================================== */
.contact-form input,
.contact-form textarea {
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(156, 92, 44, 0.2);
}

/* ========================================
   UTILITY CLASSES
======================================== */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

/* ========================================
   SCROLL ANIMATIONS
======================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   LOADING STATE
======================================== */
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid var(--color-secondary);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   RESPONSIVE MEDIA QUERIES
======================================== */
@media (max-width: 768px) {
    nav ul {
        gap: 16px;
        font-size: 0.8rem;
    }

    .hero {
        min-height: 70vh;
    }

    .hero__actions {
        flex-direction: column;
    }

    .services-preview__grid,
    .values__grid,
    .projects-gallery__grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   HIGH CONTRAST MODE
======================================== */
@media (prefers-contrast: high) {
    :root {
        --color-primary: #000000;
        --color-white: #FFFFFF;
    }
}

/* ========================================
   MENU MOBILE
======================================== */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 100;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--color-secondary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-primary);
        padding: 80px 32px 32px;
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        z-index: 99;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.5);
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 24px;
    }

    nav a {
        font-size: 1.1rem;
        display: block;
    }

    body.menu-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.7);
        z-index: 98;
        animation: fadeIn 0.3s ease;
    }
}

/* ========================================
   SCROLL TO TOP BUTTON
======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--color-secondary);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 50;
    box-shadow: 0 4px 16px rgba(156, 92, 44, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(156, 92, 44, 0.6);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

/* ========================================
   FORM MESSAGES & ERRORS
======================================== */
.form-message {
    padding: 16px 20px;
    border-radius: 4px;
    margin-bottom: 24px;
    font-size: 0.95rem;
    animation: slideInDown 0.4s ease;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

.form-message.success {
    background: rgba(56, 142, 60, 0.15);
    color: #81c784;
    border-left: 4px solid #4caf50;
}

.form-message.error {
    background: rgba(211, 47, 47, 0.15);
    color: #e57373;
    border-left: 4px solid #f44336;
}

.field-error {
    color: #f44336;
    font-size: 0.8rem;
    margin-top: 6px;
    animation: fadeIn 0.3s ease;
}

input.error,
textarea.error {
    border-color: #f44336;
}

/* ========================================
   CUSTOM CURSOR (OPCIONAL)
======================================== */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-secondary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.2s ease;
    transform: translate(-50%, -50%);
}

.custom-cursor.hover {
    width: 40px;
    height: 40px;
    background: rgba(156, 92, 44, 0.2);
}

/* ========================================
   HEADER SCROLLED STATE
======================================== */
header.scrolled {
    background: rgba(28, 28, 28, 0.98);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* ========================================
   ENHANCED GRID LAYOUTS
======================================== */
.grid-2col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.grid-3col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.grid-4col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

/* ========================================
   IMAGE CONTAINERS
======================================== */
.img-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.img-container:hover img {
    transform: scale(1.1);
}

.img-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(28, 28, 28, 0.8));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.img-container:hover::after {
    opacity: 1;
}

/* ========================================
   SECTION DIVIDERS
======================================== */
.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
    margin: 32px auto;
    border-radius: 2px;
}

.section-divider--left {
    margin-left: 0;
}

/* ========================================
   BADGES & TAGS
======================================== */
.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(156, 92, 44, 0.15);
    color: var(--color-secondary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

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

/* ========================================
   TOOLTIPS
======================================== */
[data-tooltip] {
    position: relative;
    cursor: pointer;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 8px 12px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 0.8rem;
    white-space: nowrap;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 100;
}

[data-tooltip]:hover::after {
    opacity: 1;
}

/* ========================================
   STATS / COUNTERS
======================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    text-align: center;
    margin: 48px 0;
}

.stat-item {
    padding: 32px 24px;
    background: rgba(28, 28, 28, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(156, 92, 44, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ========================================
   CONTAINERS & SPACING
======================================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0 0 16px 0;
    letter-spacing: 0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-muted);
    margin: 0;
    letter-spacing: 0.05em;
}

/* ========================================
   HERO HOME
======================================== */
.hero-home {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0;
}

.hero-home::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(28, 28, 28, 0.88) 0%,
            rgba(28, 28, 28, 0.75) 50%,
            rgba(156, 92, 44, 0.4) 100%);
    z-index: 1;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    font-weight: 700;
    margin: 0 0 32px 0;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.hero-title span {
    color: var(--color-secondary);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--color-light);
    margin: 0 0 48px 0;
    line-height: 1.7;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   ESPECIALIDADES SECTION
======================================== */
.especialidades {
    padding: 120px 0;
    background: linear-gradient(180deg,
            #0E0E0E 0%,
            #1C1C1C 25%,
            rgba(28, 28, 28, 0.95) 50%,
            #1C1C1C 75%,
            #0E0E0E 100%);
    position: relative;
    overflow: hidden;
}

.especialidades::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(156, 92, 44, 0.08) 0%, transparent 70%);
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

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

.especialidades-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.especialidade-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 0;
    background: transparent;
    border-radius: 16px;
    border: none;
    position: relative;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.especialidade-item::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg,
            rgba(156, 92, 44, 0.3) 0%,
            rgba(196, 116, 49, 0.2) 50%,
            rgba(156, 92, 44, 0.1) 100%);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.especialidade-item:hover::before {
    opacity: 1;
}

.especialidade-item:hover {
    transform: translateY(-8px) scale(1.02);
}

.especialidade-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.especialidade-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(28, 28, 28, 0.3) 50%,
            rgba(28, 28, 28, 0.8) 100%);
    opacity: 1;
    transition: opacity 0.5s ease;
}

.especialidade-item:hover .especialidade-image::after {
    opacity: 0.7;
}

.especialidade-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: brightness(0.9) contrast(1.1);
}

.especialidade-item:hover .especialidade-image img {
    transform: scale(1.15) rotate(2deg);
    filter: brightness(1) contrast(1.2);
}

.especialidade-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    color: var(--color-white);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    z-index: 3;
    box-shadow: 0 4px 16px rgba(156, 92, 44, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.especialidade-item:hover .especialidade-badge {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 24px rgba(156, 92, 44, 0.7);
}

.especialidade-content {
    padding: 40px;
    background: linear-gradient(135deg,
            rgba(28, 28, 28, 0.6) 0%,
            rgba(14, 14, 14, 0.8) 100%);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(156, 92, 44, 0.1);
    transition: all 0.4s ease;
}

.especialidade-item:hover .especialidade-content {
    background: linear-gradient(135deg,
            rgba(28, 28, 28, 0.8) 0%,
            rgba(14, 14, 14, 0.95) 100%);
    border-color: rgba(156, 92, 44, 0.3);
    box-shadow: 0 8px 32px rgba(156, 92, 44, 0.2);
}

.especialidade-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--color-white);
    margin: 0 0 20px 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.especialidade-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
    margin-top: 16px;
    border-radius: 2px;
}

.especialidade-description {
    font-size: 1rem;
    color: rgba(234, 234, 234, 0.9);
    margin: 0 0 32px 0;
    line-height: 1.9;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.especialidade-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.especialidade-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.especialidade-features li::before {
    content: '→';
    color: var(--color-secondary);
    font-weight: 700;
    font-size: 1.2rem;
}

.especialidade-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(234, 234, 234, 0.85);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.especialidade-link:hover {
    gap: 12px;
    color: var(--color-white);
}

.especialidade-link svg {
    transition: transform 0.3s ease;
}

.especialidade-link:hover svg {
    transform: translateX(4px);
}

/* ========================================
   CARROSSEL DE PROJETOS
======================================== */
.projects-carousel {
    position: relative;
    overflow: hidden;
    background: var(--color-primary);
    padding: 0;
    margin: 0;
}

.carousel-track {
    display: flex;
    gap: 0;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-item {
    flex: 0 0 100%;
    aspect-ratio: 21/9;
}

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

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(156, 92, 44, 0.9);
    border: none;
    border-radius: 50%;
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-prev {
    left: 32px;
}

.carousel-next {
    right: 32px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--color-accent);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 24px rgba(156, 92, 44, 0.6);
}

/* ========================================
   QUEM SOMOS SECTION
======================================== */
.quem-somos {
    padding: 120px 0;
    background: var(--color-light);
    color: var(--color-primary);
}

.quem-somos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.quem-somos-content {
    padding-right: 40px;
}

.quem-somos .section-title {
    text-align: left;
    margin-bottom: 12px;
}

.quem-somos-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 40px 0;
    line-height: 1.3;
}

.quem-somos-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: rgba(28, 28, 28, 0.8);
    margin: 0 0 24px 0;
}

.quem-somos-valores {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.valor-item {
    text-align: center;
}

.valor-item svg {
    color: var(--color-secondary);
    margin-bottom: 16px;
}

.valor-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0;
    letter-spacing: 0.05em;
}

.quem-somos-visual {
    position: relative;
}

.quem-somos-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.quem-somos-image img {
    width: 100%;
    height: auto;
    display: block;
}

.quem-somos-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-box {
    background: var(--color-white);
    padding: 32px 24px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid rgba(156, 92, 44, 0.1);
    transition: all 0.3s ease;
}

.stat-box:hover {
    border-color: var(--color-secondary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(156, 92, 44, 0.15);
}

.stat-box .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0 0 8px 0;
    line-height: 1;
}

.stat-box .stat-label {
    font-size: 0.85rem;
    color: rgba(28, 28, 28, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* ========================================
   CTA FINAL
======================================== */
.cta-final {
    background: linear-gradient(135deg,
            rgba(156, 92, 44, 0.95),
            rgba(28, 28, 28, 0.95)),
        url('../img/b885fa00fa605366bf04cd99f6fc2f04.jpg') center/cover;
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.cta-final .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-white);
    margin: 0 auto 24px;
    text-align: center;
    max-width: 100%;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--color-light);
    margin: 0 auto 48px;
    max-width: 640px;
    text-align: center;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
}

.cta-final .btn-primary:hover {
    background: var(--color-white);
    border-color: var(--color-white);
    color: var(--color-primary);
}

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

/* ========================================
   FAQ SECTION
======================================== */
.faq-section {
    padding: 120px 0;
    background: var(--color-primary);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: rgba(28, 28, 28, 0.4);
    border: 1px solid rgba(156, 92, 44, 0.15);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(156, 92, 44, 0.4);
}

.faq-item.faq-open {
    background: rgba(28, 28, 28, 0.6);
    border-color: var(--color-secondary);
    box-shadow: 0 4px 16px rgba(156, 92, 44, 0.15);
}

.faq-question {
    width: 100%;
    padding: 24px 60px 24px 32px;
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--color-secondary);
}

.faq-item.faq-open .faq-question {
    color: var(--color-secondary);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 32px;
    font-size: 2rem;
    font-weight: 300;
    color: var(--color-secondary);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.faq-open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 32px;
}

.faq-item.faq-open .faq-answer {
    max-height: 800px;
    padding: 0 32px 32px 32px;
}

.faq-answer p {
    color: var(--color-light);
    line-height: 1.8;
    margin: 0;
}

/* ========================================
   FOOTER ROBUSTO
======================================== */
.main-footer {
    background: #0E0E0E;
    color: var(--color-light);
}

.footer-top {
    padding: 80px 0 60px;
    border-bottom: 1px solid rgba(156, 92, 44, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
}

.footer-about h3,
.footer-links h4,
.footer-contact h4 {
    color: var(--color-secondary);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 24px 0;
    letter-spacing: 0.05em;
}

.footer-about p {
    color: var(--color-muted);
    line-height: 1.8;
    margin: 0 0 24px 0;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(156, 92, 44, 0.1);
    border-radius: 50%;
    color: var(--color-secondary);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-3px);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--color-muted);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-secondary);
    transform: translateX(4px);
}

.footer-contact p {
    color: var(--color-muted);
    margin: 0 0 16px 0;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-secondary);
}

.footer-contact a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    padding: 32px 0;
}

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

.footer-bottom p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.85rem;
}

.footer-credits {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-muted);
    font-size: 0.85rem;
}

.footer-credits a {
    color: var(--color-secondary);
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-credits a:hover {
    color: var(--color-accent);
}

/* ========================================
   RESPONSIVE - HOME PAGE
======================================== */
@media (max-width: 1024px) {
    .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .especialidade-item {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }

    .especialidade-features {
        grid-template-columns: 1fr;
    }

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

    .quem-somos-content {
        padding-right: 0;
    }

    .quem-somos-valores {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 60px 0 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding-top: 32px;
    }

    .footer-column h3 {
        font-size: 1.1rem;
    }

    .footer-column p,
    .footer-column a {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-top {
        padding: 60px 0 40px;
    }

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

    .faq-section {
        padding: 80px 0;
    }

    .faq-question {
        font-size: 1rem;
        padding: 20px 50px 20px 24px;
    }

    .faq-question::after {
        right: 24px;
    }

    .faq-answer {
        padding: 0 24px;
    }

    .faq-item.faq-open .faq-answer {
        padding: 0 24px 24px 24px;
    }

    .hero-home {
        min-height: 70vh;
        padding: 80px 0;
    }

    .especialidades {
        padding: 80px 0;
    }

    .especialidades-list {
        gap: 60px;
    }

    .especialidade-item {
        padding: 32px 24px;
    }

    .quem-somos {
        padding: 80px 0;
    }

    .quem-somos-stats {
        grid-template-columns: 1fr;
    }

    .carousel-prev,
    .carousel-next {
        width: 44px;
        height: 44px;
    }

    .carousel-prev {
        left: 16px;
    }

    .carousel-next {
        right: 16px;
    }

    .cta-final {
        padding: 80px 0;
    }

    .header-container {
        padding: 16px 20px;
        gap: 16px;
    }

    .header-logo {
        padding-bottom: 12px;
    }

    .logo-image {
        height: 45px;
    }

    .logo-text {
        font-size: 1.8rem;
    }

    .logo-tagline {
        font-size: 0.65rem;
    }

    .main-nav {
        flex-direction: column;
        gap: 20px;
    }

    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
        font-size: 0.75rem;
    }

    .header-actions {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    .social-links {
        justify-content: center;
        padding-right: 0;
        border-right: none;
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(156, 92, 44, 0.3);
    }

    .btn-cta {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }
}

/* ========================================
   PÁGINA QUEM SOMOS
======================================== */
/* Hero Secondary */
.hero-secondary {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 14, 14, 0.85), rgba(28, 28, 28, 0.75));
    z-index: 1;
}

.hero-secondary-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-secondary-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--color-white);
    margin: 0 0 24px 0;
    letter-spacing: -0.02em;
}

.hero-secondary-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(234, 234, 234, 0.9);
    margin: 0;
    line-height: 1.6;
}

/* About Story */
.about-story {
    padding: 120px 0;
    background: var(--color-light);
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-story-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-story-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.about-story-image:hover img {
    transform: scale(1.05);
}

.about-story-content {
    padding: 40px 0;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 32px 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.about-story-content p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: rgba(28, 28, 28, 0.85);
    margin: 0 0 24px 0;
}

.about-story-content p:last-child {
    margin-bottom: 0;
}

/* About Values */
.about-values {
    padding: 120px 0;
    background: var(--color-primary);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-header .section-title {
    color: var(--color-white);
}

.section-description {
    font-size: 1.1rem;
    color: rgba(234, 234, 234, 0.8);
    line-height: 1.7;
    margin: 16px 0 0 0;
}

/* Header específico para Services Main (fundo claro) */
.services-main .section-header .section-label {
    color: var(--color-secondary);
}

.services-main .section-header .section-title {
    color: var(--color-primary);
}

.services-main .section-header .section-description {
    color: var(--color-secondary);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.value-card {
    background: linear-gradient(135deg, rgba(28, 28, 28, 0.6), rgba(14, 14, 14, 0.8));
    padding: 48px;
    border-radius: 16px;
    border: 1px solid rgba(156, 92, 44, 0.2);
    transition: all 0.4s ease;
}

.value-card:hover {
    border-color: rgba(156, 92, 44, 0.5);
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(156, 92, 44, 0.2);
}

.value-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(156, 92, 44, 0.15);
    border-radius: 16px;
    color: var(--color-secondary);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background: var(--color-secondary);
    color: var(--color-white);
    transform: scale(1.1);
}

.value-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0 0 16px 0;
    letter-spacing: -0.01em;
}

.value-description {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(234, 234, 234, 0.85);
    margin: 0;
}

/* About Manifesto */
.about-manifesto {
    padding: 140px 0;
    background: linear-gradient(135deg, rgba(14, 14, 14, 0.92), rgba(28, 28, 28, 0.88)),
        url('../img/ffd7ff10d899d3c3f98ae187305654a9.jpg') center/cover no-repeat;
    background-attachment: fixed;
    position: relative;
}

.about-manifesto::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(156, 92, 44, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.manifesto-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.manifesto-content .section-label {
    color: var(--color-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.manifesto-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    color: var(--color-white);
    margin: 0 auto 56px;
    line-height: 1.15;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    max-width: 100%;
}

.manifesto-text {
    margin: 0 auto 56px;
    padding: 0;
    max-width: 900px;
    width: 100%;
}

.manifesto-text p {
    font-size: 1.25rem;
    line-height: 2;
    color: rgba(234, 234, 234, 0.95);
    margin: 0 auto 32px;
    font-weight: 400;
    text-align: center;
}

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

.manifesto-content .btn-primary {
    padding: 18px 48px;
    font-size: 1rem;
    box-shadow: 0 8px 24px rgba(156, 92, 44, 0.4);
    margin: 0 auto;
}

/* Responsivo Quem Somos */
@media (max-width: 768px) {
    .hero-secondary {
        min-height: 50vh;
        background-attachment: scroll;
    }

    .about-story {
        padding: 80px 0;
    }

    .values-section {
        padding: 60px 0;
    }

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

    .value-card {
        padding: 32px 24px;
    }

    .team-section {
        padding: 60px 0;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .manifesto-text {
        padding: 60px 0;
        background-attachment: scroll;
    }

    .manifesto-text p {
        font-size: 1rem;
        line-height: 1.8;
    }
}

/* ========================================
   PÁGINA SERVIÇOS
======================================== */
/* Services Main */
.services-main {
    padding: 120px 0;
    background: var(--color-light);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    margin-top: 80px;
}

.service-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

/* Alternar posição da imagem */
.service-card:nth-child(even) {
    direction: rtl;
}

.service-card:nth-child(even)>* {
    direction: ltr;
}

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

.service-card-image {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.08);
}

.service-card-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 4px 16px rgba(156, 92, 44, 0.4);
}

.service-card-content {
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.service-card-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.service-card-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(28, 28, 28, 0.8);
    margin: 0;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: rgba(28, 28, 28, 0.85);
}

.service-features svg {
    flex-shrink: 0;
    color: var(--color-secondary);
}

.service-li.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
    justify-content: center;
}

.service-link:hover {
    gap: 12px;
    color: var(--color-accent);
}

.service-link svg {
    transition: transform 0.3s ease;
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* Services Process */
.services-process {
    padding: 120px 0;
    background: var(--color-primary);
}

.services-process .section-header {
    margin-bottom: 80px;
}

.services-process .section-title {
    color: var(--color-white);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.process-step {
    display: flex;
    gap: 32px;
    align-items: start;
}

.process-number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    border-radius: 16px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    box-shadow: 0 8px 24px rgba(156, 92, 44, 0.3);
}

.process-content {
    flex: 1;
}

.process-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0 0 16px 0;
    letter-spacing: -0.01em;
}

.process-description {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(234, 234, 234, 0.85);
    margin: 0;
}

/* Responsivo Serviços */
@media (max-width: 1024px) {
    .service-card {
        grid-template-columns: 1fr;
    }

    .service-card-image {
        min-height: 300px;
    }

    .service-features {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .services-main {
        padding: 60px 0;
    }

    .services-grid {
        gap: 32px;
        margin-top: 48px;
    }

    .service-card-content {
        padding: 24px;
    }

    .service-card-title {
        font-size: 1.4rem;
    }

    .service-card-description {
        font-size: 0.95rem;
    }

    .service-features {
        font-size: 0.85rem;
    }

    .services-process {
        padding: 60px 0;
    }

    .process-step {
        gap: 20px;
    }

    .process-number {
        width: 56px;
        height: 56px;
        font-size: 1.4rem;
    }

    .process-title {
        font-size: 1.2rem;
    }

    .process-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .service-card-image {
        min-height: 250px;
    }

    .service-card-content {
        padding: 20px;
    }
}

/* ========================================
   PÁGINA PROJETOS
======================================== */
/* Projects Filters */
.projects-filters {
    padding: 60px 0 40px;
    background: var(--color-light);
    border-bottom: 1px solid rgba(28, 28, 28, 0.1);
}

.filters-wrapper {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 32px;
    border: 2px solid rgba(156, 92, 44, 0.3);
    background: transparent;
    color: rgba(28, 28, 28, 0.7);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(156, 92, 44, 0.3);
}

/* Projects Gallery */
.projects-gallery {
    padding: 80px 0 120px;
    background: var(--color-light);
}

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

.project-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    opacity: 1;
    transform: scale(1);
}

.project-card.hidden {
    display: none;
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.project-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.project-view-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 16px;
    transition: all 0.3s ease;
}

.project-card:hover .project-view-more {
    gap: 12px;
    color: var(--color-accent);
}

.project-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(14, 14, 14, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
}

.project-category {
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.project-content {
    padding: 32px;
}

.project-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 8px 0;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.project-location {
    font-size: 0.85rem;
    color: var(--color-secondary);
    font-weight: 600;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-location::before {
    content: '📍';
    font-size: 0.9rem;
}

.project-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(28, 28, 28, 0.75);
    margin: 0 0 20px 0;
}

.project-specs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(28, 28, 28, 0.1);
}

.project-specs li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: rgba(28, 28, 28, 0.7);
}

.project-specs svg {
    flex-shrink: 0;
    color: var(--color-secondary);
}

/* Responsivo Projetos */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .projects-filters {
        padding: 40px 0 30px;
    }

    .filters-wrapper {
        gap: 12px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    .projects-gallery {
        padding: 60px 0 80px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .project-image {
        height: 240px;
    }

    .project-content {
        padding: 24px;
    }

    .project-title {
        font-size: 1.2rem;
    }

    .project-description {
        font-size: 0.9rem;
    }

    .project-specs {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    .project-content {
        padding: 20px;
    }
}

/* ========================================
   PÁGINA INTERNA DE PROJETO
======================================== */
/* Project Hero */
.project-hero {
    min-height: 70vh;
    display: flex;
    align-items: flex-end;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.project-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(14, 14, 14, 0.4) 0%, rgba(14, 14, 14, 0.85) 100%);
    z-index: 1;
}

.project-hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 0;
}

.project-hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.project-hero-breadcrumb a {
    color: rgba(234, 234, 234, 0.8);
    transition: color 0.3s ease;
}

.project-hero-breadcrumb a:hover {
    color: var(--color-white);
}

.project-hero-breadcrumb span {
    color: rgba(234, 234, 234, 0.5);
}

.project-hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--color-white);
    margin: 0 0 32px 0;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.project-hero-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 1rem;
}

.project-hero-category {
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.project-hero-location,
.project-hero-year {
    color: rgba(234, 234, 234, 0.9);
    font-weight: 600;
}

/* Project Info */
.project-info {
    padding: 120px 0;
    background: var(--color-light);
}

.project-info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
}

.project-description h2 {
    margin-bottom: 32px;
}

.project-description p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(28, 28, 28, 0.85);
    margin: 0 0 24px 0;
}

.project-description h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 48px 0 24px 0;
}

.project-challenges {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-challenges li {
    padding: 20px 0;
    border-bottom: 1px solid rgba(28, 28, 28, 0.1);
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(28, 28, 28, 0.8);
}

.project-challenges li:last-child {
    border-bottom: none;
}

.project-challenges strong {
    color: var(--color-secondary);
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

/* Specs Sidebar */
.project-specs-sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.specs-card {
    background: var(--color-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.specs-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 32px 0;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--color-secondary);
}

.spec-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(28, 28, 28, 0.08);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(156, 92, 44, 0.1);
    border-radius: 12px;
    color: var(--color-secondary);
}

.spec-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spec-label {
    font-size: 0.85rem;
    color: rgba(28, 28, 28, 0.6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.spec-value {
    font-size: 1.1rem;
    color: var(--color-primary);
    font-weight: 700;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-list li {
    padding: 12px 0 12px 32px;
    position: relative;
    font-size: 0.95rem;
    color: rgba(28, 28, 28, 0.8);
    line-height: 1.6;
}

.services-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Project Gallery */
.project-gallery {
    padding: 120px 0;
    background: var(--color-primary);
}

.project-gallery .section-title {
    color: var(--color-white);
    text-align: center;
    margin-bottom: 80px;
}

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

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    z-index: 10;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(14, 14, 14, 0.9), transparent);
    color: var(--color-white);
    padding: 24px 20px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

/* Related Projects */
.related-projects {
    padding: 120px 0;
    background: var(--color-light);
}

.related-projects .section-title {
    text-align: center;
    margin-bottom: 80px;
}

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

.related-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

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

.related-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.related-card:hover .related-image img {
    transform: scale(1.1);
}

.related-category {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.related-content {
    padding: 24px;
}

.related-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 8px 0;
}

.related-content p {
    font-size: 0.85rem;
    color: rgba(28, 28, 28, 0.6);
    margin: 0 0 16px 0;
}

.related-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}

.related-link:hover {
    gap: 12px;
    color: var(--color-accent);
}

/* Responsivo Projeto Interno */
@media (max-width: 1024px) {
    .project-info-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

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

@media (max-width: 768px) {
    .project-hero {
        min-height: 50vh;
        background-attachment: scroll;
    }

    .project-hero-content {
        padding: 40px 0;
    }

    .project-hero-title {
        font-size: 2rem;
    }

    .project-hero-meta {
        gap: 16px;
        font-size: 0.9rem;
    }

    .project-info {
        padding: 60px 0;
    }

    .project-description h2 {
        font-size: 1.8rem;
    }

    .project-description h3 {
        font-size: 1.4rem;
    }

    .project-description p {
        font-size: 1rem;
    }

    .specs-card {
        padding: 32px 24px;
    }

    .spec-item {
        padding: 16px 0;
    }

    .spec-icon {
        width: 40px;
        height: 40px;
    }

    .project-gallery {
        padding: 60px 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gallery-item img {
        height: 250px;
    }

    .related-projects {
        padding: 60px 0;
    }

    .related-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .project-hero-title {
        font-size: 1.6rem;
    }

    .project-hero-breadcrumb {
        font-size: 0.8rem;
    }

    .specs-card h3 {
        font-size: 1.2rem;
    }
}

/* ========================================
   PÁGINA 404
======================================== */
.error-404 {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0;
    background: linear-gradient(135deg, var(--color-light) 0%, var(--color-white) 100%);
}

.error-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.error-icon {
    margin: 0 auto 32px;
    color: var(--color-secondary);
    opacity: 0.3;
}

.error-title {
    font-size: clamp(6rem, 15vw, 10rem);
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 16px 0;
    letter-spacing: -0.05em;
    line-height: 1;
}

.error-subtitle {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 24px 0;
    letter-spacing: -0.02em;
}

.error-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(28, 28, 28, 0.7);
    margin: 0 0 48px 0;
}

.error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .error-404 {
        min-height: 70vh;
        padding: 80px 0;
    }

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

    .error-actions .btn {
        width: 100%;
    }
}

/* ========================================
   PÁGINA CONTATO
======================================== */
/* Contact Info */
.contact-info {
    padding: 80px 0;
    background: var(--color-light);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.contact-card {
    background: var(--color-white);
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(156, 92, 44, 0.1);
    border-radius: 50%;
    color: var(--color-secondary);
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    background: var(--color-secondary);
    color: var(--color-white);
    transform: scale(1.1);
}

.contact-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 12px 0;
}

.contact-value {
    font-size: 1rem;
    color: rgba(28, 28, 28, 0.7);
    margin: 0 0 20px 0;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.contact-link:hover {
    gap: 12px;
    color: var(--color-accent);
}

/* Contact Map */
.contact-map {
    padding: 80px 0;
    background: var(--color-white);
}

.map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
}

/* Contact Form Section */
.contact-form-section {
    padding: 120px 0 80px;
    background: var(--color-white);
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-form {
    background: var(--color-light);
    padding: 60px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid rgba(28, 28, 28, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--color-white);
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(156, 92, 44, 0.1);
}

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

.contact-form .btn-primary {
    width: 100%;
    margin-top: 16px;
    padding: 16px 32px;
    font-size: 1rem;
}

/* Contact Hours */
.contact-hours {
    padding: 80px 0;
    background: var(--color-primary);
}

.hours-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    text-align: center;
}

.hours-icon {
    color: var(--color-secondary);
}

.hours-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0 0 12px 0;
}

.hours-info p {
    font-size: 1rem;
    color: rgba(234, 234, 234, 0.85);
    margin: 4px 0;
}

/* Responsivo Contato */
@media (max-width: 1024px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-info {
        padding: 60px 0;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-card {
        padding: 32px 24px;
    }

    .contact-icon {
        width: 64px;
        height: 64px;
    }

    .contact-title {
        font-size: 1.1rem;
    }

    .contact-map {
        padding: 60px 0;
    }

    .map-wrapper iframe {
        height: 300px;
    }

    .contact-form-section {
        padding: 80px 0 60px;
    }

    .contact-form-header {
        margin-bottom: 40px;
    }

    .contact-form {
        padding: 40px 24px;
    }

    .form-group label {
        font-size: 0.85rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    .contact-hours {
        padding: 60px 0;
    }

    .hours-content {
        flex-direction: column;
        gap: 24px;
    }

    .hours-info h3 {
        font-size: 1.3rem;
    }

    .hours-info p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 32px 20px;
    }

    .contact-form .btn-primary {
        padding: 14px 24px;
    }
}

/* ========================================
   RESPONSIVIDADE GLOBAL
======================================== */
@media (max-width: 480px) {
    .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
        width: 100%;
    }

    .hero-actions,
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn,
    .cta-actions .btn {
        width: 100%;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle,
    .section-description {
        font-size: 0.95rem;
    }
}

/* ========================================
   REDUCED MOTION
======================================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}