/* =========================================
   1. CSS Variables & Theme
========================================= */
:root {
    /* Colors */
    --color-black: #0F0F0F;
    --color-white: #FFFFFF;
    --color-bg: #FAFAFA;
    --color-surface: #FFFFFF;
    
    /* Neutrals */
    --color-gray-50: #F9FAFB;
    --color-gray-100: #F3F4F6;
    --color-gray-200: #E5E7EB;
    --color-gray-300: #D1D5DB;
    --color-gray-400: #9CA3AF;
    --color-gray-500: #6B7280;
    --color-gray-600: #4B5563;
    --color-gray-800: #1F2937;
    --color-gray-900: #111827;

    /* Accents (Gold/Wood tones) */
    --color-gold-light: #E5D5B5;
    --color-gold: #C6A87C;
    --color-gold-dark: #A68755;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;   /* 8px */
    --space-sm: 1rem;     /* 16px */
    --space-md: 1.5rem;   /* 24px */
    --space-lg: 2rem;     /* 32px */
    --space-xl: 3rem;     /* 48px */
    --space-2xl: 4rem;    /* 64px */
    --space-3xl: 6rem;    /* 96px */
    --space-4xl: 8rem;    /* 128px */
    
    /* Border Radius & Shadows */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 24px;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-gold: 0 10px 25px -5px rgba(198, 168, 124, 0.4);
    
    /* Layout */
    --container-max: 1200px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* =========================================
   2. Reset & Global Styles
========================================= */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-gray-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    font-family: var(--font-heading);
    color: var(--color-black);
    line-height: 1.2;
    font-weight: 600;
}

p {
    margin-top: 0;
    margin-bottom: var(--space-md);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* =========================================
   3. Utility Classes
========================================= */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.text-center { text-align: center; }
.text-gold { color: var(--color-gold); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-weight: 500;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--color-gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

/* Base Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   4. Header & Navigation
========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-gray-200);
    z-index: 1000;
    transition: var(--transition-base);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-list {
    display: flex;
    gap: var(--space-lg);
}

.nav-link {
    font-weight: 500;
    color: var(--color-gray-600);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: width var(--transition-base);
}

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

.nav-link:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .nav {
        display: none; /* simple mobile design */
    }
    .btn-header {
        display: none;
    }
}

/* =========================================
   5. Hero Section
========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* height of header */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.9) 0%, rgba(15, 15, 15, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--color-white);
    max-width: 800px;
}

.hero-title {
    color: var(--color-white);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.hero-title span {
    color: var(--color-gold);
    font-style: italic; /* Emphasize with serif italic */
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray-200);
    margin-bottom: var(--space-xl);
    font-weight: 300;
    max-width: 600px;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-xl);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight-item i {
    color: var(--color-gold);
    font-size: 1.25rem;
}

.hero-cta {
    display: flex;
    gap: var(--space-sm);
}

/* =========================================
   6. Sections General
========================================= */
.section {
    padding: var(--space-4xl) 0;
}

.bg-light {
    background-color: var(--color-gray-50);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-sm);
    color: var(--color-black);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray-500);
    max-width: 700px;
    margin: 0 auto var(--space-2xl) auto;
}

/* =========================================
   7. Prova de Valor (Gallery)
========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    }
}

/* =========================================
   8. Para Quem É (Target Audience)
========================================= */
.audience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .audience-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.audience-card {
    background-color: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    border: 1px solid var(--color-gray-100);
}

.audience-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-gold-light);
}

.card-icon {
    width: 64px;
    height: 64px;
    background-color: var(--color-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--color-gold);
    font-size: 2rem;
}

.audience-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.card-desc {
    color: var(--color-gray-500);
    margin-bottom: var(--space-md);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--color-gray-800);
    font-weight: 500;
}

/* =========================================
   9. Diferenciais
========================================= */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: var(--space-xl) var(--space-md);
    margin-top: var(--space-xl);
}

.diff-item {
    text-align: center;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    transition: transform var(--transition-base);
}

.diff-item:hover {
    transform: translateY(-5px);
}

.diff-item i {
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: var(--space-md);
    display: inline-block;
}

.diff-item h4 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: var(--color-black);
}

.diff-item p {
    color: var(--color-gray-600);
    font-size: 0.95rem;
}

/* =========================================
   10. Serviços
========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid var(--color-gold);
}

.service-content {
    padding: var(--space-md);
}

.service-content h4 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.service-content p {
    color: var(--color-gray-500);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* =========================================
   11. Prova Social (Testimonials)
========================================= */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.testimonial-card {
    background-color: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-100);
    position: relative;
    transition: transform var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-card::before {
    content: "”";
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 6rem;
    font-family: var(--font-heading);
    line-height: 1;
    color: var(--color-gold-light);
    opacity: 0.3;
}

.stars {
    color: var(--color-gold);
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    display: flex;
    gap: 4px;
}

.quote {
    font-size: 1.05rem;
    color: var(--color-gray-800);
    font-style: italic;
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
}

.author strong {
    display: block;
    color: var(--color-black);
    font-weight: 600;
}

.author span {
    color: var(--color-gray-500);
    font-size: 0.875rem;
}

/* =========================================
   12. CTA Final
========================================= */
.cta-final {
    background: linear-gradient(135deg, var(--color-gray-900) 0%, var(--color-black) 100%);
    color: var(--color-white);
    padding: var(--space-4xl) 0;
}

.cta-final h2 {
    color: var(--color-white);
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.cta-final p {
    color: var(--color-gray-300);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.mt-4 {
    margin-top: var(--space-lg);
}

/* =========================================
   13. Footer
========================================= */
.footer {
    background-color: var(--color-white);
    padding: var(--space-3xl) 0 var(--space-sm) 0;
    border-top: 1px solid var(--color-gray-200);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.footer-col h4 {
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
    color: var(--color-black);
}

.footer-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    margin-bottom: var(--space-md);
}

.footer-col p {
    color: var(--color-gray-600);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    line-height: 1.5;
}

.footer-col p i {
    color: var(--color-gold);
    font-size: 1.25rem;
    margin-top: 2px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-col ul a {
    color: var(--color-gray-600);
}

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

.footer-bottom {
    border-top: 1px solid var(--color-gray-200);
    padding-top: var(--space-lg);
    text-align: center;
    color: var(--color-gray-500);
    font-size: 0.875rem;
}

/* =========================================
   14. Floating WhatsApp
========================================= */
.float-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: transform var(--transition-base), box-shadow var(--transition-base), background-color var(--transition-base);
    animation: wa-pulse 2s infinite;
}

.float-wa:hover {
    transform: scale(1.1);
    background-color: #1EBE5D;
    color: white;
    box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.5);
}

@keyframes wa-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .float-wa {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
        font-size: 2rem;
    }
}
