/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Performance optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video {
    max-width: 100%;
    height: auto;
}

:root {
    /* Paleta de cores */
    --color-black: #000000;
    --color-gold: #D4AF37;
    --color-rose: #E8B4B8;
    --color-ivory: #FFF8DC;
    --color-dark-gray: #1a1a1a;
    --color-light-gray: #f5f5f5;
    --color-white: #ffffff;
    
    /* Gradientes */
    --gradient-black-ivory: linear-gradient(135deg, #000000 0%, #2a2a2a 50%, #FFF8DC 100%);
    --gradient-gold-rose: linear-gradient(135deg, #D4AF37 0%, #E8B4B8 100%);
    
    /* Tipografia */
    --font-title: 'Playfair Display', serif;
    --font-text: 'Inter', sans-serif;
    
    /* Espaçamentos */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
}

body {
    font-family: var(--font-text);
    line-height: 1.6;
    color: var(--color-white);
    background-color: var(--color-black);
    overflow-x: hidden;
    position: relative;
    -webkit-overflow-scrolling: touch;
    height: auto;
    min-height: 100vh;
}

/* Melhorar foco para acessibilidade */
*:focus {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

/* Remover outline padrão e adicionar customizado */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}


/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -4;
    overflow: hidden;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Background aplicado em toda a página */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-black);
    z-index: -3;
    opacity: 0.2;
}

/* Overlay escuro para melhor legibilidade */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: -2;
}

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

/* Botão flutuante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: block;
    visibility: visible;
    opacity: 1;
    transition: all 0.3s ease;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-gold-rose);
    border-radius: 50%;
    color: var(--color-white);
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    background: var(--color-rose);
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.6);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* Botão voltar ao topo */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 35px;
    width: 50px;
    height: 50px;
    background: var(--gradient-gold-rose);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 998;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    animation: bounceIn 0.5s ease-out;
}

.back-to-top:hover {
    background: var(--color-rose);
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

.back-to-top i {
    color: var(--color-white);
    font-size: 18px;
    font-weight: bold;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 999;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Garantir que a navbar permaneça transparente na home */
.header.in-home {
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
}

/* Melhorar visibilidade dos links na navbar transparente */
.header.in-home .nav-menu a {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    font-weight: 600;
}

.header.in-home .logo img {
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8));
}

.navbar {
    padding: 15px 0;
    transition: padding 0.3s ease;
}

