/* 
    Mateus Bedoni Advocacia - Custom Stylesheet
    Colors: Luxo Dark Blue (#0c2439), Gold (#9e7457), Off-white/Cream (#efeeec)
*/

:root {
    --primary-color: #0c2439;
    /* Deep Luxo Blue */
    --secondary-color: #9e7457;
    /* Gold/Bronze Refinado */
    --bg-light: #efeeec;
    /* Off-white Cream */
    --bg-dark: #071725;
    /* Richer Navy Blue */
    --text-dark: #0c2439;
    --text-muted: #556c80;
    --white: #ffffff;

    --whatsapp-green: #25D366;
    --whatsapp-dark: #128C7E;

    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* Typography styles matching Bodoni Moda and Montserrat */
h1,
h2,
h3,
h4 {
    font-family: 'Bodoni Moda', serif;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =================================
   HEADER & NAVIGATION
   ================================= */
header {
    background: rgba(12, 36, 57, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 15px 0;
    position: fixed;
    width: 95%;
    max-width: 1400px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    transition: var(--transition);
    border-radius: 12px;
    border-bottom: 2px solid var(--secondary-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

header.scrolled {
    top: 0;
    width: 100%;
    border-radius: 0;
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

/* CSS-based Vector Brand Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-logo .logo-img {
    height: 90px;
}

.logo-emblem {
    background: var(--bg-dark);
    border: 2px solid var(--secondary-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 10px rgba(158, 116, 87, 0.2);
}

.logo-literal {
    color: var(--secondary-color);
    font-family: 'Bodoni Moda', serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -2px;
    padding-right: 2px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 2px;
    line-height: 1.1;
}

.logo-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--secondary-color);
    letter-spacing: 3.5px;
    margin-top: 2px;
}

nav {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.btn-cta-header {
    background: linear-gradient(45deg, var(--whatsapp-green), var(--whatsapp-dark), var(--whatsapp-green));
    background-size: 200% auto;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.5s ease;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
    border: none;
    cursor: pointer;
}

.btn-cta-header:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* =================================
   SEÇÃO HERO
   ================================= */
.hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 100px;
    min-height: 95vh;
    background-color: var(--primary-color);
    background-image: url('../assets/capa%20hero.webp');
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-overlay {
    display: none;
}


.hero-content-single {
    display: flex;
    /* --- POSICIONAMENTO DO TEXTO HERO ---
       Alinhamento horizontal: flex-start (esquerda), center (centro), flex-end (direita)
       Alinhamento vertical:   flex-start (topo), center (meio), flex-end (base) */
    justify-content: var(--hero-align-x, flex-start);
    align-items: var(--hero-align-y, center);
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content-single .hero-content {
    max-width: 700px;
    width: 100%;
    /* --- DESLOCAMENTO FINO (OFFSETS) ---
       Altere os valores abaixo para empurrar o texto na direção que preferir */
    margin-left: var(--hero-offset-x, 0px);
    /* Empurrar para a direita (Ex: 50px, 10%) */
    margin-top: var(--hero-offset-y, 0px);
    /* Empurrar para baixo (Ex: 20px) ou cima (Ex: -30px) */
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(158, 116, 87, 0.1);
    border: 1px solid rgba(158, 116, 87, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    color: var(--secondary-color);
    text-transform: uppercase;
}

.tag-dot {
    width: 6px;
    height: 6px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--secondary-color);
}

.hero-content h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 25px;
    text-align: left;
    color: var(--white);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 0, 0, 0.6);
}

.hero-content h1 em {
    font-style: italic;
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--white);
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.7;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9);
}

.hero-btns {
    display: flex;
    gap: 20px;
}


/* =================================
   BUTTON STYLING (CTA BRILHO)
   ================================= */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 32px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(45deg,
            var(--whatsapp-green),
            var(--whatsapp-dark),
            var(--whatsapp-green),
            var(--whatsapp-dark));
    background-size: 300% 100%;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.25);
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    animation: pulseGlow 3s infinite;
}

.btn-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
    background-position: 100% 0;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* =================================
   SEÇÃO ÁREAS DE ATUAÇÃO (SERVIÇOS)
   ================================= */
.atuacao {
    padding: 120px 0;
    background-color: var(--bg-light);
}

.atuacao .container {
    max-width: 1300px;
}

.section-title {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 70px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

.section-title.left-align {
    text-align: left;
}

.section-title.left-align::after {
    margin: 20px 0 0;
}

.service-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 100%;
    margin: 0 auto;
}

.service-card {
    background: linear-gradient(145deg, var(--primary-color) 0%, #071725 100%);
    padding: 60px 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(7, 23, 37, 0.15);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
    flex: 1 1 calc(33.333% - 40px);
    max-width: 390px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    border: 1px solid rgba(158, 116, 87, 0.12);
    overflow: hidden;
    z-index: 1;
}

/* Row 2 - Wide layout for bottom 2 cards */
.service-card:nth-child(4),
.service-card:nth-child(5) {
    flex: 1 1 calc(50% - 40px);
    max-width: 600px;
}

/* Card hover animation */
.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(7, 23, 37, 0.4), 0 0 25px rgba(158, 116, 87, 0.25);
    border-color: var(--secondary-color);
}

/* Elegant glowing radial blur effect on hover */
.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(158, 116, 87, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: -1;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
    z-index: 2;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Glowing labor tactile badge */
.service-icon {
    width: 84px;
    height: 84px;
    background: rgba(158, 116, 87, 0.08);
    border: 1px solid rgba(158, 116, 87, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.3rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-card:hover .service-icon {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 12px 25px rgba(158, 116, 87, 0.4);
}

/* Service Titles */
.service-card h3 {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.4;
    position: relative;
    padding-bottom: 15px;
    transition: var(--transition);
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 1px;
    background: rgba(158, 116, 87, 0.35);
    transition: var(--transition);
}

.service-card:hover h3::after {
    width: 80px;
    background: var(--secondary-color);
}

.service-card p {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 35px;
    line-height: 1.8;
}

/* Saber mais action button link */
.btn-saber-mais {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 24px;
    border: 1px solid rgba(158, 116, 87, 0.35);
    border-radius: 30px;
    color: var(--secondary-color);
    background: transparent;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    margin-top: auto;
}

.btn-saber-mais i {
    font-size: 0.8rem;
    transition: var(--transition);
}

.service-card:hover .btn-saber-mais {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(158, 116, 87, 0.3);
}

.btn-saber-mais:hover i {
    transform: translateX(6px);
}

.service-footer-cta {
    margin-top: 60px;
    text-align: center;
    display: flex;
    justify-content: center;
}

/* =================================
   MODAL PARA DETALHES DO SERVIÇO
   ================================= */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 23, 37, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow: auto;
}

.modal.visible {
    display: block;
}

.modal-content {
    background-color: var(--white);
    margin: 8% auto;
    padding: 60px;
    border-radius: 20px;
    width: 90%;
    max-width: 700px;
    position: relative;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    animation: modalEntrance 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    border-top: 6px solid var(--secondary-color);
}

@keyframes modalEntrance {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    color: var(--text-dark);
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 2.2rem;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--secondary-color);
    transform: rotate(90deg);
}

#modal-body {
    text-align: center;
}

.modal-icon-container {
    width: 80px;
    height: 80px;
    background: rgba(158, 116, 87, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

#modal-body i {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

#modal-body h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 2rem;
}

#modal-body .modal-text {
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: justify;
}

.btn-consultar {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(12, 36, 57, 0.2);
}

.btn-consultar:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(158, 116, 87, 0.3);
}

