@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Montserrat:wght@700;900&family=Playfair+Display:wght@700;900&display=swap');

/* Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #1a5490;
    --secondary-color: #0d2f52;
    --accent-color: #2b7bc9;
    --dark-color: #0a1929;
    --light-color: #f5f7fa;
    --gray-color: #64748b;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #1a5490 0%, #2b7bc9 100%);
    --gradient-dark: linear-gradient(135deg, #0a1929 0%, #1e293b 100%);
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.18);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--dark-color);
    overflow-x: hidden;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

/* Remove sublinhado da logo e do título */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
}

.logo h1 {
    color: var(--dark-color);
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
    text-decoration: none !important;
}

/* Impede sublinhado ao passar o mouse */
.logo:hover,
.logo:focus,
.logo:active {
    text-decoration: none !important;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link.active-link {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after, .nav-link.active-link::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    transition: all 0.3s ease;
}

/* Hero Section */
/* Hero Section (Estática) */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--dark-color); /* <-- MUDANÇA AQUI */
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* --- MUDANÇAS AQUI --- */
    background-image: url('espelho.png'); 
    background-size: cover;
    background-position: center;
    filter: blur(4px); /* <-- APLICA O DESFOQUE (ajuste 4px como quiser) */
    transform: scale(1.1); /* (Evita bordas desfocadas estranhas) */
    opacity: 1; /* Garante que a imagem apareça */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* <-- MUDANÇA AQUI (mais escuro) */
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s ease;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    letter-spacing: -1px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 900; /* <-- MUDANÇA AQUI */
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem; /* <-- MUDANÇA AQUI */
    box-shadow: var(--shadow-sm);
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    box-shadow: none;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-whatsapp .whatsapp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
}

.btn-whatsapp .whatsapp-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--white);
    stroke-width: 2.5;
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-full {
    width: 100%;
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--gray-color);
    max-width: 650px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.8;
}

/* Serviços */
.servicos {
    background: var(--light-color);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.servico-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.servico-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.servico-img-container {
    height: 200px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.servico-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.servico-card:hover .servico-img {
    transform: scale(1.05);
}

.servico-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.servico-card p {
    color: var(--gray-color);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Diferenciais */
.diferenciais {
    background-color: var(--white);
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    justify-content: center;
}

.diferencial-item {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.diferencial-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

/* --- ESTILO DO ÍCONE CORRIGIDO --- */
.diferencial-icon {
    font-size: 2.5rem; /* Ajustado para Font Awesome */
    margin-bottom: 1rem;
    color: var(--primary-color);
    display: inline-block;
    /* 'width' e 'height' removidos */
}

/* REGRA ANTIGA '.diferencial-icon svg' REMOVIDA */

.diferencial-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.diferencial-item p {
    color: var(--gray-color);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* CTA Section */
.cta {
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 400;
}

/* Contato */
.contato {
    background: var(--light-color);
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-icon {
    flex-shrink: 0;
    color: var(--primary-color);
    width: 36px;
    height: 36px;
}

.info-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 2;
}

.info-text h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

.info-text p,
.info-text a {
    color: var(--gray-color);
    text-decoration: none;
}

.info-text a:hover {
    color: var(--primary-color);
}

.contato-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.form-status {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 8px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    text-align: center;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
}

.footer-logo p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-social .social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.footer-social .social-link:hover {
    color: var(--accent-color);
}

.footer-social .social-link i {
    font-size: 1.5rem;
}

.footer-info {
    text-align: right;
}

.footer-info p {
    opacity: 0.7;
    font-size: 0.9rem;
    margin: 0;
}

.developer-credit {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
        justify-content: center;
        align-items: center;
    }

    .nav-link {
        font-size: 1.25rem;
    }

    .nav.active {
        left: 0;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* --- "X" DO MENU CORRIGIDO --- */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    /* --- FIM DA CORREÇÃO --- */

    .hero {
        min-height: 500px;
        height: 80vh;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    section {
        padding: 3rem 0;
    }

    .servicos-grid {
        grid-template-columns: 1fr;
    }

    .contato-content {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-info {
        text-align: center;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Estilo para sublinhar o link do endereço */
.info-text a.address-link {
    text-decoration: underline;
}

.info-text a.address-link:hover {
    text-decoration: underline; /* Garante que o sublinhado permaneça no hover */
}
/* =======================
   Estilos da Galeria
======================== */
.galeria {
    background-color: var(--white); /* Fundo branco para alternar com as outras seções */
}

.galeria-grid {
    display: grid;
    /* Cria 3 colunas em desktop, 2 em tablet e 1 em mobile */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.galeria-item {
    position: relative;
    /* height: 250px; */  /* <-- LINHA REMOVIDA */
    aspect-ratio: 4 / 5;   /* <-- LINHA ADICIONADA (4 de largura para 5 de altura) */
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

/* --- NOVO BLOCO ADICIONADO (PARA O LINK DO LIGHTBOX) --- */
.galeria-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que a imagem cubra o espaço sem distorcer */
    transition: transform 0.4s ease;
}

.galeria-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.galeria-item:hover img {
    transform: scale(1.05); /* Efeito de zoom na imagem */
}