/* ====================================================== */
/* 1. ESTILOS GERAIS E MOBILE-FIRST (BASE)                */
/* ====================================================== */

/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variáveis de Cor e Fontes */
:root {
    --color-primary: #87CEEB;   /* Azul Claro */
    --color-secondary: #6ab04c; /* Verde Grama */
    --color-accent1: #E2725B;   /* Terracota */
    --color-accent2: #F0E68C;   /* Amarelo Palha */
    --color-text: #333333;      /* Cor principal do texto */
    --color-background: #fdfdfd; /* Fundo levemente off-white */
    --font-main: 'Poppins', sans-serif;
    --top-bar-height: 38px;
}

/* Estilos Base da Página */
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); color: var(--color-text); background-color: var(--color-background); }
.container { width: 90%; max-width: 1100px; margin: 0 auto; }

/* Barra de Urgência Superior (Não-fixa no mobile) */
.top-bar { position: absolute; top: 0; left: 0; width: 100%; height: var(--top-bar-height); z-index: 1001; background-color: rgba(226, 114, 91, 0.7); color: white; font-size: 0.9rem; font-weight: 600; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; padding: 0 10px; text-align: center; }
.address-message { display: none; }

/* Header (Não-fixo no mobile) */
.main-header { position: absolute; top: var(--top-bar-height); left: 0; width: 100%; padding: 10px 0; z-index: 1000; transition: background-color 0.4s ease-out; }
.main-header.scrolled { background-color: rgba(44, 62, 80, 0.7); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.main-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo-container { display: flex; align-items: center; text-decoration: none; }
.logo { width: 40px; height: auto; }
.brand-text { display: flex; flex-direction: column; margin-left: 10px; }
.logo-text { color: white; font-size: 1rem; font-weight: 700; text-shadow: 1px 1px 3px rgba(0,0,0,0.5); line-height: 1.1; }
.logo-slogan { color: white; font-size: 0.65rem; font-weight: 400; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); letter-spacing: 0.5px; }
.header-whatsapp-btn { display: flex; align-items: center; background-color: transparent; border: 2px solid white; color: white; padding: 8px; border-radius: 50px; text-decoration: none; font-weight: 600; transition: background-color 0.3s ease, color 0.3s ease; }
.header-whatsapp-btn span { display: none; }
.header-whatsapp-btn svg { margin-right: 0; }
.header-whatsapp-btn:hover { background-color: white; color: var(--color-text); }

/* Hero Section */
#hero { height: 100vh; display: flex; justify-content: center; align-items: center; text-align: center; color: white; position: relative; overflow: hidden; }
.hero-slider, .slider-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.hero-slider { z-index: 0; }
.slider-image { background-size: cover; background-position: center; opacity: 0; transition: opacity 2s ease-in-out; z-index: 1; }
.slider-image.active { opacity: 1; }
#tsparticles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; }
#hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 3; }
.hero-content { position: relative; z-index: 4; padding: 20px; padding-top: 150px; max-width: 800px; }
.hero-title { font-size: 2.2rem; font-weight: 700; margin-bottom: 20px; line-height: 1.2; }
.hero-subtitle { font-size: 1rem; font-weight: 400; margin-bottom: 30px; }
.cta-button { display: inline-block; background-color: var(--color-secondary); color: white; padding: 12px 28px; font-size: 1rem; font-weight: 600; text-decoration: none; border-radius: 50px; transition: transform 0.3s ease, background-color 0.3s ease; }
.cta-button:hover { transform: scale(1.05); background-color: #5a9a3f; }

/* Estilos Gerais das Seções */
section { padding: 60px 0; text-align: center; }
.section-title { font-size: 2rem; font-weight: 700; color: var(--color-text); margin-bottom: 20px; }
.section-description { font-size: 1.1rem; max-width: 700px; margin: 0 auto 40px auto; line-height: 1.6; }

/* Seção Sobre (com Ícones) */
#sobre { background-color: #ffffff; }
.diferenciais h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 25px; color: var(--color-secondary); }
.diferenciais ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 15px; }
.diferenciais li { font-size: 1.1rem; display: flex; align-items: center; text-align: left; }
.diferenciais li svg { width: 32px; height: 32px; stroke-width: 1.5; color: var(--color-secondary); margin-right: 15px; flex-shrink: 0; }

