.icon-consultoria {
    width: 42px;
    height: 42px;
    display: block;
    color: var(--cor-h2);
}
.icon-regularizacao {
    width: 60px;
    height: 60px;
    display: block;
    color: var(--cor-h2);
}
/* ==================== WHATSAPP FLUTUANTE ==================== */
.whatsapp-flutuante {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 4;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.whatsapp-flutuante:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}
/* ==================== CORES GLOBAIS ==================== */
:root {
    --cor-h1: #E6DED3;
    --cor-h1-sombra: #524A42;
    --cor-h2: #D6B68A;
    --cor-texto: #E6DED3;
    --cor-icones: #544541;
    --cor-primaria: #D6B68A;
    --cor-secundaria: #373535;
}

/* ==================== RESET E ESTILOS GLOBAIS ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
    color: var(--cor-texto);
    line-height: 1.6;
    background-color: #AB8F6D;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

/* ==================== TIPOGRAFIA ==================== */
h1 {
    color: var(--cor-h1);
    text-shadow: 2px 2px 8px rgba(82, 74, 66, 0.4);
    font-size: 2.5rem;
    font-weight: bold;
}

h2 {
    color: var(--cor-h2);
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

h3 {
    color: var(--cor-h1);
    font-size: 1.5rem;
    font-weight: bold;
}

h4 {
    color: var(--cor-h2);
    font-size: 1.2rem;
    font-weight: bold;
}

h5 {
    color: var(--cor-h2);
    font-size: 1rem;
    font-weight: bold;
}

p {
    color: var(--cor-texto);
}

a {
    color: var(--cor-texto);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--cor-h2);
}

/* ==================== CONTAINER ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== HEADER ==================== */
header {
    background-color: #E9E5DD;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 4;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 50px;
    width: auto;
}

.menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.menu a {
    color: #544541;
    font-weight: 500;
    transition: all 0.3s ease;
}

.menu a:hover,
.menu a.ativo {
    color: var(--cor-h2);
    font-weight: 600;
    border-bottom: 2px solid var(--cor-h2);
    padding-bottom: 5px;
}

.redes-sociais {
    display: flex;
    gap: 1rem;
}

.social-icon {
    color: var(--cor-icones);
    font-size: 1.3rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    color: var(--cor-h2);
    transform: scale(1.2);
}

.icon-svg {
    width: 1.3em;
    height: 1.3em;
    fill: currentColor;
}

/* ==================== HERO ==================== */
.hero {
    margin-top: 80px;
    min-height: 100vh;
    background: #58463A;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    margin-bottom: 1rem;
}

.hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--cor-h2);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================== BOTÕES ==================== */
.btn {
    padding: 12px 30px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--cor-primaria);
    color: var(--cor-secundaria);
}

.btn-primary:hover {
    background-color: #c9a877;
    color: #1a140f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(214, 182, 138, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--cor-primaria);
    border: 2px solid var(--cor-primaria);
}

.btn-secondary:hover {
    background-color: var(--cor-primaria);
    color: var(--cor-secundaria);
}

.btn-outline {
    background-color: transparent;
    color: var(--cor-h2);
    border: 2px solid var(--cor-h2);
}

.btn-outline:hover {
    background-color: var(--cor-h2);
    color: var(--cor-secundaria);
}

/* ==================== SEÇÕES GENÉRICAS ==================== */
section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--cor-h2);
    font-size: 1.1rem;
}

/* ==================== QUEM SOMOS ==================== */
.quem-somos {
    --about-image-area: 50%;
    --about-image-size: 70%;
    --about-image-x: 50%;
    --about-image-y: 50%;
    --about-spotlight-x: 54%;
    --about-spotlight-y: 62%;
    --about-spotlight-width: 48%;
    --about-spotlight-height: 70%;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background-color: #050505;
}

.quem-somos .section-header {
    position: relative;
    z-index: 2;
    max-width: 560px;
    text-align: left;
}

.about-content {
    min-height: 540px;
    display: flex;
    align-items: center;
}

.about-text {
    position: relative;
    z-index: 2;
    max-width: 560px;
    padding: 2rem 0 4rem;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.75);
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.credibilidade {
    margin: 2rem 0;
}

.badge {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid var(--cor-h2);
    border-radius: 5px;
}

