/* ==============================================
   KATHIA VELOSO ADVOCACIA - MAIN STYLESHEET
   Especialista em Direito Previdenciário
   ============================================== */

/* ==================== CSS VARIABLES ==================== */
:root {
    /* Cores Principais - Referência: Adelmo Salter */
    --gold-primary: #A3914B;
    --gold-light: #D4C48C;
    --gold-dark: #7A6C38;
    --gold-gradient: linear-gradient(135deg, #A3914B 0%, #D4C48C 50%, #A3914B 100%);

    /* Cores de Apoio */
    --dark-navy: #201E1F;
    --dark-blue: #282828;
    --charcoal: #282828;

    /* Neutros */
    --white: #FFFFFF;
    --off-white: #F2F2F2;
    --light-gray: #E9ECEF;
    --text-gray: #6C757D;

    /* Acentos */
    --success: #28A745;
    --cta-green: #25D366;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-gap: 60px;
    --section-padding: 50px 0;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50%;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.2);
    --shadow-gold: 0 4px 20px rgba(201, 162, 39, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    /* Elementor Global Overrides */
    --e-global-color-primary: var(--dark-navy);
    --e-global-color-secondary: var(--gold-primary);
    --e-global-color-text: var(--charcoal);
    --e-global-color-accent: var(--gold-primary);

    /* Typography Overrides */
    --e-global-typography-primary-font-family: var(--font-heading);
    --e-global-typography-text-font-family: var(--font-body);
    --e-global-typography-accent-font-family: var(--font-body);
}

/* ==================== RESET & BASE ==================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ==================== TYPOGRAPHY ==================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark-navy);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.text-gold {
    color: var(--gold-primary);
}

/* ==================== MODAL ==================== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
}

.modal__content {
    background: var(--white);
    width: 100%;
    max-width: 650px;
    border-radius: var(--radius-lg);
    position: relative;
    padding: 40px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalScale 0.3s ease-out;
}

@keyframes modalScale {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-gray);
    cursor: pointer;
    line-height: 1;
    z-index: 10;
}

.modal__close:hover {
    color: var(--gold-primary);
}

body.modal-open {
    overflow: hidden;
}

/* ==================== CONTAINER ==================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn--primary {
    background: var(--gold-gradient);
    color: var(--dark-navy);
    border-color: var(--gold-primary);
}

.btn--primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn--outline {
    background: transparent;
    color: var(--gold-primary);
    border-color: var(--gold-primary);
}

.btn--outline:hover {
    background: var(--gold-primary);
    color: var(--dark-navy);
}

.btn--lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn--full {
    width: 100%;
}

/* ==================== SECTION BADGES ==================== */
.section__badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(163, 145, 75, 0.12);
    color: var(--gold-dark);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    border: 1px solid rgba(163, 145, 75, 0.2);
    margin-bottom: 20px;
}

.section__badge--light {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.section__title {
    margin-bottom: 16px;
}

.section__title--light {
    color: var(--white);
}

.section__subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ==================== SUBHEADER ==================== */
.subheader {
    background-color: var(--gold-primary);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.9rem;
}

.subheader__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.subheader__socials {
    display: flex;
    gap: 12px;
}

.subheader__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: var(--white);
    color: var(--gold-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
}

.subheader__icon:hover {
    background-color: var(--dark-navy);
    color: var(--gold-light);
    transform: translateY(-2px);
}

.subheader__contacts {
    display: flex;
    gap: 24px;
    align-items: center;
}

.subheader__contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 500;
}

.subheader__contact-item:hover {
    color: var(--dark-navy);
}

.subheader__contact-item .subheader__icon {
    background-color: var(--white);
    color: var(--gold-primary);
}

.subheader__contact-item:hover .subheader__icon {
    background-color: var(--dark-navy);
    color: var(--gold-light);
}

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--dark-navy);
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: rgba(40, 40, 40, 0.98);
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav__logo-img {
    height: 60px;
    width: auto;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav__list {
    display: flex;
    gap: 32px;
}

.nav__link {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: width var(--transition-normal);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__link:hover,
.nav__link.active {
    color: var(--gold-primary);
}

.nav__cta {
    padding: 12px 24px;
    font-size: 0.9rem;
}

.nav__toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.hamburger {
    width: 24px;
    height: 2px;
    background: var(--gold-primary);
    position: relative;
    transition: var(--transition-normal);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--gold-primary);
    transition: var(--transition-normal);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--dark-navy);
    overflow: hidden;
}

