/*
Theme Name: Jhonatan Lozado Assessoria Jurídica
Theme URI: https://lozado.adv.br
Author: Jhonatan Lozado
Author URI: https://lozado.adv.br
Description: Tema premium editorial para escritório de advocacia trabalhista.
Version: 3.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lozado-adv
*/

/* ==========================================================================
   TOKENS
   ========================================================================== */

:root {
    --c-bg:       #FAFAF7;
    --c-bg-alt:   #F2F1EC;
    --c-surface:  #FFFFFF;
    --c-dark:     #0C0C0C;
    --c-dark-2:   #161614;

    --c-text:     #1A1A18;
    --c-text-2:   #6B6963;
    --c-text-3:   #9C9A94;
    --c-text-inv: #FAFAF7;

    --c-accent:   #4E5A62;
    --c-accent-h: #3E484E;

    --c-line:     #E5E3DC;
    --c-line-inv: rgba(255,255,255,0.1);

    --c-wa:       #25D366;
    --c-wa-h:     #1DAF54;

    --f-serif: 'Cormorant Garamond', Georgia, serif;
    --f-sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --s-xs: .5rem;
    --s-sm: 1rem;
    --s-md: 1.5rem;
    --s-lg: 2.5rem;
    --s-xl: 4rem;
    --s-2xl: 6rem;
    --s-3xl: 8rem;

    --w-container: 1200px;
    --w-narrow: 780px;

    --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: var(--f-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--c-text);
    background: var(--c-bg);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4 {
    font-family: var(--f-serif);
    font-weight: 400;
    line-height: 1.15;
    color: var(--c-text);
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.label-sm {
    font-family: var(--f-sans);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--c-accent);
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--w-container);
    margin: 0 auto;
    padding: 0 var(--s-sm);
}

.container--narrow {
    max-width: var(--w-narrow);
}

@media (min-width: 768px) {
    .container { padding: 0 var(--s-md); }
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .9rem 2rem;
    font-family: var(--f-sans);
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .02em;
    border: 2px solid transparent;
    border-radius: 0;
    text-decoration: none;
    transition: all 250ms var(--ease);
    white-space: nowrap;
}

.btn--primary {
    background: var(--c-accent);
    color: #fff !important;
    border-color: var(--c-accent);
}
.btn--primary:hover {
    background: var(--c-accent-h);
    border-color: var(--c-accent-h);
}

.btn--outline {
    background: transparent;
    color: var(--c-text);
    border-color: var(--c-text);
}
.btn--outline:hover {
    background: var(--c-text);
    color: var(--c-bg);
}

.btn--wa {
    background: var(--c-accent);
    color: #fff !important;
    border-color: var(--c-accent);
}
.btn--wa:hover {
    background: var(--c-accent-h);
    border-color: var(--c-accent-h);
}

.btn--white {
    background: #fff;
    color: var(--c-dark);
    border-color: #fff;
}
.btn--white:hover {
    background: var(--c-bg-alt);
    border-color: var(--c-bg-alt);
}

.btn--lg {
    padding: 1.1rem 2.8rem;
    font-size: 1rem;
}

/* Links */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 500;
    color: var(--c-accent);
    transition: gap 200ms var(--ease);
}
.link-arrow:hover { gap: .7rem; }

/* Section spacing — mobile base */
.section { padding: var(--s-xl) 0; }
.section--lg { padding: var(--s-2xl) 0; }
.section--dark {
    background: var(--c-dark);
    color: var(--c-text-inv);
}
.section--alt { background: var(--c-bg-alt); }

.section__header {
    margin-bottom: var(--s-lg);
    text-align: center;
}
.section__title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: .75rem;
}
.section__subtitle {
    font-size: 1.05rem;
    color: var(--c-text-2);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section--dark .section__title { color: var(--c-text-inv); }
.section--dark .section__subtitle { color: rgba(250,250,247,.6); }

@media (min-width: 1024px) {
    .section { padding: var(--s-2xl) 0; }
    .section--lg { padding: var(--s-3xl) 0; }
    .section__header { margin-bottom: var(--s-xl); }
    .section__subtitle { font-size: 1.1rem; }
}

/* Divider */
.divider {
    width: 60px;
    height: 2px;
    background: var(--c-accent);
    margin: 1.5rem 0;
}

/* Screen reader */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* ==========================================================================
   HEADER — mobile base
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-line);
    transition: box-shadow 300ms var(--ease);
}

