/* ============================================
   OBJETIVA CRIATIVA - DESIGN COMPLETAMENTE NOVO
   Versão 3.0 - Design Único e Moderno
   ============================================ */

:root {
    --primary: #000000;
    --primary-light: #1a1a1a;
    --accent: #ff6b35;
    --accent-hover: #ff8c5a;
    --text: #2d2d2d;
    --text-light: #6b6b6b;
    --bg: #ffffff;
    --bg-light: #fafafa;
    --bg-dark: #0a0a0a;
    --border: #e8e8e8;
    --shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 14px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* ============================================
   NAVIGATION - Minimalista e Moderna
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
    padding: 0;
    transform: translateY(0);
}

.navbar.scrolled {
    box-shadow: var(--shadow);
    background: rgba(255, 255, 255, 0.98);
    padding: 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
}

@media (max-width: 768px) {
    .nav-wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
}

.logo:hover {
    opacity: 0.85;
    transform: scale(1.05);
}

.logo img {
    height: 55px;
    width: 55px;
    object-fit: contain;
    display: block;
    border-radius: 50%;
}

.logo span {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 50px;
    align-items: center;
}

.nav-menu a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

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

.nav-menu a:hover::after {
    width: 100%;
}

/* Botão Área do Cliente no Menu - Estilo Muito Discreto */
.nav-client-area {
    margin-left: 10px;
}

.nav-client-area .btn-client-area {
    background: none;
    color: var(--text) !important;
    padding: 0;
    border: none;
    border-radius: 0;
    font-weight: 400;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
    box-shadow: none;
}

.nav-client-area .btn-client-area::after {
    display: block;
}

.nav-client-area .btn-client-area:hover {
    background: none;
    color: var(--accent) !important;
    border: none;
    transform: none;
    box-shadow: none;
}

.nav-client-area .btn-client-area i {
    font-size: 0.75rem;
    opacity: 0.7;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    display: block;
}
    
    /* Estado ativo do hamburger (em conjunto com JS) */
    .mobile-menu-toggle.active span {
        background: white;
    }

