/* ========================================
   MANOELA GIL ADVOCACIA - STYLE.CSS
   Premium Editorial Style
   ======================================== */

/* CSS Variables */
:root {
    /* Colors - Paleta única AG5 */
    --color-primary: #3D4A3A;
    --color-secondary: #F5F1E8;
    --color-accent: #C9A87C;
    --color-text: #2C3531;
    --color-muted: #6B7B73;
    --color-white: #FFFFFF;
    --color-cream: #FAF9F6;

    /* Typography */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Outfit', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Transitions */
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.5s cubic-bezier(0.77, 0, 0.18, 1);
    --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Layout */
    --container-max: 1400px;
    --nav-height: 80px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* Âncoras limpas — evita conteúdo atrás do navbar fixo */
#hero, #sobre, #servicos, #depoimentos, #faq, #contato {
    scroll-margin-top: var(--nav-height);
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-secondary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-text {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--color-accent);
    letter-spacing: 0.5em;
    display: flex;
    overflow: hidden;
}

.char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: charReveal 0.8s cubic-bezier(0.77, 0, 0.18, 1) forwards;
}

.char:nth-child(2) { animation-delay: 0.2s; }

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

.preloader-line {
    width: 0;
    height: 1px;
    background: var(--color-accent);
    margin-top: var(--space-sm);
    animation: lineGrow 1s cubic-bezier(0.77, 0, 0.18, 1) 0.5s forwards;
}

@keyframes lineGrow {
    to { width: 100px; }
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.1;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
    position: relative;
    padding-left: 3rem;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 2rem;
    height: 1px;
    background: var(--color-accent);
    transform: translateY(-50%);
}

.accent {
    color: var(--color-accent);
    font-style: italic;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-primary);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    transition: left 0.4s cubic-bezier(0.77, 0, 0.18, 1);
    z-index: 0;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    color: var(--color-accent);
}

.btn-primary span,
.btn-primary svg {
    position: relative;
    z-index: 1;
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition-fast);
    background: rgba(61, 74, 58, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.navbar.scrolled {
    background: rgba(61, 74, 58, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.navbar--hidden {
    transform: translateY(-100%);
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.logo-img {
    height: clamp(30px, 4vw, 45px);
    width: auto;
    object-fit: contain;
}

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

.logo-name {
    font-family: var(--font-serif);
    font-size: 1rem;
    letter-spacing: 0.15em;
    color: #ffffff;
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.55rem;
    letter-spacing: 0.25em;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    font-weight: 500;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-link {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding: 0.5rem 0;
}

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

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

.nav-cta {
    background: var(--color-accent);
    color: var(--color-primary);
    padding: 0.75rem 1.5rem;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--color-accent);
    color: var(--color-primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-line {
    width: 26px;
    height: 1.5px;
    background: #ffffff;
    transition: var(--transition-fast);
}

/* Nav Drawer Premium */
.nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--color-primary);
    z-index: 1100;
    padding: var(--space-md) 25px;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: var(--transition-smooth);
    box-shadow: -10px 0 50px rgba(0,0,0,0.3);
}

.nav-drawer.active {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-xl);
}

.drawer-header .logo-name,
.drawer-header .logo-sub {
    color: #ffffff;
}

.drawer-close {
    background: none;
    border: none;
    color: var(--color-accent);
    cursor: pointer;
    padding: 10px;
    transition: var(--transition-fast);
}

.drawer-close:hover {
    transform: rotate(90deg);
}

.nav-drawer .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
}

.nav-drawer .nav-link {
    font-size: 1.5rem;
    font-family: var(--font-serif);
    text-transform: none;
    letter-spacing: 0;
    opacity: 0.7;
    transition: var(--transition-fast);
}

.nav-drawer .nav-link:hover {
    opacity: 1;
    padding-left: 10px;
}

.drawer-footer {
    margin-top: auto;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 1090;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

body.no-scroll {
    overflow: hidden;
}

/* Hero Section - Editorial Style */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    padding-top: 0;
    position: relative;
    overflow: hidden;
    background: var(--color-primary);
}

/* Coluna esquerda: fundo verde escuro com textos brancos */
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: calc(var(--nav-height) + var(--space-xl));
    padding-bottom: var(--space-xl);
    padding-left: clamp(var(--space-md), 5vw, 8rem);
    padding-right: var(--space-xl);
}

.hero-bg-text {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    font-family: var(--font-serif);
    font-size: 20vw;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.03);
    letter-spacing: 0.1em;
    pointer-events: none;
    z-index: 3;
    white-space: nowrap;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 42%;
    gap: 0;
    align-items: stretch;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.tagline-wrapper {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    overflow: hidden;
}

.tagline-line {
    width: 3rem;
    height: 1px;
    background: var(--color-accent);
}

.tagline {
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    transform: translateX(-100%);
    opacity: 0;
    animation: slideInLeft 0.8s cubic-bezier(0.77, 0, 0.18, 1) 0.3s forwards;
}

@keyframes slideInLeft {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1;
    margin-bottom: var(--space-md);
    color: #ffffff;
}

.title-line {
    display: block;
    clip-path: inset(0 100% 0 0);
    animation: clipReveal 1s cubic-bezier(0.77, 0, 0.18, 1) forwards;
}

.title-line:nth-child(1) { animation-delay: 0.5s; }
.title-line:nth-child(2) { animation-delay: 0.7s; }
.title-line:nth-child(3) { animation-delay: 0.9s; }

@keyframes clipReveal {
    to {
        clip-path: inset(0 0% 0 0);
    }
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.72);
    max-width: 500px;
    margin-bottom: var(--space-md);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease 1.1s forwards;
}

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

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    opacity: 0;
    animation: fadeUp 0.8s ease 1.3s forwards;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    opacity: 0;
    animation: fadeUp 0.8s ease 1.5s forwards;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--color-accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Image - coluna direita full height */