.site-header.scrolled {
    box-shadow: 0 1px 20px rgba(0,0,0,.06);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.header__logo a {
    display: flex;
    align-items: center;
}

.header__logo img,
.header__logo .custom-logo {
    max-height: 38px;
    width: auto;
}

/* Mobile nav — fullscreen overlay */
.header__nav {
    position: fixed;
    inset: 0;
    background: var(--c-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 300ms var(--ease);
    z-index: 999;
}

.header__nav.is-open {
    opacity: 1;
    pointer-events: auto;
}

.header__nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.header__nav a {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--c-text-2);
    transition: color 200ms;
}

.header__nav a:hover {
    color: var(--c-text);
}

.header__cta .btn {
    padding: .8rem 1.6rem;
    font-size: .88rem;
}

/* Mobile menu toggle — visible by default */
.header__toggle {
    display: block;
    background: none;
    border: none;
    width: 28px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.header__toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--c-text);
    position: absolute;
    left: 0;
    transition: all 250ms var(--ease);
}

.header__toggle span:nth-child(1) { top: 0; }
.header__toggle span:nth-child(2) { top: 9px; }
.header__toggle span:nth-child(3) { bottom: 0; }

.header__toggle.active span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.header__toggle.active span:nth-child(2) { opacity: 0; }
.header__toggle.active span:nth-child(3) { bottom: 9px; transform: rotate(-45deg); }

/* Desktop header */
@media (min-width: 768px) {
    .header__inner { height: 72px; }

    .header__logo img,
    .header__logo .custom-logo {
        max-height: 48px;
    }

    .header__toggle { display: none; }

    .header__nav {
        position: static;
        flex-direction: row;
        gap: 2.5rem;
        opacity: 1;
        pointer-events: auto;
        background: none;
    }

    .header__nav ul {
        flex-direction: row;
        gap: 2rem;
    }

    .header__nav a {
        font-size: .88rem;
    }
}

/* ==========================================================================
   BLOCK: HERO — mobile base
   ========================================================================== */

.block-hero {
    display: flex;
    align-items: center;
    padding: var(--s-2xl) 0 var(--s-xl);
    position: relative;
    overflow: hidden;
    background: var(--c-bg);
}

.block-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 70% 0%, rgba(78,90,98,.08) 0%, transparent 60%),
        radial-gradient(ellipse at 0% 100%, rgba(78,90,98,.06) 0%, transparent 50%),
        repeating-linear-gradient(135deg, transparent, transparent 3px, rgba(0,0,0,.007) 3px, rgba(0,0,0,.007) 6px);
    pointer-events: none;
}

.block-hero--dark {
    background: var(--c-dark);
}

.block-hero--dark::before {
    background:
        radial-gradient(ellipse at 20% 100%, rgba(78,90,98,.15) 0%, transparent 55%),
        radial-gradient(ellipse at 90% 10%, rgba(255,255,255,.04) 0%, transparent 40%),
        repeating-linear-gradient(135deg, transparent, transparent 3px, rgba(255,255,255,.01) 3px, rgba(255,255,255,.01) 6px);
}

.block-hero--dark::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.25) 100%);
    pointer-events: none;
}

.block-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 860px;
}

.block-hero__label {
    margin-bottom: 1.5rem;
}

.block-hero__title {
    font-size: clamp(2.2rem, 8vw, 3rem);
    font-weight: 300;
    letter-spacing: -.02em;
    line-height: 1.08;
    margin-bottom: 1.5rem;
}

.block-hero--dark .block-hero__title,
.block-hero--dark .block-hero__desc,
.block-hero--dark .block-hero__label {
    color: var(--c-text-inv);
}