.header.scrolled .navbar {
    padding: 12px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.logo a {
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo img {
    height: 70px;
    width: auto;
    transition: all 0.3s ease;
    animation: fadeInScale 0.8s ease-out;
}

.header.scrolled .logo img {
    height: 60px;
    filter: brightness(1.1);
}

.logo a:hover img {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 20px;
    animation: fadeInUp 0.8s ease-out;
}

.nav-menu li:nth-child(1) a { animation-delay: 0.1s; }
.nav-menu li:nth-child(2) a { animation-delay: 0.2s; }
.nav-menu li:nth-child(3) a { animation-delay: 0.3s; }
.nav-menu li:nth-child(4) a { animation-delay: 0.4s; }

.nav-menu a:hover {
    background: rgba(212, 175, 55, 0.2);
    color: #FFD700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--color-white);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: var(--color-gold);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: var(--color-gold);
}

/* Navigation Drawer */
.nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    z-index: 1000;
    transition: right 0.3s ease;
}

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

.drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-drawer.active .drawer-overlay {
    opacity: 1;
}

.drawer-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    height: 100%;
    background: var(--color-black);
    border-left: 2px solid var(--color-gold);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.nav-drawer.active .drawer-content {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.drawer-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.drawer-close span {
    width: 20px;
    height: 2px;
    background: var(--color-white);
    transition: all 0.3s ease;
    border-radius: 1px;
}

.drawer-close span:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}

.drawer-close span:nth-child(2) {
    transform: rotate(-45deg) translate(3px, -3px);
}

.drawer-nav {
    flex: 1;
    padding: 40px 20px;
}

.drawer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.drawer-nav li {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.nav-drawer.active .drawer-nav li {
    opacity: 1;
    transform: translateX(0);
}

.nav-drawer.active .drawer-nav li:nth-child(1) { transition-delay: 0.1s; }
.nav-drawer.active .drawer-nav li:nth-child(2) { transition-delay: 0.2s; }
.nav-drawer.active .drawer-nav li:nth-child(3) { transition-delay: 0.3s; }
.nav-drawer.active .drawer-nav li:nth-child(4) { transition-delay: 0.4s; }

.drawer-nav a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 15px 20px;
    display: block;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.drawer-nav a:hover,
.drawer-nav a:focus {
    background: rgba(212, 175, 55, 0.1);
    color: #FFD700;
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateX(10px);
    outline: none;
}

.drawer-nav a:active {
    background: rgba(212, 175, 55, 0.2);
    transform: translateX(5px);
}

.drawer-footer {
    padding: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.drawer-contact p {
    color: var(--color-ivory);
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.drawer-contact p:first-child {
    color: var(--color-gold);
    font-weight: 600;
    font-size: 1rem;
}

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

.hero-content {
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-title {
    animation: slideInDown 1s ease-out 0.8s both;
}

.hero-subtitle {
    animation: fadeInUp 1s ease-out 1.1s both;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 1.4s both;
}

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

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 0;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-ivory);
    margin-bottom: 40px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

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

/* Botões */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-gold-rose);
    color: var(--color-white);
    border-color: var(--color-gold);
}

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

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

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

/* Seções */
section {
    padding: var(--section-padding);
}

.section-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--color-gold);
    position: relative;
    animation: slideInDown 0.8s ease-out;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-gold-rose);
    border-radius: 2px;
}

/* About Section */
.about {
    background: rgba(0, 0, 0, 0.5);
    color: var(--color-white);
    backdrop-filter: blur(2px);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
}

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

.about-text strong {
    color: var(--color-gold);
}

/* Services Section */
.services {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
}

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

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 0;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    touch-action: manipulation;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
}

.service-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px 15px 0 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

/* Carrossel de imagens no hover */
.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.carousel-image.active {
    opacity: 1;
}

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

.service-card h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--color-gold);
    margin: 20px 20px 15px 20px;
    padding: 0;
}

.service-card p {
    color: var(--color-ivory);
    line-height: 1.6;
    margin: 0 20px 15px 20px;
    padding: 0;
}

/* Botão de agendamento de serviço */
.service-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gradient-gold-rose);
    color: var(--color-white);
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0 20px 20px 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.service-btn:hover {
    background: var(--color-rose);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    border-color: var(--color-rose);
}

.service-btn i {
    font-size: 1.1rem;
}


/* Contact Section */
.contact {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
}

.contact-unified-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 50px 40px;
    margin-top: 40px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.contact-unified-card:hover {
    border-color: var(--color-gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
}

.contact-main-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.contact-social-section {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.contact-social-section h3 {
    font-family: var(--font-title);
    color: var(--color-gold);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-location-section {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.contact-location-section h3 {
    font-family: var(--font-title);
    color: var(--color-gold);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--color-white);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(212, 175, 55, 0.3);
    position: relative;
    z-index: 1;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.facebook {
    background: #1877f2;
}

.social-icon.email {
    background: var(--gradient-gold-rose);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: var(--color-gold);
    animation: glow 1s ease-in-out infinite;
}

.social-icon {
    transition: all 0.3s ease;
}

.social-icon:nth-child(1) {
    animation: fadeInScale 0.8s ease-out 0.2s both;
}

.social-icon:nth-child(2) {
    animation: fadeInScale 0.8s ease-out 0.4s both;
}

.social-icon:nth-child(3) {
    animation: fadeInScale 0.8s ease-out 0.6s both;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item-centered {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    align-items: center;
}

.contact-item:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-5px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold-rose);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-white);
    flex-shrink: 0;
}

.contact-content {
    flex: 1;
}

.contact-content h3 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    color: var(--color-gold);
    margin-bottom: 8px;
}

.contact-content p {
    color: var(--color-ivory);
    line-height: 1.5;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.schedule-time {
    color: var(--color-gold) !important;
    font-weight: 600;
    font-size: 1rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gradient-gold-rose);
    color: var(--color-white);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--color-gold);
    font-size: 0.85rem;
}