.hero-image-wrapper {
    position: relative;
    opacity: 0;
    animation: heroImageReveal 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s forwards;
    min-height: 100vh;
    overflow: hidden;
    z-index: 1;
}

@keyframes heroImageReveal {
    to {
        opacity: 1;
    }
}

.hero-image-frame {
    position: relative;
    height: 100%;
    width: 100%;
}

.hero-image-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(61, 74, 58, 0.45) 0%,
        transparent 40%
    );
    z-index: 1;
    pointer-events: none;
}

.hero-image {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 6s ease;
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.03);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(61, 74, 58, 0.2));
    pointer-events: none;
}

.floating-card {
    position: absolute;
    bottom: -20px;
    left: -30px;
    background: var(--color-white);
    padding: var(--space-sm) var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-icon {
    color: var(--color-accent);
}

.floating-content {
    display: flex;
    flex-direction: column;
}

.floating-label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-muted);
}

.floating-value {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--color-primary);
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    opacity: 0;
    animation: fadeUp 0.8s ease 2s forwards;
}

.scroll-text {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.5);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.8); }
}

/* Marquee Section */
.marquee-section {
    background: #ffffff;
    padding: 1.2rem 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1.5px solid var(--color-primary);
    box-shadow: inset 0 3px 0 0 rgba(201, 168, 124, 0.4);
    position: relative;
    z-index: 5;
}

.marquee-content {
    display: inline-flex;
    align-items: center;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-item {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0 var(--space-md);
    font-weight: 500;
}

.marquee-dot {
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    display: inline-block;
}

/* Pain Section */
.pain-section {
    padding: var(--space-xl) 0;
    background: var(--color-cream);
}

.pain-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.pain-content {
    padding-right: var(--space-md);
}

.pain-text {
    font-size: 1.125rem;
    color: var(--color-muted);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.pain-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.pain-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1rem;
}

.pain-check {
    color: var(--color-accent);
    font-weight: 600;
}

.pain-solution {
    display: flex;
    justify-content: center;
}

.solution-card {
    background: var(--color-white);
    padding: var(--space-lg);
    max-width: 400px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    position: relative;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-accent);
}

.solution-icon {
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--color-primary);
}

.solution-card p {
    color: var(--color-muted);
    margin-bottom: var(--space-md);
}

/* Services - Accordion */
/* Services - Editorial Grid Split Layout */
.services-section {
    padding: var(--space-xl) 0;
    background: var(--color-secondary);
}

.services-split-container {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: var(--space-xl);
    align-items: flex-start;
}

.services-header-column {
    position: sticky;
    top: 120px;
}

