@charset "UTF-8";

/* =======================================================
   RESET E VARIÁVEIS GERAIS
   ======================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* --- PALETA DE CORES (CONTRASTE APRIMORADO) --- */
    --primary-color: #F8F2ED;   /* Mantém o off-white luminoso */
    --secondary-color: #CABBAD; /* Bege suave */
    
    /* Cores de Texto Escurecidas para Leitura */
    --accent-color: #A1765D;    /* Terracota ligeiramente mais denso */
    --accent-light: #D4C6C0;    
    --text-dark: #624C3D;       /* Marrom Café Profundo (Muito mais legível) */
    --text-medium: #A1765D;     /* Para parágrafos, sólido e forte */
    --text-light: #ffffff;      
    --dark-bg: #624C3D;         /* Fundo seção masculina mais escuro */
    --accent-yellow: #E8C85A;   /* cor para borda / destaque do modal */
    --accent-green: #7DA27A;   /* Verde suave para botões de ação */
    
    /* --- FONTES --- */
    --font-heading: 'Mujito', 'Allura', cursive; 
    --font-body: 'Nunito', sans-serif; 
    
    /* --- EFEITOS --- */
    --shadow-soft: 0 10px 30px -10px rgba(98, 76, 61, 0.15);
    --shadow-hover: 0 20px 40px -10px rgba(98, 76, 61, 0.25);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* =======================================================
   ESTILOS GERAIS
   ======================================================= */
html {
    scroll-behavior: smooth;
    font-size: 14px; /* Aumentado +2px na base tipográfica */
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--primary-color);
    line-height: 1.7;
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
    -webkit-font-smoothing: antialiased; /* Deixa a fonte mais nítida */
}

/* Equilíbrio tipográfico: hifenização, quebra de linha e parágrafos justificados */
body, p, li, .modal-body p {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

p, li, .modal-body p {
    text-align: justify;
    text-justify: inter-word;
}

.container {
    width: 85%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 4rem 0;
}

.hero .container {
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* --- TIPOGRAFIA --- */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 400 !important;
    line-height: 1.2;
    transition: all 0.3s ease;
}

h1 {
    font-size: clamp(2.2rem, 4vw, 2.8rem);
    margin: 1rem 0 0.5rem 0;
    position: relative;
    overflow: hidden;
}

/* Efeito de sublinhado removido dos elementos h1 */
h1::after {
    content: none;
}

h1.animate::after {
    content: none;
}

h2 {
    font-size: clamp(1.4rem, 3vw, 2.4rem);
    text-align: center;
    margin: 1rem 0 1rem 0;
    position: relative;
    color: var(--text-dark); /* Cor sólida para título */
    transform: translateY(0);
    opacity: 1;
}

h2.animate {
    transform: translateY(0);
    opacity: 1;
}



p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: var(--text-medium); /* Cor sólida, sem transparência */
    font-weight: 500; /* Aumenta levemente o peso da fonte */
    line-height: 1.7;
    transform: translateY(0);
    opacity: 1;
    transition: all 0.6s ease;
}

p.animate {
    transform: translateY(0);
    opacity: 1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- BOTÕES --- */
button, .agendar-btn, .agendar-link {
    cursor: pointer;
    border: none;
    padding: 16px 32px; 
    font-family: var(--font-body);
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

button:hover, .agendar-btn:hover, .agendar-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
}

/* Efeito de ondulação para botões */
.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Classes de animação aprimoradas para movimento contínuo */
.animate-float { 
    animation: float 3s ease-in-out infinite; 
}

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

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

.animate-rotate { 
    animation: rotate 10s linear infinite; 
}

.animate-gradient { 
    animation: gradientShift 15s ease infinite; 
    background-size: 200% 200%; 
}

.animate-slide-in-left { 
    animation: slideInLeft 0.8s ease-out forwards; 
}

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

.animate-slide-in-up { 
    animation: slideInUp 0.8s ease-out forwards; 
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Spring-like animations */
.spring-element {
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Movimento para a imagem da seção 'Sobre Nós' */
.spring-hover {
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Custom cursor for spring effect */
.custom-cursor {
    position: fixed;
    width: 30px;
    height: 30px;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease-out;
    opacity: 1;
}

.cursor-inner {
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    background-color: rgba(161, 118, 93, 0.2);
    transition: all 0.3s ease;
}

.custom-cursor.cursor-hover .cursor-inner {
    transform: scale(1.5);
    background-color: rgba(161, 118, 93, 0.4);
}

/* Animações suaves e contínuas para todos os elementos interativos */
.diferencial-card, .servico-card, .foto-item, .depoimento-card, .blog-post {
    transition: transform 0.3s ease;
}

.diferencial-card:hover, .servico-card:hover, .foto-item:hover, .depoimento-card:hover, .blog-post:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

/* Efeitos de hover melhorados para a navegação */
.nav-links a {
    transition: all 0.3s ease;
}

.nav-links a:hover {
    transform: translateY(-2px);
    color: var(--accent-color);
}

/* Efeitos de hover melhorados para botões */
.agendar-btn, button {
    transition: all 0.3s ease;
}

.agendar-btn:hover, button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Animação de flutuação suave e contínua para o título hero */
.hero-content h1 {
    animation: float 4s ease-in-out infinite;
}

/* Animação de pulso suave e contínua para o botão do WhatsApp */
.agendar-btn {
    animation: pulse 1.5s infinite;
    transform-origin: center;
}

/* =======================================================
   HEADER & HERO SECTION
   ======================================================= */
.hero {
    /* Cor de fundo sólida usando cor primária da paleta */
    background: transparent;
    height: auto;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: visible;
    width: 100%;
    max-width: 100%;
    z-index: 3;
    min-height: 80vh;
    padding-top: 8rem;
    padding-bottom: 4rem;
}

.hero-background-video {
    width: 100%;
    height: auto;
    max-height: 55vh;
    object-fit: contain;
    border-radius: 32px;
    -webkit-border-radius: 32px;
    -moz-border-radius: 32px;
    display: block;
    filter: contrast(1.05) brightness(1.02);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: hidden;
    clip-path: inset(0 round 32px);
}

.hero-mute-toggle {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 0.45rem 0.7rem;
    border: none;
    border-radius: 12px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    z-index: 15;
    pointer-events: auto;
    box-shadow: 0 6px 16px rgba(0,0,0,0.22);
}

.hero-mute-toggle:hover {
    transform: scale(1.05);
    background: rgba(0,0,0,0.7);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(161, 118, 93, 0.05) 0%, transparent 70%);
    animation: pulseGlow 15s ease-in-out infinite;
    z-index: 2;
}

.hero .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 5;
}

.hero-content-grid {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 4rem;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 5;
}

.hero-video-column {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    padding-right: 0;
    grid-column: 1;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
}

.hero-text-column {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    grid-column: 2;
    padding-left: 0;
    padding-right: 0;
}

.hero-text-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: #F8F2ED;
    border: 3px solid #c4a57b;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(196, 165, 123, 0.15);
}

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

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

/* Estilos do vídeo no hero */
.hero .video-wrapper {
    max-width: 100%;
    margin: 0;
    position: relative;
    border-radius: 20px;
    padding: 10px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    box-shadow: 0 20px 40px rgba(98, 76, 61, 0.25);
    transition: all 0.4s ease;
}

.hero .video-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(98, 76, 61, 0.35);
}

