/* ===================================
   VARIÁVEIS E RESET
   =================================== */
:root {
    /* Paleta de Cores - Tons de marrom, caramelo, bege e dourado */
    --primary-dark: #2C1810;
    --primary-brown: #4A3426;
    --primary-medium: #6B4E3D;
    --caramel: #A67C52;
    --caramel-light: #C5966F;
    --beige: #D4B59E;
    --beige-light: #E8D5C4;
    --cream: #F5EDE3;
    --gold: #C9A870;
    --gold-bright: #D4AF37;
    --neon-gold: #FFD700;

    /* Cinzas e Neutros */
    --text-dark: #1A1410;
    --text-medium: #3D3027;
    --text-light: #6B5D52;
    --bg-dark: #1F1711;
    --bg-overlay: rgba(28, 20, 16, 0.85);

    /* Fontes */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Espaçamento */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.3);

    /* Transições */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

/* ===================================
   TIPOGRAFIA
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-dark);
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-medium);
}

/* ===================================
   CONTAINER E LAYOUT
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    padding: var(--spacing-xl) 0;
}

/* ===================================
   BOTÕES
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
    color: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-bright) 0%, var(--neon-gold) 100%);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--cream);
    border: 2px solid var(--gold);
}

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

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-brown) 50%, var(--primary-medium) 100%);
    background-image:
        linear-gradient(135deg, var(--bg-overlay) 0%, rgba(74, 52, 38, 0.9) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%234A3426" width="1200" height="800"/><g fill-opacity="0.05"><circle fill="%23C9A870" cx="200" cy="200" r="300"/><circle fill="%23D4AF37" cx="800" cy="400" r="250"/><circle fill="%23C9A870" cx="400" cy="600" r="200"/></g></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            0deg,
            rgba(201, 168, 112, 0.03) 0px,
            transparent 1px,
            transparent 2px,
            rgba(201, 168, 112, 0.03) 3px
        );
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(28, 20, 16, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(201, 168, 112, 0.2);
    border: 1px solid var(--gold);
    border-radius: 50px;
    color: var(--gold-bright);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    color: var(--cream);
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.hero-subtitle-line {
    display: block;
    font-size: clamp(1.25rem, 4vw, 2rem);
    font-weight: 600;
    color: var(--gold-bright);
    margin-top: var(--spacing-sm);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--beige-light);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ===================================
   SECTION HEADERS
   =================================== */
.section-header {
    margin-bottom: var(--spacing-lg);
}

.section-header.centered {
    text-align: center;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(201, 168, 112, 0.15) 0%, rgba(212, 175, 55, 0.15) 100%);
    border-left: 3px solid var(--gold);
    color: var(--caramel);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ===================================
   QUEM SOMOS SECTION
   =================================== */
.quem-somos {
    background: linear-gradient(180deg, var(--cream) 0%, var(--beige-light) 100%);
}

.quem-somos-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.quem-somos-text p {
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
    color: var(--text-medium);
}

.quem-somos-text strong {
    color: var(--primary-dark);
    font-weight: 700;
}

.expertise-list {
    display: grid;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.expertise-item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
    padding: var(--spacing-md);
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.expertise-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.expertise-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.expertise-item h4 {
    font-size: 1.125rem;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.expertise-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.quem-somos-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary-brown) 0%, var(--primary-medium) 100%);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--gold);
    box-shadow: var(--shadow-lg);
}

.image-placeholder p {
    color: var(--beige);
    font-size: 0.875rem;
    font-style: italic;
}

/* ===================================
   TIME SECTION
   =================================== */
