/* Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

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

}

:root {
    /* Paleta da Logo */
    --cor-primaria: #592222;
    --cor-secundaria: #A66F5B;
    --cor-destaque: #F25244;
    --cor-destaque-alt: #F24949;
    --cor-accent: #F2D49B;
    --cor-texto: #FFFFFF;
    --cor-texto-escuro: #2c2c2c;
    --cor-texto-medio: #5a5a5a;
    --cor-fundo-claro: #fafafa;
    --cor-fundo-escuro: #3d1a1a;
    --cor-borda: #e0d0d0;
    --fonte-principal: 'Montserrat', 'Segoe UI', sans-serif;
    --fonte-titulo: 'Cormorant Garamond', serif;
    --sombra-suave: 0 2px 8px rgba(89, 34, 34, 0.1);
    --sombra-media: 0 4px 16px rgba(89, 34, 34, 0.15);
    --sombra-forte: 0 8px 24px rgba(89, 34, 34, 0.2);
}

body {
    font-family: var(--fonte-principal);
    color: var(--cor-texto-escuro);
    line-height: 1.7;
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    min-height: 100vh;
}

/* Prevenir zoom em inputs no iOS e melhorar UX mobile */
@media screen and (max-width: 768px) {
    input,
    select,
    textarea {
        font-size: 16px !important;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

    /* Melhorar área de toque */
    button,
    a,
    .btn-primary,
    .btn-secondary,
    .btn-consulta {
        min-height: 44px;
        min-width: 44px;
    }

    /* Prevenir scroll horizontal */
    * {
        max-width: 100%;
    }

    body {
        position: relative;
        overflow-x: hidden;
    }
}

/* Header */
header {
    background-color: var(--cor-primaria);
    padding: 1.2rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--sombra-media);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    width: 100%;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
}

.logo-square {
    width: 55px;
    height: 55px;
    background-color: var(--cor-primaria);
    border: 2px solid var(--cor-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--cor-accent);
    font-family: var(--fonte-titulo);
    letter-spacing: 1px;
    transition: transform 0.3s;
}

.logo-square:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--cor-texto);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--cor-accent);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--cor-accent);
}

.nav-link.active {
    color: var(--cor-accent);
    font-weight: 600;
}

.btn-consulta {
    background-color: var(--cor-accent);
    color: var(--cor-texto);
    padding: 0.85rem 2rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--sombra-suave);
}

.btn-consulta:hover {
    background-color:#f2d49bc1;
    transform: translateY(-2px);
    box-shadow: var(--sombra-media);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--cor-texto);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--cor-primaria) 0%, var(--cor-fundo-escuro) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    right: -10%;
    top: -10%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle, rgba(242, 212, 155, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.hero-background-image {
    position:absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    height: 90%;
    object-fit: contain;
    object-position: center right;
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
    filter: brightness(0.8) contrast(1.1);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(242, 212, 155, 0.2);
    color: var(--cor-accent);
    border: 1px solid rgba(242, 212, 155, 0.4);
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.badge i {
    font-size: 0.9rem;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--cor-texto);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-family: var(--fonte-titulo);
    letter-spacing: -1px;
}

.hero h1 .destaque {
    color: var(--cor-accent);
    position: relative;
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 5rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary,
.btn-secondary {
    padding: 1.1rem 2.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--sombra-media);
}

.btn-primary {
    background-color: transparent;
    color: var(--cor-texto);
    border: 2px solid rgba(242, 212, 155, 0.5);
}

.btn-primary:hover {
    background-color: rgba(242, 212, 155, 0.15);
    border-color: var(--cor-accent);
    color: var(--cor-accent);
    transform: translateY(-3px);
    box-shadow: var(--sombra-forte);
}

.btn-secondary {
    background-color: transparent;
    color: var(--cor-texto);
    border: 2px solid rgba(242, 212, 155, 0.5);
}

.btn-secondary:hover {
    background-color: rgba(242, 212, 155, 0.15);
    border-color: var(--cor-accent);
    color: var(--cor-accent);
    transform: translateY(-3px);
    box-shadow: var(--sombra-forte);
}

.stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    width: 100%;
    padding: 0 1rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--cor-texto);
    flex: 1;
    min-width: 150px;
    max-width: 250px;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    color: var(--cor-accent);
    opacity: 0.95;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: var(--fonte-titulo);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--cor-texto);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
}