.hero .presentation-video {
    width: 160%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    border-radius: 14px;
    position: relative;
    z-index: 2;
}

.hero .video-frame {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(161, 118, 93, 0.3), rgba(212, 198, 192, 0.3));
    pointer-events: none;
    animation: frameGlow 3s ease-in-out infinite alternate;
}

/* Aumentar fontes do hero */
.hero h1 {
    font-size: clamp(2.8rem, 5vw, 3.8rem);
    margin-bottom: 1rem;
    text-align: center;
    max-width: 90vw;
}

.hero p {
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    text-align: center;
    max-width: 90vw;
}

.hero .hero-text {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.8;
    max-width: 90vw;
}

@keyframes frameGlow {
    0% {
        box-shadow: inset 0 0 30px rgba(161, 118, 93, 0.2), 0 0 40px rgba(161, 118, 93, 0.1);
    }
    100% {
        box-shadow: inset 0 0 50px rgba(161, 118, 93, 0.4), 0 0 60px rgba(161, 118, 93, 0.2);
    }
}

/* Seção de Vídeo */
@keyframes pulseGlow {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(10%, 10%) scale(1.1); opacity: 0.8; }
}

.navbar {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: #F8F2ED; /* Combinar com fundo do logo */
    position: fixed !important;
    width: 100%;
    top: 0 !important;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, padding 0.3s ease;
    max-width: 100%;
    transform: translateY(0) !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.logo img {
    height: 80px; /* Increased size */
    width: auto;
    opacity: 1 !important;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-dark); /* Cor de texto escuro e forte */
    font-weight: 700; /* Negrito no menu para melhor legibilidade */
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

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

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

.agendar-btn {
    background: #25D366;
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    animation: pulse 1.5s infinite;
}

.agendar-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
    animation: none;
}

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

.hamburger span {
    width: 30px;
    height: 3px; /* Barras mais grossas para melhor visibilidade */
    background-color: var(--text-dark);
    margin: 4px 0;
    transition: 0.3s;
}

/* =======================================================
   MODAL: POLÍTICA DE AGENDAMENTO
   ======================================================= */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}
