/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8B4545; /* Marrom/Vinho da logo */
    --secondary-color: #D4C7B8; /* Bege/Cinza da logo */
    --accent-color: #A0522D; /* Marrom mais quente para destaque */
    --white: #FFFFFF;
    --light-gray: #F5F5F5; /* Cinza muito claro */
    --dark-gray: #333333; /* Cinza escuro para texto */
    --text-dark: #333333;
    --text-light: #5A6270; 
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --font-accent: 'Playfair Display', serif;
    
    --shadow-light: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-heavy: 0 8px 30px rgba(0,0,0,0.18);
    
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

main {
    padding-top: 110px; 
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    height: 110px;
}

.logo img {
    max-height: 70px;
    width: auto;
    transition: var(--transition);
}
.logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding-bottom: 8px;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-cta {
    display: block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    display: inline-block;
    border: none;
    cursor: pointer;
}

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

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    padding: 10px 24px;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

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

/* ===== MENU MOBILE STYLES ===== */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1010;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px 0;
    border-radius: 3px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 110px);
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--light-gray) 0%, rgba(212, 199, 184, 0.1) 100%);
    overflow: hidden;
}

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

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(139, 69, 69, 0.3) 2px, transparent 2px),
        radial-gradient(circle at 80% 80%, rgba(212, 199, 184, 0.2) 1px, transparent 1px),
        radial-gradient(circle at 40% 60%, rgba(160, 82, 45, 0.2) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px, 200px 200px;
    animation: float 20s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 2rem;
}

.hero-text {
    max-width: 650px; 
    margin-left: 2rem;
}

.hero-title {
    /* AJUSTE FLUIDO */
    font-size: clamp(2.5rem, 5vw + 1rem, 3.5rem);
    font-family: var(--font-heading); 
    font-weight: 700; 
    line-height: 1.2;
    margin-bottom: 1rem; 
    color: var(--text-dark);
}

.hero-title .highlight {
    color: var(--primary-color); position: relative;
}

.hero-title .highlight::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.3rem; color: var(--text-light); margin-bottom: 2rem; font-weight: 400;
}

.hero-stats {
    display: flex; gap: 3rem; margin-bottom: 2rem;
}

.stat { text-align: center; }
.stat-number {
    display: block; font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700; color: var(--primary-color);
}
.stat-label {
    font-size: 0.9rem; color: var(--text-light); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px;
}

.hero-ctas {
    display: flex; gap: 1rem; flex-wrap: wrap;
}

/* Sections */
.section-title {
    /* AJUSTE FLUIDO */
    font-size: clamp(2.2rem, 4vw + 1rem, 2.5rem);
    font-family: var(--font-heading);
    text-align: center; 
    margin-bottom: 3rem;
    color: var(--text-dark); 
    position: relative;
}

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

/* Sobre Section */
.sobre {
    padding: 5rem 0; background: var(--white);
}

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

.profile-image {
    width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
    border-radius: var(--border-radius); box-shadow: var(--shadow-medium);
}

.sobre-text h2 {
    /* AJUSTE FLUIDO E CORREÇÃO DE QUEBRA DE LINHA */
    font-size: clamp(2rem, 5vw, 2.5rem);
    white-space: nowrap; /* Impede a quebra de linha */
    font-family: var(--font-heading); 
    color: var(--text-dark);
    margin-bottom: 0.5rem; 
    font-weight: 700;
}

.sobre-text h3 {
    font-size: 1.3rem; color: var(--primary-color); margin-bottom: 1.5rem; font-weight: 600;
}

.sobre-text p {
    margin-bottom: 1.5rem; color: var(--text-light); font-size: 1.1rem;
}

.certificacoes {
    display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem;
}

.cert {
    display: flex; align-items: center; gap: 1rem; padding: 1rem;
    background: var(--light-gray); border-radius: var(--border-radius); transition: var(--transition);
}

.cert:hover {
    transform: translateX(10px); box-shadow: var(--shadow-light);
}

.cert span[role="img"] { font-size: 1.5rem; color: var(--primary-color); }

/* (O restante do CSS permanece o mesmo da versão anterior, pois já estava funcional) */
/* Serviços Section */
.servicos { padding: 5rem 0; background: var(--light-gray); }
.servicos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.servico-card {
    background: var(--white); padding: 2.5rem 2rem; border-radius: var(--border-radius); text-align: center;
    box-shadow: var(--shadow-light); transition: var(--transition); position: relative; overflow: hidden;
}
.servico-card::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color)); transition: var(--transition);
}
.servico-card:hover::before { left: 0; }
.servico-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-medium); }
.card-icon { font-size: 3rem; margin-bottom: 1rem; color: var(--primary-color); }
.servico-card h3 { font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 1rem; color: var(--text-dark); }
.servico-card p { color: var(--text-light); margin-bottom: 1.5rem; line-height: 1.6; }
.card-link { color: var(--primary-color); text-decoration: none; font-weight: 600; transition: var(--transition); }
.card-link:hover { color: var(--accent-color); }