.oab-numero {
    color: var(--cor-h2);
    font-weight: bold;
}

.about-image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    width: var(--about-image-area);
    min-width: 560px;
    overflow: hidden;
    box-shadow: -80px 0 110px rgba(5, 5, 5, 0.9);
}

.about-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse var(--about-spotlight-width) var(--about-spotlight-height) at var(--about-spotlight-x) var(--about-spotlight-y),
        rgba(5, 5, 5, 0) 0%,
        rgba(5, 5, 5, 0.12) 45%,
        rgba(5, 5, 5, 0.4) 72%,
        rgba(5, 5, 5, 0.78) 74%,
        rgba(5, 5, 5, 0.82) 100%
    );
    pointer-events: none;
}

.about-image img {
    position: absolute;
    top: var(--about-image-y);
    left: var(--about-image-x);
    width: var(--about-image-size);
    max-width: none;
    height: auto;
    display: block;
    transform: translate(-50%, -50%);
    filter: saturate(0.9) contrast(1.05);
}

/* ==================== SERVIÇOS ==================== */
.servicos {
    background-color: #0d0d0d;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.servico-card {
    background-color: rgba(214, 182, 138, 0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(214, 182, 138, 0.3);
    transition: all 0.3s ease;
}

.servico-card:hover {
    background-color: rgba(214, 182, 138, 0.15);
    border-color: var(--cor-h2);
    transform: translateY(-5px);
}

.servico-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background-color: rgba(214, 182, 138, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-planejamento {
    width: 48px;
    height: 48px;
    display: block;
    color: var(--cor-h2);
}


.servico-card h3 {
    margin-bottom: 1rem;
}

.servico-card p {
    margin-bottom: 1.5rem;
}

/* ==================== CONTATO ==================== */
.contato {
    background-color: #1a1a1a;
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.formulario-contato {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--cor-h2);
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid rgba(214, 182, 138, 0.3);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--cor-texto);
    font-family: 'Arial', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cor-h2);
    box-shadow: 0 0 10px rgba(214, 182, 138, 0.2);
}

.info-contato {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item h4 {
    margin-bottom: 0.5rem;
}

.info-item p {
    line-height: 1.8;
    margin-top: 0.5rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cor-h2);
    transition: all 0.3s ease;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    padding-bottom: 5px;
}

.contact-link:hover {
    border-bottom: 2px solid var(--cor-h2);
    color: var(--cor-primaria);
}

.external-link-icon {
    width: 0.9em;
    height: 0.9em;
    fill: currentColor;
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: #373535;
    padding: 40px 0 20px;
    border-top: 1px solid rgba(214, 182, 138, 0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.footer-logo-grande {
    max-height: 60px;
    width: auto;
    margin-top: 0;
    min-height: unset;
    background: none;
    position: static;
    overflow: visible;
    z-index: auto;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../imagens/Simbolo original.png') center center/20% no-repeat;
    pointer-events: none;
    opacity: 0.2;
    z-index: 1;
}


.hero-bullets {
        margin-bottom: 2rem;
    list-style: none;
    padding-left: 0;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 3;
}
.footer-section h5 {
    color: var(--cor-h2);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--cor-texto);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--cor-h2);
}

.redes-footer {
    display: flex;
    gap: 1rem;
}

.redes-footer a {
    color: var(--cor-texto);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.redes-footer a:hover {
    color: var(--cor-h2);
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(214, 182, 138, 0.2);
    color: #999;
    background: none;
}


/* ==================== RESPONSIVIDADE ==================== */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .menu ul {
        gap: 1rem;
    }

    .contato-content {
        grid-template-columns: 1fr;
    }

    .quem-somos {
        --about-image-area: 100%;
        --about-image-size: 140%;
        --about-image-x: 50%;
        --about-image-y: 50%;
    }

    .quem-somos .section-header {
        text-align: center;
    }

    .about-content {
        min-height: auto;
    }

    .about-text {
        max-width: none;
        padding: 1rem 0 2rem;
    }

    .about-image {
        width: 100%;
        min-width: 0;
        opacity: 0.35;
        box-shadow: none;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero {
        min-height: 400px;
        margin-top: 70px;
    }

    .mapa-container iframe {
        height: 300px !important;
    }

}
