/* Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8a9a5b;
    --primary-dark: #7a8a4b;
    --secondary-color: #a0956b;
    --accent-color: #d4a574;
    --text-primary: #5d4e37;
    --text-secondary: #8b7355;
    --text-light: #a0956b;
    --background-light: #f8f6f2;
    --background-white: #ffffff;
    --border-color: #d4c5b9;
    --terra-light: #e8dfd0;
    --terra-medium: #d4c5b9;
    --terra-dark: #a0956b;
    --green-olive: #8a9a5b;
    --green-olive-dark: #7a8a4b;
    --caramel: #c9976c;
    --caramel-dark: #b8956a;
    --shadow-sm: 0 2px 4px 0 rgba(93, 78, 55, 0.08);
    --shadow-md: 0 4px 8px -2px rgba(93, 78, 55, 0.12);
    --shadow-lg: 0 12px 20px -4px rgba(93, 78, 55, 0.16);
    --shadow-xl: 0 25px 35px -8px rgba(93, 78, 55, 0.2);
    --shadow-premium: 0 30px 60px -15px rgba(93, 78, 55, 0.25);
    --gradient-primary: linear-gradient(135deg, #8a9a5b 0%, #7a8a4b 100%);
    --gradient-secondary: linear-gradient(135deg, #a0956b 0%, #8b7355 100%);
    --gradient-terra: linear-gradient(135deg, #f8f6f2 0%, #e8dfd0 100%);
    --gradient-olive-premium: linear-gradient(135deg, #9aaa6b 0%, #8a9a5b 50%, #7a8a4b 100%);
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    --border-radius-2xl: 1.5rem;
    --border-radius-full: 9999px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-white);
    overflow-x: hidden;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 246, 242, 0.98) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(138, 154, 91, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(93, 78, 55, 0.1);
}

.navbar {
    padding: 1.5rem 0;
}

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

.nav-brand h1 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--green-olive);
    margin-bottom: 0.25rem;
    letter-spacing: -0.025em;
}

.brand-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--green-olive);
}

.nav-link.active,
.nav-link.btn-appointment {
    color: var(--green-olive);
}

.nav-link.btn-appointment {
    background: var(--gradient-primary);
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: var(--border-radius-full);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(138, 154, 91, 0.3);
}

.nav-link.btn-appointment:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, #e8dfd0 0%, #d4c5b9 50%, #e8dfd0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-primary);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(138, 154, 91, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(160, 149, 107, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(232, 223, 208, 0.3) 0%, rgba(138, 154, 91, 0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(139, 115, 85, 0.1);
}

.hero-description {
    font-size: 1.375rem;
    margin-bottom: 3rem;
    opacity: 0.85;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.125rem 2.5rem;
    text-decoration: none;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    letter-spacing: 0.025em;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-olive-premium);
    color: white;
    box-shadow: 0 4px 14px rgba(138, 154, 91, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(138, 154, 91, 0.4);
}

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

.btn-outline:hover {
    background: var(--green-olive);
    color: white;
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 320px;
    margin: 2.5rem auto 0;
    padding: 1.25rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-header::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.6;
}

/* About Section */
.about {
    background: var(--terra-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.credentials {
    margin-top: 2rem;
}

.credential {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.credential i {
    color: var(--green-olive);
    font-size: 1.25rem;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: var(--gradient-terra);
    border: 2px solid var(--green-olive);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.125rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

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

.service-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f6f2 100%);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-2xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--terra-medium);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-premium);
    border-color: var(--green-olive);
    background: linear-gradient(135deg, #ffffff 0%, #e8dfd0 100%);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2.25rem;
    border: 3px solid var(--terra-medium);
    box-shadow: 0 8px 25px rgba(138, 154, 91, 0.3);
    position: relative;
}

.service-card h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 400;
}

/* Contact Section */
.contact {
    background: var(--terra-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item i {
    color: var(--green-olive);
    font-size: 1.5rem;
    min-width: 24px;
}

.contact-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.map-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background: var(--gradient-terra);
    border: 2px solid var(--green-olive);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.125rem;
    text-align: center;
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Appointment Section */
.appointment {
    background: var(--terra-light);
}

.appointment-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.125rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    background: linear-gradient(135deg, #ffffff 0%, #fcf9f4 100%);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-olive);
    box-shadow: 0 0 0 3px rgba(138, 154, 91, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

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

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

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--terra-light);
}

.footer-section p,
.footer-section li {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

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

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--terra-light);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--green-olive);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--text-secondary);
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}