/* ================================================
   SIQUEIRA & PENNA — style.css
   Versão limpa: apenas código utilizado
   ================================================ */

@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== VARIÁVEIS ===== */
:root {
    --primary:       #2d372f;
    --secondary:     #D8C4B9;
    --dark:          #1a1a1a;
    --light:         #ffffff;
    --gray:          #666666;
    --bg-light:      #f8f8f6;
    --font-heading:  'Cormorant Garamond', serif;
    --font-body:     'Montserrat', sans-serif;
    --transition:    all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm:     0 4px 16px rgba(0,0,0,0.07);
    --shadow-md:     0 10px 32px rgba(0,0,0,0.11);
    --shadow-lg:     0 20px 48px rgba(0,0,0,0.15);
}

/* ===== BASE ===== */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
}

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

/* Previne scrollbar nas seções durante animações AOS */
section { overflow: clip; }

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== ELEMENTOS COMPARTILHADOS ===== */
.label {
    display: inline-block;
    color: var(--secondary);
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.btn-outline {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.9rem 2rem;
    border: 2px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--light);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.75rem 0;
    background: var(--primary);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 2px 24px rgba(0,0,0,0.18);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo img { height: 125px; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--light);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

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

.nav-social {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.nav-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    opacity: 0.75;
    transition: var(--transition);
    padding: 4px;
}

.nav-social-link:hover {
    opacity: 1;
    color: var(--secondary);
    transform: translateY(-2px);
}

.btn-contact {
    padding: 0.75rem 1.6rem;
    background: var(--secondary);
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.82rem;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-contact:hover {
    background: var(--light);
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--light);
    display: block;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* ===== HERO ===== */
.hero {
    height: 100vh;
    min-height: 600px;
    background:
        linear-gradient(rgba(45, 55, 47, 0.68), rgba(26, 26, 26, 0.82)),
        url('images/heroimg.jpeg') center 15% / cover no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 55%, rgba(26,26,26,0.35) 100%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    color: var(--light);
    position: relative;
    z-index: 1;
    max-width: 860px;
    padding: 0 2rem;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    font-weight: 400;
    letter-spacing: -0.5px;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.9s ease;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.1rem 2.4rem;
    background: var(--secondary);
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.88rem;
    transition: var(--transition);
    animation: fadeInUp 0.9s ease 0.25s both;
}

.btn-hero:hover {
    background: var(--light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--light);
    z-index: 1;
    pointer-events: none;
}

.scroll-indicator span {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    display: block;
    margin-bottom: 0.6rem;
    opacity: 0.7;
}

.scroll-line {
    width: 1px;
    height: 38px;
    background: var(--secondary);
    margin: 0 auto;
    animation: scrollAnim 2s infinite;
    animation: scrollAnim 2s infinite;
}
    margin: 0 auto;
    animation: scrollAnim 2s infinite;
}

/* ===== SOBRE ===== */
.sobre {
    padding: 8rem 0;
    background: var(--bg-light);
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.sobre-text p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 1.2rem;
}

.sobre-image {
    height: 520px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.sobre-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: var(--transition);
}

.sobre-image:hover img { transform: scale(1.03); }

/* Vídeo na seção sobre */
.sobre-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: none;
    font-size: 40px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.play-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

/* ===== LGPD — Checkbox consentimento ===== */
.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.form-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin: 0;
    margin-top: 2px;
    border: 2px solid var(--secondary);
    background: var(--bg-light);
    cursor: pointer;
    accent-color: var(--primary);
}

.form-consent span {
    font-size: 0.82rem;
    color: var(--gray);
    line-height: 1.6;
}

.form-consent a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
    transition: var(--transition);
}

.form-consent a:hover { color: var(--secondary); }

/* ===== LGPD — Banner de cookies ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    color: var(--light);
    padding: 1.2rem 2rem;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    z-index: 9998;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    transition: transform 0.4s ease;
}

.cookie-banner.hidden {
    transform: translateY(100%);
    pointer-events: none;
}

.cookie-banner p {
    font-size: 0.85rem;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0;
}

.cookie-banner a {
    color: var(--secondary);
    text-decoration: underline;
}

.cookie-banner-btns {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn-accept {
    padding: 0.65rem 1.4rem;
    background: var(--secondary);
    color: var(--primary);
    border: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.cookie-btn-accept:hover { background: var(--light); }

.cookie-btn-reject {
    padding: 0.65rem 1.2rem;
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.3);
    font-family: var(--font-body);
    font-size: 0.82rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.cookie-btn-reject:hover { color: var(--light); border-color: var(--light); }

/* ===== Página de Privacidade ===== */
.privacidade-page {
    padding: 10rem 0 6rem;
    background: var(--bg-light);
    min-height: 80vh;
}

