/* =========================================
   CSS Reset & Variáveis Base
   ========================================= */
:root {
    /* Cores Premium e Naturais (Inspiradas nas fotos de Pâmella) */
    --bg-primary: #FDFBF7;       /* Off-white quente (Areia clarinho) */
    --bg-secondary: #F3EFE6;     /* Bege suave para seções de destaque */
    --text-main: #362E2B;        /* Marrom escuro/Carvão (Nunca preto puro) */
    --text-light: #6A605B;       /* Texto de apoio (Cinza quente) */
    --accent: #B87B67;           /* Terracota/Rosa queimado elegante */
    --accent-hover: #9E6451;     /* Terracota mais escuro para hover */
    --white: #FFFFFF;
    
    /* WhatsApp Color */
    --whatsapp: #25D366;
    --whatsapp-hover: #20BD5A;

    /* Tipografia */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Espaçamentos e Layout */
    --max-width: 1140px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Transições */
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.25s ease-in-out;
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* =========================================
   Tipografia
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

h1 em {
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* =========================================
   Componentes Globais
   ========================================= */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.badge {
    display: inline-block;
    background-color: var(--bg-secondary);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

/* Botões */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--accent);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: all var(--transition-fast);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(184, 123, 103, 0.2);
    color: var(--white);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
    border-radius: var(--radius-md);
}

/* =========================================
   Header & Navegação
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all var(--transition-fast);
    padding: 20px 0;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

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

.logo {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-main);
}

.logo-title {
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-list a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width var(--transition-fast);
}

.nav-list a:hover {
    color: var(--text-main);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-text p {
    font-size: 1.125rem;
    margin-bottom: 32px;
    max-width: 90%;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0,0,0,0.06);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
    transition: transform 0.8s ease;
}

.image-wrapper:hover img {
    transform: scale(1.03);
}

.decoration-circle {
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 40%;
    height: 40%;
    background-color: var(--accent);
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
}

/* =========================================
   Sobre
   ========================================= */
.about {
    background-color: var(--bg-secondary);
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text .crn {
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 24px;
}

.about-text p {
    font-size: 1.0625rem;
}

.highlight-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-main);
    font-style: italic;
    margin-top: 32px;
    border-left: 3px solid var(--accent);
    padding-left: 24px;
}

/* =========================================
   Especialidades (Serviços)
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: all var(--transition-slow);
    border: 1px solid rgba(0,0,0,0.02);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent);
    font-size: 2rem;
    transition: all var(--transition-fast);
}

.service-card:hover .icon-wrapper {
    background-color: var(--accent);
    color: var(--white);
}

/* =========================================
   Depoimentos
   ========================================= */
.testimonials {
    background-color: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.stars {
    color: #FBBF24;
    font-size: 1.25rem;
    margin-bottom: 24px;
    display: flex;
    gap: 4px;
}

.testimonial-card p {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 32px;
}

.client-info {
    display: flex;
    flex-direction: column;
}

.client-info strong {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--text-main);
}

.client-info span {
    font-size: 0.875rem;
    color: var(--accent);
}

/* =========================================
   CTA Section
   ========================================= */
.cta-section {
    background-color: var(--accent);
    text-align: center;
    color: var(--white);
}

.cta-container h2 {
    color: var(--white);
}

.cta-container p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-size: 1.125rem;
}

.cta-section .btn-primary {
    background-color: var(--white);
    color: var(--accent);
}

.cta-section .btn-primary:hover {
    background-color: var(--bg-primary);
    transform: translateY(-2px);
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: var(--text-main);
    color: var(--white);
    padding: 80px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.footer-brand .logo-name {
    color: var(--white);
    margin-bottom: 16px;
    display: block;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    max-width: 300px;
}

.footer h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 24px;
    color: var(--white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.social-link {
    color: rgba(255,255,255,0.7);
    transition: color var(--transition-fast);
}

.footer-links a:hover,
.social-link:hover {
    color: var(--white);
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
    margin: 0;
}

/* =========================================
   Botão WhatsApp Flutuante
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    z-index: 100;
    transition: all var(--transition-fast);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: var(--whatsapp-hover);
    transform: scale(1.1);
    animation: none;
    color: var(--white);
}

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

/* =========================================
   Animações de Entrada (Scroll)
   ========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

.fade-in-delay.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Responsividade (Mobile-First approach overrides for smaller screens)
   ========================================= */
@media (max-width: 991px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-text {
        text-align: center;
        order: 1;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image {
        order: 2;
    }
    
    .badge {
        margin: 0 auto 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-brand p {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left var(--transition-fast);
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        text-align: center;
        margin-bottom: 40px;
    }

    .nav-list a {
        font-size: 1.25rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding-top: 120px;
    }
    
    .whatsapp-float {
        bottom: 24px;
        right: 24px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-container {
        gap: 32px;
    }
}