.modal.active {
    display: flex;
}
.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
}
.modal-content {
    position: relative;
    background: var(--primary-color);
    padding: 1.5rem 1.75rem;
    border-radius: 10px;
    max-width: 720px;
    width: 92%;
    max-height: 80vh;
    overflow: auto;
    box-shadow: var(--shadow-soft);
    color: var(--text-dark);
}
.modal-content { padding-bottom: 3.5rem; }
.modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.modal-logo-box {
    background: var(--text-light);
    padding: 8px 12px;
    border-radius: 14px;
    border: 4px solid var(--accent-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-logo-box img {
    height: 40px;
    width: auto;
    display: block;
}
.modal-subtitle {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin: 0;
    color: var(--text-dark);
    line-height: 1.05;
}
.modal-close {
    position: absolute;
    right: 12px;
    top: 8px;
    background: var(--accent-color);
    border: none;
    font-size: 1.2rem;
    padding: 6px 10px;
    cursor: pointer;
    color: var(--text-light);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.modal-close:hover {
    filter: brightness(0.92);
    transform: translateY(-1px);
}
.modal-close:focus {
    outline: 3px solid rgba(161,118,93,0.18);
    outline-offset: 2px;
}
.modal-body p {
    margin-bottom: 0.9rem;
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.5;
}
.modal-body p strong { font-weight: 700; color: var(--text-dark); }
.modal-content h2 {
    margin-top: 0;
    margin-bottom: 0.6rem;
    font-family: var(--font-heading);
}

/* Hero Content */
.hero-content {
    text-align: center;
    padding: 0 2rem;
    animation: fadeIn 1.5s ease-out;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    flex-grow: 1;
    margin-top: 1rem;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    animation: pulse 4s infinite;
    z-index: -1;
}

.hero-text-wrapper {
    position: relative;
    overflow: hidden;
    text-align: center;
    max-width: 1100px;
    padding: 1.5rem 1.5rem 0 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hero-content h1 {
    color: var(--text-dark);
    margin: 1rem 0 0 0;
    animation: float 4s ease-in-out infinite;
    font-size: clamp(2.4rem, 4vw, 3rem);
    font-family: var(--font-heading);
    font-weight: 700;
}

.hero-content p {
    color: var(--text-medium);
    margin: 0.5rem 0;
    opacity: 1;
    transform: translateY(0);
}

.hero-content p.hero-text {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-medium);
    font-weight: 400;
    margin-top: 1rem;
    letter-spacing: 0.5px;
    animation: slideInUp 1s ease-out 0.5s both;
}

/* =======================================================
   CARDS E DIFERENCIAIS
   ======================================================= */
.diferenciais {
    background-color: #fff;
    position: relative;
    z-index: 2;
    margin-top: -30px;
    border-radius: 30px 30px 0 0;
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    justify-items: center;
}

.diferencial-card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 1.25rem);
}

.diferencial-card {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(62, 44, 36, 0.08); /* Borda sutil mas visível */
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    opacity: 1;
}

.diferencial-card.animate {
    transform: translateY(0);
    opacity: 1;
}

.diferencial-card h3 {
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 500 !important; /* Um pouco mais de peso na fonte cursiva */
    transition: transform 0.3s ease;
}

.diferencial-card:hover h3 {
    transform: scale(1.05);
}

.diferencial-card p {
    color: var(--text-medium);
    transition: all 0.3s ease;
}

.diferencial-card:hover {
    transform: translateY(-15px) !important;
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.diferencial-card::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: 0.5s;
}

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

/* =======================================================
   PORTFOLIO
   ======================================================= */
.resultados {
    background-color: var(--secondary-color);
    visibility: visible !important;
    display: block !important;
}

/* =======================================================
   PORTFOLIO DE RESULTADOS
   ======================================================= */
.servicos-portfolio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
    margin-top: 3rem;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    cursor: pointer;
    background: #fff;
}

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

.portfolio-preview {
    position: relative;
    width: 100%;
    padding-top: 100%; /* Proporção quadrada 1:1 */
    overflow: hidden;
}

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

.portfolio-card:hover .portfolio-preview img {
    transform: scale(1.1);
}

/* Card sem imagem */
.portfolio-card-no-image .portfolio-preview {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-light) 100%);
}

.portfolio-card-no-image .portfolio-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    background: transparent;
    padding: 2rem 1.5rem;
}

.portfolio-card-no-image .portfolio-overlay h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
}

.portfolio-card-no-image .portfolio-hint {
    color: var(--text-medium);
}

.portfolio-card-no-image:hover .portfolio-overlay {
    transform: translate(-50%, -50%) scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(62, 44, 36, 0.9), rgba(62, 44, 36, 0.6), transparent);
    padding: 2.5rem 1.5rem 1.2rem;
    transform: translateY(0);
    transition: all 0.4s ease;
    pointer-events: none;
}

.portfolio-card:hover .portfolio-overlay {
    background: linear-gradient(to top, rgba(62, 44, 36, 0.95), rgba(62, 44, 36, 0.75), rgba(62, 44, 36, 0.2));
    padding-bottom: 1.5rem;
}

.portfolio-overlay h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
    font-weight: 600;
    line-height: 1.3;
}