.hero__background {
    position: absolute;
    inset: 0;
    background: url('assets/images/dra-kathia_min.webp') no-repeat right top / cover;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(26, 26, 46, 0.95), rgba(26, 26, 46, 0.7) 40%, rgba(26, 26, 46, 0.1) 100%);
}

.hero__container {
    position: relative;
    align-items: center;
    padding: 160px 20px 80px;
    z-index: 2;
}

.hero__content {
    max-width: 650px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(163, 145, 75, 0.15);
    border: 1px solid rgba(163, 145, 75, 0.3);
    border-radius: 50px;
    color: var(--gold-light);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero__badge i {
    color: var(--gold-primary);
}

.hero__title {
    margin-bottom: 24px;
}

.hero__name {
    display: block;
    font-family: 'Rouge Script', cursive;
    font-size: clamp(3.5rem, 10vw, 5.5rem);
    font-weight: 400;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 0.2rem;
    padding-left: 0.2em;
    margin-left: -0.2em;
}

.hero__subtitle {
    display: block;
    font-size: 1.25rem;
    color: var(--white);
    font-weight: 400;
    margin: 8px 0;
    font-family: var(--font-body);
}

.hero__specialty {
    display: block;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--gold-light);
    font-family: var(--font-body);
    font-weight: 700;
}

.hero__description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.hero__description strong {
    color: var(--gold-light);
}

.hero__tagline {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(201, 162, 39, 0.1);
    border-left: 4px solid var(--gold-primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 32px;
}

.hero__tagline-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-primary);
    color: var(--dark-navy);
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.hero__tagline p {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    font-size: 0.95rem;
}

.hero__cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__mini-stats {
    display: flex;
    gap: 20px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.hero__mini-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(26, 26, 46, 0.6);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.hero__mini-stat i {
    font-size: 1.4rem;
}

.hero__mini-stat span {
    display: flex;
    flex-direction: column;
}

.hero__mini-stat strong {
    color: var(--gold-primary);
    font-size: 1.1rem;
    font-weight: 700;
}

.hero__scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.hero__scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gold-light);
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--gold-primary);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.mouse__wheel {
    width: 4px;
    height: 8px;
    background: var(--gold-primary);
    border-radius: 2px;
    animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(10px);
    }
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==================== SOBRE SECTION ==================== */
.sobre {
    padding: var(--section-padding);
    padding-bottom: 10px; /* Reduce gap to next section */
    background: var(--off-white);
}

.sobre__header {
    text-align: center;
    margin-bottom: 40px;
}

.sobre__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.sobre__card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.sobre__card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.sobre__card--featured {
    background: var(--dark-navy);
    color: var(--white);
}

.sobre__card--featured .sobre__card-title {
    color: var(--gold-light);
}

.sobre__card--featured .sobre__card-text {
    color: rgba(255, 255, 255, 0.85);
}

.sobre__card-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 162, 39, 0.1);
    color: var(--gold-primary);
    font-size: 1.75rem;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.sobre__card--featured .sobre__card-icon {
    background: rgba(201, 162, 39, 0.2);
}

.sobre__card-title {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.sobre__card-text {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.sobre__card-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

.stat {
    text-align: center;
}

.stat__number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--gold-primary);
}

.stat__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-gray);
}

.sobre__card-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sobre__card-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.sobre__card-list i {
    color: var(--gold-primary);
}

.sobre__card--featured .sobre__card-list li {
    color: rgba(255, 255, 255, 0.9);
}

.sobre__card-specializations {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sobre__card-specializations li {
    padding: 8px 12px;
    background: rgba(201, 162, 39, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--dark-navy);
}

.sobre__commitment {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--gold-primary);
}

.sobre__commitment-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--gold-primary);
}

.sobre__commitment-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* ==================== OFFICE CAROUSEL (MARQUEE) ==================== */
.sobre__office-carousel {
    margin-top: 60px;
    text-align: center;
    overflow: hidden;
    /* Ensure no horizontal scrollbar on page */
    padding-bottom: 20px;
}

