/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Lobster&family=Montserrat:wght@400;500;700&display=swap');

/* --- CSS Variables (Paleta de Cores) --- */
:root {
    --primary-color: #333333; /* Dark Gray */
    --secondary-color: #000000; /* Black */
    --base-color: #121212; /* Near Black */
    --light-gray: #f4f4f4; /* Light Gray */
    --text-color: #e0e0e0; /* Light Gray */
    --white: #FFFFFF;
    --accent-color: #007bff; /* Blue Accent */
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

h1, h2 {
    font-family: 'Lobster', cursive;
    color: var(--white);
    text-align: center;
    margin-bottom: 1rem;
}

/* NEW RULE: for h2 in #nosso-espaco */
#nosso-espaco h2 {
    color: var(--white);
}

section {
    padding: 4rem 2rem;
}

/* --- Header e Navegação --- */
header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--base-color);
    border-bottom: 2px solid var(--accent-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    
    height: 70px;
    text-align: center;
}

header .logo-link {
    display: inline-block;
    background-color: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    
    position: relative;
    top: 15px;
    
    width: 120px;
    height: 120px;
    
    margin-top: 0;
}

header .logo-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    padding: 15px;
    border-radius: 50%;
}

/* --- Seção Hero --- */
#inicio {
    min-height: 70vh;
    display: flex;
    justify-content: center;
    text-align: center;
    
    margin-top: 0;
    padding-top: 120px;
    
    position: relative;
    overflow: hidden;
    color: var(--white);
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
}

#inicio::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

#inicio .hero-content {
      background-color: transparent;
      padding: 2rem;
      border-radius: 10px;
}

    #inicio h1 {
      font-family: 'Lobster', cursive;
      font-size: 4rem;
      color: var(--white);
      margin-bottom: 2rem;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
      line-height: 1.2;
    }
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-buttons a {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.button-primary {
    background-color: var(--accent-color);
    color: var(--white);
}

.button-primary:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}

.button-secondary {
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--white);
}

.button-secondary:hover {
    background-color: var(--accent-color);
    color: var(--secondary-color);
}

/* --- Seção Servicos --- */
#servicos p {
    max-width: 100%;
    margin: 0 auto 2rem;
    text-align: center;
    line-height: 1.8;
    font-size: 1.1rem;
}

@media (min-width: 768px) {
    #servicos p {
        max-width: 1200px;
    }
}

#servicos {
    text-align: center;
    padding-bottom: 4rem;
}

.button-whatsapp {
    display: block;
    margin: 0 auto;
    max-width: 300px;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.button-whatsapp:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}

/* --- Galeria de Fotos --- */
#nosso-espaco {
    background-color: var(--accent-color);
}

#nosso-espaco p {
    color: var(--white);
    max-width: 100%;
    margin: 0 auto 2rem;
    text-align: center;
    line-height: 1.8;
    font-size: 1.1rem;
}

@media (min-width: 768px) {
    #nosso-espaco p {
        max-width: 1200px;
    }
}

#nosso-espaco .gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

#nosso-espaco .gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* --- Seção Visite --- */
#visite {
    text-align: center;
    
    background-image: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url('images/Fora.jpeg');
    background-attachment: fixed;
    
    background-size: cover;
    
    background-position: center;
    padding: 4rem 2rem;
    border-top: 3px solid var(--accent-color);
}

#visite h2 {
    color: var(--white) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

#visite p {
    color: var(--white) !important;
    opacity: 0.9;
}

#visite .map-container {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    
    border-radius: 8px;
}

#map-placeholder {
    width: 100%;
    height: 400px;
    background-color: #e0e0e0;
    border-radius: 8px;
}

/* --- Feed do Instagram --- */
#instagram-feed {
    text-align: center;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 1 coluna no celular */
    gap: 1rem;
    margin-top: 2rem;
}

.instagram-post {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
}

.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instagram-post:hover img {
    transform: scale(1.05);
}

.instagram-post i {
    position: absolute;
    color: white;
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.icon-instagram {
    bottom: 10px;
    left: 10px;
}

.icon-type {
    top: 10px;
    right: 10px;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* --- Media Queries para Responsividade (Desktop) --- */
@media (min-width: 768px) {
    h1 {
        font-size: 5rem;
    }

    h2 {
        font-size: 3.5rem;
    }

    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }

    #nosso-espaco .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1200px;
        margin: 0 auto;
        gap: 1.5rem;
    }

    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* --- Estilos do Novo Rodapé (Estilo Eloport) --- */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 4rem 2rem 2rem 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto 2.5rem auto;
}

.footer-column {
    text-align: center;
}

.footer-logo-text {
    font-family: 'Lobster', cursive;
    font-size: 2.5rem;
    color: var(--white);
    margin: 0 auto 1rem auto;
    font-weight: 500;
}

#footer-info p {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.footer-social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-social-icons a {
    font-size: 1.8rem;
    color: var(--white);
    transition: transform 0.3s;
}

.footer-social-icons a:hover {
    transform: scale(1.1) translateY(-3px);
}

#footer-links h4 {
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

#footer-links ul {
    list-style: none;
    padding: 0;
}

#footer-links li {
    margin-bottom: 0.8rem;
}

#footer-links a {
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s;
}

#footer-links a:hover {
    color: var(--accent-color);
}

.copyright-footer {
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
    border-top: 1px solid var(--accent-color);
    padding-top: 2rem;
}

/* --- Media Query para Desktop --- */
@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }
    .footer-column {
        text-align: left;
    }
    .footer-logo {
        margin: 0 0 1rem 0;
    }
    .footer-social-icons {
        justify-content: flex-start;
    }
}

/* --- Video Grid --- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.video-grid video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

@media (min-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1200px;
        margin: 0 auto 2rem auto;
        gap: 1.5rem;
    }
}

/* --- Fundador Section --- */
#fundador {
    padding: 4rem 2rem;
}

.fundador-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.fundador-container img {
    max-width: 400px;
    border-radius: 8px;
}

.fundador-text p {
    color: var(--white);
}

@media (max-width: 768px) {
    .fundador-container {
        flex-direction: column;
    }
}

#floating-whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

#floating-whatsapp-button:hover {
    transform: scale(1.1);
}

#floating-whatsapp-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}