/* Design System & Base Styles */
:root {
    --primary: #7B8E61; /* Professional Sage Green */
    --primary-dark: #5F6E4A;
    --secondary: #849669;
    --accent: #F5F5F0; /* Neutral Soft Bone */
    --bg: #FFFFFF;
    --text: #333333;
    --text-muted: #707070;
    --glass: rgba(255, 255, 255, 0.9);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--accent);
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary-dark);
}

/* Layout Utilities */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0; /* Significant spacing between sections */
}

/* Hero Section - Neutral Background */
.hero {
    height: 80vh;
    background: linear-gradient(135deg, #F5F5F0 0%, #E8E8E0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    border-bottom: 5px solid var(--primary);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(123, 142, 97, 0.05), transparent);
    pointer-events: none;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.hero-content h3 {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 400;
    letter-spacing: 4px;
    margin-bottom: 2rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Glass Cards */
.card {
    background: white;
    border-radius: 24px;
    padding: 4rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(123, 142, 97, 0.1);
}

.card h2 {
    margin-bottom: 2rem;
    font-size: 2.25rem;
    position: relative;
    display: inline-block;
}

.card h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

#sobre {
    padding-top: 12rem; /* Substantial gap from hero border */
}

/* Group section titles closely with cards */
.section-header {
    text-align: center;
    margin-bottom: 2rem; /* Reduced to bring closer to card */
    margin-top: 10rem; /* Space from previous section's card */
}

/* Business Hours Table */
.hours-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 1rem;
}

.hours-table tr {
    transition: var(--transition);
}

.hours-table td {
    padding: 1.5rem;
    border-bottom: 1px solid #EDEDED;
}

.hours-table td:first-child {
    font-weight: 600;
    color: var(--text);
}

.hours-table td:last-child {
    text-align: right;
    color: var(--primary-dark);
    font-weight: 500;
}

/* Contact Info */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.contact-item {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.contact-item span {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

/* WhatsApp Button - Now Static in Contact Section */
.whatsapp-cta-container {
    display: flex;
    justify-content: center;
    margin-top: 5rem;
    margin-bottom: 8rem; /* Large gap before footer */
}

.whatsapp-btn-static {
    background: #25D366;
    color: white;
    padding: 1.25rem 3rem; /* Adjusted for better proportions */
    border-radius: 60px;
    text-decoration: none;
    display: inline-flex; /* Changed from flex for better sizing */
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.25);
    transition: var(--transition);
}

.whatsapp-btn-static svg {
    flex-shrink: 0;
}

.whatsapp-btn-static:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(37, 211, 102, 0.35);
}

/* Remove old floating button styles */
.whatsapp-btn { display: none; }

/* Footer */
footer {
    background: var(--primary-dark);
    color: white;
    padding: 6rem 0 3rem;
    text-align: center;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.95rem;
    opacity: 0.7;
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    .hero-content h1 { font-size: 3.5rem; }
    section { padding: 6rem 0; }
    .whatsapp-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}