.scroll-indicator i {
    animation: bounce 2s infinite;
    font-size: 1.2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Seções Gerais */
.section {
    padding: 6rem 2rem;
    width: 100%;
    overflow-x: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
}

.section-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--cor-destaque);
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--cor-primaria);
    margin-bottom: 1.5rem;
    font-family: var(--fonte-titulo);
    position: relative;
    display: inline-block;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--cor-destaque);
}

.section-description {
    font-size: 1.15rem;
    color: var(--cor-texto-medio);
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 400;
}

/* Cards de Áreas */
.areas-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.area-card {
    flex: 1 1 300px;
    min-width: 280px;
    max-width: 380px;
}

.area-card {
    background: var(--cor-texto);
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: var(--sombra-suave);
    transition: all 0.3s;
    border: 1px solid var(--cor-borda);
}

.area-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sombra-forte);
}

.area-icon {
    width: 70px;
    height: 70px;
    background-color: var(--cor-primaria);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--cor-secundaria);
    font-size: 2rem;
    transition: all 0.3s;
}

.area-card:hover .area-icon {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--cor-accent);
    color: var(--cor-texto);
}

.area-card h3 {
    font-size: 1.6rem;
    color: var(--cor-primaria);
    margin-bottom: 1rem;
    font-family: var(--fonte-titulo);
    font-weight: 600;
}

.area-card p {
    color: var(--cor-texto-medio);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.tag {
    background-color: var(--cor-fundo-claro);
    color: var(--cor-texto-medio);
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s;
    border: 1px solid var(--cor-borda);
}

.tag:hover {
    background-color: var(--cor-destaque);
    color: var(--cor-texto);
    border-color: var(--cor-destaque);
}

.area-link {
    color: var(--cor-primaria);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.area-link:hover {
    color: var(--cor-destaque);
    gap: 0.75rem;
}

.area-link i {
    transition: transform 0.3s;
}

.area-link:hover i {
    transform: translateX(5px);
}

/* Página Sobre */
.about-section {
    background: linear-gradient(135deg, var(--cor-primaria) 0%, var(--cor-fundo-escuro) 100%);
    color: var(--cor-texto);
    padding: 6rem 2rem;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: flex-start;
}

.about-content {
    flex: 1 1 500px;
    min-width: 300px;
}

.differentials {
    flex: 1 1 400px;
    min-width: 300px;
}

.about-content h2 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--cor-accent);
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-content h3 {
    font-size: 3rem;
    margin-bottom: 2rem;
    line-height: 1.2;
    font-family: var(--fonte-titulo);
    font-weight: 700;
}

.about-content h3 .destaque {
    color: var(--cor-accent);
}

.about-content p {
    margin-bottom: 1.8rem;
    line-height: 1.9;
    color: rgba(242, 212, 155, 0.95);
    font-size: 1.05rem;
    font-weight: 300;
}

.values {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2.5rem;
}

.value-item {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.value-icon {
    font-size: 2.2rem;
    color: var(--cor-accent);
    min-width: 60px;
    text-align: center;
}

.value-content h4 {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
    color: var(--cor-accent);
    font-family: var(--fonte-titulo);
    font-weight: 600;
}

.value-content p {
    color: rgba(242, 212, 155, 0.9);
    font-size: 0.95rem;
    line-height: 1.7;
}

.differentials {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 3.5rem;
    border-radius: 12px;
    box-shadow: var(--sombra-forte);
    border: 1px solid rgba(242, 212, 155, 0.2);
}

.differentials h3 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--cor-accent);
    font-family: var(--fonte-titulo);
    font-weight: 600;
}

.differentials ul {
    list-style: none;
    margin-bottom: 2.5rem;
}

.differentials li {
    padding: 1rem 0;
    color: rgba(242, 212, 155, 0.95);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    line-height: 1.6;
}