.block-hero--dark .block-hero__label {
    color: rgba(250,250,247,.7);
}

.block-hero__subtitle {
    font-family: var(--f-serif);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 400;
    color: var(--c-text-2);
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.block-hero--dark .block-hero__subtitle {
    color: rgba(250,250,247,.65);
}

.block-hero__desc {
    font-size: 1rem;
    color: var(--c-text-2);
    max-width: 600px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.block-hero__actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.block-hero__actions .btn {
    width: 100%;
    justify-content: center;
}

@media (min-width: 480px) {
    .block-hero__actions {
        flex-direction: row;
    }
    .block-hero__actions .btn {
        width: auto;
    }
}

@media (min-width: 1024px) {
    .block-hero {
        min-height: 85vh;
        padding: var(--s-3xl) 0 var(--s-2xl);
    }
    .block-hero__title {
        font-size: clamp(2.8rem, 6.5vw, 5rem);
    }
    .block-hero__subtitle {
        font-size: clamp(1.3rem, 2.5vw, 1.8rem);
        max-width: 700px;
    }
    .block-hero__desc {
        font-size: 1.05rem;
        margin-bottom: 2.5rem;
    }
}

/* ==========================================================================
   BLOCK: EXPERTISE — mobile base
   ========================================================================== */

/* ==========================================================================
   BLOCK: SERVICES — Premium Editorial Redesign
   ========================================================================== */

.block-services {
    padding: var(--s-xl) 0;
    background: var(--c-bg);
}

.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.services__card {
    position: relative;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    padding: 2.5rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none; /* Reset para <a> */
    color: inherit;         /* Reset para <a> */
    transition: all 400ms var(--ease);
    border-radius: 0;
}

.services__card.is-link {
    cursor: pointer;
}

.services__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--c-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 400ms var(--ease);
}

.services__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,.08);
    border-color: transparent;
}

.services__card:hover::before {
    transform: scaleX(1);
}

.services__card-header {
    margin-bottom: 0.5rem; /* Ajustado */
}

.services__card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--c-bg-alt);
    color: var(--c-accent);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 400ms var(--ease);
    border-radius: 0;
}

.services__card:hover .services__card-icon {
    background: var(--c-accent);
    color: #fff;
}

.services__card-title {
    font-family: var(--f-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--c-dark);
    line-height: 1.2;
}

.services__card-body {
    flex-grow: 1;
}

.services__card-desc {
    font-size: 0.95rem;
    color: var(--c-text-2);
    line-height: 1.7;
}

@media (min-width: 480px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .block-services { padding: var(--s-3xl) 0; }
    .services__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .services__card {
        padding: 3.5rem 2.5rem;
    }
}

/* ==========================================================================
   BLOCK: ABOUT — mobile base (stacked)
   ========================================================================== */

.block-about {
    padding: 0;
}

.block-about__grid {
    display: grid;
    grid-template-columns: 1fr;
}

.block-about__image {
    position: relative;
    overflow: hidden;
    background: var(--c-bg-alt);
    height: 350px;
}

.block-about__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.block-about__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--s-xl) var(--s-sm);
    background: var(--c-bg-alt);
}

.block-about__title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: var(--s-md);
}

.block-about__text {
    font-size: 1rem;
    color: var(--c-text-2);
    line-height: 1.8;
    margin-bottom: var(--s-md);
}

.block-about__highlight {
    border-left: 3px solid var(--c-accent);
    padding-left: 1.5rem;
    font-family: var(--f-serif);
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--c-text);
    margin: var(--s-lg) 0;
}

.block-about__actions {
    margin-top: var(--s-md);
}

@media (min-width: 768px) {
    .block-about__content {
        padding: var(--s-xl) var(--s-md);
    }
    .block-about__image { height: 400px; }
}

@media (min-width: 1024px) {
    .block-about__grid {
        grid-template-columns: 1fr 1fr;
        min-height: 600px;
    }
    .block-about__image { height: auto; }
    .block-about__content {
        padding: var(--s-2xl) var(--s-xl);
    }
    .block-about__text { font-size: 1.05rem; }
    .block-about__highlight { font-size: 1.3rem; }
}