/* =================================
   SEÇÃO SOBRE O ESCRITÓRIO (DARK BLUE)
   ================================= */
.sobre {
    padding: 120px 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-text {
    flex: 1.2;
}

.about-text .section-title {
    color: var(--white);
    margin-bottom: 40px;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.05rem;
    color: var(--white);
    line-height: 1.8;
    text-align: justify;
}

.about-image {
    flex: 0.8;
}


/* =================================
   CARROSSEL - SEÇÃO SOBRE
   ================================= */
.about-carousel {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(158, 116, 87, 0.3);
}

.about-carousel::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
    pointer-events: none;
    z-index: 2;
}

.carousel-track {
    position: relative;
    width: 100%;
}

.carousel-slide {
    display: none;
    width: 100%;
}

.carousel-slide.active {
    display: block;
    animation: carouselFade 0.8s ease-in-out;
}

@keyframes carouselFade {
    from {
        opacity: 0;
        transform: scale(1.03);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.carousel-slide img {
    width: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.carousel-slide.active:hover img {
    transform: scale(1.04);
}

.carousel-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(158, 116, 87, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(158, 116, 87, 0.6);
}

.carousel-dot:hover {
    background: rgba(158, 116, 87, 0.7);
}

/* =================================
   DIFERENCIAIS (LIGHT GREY)
   ================================= */
.diferenciais {
    padding: 120px 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.diferenciais-editorial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 80px;
    row-gap: 60px;
    margin-top: 60px;
}

.diferencial-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    border-top: 1.5px solid rgba(158, 116, 87, 0.25);
    padding-top: 25px;
    transition: transform 0.4s ease;
}

.diferencial-item:hover {
    transform: translateY(-4px);
}

.diferencial-number {
    font-family: 'Bodoni Moda', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
    letter-spacing: -1px;
}

.diferencial-body {
    display: flex;
    flex-direction: column;
}

.diferencial-body h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.diferencial-body p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-dark);
    opacity: 0.85;
}