.privacidade-content {
    max-width: 820px;
    margin: 0 auto;
}

.privacidade-header {
    margin-bottom: 3.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 2px solid var(--secondary);
}

.privacidade-header h1 {
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-weight: 400;
}

.privacidade-meta {
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 0.5rem;
}

.privacidade-body {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.priv-section h2 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 500;
    padding-left: 1rem;
    border-left: 3px solid var(--secondary);
}

.priv-section p {
    color: var(--gray);
    line-height: 1.85;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.priv-section ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.priv-section ul li {
    color: var(--gray);
    font-size: 0.93rem;
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.7;
}

.priv-section ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 600;
}

.priv-section a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

.priv-section a:hover { color: var(--secondary); }

.privacidade-footer {
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e8e8e6;
}

@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.2rem 1.2rem 1.5rem;
        gap: 1rem;
    }
    .cookie-banner-btns { width: 100%; }
    .cookie-btn-accept, .cookie-btn-reject { flex: 1; text-align: center; }
    .privacidade-page { padding: 8rem 0 4rem; }
    .priv-section h2 { font-size: 1.2rem; }
}


/* ===== ÁREAS ===== */

.areas-atuacao-clean {
    background-color: var(--primary);
    padding: 80px 0;
}

.areas-wrapper {
    max-width: 850px;
    margin: 0 auto;
}

.area-item-new {
    border-bottom: 1px solid rgba(216, 196, 185, 0.2);
    padding: 25px 0;
    width: 100%;
}

.area-header-new {
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
}

.area-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: invert(94%) sepia(8%) saturate(546%) hue-rotate(323deg) brightness(91%) contrast(89%);
}

.area-header-new h3 {
    font-family: var(--font-heading);
    color: var(--light);
    font-size: 1.8rem;
    margin: 0;
    transition: var(--transition);
}

.area-reveal-new {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: var(--transition);
    padding-left: 50px;
}

/* Hover só para dispositivos com mouse real (não touch) */
@media (hover: hover) and (pointer: fine) {
    .area-item-new:hover .area-reveal-new {
        max-height: 500px;
        opacity: 1;
        padding-top: 20px;
        padding-bottom: 15px;
    }

    .area-item-new:hover h3 {
        color: var(--secondary);
    }
}

.area-reveal-new .lead {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.area-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

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

.feature svg {
    color: #C1E1C1;
    flex-shrink: 0;
}

.feature .lead {
    color: var(--secondary) !important;
    margin-bottom: 0 !important;
    font-size: 1rem;
}

@media (max-width: 600px) {
    .area-features {
        grid-template-columns: 1fr;
    }
    .area-reveal-new {
        padding-left: 0;
    }
}

/* ===== ADVOGADAS ===== */
.advogadas {
    padding: 8rem 0;
    background: var(--bg-light);
}

.advogadas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 880px;
    margin: 0 auto;
}

.advogada-card {
    background: var(--light);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.advogada-card:hover { box-shadow: var(--shadow-md); }

.advogada-photo {
    height: 420px;
    overflow: hidden;
}

.advogada-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 35%;
    transition: var(--transition);
}

.advogada-card:hover .advogada-photo img { transform: scale(1.04); }

.advogada-details { padding: 2.5rem; }

.advogada-details h3 {
    font-size: 1.7rem;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.oab {
    display: block;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.advogada-details p {
    color: var(--gray);
    line-height: 1.8;
    font-size: 0.93rem;
    margin-bottom: 2rem;
}

.btn-profile {
    display: inline-block;
    padding: 0.75rem 1.8rem;
    background: var(--primary);
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.82rem;
    transition: var(--transition);
}

.btn-profile:hover {
    background: var(--secondary);
    color: var(--primary);
}

/* ===== AVALIAÇÕES ===== */
.avaliacoes {
    padding: 8rem 0;
    background: var(--light);
}

.google-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1rem;
    padding: 0.6rem 1.4rem;
    border: 1px solid #e4e4e4;
    border-radius: 40px;
    background: var(--light);
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.badge-stars {
    color: #f9ab00;
    font-size: 1rem;
    letter-spacing: 1px;
}

.badge-score {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray);
    font-family: var(--font-body);
}

.avaliacoes-wrapper {
    position: relative;
}

.avaliacoes-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 3rem;
}