/* ==========================================================================
   BLOCK: NUMBERS — mobile base
   ========================================================================== */

.block-numbers {
    background: var(--c-dark);
    padding: var(--s-xl) 0;
}

.block-numbers__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-md);
    text-align: center;
}

.block-numbers__value {
    font-family: var(--f-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    color: var(--c-text-inv);
    line-height: 1;
    margin-bottom: .5rem;
}

.block-numbers__label {
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(250,250,247,.45);
}

@media (min-width: 480px) {
    .block-numbers__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--s-lg);
    }
}

@media (min-width: 768px) {
    .block-numbers__grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

/* ==========================================================================
   BLOCK: TESTIMONIALS
   ========================================================================== */

.block-testimonials {
    padding: var(--s-xl) 0;
}

.block-testimonials__widget {
    margin-top: var(--s-lg);
}

.block-testimonials .ti-widget {
    font-family: var(--f-sans) !important;
}

@media (min-width: 1024px) {
    .block-testimonials { padding: var(--s-2xl) 0; }
}

/* ==========================================================================
   BLOCK: FAQ — mobile base
   ========================================================================== */

.block-faq {
    padding: var(--s-xl) 0;
    background: var(--c-bg-alt);
}

.block-faq .section__header {
    margin-bottom: var(--s-lg);
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid var(--c-line);
}

.faq__item {
    border-bottom: 1px solid var(--c-line);
}

.faq__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.25rem 0;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--f-serif);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--c-text);
    cursor: pointer;
    transition: color 200ms;
    gap: 1rem;
}

.faq__question:hover {
    color: var(--c-accent);
}

.faq__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    position: relative;
}

.faq__icon::before,
.faq__icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    transition: transform 300ms var(--ease);
}

.faq__icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.faq__icon::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.faq__question[aria-expanded="true"] .faq__icon::after {
    transform: translateX(-50%) rotate(90deg);
}

.faq__answer {
    transition: height 350ms var(--ease);
    overflow: hidden;
}

.faq__answer-inner {
    padding: 0 0 1.5rem;
    font-size: .95rem;
    color: var(--c-text-2);
    line-height: 1.8;
}

@media (min-width: 768px) {
    .block-faq { padding: var(--s-2xl) 0; }
    .faq__question { padding: 1.5rem 0; font-size: 1.2rem; }
    .faq__answer-inner { font-size: 1rem; }
}

/* ==========================================================================
   BLOCK: CTA
   ========================================================================== */

.block-cta {
    background: var(--c-dark);
    padding: var(--s-xl) 0;
    text-align: center;
}

.block-cta__title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 300;
    color: var(--c-text-inv);
    max-width: 800px;
    margin: 0 auto var(--s-sm);
}

.block-cta__text {
    font-size: 1rem;
    color: rgba(250,250,247,.55);
    max-width: 600px;
    margin: 0 auto var(--s-lg);
}

@media (min-width: 1024px) {
    .block-cta { padding: var(--s-2xl) 0; }
    .block-cta__text { font-size: 1.1rem; }
}

/* ==========================================================================
   BLOCK: CONTACT — mobile base (single column)
   ========================================================================== */

.block-contact {
    padding: var(--s-xl) 0;
}

.block-contact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-lg);
    align-items: start;
}

.block-contact__form {
    min-width: 0;
}

.block-contact__info {
    padding-top: .5rem;
}

.contact-info__item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--c-line);
}

.contact-info__item:first-child {
    padding-top: 0;
}

.contact-info__icon {
    flex-shrink: 0;
    width: 24px;
    color: var(--c-accent);
    font-size: 1.1rem;
    padding-top: .15rem;
}

.contact-info__label {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--c-text-3);
    margin-bottom: .25rem;
}

.contact-info__value {
    color: var(--c-text);
    font-size: .95rem;
    line-height: 1.6;
}

.contact-info__value a {
    color: var(--c-accent);
    font-weight: 500;
}

