/* ===== BARBERSHOP THEME CSS ===== */

/* CSS Reset e Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #0d0d0d;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: clamp(1.5rem, 4vw, 2rem); }
h4 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

p {
    margin-bottom: 1rem;
    color: #e0e0e0;
    line-height: 1.7;
}

a {
    color: #d4af37;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover,
a:focus {
    color: #f4d03f;
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* Color Variables */
:root {
    --primary-gold: #d4af37;
    --secondary-gold: #f4d03f;
    --dark-brown: #2c1810;
    --medium-brown: #4a2c17;
    --light-brown: #8b4513;
    --black: #0d0d0d;
    --dark-gray: #1a1a1a;
    --medium-gray: #333333;
    --light-gray: #666666;
    --white: #ffffff;
    --cream: #f5f5dc;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
    color: var(--black);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    color: var(--black);
}

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

.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--primary-gold);
    color: var(--black);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-gold);
    transition: all 0.3s ease;
}

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

.header-logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo {
    font-family: 'Oswald', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin: 0;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--white);
    letter-spacing: 3px;
    margin-top: -0.25rem;
    text-transform: uppercase;
}

/* ===== NAVEGAÇÃO DESKTOP ===== */
.nav-desktop {
    display: block;
}

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

.nav-desktop .nav-list a {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.nav-desktop .nav-list a:not(.btn-primary):hover,
.nav-desktop .nav-list a:not(.btn-primary):focus {
    color: var(--primary-gold);
}

.nav-desktop .nav-list a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-desktop .nav-list a:not(.btn-primary):hover::after,
.nav-desktop .nav-list a:not(.btn-primary):focus::after {
    width: 100%;
}

/* ===== NAVEGAÇÃO MOBILE ===== */
.nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-brown) 100%);
    backdrop-filter: blur(20px);
    padding: 6rem 0 2rem;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-left: 3px solid var(--primary-gold);
    z-index: 999;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
}

.nav-mobile.active {
    right: 0;
}

.nav-mobile .nav-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    list-style: none;
    padding: 0 2rem;
}

.nav-mobile .nav-list li {
    width: 100%;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.nav-mobile .nav-list li:last-child {
    border-bottom: none;
    margin-top: 1rem;
}

.nav-mobile .nav-list a {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 500;
    width: 100%;
    padding: 1.25rem 0;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-mobile .nav-list a:hover,
.nav-mobile .nav-list a:focus {
    color: var(--primary-gold);
    padding-left: 1rem;
    background: rgba(212, 175, 55, 0.1);
}

.nav-mobile .nav-list a i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
    color: var(--primary-gold);
}

.nav-mobile .nav-list a.btn-mobile {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
    color: var(--black);
    border-radius: 0.75rem;
    margin-top: 0.5rem;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    justify-content: center;
}

.nav-mobile .nav-list a.btn-mobile:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    padding-left: 1rem;
    background: linear-gradient(135deg, var(--secondary-gold) 0%, var(--primary-gold) 100%);
}

.nav-mobile .nav-list a.btn-mobile i {
    color: var(--black);
}

/* ===== BOTÃO HAMBÚRGUER ===== */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2.5rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    z-index: 1001;
    transition: all 0.3s ease;
    border-radius: 0.25rem;
}

.menu-toggle:hover {
    background: rgba(212, 175, 55, 0.1);
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: var(--primary-gold);
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: var(--primary-gold);
}

/* ===== BACKDROP ===== */
.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* ===== MEDIA QUERIES ===== */
@media (min-width: 769px) {
    .nav-desktop {
        display: block !important;
    }

    .nav-mobile {
        display: none !important;
    }

    .menu-toggle {
        display: none !important;
    }

    .backdrop {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none !important;
    }

    .menu-toggle {
        display: flex !important;
    }

    .nav-mobile {
        display: block;
    }
}

@media (max-width: 480px) {
    .nav-mobile {
        width: 100%;
        right: -100%;
    }

    .nav-mobile.active {
        right: 0;
    }
}

/* Main Content */
main {
    padding-top: 90px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--black);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.8) 0%, rgba(44, 24, 16, 0.9) 100%),
                url('https://images.unsplash.com/photo-1585747860715-2ba37e788b70?w=1920&h=1080&fit=crop') center/cover;
    z-index: 1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(13, 13, 13, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    margin-bottom: 2.5rem;
    color: var(--cream);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-info {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-gold);
    font-weight: 500;
}