.avaliacoes-grid::-webkit-scrollbar {
    height: 8px;
}

.avaliacoes-grid::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 10px;
}

.avaliacao-card {
    min-width: 340px;
    max-width: 340px;
    flex-shrink: 0;
}

.aval-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--secondary);
    color: var(--primary);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: var(--transition);
}

.aval-btn:hover {
    background: var(--light);
}

.aval-prev { left: 0; }
.aval-next { right: 0; }

.avaliacao-card {
    background: var(--bg-light);
    padding: 2.5rem;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.avaliacao-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--secondary);
}

.avaliacao-topo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.avaliacao-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
    flex-shrink: 0;
}

.avaliacao-topo strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.avaliacao-stars {
    color: #f9ab00;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.avaliacao-card > p {
    color: var(--gray);
    font-size: 0.93rem;
    line-height: 1.85;
    font-style: italic;
}

/* ===== CONTATO ===== */
.contato {
    padding: 8rem 0;
    background: var(--bg-light);
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contato-info > p {
    color: var(--gray);
    margin-bottom: 3rem;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.info-icon {
    width: 48px;
    height: 48px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--primary);
}

.info-item h4 {
    font-size: 0.95rem;
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--primary);
}

.info-item p {
    color: var(--gray);
    font-size: 0.92rem;
    line-height: 1.6;
}

.contato-form {
    background: var(--light);
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

input, textarea {
    width: 100%;
    padding: 0.95rem 1.1rem;
    border: 2px solid #ebebeb;
    background: var(--bg-light);
    font-family: var(--font-body);
    font-size: 0.93rem;
    color: var(--dark);
    margin-bottom: 1.2rem;
    transition: var(--transition);
    display: block;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background: var(--light);
}

textarea {
    resize: vertical;
    min-height: 130px;
}

.btn-submit {
    width: 100%;
    padding: 1.1rem;
    background: var(--primary);
    color: var(--light);
    border: none;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.88rem;
}

.btn-submit:hover {
    background: var(--secondary);
    color: var(--primary);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary);
    color: var(--light);
    padding: 4.5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo { height: 125px; }

.footer-links h4,
.footer-contact h4 {
    color: var(--secondary);
    font-size: 0.75rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
    font-weight: 600;
}

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 2.5;
    transition: var(--transition);
    display: block;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 6px;
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 2;
}

.footer-icon {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-icon svg {
    width: 15px;
    height: 15px;
    fill: var(--secondary);
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.45);
    font-size: 0.84rem;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.12);
}

.social-icon:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-3px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: rgba(255,255,255,0.8);
    transition: fill 0.3s ease;
}