.services-header-column .section-title {
    text-align: left;
    margin-bottom: var(--space-sm);
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-muted);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.services-sidebar-cta {
    margin-top: var(--space-md);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid rgba(61, 74, 58, 0.1);
    border-left: 1px solid rgba(61, 74, 58, 0.1);
}

/* Pattern Break - Grid Editorial Dinâmico */
@media (min-width: 1201px) {
    .service-card:nth-child(1),
    .service-card:nth-child(12) {
        grid-column: span 2;
    }
}

.service-card {
    position: relative;
    padding: var(--space-lg) var(--space-md);
    background: var(--color-white);
    border-right: 1px solid rgba(61, 74, 58, 0.1);
    border-bottom: 1px solid rgba(61, 74, 58, 0.1);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 420px;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    transform: translateY(101%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 0;
}

.service-card:hover::before {
    transform: translateY(0);
}

.service-card-number {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.service-card-icon {
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
    transition: transform 0.5s var(--transition-smooth);
}

.service-card:hover .service-card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.service-card-title {
    font-size: 1.75rem;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
    transition: color 0.4s ease;
}

.service-card:hover .service-card-title {
    color: var(--color-white);
}

.service-card-description {
    font-size: 0.95rem;
    color: var(--color-muted);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
    transition: color 0.4s ease;
}

.service-card:hover .service-card-description {
    color: rgba(255,255,255,0.88);
}

.service-card-link {
    margin-top: auto;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-link {
    transform: translateX(10px);
}

/* Pattern Break - Cada 4º card tem um estilo ligeiramente diferente */
.service-card:nth-child(4n) {
    background: var(--color-cream);
}

.service-card:nth-child(4n)::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(201, 168, 124, 0.05);
    border-radius: 50%;
    z-index: -1;
}

/* Responsive Grid */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        min-height: auto;
        padding-bottom: var(--space-xl);
    }
}

/* Enchantment Section - Fullscreen */
.enchantment-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.enchantment-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.enchantment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%) contrast(1.1);
}

.enchantment-overlay {
    position: absolute;
    inset: 0;
    background: rgba(61, 74, 58, 0.7);
    mix-blend-mode: multiply;
}

.enchantment-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--color-white);
}

.enchantment-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: var(--space-sm);
}

.enchantment-text {
    font-size: 1.25rem;
    opacity: 0.8;
    font-family: var(--font-serif);
    font-style: italic;
}

/* About Section - Minimalista Premium */
.about-section {
    padding: var(--space-xl) 0 var(--space-lg) 0;
    background: var(--color-cream);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(3rem, 6vw, 7rem);
    align-items: start;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Galeria: linha dourada lateral como único ornamento */
.about-gallery {
    position: relative;
}

.about-gallery::before {
    content: '';
    position: absolute;
    top: 8%;
    bottom: 8%;
    left: -24px;
    width: 2px;
    background: var(--color-accent);
}

/* Foto única — proporção 3:4, limpa */
.about-image-main {
    position: relative;
    overflow: hidden;
}

.main-photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: grayscale(8%);
}

.about-image-main:hover .main-photo {
    transform: scale(1.03);
    filter: grayscale(0%);
}

.about-content-box {
    padding: 0;
    position: relative;
}

/* Photo Strip — galeria minimalista pós-sobre */
.photo-strip {
    width: 100%;
    overflow: hidden;
}

.photo-strip-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
}

.strip-item {
    overflow: hidden;
}

.strip-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center 35%;
    display: block;
    transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.6s ease;
    filter: grayscale(15%);
}

.strip-item:hover img {
    transform: scale(1.04);
    filter: grayscale(0%);
}

/* ─── */

.about-subtitle {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
    font-style: italic;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    color: var(--color-muted);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.about-counters {
    display: flex;
    gap: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(61, 74, 58, 0.1);
}

.about-counter {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.counter-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--color-primary);
    line-height: 1;
}

.counter-suffix {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-accent);
}

.counter-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-muted);
    margin-top: 0.25rem;
}

/* Testimonials - Fullscreen */
.testimonials-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.testimonials-container {
    max-width: 1000px;
    text-align: center;
    padding: 0 var(--space-md);
    position: relative;
    z-index: 1;
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
}