.sobre__carousel-title {
    margin-bottom: 40px;
    font-size: 1.75rem;
    color: var(--dark-navy);
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 20px;
    /* Space between images */
    animation: scroll 60s linear infinite;
    /* Slow continuous scroll */
}

/* Pause animation on hover for better UX */
.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-item {
    width: 200px;
    height: 300px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.marquee-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--gold-primary);
    /* Highlight on hover */
}

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 10px));
        /* Move by half the track width (one set of images) + half gap adjustment */
    }
}

/* Responsiveness */
@media (max-width: 768px) {
    .marquee-item {
        width: 180px;
        height: 260px;
    }

    .marquee-track {
        animation-duration: 40s;
        /* Faster on mobile if needed */
    }
}



.sobre__oab-badge {
    flex-shrink: 0;
    padding: 24px;

    background: var(--dark-navy);
    border-radius: var(--radius-md);
    text-align: center;
    color: var(--white);
}

.sobre__oab-badge span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.sobre__oab-badge strong {
    display: block;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--gold-primary);
    margin: 4px 0;
}

.sobre__oab-badge small {
    font-size: 0.7rem;
    opacity: 0.6;
}

/* ==================== ATUAÇÃO SECTION ==================== */
.atuacao {
    padding: var(--section-padding);
    background: var(--white);
}

.atuacao__header {
    text-align: center;
    margin-bottom: 40px;
}

.atuacao__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.atuacao__locations,
.atuacao__services {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.location-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    flex: 1;
    align-items: center;
}

.location-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-sm);
}

.location-card__icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-primary);
    color: var(--dark-navy);
    font-size: 1.25rem;
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.location-card__content h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.location-card__content p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.location-card__badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(163, 145, 75, 0.1);
    color: var(--gold-primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 50px;
}



.service-type {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--dark-navy);
    border-radius: var(--radius-md);
    color: var(--white);
    transition: all var(--transition-normal);
    flex: 1;
    align-items: center;
}

.service-type:hover {
    transform: translateX(-8px);
}

.service-type__icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(163, 145, 75, 0.2);
    color: var(--gold-primary);
    font-size: 1.25rem;
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.service-type__content h4 {
    color: var(--gold-light);
    font-size: 1rem;
    margin-bottom: 4px;
}

.service-type__content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ==================== PREVIDENCIÁRIO SECTION ==================== */
.previdenciario {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}

.previdenciario__header {
    text-align: center;
    margin-bottom: 40px;
}

.previdenciario__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.service-card {
    background: var(--white);
    padding: 30px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.service-card__image {
    margin: -30px -24px 24px -24px;
    height: 200px;
    overflow: hidden;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-card__image img {
    transform: scale(1.1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.service-card--featured {
    background: var(--dark-navy);
    color: var(--white);
    grid-column: span 3;
}

.planejamento-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    padding: 0;
    overflow: hidden;
}

.planejamento-card .service-card__image {
    margin: 0;
    height: 100%;
    min-height: 350px;
}

.planejamento-card .service-card__image img {
    height: 100%;
    object-position: center;
}

.planejamento-card .service-card__info-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card__icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 162, 39, 0.1);
    color: var(--gold-primary);
    font-size: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    flex-shrink: 0;
}

.service-card--featured .service-card__icon {
    background: rgba(255, 255, 255, 0.15);
    color: var(--gold-light);
}

.service-card__title {
    font-size: 1.25rem;
    margin-bottom: 16px;
    font-family: var(--font-heading);
    color: var(--dark-navy);
}

.service-card--featured .service-card__title {
    color: var(--gold-light);
}

.service-card--featured .service-card__content {
    color: rgba(255, 255, 255, 0.9);
}

.service-card__content {
    color: var(--text-gray);
    font-size: 0.9rem;
    flex-grow: 1;
    margin-bottom: 20px;
}

.service-card__content p {
    margin-bottom: 12px;
}

.service-card__highlight {
    font-size: 1.1rem;
    font-family: var(--font-heading);
    color: var(--gold-light) !important;
    font-weight: 500;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 20px !important;
}

.service-card__content ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-card__content li {
    position: relative;
    padding-left: 16px;
    font-size: 0.85rem;
}

.service-card__content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
}

.service-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--gold-primary);
    color: var(--dark-navy);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-top: auto;
}