/* =================================
   SEÇÃO EQUIPE (DARK BLUE)
   ================================= */
.equipe {
    padding: 120px 0;
    background-color: var(--primary-color);
    color: var(--white);
    overflow: hidden;
}

.equipe-subtitle {
    display: block;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 5px;
    color: var(--secondary-color);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.equipe .section-title {
    color: var(--white);
}

.equipe .container {
    max-width: 1400px;
}

.equipe-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

/* ---- Card ---- */
.equipe-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(158, 116, 87, 0.18);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}

.equipe-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.equipe-card:hover {
    transform: translateY(-10px);
    border-color: rgba(158, 116, 87, 0.5);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(158, 116, 87, 0.1);
}

.equipe-card:hover::before {
    opacity: 1;
}

/* ---- Photo ---- */
.equipe-photo-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 4.5;
    overflow: hidden;
}

.equipe-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: block;
}

.equipe-card:hover .equipe-photo {
    transform: scale(1.06);
}

.equipe-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 40%,
        rgba(7, 23, 37, 0.85) 100%
    );
    pointer-events: none;
}

/* ---- Info block ---- */
.equipe-info {
    padding: 28px 28px 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.equipe-oab-badge {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--secondary-color);
    background: rgba(158, 116, 87, 0.1);
    border: 1px solid rgba(158, 116, 87, 0.3);
    padding: 5px 12px;
    border-radius: 50px;
    margin-bottom: 14px;
    width: fit-content;
}

.equipe-name {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 1.5px;
    margin-bottom: 6px;
    line-height: 1.2;
    text-transform: uppercase;
}

.equipe-role {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.5px;
    display: block;
}

.equipe-divider {
    width: 38px;
    height: 2px;
    background: var(--secondary-color);
    border-radius: 2px;
    margin: 18px 0;
    transition: width 0.4s ease;
}

.equipe-card:hover .equipe-divider {
    width: 70px;
}

.equipe-bio {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.87rem;
    line-height: 1.75;
    color: var(--white);
    text-align: justify;
    flex: 1;
}

.equipe-footer-cta {
    margin-top: 60px;
    text-align: center;
    display: flex;
    justify-content: center;
}

/* =================================
   SEÇÃO FAQ (DARK BLUE)
   ================================= */
.faq {
    padding: 120px 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.faq-container {
    display: flex;
    gap: 80px;
}

.faq-header {
    flex: 1;
    position: sticky;
    top: 150px;
    height: fit-content;
}

.faq-subtitle {
    display: block;
    font-family: 'Montserrat', sans-serif;
    color: var(--secondary-color);
    letter-spacing: 4px;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.faq-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--white);
}

