/* ============================================
   RESET E CONFIGURAÇÕES GLOBAIS
   ============================================ */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d4a574;
    --secondary-color: #2c2c2c;
    --text-color: #333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

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

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

/* ============================================
   HEADER E NAVEGAÇÃO
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(44, 44, 44, 0.95);
    backdrop-filter: blur(10px);
}

.navbar {
    padding: 12px 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

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

.logo img {
    height: 60px;
    width: auto;
}

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

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.whatsapp-btn {
    background: #25D366;
    color: var(--white);
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 14px;
}

.whatsapp-btn:hover {
    background: #20b858;
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: var(--transition);
}

/* ============================================
   HERO SLIDER - OTIMIZADO PARA MOBILE
   ============================================ */
.hero-slider {
    margin-top: 70px;
    position: relative;
    height: 70vh;
    min-height: 400px;
    max-height: 700px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    /* MUDANÇA CRÍTICA: object-fit contain ao invés de cover */
    object-fit: contain;
    object-position: center;
    background: #f5f5f5;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 10;
}

.slider-controls button {
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid var(--white);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.slider-controls button:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* ============================================
   SEÇÃO INTRODUÇÃO
   ============================================ */
.intro-section {
    padding: 80px 0;
    text-align: center;
    background: var(--white);
}

.main-title {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--secondary-color);
    line-height: 1.3;
}

.main-title strong {
    color: var(--primary-color);
}

.intro-text {
    font-size: 1.3rem;
    margin-bottom: 35px;
    color: var(--text-color);
}

.intro-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

