/* Reset & Base Styles */
:root {
    --primary-color: #000000;
    --secondary-color: #FFFFFF;
    --accent-color: #E3E3E3;
    /* Silver */
    --dark-gray: #252625;
    --text-color: #252625;
    --light-bg: #f4f4f4;
    --dark-bg: #000000;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Lato', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--secondary-color);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
}

/* Specific font weights as requested */
.section-header h2 {
    font-weight: 400;
}

.oab,
.credentials h4,
.value-item h4,
.service-card h3 {
    font-family: var(--font-body);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-dark {
    background-color: var(--dark-bg);
    color: var(--secondary-color);
}

.text-white {
    color: var(--secondary-color);
}

/* Buttons */
.btn-black {
    display: inline-block;
    background-color: var(--dark-gray);
    color: var(--secondary-color);
    padding: 12px 30px;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--accent-color);
    cursor: pointer;
    transition: var(--transition);
}

.btn-black:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
}
/* FAVICON */
<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg">
  <style>
    /* Cor padrão (Modo Claro) */
    path { fill: #000000; }

    /* Quando o sistema estiver em Modo Escuro */
    @media (prefers-color-scheme: dark) {
      path { fill: #ffffff; }
    }
  </style>
  
  <path d="..." />
</svg>

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    display: none;
}

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    color: var(--primary-color);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--dark-gray);
    font-weight: 700;
}

.btn-contact {
    border: 1px solid var(--primary-color);
    padding: 8px 20px;
}

.btn-contact:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color) !important;
}

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-color: #E3E3E3;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--primary-color);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-logo-container {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

/* AQUI ESTÁ O AJUSTE DA LOGO */
.hero-logo-img {
    max-width: 95%;
    /* Aumentei de 80% para 95% */
    max-height: 85vh;
    /* Aumentei de 60vh para 85vh (quase a altura toda da tela) */
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto 30px auto;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 400;
}

.divider {
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
    margin: 0 auto;
}

.divider.black {
    background-color: var(--accent-color);
}

/* About Section */
#sobre {
    background-color: #252625;
    color: #E3E3E3;
}

#sobre .section-header h2,
#sobre .about-text h3 {
    color: #FFFFFF;
}

#sobre .oab {
    color: #E3E3E3;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-weight: 400;
}

.oab {
    font-weight: 700;
    margin-bottom: 20px;
    font-family: var(--font-body);
}

.about-text p {
    margin-bottom: 15px;
    text-align: justify;
}

.credentials {
    margin-top: 30px;
    background: #f9f9f9;
    padding: 20px;
    border-left: 3px solid var(--accent-color);
    color: var(--text-color);
}

.credentials h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.credentials ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-color);
}

.credentials i {
    color: var(--dark-gray);
    margin-top: 4px;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.profile-img {
    max-width: 100%;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 5px solid rgba(255, 255, 255, 0.1);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--secondary-color);
    padding: 40px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--accent-color);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Values (Philosophy) */
#valores {
    background-color: #252625;
    color: #E3E3E3;
}

#valores .section-header h2,
.value-item h4 {
    color: #FFFFFF;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.value-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.value-item h4 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 700;
}

.value-item p {
    color: #E3E3E3;
}

/* Testimonials */
#depoimentos {
    background-color: var(--light-bg);
    color: var(--text-color);
    overflow: hidden;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 15px));
    }
}

.testimonial-card {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 5px;
    min-width: 350px;
    max-width: 350px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    white-space: normal;
}

#depoimentos .section-header h2 {
    color: var(--primary-color);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-color);
}

.client-name {
    color: var(--primary-color);
    font-weight: 700;
    display: block;
    text-align: right;
}

/* Consultoria */
#consultoria {
    background-color: #252625;
}

#consultoria .section-header h2 {
    color: #FFFFFF;
}

/* Footer */
footer {
    background: #000;
    color: #fff;
    padding: 50px 0;
    border-top: 1px solid var(--accent-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo h3 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.footer-logo span {
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: #888;
}

.footer-links p {
    color: #888;
    font-size: 0.9rem;
    text-align: right;
}

/* FORMULÁRIO BÁSICO */
.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    font-family: var(--font-body);
    font-size: 1rem;
    width: 100%;
    /* Garante que preencha o container */
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}


/* =========================================
   ESTRUTURA DE CONTATO (LADO A LADO)
   ========================================= */

/* Container Principal de 2 Colunas */
.contact-split {
    display: flex;
    gap: 50px;
    /* Espaço entre as colunas */
    align-items: flex-start;
}

/* Coluna Esquerda: Botões */
.coluna-contatos-1 {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

/* Coluna Direita: Formulário */
.coluna-contatos-2 {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

/* Estilo específico do botão de contato (Flexbox Horizontal) */
.btn-contact-layout {
    display: flex !important;
    /* Força layout flexível (ícone lado a lado com texto) */
    align-items: center;
    /* Centraliza verticalmente */
    justify-content: flex-start;
    /* Alinha tudo à esquerda */
    width: 100%;
    /* Ocupa 100% da largura da coluna */
    text-align: left;
    padding: 20px 25px;
    gap: 20px;
    /* Espaço entre ícone e texto */
    height: auto;
}

/* Estilo do Ícone */
.contact-icon-style {
    font-size: 24px;
    width: 30px;
    /* Largura fixa para manter alinhamento visual */
    text-align: center;
    flex-shrink: 0;
}

/* Agrupamento do Texto (Label + Valor) */
.contact-text-group {
    display: flex;
    flex-direction: column;
}

/* Título (ex: WHATSAPP) */
.contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 400;
    opacity: 0.8;
    letter-spacing: 1px;
    margin-bottom: 3px;
    font-family: var(--font-body);
}

/* Valor (ex: número) */
.contact-value {
    font-size: 0.95rem;
    font-weight: 700;
    word-break: break-all;
    /* Quebra link longo se necessário */
}

/* Link Mathrick */
.link-mathrick:hover {
    /* Cor ao passar o mouse */
    color: #0892d0 !important;
    /* Você pode adicionar outros efeitos aqui, se desejar */
    cursor: pointer;
}


/* RESPONSIVIDADE */
@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #fff;
        transition: 0.3s;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        text-align: center;
    }

    .mobile-menu-icon {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-content {
        flex-direction: column;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links p {
        text-align: center;
    }

    /* Ajuste do Contato no Mobile */
    .contact-split {
        flex-direction: column;
        /* Empilha: Botões em cima, Formulário embaixo */
        gap: 40px;
    }

    .btn-contact-layout {
        padding: 15px;
        gap: 15px;
    }

    .contact-value {
        font-size: 0.85rem;
    }

}