.portfolio-hint {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.portfolio-hint::after {
    content: '→';
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-hint::after {
    transform: translateX(5px);
}

/* Modal de Galeria */
.galeria-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(62, 44, 36, 0.95);
    animation: fadeIn 0.3s ease;
}

.galeria-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.galeria-modal-content {
    background: linear-gradient(135deg, #F8F2ED 0%, #CABBAD 100%);
    padding: 2.5rem;
    border-radius: 20px;
    max-width: 1200px;
    max-height: 90vh;
    width: 90%;
    overflow-y: auto;
    position: relative;
    animation: slideInUp 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.galeria-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2.5rem;
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    line-height: 1;
    padding: 0.5rem;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.galeria-modal-close:hover {
    background: var(--accent-color);
    color: #fff;
    transform: rotate(90deg);
}

.galeria-modal-content h3 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 2rem;
    padding-right: 3rem;
}

.galeria-modal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.galeria-modal-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.galeria-modal-grid img:hover {
    transform: scale(1.05);
}

/* Centralizar última foto apenas se for realmente ímpar */
.galeria-modal-grid:has(img:last-child:nth-child(4n+1)) img:last-child {
    grid-column: 2 / 4;
    max-width: 50%;
    justify-self: center;
}

/* Centralizar últimas 2 fotos se total terminar em 2 */
.galeria-modal-grid:has(img:last-child:nth-child(4n+2)) img:nth-last-child(2) {
    grid-column: 2 / 3;
}

.galeria-modal-grid:has(img:last-child:nth-child(4n+2)) img:last-child {
    grid-column: 3 / 4;
}

/* Centralizar últimas 3 fotos se total terminar em 3 */
.galeria-modal-grid:has(img:last-child:nth-child(4n+3)) img:nth-last-child(3) {
    grid-column: 2 / 3;
}

.galeria-modal-grid:has(img:last-child:nth-child(4n+3)) img:nth-last-child(2) {
    grid-column: 3 / 4;
}

.galeria-modal-grid:has(img:last-child:nth-child(4n+3)) img:last-child {
    grid-column: 4 / 5;
}

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

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

.categoria-titulo {
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    color: var(--text-dark);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
    text-align: left;
}

.categoria-titulo:first-of-type {
    margin-top: 2rem;
}

.galeria {
    display: grid;
    grid-template-columns: repeat(4, minmax(225px, 1fr));
    gap: 1.4rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
    visibility: visible !important;
}

/* Antes/Depois: exibir duas imagens em linha dentro da galeria */
.antes-depois {
    grid-column: 1 / -1; /* ocupar toda a largura da galeria */
    display: flex;
    gap: 1rem;
    align-items: stretch;
}
.antes-depois .foto-item {
    flex: 1 1 0;
    aspect-ratio: 4/5;
}

@media (max-width: 760px) {
    .antes-depois {
        flex-direction: column;
    }
    .antes-depois .foto-item {
        width: 100%;
    }
}

/* Comparador Antes/Depois */
.comparador {
    grid-column: 1 / -1;
    max-width: 820px;
    margin: 0 auto 1.2rem;
}
.comparador-labels {
    display: flex;
    /* ensure gallery uses up to 4 columns, responsive fallbacks below */
    @media (max-width: 1200px) {
        .galeria { grid-template-columns: repeat(3, minmax(200px, 1fr)); }
    }
    @media (max-width: 900px) {
        .galeria { grid-template-columns: repeat(2, minmax(180px, 1fr)); }
    }
    @media (max-width: 600px) {
        .galeria { grid-template-columns: 1fr; }
    }
    display: block !important;
}

.foto-item:hover img {
    transform: scale(1.1) rotate(2deg);
}

.foto-legenda {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* Gradiente mais escuro para garantir que o texto branco apareça */
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.5), transparent);
    color: #fff;
    padding: 20px;
    padding-top: 50px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transform: translateY(100%);
    transition: all 0.4s ease;
    opacity: 0;
}

.foto-item:hover .foto-legenda {
    transform: translateY(0);
    opacity: 1;
    background: linear-gradient(to top, rgba(161, 118, 93, 0.9), rgba(161, 118, 93, 0.5), transparent);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
}

/* =======================================================
   SERVIÇOS
   ======================================================= */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.servico-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    border-left: 6px solid var(--accent-color); /* Borda lateral mais visível */
    transform: translateY(0);
    opacity: 1;
}

.servico-card.animate {
    transform: translateY(0);
    opacity: 1;
}

.servico-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: var(--accent-color); /* Mudado para accent para contraste */
    border-radius: 0 0 0 100%;
    opacity: 0.1;
    transition: 0.4s;
}

.servico-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: var(--shadow-hover);
}

.servico-card:hover::before {
    transform: scale(1.5);
}

.servico-card h3 {
    font-size: 1.8rem;
    position: relative;
    z-index: 1;
    color: var(--text-dark);
    font-weight: 600 !important; /* Reforça o título */
    transition: all 0.3s ease;
}

.servico-card:hover h3 {
    transform: translateX(10px);
}

.servico-card p {
    color: var(--text-medium);
    transition: all 0.3s ease;
}

.servico-card:hover p {
    color: var(--accent-color);
}

/* =======================================================
   SEÇÃO MASCULINA (ALTO CONTRASTE)
   ======================================================= */
.masculino {
    background-color: var(--dark-bg);
    color: #fff;
    position: relative;
}

.masculino h2 {
    background: none;
    -webkit-text-fill-color: #fff;
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.masculino-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2); /* Borda mais clara */
    transition: 0.3s;
    padding: 2rem;
    border-radius: 15px;
}

.masculino-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.masculino-item h3 {
    color: #EBD3C5; /* Cor creme clara para destacar do fundo escuro */
    font-size: 1.8rem;
}

.masculino p {
    color: #F5F5F5; /* Branco gelo, muito legível */
    opacity: 1;
}

/* =======================================================
   DEPOIMENTOS & BLOG
   ======================================================= */
.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.depoimento-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 15px 15px 15px 0;
    box-shadow: var(--shadow-soft);
    border: 1px solid #fff; /* Borda branca para delimitar */
    transform: translateY(0);
    opacity: 1;
    transition: all 0.6s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    box-sizing: border-box;
}

.depoimento-card.animate {
    transform: translateY(0);
    opacity: 1;
}

.depoimento-card::before {
    font-size: 8rem;
    top: -30px;
    left: 20px;
    color: var(--accent-color);
    opacity: 0.15;
    z-index: 0;
}