/* Diferenciais Section */
.diferenciais { padding: 5rem 0; background: linear-gradient(135deg, var(--primary-color), var(--accent-color)); color: var(--white); }
.diferenciais .section-title { color: var(--white); }
.diferenciais .section-title::after { background: var(--white); }
.diferenciais-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; }
.diferencial { text-align: center; padding: 2rem; }
.diferencial-icon { font-size: 3rem; margin-bottom: 1rem; display: block; }
.diferencial h3 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 1rem; }
.diferencial p { opacity: 0.9; line-height: 1.6; }

/* Contato Section */
.contato { padding: 5rem 0; background: var(--white); }
.contato-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: flex-start; }
.contato-info h3 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 2rem; color: var(--text-dark); }
.info-item { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.info-icon { font-size: 1.2rem; color: var(--primary-color); }
.contato-form form { display: flex; flex-direction: column; gap: 1rem; }
.contato-form input, .contato-form textarea {
    padding: 1rem; border: 1px solid #ddd; border-radius: var(--border-radius);
    font-family: var(--font-body); font-size: 1rem; transition: var(--transition);
}
.contato-form input:focus, .contato-form textarea:focus {
    outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(139, 69, 69, 0.1);
}
.contato-form .form-success-message {
    padding: 2rem; text-align: center; background-color: var(--light-gray);
    border-radius: var(--border-radius); color: var(--text-dark);
}

/* Footer */
.footer { background: var(--dark-gray); color: var(--white); padding: 3rem 0 1rem; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-logo img {
    max-width: 150px;
    height: auto;
    margin-bottom: 1rem;
    filter: brightness(1.2)
}
.footer-links ul { list-style: none; padding: 0;}
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--white); text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--primary-color); padding-left: 5px; }
.social-links { display: flex; gap: 1rem; }
.social-link {
    color: var(--white); text-decoration: none; padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1); border-radius: var(--border-radius); transition: var(--transition);
}
.social-link:hover { background: var(--primary-color); transform: translateY(-2px); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1); opacity: 0.7; font-size: 0.9rem;}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed; bottom: 2rem; right: 2rem; width: 60px; height: 60px; background: #25D366;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; color: var(--white); text-decoration: none; box-shadow: var(--shadow-medium);
    z-index: 999; transition: var(--transition); animation: pulse-whatsapp 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: var(--shadow-heavy); }