.hero-info-item i {
    font-size: 1.2rem;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    margin-bottom: 1rem;
    position: relative;
    color: var(--primary-gold);
    font-weight: 700;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--secondary-gold));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--light-gray);
    font-style: italic;
}

/* Services Section */
.services {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--dark-brown) 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

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

.service-card {
    background: rgba(26, 26, 26, 0.9);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card.featured {
    border-color: var(--primary-gold);
    transform: scale(1.05);
}

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-gold);
    color: var(--black);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

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

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.service-description {
    margin-bottom: 1.5rem;
    color: var(--light-gray);
    line-height: 1.6;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    padding: 0.75rem 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 0.5rem;
    display: inline-block;
    margin-bottom: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
    margin-top: 1rem;
}

.service-features span {
    color: var(--cream);
    font-size: 0.9rem;
    padding-left: 0.5rem;
}

.services-cta {
    text-align: center;
    margin-top: 4rem;
}

/* Gallery Section */
.gallery {
    padding: 8rem 0;
    background: var(--black);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 1;
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

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

.gallery-overlay h4 {
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.gallery-overlay p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--cream);
}

/* About Section */
.about {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--dark-brown) 0%, var(--medium-brown) 100%);
}

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

.about-description p {
    margin-bottom: 1.5rem;
    color: var(--cream);
    line-height: 1.7;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.feature-item h4 {
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-item p {
    color: var(--light-gray);
    margin: 0;
}

.about-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.about-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
}

.about-stats {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-gold);
    font-family: 'Oswald', serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--cream);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--black) 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 2rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 1rem;
    border: 2px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}

.contact-icon {
    font-size: 1.8rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
    color: var(--primary-gold);
}

.contact-details h3 {
    color: var(--primary-gold);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.contact-details p {
    margin: 0 0 1rem 0;
    color: var(--cream);
    line-height: 1.6;
}

.contact-details a {
    color: var(--white);
    font-weight: 500;
}

.contact-details a:hover {
    color: var(--primary-gold);
}

/* Form Styles */
.contact-form {
    background: rgba(26, 26, 26, 0.9);
    padding: 3rem;
    border-radius: 1.5rem;
    border: 2px solid rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--secondary-gold), var(--primary-gold));
    background-size: 200% 100%;
    animation: shimmer 2s ease-in-out infinite;
}

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

.form-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-gold);
    font-size: 1.75rem;
    font-weight: 600;
    font-family: 'Oswald', serif;
    letter-spacing: 1px;
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 0.75rem;
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--light-gray);
    transition: all 0.3s ease;
}

.form-input:focus::placeholder,
.form-textarea:focus::placeholder {
    color: var(--medium-gray);
    transform: translateY(-2px);
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
    font-family: inherit;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23d4af37' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    background-size: 1.2em;
    padding-right: 3rem;
    cursor: pointer;
}

.form-select:required:invalid {
    color: var(--light-gray);
}

.form-select option {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 0.5rem;
}

.form-select option:checked {
    background-color: var(--primary-gold);
    color: var(--black);
}

.form-group:focus-within .form-label {
    color: var(--secondary-gold);
    transform: translateY(-2px);
}