.service-card__cta:hover {
    background: var(--gold-light);
    transform: scale(1.02);
}

.service-card__wa-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(163, 145, 75, 0.1);
    color: var(--gold-primary);
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: auto;
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    border: 1px solid rgba(163, 145, 75, 0.2);
}

.service-card__wa-link:hover {
    background: var(--gold-primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(163, 145, 75, 0.2);
}

.previdenciario__cta-footer {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
}

.previdenciario__cta-footer p {
    font-size: 1.25rem;
    font-family: var(--font-heading);
    color: var(--dark-navy);
    margin-bottom: 24px;
}

.previdenciario__services-list {
    padding: 60px 40px;
    background: var(--dark-navy);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.services-list__title {
    text-align: center;
    color: var(--gold-light);
    margin-bottom: 40px;
    font-size: 1.5rem;
    font-family: var(--font-heading);
}

.services-list__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 0.9rem;
}

.service-item i {
    color: var(--gold-primary);
    font-size: 0.85rem;
}

/* New Services List Styles */
.services-section {
    margin-bottom: 24px;
}

.services-list-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px 24px;
}

.services-list-items li {
    position: relative;
    padding-left: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.services-list-items li::before {
    content: '\f058';
    /* FontAwesome check-circle */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--gold-primary);
    font-size: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
}

/* ==================== ACCORDION ==================== */
.accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(163, 145, 75, 0.2);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 16px 0;
    transition: all var(--transition-normal);
}

.accordion-header:hover .services-section__title {
    color: var(--gold-light);
}

.accordion-header__text {
    flex-grow: 1;
}

.accordion-header .services-section__title {
    margin-bottom: 4px;
    border-bottom: none;
    padding-bottom: 0;
    font-size: 1.25rem;
    color: var(--gold-primary);
    font-family: var(--font-heading);
}

.accordion-header .services-section__subtitle {
    margin-bottom: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    display: block;
}

.accordion-icon {
    margin-left: 20px;
    color: var(--gold-primary);
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    opacity: 0;
}

.accordion-content.active {
    opacity: 1;
    /* max-height handled by JS */
}

.accordion-content__inner {
    padding: 20px 0;
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.services-subsection {
    margin-bottom: 24px;
    padding-left: 10px;
    border-left: 2px solid rgba(163, 145, 75, 0.1);
}

.services-subsection__title {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.services-subsection:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .services-list-items {
        grid-template-columns: 1fr;
    }
}

/* ==================== DEPOIMENTOS SECTION ==================== */
.depoimentos {
    padding: var(--section-padding);
    background: var(--off-white);
    overflow: hidden;
}

.depoimentos__header {
    text-align: center;
    margin-bottom: 40px;
}

.depoimentos__carousel {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    padding: 20px 0;
}

.depoimentos__track {
    display: flex;
    width: max-content;
    animation: scroll-carousel 40s linear infinite;
}

.depoimentos__track:hover {
    animation-play-state: paused;
}

@keyframes scroll-carousel {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* Google-style Review Card */
.review-gcard {
    background: #fff;
    width: 350px;
    border-radius: 8px;
    padding: 20px;
    margin: 0 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
    transition: box-shadow 0.3s ease;
    text-align: left;
}

.review-gcard:hover {
    box-shadow: 0 4px 6px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.1);
}

.review-gcard__header {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.review-gcard__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.review-gcard__author {
    font-weight: 500;
    color: #202124;
    font-size: 0.95rem;
    flex-grow: 1;
}

.review-gcard__glogo {
    width: 20px;
    height: auto;
}

.review-gcard__rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-top: -4px;
}

.review-gcard__text {
    color: #3c4043;
    font-size: 0.9rem;
    line-height: 1.5;
    flex-grow: 1;
}

.review-gcard__link {
    color: #1a73e8;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}

.review-gcard__link:hover {
    text-decoration: underline;
}

/* ==================== PALESTRAS SECTION ==================== */
.palestras {
    background: var(--white);
}

.palestras__hero {
    position: relative;
    padding: 120px 0 80px;
    background: url('assets/images/dra-kathia_min.webp') no-repeat center top/cover;
    background-attachment: fixed;
}

.palestras__hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(26, 26, 46, 0.95), rgba(26, 26, 46, 0.7));
}