.contact-link:hover {
    background: var(--color-rose);
    border-color: var(--color-rose);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Map Container dentro do card de contato */
.contact-location-section .map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: var(--color-white);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.contact-location-section .map-iframe-container {
    position: relative;
    background: var(--color-white);
}

.contact-location-section .map-iframe-container iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: none;
    border-radius: 15px;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-gold-rose);
    color: var(--color-white);
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--color-gold);
    font-size: 1.1rem;
}

.map-link:hover {
    background: var(--color-rose);
    border-color: var(--color-rose);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    padding: 30px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.footer-logo img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(1.1);
}

.footer-logo img:hover {
    filter: brightness(1.3);
    transform: scale(1.05);
}

.footer-copyright p {
    color: var(--color-ivory);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 400;
}

.footer-dev-info {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-dev-info p {
    color: var(--color-ivory);
    font-size: 0.8rem;
    margin: 0;
    font-weight: 300;
    text-align: center;
}

.footer-dev-info a {
    color: var(--color-gold);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-dev-info a:hover {
    color: var(--color-rose);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.footer-dev-info .separator {
    margin: 0 8px;
    color: var(--color-gold);
}

.footer-dev-info .mobile-break {
    display: none;
}

/* Responsividade */
@media (max-width: 768px) {
    /* Centralizar background no mobile */
    body::before {
        background-position: center center;
        background-attachment: scroll;
    }
    
    /* Video background responsivo */
    .video-background video {
        object-position: center center;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    /* Melhorar visibilidade do hamburger na navbar transparente */
    .header.in-home .hamburger span {
        box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    }
    
    /* Centralizar background da seção hero no mobile */
    .hero-background img {
        object-position: center center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 250px;
    }
    
    .contact-unified-card {
        padding: 25px 15px;
        margin-top: 30px;
    }
    
    .contact-main-info {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .contact-social-section {
        padding-top: 20px;
    }
    
    .contact-location-section {
        padding-top: 20px;
    }
    
    .contact-location-section h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .contact-location-section .map-iframe-container iframe {
        min-height: 250px;
    }
    
    .social-icons {
        gap: 20px;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        min-height: 44px;
        min-width: 44px;
        -webkit-tap-highlight-color: rgba(212, 175, 55, 0.3);
        touch-action: manipulation;
    }
    
    .contact-item {
        padding: 20px 15px;
        gap: 15px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(212, 175, 55, 0.1);
        touch-action: manipulation;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .contact-content h3 {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }
    
    .contact-content p {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .contact-link {
        padding: 6px 12px;
        font-size: 0.8rem;
        border-radius: 15px;
    }
    
    .schedule-time {
        font-size: 0.9rem !important;
    }
    
    .map-container {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .map-info {
        padding: 30px 20px;
        border-right: none;
        border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    }
    
    .map-info i {
        font-size: 2.5rem;
    }
    
    .map-info h4 {
        font-size: 1.5rem;
    }
    
    .map-iframe-container iframe {
        border-radius: 0 0 20px 20px;
        min-height: 300px;
    }
    
    .map-info {
        padding: 25px 15px;
    }
    
    .map-info i {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .map-info h4 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .map-info p {
        font-size: 0.9rem;
        margin-bottom: 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer mobile - esconder logo e centralizar texto */
    .footer-content {
        justify-content: center;
    }
    
    .footer-logo {
        display: none;
    }
    
    .footer-copyright {
        text-align: center;
    }
    
    .footer-copyright p {
        font-size: 0.85rem;
    }
    
    .footer-dev-info p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    .footer-dev-info .separator {
        display: none;
    }
    
    .footer-dev-info .mobile-break {
        display: inline;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .back-to-top {
        bottom: 100px;
        right: 35px;
        width: 50px;
        height: 50px;
    }
    
    .back-to-top i {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    /* Garantir centralização em telas muito pequenas */
    body::before {
        background-position: center center;
        background-size: cover;
    }
    
    /* Video background para telas pequenas */
    .video-background video {
        object-position: center center;
        min-width: 100%;
        min-height: 100%;
    }
    
    /* Garantir centralização do background hero em telas muito pequenas */
    .hero-background img {
        object-position: center center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .service-card {
        padding: 0;
    }
    
    .service-image {
        height: 220px;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
        margin: 15px 15px 10px 15px;
    }
    
    .service-card p {
        font-size: 0.9rem;
        margin: 0 15px 10px 15px;
    }
    
    .service-btn {
        margin: 0 15px 15px 15px;
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .contact-unified-card {
        padding: 20px 10px;
        margin-top: 25px;
    }
    
    .contact-main-info {
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .contact-social-section {
        padding-top: 15px;
    }
    
    .contact-social-section h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .contact-location-section {
        padding-top: 15px;
    }
    
    .contact-location-section h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .contact-location-section .map-iframe-container iframe {
        min-height: 200px;
    }
    
    .social-icons {
        gap: 15px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        min-height: 44px;
        min-width: 44px;
        -webkit-tap-highlight-color: rgba(212, 175, 55, 0.3);
        touch-action: manipulation;
    }
    
    /* Footer mobile pequeno */
    .footer-copyright p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .footer-dev-info p {
        font-size: 0.7rem;
        line-height: 1.5;
    }
    
    .footer-dev-info .separator {
        display: none;
    }
    
    .footer-dev-info .mobile-break {
        display: inline;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 15px 10px;
        gap: 10px;
    }
    
    .contact-item-centered {
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin: 0 auto;
    }
    
    .contact-content h3 {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    
    .contact-content p {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }
    
    .contact-link {
        padding: 5px 10px;
        font-size: 0.75rem;
        border-radius: 12px;
    }
    
    .schedule-time {
        font-size: 0.85rem !important;
    }
    
    .map-info {
        padding: 20px 10px;
    }
    
    .map-info i {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .map-info h4 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .map-info p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .map-iframe-container iframe {
        min-height: 250px;
    }
}

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

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

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

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

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

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
    }
}

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

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out;
}

.fade-in-scale {
    animation: fadeInScale 0.8s ease-out;
}

.slide-in-down {
    animation: slideInDown 0.8s ease-out;
}

.bounce-in {
    animation: bounceIn 0.8s ease-out;
}

.float {
    animation: float 3s ease-in-out infinite;
}

.glow {
    animation: glow 2s ease-in-out infinite;
}

.breathing {
    animation: breathing 3s ease-in-out infinite;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}


/* Seleção de texto */
::selection,
::-moz-selection {
    background: var(--color-gold);
    color: var(--color-black);
}

/* Ocultar botões flutuantes quando drawer estiver ativo */
.nav-drawer.active ~ .whatsapp-float,
.nav-drawer.active ~ .back-to-top {
    display: none !important;
    opacity: 0;
    visibility: hidden;
}

/* Melhorias para mobile no navigation drawer */
@media (max-width: 768px) {
    .drawer-nav a {
        min-height: 48px;
        display: flex;
        align-items: center;
        -webkit-tap-highlight-color: rgba(212, 175, 55, 0.2);
    }
    
    .drawer-nav a:active {
        background: rgba(212, 175, 55, 0.3);
        transform: translateX(5px) scale(0.98);
    }
    
    /* Garantir que o scroll funcione em mobile */
    .service-card,
    .contact-item {
        touch-action: manipulation;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    /* Permitir scroll suave */
    html {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
    }
    
    body {
        height: auto;
        min-height: 100vh;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Garantir que todas as seções permitam scroll */
    section {
        position: relative;
        z-index: 1;
    }
}
