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

:root {
    /* Cores baseadas na logo */
    --primary-color: #c4968a;
    --primary-dark: #a67c70;
    --primary-light: #d4a898;
    --secondary-color: #f5f1f0;
    --accent-color: #8b6f63;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --white: #ffffff;
    --gray-light: #f8f8f8;
    --gray-medium: #e0e0e0;
    
    /* Typography */
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    --border-radius: 8px;
    --border-radius-large: 16px;
    
    /* Shadows */
    --shadow-light: 0 2px 10px rgba(196, 150, 138, 0.1);
    --shadow-medium: 0 4px 20px rgba(196, 150, 138, 0.15);
    --shadow-heavy: 0 8px 30px rgba(196, 150, 138, 0.2);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-family: var(--font-secondary);
}

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

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

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

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

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

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

.navbar {
    padding: 1rem 0;
}

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

.nav-logo a {
    text-decoration: none;
}

.nav-logo .logo-img {
    height: 80px;
    width: auto;
    cursor: pointer;
    transition: var(--transition);
}

.nav-logo .logo-img:hover {
    transform: scale(1.05);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 100px; /* ✨ ADICIONE ESTA LINHA PARA EMPURRAR O CONTEÚDO PARA BAIXO ✨ */
}


.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.hero-subtitle {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 400;
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

/* =============================================== */
/* SCRIPT PARA IMAGEM HERO 100% VISÍVEL */
/* =============================================== */

/* =============================================== */
/*      ESTILOS DA IMAGEM HERO (CORRIGIDO)         */
/* =============================================== */

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Define uma altura máxima para a imagem no desktop */
    max-height: 500px; 
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-heavy);
    object-position: center 70%; /* ✨ ADICIONE ESTA LINHA ✨ */
}


/* --- Ajustes para Celular --- */
/* --- Ajustes para Celular --- */
@media (max-width: 768px) {
    .hero-image {
        height: auto; 
        /* max-height: 40vh; */ /* <<<<<<< REMOVA OU COMENTE ESTA LINHA */
        order: -1;
    }
}


/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--white);
}

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

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

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

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

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.feature span {
    font-weight: 500;
    color: var(--text-dark);
}

/* Services Section */
.services {
    padding: var(--section-padding);
    background: var(--gray-light);
}

.services-grid {
    display: grid;
    gap: 3rem;
}

.service-category {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.service-category:hover {
    box-shadow: var(--shadow-medium);
}

.category-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.service-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.service-item {
    background: linear-gradient(145deg, #ffffff 0%, #fefefe 100%);
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(199, 144, 129, 0.05);
    border: 1px solid rgba(199, 144, 129, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 20px 20px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-item:hover::before {
    opacity: 1;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(199, 144, 129, 0.1);
}

.service-item-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-item:hover .service-item-img {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.service-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    min-width: 20px;
    transition: var(--transition);
    margin-bottom: 15px;
}

.service-item:hover i {
    color: var(--primary-color);
}

.service-item h4 {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.service-item:hover h4 {
    color: var(--primary-color);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 0;
    border-radius: var(--border-radius-large);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    animation: slideIn 0.3s ease;
    position: relative;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 2rem;
    position: relative;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-family: var(--font-primary);
}

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: var(--white);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.close:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.modal-body {
    padding: 2rem;
    max-height: 50vh;
    overflow-y: auto;
}

.modal-body h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-family: var(--font-primary);
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.modal-body ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.modal-body li {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.modal-footer {
    padding: 1.5rem 2rem;
    background: var(--gray-light);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    border-top: 1px solid var(--gray-medium);
}

.modal-footer .btn-primary,
.modal-footer .btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

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

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

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--gray-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-item:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

/* Map Container */
.map-container {
    margin-top: 2rem;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.map-container:hover {
    box-shadow: var(--shadow-heavy);
    transform: translateY(-2px);
}

.map-placeholder {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 3rem 2rem;
    text-align: center;
    color: var(--white);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-info i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.map-info h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.map-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.map-info .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    font-weight: 600;
}

.map-info .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.map-info .btn-primary i {
    font-size: 1rem;
    margin-right: 0.5rem;
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: var(--border-radius-large);
}

.contact-form {
    background: linear-gradient(145deg, #ffffff 0%, #f9f7f5 100%);
    padding: 50px;
    border-radius: 25px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(199, 144, 129, 0.1);
    border: 1px solid rgba(199, 144, 129, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 25px 25px 0 0;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 18px 24px;
    border: 2px solid #e8e8e8;
    border-radius: 15px;
    font-size: 16px;
    font-family: var(--font-secondary);
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    width: 100%;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 
        0 0 0 4px rgba(199, 144, 129, 0.1),
        0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 50px;
}

.contact-form optgroup {
    font-weight: 600;
    color: var(--primary-color);
    background: #f8f4f0;
}

.contact-form option {
    padding: 10px;
    color: var(--text-dark);
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
    font-family: var(--font-secondary);
}

.contact-form .btn-primary {
    margin-top: 10px;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(199, 144, 129, 0.3);
    position: relative;
    overflow: hidden;
}

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

.contact-form .btn-primary:hover::before {
    left: 100%;
}

.contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(199, 144, 129, 0.4);
}

.contact-form .btn-primary:active {
    transform: translateY(-1px);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo a {
    text-decoration: none;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    cursor: pointer;
    transition: var(--transition);
}

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

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-link.whatsapp {
    background: #25D366;
    color: var(--white);
}

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

.social-link.facebook {
    background: #1877F2;
    color: var(--white);
}

.social-link.tiktok {
    background: #000000;
    color: var(--white);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-medium);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.8rem;
    box-shadow: var(--shadow-heavy);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-medium);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .nav-cta {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        height: 300px;
        order: -1;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .service-items {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float a {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-footer {
        padding: 1rem 1.5rem;
        flex-direction: column;
    }
    
    .modal-footer .btn-primary,
    .modal-footer .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-category {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 20px;
    }
}

/* Scroll Animations */
@media (prefers-reduced-motion: no-preference) {
    .service-category,
    .contact-item,
    .feature {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.6s ease forwards;
    }
    
    .service-category:nth-child(1) { animation-delay: 0.1s; }
    .service-category:nth-child(2) { animation-delay: 0.2s; }
    .service-category:nth-child(3) { animation-delay: 0.3s; }
    .service-category:nth-child(4) { animation-delay: 0.4s; }
    .service-category:nth-child(5) { animation-delay: 0.5s; }
    .service-category:nth-child(6) { animation-delay: 0.6s; }
    
    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