.palestras__hero-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.palestras__hero-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.palestras__hero-text strong {
    color: var(--gold-light);
}

.palestras__intro {
    text-align: center;
    padding: 40px 0;
    max-width: 600px;
    margin: 0 auto;
}

.palestras__intro p {
    color: var(--text-gray);
    font-size: 1.05rem;
}

.palestras__temas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.tema-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.tema-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.tema-card--featured {
    background: var(--dark-navy);
    color: var(--white);
    border: 1px solid var(--gold-primary);
}

.tema-card--featured:hover {
    background: var(--dark-blue);
}

.tema-card__icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 162, 39, 0.1);
    color: var(--gold-primary);
    font-size: 1.5rem;
    border-radius: var(--radius-full);
}

.tema-card--featured .tema-card__icon {
    background: rgba(201, 162, 39, 0.2);
}

.tema-card__title {
    font-size: 1.1rem;
}

.tema-card--featured .tema-card__title {
    color: var(--gold-light);
}

.tema-card__desc {
    font-size: 0.85rem;
    color: var(--text-gray);
    flex-grow: 1;
}

.tema-card--featured .tema-card__desc {
    color: rgba(255, 255, 255, 0.7);
}

.tema-card__btn {
    width: 100%;
}

.btn--sm {
    padding: 10px 16px;
    font-size: 0.85rem;
}

.palestras__form {
    padding: 40px 0 50px;
}

/* ==================== FORMS ==================== */
.form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form__title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: var(--dark-navy);
}

.form__title i {
    color: var(--gold-primary);
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form__group {
    margin-bottom: 20px;
}

.form__group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--dark-navy);
}

.form__group input,
.form__group select,
.form__group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    background: var(--white);
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.form__group textarea {
    resize: vertical;
    min-height: 120px;
}

.form__group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236C757D' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

/* ==================== CONTATO SECTION ==================== */
.contato {
    padding: var(--section-padding);
    padding-bottom: 0; /* Map sticks exactly to next section using next section top padding */
    background: var(--off-white);
}

.contato__header {
    text-align: center;
    margin-bottom: 40px;
}

.contato__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.contato__info {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contato__image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid rgba(201, 162, 39, 0.3);
}

.contato__profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.contato__image-wrapper:hover .contato__profile-img {
    transform: scale(1.03);
}

.contato__form .form-container {
    max-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contato__map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--dark-navy);
    color: var(--white);
    padding: 60px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1.5fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
    height: 70px;
    width: auto;
    margin-bottom: 16px;
}

.footer__tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.footer__oab {
    padding: 8px 16px;
    background: rgba(201, 162, 39, 0.1);
    border-radius: var(--radius-sm);
    display: inline-block;
}

.footer__oab span {
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 500;
}

.footer__links h4,
.footer__services h4,
.footer__offices h4,
.footer__contact h4 {
    color: var(--gold-light);
    font-size: 1.1rem;
    margin-bottom: 24px;
    font-family: var(--font-heading);
}

.footer__links ul,
.footer__services ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a,
.footer__services a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: all var(--transition-normal);
}

.footer__links a:hover,
.footer__services a:hover {
    color: var(--gold-primary);
    padding-left: 8px;
}

.footer__office-item {
    margin-bottom: 20px;
}

.footer__office-item strong {
    display: block;
    color: var(--gold-primary);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.footer__office-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.5;
}

.footer__whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--cta-green);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.footer__whatsapp:hover {
    background: #20bd5a;
}

.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
}

.footer__social a.whatsapp {
    background: #25D366;
}

.footer__social a.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.footer__social a.facebook {
    background: #1877F2;
}

.footer__social a.youtube {
    background: #FF0000;
}

.footer__social a:hover {
    filter: brightness(1.2);
    transform: translateY(-3px);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.footer__bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer__dev-link {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-normal);
    font-weight: 500;
}

.footer__dev-link:hover {
    color: var(--gold-primary);
    text-decoration: underline;
}

.footer__legal {
    display: flex;
    gap: 24px;
}

.footer__legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer__legal a:hover {
    color: var(--gold-primary);
}

/* ==================== WHATSAPP FLOAT ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--cta-green);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.whatsapp-float i {
    font-size: 1.5rem;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    background: #20bd5a;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    color: var(--white);
}

/* Hide text on very small screens if necessary, but pill is usually fine */