.form-submit {
    width: 100%;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
    color: var(--black);
    border: none;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.form-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.form-submit:hover::before {
    left: 100%;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
}

.form-submit:active {
    transform: translateY(-1px);
}

.form-error {
    display: block;
    color: #ff6b6b;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    min-height: 1.25rem;
    font-weight: 500;
}

.form-group {
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease forwards;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }

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

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    color: var(--black);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.cta-subtitle {
    color: var(--dark-brown);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta .btn-primary {
    background: var(--black);
    color: var(--primary-gold);
    border: 2px solid var(--black);
}

.cta .btn-primary:hover {
    background: var(--dark-gray);
    color: var(--secondary-gold);
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: var(--black);
    padding: 4rem 0 2rem;
    border-top: 2px solid var(--primary-gold);
}

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

.footer-logo h3 {
    font-family: 'Oswald', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin: 0;
    letter-spacing: 2px;
}

.footer-logo span {
    font-size: 0.75rem;
    color: var(--white);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.footer-subtitle {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-description {
    color: var(--light-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.footer-list li {
    margin-bottom: 0.75rem;
    color: var(--light-gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-list a {
    color: var(--light-gray);
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: var(--primary-gold);
}

.footer-list i {
    color: var(--primary-gold);
    width: 16px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    color: var(--primary-gold);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-gold);
    color: var(--black);
    transform: translateY(-2px);
    border-color: var(--primary-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--light-gray);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 65px;
    height: 65px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    border: 3px solid var(--primary-gold);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    color: var(--white);
}

.whatsapp-float i {
    font-size: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-info {
        flex-direction: column;
        gap: 1rem;
    }

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

    .service-card.featured {
        transform: none;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
        width: 55px;
        height: 55px;
    }

    .whatsapp-float i {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

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

    .service-card {
        padding: 2rem;
    }

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

    .contact-form {
        padding: 1.5rem;
    }

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

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

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

/* Print Styles */
@media print {
    .header,
    .whatsapp-float,
    .hero-background {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .hero {
        background: none;
        min-height: auto;
        padding: 2rem 0;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .service-card,
    .contact-form,
    .contact-item {
        border-width: 3px;
    }

    .btn-primary,
    .btn-secondary {
        border-width: 3px;
    }
}



/* ===== LOGO PERSONALIZADA - HEADER ===== */
.logo-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
    outline: none;
}

.logo-image {
    max-height: 60px;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(1.1);
}

.logo-image:hover {
    filter: brightness(1.3) drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

/* Fallback texto caso a imagem não carregue */
.logo-text-fallback {
    display: none;
    flex-direction: column;
    align-items: flex-start;
}

/* Mostrar fallback se a imagem falhar */
.logo-image[src="logo.png"]:not([src*="/"]):not([src*="http"]) + .logo-text-fallback,
.logo-image:not([src]) + .logo-text-fallback {
    display: flex;
}

/* ===== LOGO PERSONALIZADA - FOOTER ===== */
.footer-logo-link {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-logo-link:hover {
    transform: scale(1.05);
    outline: none;
}

.footer-logo-image {
    max-height: 50px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(1.1);
    margin-bottom: 0.5rem;
}

.footer-logo-image:hover {
    filter: brightness(1.3) drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

/* Fallback texto no footer caso a imagem não carregue */
.footer-logo-text-fallback {
    display: none;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-text-fallback h3 {
    font-family: 'Oswald', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin: 0;
    letter-spacing: 2px;
}

.footer-logo-text-fallback span {
    font-size: 0.75rem;
    color: var(--white);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Mostrar fallback no footer se a imagem falhar */
.footer-logo-image[src="logo.png"]:not([src*="/"]):not([src*="http"]) + .footer-logo-text-fallback,
.footer-logo-image:not([src]) + .footer-logo-text-fallback {
    display: flex;
}

/* ===== RESPONSIVIDADE PARA LOGOS ===== */
@media (max-width: 768px) {
    .logo-image {
        max-height: 45px;
        max-width: 150px;
    }
    
    .footer-logo-image {
        max-height: 40px;
        max-width: 140px;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .logo-subtitle {
        font-size: 0.65rem;
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        max-height: 40px;
        max-width: 120px;
    }
    
    .footer-logo-image {
        max-height: 35px;
        max-width: 120px;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .logo-subtitle {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }
}

/* ===== ACESSIBILIDADE ===== */
.logo-link:focus,
.footer-logo-link:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== ANIMAÇÕES ESPECIAIS PARA LOGO ===== */
@keyframes logoGlow {
    0% { filter: brightness(1.1) drop-shadow(0 0 0px rgba(212, 175, 55, 0)); }
    50% { filter: brightness(1.3) drop-shadow(0 0 15px rgba(212, 175, 55, 0.6)); }
    100% { filter: brightness(1.1) drop-shadow(0 0 0px rgba(212, 175, 55, 0)); }
}

.logo-image:hover,
.footer-logo-image:hover {
    animation: logoGlow 2s ease-in-out infinite;
}

/* ===== FALLBACK PARA IMAGENS QUEBRADAS ===== */
.logo-image::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    border-radius: 4px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo-image:not([src]),
.logo-image[src=""],
.logo-image[src="logo.png"]:not([src*="/"]):not([src*="http"]) {
    opacity: 0;
}

.footer-logo-image:not([src]),
.footer-logo-image[src=""],
.footer-logo-image[src="logo.png"]:not([src*="/"]):not([src*="http"]) {
    opacity: 0;
}