.contact-info__value a:hover {
    text-decoration: underline;
}

.block-contact__map {
    margin-top: var(--s-lg);
    border-top: 1px solid var(--c-line);
    padding-top: var(--s-lg);
}

.block-contact__map iframe {
    width: 100%;
    height: 250px;
    border: 0;
}

@media (min-width: 768px) {
    .block-contact__map iframe { height: 280px; }
}

@media (min-width: 1024px) {
    .block-contact { padding: var(--s-2xl) 0; }
    .block-contact__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--s-xl);
    }
}

/* Fallback contact form — mobile base (single column) */
.lozado-form .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.lozado-form .form-group {
    margin-bottom: 1rem;
}

.lozado-form label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: .4rem;
}

.lozado-form .form-control {
    width: 100%;
    padding: .8rem 1rem;
    border: 1px solid var(--c-line);
    border-radius: 0;
    background: var(--c-surface);
    color: var(--c-text);
    font-size: .95rem;
    transition: border-color 200ms;
}

.lozado-form .form-control:focus {
    outline: none;
    border-color: var(--c-accent);
}

.lozado-form .form-messages {
    padding: 1rem;
    margin-top: 1rem;
    font-size: .9rem;
}

.lozado-form .form-messages.error {
    background: #FEF2F2;
    color: #DC2626;
    border-left: 3px solid #DC2626;
}

.lozado-form .form-messages.success {
    background: #F0FDF4;
    color: #16A34A;
    border-left: 3px solid #16A34A;
}

.form-success {
    text-align: center;
    padding: var(--s-lg);
}

.form-success .success-icon {
    font-size: 3rem;
    color: var(--c-wa);
    margin-bottom: 1rem;
}

.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: .5rem;
}

@media (min-width: 768px) {
    .lozado-form .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==========================================================================
   BLOCK: CONTENT (free text)
   ========================================================================== */

.block-content {
    padding: var(--s-xl) 0;
}

.block-content__body {
    max-width: var(--w-narrow);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--c-text-2);
}

.block-content__body h2,
.block-content__body h3 {
    font-family: var(--f-serif);
    color: var(--c-text);
    margin-top: 2rem;
    margin-bottom: .75rem;
}

.block-content__body a {
    color: var(--c-accent);
    text-decoration: underline;
}

.block-content__body blockquote {
    border-left: 3px solid var(--c-accent);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--c-text);
}

@media (min-width: 1024px) {
    .block-content { padding: var(--s-2xl) 0; }
    .block-content__body { font-size: 1.05rem; }
}

/* ==========================================================================
   FOOTER — mobile base (single column)
   ========================================================================== */

.site-footer {
    background: var(--c-dark);
    color: var(--c-text-inv);
    padding: var(--s-xl) 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-lg);
    padding-bottom: var(--s-xl);
    border-bottom: 1px solid var(--c-line-inv);
}

.footer__logo {
    margin-bottom: var(--s-sm);
}

.footer__logo img {
    width: 200px;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer__tagline {
    font-size: .9rem;
    color: rgba(250,250,247,.5);
    margin-bottom: var(--s-md);
    line-height: 1.6;
}

.footer__social {
    display: flex;
    gap: .75rem;
}

.footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.6);
    font-size: .9rem;
    transition: all 200ms;
}

.footer__social a:hover {
    border-color: var(--c-accent);
    color: var(--c-accent);
}

.footer__col h4 {
    font-family: var(--f-sans);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(250,250,247,.4);
    margin-bottom: 1.25rem;
}

.footer__col p,
.footer__col a {
    font-size: .9rem;
    color: rgba(250,250,247,.65);
    line-height: 1.8;
}

.footer__col a:hover {
    color: var(--c-text-inv);
}

.footer__col ul li {
    margin-bottom: .5rem;
}

.footer__bottom {
    padding: 1.5rem 0;
    font-size: .8rem;
    color: rgba(250,250,247,.3);
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: .5rem;
}

@media (min-width: 768px) {
    .site-footer { padding: var(--s-2xl) 0 0; }
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        padding-bottom: var(--s-2xl);
    }
    .footer__bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .footer__grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: var(--s-xl);
    }
}