.faq-decoration {
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.faq-list {
    flex: 1.5;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(158, 116, 87, 0.15);
    border-radius: 16px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
}

.faq-item:hover {
    border-color: rgba(158, 116, 87, 0.5);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.faq-item.active {
    border-color: var(--secondary-color);
    background: rgba(158, 116, 87, 0.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 28px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--white);
    transition: var(--transition);
}

.faq-question i {
    width: 34px;
    height: 34px;
    background: rgba(158, 116, 87, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--secondary-color);
    transition: var(--transition);
}

.faq-item.active .faq-question {
    color: var(--secondary-color);
}

.faq-item.active .faq-question i {
    background: var(--secondary-color);
    color: var(--white);
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0, 1, 0, 1);
    opacity: 0;
}

.faq-answer p {
    padding: 0 28px 24px;
    color: var(--white);
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: justify;
    border-top: 1px solid rgba(158, 116, 87, 0.1);
    padding-top: 20px;
    margin-top: -5px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
    transition: all 0.5s cubic-bezier(1, 0, 1, 0);
}

.faq-footer-cta {
    margin-top: 60px;
    text-align: center;
    display: flex;
    justify-content: center;
}

/* =================================
   SEÇÃO FINAL CTA (LIGHT GREY)
   ================================= */
.final-cta {
    padding: 100px 0;
    text-align: center;
    background: var(--bg-light);
    color: var(--text-dark);
}

.final-cta h2 {
    font-size: 2.6rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.final-cta p {
    font-size: 1.15rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-dark);
    opacity: 0.9;
}

/* =================================
   FOOTER PRINCIPAL (4 COLUNAS)
   ================================= */
.footer-main {
    background-color: var(--bg-dark);
    color: var(--white);
    border-top: 1px solid rgba(158, 116, 87, 0.25);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 50px;
    padding: 70px 20px 60px;
}

/* Coluna 1: Logo + tagline */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.footer-tagline {
    font-size: 0.88rem;
    line-height: 1.75;
    color: var(--white);
    max-width: 280px;
}

/* Heading de cada coluna */
.footer-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--secondary-color);
    margin-bottom: 25px;
    text-transform: uppercase;
}

/* Lista de navegação */
.footer-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-nav-list a {
    text-decoration: none;
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
    padding-left: 0;
}

.footer-nav-list a::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 1px;
    background: var(--secondary-color);
    vertical-align: middle;
    margin-right: 0;
    transition: width 0.3s ease, margin-right 0.3s ease;
}

.footer-nav-list a:hover {
    color: var(--secondary-color);
    padding-left: 10px;
}

.footer-nav-list a:hover::before {
    width: 6px;
    margin-right: 6px;
}

/* Lista de contato */
.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--white);
    font-size: 0.88rem;
    line-height: 1.6;
}

.footer-contact-list li i {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
}

/* Mapa embed */
.footer-map {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(158, 116, 87, 0.25);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.footer-map iframe {
    display: block;
    border: 0;
    filter: grayscale(30%) contrast(1.05);
    transition: filter 0.4s ease;
}

.footer-map:hover iframe {
    filter: grayscale(0%) contrast(1);
}

/* Barra inferior */
.footer-bottom {
    border-top: 1px solid rgba(158, 116, 87, 0.15);
    padding: 18px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom-inner p {
    font-size: 0.78rem;
    color: var(--white);
    letter-spacing: 0.3px;
}

.mega-ads {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mega-ads span {
    font-size: 0.78rem;
    opacity: 1;
    color: var(--white);
}

.mega-ads img {
    height: 20px;
    width: auto;
    opacity: 1;
    transition: var(--transition);
}

.mega-ads:hover img {
    opacity: 1;
}

/* =================================
   WHATSAPP FLOATING BUTTON & TOOLTIP
   ================================= */
.whatsapp-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1001;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
}

.whatsapp-float {
    background-color: var(--whatsapp-green);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--whatsapp-dark);
}

.whatsapp-tooltip {
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
    width: 300px;
    padding: 0;
    margin-bottom: 12px;
    position: relative;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    overflow: hidden;
    border-bottom: 2px solid var(--whatsapp-green);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 20px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--white);
}

.whatsapp-float:hover~.whatsapp-tooltip,
.whatsapp-tooltip:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tooltip-header {
    background: var(--primary-color);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(158, 116, 87, 0.1);
}

/* User profile-pic mask using office brand monogram image */
.tooltip-avatar {
    background-color: var(--bg-dark);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--secondary-color);
    overflow: hidden;
    /* Mantém a imagem dentro do círculo */
}

.tooltip-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tooltip-title-box {
    display: flex;
    flex-direction: column;
}

.tooltip-name {
    font-weight: 700;
    color: var(--white);
    font-size: 0.95rem;
}

