/* =========================================
   VARIÁVEIS DE CORES E FONTES
   ========================================= */
:root {
    --primary: #800020; /* Bordô / Vinho */
    --primary-hover: #5e0017;
    --text-dark: #222222;
    --text-light: #555555;
    --bg-light: #f7f7f7;
    --white: #ffffff;
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

/* =========================================
   RESET E CONFIGURAÇÕES GERAIS
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* =========================================
   CLASSES UTILITÁRIAS
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

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

.bg-burgundy {
    background-color: var(--primary);
    color: var(--white);
}

.text-center {
    text-align: center;
}

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

.font-serif {
    font-family: var(--font-serif);
}

/* =========================================
   TIPOGRAFIA
   ========================================= */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.bg-burgundy h2 {
    color: var(--white);
}

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

.section-header h2 {
    font-size: 2.2rem;
    color: var(--primary);
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* =========================================
   BOTÕES
   ========================================= */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s, transform 0.2s;
}

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

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

.btn-secondary {
    background-color: var(--text-dark);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #000;
    transform: translateY(-2px);
    color: var(--white);
}

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

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

/* =========================================
   CABEÇALHO E NAVEGAÇÃO
   ========================================= */
.header {
    position: sticky;
    top: 0;
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 15px 0;
}

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

.brand-name {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--primary);
}

.brand-title {
    font-size: 0.85rem;
    color: var(--text-light);
}

.nav-menu ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-dark);
}

.nav-menu a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 22px;
    position: relative;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background-color: var(--primary);
    margin-bottom: 6px;
    border-radius: 2px;
    transition: 0.3s;
}

/* =========================================
   HERO (INÍCIO)
   ========================================= */
.hero {
    padding: 100px 0 80px;
    background-color: var(--bg-light);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 25px;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

/* CORREÇÃO DEFINITIVA DA IMAGEM REDONDA E SEM FUNDO */
.hero-image img {
    width: 380px;
    height: 380px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    background-color: transparent;
}

/* =========================================
   ÁREAS DE ATUAÇÃO (CARDS)
   ========================================= */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    border-top: 4px solid var(--primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.card h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

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

/* =========================================
   COMO POSSO AJUDAR (TIMELINE)
   ========================================= */
.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.step {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    text-align: center;
}

.step-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: rgba(128, 0, 32, 0.1); 
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1;
}

.step h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.step p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* =========================================
   CONTEÚDO (TAGS)
   ========================================= */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.tag {
    background: var(--bg-light);
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* =========================================
   FORMULÁRIO DE CONTATO (O NOVO QUADRO)
   ========================================= */
#fale-conosco {
    padding: 80px 0;
    background-color: var(--bg-light);
    display: block;
}

.form-container {
    width: 100%;
    max-width: 700px; 
    margin: 0 auto; 
    background-color: var(--white); 
    padding: 50px; 
    border-radius: 12px; 
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08); 
    border: 1px solid #eaeaea; 
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px; 
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left; 
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%; 
    box-sizing: border-box; 
    padding: 16px; 
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1rem;
    background-color: #fcfcfc;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary); 
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(128, 0, 32, 0.1);
}

.contact-form button[type="submit"] {
    width: 100%;
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 18px;
    border-radius: 8px;
    background-color: var(--primary);
    color: var(--white);
    margin-top: 10px;
    transition: background-color 0.3s;
}

.contact-form button[type="submit"]:hover {
    background-color: var(--primary-hover); 
}

/* =========================================
   RODAPÉ (FOOTER)
   ========================================= */
.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 70px 0 20px;
}

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

.footer-brand h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-brand p {
    color: #aaaaaa;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer p {
    color: #cccccc;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer a {
    color: #cccccc;
}

.footer a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333333;
    padding-top: 25px;
    color: #888888;
    font-size: 0.9rem;
}

/* =========================================
   RESPONSIVIDADE (CELULARES E TABLETS)
   ========================================= */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

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

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

@media (max-width: 768px) {
    .menu-toggle {
        display: block; 
    }

    .nav-menu {
        display: none; 
    }

    .nav-menu.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .nav-menu.active ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons a {
        width: 100%;
    }

    .section {
        padding: 60px 0;
    }

    .form-container {
        padding: 30px 20px; 
    }
}