.social-icon:hover svg {
    fill: var(--primary);
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollAnim {
    0%, 100% { transform: translateY(0);    opacity: 1;   }
    50%       { transform: translateY(10px); opacity: 0.4; }
}

/* ===== RESPONSIVO ===== */

/* Tablet landscape */
@media (max-width: 1100px) {
    .logo img { height: 75px; }
    .nav-links { gap: 1.8rem; }
    .sobre-content { gap: 4rem; }
}

/* Tablet portrait */
@media (max-width: 900px) {
    .nav-links,
    .nav-social,
    .btn-contact { display: none; }

    .mobile-toggle { display: flex; }

    /* Menu mobile — tela cheia */
    .nav-links.active {
        display: flex;
        position: fixed;
        inset: 0;
        background: var(--primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        z-index: 1000;
    }

    .nav-links.active .nav-link {
        font-size: 1.3rem;
        letter-spacing: 2px;
    }

    .sobre-content { grid-template-columns: 1fr; gap: 3rem; }
    .sobre-image   { height: 380px; }

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

    .advogadas-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .contato-grid  { grid-template-columns: 1fr; gap: 3.5rem; }
    .form-row      { grid-template-columns: 1fr; }

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

/* Mobile */
@media (max-width: 600px) {
    .logo img { height: 55px; }

    .hero {
        background-attachment: scroll;
        background-position: center 75% !important;

    /* Animação scroll suavizada no mobile */
    .scroll-line {
        animation: scrollAnimMobile 6s ease-in-out infinite;
    }
    }

    .areas-grid    { grid-template-columns: 1fr; }
    .area-image    { height: 220px; }

    .sobre         { padding: 5rem 0; }
    .areas         { padding: 5rem 0; }
    .advogadas     { padding: 5rem 0; }
    .avaliacoes    { padding: 5rem 0; }
    .contato       { padding: 5rem 0; }

    .sobre-image   { height: 290px; }
    .advogada-photo { height: 340px; }

    .contato-form  { padding: 2rem 1.5rem; }
    .avaliacao-card { padding: 1.8rem; }

    .container     { padding: 0 1.2rem; }

    .footer        { padding: 3rem 0 1.5rem; }
    .footer-logo   { height: 60px; }
    .footer-content { gap: 2rem; }

    .google-badge  { flex-wrap: wrap; justify-content: center; }
}

/* ===== ACESSIBILIDADE ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 3px;
}

/* ===== PÁGINAS INTERNAS (somos, areas, contato) ===== */

/* Hero das páginas internas */
.page-hero {
    height: 60vh;
    min-height: 380px;
    background:
        linear-gradient(rgba(45, 55, 47, 0.82), rgba(26, 26, 26, 0.88)),
        url('images/justica.jpg') center 1% / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 100px;
}

.page-hero-content { color: var(--light); }

.page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 400;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.05rem;
    opacity: 0.85;
}

/* Quem Somos */
.sobre-page {
    padding: 8rem 0;
    background: var(--bg-light);
}

.sobre-intro {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 5rem;
}

.lead {
    font-size: 1.15rem;
    color: var(--gray);
    line-height: 1.9;
    margin-top: 1rem;
}

.sobre-details { max-width: 860px; margin: 0 auto; }

.detail-item {
    display: flex;
    gap: 2.5rem;
    padding: 3rem;
    background: var(--light);
    margin-bottom: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.detail-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.detail-number {
    font-size: 3rem;
    font-family: var(--font-heading);
    color: var(--secondary);
    font-weight: 300;
    min-width: 70px;
    line-height: 1;
    padding-top: 4px;
}

.detail-content h3 {
    font-size: 1.7rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.detail-content p { color: var(--gray); line-height: 1.85; }

.valor-icon img {
    width: 150px;
    height: 150px;
    object-fit: contain;

    filter:
        brightness(0)
        saturate(100%)
        invert(89%)
        sepia(16%)
        saturate(280%)
        hue-rotate(340deg)
        brightness(96%)
        contrast(92%);
}

/* Equipe (somos.html) */
.team-section {
    padding: 8rem 0;
    background: var(--light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.team-member {
    background: var(--bg-light);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-member:hover { box-shadow: var(--shadow-md); }

.member-photo {
    height: 440px;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 35%;
    transition: var(--transition);
}

.team-member:hover .member-photo img { transform: scale(1.04); }

.member-info { padding: 2.5rem; }

.member-role {
    display: block;
    color: var(--secondary);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.4rem;
}

.member-info h3 {
    font-size: 1.7rem;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.member-info .oab { margin-bottom: 1.2rem; }

.member-info p {
    color: var(--gray);
    font-size: 0.93rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.member-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.specialty {
    padding: 0.4rem 1rem;
    background: var(--secondary);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Áreas (areas.html) */
.areas-full { padding: 8rem 0; background: var(--bg-light); }

.area-expanded {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5rem;
    margin-bottom: 6rem;
    align-items: center;
}

.area-expanded-content {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.area-expanded-content a {
    display: block;
    width: fit-content;
    margin: 2rem auto 0 auto;
}

.area-expanded.reverse { direction: rtl; }
.area-expanded.reverse > * { direction: ltr; }

.area-expanded-image {
    height: 460px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.area-expanded-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.area-expanded:hover .area-expanded-image img { transform: scale(1.04); }

.area-tag {
    display: inline-block;
    color: var(--secondary);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.area-expanded-content h2 {
    font-size: 2.4rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
    
}

.area-expanded-content p {
    color: var(--gray);
    line-height: 1.85;
    margin-bottom: 2rem;
}

.area-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.feature svg { fill: var(--secondary); flex-shrink: 0; }
.feature span { color: var(--gray); font-size: 0.9rem; }

/* Contato (contato.html) */
.contato-page { padding: 8rem 0; background: var(--bg-light); }

.contato-grid-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contato-info-page .label { margin-bottom: 0.5rem; }

.contato-info-page h2 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
}

.contato-info-page > p {
    color: var(--gray);
    margin-bottom: 3rem;
    font-size: 1rem;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--light);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.contact-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.contact-card-icon {
    width: 56px;
    height: 56px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-icon svg { width: 26px; height: 26px; fill: var(--primary); }

.contact-card-content h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.contact-card-content p {
    color: var(--dark);
    font-weight: 600;
    font-size: 0.93rem;
    margin-bottom: 0.2rem;
}

.contact-card-content span {
    color: var(--gray);
    font-size: 0.87rem;
}

.whatsapp-link {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-link:hover { color: var(--primary); }

.form-box {
    background: var(--light);
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.form-box h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.form-box > p {
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 0.93rem;
}

.form-group-page { margin-bottom: 1.4rem; }

.form-group-page label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.87rem;
}

.form-group-page input,
.form-group-page select,
.form-group-page textarea {
    width: 100%;
    padding: 0.95rem 1.1rem;
    border: 2px solid #ebebeb;
    background: var(--bg-light);
    font-family: var(--font-body);
    font-size: 0.93rem;
    transition: var(--transition);
}

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

.form-row-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.btn-submit-page {
    width: 100%;
    padding: 1.1rem;
    background: var(--primary);
    color: var(--light);
    border: none;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.88rem;
}

.btn-submit-page:hover {
    background: var(--secondary);
    color: var(--primary);
}

/* CTA SECTION */
.cta-section {
    padding: 6rem 0;
    background: #6D776F;
}

.cta-content {
    text-align: center;
    color: var(--light);
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Mapa */
.map-section { padding: 0; }

.map-container-full { width: 100%; height: 480px; }

.map-container-full iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Responsivo páginas internas */
@media (max-width: 900px) {
    .team-grid,
    .area-expanded,
    .contato-grid-page { grid-template-columns: 1fr; gap: 2.5rem; }

    .area-expanded.reverse { direction: ltr; }
    .area-expanded-image { height: 320px; }
    .area-features { grid-template-columns: 1fr; }
    .form-row-page { grid-template-columns: 1fr; }
    .detail-item { flex-direction: column; gap: 1rem; }
}

@media (max-width: 600px) {
    .page-hero { min-height: 50vh; padding-top: 80px; }
    .form-box { padding: 2rem 1.5rem; }
    .contact-card { padding: 1.5rem; }
    .member-photo { height: 320px; }
    .sobre-page, .areas-full, .team-section, .contato-page { padding: 5rem 0; }
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366, #1ebe57);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
    z-index: 999;
    transition: all 0.3s ease;
    animation: floatIn 0.6s ease forwards;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    background: var(--primary);
    color: white;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: 0.3s ease;
    white-space: nowrap;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

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

/* ================================================
   ÁREAS DE ATUAÇÃO — página areas.html
   ================================================ */

.areas-page {
    padding: 7rem 0 4rem;
    background: var(--bg-light);
}

.area-bloco {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 0;
    margin-bottom: 3px;
    background: var(--light);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.area-bloco--alt {
    background: var(--primary);
}

.area-bloco--alt .area-bloco-body {
    background: var(--primary);
}

.area-bloco--alt h2,
.area-bloco--alt .area-bloco-body h2,
.area-bloco--alt p,
.area-bloco--alt .area-bloco-body > p,
.area-bloco--alt .area-bloco-tag {
    color: rgba(255,255,255,0.9) !important;
}

.area-bloco--alt .area-bloco-tag {
    background: rgba(201,184,150,0.2);
    color: var(--secondary);
}

.area-bloco--alt .area-bloco-features li {
    color: rgba(255,255,255,0.8);
}

.area-bloco--alt .area-bloco-features svg {
    color: var(--secondary);
}

.area-bloco--alt .area-bloco-btn {
    border-color: var(--secondary);
    color: var(--secondary);
}

.area-bloco--alt .area-bloco-btn:hover {
    background: var(--secondary);
    color: var(--primary);
}

.area-bloco--alt .area-bloco-icon {
    filter: brightness(0) invert(1) opacity(0.7);
}

.area-bloco-numero {
    background: var(--primary);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 3rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--secondary);
    font-weight: 300;
    letter-spacing: 2px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    min-height: 100%;
}

.area-bloco--alt .area-bloco-numero {
    background: rgba(0,0,0,0.15);
}

.area-bloco-body {
    padding: 3.5rem 4rem;
    background: var(--light);
}

.area-bloco-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.area-bloco-icon {
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(31%) sepia(12%) saturate(620%) hue-rotate(83deg) brightness(82%) contrast(88%);
    flex-shrink: 0;
}

.area-bloco-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--secondary);
    background: rgba(201,184,150,0.12);
    padding: 0.3rem 0.9rem;
    margin-bottom: 0.4rem;
}

.area-bloco h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--primary);
    font-weight: 400;
    line-height: 1.1;
}

.area-bloco > .area-bloco-body > p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.9;
    max-width: 640px;
    margin-bottom: 2rem;
}

.area-bloco-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 2rem;
    margin-bottom: 2.5rem;
}

.area-bloco-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--gray);
    font-size: 0.9rem;
}

.area-bloco-features svg {
    width: 18px;
    height: 18px;
    color: var(--secondary);
    flex-shrink: 0;
}

.area-bloco-btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border: 2px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.82rem;
    transition: var(--transition);
}

.area-bloco-btn:hover {
    background: var(--primary);
    color: var(--light);
}

/* CTA na página de áreas */
.areas-cta {
    padding: 6rem 0;
    background: var(--primary);
    text-align: center;
}

.areas-cta p {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    margin-bottom: 2rem;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 300;
}

.areas-cta .btn-hero {
    animation: none;
}

/* Responsivo áreas page */
@media (max-width: 768px) {
    .area-bloco {
        grid-template-columns: 1fr;
    }

    .area-bloco-numero {
        writing-mode: horizontal-tb;
        transform: none;
        padding: 1rem 2rem;
        font-size: 0.85rem;
        letter-spacing: 3px;
        min-height: auto;
    }

    .area-bloco-body {
        padding: 2.5rem 1.5rem;
    }

    .area-bloco-features {
        grid-template-columns: 1fr;
    }

    .areas-cta p {
        font-size: 1.3rem;
    }
}

/* ================================================
   CORREÇÃO: ícones de valores no mobile (somos.html)
   ================================================ */

@media (max-width: 768px) {
    .valor-icon img {
        width: 70px !important;
        height: 70px !important;
    }
}

@media (max-width: 480px) {
    .valor-icon img {
        width: 55px !important;
        height: 55px !important;
    }
}

/* ================================================
   ACCORDION ÁREAS — seta + estado .open (mobile)
   ================================================ */

/* Seta indicativa no header */
.area-header-new {
    position: relative;
}

.area-header-new::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--secondary);
    border-bottom: 2px solid var(--secondary);
    transform: rotate(45deg);
    margin-left: auto;
    flex-shrink: 0;
    transition: var(--transition);
}

/* Quando aberto, seta aponta para cima */
.area-item-new.open .area-header-new::after {
    transform: rotate(-135deg);
    margin-top: 4px;
}

/* Estado .open via JS (mobile/touch) */
.area-item-new.open .area-reveal-new {
    max-height: 500px !important;
    opacity: 1 !important;
    padding-top: 20px !important;
    padding-bottom: 15px !important;
}

.area-item-new.open h3 {
    color: var(--secondary) !important;
}

/* No desktop: hover continua funcionando normalmente */
@media (hover: hover) and (pointer: fine) {
    .area-item-new:hover .area-reveal-new {
        max-height: 500px;
        opacity: 1;
        padding-top: 20px;
        padding-bottom: 15px;
    }

    .area-item-new:hover h3 {
        color: var(--secondary);
    }

    .area-item-new:hover .area-header-new::after {
        transform: rotate(-135deg);
        margin-top: 4px;
    }
}

/* Animação scroll APENAS mobile - mais suave e lenta */
@keyframes scrollAnimMobile {
    0%   { transform: translateY(0);    opacity: 0.75; }
    50%  { transform: translateY(18px); opacity: 0.25; }
    100% { transform: translateY(0);    opacity: 0.75; }
}