@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== GALERIA DE FOTOS ===== */
.galeria { padding: 80px 0; background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); overflow: hidden; }
.section-subtitle { text-align: center; font-size: 1.1rem; color: #6c757d; margin-bottom: 50px; max-width: 600px; margin-left: auto; margin-right: auto; }
.galeria-container { position: relative; max-width: 100%; margin: 0 auto; }
.galeria-wrapper { overflow: hidden; border-radius: 15px; position: relative; }
.galeria-grid { display: flex; transition: transform 0.5s ease; gap: 20px; padding: 0 20px; }
.galeria-item { position: relative; border-radius: 15px; overflow: hidden; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); flex: 0 0 300px; height: 225px; }
.galeria-item:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); }
.galeria-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.galeria-item:hover img { transform: scale(1.05); }
.galeria-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(139, 69, 19, 0.8); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.galeria-item:hover .galeria-overlay { opacity: 1; }
.galeria-icon { font-size: 2rem; color: white; }
.galeria-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(139, 69, 19, 0.8); color: white; border: none; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; font-size: 20px; transition: all 0.3s ease; z-index: 10; }
.galeria-nav:hover { background: var(--primary-color); transform: translateY(-50%) scale(1.1); }
.galeria-prev { left: 10px; }
.galeria-next { right: 10px; }
.galeria-indicators { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.indicator { width: 12px; height: 12px; border-radius: 50%; background: rgba(139, 69, 19, 0.3); cursor: pointer; transition: all 0.3s ease; border: none; padding: 0; }
.indicator.active { background: var(--primary-color); transform: scale(1.2); }

/* ===== MODAIS ===== */
.galeria-modal, .servico-modal { display: none; position: fixed; z-index: 1001; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.9); animation: fadeIn 0.3s ease; }
.servico-modal { background-color: rgba(0, 0, 0, 0.8); backdrop-filter: blur(5px); }
.galeria-modal.active, .servico-modal.active { display: flex; align-items: center; justify-content: center; }
.servico-modal.active { padding: 20px; }
.modal-content { position: relative; max-width: 90%; max-height: 90%; margin: auto; }
.modal-image { width: 100%; height: auto; max-height: 80vh; object-fit: contain; border-radius: 10px; }
.modal-close { position: absolute; top: -40px; right: 0; color: white; font-size: 35px; font-weight: bold; cursor: pointer; transition: color 0.3s ease; background: none; border: none; }
.modal-close:hover { color: #8b4513; }
.modal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 100%; display: flex; justify-content: space-between; pointer-events: none; }
.modal-prev, .modal-next { background: rgba(139, 69, 19, 0.8); color: white; border: none; font-size: 24px; padding: 15px 20px; cursor: pointer; border-radius: 50%; transition: all 0.3s ease; pointer-events: all; }
.modal-prev:hover, .modal-next:hover { background: #8b4513; transform: scale(1.1); }
.modal-prev { margin-left: -60px; }
.modal-next { margin-right: -60px; }
.servico-modal-content { background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%); border-radius: 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); max-width: 600px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; animation: slideUp 0.3s ease-out; border: 1px solid rgba(255, 255, 255, 0.2); }
.servico-modal-close { position: absolute; top: 20px; right: 25px; font-size: 28px; font-weight: bold; color: #999; cursor: pointer; transition: all 0.3s ease; z-index: 1002; width: 35px; height: 35px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, 0.9); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); border: none; }
.servico-modal-close:hover { color: #333; background: rgba(255, 255, 255, 1); transform: scale(1.1); }
.servico-modal-header { text-align: center; padding: 40px 30px 20px; background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%); border-radius: 20px 20px 0 0; color: white; position: relative; }
.servico-modal-icon { font-size: 60px; margin-bottom: 15px; display: block; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2)); }
.servico-modal-title { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; margin: 0; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); }
.servico-modal-body { padding: 30px; }
.servico-modal-description { font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.8; color: #444; margin-bottom: 30px; text-align: justify; }
.servico-modal-actions { text-align: center; padding-top: 20px; border-top: 1px solid #eee; }
.servico-modal-actions .btn-primary { display: inline-block; padding: 15px 30px; font-size: 16px; font-weight: 600; text-decoration: none; border-radius: 50px; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(139, 75, 140, 0.3); }
.servico-modal-actions .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(139, 75, 140, 0.4); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(50px) scale(.9); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
    .nav-cta { display: none; }
    .sobre-content, .contato-content { gap: 2rem; }
}

@media (max-width: 768px) {
    main { padding-top: 90px; }
    .nav-container { height: 90px; padding: 1rem; }
    .logo img { max-height: 50px; }
    .nav-toggle { display: block; }
    .nav-menu { position: fixed; top: 90px; right: -100%; width: 100%; height: calc(100vh - 90px); background: rgba(255, 255, 255, 0.98); flex-direction: column; align-items: center; justify-content: center; gap: 2rem; transition: right 0.4s ease-in-out; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
    .nav-menu.active { right: 0; }
    .nav-menu a { font-size: 1.5rem; }
    .hero-text { margin-left: 0; text-align: center; }
    .hero-stats { flex-direction: column; gap: 1rem; align-items: center; }
    .hero-ctas { flex-direction: column; align-items: center; }
    .sobre-content, .contato-content { grid-template-columns: 1fr; gap: 3rem; }
    .sobre-text h2 { white-space: normal; } /* Permite quebra de linha em telas muito pequenas se necessário */
    .container { padding: 0 1rem; }
    .galeria { padding: 60px 0; }
    .galeria-item { flex: 0 0 250px; height: 188px; }
    .galeria-nav { width: 40px; height: 40px; font-size: 16px; }
    .modal-content { max-width: 95%; max-height: 95%; }
    .modal-close { top: -30px; font-size: 28px; }
    .modal-prev, .modal-next { font-size: 20px; padding: 12px 16px; margin: 0 -20px;}
    .servico-modal-content { margin: 10px; border-radius: 15px; max-height: 95vh; }
    .servico-modal-header { padding: 30px 20px 15px; border-radius: 15px 15px 0 0; }
    .servico-modal-icon { font-size: 50px; margin-bottom: 10px; }
    .servico-modal-title { font-size: 24px; }
    .servico-modal-body { padding: 20px; }
    .servico-modal-description { font-size: 15px; line-height: 1.7; }
    .servico-modal-close { top: 15px; right: 20px; font-size: 24px; width: 30px; height: 30px; }
    .footer-logo-img { max-width: 120px; }
}

@media (max-width: 480px) {
    .hero-subtitle { font-size: 1.1rem; }
    .servicos-grid, .diferenciais-grid { grid-template-columns: 1fr; }
    .contato-content { gap: 2rem; }
    .footer-content { text-align: center; }
    .social-links { justify-content: center; }
    .galeria-item { flex: 0 0 100%; height: 220px; }
    .galeria-nav { width: 35px; height: 35px; font-size: 14px; }
    .section-subtitle { font-size: 1rem; margin-bottom: 30px; }
    .modal-prev, .modal-next { margin: 0 -10px;}
    .servico-modal-header { padding: 25px 15px 10px; }
    .servico-modal-icon { font-size: 45px; }
    .servico-modal-title { font-size: 22px; }
    .servico-modal-body { padding: 15px; }
    .servico-modal-actions .btn-primary { padding: 12px 25px; font-size: 15px; }
}