.time {
    background: var(--cream);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.team-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

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

.team-image {
    position: relative;
    background: linear-gradient(135deg, var(--primary-brown) 0%, var(--primary-medium) 100%);
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.team-image .image-placeholder {
    width: 100%;
    height: 100%;
    max-width: none;
    background: transparent;
    box-shadow: none;
}

.team-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    padding: 0.5rem 1rem;
    background: var(--gold-bright);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.team-info {
    padding: var(--spacing-md);
}

.team-name {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: var(--spacing-xs);
}

.team-role {
    font-size: 0.875rem;
    color: var(--caramel);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-bio {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===================================
   ÁREAS DE ATUAÇÃO SECTION
   =================================== */
.areas {
    background: linear-gradient(180deg, var(--beige-light) 0%, var(--cream) 100%);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.area-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border-top: 3px solid var(--gold);
}

.area-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-top-color: var(--gold-bright);
}

.area-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.area-card h3 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
}

.area-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===================================
   DIFERENCIAIS SECTION
   =================================== */
.diferenciais {
    background: var(--cream);
}

.diferenciais-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.diferenciais-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.diferenciais-list li {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.check-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.diferenciais-list strong {
    display: block;
    font-size: 1.125rem;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.diferenciais-list p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.diferenciais-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-brown) 0%, var(--primary-medium) 100%);
    padding: var(--spacing-lg);
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.stat-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: var(--gold-bright);
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--beige-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
   DEPOIMENTOS SECTION
   =================================== */
.depoimentos {
    background: linear-gradient(180deg, var(--beige-light) 0%, var(--cream) 100%);
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.depoimento-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all var(--transition-normal);
}

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

.depoimento-quote {
    position: absolute;
    top: -10px;
    left: var(--spacing-md);
    font-family: var(--font-display);
    font-size: 6rem;
    color: var(--gold);
    opacity: 0.2;
    line-height: 1;
}

.depoimento-text {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.depoimento-author {
    border-top: 2px solid var(--beige);
    padding-top: var(--spacing-md);
}

.depoimento-author strong {
    display: block;
    font-size: 1rem;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.depoimento-author span {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* ===================================
   CONTATO SECTION
   =================================== */
.contato {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-brown) 100%);
    color: var(--cream);
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
}

.contato-info .section-tag {
    background: rgba(201, 168, 112, 0.2);
    color: var(--gold-bright);
}

.contato-info .section-title {
    color: var(--cream);
}

.contato-info .lead {
    color: var(--beige-light);
    margin-bottom: var(--spacing-lg);
}

.contato-questions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.question-item {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    padding: var(--spacing-md);
    background: rgba(201, 168, 112, 0.1);
    border-left: 3px solid var(--gold);
    border-radius: 4px;
}

.question-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.question-item p {
    font-size: 1rem;
    color: var(--beige-light);
    margin: 0;
}

.contato-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contato-form {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: var(--spacing-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--beige);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 112, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--bg-dark);
    color: var(--beige-light);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

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

.footer-brand h3 {
    font-size: 1.75rem;
    color: var(--gold-bright);
    margin-bottom: 0.25rem;
}

.footer-brand p {
    color: var(--beige);
    margin: 0;
}

.footer-tagline {
    margin-top: var(--spacing-sm) !important;
    font-style: italic;
    color: var(--caramel) !important;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.125rem;
    color: var(--gold);
    margin-bottom: var(--spacing-md);
}

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

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: var(--beige-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold-bright);
}

.footer-contact p {
    margin-bottom: var(--spacing-xs);
}

.footer-emergency {
    margin-top: var(--spacing-md) !important;
    padding: var(--spacing-sm);
    background: rgba(201, 168, 112, 0.1);
    border-left: 3px solid var(--gold);
    border-radius: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(201, 168, 112, 0.2);
    padding-top: var(--spacing-md);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: var(--caramel);
    font-style: italic;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 968px) {
    .quem-somos-content,
    .diferenciais-content,
    .contato-content {
        grid-template-columns: 1fr;
    }

    .diferenciais-stats {
        grid-template-columns: repeat(4, 1fr);
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 768px) {
    section {
        padding: var(--spacing-lg) 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle-line {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .team-grid,
    .areas-grid,
    .depoimentos-grid {
        grid-template-columns: 1fr;
    }

    .diferenciais-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}