.depoimento-card p {
    position: relative;
    z-index: 1;
    color: var(--text-dark);
    font-style: italic;
    font-weight: 600; /* Destaque para o texto do depoimento */
    transition: all 0.3s ease;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.depoimento-card:hover p {
    transform: translateX(10px);
}

.depoimento-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
    height: 150px;
    object-fit: contain;
    transition: all 0.3s ease;
    flex-shrink: 0;
    background-color: #fff;
    opacity: 1 !important;
}

.depoimento-card:hover img {
    transform: scale(1.05);
}

.cliente-info .nome {
    color: var(--accent-color);
    font-weight: 800;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.blog-post {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--accent-color);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    transform: translateY(0);
    opacity: 1;
}

.blog-post.animate {
    transform: translateY(0);
    opacity: 1;
}

.blog-post:hover {
    transform: scale(1.02) translateY(-5px) !important;
    border-left-width: 10px;
    box-shadow: var(--shadow-hover);
}

.blog-post h3 {
    color: var(--text-dark);
    font-weight: 600 !important;
    transition: all 0.3s ease;
}

.blog-post:hover h3 {
    color: var(--accent-color);
    transform: translateX(5px);
}

/* =======================================================
   SOBRE
   ======================================================= */
.sobre {
    background: transparent !important;
}

.sobre-content {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 0;
    align-items: center;
    grid-auto-flow: dense;
}

.sobre-video-wrapper {
    position: relative;
    display: flex;
    justify-content: center; /* Centralizado */
    align-items: center;
    width: 100%;
    height: 100%;
    grid-column: 1;
    padding: 0 1rem; /* Padding reduzido */
}

.sobre-video-wrapper .presentation-video {
    width: 70%; /* Reduzido em 30% */
    max-width: 70%;
    height: auto;
    display: block;
    border-radius: 32px;
    position: relative;
    z-index: 2;
    box-shadow: none;
    transform-origin: center;
    transition: border-radius 0.5s ease;
    object-fit: contain;
    filter: contrast(1.05) brightness(1.02);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    margin: 0 auto; /* Centraliza o vídeo */
}

.mute-toggle {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    padding: 0.45rem 0.7rem;
    border: none;
    border-radius: 12px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    z-index: 3;
    pointer-events: auto;
    box-shadow: 0 6px 16px rgba(0,0,0,0.22);
}

.mute-toggle:hover {
    transform: scale(1.05);
    background: rgba(0,0,0,0.7);
}

.sobre-texto {
    flex: 1;
    width: 100%;
    max-width: 100%;
    text-align: center;
    justify-self: stretch;
    align-self: center;
    grid-column: 2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    margin: 0;
    padding: 2rem; /* Reduzido de 3rem para 2rem */
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 3px solid #c4a57b;
    border-radius: 24px;
    background: #F8F2ED;
    box-shadow: 0 4px 20px rgba(196, 165, 123, 0.15);
}

.sobre-texto p {
    text-align: center;
    text-justify: auto;
    font-size: 1.15rem;
    margin-bottom: 2rem;
    line-height: 1.9;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Movimento suave no texto do sobre */
.sobre-texto h2,
.sobre-texto p,
.listas-sobre h3,
.listas-sobre li {
    animation: softRise 0.8s ease-out forwards;
    animation-fill-mode: both;
}

.sobre-texto h2,
.sobre-texto p,
.listas-sobre h3,
.listas-sobre li {
    opacity: 1;
    animation: softRise 0.8s ease-out forwards;
    animation-fill-mode: both;
}

.sobre-texto h2 { animation-delay: 0.05s; }
.sobre-texto p:nth-of-type(1) { animation-delay: 0.12s; }
.sobre-texto p:nth-of-type(2) { animation-delay: 0.18s; }
.listas-sobre h3 { animation-delay: 0.24s; }
.listas-sobre li:nth-child(1) { animation-delay: 0.30s; }
.listas-sobre li:nth-child(2) { animation-delay: 0.34s; }
.listas-sobre li:nth-child(3) { animation-delay: 0.38s; }
.listas-sobre li:nth-child(4) { animation-delay: 0.42s; }
.listas-sobre li:nth-child(5) { animation-delay: 0.46s; }

.sobre-texto h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

.listas-sobre h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    text-align: center;
}

/* Remove default list bullets for Valores and Diferencial */
.listas-sobre {
    margin-top: 2.5rem;
}

.listas-sobre > div {
    margin-bottom: 2.5rem;
}