.tooltip-status {
    font-size: 0.72rem;
    color: var(--whatsapp-green);
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.tooltip-status i {
    font-size: 0.5rem;
    animation: statusPulse 1.2s infinite alternate;
}

@keyframes statusPulse {
    from {
        opacity: 0.3;
    }

    to {
        opacity: 1;
    }
}

.tooltip-body {
    padding: 20px;
    background: #f0f2f5;
    margin: 10px;
    border-radius: 0 15px 15px 15px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.02);
}

.tooltip-body p {
    font-size: 0.85rem;
    color: #4a4a4a;
    margin-bottom: 10px;
    line-height: 1.5;
}

.tooltip-body p strong {
    color: var(--primary-color);
}

.tooltip-body p:last-child {
    margin-bottom: 0;
}

/* =================================
   SCROLL REVEAL ANIMATIONS
   ================================= */
.fade-in-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom class delays */
.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

.delay-3 {
    transition-delay: 0.45s;
}

/* =================================
   RESPONSIVIDADE (MOBILE & TABLET)
   ================================= */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.3rem;
    }

    .about-container {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    header {
        display: none !important;
    }

    .hero {
        text-align: center;
        background-image: url('../assets/capa%20mobile.webp');
        background-size: cover;
        background-position: top center;
        background-repeat: no-repeat;
        background-attachment: scroll;
        background-color: var(--bg-dark);
        padding-top: 115vw;
        /* Aproxima o texto mais perto da imagem da pessoa */
        padding-bottom: 70px;
        min-height: auto;
        display: block;
    }

    .hero-content-single {
        justify-content: center;
        padding: 0 15px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-left: 0 !important;
        margin-top: 0 !important;
    }

    .hero-content h1 {
        font-size: 1.9rem;
        text-align: center;
        margin: 0 auto 20px;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
    }

    .hero-content p {
        font-size: 0.95rem;
        margin: 0 auto 30px;
        text-align: center;
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
    }

    .hero-btns {
        width: 100%;
        justify-content: center;
    }

    .atuacao {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2.1rem;
        margin-bottom: 50px;
    }

    .service-grid {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .service-card,
    .service-card:nth-child(4),
    .service-card:nth-child(5) {
        width: 100%;
        max-width: 450px;
    }

    .sobre {
        padding: 80px 0;
    }

    .about-container {
        flex-direction: column;
        gap: 40px;
    }

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

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

    .about-text .section-title.left-align {
        text-align: center;
    }

    .about-text .section-title.left-align::after {
        margin: 15px auto 0;
    }

    .about-image {
        width: 100%;
        max-width: 450px;
    }

    .diferenciais {
        padding: 80px 0;
    }

    .diferenciais-editorial-grid {
        grid-template-columns: 1fr;
        row-gap: 40px;
    }

    .equipe {
        padding: 80px 0;
    }

    .equipe-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-top: 40px;
    }

    .equipe-card:hover {
        transform: none;
    }

    .faq {
        padding: 80px 0;
    }

    .faq-container {
        flex-direction: column;
        gap: 40px;
    }

    .faq-header {
        position: static;
        text-align: center;
    }

    .faq-title {
        font-size: 2.3rem;
        margin-bottom: 20px;
    }

    .faq-decoration {
        margin: 0 auto;
    }

    .final-cta h2 {
        font-size: 2.1rem;
    }

    .final-cta p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 50px 20px 40px;
        text-align: center;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-tagline {
        max-width: 100%;
        text-align: center;
    }

    .footer-nav-list {
        align-items: center;
    }

    .footer-nav-list a:hover {
        padding-left: 0;
    }

    .footer-nav-list a::before {
        display: none !important;
    }

    .footer-contact-list {
        align-items: center;
        width: 100%;
    }

    .footer-contact-list li {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
    }

    .footer-contact-list li i {
        margin-top: 0;
    }

    .footer-map {
        width: 100%;
        max-width: 400px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .modal-content {
        padding: 40px 20px;
        margin: 15% auto;
    }

    #modal-body h2 {
        font-size: 1.6rem;
    }

    #modal-body .modal-text {
        font-size: 0.95rem;
    }

    .btn-cta {
        width: 100%;
        padding: 14px 20px;
        font-size: 0.9rem;
    }
}