.subtitle {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.subtitle strong {
    color: var(--primary-color);
}

/* ============================================
   SEÇÃO SOBRE
   ============================================ */
.about-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-content {
    padding: 20px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.section-title.center {
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ============================================
   SEÇÃO SERVIÇOS
   ============================================ */
.services-section {
    padding: 70px 0;
    background: var(--white);
}

.services-intro {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 20px auto 50px;
    color: var(--text-color);
}

.service-block {
    margin-bottom: 70px;
    padding: 50px 0;
}

.service-header {
    text-align: center;
    margin-bottom: 35px;
}

.service-title {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.service-description {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============================================
   GALERIA DE FOTOS - SEM CORTES (OTIMIZADO)
   ============================================ */
.gallery-container {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    /* Altura ajustável baseada no conteúdo */
    min-height: 400px;
    height: auto;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    background: #f5f5f5;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    /* MUDANÇA CRÍTICA: contain ao invés de cover para não cortar */
    object-fit: contain;
    object-position: center;
}

/* Botões de navegação */
.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 15px;
}

.gallery-next {
    right: 15px;
}

/* Indicadores (bolinhas) */
.gallery-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.indicator.active {
    background: var(--white);
    width: 30px;
    border-radius: 6px;
}

/* ============================================
   DEPOIMENTOS
   ============================================ */
.testimonials-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 20px;
}

.testimonial-author {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-style: normal;
}

.testimonial-type {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* ============================================
   CTA FINAL
   ============================================ */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), #b8935f);
    text-align: center;
    color: var(--white);
}

.cta-title {
    font-size: 2.3rem;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 35px;
}

.btn-cta {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 16px 50px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-cta:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ============================================
   CONTATO
   ============================================ */
.contact-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.social-links a {
    color: var(--secondary-color);
    transition: var(--transition);
}

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

.contact-form {
    background: var(--light-bg);
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    cursor: pointer;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.scroll-top {
    display: inline-block;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 20px;
    padding: 10px 30px;
    border: 2px solid var(--white);
    border-radius: 30px;
    transition: var(--transition);
    font-size: 16px;
}

.scroll-top:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.footer p {
    margin: 10px 0;
    font-size: 14px;
}

/* ============================================
   RESPONSIVO - MOBILE FIRST
   ============================================ */

/* Tablets */
@media (max-width: 968px) {
    .main-title {
        font-size: 2rem;
        padding: 0 10px;
    }
    
    .intro-text {
        font-size: 1.15rem;
        padding: 0 10px;
    }
    
    .subtitle {
        font-size: 1.5rem;
        padding: 0 10px;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .gallery-container {
        max-width: 95%;
        min-height: 350px;
    }
    
    .gallery-prev,
    .gallery-next {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
    
    .gallery-prev {
        left: 10px;
    }
    
    .gallery-next {
        right: 10px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 66px; /* Ajustado para o header menor */
        flex-direction: column;
        background-color: var(--secondary-color);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        padding: 30px 0;
        gap: 0;
    }
    
    .logo-image {
        height: 50px;
    }

    .nav-menu li {
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .whatsapp-btn {
        display: none;
    }

    .service-title {
        font-size: 1.8rem;
    }

    .intro-section,
    .about-section,
    .services-section,
    .testimonials-section,
    .contact-section,
    .cta-section {
        padding: 60px 0;
    }
}

/* Mobile - OTIMIZAÇÕES CRÍTICAS */
@media (max-width: 600px) {
    /* Header mais compacto no mobile */
    .navbar {
        padding: 8px 0;
    }
    
    .logo-image {
        height: 50px !important;
    }
    
    .logo img {
        height: 50px !important;
    }
    
    /* Hero otimizado para mobile */
    .hero-slider {
        height: 60vh;
        min-height: 350px;
        max-height: 500px;
        margin-top: 66px; /* Ajustado para o header menor */
    }

    .slider-controls {
        bottom: 15px;
        gap: 15px;
    }

    .slider-controls button {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }
    
    /* Textos redimensionados para mobile */
    .main-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .intro-text {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .subtitle {
        font-size: 1.3rem;
    }
    
    /* Depoimentos empilhados */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-card {
        padding: 25px 20px;
    }
    
    /* Galeria otimizada para mobile */
    .gallery-container {
        max-width: 100%;
        margin: 30px 0;
        min-height: 300px;
        border-radius: 10px;
        /* Aspect ratio mais quadrado para mobile */
        aspect-ratio: 1 / 1;
    }
    
    .gallery-prev,
    .gallery-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .gallery-prev {
        left: 8px;
    }

    .gallery-next {
        right: 8px;
    }

    .gallery-indicators {
        bottom: 10px;
        gap: 8px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .indicator.active {
        width: 24px;
    }
    
    /* Títulos redimensionados */
    .section-title {
        font-size: 1.8rem;
        padding: 0 10px;
    }
    
    .service-title {
        font-size: 1.5rem;
        padding: 0 10px;
    }

    .service-description {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    /* Formulário de contato */
    .contact-form {
        padding: 25px 20px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px;
        font-size: 15px;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 15px;
    }
    
    /* CTA */
    .cta-title {
        font-size: 1.6rem;
        padding: 0 15px;
    }
    
    .cta-text {
        font-size: 1rem;
        padding: 0 15px;
    }

    .btn-cta {
        padding: 14px 40px;
        font-size: 1rem;
    }

    /* Espaçamentos reduzidos */
    .intro-section,
    .about-section,
    .services-section,
    .testimonials-section,
    .contact-section,
    .cta-section {
        padding: 50px 0;
    }

    .service-block {
        margin-bottom: 50px;
        padding: 35px 0;
    }

    /* Logo menor no mobile */
    .logo img,
    .logo h2 {
        font-size: 20px !important;
    }

    /* Footer otimizado */
    .scroll-top {
        padding: 8px 25px;
        font-size: 14px;
    }
}

/* Mobile pequeno (iPhone SE, etc) */
@media (max-width: 375px) {
    .main-title {
        font-size: 1.4rem;
    }

    .intro-text {
        font-size: 0.95rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .gallery-container {
        min-height: 280px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .service-title {
        font-size: 1.4rem;
    }
}
/* ============================================
   BOTÕES FLUTUANTES - WhatsApp e Instagram
   ============================================ */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.floating-whatsapp,
.floating-instagram {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.floating-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

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

.floating-whatsapp:hover,
.floating-instagram:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.floating-whatsapp:hover {
    background: linear-gradient(135deg, #128c7e 0%, #075e54 100%);
}

.floating-instagram:hover {
    background: linear-gradient(135deg, #bc1888 0%, #8a3ab9 100%);
}

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

/* Responsivo para mobile */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }
    
    .floating-whatsapp,
    .floating-instagram {
        width: 55px;
        height: 55px;
    }
    
    .floating-whatsapp svg,
    .floating-instagram svg {
        width: 24px;
        height: 24px;
    }
}

/* ============================================
   CRÉDITOS DO DESENVOLVEDOR NO FOOTER
   ============================================ */
.developer-credits {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.developer-credits a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.developer-credits a:hover {
    color: #fff;
    text-decoration: underline;
}
html {
    scroll-padding-top: 80px; /* Ajuste para a altura do cabeçalho fixo */
}