.valores-list,
.diferencial-list {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.valores-list li,
.diferencial-list li {
    padding-left: 0;
    margin-bottom: 0.8rem;
    min-width: 100%;
    text-align: center;
}

/* =======================================================
   CONTATO E RODAPÉ
   ======================================================= */
.contato {
    background: var(--secondary-color);
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
}

.info-item {
    background: #fff;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    opacity: 1 !important;
    display: block !important;
}

.map-container {
    margin-top: 1.5rem;
    opacity: 1 !important;
    display: block !important;
}

.map-container iframe {
    opacity: 1 !important;
    display: block !important;
    width: 100%;
    height: 200px;
    border: 0;
    border-radius: 8px;
}

.info-item h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.agendar-link {
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 5px 15px rgba(150, 104, 80, 0.4);
    margin-top: 1rem;
    font-weight: 800; /* Texto do botão bem forte */
}

.agendar-link:hover {
    background: #7a523f; /* Hover mais escuro */
    transform: translateY(-3px);
}

.footer {
    background: #241c17; /* Tom quase preto para contraste */
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 50;
}

.footer .container {
    padding: 0;
}

.footer-link {
    color: #E0E0E0; /* Cor clara para texto do rodapé */
    font-weight: 600;
}

.footer-link:hover {
    color: #fff;
    text-decoration: underline;
}

.footer p {
    color: #fff;
    font-size: 0.95rem;
    margin: 0.5rem 0;
    opacity: 0.95;
    white-space: nowrap;
    text-align: center;
}

/* Garantir que o rodapé não seja ocultado por animações JS (override inline) */
.footer, .footer * {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

.footer-links {
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    text-align: center;
}

.footer-link {
    margin: 0;
}

/* =======================================================
   RESPONSIVIDADE
   ======================================================= */
@media screen and (max-width: 768px) {
    .container {
        width: 92%;
        max-width: 100%;
        padding: 3rem 0;
        overflow-x: hidden;
    }

    h1 { 
        font-size: 2rem; 
        color: var(--text-dark);
        animation: float 4s ease-in-out infinite;
        margin: 0.5rem 0;
    }
    
    h2 { 
        font-size: 1.8rem; 
        color: var(--text-dark);
        text-align: center;
        margin: 0.8rem 0;
        animation: slideInUp 0.8s ease-out;
    }
    
    p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        color: var(--text-dark);
        margin: 0.5rem 0;
        animation: float 3s ease-in-out infinite;
        font-family: var(--font-heading);
        font-weight: 700;
    }
    
    .hero-content p {
        font-size: 1rem;
        color: var(--text-medium);
        margin: 0.3rem 0;
        animation: slideInUp 0.6s ease-out;
    }
    
    .hero-content .hero-text {
        font-size: 0.95rem;
        animation: slideInUp 0.8s ease-out;
    }
    
    .hero .hero-text-wrapper {
        animation: pulse 4s infinite;
        transform-origin: center;
        width: 100%;
        max-width: 100%;
        padding: 1rem;
    }
    
    .sobre-texto h2 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .sobre-texto p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
        line-height: 1.6;
    }
    
    .hero {
        background: var(--primary-color);
        background-attachment: scroll;
        animation: gradientShift 10s ease infinite;
        background-size: 200% 200%;
        height: auto;
        min-height: 100vh;
        padding: 4.5rem 1.5rem 2rem;
        display: flex;
        align-items: center;
    }
    
    .hero-content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
    }
    
    .hero-video-column {
        grid-column: 1;
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .hero-text-column {
        grid-column: 1;
        width: 100%;
        padding: 0;
    }
    
    .hero-text-wrapper {
        width: 100%;
        padding: 1.5rem;
    }
    
    .hero .presentation-video {
        width: 100%;
        max-width: 100%;
    }
    
    .hero-content {
        padding: 0 1rem;
        justify-content: center;
        animation: fadeIn 1s ease-out;
        margin-top: 0.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        color: var(--text-dark);
        margin: 0.5rem 0;
        animation: float 3s ease-in-out infinite;
        font-family: var(--font-heading);
        font-weight: 700;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        color: var(--text-medium);
        margin: 0.3rem 0;
        animation: slideInUp 0.6s ease-out;
    }

        /* Footer links em linha no mobile */
        .footer .container {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.4rem;
            padding: 0.5rem 0;
        }

        .footer-links {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.2rem;
        }

        .footer-link {
            margin: 0;
            font-size: 0.8rem;
            white-space: nowrap;
        }
        
        .footer-link:not(:last-child)::after {
            content: " | ";
            margin-left: 0.5rem;
            color: #E0E0E0;
        }
        
        .footer p {
            font-size: 0.75rem;
            white-space: nowrap;
        }
    
    .hero-content .hero-text {
        font-size: 1.1rem;
        animation: slideInUp 0.8s ease-out;
    }
    
    /* Additional mobile animations */
    .hero-content .hero-text-wrapper {
        animation: pulse 4s infinite;
        transform-origin: center;
        width: 100%;
        max-width: 900px;
        padding: 0.75rem;
    }
    
    /* Touch interaction effects */
    .hero-content:active {
        transform: scale(0.99);
        transition: transform 0.2s ease;
    }

    .diferenciais {
        margin-top: -30px;
        border-radius: 20px 20px 0 0;
        animation: slideInUp 0.8s ease-out;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: 0;
        height: calc(100vh - 70px);
        background: #fff;
        flex-direction: column;
        width: 60%;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
        box-shadow: -5px 0 20px rgba(0,0,0,0.15);
        padding: 2rem 1rem;
        gap: 1.5rem;
        align-items: center;
        visibility: hidden;
        opacity: 0;
    }

    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
        opacity: 1;
    }
    
    .agendar-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        white-space: nowrap;
    }
    
    .hamburger { display: flex; }
    
    /* Garantir que o navbar fique sempre fixo no mobile */
    .navbar,
    header .navbar,
    nav.navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        transform: translateY(0) !important;
        visibility: visible !important;
        opacity: 1 !important;
        display: flex !important;
        z-index: 9999 !important;
        width: 100% !important;
    }

    .diferenciais-grid, 
    .servicos-grid, 
    .masculino-servicos, 
    .galeria,
    .blog-posts,
    .contato-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .redes-sociais {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
        align-items: flex-start;
    }
    
    .redes-sociais a {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        width: 100%;
    }
    
    .depoimentos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        align-items: stretch;
    }
    
    /* Diferenciais: 3 cards (ímpar) - mantém 2 em cima, 1 centralizado embaixo */
    .diferenciais-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .diferencial-card:last-child {
        grid-column: 1 / -1;
        max-width: calc(50% - 1.25rem);
    }
    
    /* Serviços: 6 cards (par) - divide em 3 e 3 */
    .servicos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    @media screen and (max-width: 1024px) and (min-width: 769px) {
        .depoimentos-grid {
            grid-template-columns: repeat(3, 1fr);
        }
        
        /* Serviços em tablets: 2 colunas (divide em 3-3 ficando 3-2-1) */
        .servicos-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        
        /* Modal de galeria em tablets: 3 colunas */
        .galeria-modal-grid {
            grid-template-columns: repeat(3, 1fr);
        }
        
        /* Centralizar última foto se ímpar em 3 colunas */
        .galeria-modal-grid img:last-child:nth-child(3n+1) {
            grid-column: 2 / 3;
            max-width: 100%;
        }
        
        /* Centralizar últimas 2 fotos se necessário */
        .galeria-modal-grid img:nth-last-child(2):nth-child(3n+2) {
            grid-column: 2 / 3;
        }
        
        .galeria-modal-grid img:last-child:nth-child(3n+2) {
            grid-column: 3 / 4;
        }
    }
    
    @media screen and (max-width: 768px) and (min-width: 481px) {
        .depoimentos-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        
        /* Diferenciais em tablets menores: 1 coluna */
        .diferenciais-grid {
            grid-template-columns: 1fr;
        }
        
        .diferencial-card:last-child {
            grid-column: auto;
            max-width: 100%;
        }
        
        /* Serviços em tablets menores: 2 colunas */
        .servicos-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    
    @media screen and (max-width: 480px) {
        .depoimentos-grid {
            grid-template-columns: 1fr;
            align-items: stretch;
        }
        
        /* Diferenciais mobile: 1 coluna */
        .diferenciais-grid {
            grid-template-columns: 1fr;
        }
        
        .diferencial-card:last-child {
            grid-column: auto;
            max-width: 100%;
        }
        
        /* Serviços mobile: 1 coluna */
        .servicos-grid {
            grid-template-columns: 1fr;
        }
        
        h1 {
            font-size: 2rem;
        }
        
        h2 {
            font-size: 1.8rem;
        }
        
        p {
            font-size: 0.95rem;
            line-height: 1.5;
        }
        
        .hero-content h1 {
            font-size: 1.8rem;
            color: var(--text-dark);
        }
        
        .hero-content p {
            font-size: 1rem;
        }
        
        .hero-content .hero-text {
            font-size: 1rem;
            color: var(--text-medium);
        }
        
        .hero {
            background: var(--primary-color);
            height: auto;
            min-height: 65vh;
            padding: 6rem 1rem 3rem;
        }
        
        h1, h2 {
            color: var(--text-dark);
        }
    }

    .diferencial-card, .servico-card, .foto-item, .depoimento-card, .blog-post {
        animation: slideInUp 0.6s ease-out;
        margin-bottom: 1rem;
    }

    .sobre-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        animation: fadeIn 1s ease-out;
    }
    
    .sobre-video-wrapper {
        grid-column: 1;
        width: 100%;
        padding: 0;
        justify-content: center;
    }
    
    .sobre-texto {
        grid-column: 1;
        width: 100%;
        padding: 1.5rem;
        margin: 0;
    }
    
    .sobre-video-wrapper .presentation-video {
        width: 100%;
        max-width: 100%;
        border-radius: 20px;
    }
    
    .sobre-imagem img {
        animation: float 5s ease-in-out infinite;
        transition: transform 0.3s ease;
    }
    
    .sobre-imagem:hover img {
        transform: scale(1.05) rotate(2deg);
    }
    
    .listas-sobre {
        animation: slideInUp 0.8s ease-out;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        justify-items: center;
    }

    .listas-sobre h3,
    .listas-sobre li {
        text-align: center;
    }
    
    .info-item {
        animation: slideInUp 0.6s ease-out;
    }
    
    /* Touch-friendly enhancements */
    .diferencial-card, .servico-card, .foto-item, .depoimento-card, .blog-post {
        transition: all 0.3s ease;
    }
    
    .diferencial-card:active, .servico-card:active, .foto-item:active {
        transform: scale(0.98);
    }
    
    /* Portfolio responsivo */
    .servicos-portfolio {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 1rem;
        padding: 0.5rem 0;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    
    .servicos-portfolio .portfolio-card {
        flex: 0 0 45%;
        min-width: 45%;
        scroll-snap-align: start;
    }
    
    .servicos-portfolio .portfolio-card:last-child {
        margin-right: 1rem;
    }
    
    .galeria-modal-content {
        width: 95%;
        padding: 2rem 1.5rem;
        max-height: 85vh;
    }
    
    .galeria-modal-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Ajustar centralização para mobile (2 colunas) */
    .galeria-modal-grid img:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
    
    /* Remover regras de 4 colunas no mobile */
    .galeria-modal-grid img:last-child:nth-child(4n+1),
    .galeria-modal-grid img:nth-last-child(2):nth-child(4n+3),
    .galeria-modal-grid img:last-child:nth-child(4n+3) {
        grid-column: auto;
        max-width: 100%;
        margin: 0;
    }
    
    .galeria-modal-grid img {
        height: 200px;
    }
    
    .galeria-modal-close {
        font-size: 2rem;
        top: 0.5rem;
        right: 1rem;
    }
}

