:root {
    /* Colors - Premium Forest/Gold Theme */
    --primary-color: #1a4d2e;
    /* Forest Green */
    --primary-dark: #143d24;
    --primary-light: #e8f5e9;
    /* Very light green bg */

    --accent-color: #d4af37;
    /* Metallic Gold */
    --accent-dark: #b5952f;

    --bg-color: #fafbf9;
    /* Off-white/Beige tint */
    --surface-color: #ffffff;

    --text-color: #2c332e;
    --text-light: #5f6661;

    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(26, 77, 46, 0.08);
    --shadow-md: 0 8px 24px rgba(26, 77, 46, 0.12);
    --shadow-lg: 0 16px 48px rgba(26, 77, 46, 0.18);

    --radius-sm: 4px;
    /* Sharper corners for premium feel */
    --radius-md: 8px;
    --radius-lg: 12px;

    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    /* Modern Sans for body */
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: 'Playfair Display', serif;
    /* Serif for headings = Premium */
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 12px auto 0;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.15rem;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent-color);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--primary-color);
}

.nav-list a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section - Asymmetrical Split */
.hero {
    padding-top: 100px;
    /* Header height */
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.hero-bg-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-color: var(--primary-color);
    z-index: 0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding-right: 40px;
}

.badge {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 24px;
    color: var(--primary-color);
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    border: 8px solid rgba(255, 255, 255, 0.1);
}

/* About Section - Overlapping style */
.about {
    padding: 120px 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.image-placeholder-square {
    width: 100%;
    height: 500px;
    border-radius: var(--radius-sm);
    background-color: #eee;
    background-image: url('https://placehold.co/600x600/1a4d2e/d4af37?text=Foto+Sobre');
    background-size: cover;
    background-position: center;
    position: relative;
}

.image-placeholder-square::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background-image: repeating-linear-gradient(45deg, var(--accent-color) 0, var(--accent-color) 1px, transparent 0, transparent 50%);
    background-size: 10px 10px;
    z-index: -1;
}

.about-content h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.about-list {
    list-style: none;
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text-color);
}

.about-list li i {
    color: var(--accent-color);
    background: rgba(26, 77, 46, 0.05);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* Services - Minimal Cards */
.services {
    padding: 0px 0;
    background-color: var(--bg-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 24px;
    display: inline-block;
}

.service-card h3 {
    margin-bottom: 16px;
    color: var(--text-color);
    font-size: 1.4rem;
}

/* Testimonials - Dark Theme */
.testimonials {
    padding: 120px 0;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.testimonials .section-header h2 {
    color: var(--white);
}

.testimonials .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.testimonials .section-header h2::after {
    background-color: var(--accent-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.testimonial-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.testimonial-card p {
    font-style: italic;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.9);
}

.client-info h4 {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.client-info span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact */
.contact {
    padding: 120px 0;
}

.contact-wrapper {
    display: flex;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.contact-info {
    flex: 1;
    background-color: #f4f4f4;
    padding: 60px;
    color: var(--text-color);
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-details i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-top: 4px;
}

.contact-form-container {
    flex: 1.2;
    background-color: var(--white);
    padding: 60px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-sm);
    background-color: #fafbf9;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: rgba(255, 255, 255, 0.6);
    padding: 60px 0;
    border-top: 4px solid var(--accent-color);
    text-align: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 12px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-bg-accent {
        width: 100%;
        height: 40%;
        top: auto;
        bottom: 0;
    }

    .hero {
        flex-direction: column;
        padding-top: 100px;
        text-align: center;
        justify-content: center;
    }

    .hero-container {
        flex-direction: column;
        gap: 40px;
    }

    .hero-content {
        padding-right: 0;
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        justify-content: center;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }
}

/* Template Labels & Form (Inherited) */
.template-label {
    background-color: #ffeb3b !important;
    color: #000 !important;
    font-size: 11px !important;
    padding: 2px 5px !important;
    border-radius: 4px !important;
    font-weight: bold !important;
    display: inline-block !important;
    margin-left: 5px !important;
    vertical-align: middle !important;
    z-index: 9999 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
    font-family: 'Inter', sans-serif !important;
}

/* Button wrapper for labels */
.btn-wrapper {
    position: relative;
    display: inline-block;
}

.btn-wrapper .template-label {
    position: absolute;
    top: -22px;
    left: 0;
    white-space: nowrap;
}

/* Floating Form */
.floating-form-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    z-index: 9999;
    border: none;
}

.floating-form-panel {
    position: fixed;
    top: 0;
    right: -450px;
    width: 400px;
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    transition: right 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    overflow-y: auto;
    padding: 30px;
}

.floating-form-panel.active {
    right: 0;
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.content-form .form-group {
    margin-bottom: 15px;
}

.content-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.content-form .hint {
    font-size: 0.75rem;
    color: #888;
    font-style: italic;
    display: block;
    margin-bottom: 4px;
}

.content-form input[type='text'],
.content-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.submit-whatsapp {
    background-color: #25D366;
    color: white;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 10px;
}

.char-counter {
    text-align: right;
    font-size: 0.7rem;
    color: #aaa;
    margin-top: 2px;
}

.char-counter.limit-near {
    color: orange;
}

.char-counter.limit-reached {
    color: red;
    font-weight: bold;
}