.differentials li i {
    color: var(--cor-accent);
    font-size: 1.1rem;
    min-width: 20px;
}

.differentials-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(242, 212, 155, 0.2);
}

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

.diff-stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--cor-accent);
    margin-bottom: 0.5rem;
    font-family: var(--fonte-titulo);
    line-height: 1;
}

.diff-stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: rgba(242, 212, 155, 0.9);
    letter-spacing: 2px;
    font-weight: 500;
}

/* Página Equipe */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.team-card {
    flex: 1 1 300px;
    min-width: 280px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
}

.team-card {
    text-align: center;
    background: var(--cor-texto);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--sombra-suave);
    transition: all 0.3s;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-media);
}

.team-photo {
    width: 100%;
    max-width: 320px;
    height: 420px;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 auto 1.5rem;
    display: block;
    background-color: #ddd;
    box-shadow: var(--sombra-suave);
    filter: grayscale(100%);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.team-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: #F2D49B;
    z-index: 2;
    transition: height 0.5s ease;
    border-radius: 8px 0 0 8px;
}

.team-card:hover .team-photo {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.team-card:hover .team-photo::before {
    height: 100%;
}

.team-name {
    font-size: 1.6rem;
    color: var(--cor-primaria);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-family: var(--fonte-titulo);
}

.team-role {
    color: var(--cor-secundaria);
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 1rem;
}

.team-oab {
    color: var(--cor-texto-medio);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.team-description {
    color: var(--cor-texto-medio);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.team-contact {
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--cor-borda);
    border-bottom: 1px solid var(--cor-borda);
}

.team-phone,
.team-email {
    color: var(--cor-texto-medio);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.team-phone i,
.team-email i {
    color: var(--cor-primaria);
    font-size: 0.9rem;
    width: 18px;
}

.team-phone a,
.team-email a {
    color: var(--cor-texto-medio);
    text-decoration: none;
    transition: color 0.3s;
}

.team-phone a:hover,
.team-email a:hover {
    color: var(--cor-destaque);
}

.team-social {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.social-icon {
    width: 45px;
    height: 45px;
    background-color: var(--cor-primaria);
    color: var(--cor-texto);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.social-icon:hover {
    background-color: var(--cor-accent);
    color: var(--cor-texto);
    transform: translateY(-3px);
    box-shadow: var(--sombra-suave);
}

/* Depoimentos */
.testimonials {
    background-color: var(--cor-primaria);
    color: var(--cor-texto);
    padding: 6rem 2rem;
}

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

.testimonial-quote {
    font-size: 5rem;
    color: var(--cor-accent);
    margin-bottom: 1.5rem;
    line-height: 1;
    opacity: 0.7;
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    font-size: 1.5rem;
    color: var(--cor-accent);
}

.testimonial-text {
    font-size: 1.35rem;
    line-height: 1.9;
    margin-bottom: 2.5rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 3rem;
}

.author-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: var(--cor-destaque);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cor-texto);
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--fonte-titulo);
    box-shadow: var(--sombra-media);
}

.author-name {
    font-size: 1.3rem;
    font-weight: 600;
    font-family: var(--fonte-titulo);
}

.author-role {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.testimonial-dots {
    display: flex;
    gap: 0.6rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background-color: var(--cor-destaque);
    transform: scale(1.2);
}

.testimonial-arrow {
    background: none;
    border: none;
    color: var(--cor-accent);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.testimonial-arrow:hover {
    color: var(--cor-texto);
    background-color: rgba(242, 212, 155, 0.3);
}

/* Página Contato */
.contact-section {
    background-color: var(--cor-fundo-claro);
    padding: 6rem 2rem;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: flex-start;
}

.contact-info {
    flex: 1 1 400px;
    min-width: 300px;
}

.contact-form {
    flex: 1 1 400px;
    min-width: 300px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: var(--cor-primaria);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cor-accent);
    font-size: 1.6rem;
    flex-shrink: 0;
    box-shadow: var(--sombra-suave);
}

.contact-details h4 {
    font-size: 1.2rem;
    color: var(--cor-primaria);
    margin-bottom: 0.6rem;
    font-weight: 600;
    font-family: var(--fonte-titulo);
}

.contact-details p {
    color: var(--cor-texto-medio);
    line-height: 1.8;
    font-size: 0.95rem;
}

.contact-map {
    width: 100%;
    max-width: 100%;
    height: 320px;
    border-radius: 12px;
    margin-top: 1rem;
    border: none;
    box-shadow: var(--sombra-suave);
    overflow: hidden;
}

.contact-form {
    background: var(--cor-texto);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--sombra-media);
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--cor-texto-escuro);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group label .required {
    color: #d32f2f;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid var(--cor-borda);
    border-radius: 6px;
    font-size: 1rem;
    font-family: var(--fonte-principal);
    transition: all 0.3s;
    background-color: var(--cor-fundo-claro);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cor-destaque);
    background-color: var(--cor-texto);
    box-shadow: 0 0 0 3px rgba(242, 82, 68, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.char-count {
    font-size: 0.85rem;
    color: var(--cor-texto-medio);
    margin-top: 0.4rem;
}

.form-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.btn-submit,
.btn-whatsapp {
    flex: 1;
    padding: 1.1rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--sombra-suave);
}

.btn-submit {
    background-color: var(--cor-primaria);
    color: var(--cor-texto);
}

.btn-submit:hover {
    background-color: var(--cor-accent);
    transform: translateY(-2px);
    box-shadow: var(--sombra-media);
}

.btn-whatsapp {
    background-color: #20ba5bca;
    color: var(--cor-texto);
}

.btn-whatsapp:hover {
    background-color: #25D366;
    transform: translateY(-2px);
    box-shadow: var(--sombra-media);
}

/* Footer */
footer {
    background-color: var(--cor-primaria);
    color: var(--cor-texto);
    padding: 5rem 2rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
    justify-content: space-between;
}

.footer-container > div {
    flex: 1 1 200px;
    min-width: 250px;
}

.footer-container > div:first-child {
    flex: 2 1 300px;
    min-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.footer-logo-square {
    width: 55px;
    height: 55px;
    background-color: var(--cor-primaria);
    border: 2px solid var(--cor-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--cor-accent);
    font-family: var(--fonte-titulo);
    letter-spacing: 1px;
}

.footer-about {
    color: rgba(242, 212, 155, 0.95);
    line-height: 1.9;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    font-weight: 300;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background-color: transparent;
    border: 2px solid var(--cor-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cor-accent);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.footer-social a:hover {
    background-color: var(--cor-accent);
    color: var(--cor-primaria);
    transform: translateY(-3px);
    box-shadow: var(--sombra-suave);
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--cor-texto);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

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

.footer-links li {
    margin-bottom: 0.9rem;
}

.footer-links a {
    color: rgba(242, 212, 155, 0.95);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
    font-weight: 300;
}

.footer-links a:hover {
    color: var(--cor-accent);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    align-items: start;
}

.footer-contact-icon {
    color: var(--cor-accent);
    font-size: 1.3rem;
    margin-top: 0.2rem;
    min-width: 25px;
}

.footer-contact-text {
    color: rgba(242, 212, 155, 0.95);
    line-height: 1.8;
    font-size: 0.95rem;
    font-weight: 300;
}

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding-top: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-legal {
    color: rgba(242, 212, 155, 0.7);
    font-size: 0.85rem;
    line-height: 1.7;
    max-width: 800px;
    font-weight: 300;
}

.footer-copyright {
    color: var(--cor-texto);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--cor-texto);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    font-weight: 300;
}

.footer-bottom-links a:hover {
    color: var(--cor-accent);
}

/* WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
}

.whatsapp-popup {
    background: var(--cor-texto);
    padding: 1.2rem;
    border-radius: 12px;
    box-shadow: var(--sombra-forte);
    margin-bottom: 1rem;
    max-width: 280px;
    position: relative;
    animation: slideUp 0.3s ease-out;
}

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

.whatsapp-popup.hidden {
    display: none;
}

.whatsapp-popup-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: #666;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.whatsapp-popup-close:hover {
    background-color: #F0F0F0;
    color: var(--cor-primaria);
}

.whatsapp-popup-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-right: 1.5rem;
}

.whatsapp-popup-icon {
    font-size: 1.8rem;
    color: #25D366;
}

.whatsapp-popup-text {
    color: var(--cor-texto-escuro);
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 500;
}

.whatsapp-button {
    width: 65px;
    height: 65px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cor-texto);
    font-size: 2.2rem;
    cursor: pointer;
    box-shadow: var(--sombra-forte);
    transition: all 0.3s;
    text-decoration: none;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* Background Pattern */
.pattern-bg {
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(89, 34, 34, 0.015) 10px, rgba(89, 34, 34, 0.015) 20px);
}

/* Responsividade */
/* Tablet - 768px a 1024px */
@media (max-width: 1024px) {
    .nav-links {
        gap: 1.5rem;
        font-size: 0.9rem;
    }

    .hero {
        padding-top: 90px;
        min-height: 90vh;
    }

    .hero-background-image {
        width: 40%;
        opacity: 0.12;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .hero-content {
        padding: 2rem 1.5rem;
    }

    .stats {
        gap: 3rem;
    }

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

    .section {
        padding: 4rem 1.5rem;
    }

    .about-container {
        flex-direction: column;
    }

    .about-content,
    .differentials {
        flex: 1 1 100%;
        width: 100%;
    }

    .contact-container {
        flex-direction: column;
    }

    .contact-info,
    .contact-form {
        flex: 1 1 100%;
        width: 100%;
    }

    .areas-grid {
        gap: 1.5rem;
    }

    .area-card {
        flex: 1 1 280px;
        max-width: 100%;
    }

    .team-grid {
        gap: 2rem;
    }

    .team-card {
        flex: 1 1 280px;
        max-width: 100%;
    }

    .team-photo {
        max-width: 280px;
        height: 380px;
    }

    .footer-container {
        flex-direction: column;
        gap: 2.5rem;
    }

    .footer-container > div {
        flex: 1 1 100%;
        width: 100%;
    }

    .contact-map {
        height: 280px;
    }

    .whatsapp-widget {
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-button {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
}

/* Mobile - até 768px */
@media (max-width: 768px) {
    header {
        padding: 0.8rem 1rem;
    }

    .logo-square {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--cor-primaria);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        box-shadow: var(--sombra-forte);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.5rem 0;
    }

    .mobile-menu-toggle {
        display: block;
        font-size: 1.3rem;
    }

    .btn-consulta {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
    }

    .hero {
        padding-top: 80px;
        min-height: 85vh;
    }

    .hero-background-image {
        width: 35%;
        opacity: 0.1;
        right: -10%;
    }

    .hero-content {
        padding: 2rem 1rem;
    }

    .badge {
        padding: 0.5rem 1.2rem;
        font-size: 0.7rem;
        margin-bottom: 1.5rem;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        margin-bottom: 3rem;
        padding: 0 1rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }

    .stats {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }

    .stat-item {
        width: 100%;
    }

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

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

    .stat-label {
        font-size: 0.75rem;
    }

    .scroll-indicator {
        bottom: 1.5rem;
        font-size: 0.65rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-subtitle {
        font-size: 0.7rem;
        margin-bottom: 0.8rem;
    }

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

    .section-description {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    .areas-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .area-card {
        padding: 2rem 1.5rem;
    }

    .area-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .area-card h3 {
        font-size: 1.4rem;
    }

    .about-section {
        padding: 3rem 1rem;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-content h3 {
        font-size: 2.2rem;
    }

    .about-content p {
        font-size: 1rem;
    }

    .values {
        gap: 2rem;
        margin-top: 2rem;
    }

    .value-item {
        gap: 1rem;
    }

    .value-icon {
        font-size: 2rem;
        min-width: 50px;
    }

    .differentials {
        padding: 2.5rem 1.5rem;
    }

    .differentials h3 {
        font-size: 1.75rem;
    }

    .differentials-stats {
        flex-direction: column;
        gap: 2rem;
        padding-top: 2rem;
    }

    .diff-stat-number {
        font-size: 3rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .team-card {
        padding: 1.5rem;
    }

    .team-photo {
        max-width: 100%;
        height: 400px;
    }

    .team-name {
        font-size: 1.4rem;
    }

    .team-contact {
        padding: 0.8rem 0;
    }

    .team-phone,
    .team-email {
        font-size: 0.85rem;
        justify-content: center;
    }

    .testimonials {
        padding: 3rem 1rem;
    }

    .testimonial-quote {
        font-size: 4rem;
    }

    .testimonial-text {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .testimonial-stars {
        font-size: 1.2rem;
    }

    .author-avatar {
        width: 75px;
        height: 75px;
        font-size: 1.5rem;
    }

    .author-name {
        font-size: 1.1rem;
    }

    .contact-section {
        padding: 3rem 1rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-info {
        gap: 2rem;
    }

    .contact-item {
        gap: 1rem;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .contact-map {
        height: 250px;
        margin-top: 1rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .form-buttons {
        flex-direction: column;
    }

    .btn-submit,
    .btn-whatsapp {
        width: 100%;
    }

    footer {
        padding: 3rem 1rem 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding-top: 2rem;
    }

    .footer-legal {
        font-size: 0.8rem;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 0.75rem;
    }

    .whatsapp-popup {
        max-width: 240px;
        padding: 1rem;
    }

    .whatsapp-popup-text {
        font-size: 0.85rem;
    }

    .whatsapp-button {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
}

/* Melhorias de toque para mobile */
@media (max-width: 768px) {
    a,
    button {
        -webkit-tap-highlight-color: rgba(242, 212, 155, 0.3);
    }

    .nav-link {
        padding: 0.75rem 0;
        display: block;
    }

    .btn-primary,
    .btn-secondary,
    .btn-consulta,
    .btn-submit,
    .btn-whatsapp {
        min-height: 44px;
        touch-action: manipulation;
    }
}

/* Mobile Pequeno - até 480px */
@media (max-width: 480px) {
    header {
        padding: 0.7rem 0.8rem;
    }

    .logo-square {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .btn-consulta {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
    }

    .hero {
        min-height: 80vh;
        padding-top: 70px;
    }

    .hero-background-image {
        display: none;
    }

    .hero-content {
        padding: 1.5rem 0.8rem;
    }

    .badge {
        padding: 0.4rem 1rem;
        font-size: 0.65rem;
    }

    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        margin-bottom: 2.5rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }

    .stats {
        gap: 1.5rem;
    }

    .stat-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

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

    .stat-label {
        font-size: 0.7rem;
    }

    .section {
        padding: 2.5rem 0.8rem;
    }

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

    .section-description {
        font-size: 0.95rem;
    }

    .area-card {
        padding: 1.5rem 1rem;
    }

    .area-card h3 {
        font-size: 1.3rem;
    }

    .area-card p {
        font-size: 0.9rem;
    }

    .about-content h3 {
        font-size: 1.9rem;
    }

    .about-content p {
        font-size: 0.95rem;
    }

    .differentials {
        padding: 2rem 1rem;
    }

    .differentials h3 {
        font-size: 1.5rem;
    }

    .differentials li {
        font-size: 0.9rem;
        padding: 0.8rem 0;
    }

    .team-photo {
        height: 350px;
    }

    .team-name {
        font-size: 1.3rem;
    }

    .team-description {
        font-size: 0.9rem;
    }

    .testimonial-quote {
        font-size: 3.5rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .testimonial-stars {
        font-size: 1.1rem;
    }

    .author-avatar {
        width: 65px;
        height: 65px;
        font-size: 1.3rem;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .contact-details h4 {
        font-size: 1.1rem;
    }

    .contact-details p {
        font-size: 0.9rem;
    }

    .contact-map {
        height: 220px;
    }

    .contact-form {
        padding: 1.5rem 1rem;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    .whatsapp-widget {
        bottom: 10px;
        right: 10px;
    }

    .whatsapp-popup {
        max-width: 200px;
        padding: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .whatsapp-popup-text {
        font-size: 0.8rem;
    }

    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
}