/* Enhanced animation classes for scroll-triggered effects */
.animate {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Staggered animations for child elements */
.animate > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease-out;
}

.animate.animate-show > * {
  opacity: 1;
  transform: translateY(0);
}

.animate > *:nth-child(1) { transition-delay: 0.1s; }
.animate > *:nth-child(2) { transition-delay: 0.2s; }
.animate > *:nth-child(3) { transition-delay: 0.3s; }
.animate > *:nth-child(4) { transition-delay: 0.4s; }
.animate > *:nth-child(5) { transition-delay: 0.5s; }

/* Fade in animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

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

/* Slide in from left */
.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease-out;
}

.slide-in-left.animate {
  opacity: 1;
  transform: translateX(0);
}

/* Slide in from right */
.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease-out;
}

.slide-in-right.animate {
  opacity: 1;
  transform: translateX(0);
}

/* Scale in */
.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s ease-out;
}

.scale-in.animate {
  opacity: 1;
  transform: scale(1);
}

/* Animação de contador */
.counter {
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--accent-color);
}

/* Animações adicionais para dinamismo aprimorado */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(161, 118, 93, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(161, 118, 93, 0.8);
    }
}

/* Aplicar animações contínuas a vários elementos */
.navbar,
header .navbar,
.hero .navbar,
nav.navbar {
    /* Cabeçalho estático - sem animação */
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: flex !important;
    z-index: 9999 !important;
    pointer-events: auto !important;
}