/* ==========================================================================
   WHATSAPP FLOAT — mobile base
   ========================================================================== */

.wa-float {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 900;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-wa);
    color: #fff;
    font-size: 1.3rem;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37,211,102,.35);
    opacity: 0;
    transform: scale(.8);
    transition: all 300ms var(--ease);
    pointer-events: none;
}

.wa-float.visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.wa-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(37,211,102,.45);
}

@media (min-width: 768px) {
    .wa-float {
        bottom: 2rem;
        right: 2rem;
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   AUXILIARY PAGES — mobile base
   ========================================================================== */

.page-content {
    padding: var(--s-lg) 0 var(--s-xl);
    min-height: 50vh;
}

.page-banner {
    background: var(--c-dark);
    padding: var(--s-lg) 0 var(--s-md);
    text-align: center;
}

.page-banner__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--c-text-inv);
}

.page-banner__desc {
    font-size: 1rem;
    color: rgba(250,250,247,.5);
    margin-top: .5rem;
}

@media (min-width: 768px) {
    .page-content { padding: var(--s-xl) 0 var(--s-2xl); }
    .page-banner { padding: var(--s-xl) 0 var(--s-lg); }
}

/* Single article */
.article {
    max-width: var(--w-narrow);
    margin: 0 auto;
}

.article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: .85rem;
    color: var(--c-text-2);
    margin-bottom: var(--s-lg);
}

.article__meta i { margin-right: .3rem; }

.article__featured {
    margin-bottom: var(--s-lg);
    overflow: hidden;
}

.article__featured img {
    width: 100%;
    height: auto;
}

.article__body {
    font-size: 1rem;
    line-height: 1.85;
}

.article__body h2 { font-size: 1.5rem; margin: 2rem 0 1rem; }
.article__body h3 { font-size: 1.2rem; margin: 1.5rem 0 .75rem; }
.article__body a { color: var(--c-accent); text-decoration: underline; }
.article__body img { margin: 1.5rem 0; }

.article__body blockquote {
    border-left: 3px solid var(--c-accent);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
}

.article__tags {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--c-line);
    font-size: .9rem;
    color: var(--c-text-2);
}

.article__tags a { color: var(--c-accent); }
.article__tags a:hover { text-decoration: underline; }

.article__nav {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    margin-top: var(--s-lg);
    padding-top: var(--s-lg);
    border-top: 1px solid var(--c-line);
    font-size: .9rem;
}

.article__nav a {
    color: var(--c-text-2);
    transition: color 200ms;
}

.article__nav a:hover { color: var(--c-accent); }

@media (min-width: 768px) {
    .article__meta { gap: 1.5rem; }
    .article__body { font-size: 1.05rem; }
    .article__body h2 { font-size: 1.8rem; margin: 2.5rem 0 1rem; }
    .article__body h3 { font-size: 1.4rem; margin: 2rem 0 .75rem; }
    .article__nav {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* Post CTA strip */
.post-cta-strip {
    background: var(--c-dark);
    padding: var(--s-xl) 0;
    text-align: center;
    margin-top: var(--s-xl);
}

.post-cta-strip h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 300;
    color: var(--c-text-inv);
    margin-bottom: .5rem;
}

.post-cta-strip p {
    color: rgba(250,250,247,.5);
    margin-bottom: var(--s-md);
}

@media (min-width: 1024px) {
    .post-cta-strip { margin-top: var(--s-2xl); }
}

/* Posts grid — mobile base (single column) */
.posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.post-card {
    border-bottom: 1px solid var(--c-line);
    padding-bottom: 2rem;
    transition: transform 200ms var(--ease);
}

.post-card:hover { transform: translateY(-2px); }

.post-card__thumb {
    overflow: hidden;
    margin-bottom: 1.25rem;
    aspect-ratio: 16/10;
}

.post-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms var(--ease);
}

.post-card:hover .post-card__thumb img {
    transform: scale(1.03);
}

