/* Reset e Variáveis CORRIGIDAS baseadas no index.css original */
:root {
    /* Blue, white and beige palette - CORRIGIDO */
    --background: hsl(45, 30%, 97%);      /* #f9f7f2 */
    --foreground: hsl(210, 50%, 20%);     /* #1a365d */

    --card: hsl(45, 25%, 95%);           /* #f5f3eb */
    --card-foreground: hsl(210, 50%, 20%);

    --popover: hsl(45, 30%, 97%);
    --popover-foreground: hsl(210, 50%, 20%);

    /* Deep navy blue primary - CORRIGIDO */
    --primary: hsl(210, 60%, 30%);        /* #1e3a8a */
    --primary-foreground: hsl(0, 0%, 100%);

    /* Warm beige secondary - CORRIGIDO */
    --secondary: hsl(40, 35%, 90%);       /* #f4f0e6 */
    --secondary-foreground: hsl(210, 50%, 20%);

    --muted: hsl(40, 25%, 92%);          /* #f7f4ef */
    --muted-foreground: hsl(210, 30%, 45%); /* #4a6579 */

    /* Elegant blue accent - CORRIGIDO */
    --accent: hsl(0deg 0% 0%);        /* #2d7dd2 */
    --accent-foreground: hsl(0, 0%, 100%);

    --destructive: hsl(0, 84%, 60%);
    --destructive-foreground: hsl(0, 0%, 100%);

    --border: hsl(40, 20%, 85%);         /* #e8e0d1 */
    --input: hsl(40, 20%, 85%);
    --ring: hsl(210, 70%, 45%);          /* #2d7dd2 */

    --radius: 0.25rem;

    /* Custom properties */
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Shadows - CORRIGIDAS */
    --shadow-soft: 0 4px 20px -4px hsla(210, 50%, 20%, 0.08);
    --shadow-medium: 0 8px 30px -8px hsla(210, 50%, 20%, 0.12);
    --shadow-strong: 0 20px 50px -12px hsla(210, 50%, 20%, 0.18);

    /* Gradients - CORRIGIDOS */
    --gradient-hero: linear-gradient(135deg, hsl(0deg 0% 0% / 79%) 0%, hsl(0deg 0% 0%) 100%);
    --gradient-gold: linear-gradient(135deg, hsl(210, 70%, 45%) 0%, hsl(200, 60%, 55%) 100%);
    --gradient-subtle: linear-gradient(180deg, hsl(45, 30%, 97%) 0%, hsl(40, 25%, 93%) 100%);

    --foreground-hsl: 210, 50%, 20%;
    --primary-foreground-hsl: 0, 0%, 100%;
    --background-hsl: 45, 30%, 97%;
    --accent-hsl: 210, 70%, 45%;

    --container-padding:0 15px;
}

/* Dark theme - CORRIGIDO */
/*.dark-mode {
    --foreground: hsl(45, 30%, 95%);

    --card: hsl(210, 40%, 12%);
    --card-foreground: hsl(45, 30%, 95%);

    --popover: hsl(210, 40%, 8%);
    --popover-foreground: hsl(45, 30%, 95%);

    --primary: hsl(45, 30%, 95%);
    --primary-foreground: hsl(210, 40%, 10%);

    --secondary: hsl(210, 30%, 18%);
    --secondary-foreground: hsl(45, 30%, 95%);

    --muted: hsl(210, 30%, 18%);
    --muted-foreground: hsl(40, 20%, 60%);

    --accent: hsl(210, 70%, 55%);
    --accent-foreground: hsl(210, 40%, 10%);

    --destructive: hsl(0, 63%, 31%);
    --destructive-foreground: hsl(0, 0%, 100%);

    --border: hsl(210, 30%, 20%);
    --input: hsl(210, 30%, 20%);
    --ring: hsl(210, 70%, 55%);
}*/

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--foreground);
    background: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.5s ease;
    background: hsla(var(--background-hsl), 0.95);
    padding: 1.5rem 0;
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
    padding: 1rem 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    text-decoration: none;
    max-width: 60vw;
}

@media (min-width: 768px) {
    .logo{
        max-width: 15vw;
    }
}

.logo-gradient {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.nav-desktop {
    display: none;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(26, 26, 26, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Mobile Menu */
.menu-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--foreground);
    cursor: pointer;
    padding: 0.5rem;
}

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

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-medium);
    animation: fadeIn 0.3s ease;
}