.logo img {
    transition: all 0.3s ease;
    /* Logo estático - sem animação */
}

.logo img:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Bordas animadas para cards */
.diferencial-card, .servico-card, .foto-item, .depoimento-card, .blog-post {
    position: relative;
    overflow: hidden;
}

.diferencial-card::before, .servico-card::before, .foto-item::before, 
.depoimento-card::before, .blog-post::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: 0.5s;
}

.diferencial-card:hover::before, .servico-card:hover::before, .foto-item:hover::before, 
.depoimento-card:hover::before, .blog-post:hover::before {
    left: 100%;
}

/* Glowing effect for interactive elements */
.agendar-btn, button {
    /* Removed glow animation to avoid conflicts with pulse animation */
}

/* Continuous rotation for decorative elements */
.foto-legenda {
    /* Removed conflicting animation to ensure hover effect works properly */
}

/* Enhanced hover effects with multiple animations */
.nav-links a {
    transition: all 0.3s ease;
    position: relative;
}

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

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

/* Foto items: ensure images fill the container consistently */
.foto-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
    aspect-ratio: 4/5;
    display: block;
}

.foto-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    animation: float 4s ease-in-out infinite;
}

.foto-item:hover img {
    transform: scale(1.06) rotate(1.5deg);
    animation-play-state: paused;
}

/* Enhanced animations for text elements */
h1, h2, h3 {
    transition: all 0.3s ease;
}

h1:hover, h2:hover, h3:hover {
    transform: scale(1.05);
    color: var(--accent-color);
}

p {
    transition: all 0.3s ease;
}

p:hover {
    transform: translateX(5px);
}

/* Custom cursor for spring effect */
.custom-cursor {
    position: fixed;
    width: 30px;
    height: 30px;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease-out;
    opacity: 1;
}

.cursor-inner {
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    background-color: rgba(161, 118, 93, 0.2);
    transition: all 0.3s ease;
}

.custom-cursor.cursor-hover .cursor-inner {
    transform: scale(1.5);
    background-color: rgba(161, 118, 93, 0.4);
}

/* Animações Básicas */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

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

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

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

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

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

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

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

@keyframes gentleDrift {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

/* Dinâmica suave nas bordas do vídeo sobre */
@keyframes cornerFlow {
    0% { border-radius: 32px 24px 32px 24px; }
    25% { border-radius: 28px 36px 24px 32px; }
    50% { border-radius: 24px 32px 36px 28px; }
    75% { border-radius: 36px 28px 32px 24px; }
    100% { border-radius: 32px 24px 32px 24px; }
}

/* Classes de Animação */
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }
.animate-bounce { animation: bounce 2s infinite; }
.animate-rotate { animation: rotate 10s linear infinite; }
.animate-gradient { animation: gradientShift 15s ease infinite; background-size: 200% 200%; }

.animate-slide-in-left { animation: slideInLeft 0.8s ease-out forwards; }
.animate-slide-in-right { animation: slideInRight 0.8s ease-out forwards; }
.animate-slide-in-up { animation: slideInUp 0.8s ease-out forwards; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Spring-like animations */
.spring-element {
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.spring-hover {
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Custom cursor for spring effect */
.custom-cursor {
    position: fixed;
    width: 30px;
    height: 30px;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease-out;
    opacity: 1;
}

.cursor-inner {
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    background-color: rgba(161, 118, 93, 0.2);
    transition: all 0.3s ease;
}

.custom-cursor.cursor-hover .cursor-inner {
    transform: scale(1.5);
    background-color: rgba(161, 118, 93, 0.4);
}