.post-card__meta {
    display: flex;
    gap: 1rem;
    font-size: .8rem;
    color: var(--c-text-3);
    margin-bottom: .5rem;
}

.post-card__title {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: .5rem;
    line-height: 1.3;
}

.post-card__title a {
    color: var(--c-text);
    transition: color 200ms;
}

.post-card__title a:hover { color: var(--c-accent); }

.post-card__excerpt {
    font-size: .92rem;
    color: var(--c-text-2);
    line-height: 1.65;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    }
}

/* Pagination */
.pagination {
    margin-top: var(--s-xl);
    display: flex;
    justify-content: center;
    gap: .25rem;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 .6rem;
    font-size: .9rem;
    color: var(--c-text-2);
    border: 1px solid var(--c-line);
    transition: all 200ms;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: var(--c-text);
    color: var(--c-bg);
    border-color: var(--c-text);
}

/* No results */
.no-results {
    text-align: center;
    padding: var(--s-xl) 0;
}

.no-results h2 {
    font-size: 1.8rem;
    margin-bottom: .75rem;
}

.no-results p {
    color: var(--c-text-2);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .no-results { padding: var(--s-2xl) 0; }
}

/* 404 */
.error-404 {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--s-xl) 0;
}

.error-404__code {
    font-family: var(--f-serif);
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 300;
    line-height: 1;
    color: var(--c-line);
    margin-bottom: 1rem;
}

.error-404 h2 {
    font-size: 1.8rem;
    margin-bottom: .75rem;
}

.error-404 p {
    color: var(--c-text-2);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .error-404 { padding: var(--s-2xl) 0; }
}

/* Search form */
.search-form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
}

.search-form .search-field {
    flex: 1;
    padding: .8rem 1.2rem;
    border: 1px solid var(--c-line);
    background: var(--c-surface);
    font-size: 1rem;
    color: var(--c-text);
    outline: none;
}

.search-form .search-field:focus {
    border-color: var(--c-accent);
}

.search-form .search-submit {
    padding: .8rem 1.5rem;
    background: var(--c-text);
    color: var(--c-bg);
    border: 1px solid var(--c-text);
    font-size: 1rem;
    transition: background 200ms;
}

.search-form .search-submit:hover {
    background: var(--c-accent);
    border-color: var(--c-accent);
}

@media (min-width: 768px) {
    .search-form {
        flex-direction: row;
    }
    .search-form .search-field {
        border-right: none;
    }
}

/* Page template (generic) */
.prose {
    max-width: var(--w-narrow);
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.85;
}

.prose h2 { font-size: 1.5rem; margin: 2rem 0 1rem; }
.prose h3 { font-size: 1.2rem; margin: 1.5rem 0 .75rem; }
.prose a { color: var(--c-accent); text-decoration: underline; }
.prose img { margin: 1.5rem 0; }

@media (min-width: 768px) {
    .prose { font-size: 1.05rem; }
    .prose h2 { font-size: 1.8rem; }
    .prose h3 { font-size: 1.4rem; }
}

/* Author page */
.author-header {
    text-align: center;
    padding: var(--s-lg) 0;
}

.author-header img {
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.author-header h2 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
}

/* Comments */
.comments-area {
    max-width: var(--w-narrow);
    margin: var(--s-xl) auto 0;
    padding-top: var(--s-lg);
    border-top: 1px solid var(--c-line);
}

.comments-area .comment-list {
    margin-bottom: var(--s-lg);
}

.comments-area .comment {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--c-line);
}

.comments-area label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: .4rem;
}

.comments-area input[type="text"],
.comments-area input[type="email"],
.comments-area input[type="url"],
.comments-area textarea {
    width: 100%;
    padding: .8rem 1rem;
    border: 1px solid var(--c-line);
    border-radius: 0;
    background: var(--c-surface);
    font-size: .95rem;
    color: var(--c-text);
    transition: border-color 200ms;
}

.comments-area input:focus,
.comments-area textarea:focus {
    outline: none;
    border-color: var(--c-accent);
}