.testimonial-quote {
    font-family: var(--font-serif);
    font-size: clamp(1.2rem, 3.5vw, 2.2rem);
    color: var(--color-white);
    line-height: 1.4;
    margin-bottom: var(--space-md);
    font-weight: 300;
}

.testimonial-author {
    font-style: normal;
    font-size: 1rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.testimonial-navigation {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--color-accent);
    cursor: pointer;
    transition: var(--transition-fast);
}

.testimonial-dot.active {
    background: var(--color-accent);
}

.testimonial-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-serif);
    font-size: 15vw;
    color: rgba(255,255,255,0.03);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
}

/* FAQ Section */
.faq-section {
    padding: var(--space-xl) 0;
    background: var(--color-secondary);
}

.faq-container {
    max-width: 1000px;
}

.faq-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.faq-grid {
    display: grid;
    gap: var(--space-sm);
}

.faq-item {
    background: var(--color-white);
    border: 1px solid rgba(61, 74, 58, 0.1);
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--color-accent);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--color-primary);
    font-weight: 400;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 var(--space-md) var(--space-md);
    color: var(--color-muted);
    line-height: 1.7;
}

/* Location Section */
.location-section {
    padding: var(--space-xl) 0;
    background: var(--color-cream);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-lg);
    align-items: center;
}

.location-details {
    margin: var(--space-md) 0;
}