/* ============================================
   HERO SECTION - Impactante e Moderno
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-dark);
    color: white;
    margin: 0;
    padding: 0;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.4);
    transform: scale(1.1);
    transition: transform 20s ease-out, filter 0.3s ease;
    animation: fadeIn 1s ease;
}

.hero-slide.active .hero-image {
    filter: brightness(0.4);
}

.hero-slide.active:hover .hero-image {
    filter: brightness(0.5);
}

.hero-slide.active .hero-image {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
}

/* Legenda do slide no canto inferior esquerdo - Apenas texto */
.hero-slide-caption {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 4;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    max-width: 400px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-slide-caption::before,
.hero-slide-caption::after {
    display: none !important;
    content: none !important;
}

.hero-slide.active .hero-slide-caption {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide-caption-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-slide-caption-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
    line-height: 1.5;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 100px 0 60px;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -2.5px;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    margin-bottom: 15px;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease;
}

.hero-description {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    max-width: 650px;
    margin: 0 auto 50px;
    opacity: 0.85;
    line-height: 1.7;
    font-weight: 300;
    animation: fadeInUp 1.2s ease;
}

/* ============================================
   METRICS
   ============================================ */

.hero-single {
    position: relative;
    width: 100%;
    height: 100vh;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* ============================================
   BUTTONS - Minimalistas
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 35px;
    border: 2px solid var(--accent);
    border-radius: 0;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    background: transparent;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn:hover {
    color: white;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

.btn:hover::before {
    left: 0;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

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

.btn-primary::before {
    background: var(--accent-hover);
}

.btn-large {
    padding: 16px 50px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

/* ============================================
   SECTIONS
   ============================================ */
section {
    padding: 80px 0;
    position: relative;
}

section.hero {
    padding: 0;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 20px auto 0;
    line-height: 1.7;
    font-weight: 300;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: var(--bg-light);
    position: relative;
}

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

/* Se não houver imagem, o texto ocupa toda a largura */
.about-content:only-child .about-text {
    grid-column: 1 / -1;
}

/* Ordem: texto à esquerda, imagem à direita */
.about-text {
    order: 1;
}

.about-image {
    order: 2;
}

.about-image {
    animation: slideInLeft 0.8s ease;
}

.about-text {
    animation: slideInRight 0.8s ease;
}

.about-image {
    position: relative;
    overflow: hidden;
}

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

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

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
    font-weight: 300;
}

.content-text {
    white-space: pre-line;
}

.about-text p {
    margin-bottom: 20px;
}

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

/* ============================================
   SERVICES SECTION - Grid Moderno
   ============================================ */
.services {
    background: var(--bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    padding: 45px 35px;
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease backwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover), var(--accent));
    background-size: 200% 100%;
    transform: scaleX(0);
    transition: transform 0.4s ease;
    animation: gradient 3s ease infinite;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-hover);
    transform: translateY(-10px);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    color: var(--accent);
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
    animation: pulse 1s ease infinite;
}

.service-card:hover .service-icon::before {
    opacity: 0.3;
    transform: scale(1.3);
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.service-description {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
    font-weight: 300;
}

/* ============================================
   PORTFOLIO SECTION - Galeria Minimalista
   ============================================ */
.portfolio {
    background: var(--bg-light);
    padding: 80px 0;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: transparent;
    border: 2px solid var(--border);
    border-radius: 0;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    z-index: 0;
}

.filter-btn:hover {
    color: white;
    border-color: var(--primary);
}

.filter-btn:hover::before {
    transform: scaleY(1);
}

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

.filter-btn.active::before {
    display: none;
}

.filter-btn span {
    position: relative;
    z-index: 1;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 35px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    background: white;
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
    aspect-ratio: 4/3;
    animation: fadeInUp 0.6s ease backwards;
}

.portfolio-item:nth-child(1) { animation-delay: 0.05s; }
.portfolio-item:nth-child(2) { animation-delay: 0.1s; }
.portfolio-item:nth-child(3) { animation-delay: 0.15s; }
.portfolio-item:nth-child(4) { animation-delay: 0.2s; }
.portfolio-item:nth-child(5) { animation-delay: 0.25s; }
.portfolio-item:nth-child(6) { animation-delay: 0.3s; }
.portfolio-item:nth-child(7) { animation-delay: 0.35s; }
.portfolio-item:nth-child(8) { animation-delay: 0.4s; }

.portfolio-item.hidden {
    display: none;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0;
}

.portfolio-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.15) rotate(2deg);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 150;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    text-align: center;
    color: white;
    padding: 40px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-info h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-info p {
    margin-bottom: 30px;
    opacity: 0.9;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 300;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 30px;
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 0;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.portfolio-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.portfolio-link i {
    font-size: 1.1rem;
}

.portfolio-category {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    background: #000000 !important;
    color: #ffffff !important;
    padding: 8px 16px !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    z-index: 999 !important;
    white-space: nowrap !important;
    display: inline-block !important;
    line-height: 1.5 !important;
    box-sizing: border-box !important;
    pointer-events: none !important;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    visibility: visible !important;
    opacity: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-title {
    color: white;
    margin-top: 30px;
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 2px solid white;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: transparent;
    border: 2px solid white;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--accent);
    border-color: var(--accent);
}

/* ============================================
   CONTACT SECTION - Fundo Escuro
   ============================================ */
.contact {
    background: var(--bg-dark);
    color: white;
    position: relative;
}

.contact .section-title {
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    background: var(--accent-hover);
}

.contact-item h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item a,
.contact-item p {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1.05rem;
    transition: var(--transition);
    font-weight: 300;
}

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

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    transition: left 0.3s ease;
    z-index: -1;
}

.social-link:hover {
    border-color: var(--accent);
    transform: translateY(-5px) rotate(5deg);
}

.social-link:hover::before {
    left: 0;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    padding: 45px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.form-alert {
    display: none;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 18px;
    border: 1px solid transparent;
}

.form-alert--success {
    display: block;
    background: #ecfdf3;
    color: #166534;
    border-color: #86efac;
}

.form-alert--error {
    display: block;
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px 25px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    transition: var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 200px;
}

/* ============================================
   FOOTER - Minimalista
   ============================================ */
.footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 35px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 45px;
    margin-bottom: 45px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 30px;
    filter: brightness(0) invert(1);
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 15px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 300;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    font-weight: 300;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

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

.fade-in {
    animation: fadeInUp 0.6s ease;
}

/* Animação de scroll - elementos aparecem */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Efeito parallax suave */
.parallax {
    transition: transform 0.3s ease-out;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center {
    text-align: center;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 24px 40px;
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 0;
        z-index: 1000;
        overflow-y: auto;
        border-right: none;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    /* Overlay quando menu está aberto */
    body.menu-open {
        overflow: hidden;
    }
    
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        z-index: 999;
        animation: fadeIn 0.3s ease forwards;
    }
    
    .nav-menu li {
        list-style: none;
        width: 100%;
        margin: 0;
        padding: 0;
        display: block;
    }
    
    .nav-menu a {
        font-size: 1.05rem;
        padding: 18px 30px;
        color: rgba(255, 255, 255, 0.9);
        display: block;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        font-weight: 600;
        position: relative;
        transition: all 0.3s ease;
        border-left: 3px solid transparent;
        background: rgba(255, 255, 255, 0.02);
        width: 100%;
    }
    
    .nav-menu a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 3px;
        background: var(--accent);
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }
    
    .nav-menu a:hover,
    .nav-menu a:focus {
        color: var(--accent);
        background: rgba(255, 107, 53, 0.12);
        padding-left: 35px;
        border-left-color: var(--accent);
        text-decoration: none;
    }
    
    .nav-menu a:hover::before,
    .nav-menu a:focus::before {
        transform: scaleY(1);
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    /* Botão Área do Cliente no Menu Mobile */
    .nav-client-area {
        margin-left: 0;
        margin-top: 10px;
        padding: 10px 30px;
    }
    
    .nav-client-area {
        margin-left: 0;
        margin-top: 5px;
    }
    
    .nav-client-area .btn-client-area {
        justify-content: flex-start;
        width: 100%;
        padding: 18px 30px;
        font-size: 1.05rem;
        border-left: 3px solid transparent;
        background: rgba(255, 255, 255, 0.02);
    }
    
    .nav-client-area .btn-client-area::after {
        display: none;
    }
    
    /* Hamburger animation */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
        width: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .mobile-menu-toggle span {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 60px 0;
    }
    
    .contact-form-wrapper {
        padding: 35px 25px;
    }
    
    .container {
        padding: 0 20px;
    }
}

/* Mobile Medium (481px - 768px) */
@media (max-width: 768px) and (min-width: 481px) {
    .hero-content {
        padding: 90px 0 50px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        margin-bottom: 12px;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .about-content {
        gap: 40px;
    }
    
    .services-grid {
        gap: 25px;
    }
    
    .service-card {
        padding: 35px 28px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .service-title {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .portfolio-grid {
        gap: 20px;
    }
    
    .contact-form-wrapper {
        padding: 30px 22px;
    }
}

/* Mobile Small (up to 480px) */
@media (max-width: 480px) {
    html {
        font-size: 13px;
    }
    
    .container {
        padding: 0 18px;
    }
    
    .nav-wrapper {
        padding: 12px 18px;
    }
    
    .logo img {
        height: 45px;
        width: 45px;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .mobile-menu-toggle {
        padding: 6px;
    }
    
    .mobile-menu-toggle span {
        width: 22px;
    }
    
    .nav-menu {
        padding: 90px 0 30px;
        width: 100vw;
        max-width: none;
    }
    
    .nav-menu a {
        font-size: 0.95rem;
        padding: 16px 25px;
        letter-spacing: 1.2px;
    }
    
    .nav-menu a:hover,
    .nav-menu a:focus {
        padding-left: 30px;
    }
    
    /* Hero Section */
    .hero {
        min-height: 100vh;
        height: 100vh;
        max-height: 100vh;
    }
    
    .hero-content {
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
        margin-bottom: 18px;
        letter-spacing: -1.5px;
        line-height: 1.15;
    }
    
    .hero-subtitle {
        font-size: clamp(0.95rem, 3.5vw, 1.2rem);
        margin-bottom: 12px;
        letter-spacing: 1px;
    }
    
    .hero-description {
        font-size: clamp(0.85rem, 2.2vw, 0.95rem);
        max-width: 100%;
        margin: 0 auto 35px;
        padding: 0 10px;
        line-height: 1.6;
    }
    
    /* Legenda do slide - Mobile */
    .hero-slide-caption {
        bottom: 20px;
        left: 20px;
        right: 20px;
        max-width: none;
        padding: 0;
    }
    
    .hero-slide-caption-title {
        font-size: 0.95rem;
    }
    
    .hero-slide-caption-subtitle {
        font-size: 0.8rem;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 28px;
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
    
    .btn-large {
        padding: 14px 35px;
        font-size: 0.85rem;
    }
    
    /* Sections */
    section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 35px;
    }
    
    .section-title {
        font-size: clamp(1.6rem, 6.5vw, 2.2rem);
        margin-bottom: 10px;
        letter-spacing: -1px;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin: 15px auto 0;
        padding: 0 10px;
        line-height: 1.6;
    }
    
    /* About Section */
    .about-content {
        gap: 30px;
    }
    
    .about-text {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .about-text p {
        margin-bottom: 16px;
    }
    
    /* Services */
    .services-grid {
        gap: 20px;
        margin-top: 35px;
    }
    
    .service-card {
        padding: 30px 22px;
    }
    
    .service-icon {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
        margin-bottom: 18px;
    }
    
    .service-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .service-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* Portfolio */
    .portfolio-grid {
        gap: 18px;
        margin-top: 30px;
    }
    
    .portfolio-item {
        aspect-ratio: 4/3;
    }
    
    .portfolio-overlay {
        padding: 20px;
    }
    
    .portfolio-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .portfolio-category {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
    
    /* Filter Buttons */
    .filter-buttons {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
        letter-spacing: 0.5px;
    }
    
    /* Contact Section */
    .contact-content {
        gap: 35px;
    }
    
    .contact-info {
        gap: 25px;
    }
    
    .contact-item h4 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .contact-item p {
        font-size: 0.9rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .contact-form-wrapper {
        padding: 25px 18px;
    }
    
    .form-group {
        margin-bottom: 18px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .form-group textarea {
        min-height: 120px;
    }
    
    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }
    
    .social-links {
        gap: 15px;
        margin-top: 20px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }
    
    /* Footer */
    .footer {
        padding: 35px 0;
        font-size: 0.85rem;
    }
}

/* Very Small Mobile (up to 360px) */
@media (max-width: 360px) {
    html {
        font-size: 12px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .nav-wrapper {
        padding: 10px 15px;
    }
    
    .logo img {
        height: 40px;
        width: 40px;
    }
    
    .hero-content {
        padding: 70px 0 35px;
    }
    
    .hero-title {
        font-size: clamp(1.6rem, 7.5vw, 2.4rem);
        margin-bottom: 15px;
    }
    
    .hero-description {
        margin-bottom: 30px;
        padding: 0 8px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: clamp(1.4rem, 6vw, 2rem);
    }
    
    .service-card {
        padding: 25px 18px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
    
    .contact-form-wrapper {
        padding: 22px 15px;
    }
    
    .btn {
        padding: 10px 24px;
        font-size: 0.75rem;
    }
}

/* Landscape Orientation on Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        height: auto;
        padding: 80px 0 40px;
    }
    
    .hero-content {
        padding: 70px 0 40px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
        margin-bottom: 15px;
    }
    
    .hero-description {
        margin-bottom: 25px;
    }
    
    section {
        padding: 50px 0;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
    }
    
    .filter-btn {
        min-height: 40px;
    }
    
    .nav-menu a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .contact-item {
        min-height: 44px;
    }
    
    .form-group input,
    .form-group textarea {
        min-height: 44px;
    }
}
