:root {
    --primary-color: #2e7d32; /* Rich Green */
    --secondary-color: #1b5e20; /* Deep Green */
    --accent-color: #fbc02d; /* Vibrant Yellow */
    --text-color: #333;
    --bg-light: #f1f8e9; /* Very light green tint */
    --white: #ffffff;
    --dark: #1a1a1a;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

/* Header & Nav */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--secondary-color);
}

.logo {
    height: 50px;
    margin-right: 15px;
}

.brand-name {
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1;
}

.brand-name small {
    display: block;
    font-size: 0.8rem;
    color: #777;
    margin-top: 4px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
}

.nav-menu ul li a {
    text-decoration: none;
    color: var(--text-color);
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu ul li a:hover, .nav-menu ul li a.active {
    color: var(--primary-color);
}

/* Sections */
.hero {
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    border-bottom: 5px solid var(--accent-color);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.info-legais-highlight {
    padding: 2rem 0;
    background: var(--bg-light);
}

.highlight-box {
    border-left: 5px solid var(--accent-color);
    background: var(--white);
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.highlight-box h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.legal-details p {
    margin: 0.5rem 0;
}

.legal-details i {
    color: var(--primary-color);
    width: 20px;
}

/* Grid layout */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 4rem 0;
}

.image-block img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.text-block h2 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.text-block p {
    margin-bottom: 1rem;
}

/* Maps */
#map {
    height: 400px;
    width: 100%;
    margin: 2rem 0;
    border-radius: 8px;
}

.small-map {
    height: 250px !important;
}

.address-text {
    text-align: center;
    font-weight: bold;
    padding-bottom: 2rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
}

.service-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
}

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

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Forms */
.contact-form {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.checkbox-group {
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.recaptcha-text {
    font-size: 0.8rem;
    color: #666;
    margin-top: 1rem;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.btn-primary:hover {
    background: var(--accent-color);
    color: var(--secondary-color);
    border-color: var(--accent-color);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-block {
    width: 100%;
}

.btn-small {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
}

/* Footer */
.main-footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
}

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

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 1rem;
    font-size: 0.8rem;
}

/* Floating Elements */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0,0,0,0.3);
    z-index: 1000;
    text-decoration: none;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 1.5rem 0;
    z-index: 2000;
    display: none;
}

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

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

/* Pages generic */
.page-title {
    text-align: center;
    margin: 3rem 0;
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.legal-page {
    padding: 4rem 20px;
}

.legal-page h1, .legal-page h2 {
    margin-bottom: 1.5rem;
}

.legal-page p {
    margin-bottom: 1rem;
}

.hidden {
    display: none;
}

.alert {
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 4px;
}

.alert.success {
    background: #d4edda;
    color: #155724;
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .top-bar {
        flex-direction: column;
        gap: 1rem;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .cookie-banner .container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}