.mobile-nav {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    font-family: var(--font-body);
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(26, 26, 26, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.75rem;
}

.btn-lg {
    padding: 0.875rem 2.5rem;
    font-size: 1rem;
}

.btn-hero {
    background: var(--accent);
    color: var(--accent-foreground);
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.btn-hero-outline {
    background: transparent;
    color: var(--primary-foreground);
    border: 2px solid var(--primary-foreground);
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.btn-hero:hover, .btn-hero-outline:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    animation: fadeUp 0.8s ease;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
}

.hero-description {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator-inner {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 0.75rem;
    display: flex;
    justify-content: center;
}

.scroll-indicator-inner::after {
    content: '';
    width: 0.25rem;
    height: 0.75rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 0.125rem;
    margin-top: 0.5rem;
    animation: pulse 1.5s infinite;
}

/* About Section */
.about-section {
    padding: 0;
    background: var(--accent);
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 300;
    color: var(--accent);
    line-height: 1.2;
    margin-bottom: 2rem;
}

.about-section .section-subtitle, .about-section .section-title{
    color: var(--accent-foreground);
}

.about-grid {
    display: grid;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }
}

.about-text {
    margin-bottom: 2rem;
}

.about-text p {
    font-family: var(--font-body);
    color: var(--accent-foreground);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.badge {
    padding: 0.5rem 1rem;
    background: var(--secondary);
    color: var(--secondary-foreground);
    font-family: var(--font-body);
    font-size: 0.875rem;
    border-radius: 9999px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--card);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.3s ease;
}

.stat-card:hover {
    box-shadow: var(--shadow-medium);
}

.stat-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: var(--background);
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-description {
    font-family: var(--font-body);
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

/* Contact Form */
.contact-form-container {
    background: var(--card);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

@media (min-width: 768px) {
    .contact-form-container {
        padding: 2.5rem;
    }
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.form-input,
.form-textarea {
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
}

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

/* Contact Info */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
}

.info-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    color: var(--accent);
    font-size: 1.25rem;
}

.info-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.info-text {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.4;
}

/* Map Placeholder */
.map-placeholder {
    background: var(--muted);
    aspect-ratio: 16/9;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.map-icon {
    font-size: 3rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.map-text {
    font-family: var(--font-body);
    color: var(--muted-foreground);
    text-align: center;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 3rem;
    height: 3rem;
    background: var(--card);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--foreground);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent);
    color: var(--accent-foreground);
}

/* Footer */
.main-footer {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-section h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-foreground);
}

.footer-contact p {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-bottom p {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Projects Section */
.projects-section {
    padding: 6rem 0;
    background: var(--background);
}

.projects-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.project-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-card:hover .project-title {
    color: var(--accent);
}

.project-image-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.project-image {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0);
    transition: background-color 0.5s ease;
}

.project-card:hover .project-overlay {
    background: rgba(26, 26, 26, 0.2);
}

.project-hover-button {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    transform: translateY(1rem);
    opacity: 0;
    transition: all 0.5s ease;
}

.project-card:hover .project-hover-button {
    transform: translateY(0);
    opacity: 1;
}

.project-meta {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.project-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.project-description {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background: var(--accent);
}

.services-section .section-subtitle, .services-section .section-title, .services-section .section-description{
    color: var(--accent-foreground);
}

.services-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    background: var(--card);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: background-color 0.3s ease;
}

.service-card:hover .service-icon {
    background: rgba(212, 175, 55, 0.2);
}

.service-icon i {
    font-size: 1.75rem;
    color: var(--accent);
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.service-description {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Section Header (reutilizável) */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-description {
    font-family: var(--font-body);
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Outline Button */
.btn-outline {
    background: transparent;
    color: var(--foreground);
    border: 2px solid var(--border);
}

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

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

/* Logo Gradient - CORRIGIDO */
.logo-gradient {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
}

/* Hero Section - CORRIGIDO */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white; /* Texto branco no hero */
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.8;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

#main-header a{
    text-decoration: none;
}

/* Buttons - CORRIGIDOS */
.btn-hero {
    background: var(--accent);
    color: var(--accent-foreground);
    border: 2px solid transparent;
}

.btn-hero-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Botão de Tema */
.theme-toggle {
    background: none;
    border: none;
    color: var(--foreground);
    cursor: pointer;
    padding: 0.5rem;
    margin-left: 1rem;
    font-size: 1.25rem;
}

/* Footer - CORRIGIDO */
.main-footer {
    background: var(--primary);
    color: var(--primary-foreground);
}

.footer-link {
    color: hsla(0, 0%, 100%, 0.7);
}

.footer-link:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid hsla(0, 0%, 100%, 0.2);
}

/* Badges - CORRIGIDOS */
.badge {
    background: var(--secondary);
    color: var(--secondary-foreground);
    font-family: var(--font-body);
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    display: inline-block;
}

/* Formulário - CORRIGIDO */
.form-input,
.form-textarea {
    background: var(--background);
    border: 1px solid var(--border);
    color: var(--foreground);
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px hsla(210, 70%, 45%, 0.1);
}

/* Map Placeholder - CORRIGIDO */
.map-placeholder {
    background: var(--muted);
    color: var(--muted-foreground);
}

/* Social Links - CORRIGIDOS */
.social-link {
    background: var(--card);
    color: var(--foreground);
}

.social-link:hover {
    background: var(--accent);
    color: var(--accent-foreground);
}

/* Project Card - CORRIGIDO */
.project-meta {
    color: var(--accent);
}

.project-card:hover .project-title {
    color: var(--accent);
}

/* Service Card - CORRIGIDO */
.service-icon {
    background: hsla(210, 70%, 45%, 0.1); /* accent com 10% de opacidade */
}

.service-icon i {
    color: var(--accent);
}

.service-card:hover .service-icon {
    background: hsla(210, 70%, 45%, 0.2); /* accent com 20% de opacidade */
}

.bg-background { background: var(--background); color: var(--foreground); border: 1px solid #ccc; }
.bg-foreground { background: var(--foreground); }
.bg-primary { background: var(--primary); }
.bg-accent { background: var(--accent); }
.bg-secondary { background: var(--secondary); color: var(--foreground); border: 1px solid #ccc; }


/* Header Styles - CORRIGIDO E COMPLETO */
#main-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: hsla(var(--background-hsl), 0.95);
}

#main-header.scrolled {
    background: hsla(var(--background-hsl), 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
}

/* Transição do padding */
#main-header,
#main-header.scrolled {
    transition-property: background-color, backdrop-filter, box-shadow, padding;
    transition-duration: 0.5s;
}

/* Menu Mobile - CORRIGIDO */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: hsla(var(--background-hsl), 0.98);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-medium);
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animações de entrada */
.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-fade-up {
    animation: fadeUp 0.8s ease-out;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator-inner {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 0.75rem;
    position: relative;
}

.scroll-indicator-inner::after {
    content: '';
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0.25rem;
    height: 0.75rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 0.125rem;
    animation: pulse 1.5s infinite;
}

/* Group Hover Effects para Projetos */
.project-card {
    position: relative;
    overflow: hidden;
}

.project-image-container {
    position: relative;
    overflow: hidden;
}

.project-card .project-image {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    transition: background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-overlay {
    background: hsla(var(--foreground-hsl), 0.2);
}

.project-hover-button {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    transform: translateY(1rem);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-hover-button {
    transform: translateY(0);
    opacity: 1;
}

.project-card .project-title {
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-title {
    color: var(--accent);
}

/* Service Cards hover */
.service-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.service-icon {
    transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
    background: hsla(var(--accent-hsl), 0.2);
}

/* Stats Cards */
.stat-card .stat-icon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Ajuste para scroll suave com header fixo */
section {
    scroll-margin-top: 80px;
}

/* Botão Hamburguer - ESTILO CORRETO */
.menu-toggle {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    color: var(--foreground);
    transition: all 0.3s ease;
    border-radius: 4px;
    position: relative;
    z-index: 1001; /* Acima do menu */
}

.menu-toggle:hover {
    background: hsla(var(--foreground-hsl), 0.05);
}

.menu-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px hsla(var(--accent-hsl), 0.3);
}

.menu-toggle i {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.menu-toggle.active i {
    transform: rotate(90deg);
}

/* Botão de tema (se houver) */
.theme-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--foreground);
    font-size: 1.25rem;
    margin-left: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: hsla(var(--foreground-hsl), 0.05);
}

/* Mobile First Adjustments */
@media (max-width: 767px) {
    /* Ajustes gerais para mobile */
    .hero-section .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .section-header,
    .about-section .container,
    .projects-section .container,
    .services-section .container,
    .contact-section .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    /* Hero Section mobile */
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 1rem;
    }

    /* About Section mobile */
    .about-grid {
        gap: 3rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    /* Projects Section mobile */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .project-image-container {
        margin-bottom: 1rem;
    }

    /* Services Section mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    /* Contact Section mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Footer mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    /* Form mobile */
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }

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

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

    .contact-grid {
        gap: 3rem;
    }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    .container {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}