/* Seção Galeria (com Lightbox) */
#galeria { background-color: var(--color-background); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 40px; }
.gallery-grid img { width: 100%; height: 250px; object-fit: cover; border-radius: 10px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.gallery-grid img:hover { transform: scale(1.05); box-shadow: 0 8px 16px rgba(0,0,0,0.2); }

/* Seção Preços (com Benefícios e Urgência) */
#precos { background-color: var(--color-background); }
.pricing-container { display: flex; justify-content: center; align-items: center; flex-direction: column; gap: 30px; margin-top: 50px; }
.price-card { background-color: #fff; padding: 40px 30px; border-radius: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); width: 100%; max-width: 350px; transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.price-card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0,0,0,0.12); }
.price-card-title { font-size: 1.5rem; font-weight: 600; margin-bottom: 15px; color: var(--color-secondary); }
.price { font-size: 3.5rem; font-weight: 700; color: var(--color-text); margin-bottom: 5px; }
.price-details { font-size: 1rem; color: #777; margin-bottom: 20px; }
.price-features { list-style: none; padding: 0; margin-bottom: 20px; text-align: left; flex-grow: 1; }
.price-features li { margin-bottom: 8px; }
.price-note { font-size: 0.9rem; color: var(--color-accent1); font-weight: 600; margin-top: 15px; }
.price-card.highlight { border: 2px solid var(--color-secondary); }

/* Seção Avaliações (com Prova Social) */
#avaliacoes { background-color: #ffffff; }
.reviews-carousel-wrapper { position: relative; overflow: hidden; max-width: 1200px; margin: 50px auto 0 auto; }
#reviewsContainer { display: flex; transition: transform 0.5s ease-in-out; }
.review-card { background-color: var(--color-background); border-left: 5px solid var(--color-primary); padding: 30px; border-radius: 10px; box-shadow: 0 4px 8px rgba(0,0,0,0.05); flex: 0 0 100%; max-width: 100%; }
.review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; flex-wrap: wrap; gap: 10px; }
.review-stars { font-size: 1.2rem; color: var(--color-accent2); }
.review-source { display: flex; align-items: center; gap: 5px; font-size: 0.8rem; color: #777; }
.review-source svg { width: 16px; height: 16px; }
.review-text { font-size: 1rem; line-height: 1.6; font-style: italic; color: #555; margin-bottom: 15px; text-align: left; position: relative; }
.review-quote { font-size: 3rem; color: var(--color-primary); opacity: 0.2; position: absolute; top: -10px; left: -15px; }
.review-author { font-size: 1rem; font-weight: 600; color: var(--color-text); text-align: right; }
.carousel-controls { text-align: center; margin-top: 20px; }
.carousel-btn { background-color: var(--color-primary); color: white; border: none; padding: 10px 20px; border-radius: 50px; font-size: 1.5rem; cursor: pointer; margin: 0 10px; transition: background-color 0.3s ease; }
.carousel-btn:hover { background-color: #6aadda; }

/* Seção Localização (com Pontos de Referência) */
#localizacao { background-color: var(--color-background); }
.map-container { margin-top: 50px; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.map-container iframe { width: 100%; height: 450px; border: none; }
.reference-points { margin-top: 40px; }
.reference-points h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 25px; color: var(--color-text); }
.reference-points ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 15px; max-width: 600px; margin: 0 auto; }
.reference-points li { font-size: 1.1rem; display: flex; align-items: center; text-align: left; }
.reference-points li svg { width: 28px; height: 28px; stroke-width: 1.5; color: var(--color-accent1); margin-right: 15px; flex-shrink: 0; }

/* Rodapé (Footer) */
#footer { background-color: #2c3e50; color: #ecf0f1; padding: 60px 0; text-align: center; }
.footer-title { font-size: 2rem; font-weight: 700; margin-bottom: 15px; }
.footer-text { max-width: 500px; margin: 0 auto 30px auto; line-height: 1.6; }
.social-links { margin: 40px 0; }
.social-links a { color: #ffffff; margin: 0 15px; transition: color 0.3s ease; }
.social-links a:hover { color: var(--color-primary); }
.social-links svg { width: 30px; height: 30px; }
.copyright-text { font-size: 0.9rem; color: #bdc3c7; }

/* Botão Fixo de WhatsApp */
.whatsapp-fixed-button { position: fixed; bottom: 20px; right: 20px; background-color: #25D366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 12px rgba(0,0,0,0.2); z-index: 999; transition: transform 0.3s ease; }
.whatsapp-fixed-button:hover { transform: scale(1.1); }


/* ====================================================== */
/* 2. ESTILOS RESPONSIVOS (TABLET E DESKTOP) (A partir de 768px) */
/* ====================================================== */
@media (min-width: 768px) {
    body { padding-top: 125px; }
    .top-bar { position: fixed; display: flex; justify-content: space-around; align-items: center; }
    .address-message { display: block; }
    .main-header { position: fixed; padding: 15px 0; top: var(--top-bar-height); }
    .logo { width: 50px; }
    .logo-text { font-size: 1.5rem; }
    .logo-slogan { font-size: 0.75rem; }
    .header-whatsapp-btn { padding: 8px 15px; }
    .header-whatsapp-btn span { display: inline; }
    .header-whatsapp-btn svg { margin-right: 8px; }
    #hero { margin-top: -125px; }
    .hero-content { padding-top: 40px; }
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .cta-button { padding: 15px 35px; font-size: 1.1rem; }
    section { padding: 80px 0; }
    .section-title { font-size: 2.5rem; }
    .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
    .gallery-grid img { height: 300px; }
    .pricing-container { flex-direction: row; align-items: stretch; }
    #reviewsContainer { flex-wrap: wrap; justify-content: center; transform: none !important; }
    .review-card { flex: 1 1 300px; max-width: 350px; }
    .carousel-controls { display: none; }
    .reference-points ul { flex-direction: row; flex-wrap: wrap; justify-content: center; max-width: 100%; }
    .reference-points li { width: 45%; }
}


/* ====================================================== */
/* 3. AJUSTES FINOS PARA DESKTOPS LARGOS (A partir de 992px) */
/* ====================================================== */
@media (min-width: 992px) {
    #sobre .container { display: flex; align-items: center; gap: 50px; text-align: left; }
    .sobre-coluna-texto, .diferenciais { flex: 1; }
    .section-description { margin: 0 0 40px 0; }
}
/* ====================================================== */
/* CRÉDITOS DO DESENVOLVEDOR (VERSÃO CORRIGIDA)           */
/* ====================================================== */

.developer-credit {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 30px;
    display: flex; /* Mantemos o flex para alinhamento vertical */
    align-items: center;
}

.developer-credit a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #bdc3c7;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    margin-left: auto; /* << ESTA É A CORREÇÃO PRINCIPAL */
}

.developer-credit a:hover {
    color: white;
}

.developer-credit img {
    width: 80px;
    height: auto;
    margin-left: 10px;
}

/* Ajuste para centralizar no mobile */
@media (max-width: 767px) {
    .developer-credit a {
        margin-left: auto;
        margin-right: auto; /* Centraliza o link no mobile */
    }
}