.whatsapp-float__badge {
    position: absolute;
    top: -14px;
    right: 15px;
    background: #A60000;
    color: var(--white);
    font-size: 0.75rem;
    padding: 3px 14px;
    border-radius: 50px;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-weight: 600;
    z-index: 10;
}



/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-navy);
    color: var(--gold-primary);
    font-size: 1rem;
    border-radius: var(--radius-full);
    opacity: 0;
    visibility: hidden;
    z-index: 998;
    transition: all var(--transition-normal);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--gold-primary);
    color: var(--dark-navy);
    transform: translateY(-4px);
}

/* ==================== RESPONSIVE DESIGN ==================== */

/* Tablet Landscape and smaller */
@media (max-width: 1024px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--dark-navy);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px 40px;
        gap: 30px;
        transition: right var(--transition-normal);
        box-shadow: var(--shadow-lg);
        display: flex;
        z-index: 1001;
        /* Above header */
    }

    .nav__menu.active {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .nav__link {
        font-size: 1.1rem;
    }

    .nav__cta {
        width: 100%;
        justify-content: center;
    }

    .nav__logo-img {
        max-width: 150px;
    }

    .nav__toggle {
        display: flex;
        z-index: 1100;
    }

    .hamburger,
    .hamburger::before,
    .hamburger::after {
        height: 3px;
        background: var(--gold-primary);
    }

    .nav__toggle.active .hamburger {
        background: transparent;
    }

    .nav__toggle.active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }

    .nav__toggle.active .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }

    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__content {
        order: 2;
    }

    .hero__image {
        order: 1;
    }

    .hero__image-wrapper {
        max-width: 300px;
    }

    .hero__cta-group {
        justify-content: center;
    }

    .hero__tagline {
        text-align: left;
    }

    .sobre__cards {
        grid-template-columns: 1fr;
    }

    .atuacao__grid {
        grid-template-columns: 1fr;
    }

    .previdenciario__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card--featured {
        grid-column: span 2;
    }

    .planejamento-card {
        grid-template-columns: 1fr;
    }

    .planejamento-card .service-card__image {
        height: 200px;
    }

    .services-list__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .palestras__temas {
        grid-template-columns: repeat(2, 1fr);
    }

    .contato__grid {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Portrait and below */
@media (max-width: 768px) {
    :root {
        --section-gap: 30px;
        --section-padding: 30px 0;
    }

    .hero__scroll-indicator {
        display: none;
    }

    .hero__background {
        background-position: 70% top;
    }

    .subheader {
        display: none;
    }

    .hero__image-badge {
        bottom: -10px;
        right: -10px;
        padding: 16px 20px;
    }

    .hero__years {
        font-size: 2rem;
    }

    .sobre__commitment {
        flex-direction: column;
        text-align: center;
    }

    .previdenciario__grid {
        grid-template-columns: 1fr;
    }

    .service-card--featured {
        grid-column: span 1;
    }

    .services-list__grid {
        grid-template-columns: 1fr;
    }

    .palestras__temas {
        grid-template-columns: 1fr;
    }

    .form__row {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 30px 20px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__links ul,
    .footer__services ul,
    .footer__offices {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .footer__office-item {
        text-align: center;
    }

    .footer__title-hidden {
        display: none;
    }

    .footer__social {
        justify-content: center;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 10px 18px;
    }

    .whatsapp-float span {
        font-size: 0.85rem;
    }

    .whatsapp-float i {
        font-size: 1.25rem;
    }

    .back-to-top {
        bottom: 90px;
        right: 20px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hero__name {
        font-size: 2.8rem;
    }

    .hero__specialty {
        font-size: 1.25rem;
    }

    .btn--lg {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .hero__cta-group {
        flex-direction: column;
    }

    .hero__cta-group .btn {
        width: 100%;
    }

    /* WhatsApp Float Circle on very small screens */
    .whatsapp-float {
        width: 54px;
        height: 54px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .whatsapp-float span {
        display: none;
    }

    .whatsapp-float i {
        font-size: 1.5rem;
        margin: 0;
    }

    .whatsapp-float__badge {
        right: 50%;
        transform: translateX(50%);
        top: -12px;
        font-size: 0.65rem;
        padding: 2px 10px;
    }
}