.location-item {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.location-icon {
    color: var(--color-accent);
    flex-shrink: 0;
}

.location-text strong {
    display: block;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.location-text p,
.location-text a {
    color: var(--color-muted);
    font-size: 0.95rem;
}

.location-text a:hover {
    color: var(--color-accent);
}

.location-map {
    height: 500px;
    overflow: hidden;
    position: relative;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* CTA Section */
.cta-section {
    padding: var(--space-xl) 0;
    background: var(--color-primary);
}

.cta-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.cta-content {
    color: var(--color-white);
}

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

.cta-content .section-tag {
    color: var(--color-accent);
}

.cta-content .section-tag::before {
    background: var(--color-accent);
}

.cta-text {
    font-size: 1.125rem;
    opacity: 0.8;
    margin-bottom: var(--space-md);
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.feature-check {
    color: var(--color-accent);
    font-weight: 600;
}

.cta-form-wrapper {
    background: var(--color-white);
    padding: var(--space-lg);
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 1rem;
    border: 1px solid rgba(61, 74, 58, 0.2);
    font-family: var(--font-sans);
    font-size: 1rem;
    background: transparent;
    transition: var(--transition-fast);
    color: var(--color-text);
    appearance: none;
    -webkit-appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233D4A3A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group select option[value=""][disabled] {
    color: rgba(44, 53, 49, 0.4);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
}

.label-optional {
    font-size: 0.65rem;
    color: var(--color-muted);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.form-success {
    text-align: center;
    color: var(--color-primary);
    font-weight: 500;
    padding: var(--space-sm);
    background: rgba(201, 168, 124, 0.1);
    border: 1px solid var(--color-accent);
}

/* Footer */
.footer {
    background: #141c14; /* Verde Escuro Profundo (tom mais verdado) */
    color: rgba(255,255,255,0.6);
    padding: var(--space-lg) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: clamp(1.5rem, 3vw, 3.5rem);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    text-decoration: none;
    display: inline-flex;
    margin-bottom: var(--space-sm);
}

.footer .logo-name,
.footer .logo-sub {
    color: var(--color-white);
}

.footer-text {
    margin-top: var(--space-sm);
    font-size: 0.875rem;
    line-height: 1.8;
    max-width: 280px;
    color: rgba(255,255,255,0.5);
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: var(--space-sm);
}

.footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.55);
    transition: var(--transition-fast);
}

.footer-social-icon:hover {
    color: var(--color-accent);
    transform: translateY(-2px);
}

.footer-contact-name span {
    color: var(--color-white);
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.footer-col-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: var(--space-md);
    color: var(--color-accent);
    font-weight: 600;
}

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

.footer-links li {
    margin-bottom: 10px;
    font-size: 0.875rem;
}

.footer-links a,
.footer-links span {
    color: rgba(255,255,255,0.55);
    transition: var(--transition-fast);
}

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

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-contact-list svg {
    flex-shrink: 0;
    margin-top: 3px;
    opacity: 0.5;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    width: 100%;
}

.footer-info {
    display: flex;
    flex-direction: column;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-legal-links a {
    color: rgba(255,255,255,0.35);
    transition: var(--transition-fast);
}

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

.footer-legal-links .divider {
    opacity: 0.3;
}

.credits {
    color: rgba(255,255,255,0.35);
    font-size: 0.78rem;
}

.ag5-link {
    color: var(--color-accent);
    font-weight: 500;
}

.ag5-link:hover {
    text-decoration: underline;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
}

/* Animations on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        margin-bottom: var(--space-lg);
    }

    .hero-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-stats {
        justify-content: center;
    }

    .pain-grid,
    .about-container,
    .location-grid,
    .cta-container,
    .services-split-container {
        grid-template-columns: 1fr;
    }

    .services-header-column {
        position: static;
        text-align: center;
        margin-bottom: var(--space-lg);
        padding-right: 0;
    }

    .services-header-column .section-title {
        text-align: center;
    }

    .about-content-box {
        margin-top: var(--space-md);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    .nav-toggle {
        display: flex;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }

    /* Ocultar menu padrão no mobile, usar apenas o drawer */
    .navbar .nav-menu {
        display: none;
    }

    .footer {
        padding-left: 25px;
        padding-right: 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .footer-brand, .footer-contact, .footer-social {
        align-items: flex-start;
        text-align: left;
    }

    .footer-text {
        max-width: 100%;
        margin-left: 0;
    }

    .social-links {
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
        text-align: left;
    }

    .footer-bottom-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .footer-legal-links {
        font-size: 0.75rem;
    }

    .hamburger-line {
        background: #ffffff;
    }

    /* Hero mobile: imagem como fundo da seção */
    .hero {
        position: relative;
        background: none;
    }

    .hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: url('assests/manoela+gil+advocacia-advogado-direito+da+saude-direito+medico-campo+grande-rio+de+janeiro-rj (8) (1).webp');
        background-size: cover;
        background-position: center top;
        z-index: 0;
    }

    .hero::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(
            to bottom,
            rgba(61, 74, 58, 0.75) 0%,
            rgba(61, 74, 58, 0.88) 60%,
            rgba(61, 74, 58, 0.97) 100%
        );
        z-index: 1;
    }

    .hero-bg-text {
        z-index: 2;
        color: rgba(255, 255, 255, 0.04);
    }

    .hero-container {
        z-index: 2;
    }

    /* Ocultar o bloco da imagem no mobile (já está no fundo) */
    .hero-image-wrapper {
        display: none;
    }

    /* Ajustar cores do texto para contraste sobre o fundo escuro */
    .hero .tagline {
        color: rgba(255, 255, 255, 0.75);
    }

    .hero .tagline-line {
        background: var(--color-accent);
    }

    .hero .hero-title {
        color: #ffffff;
    }

    .hero .hero-description {
        color: rgba(255, 255, 255, 0.75);
    }

    .hero .stat-number {
        color: var(--color-accent);
    }

    .hero .stat-label {
        color: rgba(255, 255, 255, 0.65);
    }

    .hero .stat-divider {
        background: rgba(255, 255, 255, 0.2);
    }

    /* Afastar o conteúdo do nav */
    .hero-content {
        padding-top: var(--space-lg);
        margin-bottom: 0;
    }

    /* Galeria sobre no mobile */
    .about-gallery::before {
        left: -12px;
    }

    .main-photo {
        aspect-ratio: 3 / 4;
        object-position: center 20%;
    }

    /* Photo strip mobile */
    .photo-strip-inner {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .strip-item img {
        height: auto;
        aspect-ratio: 3 / 4;
        object-position: center 35%;
    }

    .floating-card {
        left: 10px;
        bottom: -10px;
        padding: var(--space-xs) var(--space-sm);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-socials {
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .footer-bottom-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .accordion-header {
        grid-template-columns: 40px 1fr 30px;
    }

    .accordion-number {
        font-size: 1rem;
    }

    .accordion-title {
        font-size: 1rem;
    }

    .accordion-inner {
        padding-left: 40px;
    }

    .about-counters {
        flex-direction: column;
        gap: var(--space-md);
    }
}
