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

:root {
    --bg-dark: #121212;
    --bg-light: #F8F9FA;
    --text-dark: #212529;
    --text-light: #F8F9FA;
    --accent: #d4a373; /* Warm tone for buttons/accents */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-width: 1200px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

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

/* Header */
header {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 70px;
    object-fit: contain;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul li a:hover {
    color: var(--accent);
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0 30px;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--accent);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    cursor: pointer;
    border: 1px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--text-light);
    color: var(--bg-dark);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--bg-dark);
}

.btn-accent:hover {
    background-color: #c49566;
}

/* Common Section Styles */
.section-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.section-light {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    opacity: 0.8;
}

/* Utilities */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

/* Responsive */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--text-light);
    transition: all 0.3s ease;
}

@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }
    
    #nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: var(--bg-dark);
        padding-top: 100px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }
    
    #nav-menu.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .header-actions {
        display: none; /* Hide button on mobile header to save space, or we can move it inside menu */
    }
    
    .menu-toggle.is-active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.is-active span:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
    .section-title { font-size: 2rem; }
    
    .hero-title { font-size: 2.2rem; }
    .hero-images { flex-direction: column; align-items: center; }
    
    .sobre-grid { grid-template-columns: 1fr !important; gap: 40px; }
    .sobre-images { height: 300px; }
    .img-main { width: 100%; height: 250px; position: static; }
    .img-secondary { display: none; /* Simplify on mobile */ }
    
    .unidades-grid { grid-template-columns: 1fr; }
    .depoimentos-grid { grid-template-columns: 1fr !important; }
    
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-col { margin-bottom: 20px; }
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(212, 163, 115, 0.05) 0%, rgba(18, 18, 18, 1) 70%);
    pointer-events: none;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 300;
}

.hero-images {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 60px;
}

.hero-img-card {
    flex: 1;
    max-width: 350px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.hero-img-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-img-card:hover img {
    transform: scale(1.05);
}

.hero-img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sobre Nós Grid */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.sobre-images {
    position: relative;
    height: 500px;
}

.img-main {
    width: 75%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    position: absolute;
    top: 0;
    left: 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.img-secondary {
    width: 55%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    position: absolute;
    bottom: 0;
    right: 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border: 10px solid var(--bg-light);
}

/* Unidades */
.unidades-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.unidade-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.unidade-card:hover {
    transform: translateY(-10px);
}

.unidade-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.unidade-info {
    padding: 30px;
}

.unidade-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--bg-dark);
}

.unidade-info p {
    color: #666;
    margin-bottom: 10px;
}

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

@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .hero-images { 
        flex-direction: column; 
        align-items: center; 
        gap: 20px;
    }
    .hero-img-card {
        flex: 1;
        width: 100%;
        max-width: 100%;
    }
    .hero-img-card img {
        height: 380px;
    }
    .sobre-grid { grid-template-columns: 1fr; gap: 40px; }
    .unidades-grid { grid-template-columns: 1fr; }
    .depoimentos-grid { grid-template-columns: 1fr !important; }
}

/* Blog Styles */
.blog-post-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    transition: transform 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-5px);
}

.blog-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.blog-content {
    padding: 30px;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
}

.blog-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--bg-dark);
}

.blog-excerpt {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader img {
    width: 200px;
    animation: pulse 1s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.05); opacity: 1; }
}

body.loaded #preloader {
    opacity: 0;
    visibility: hidden;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: currentColor;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icons a {
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--accent);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.social-icons svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Social Feeds */
.feed-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.feed-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.feed-header svg {
    width: 24px;
    height: 24px;
    fill: var(--text-light);
}

.feed-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.tiktok-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.feed-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1 / 1;
    display: block;
}

.tiktok-grid .feed-item {
    aspect-ratio: 9 / 16;
}

.feed-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feed-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feed-overlay svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.feed-item:hover img {
    transform: scale(1.1);
}

.feed-item:hover .feed-overlay {
    opacity: 1;
}

@media (max-width: 768px) {
    .feed-container {
        grid-template-columns: 1fr;
    }
}

/* Personal Compartilhado Specific Grids */
.benefits-grid, .faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.benefit-card {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.faq-card {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 3px solid var(--accent);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-card {
    text-align: center;
}

.team-card img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.team-card:hover img {
    transform: scale(1.05);
}

.team-name {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.team-desc {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .benefits-grid, .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