/* Sidebar */
.sidebar {
    padding: var(--s-lg);
    background: var(--c-bg-alt);
}

.sidebar .widget {
    margin-bottom: var(--s-lg);
}

.sidebar .widget-title {
    font-family: var(--f-sans);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--c-text-3);
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--c-line);
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ==========================================================================
   CRM PUBLIC FORMS REDESIGN — Refinement
   ========================================================================== */

.jla-public-form-container {
    background: var(--c-surface) !important;
    border: 1px solid var(--c-line);
    padding: var(--s-md);
    position: relative;
    max-width: 900px;
    margin: 3rem auto;
    box-shadow: 0 40px 100px rgba(0,0,0,0.04), 0 0 1px rgba(0,0,0,0.1);
}

.jla-public-form-container::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 5px;
    background: var(--c-accent);
}

.jla-public-form-title {
    font-family: var(--f-serif);
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 500;
    text-align: center;
    margin-bottom: var(--s-lg);
    color: var(--c-dark);
    letter-spacing: -0.01em;
}

/* Form Layout */
.jla-public-form {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.jla-pf-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .jla-pf-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .jla-public-form-container {
        padding: 4.5rem 4rem;
    }
}

.jla-pf-group {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.jla-pf-full {
    grid-column: 1 / -1 !important;
}

/* Labels — High Contrast */
.jla-pf-group label {
    display: block;
    font-family: var(--f-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-text) !important;
    margin-bottom: 0.15rem;
}

.jla-pf-req {
    color: #C2410C;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 0.35rem;
    opacity: 0.95;
    text-transform: none;
    letter-spacing: normal;
}

/* Inputs & Selects — Premium Refinement */
.jla-public-form-container input,
.jla-public-form-container select,
.jla-public-form-container textarea,
#jla-cadastro-form .jla-pf-group input,
#jla-cadastro-form .jla-pf-group select {
    width: 100% !important;
    height: auto !important;
    min-height: 56px !important;
    padding: 0.9rem 1.25rem !important;
    border: 1.5px solid #D1CFCA !important;
    background: #FFFFFF !important;
    color: var(--c-text) !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    appearance: none !important;
    transition: all 300ms var(--ease) !important;
}

/* Specific Select Styling */
.jla-public-form-container select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234E5A62' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1.25rem center !important;
    background-size: 1.2rem !important;
    padding-right: 3.5rem !important;
}

.jla-public-form-container input:hover,
.jla-public-form-container select:hover {
    border-color: var(--c-text-2) !important;
}

.jla-public-form-container input:focus,
.jla-public-form-container select:focus {
    outline: none !important;
    border-color: var(--c-accent) !important;
    background: #FFFFFF !important;
    box-shadow: 0 0 0 4px rgba(78, 90, 98, 0.08) !important;
}

/* Button — Bold and Editorial */
.jla-pf-submit-row {
    margin-top: 1.5rem;
    text-align: center;
}

.jla-pf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 1rem 4.5rem;
    background: var(--c-accent) !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 0 !important;
    font-family: var(--f-sans) !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    cursor: pointer;
    transition: all 400ms var(--ease) !important;
    width: 100% !important;
}

@media (min-width: 768px) {
    .jla-pf-btn {
        width: auto !important;
        min-width: 380px;
    }
}

.jla-pf-btn:hover {
    background: var(--c-accent-h) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 20px 50px rgba(78, 90, 98, 0.25) !important;
}

.jla-pf-btn:active {
    transform: translateY(-1px) !important;
}

/* Feedback Messages — Refined */
.jla-pf-message {
    margin-top: 2rem;
    padding: 1.75rem;
    font-size: 1.05rem;
    font-weight: 500;
    text-align: center;
    border-left: 5px solid transparent;
}

.jla-pf-message.success {
    background: #F0FDF4 !important;
    color: #166534 !important;
    border-left-color: #22C55E !important;
    display: block !important;
}

.jla-pf-message.error {
    background: #FEF2F2 !important;
    color: #991B1B !important;
    border-left-color: #EF4444 !important;
    display: block !important;
}
