/* =============================================================
   Ibraim Zeinedine Advocacia e Assessoria - estilos do site
   Identidade: azul-marinho do logo + branco/prata, títulos em Marcellus.
   Para ajustar cores e fontes, altere as variáveis abaixo.
   ============================================================= */

:root {
    --color-navy-950: #161C2B;
    --color-navy-900: #1E2537;
    --color-navy-800: #262E45; /* fundo do logo */
    --color-navy-700: #343E5C;
    --color-navy-600: #4A5576;
    --color-silver-300: #C9CED9;
    --color-silver-200: #DDE1E9;
    --color-silver-100: #EEF0F4;
    --color-paper: #F6F6F3;
    --color-white: #FFFFFF;
    --color-text: #1A1F2B;
    --color-text-muted: #5B6273;
    --color-text-on-dark: #E9ECF2;
    --color-text-on-dark-muted: #AEB5C6;
    --color-success: #1F6B4A;
    --color-success-background: #E6F3EC;
    --color-error: #A1322B;
    --color-error-background: #FBEAE8;
    --color-whatsapp: #1E8E4E;

    --font-heading: "Marcellus", "Optima", "Candara", Georgia, serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --container-width: 1160px;
    --header-height: 84px;
    --radius-small: 2px;
    --shadow-card: 0 1px 2px rgba(22, 28, 43, 0.06), 0 8px 24px rgba(22, 28, 43, 0.06);
    --transition-fast: 180ms ease;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

p {
    margin: 0 0 1em;
}

a {
    color: inherit;
}

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 100;
    padding: 8px 16px;
    background: var(--color-white);
    color: var(--color-navy-900);
}

.skip-link:focus {
    top: 16px;
}

.site-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Marca ---------- */

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--color-white);
    text-decoration: none;
}

.brand-mark {
    width: 46px;
    height: auto;
    flex-shrink: 0;
}

.brand-logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-logo__name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.brand-logo__subtitle {
    font-size: 0.66rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--color-text-on-dark-muted);
}

/* ---------- Botões e links ---------- */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border: 1px solid transparent;
    border-radius: var(--radius-small);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.button .whatsapp-icon {
    width: 18px;
    height: 18px;
}

.button--small {
    padding: 9px 18px;
    font-size: 0.75rem;
}

.button--primary {
    background: var(--color-navy-800);
    color: var(--color-white);
}

.button--primary:hover {
    background: var(--color-navy-950);
}

.button--outline {
    border-color: var(--color-navy-800);
    color: var(--color-navy-800);
}

.button--outline:hover {
    background: var(--color-navy-800);
    color: var(--color-white);
}

.button--light {
    background: var(--color-white);
    color: var(--color-navy-900);
}

.button--light:hover {
    background: var(--color-silver-200);
}

.button--outline-light {
    border-color: rgba(255, 255, 255, 0.55);
    color: var(--color-white);
}

.button--outline-light:hover {
    background: var(--color-white);
    border-color: var(--color-white);
    color: var(--color-navy-900);
}

.button--whatsapp {
    background: var(--color-whatsapp);
    color: var(--color-white);
}

.button--whatsapp:hover {
    background: #17733F;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.text-link {
    display: inline-flex;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-navy-800);
    border-bottom: 1px solid var(--color-silver-300);
    padding-bottom: 4px;
    transition: border-color var(--transition-fast);
}

.text-link:hover {
    border-color: var(--color-navy-800);
}

.eyebrow-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-navy-600);
}

.eyebrow-label::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}

.eyebrow-label--light {
    color: var(--color-text-on-dark-muted);
}

/* ---------- Cabeçalho ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--color-navy-800);
    transition: box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.site-header.is-scrolled {
    background: var(--color-navy-900);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.site-header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-height);
    gap: 24px;
}

.site-header__brand {
    text-decoration: none;
}

.site-navigation {
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-navigation__link {
    position: relative;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-text-on-dark);
    padding: 6px 0;
}

.site-navigation__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--color-white);
    transform: scaleX(0);
    transition: transform var(--transition-fast);
}

.site-navigation__link:hover::after,
.site-navigation__link.is-active::after {
    transform: scaleX(1);
}

.site-header__menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: 0;
    cursor: pointer;
}

.site-header__menu-toggle-bar {
    width: 24px;
    height: 1.5px;
    background: var(--color-white);
}

@media (max-width: 880px) {
    .site-header__menu-toggle {
        display: flex;
    }

    .site-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 16px 24px 28px;
        background: var(--color-navy-900);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        display: none;
    }

    .site-navigation.is-open {
        display: flex;
    }

    .site-navigation__link {
        width: 100%;
        padding: 12px 0;
    }

    .site-navigation .button {
        margin-top: 12px;
    }
}

@media (max-width: 420px) {
    .brand-logo__name {
        font-size: 1rem;
    }

    .brand-mark {
        width: 38px;
    }
}

/* ---------- Retrato com moldura (repete o quadrado do logo) ---------- */

.framed-portrait {
    position: relative;
    margin: 0;
    padding: 0 24px 24px 0;
}

.framed-portrait::before {
    content: "";
    position: absolute;
    top: 24px;
    left: 24px;
    right: 0;
    bottom: 0;
    border: 1px solid var(--color-silver-300);
}

.framed-portrait img {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 25%;
}

.framed-portrait--left {
    padding: 0 0 24px 24px;
}

.framed-portrait--left::before {
    left: 0;
    right: 24px;
}

/* ---------- Seção principal (hero) ---------- */

.hero-section {
    background: var(--color-navy-800);
    color: var(--color-text-on-dark);
    padding: 64px 0 96px;
    overflow: hidden;
}

.hero-section__content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 64px;
}

.hero-section__title {
    font-size: clamp(2.3rem, 4.6vw, 3.6rem);
    color: var(--color-white);
    margin-bottom: 24px;
}

.hero-section__lead {
    max-width: 34em;
    font-size: 1.08rem;
    color: var(--color-text-on-dark-muted);
    margin-bottom: 36px;
}

.hero-section__signature {
    display: flex;
    flex-direction: column;
    margin: 48px 0 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    max-width: 320px;
}

.hero-section__signature-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-white);
}

.hero-section__signature-detail {
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-on-dark-muted);
}

.hero-section__portrait {
    max-width: 440px;
    justify-self: end;
}

.hero-section__portrait::before {
    border-color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 880px) {
    .hero-section {
        padding: 48px 0 72px;
    }

    .hero-section__content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-section__portrait {
        justify-self: start;
        max-width: 360px;
    }
}

/* ---------- Cabeçalho das páginas internas ---------- */

.page-header-section {
    background: var(--color-navy-800);
    color: var(--color-text-on-dark);
    padding: 72px 0 80px;
}

.page-header-section__title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-white);
    max-width: 18em;
    margin-bottom: 16px;
}

.page-header-section__lead {
    max-width: 38em;
    font-size: 1.05rem;
    color: var(--color-text-on-dark-muted);
    margin-bottom: 28px;
}

.page-header-section__lead:last-child {
    margin-bottom: 0;
}

.page-header-section__icon {
    display: inline-flex;
    margin-bottom: 20px;
    color: var(--color-white);
}

.page-header-section__icon .practice-area-icon {
    width: 44px;
    height: 44px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-on-dark-muted);
}

.breadcrumb a {
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--color-white);
}

/* ---------- Seções de conteúdo ---------- */

.content-section {
    padding: 96px 0;
}

.content-section--muted {
    background: var(--color-paper);
}

.section-header {
    max-width: 640px;
    margin-bottom: 56px;
}

.section-header__title {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    color: var(--color-navy-900);
    margin-bottom: 16px;
}

.section-header__lead {
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

@media (max-width: 700px) {
    .content-section {
        padding: 72px 0;
    }
}


/* ---------- Texto + imagem ---------- */

.split-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 72px;
}

.split-layout__text p {
    color: var(--color-text-muted);
    font-size: 1.03rem;
}

.split-layout__text .text-link {
    margin-top: 12px;
}

.split-layout .framed-portrait {
    max-width: 440px;
}

@media (max-width: 880px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .split-layout .framed-portrait {
        max-width: 360px;
    }
}

/* ---------- Passo a passo ---------- */

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.process-steps__item {
    padding-top: 28px;
    border-top: 1px solid var(--color-silver-300);
}

.process-steps__number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.4rem;
    line-height: 1;
    color: var(--color-silver-300);
    margin-bottom: 16px;
}

.process-steps__title {
    font-size: 1.35rem;
    color: var(--color-navy-900);
    margin-bottom: 10px;
}

.process-steps__item p {
    color: var(--color-text-muted);
}

@media (max-width: 800px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

/* ---------- Valores (Sobre) ---------- */

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.value-card {
    padding: 36px 32px;
    background: var(--color-white);
    border-top: 2px solid var(--color-navy-800);
    box-shadow: var(--shadow-card);
}

.value-card__title {
    font-size: 1.45rem;
    color: var(--color-navy-900);
    margin-bottom: 12px;
}

.value-card p {
    color: var(--color-text-muted);
    margin: 0;
}

@media (max-width: 800px) {
    .value-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Página de uma área ---------- */

.article-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    align-items: start;
    gap: 72px;
}

.article-body {
    font-size: 1.08rem;
    max-width: 40em;
}

.article-body p {
    color: var(--color-text);
    margin-bottom: 1.4em;
}

.article-aside {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 36px 32px;
    background: var(--color-paper);
    border-top: 2px solid var(--color-navy-800);
}

.article-aside__title {
    font-size: 1.4rem;
    color: var(--color-navy-900);
}

.article-aside p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

@media (max-width: 880px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .article-aside {
        position: static;
    }
}

/* ---------- Chamada para contato ---------- */

.call-to-action-section {
    background: var(--color-navy-900);
    color: var(--color-text-on-dark);
    padding: 80px 0;
}

.call-to-action-section__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.call-to-action-section__title {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    color: var(--color-white);
    margin-bottom: 10px;
}

.call-to-action-section__text {
    max-width: 34em;
    color: var(--color-text-on-dark-muted);
    margin: 0;
}

/* ---------- Contato ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 72px;
    align-items: start;
}

.contact-information {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-information__portrait {
    margin: 0;
}

.contact-information__portrait img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 20%;
}

.contact-information__title {
    font-size: 1.4rem;
    color: var(--color-navy-900);
}

/* ---------- Canais de contato (rodapé e página de Contato) ----------
   Mesmo comportamento do site da Teknel. Cada canal tem a cor da sua marca em --channel-color / --channel-background.
   Rodapé (--dark): só ícones coloridos; o texto aparece num balão ao passar o mouse.
   Contato (--light): ícone em tom suave + rótulo e valor ao lado; no hover o ícone ganha a cor cheia. */

.contact-channel--whatsapp {
    --channel-color: #25D366;
    --channel-background: #25D366;
}

.contact-channel--instagram {
    --channel-color: #DD2A7B;
    --channel-background: linear-gradient(45deg, #F58529 0%, #DD2A7B 50%, #8134AF 80%, #515BD4 100%);
}

.contact-channel--email {
    --channel-color: #4A6FA5;
    --channel-background: #4A6FA5;
}

.contact-channel--location {
    --channel-color: #EA4335;
    --channel-background: #EA4335;
}

.contact-channels {
    display: grid;
    gap: 8px;
}

.contact-channel {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 4px 0;
    text-decoration: none;
    transition: color 0.25s ease;
}

.contact-channel__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 10px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.contact-channel__icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-channel__icon--filled svg {
    fill: currentColor;
    stroke: none;
}

.contact-channel__text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    min-width: 0;
}

.contact-channel__label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact-channel__value {
    overflow-wrap: anywhere;
}

/* Rodapé: só ícones, coloridos, lado a lado */
.contact-channels--dark {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-channels--dark .contact-channel {
    padding: 0;
    color: var(--color-white);
}

/* Em repouso: nas cores do site. A cor do aplicativo só aparece ao passar o mouse. */
.contact-channels--dark .contact-channel__icon {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--color-white);
}

.contact-channels--dark .contact-channel__icon svg {
    width: 21px;
    height: 21px;
}

/* Balão com a informação: aparece abaixo da fileira de ícones (não sai da tela no celular) */
.contact-channels--dark .contact-channel__text {
    position: absolute;
    left: 0;
    top: calc(100% + 10px);
    z-index: 5;
    padding: 8px 12px;
    border-radius: 8px;
    border-left: 3px solid var(--channel-color);
    background-color: var(--color-navy-800);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact-channels--dark .contact-channel__label {
    color: var(--color-text-on-dark-muted);
}

.contact-channels--dark .contact-channel:hover .contact-channel__icon,
.contact-channels--dark .contact-channel:focus-visible .contact-channel__icon {
    background: var(--channel-background);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--channel-color) 45%, transparent);
}

.contact-channels--dark .contact-channel:hover .contact-channel__text,
.contact-channels--dark .contact-channel:focus-visible .contact-channel__text {
    opacity: 1;
    transform: translateY(0);
}

.contact-channels--dark .contact-channel:focus-visible {
    outline: none;
}

.contact-channels--dark .contact-channel:focus-visible .contact-channel__icon {
    outline: 2px solid var(--color-white);
    outline-offset: 3px;
}

/* Página de Contato: ícone no azul do site + texto ao lado; a cor do aplicativo aparece ao passar o mouse */
.contact-channels--light {
    gap: 12px;
}

.contact-channels--light .contact-channel {
    color: var(--color-text);
}

.contact-channels--light .contact-channel__icon {
    background-color: color-mix(in srgb, var(--color-navy-800) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--color-navy-800) 14%, transparent);
    color: var(--color-navy-800);
}

.contact-channels--light .contact-channel__label {
    color: var(--color-text-muted);
}

.contact-channels--light .contact-channel__value {
    font-weight: 500;
    color: var(--color-navy-900);
    transition: color 0.25s ease;
}

.contact-channels--light .contact-channel:hover .contact-channel__value,
.contact-channels--light .contact-channel:focus-visible .contact-channel__value {
    color: var(--channel-color);
}

.contact-channels--light .contact-channel:hover .contact-channel__icon,
.contact-channels--light .contact-channel:focus-visible .contact-channel__icon {
    background: var(--channel-background);
    border-color: transparent;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px color-mix(in srgb, var(--channel-color) 35%, transparent);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 44px;
    background: var(--color-paper);
}

.contact-form .button {
    align-self: flex-start;
}

.contact-whatsapp-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 44px;
    background: var(--color-paper);
    border-top: 2px solid var(--color-navy-800);
}

.contact-whatsapp-panel p {
    margin: 0;
    color: var(--color-text-muted);
}

.contact-whatsapp-panel__title {
    font-size: 1.7rem;
    color: var(--color-navy-900);
}

.contact-whatsapp-panel__steps {
    margin: 0;
    padding-left: 20px;
    color: var(--color-text);
}

.contact-whatsapp-panel__steps li {
    padding: 4px 0;
}

@media (max-width: 600px) {
    .contact-whatsapp-panel {
        padding: 28px 20px;
    }
}

.contact-form__note {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field__label {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-navy-800);
}

.form-field__input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--color-silver-300);
    border-radius: var(--radius-small);
    background: var(--color-white);
    font: inherit;
    color: var(--color-text);
    transition: border-color var(--transition-fast);
}

.form-field__input:focus {
    outline: none;
    border-color: var(--color-navy-700);
    box-shadow: 0 0 0 3px rgba(52, 62, 92, 0.15);
}

.form-field__input.input-validation-error {
    border-color: var(--color-error);
}

textarea.form-field__input {
    resize: vertical;
    min-height: 150px;
}

.form-field__error {
    font-size: 0.85rem;
    color: var(--color-error);
}

.form-field--trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.alert-message {
    padding: 14px 18px;
    border-left: 3px solid;
    font-size: 0.95rem;
}

.alert-message ul {
    margin: 0;
    padding-left: 18px;
}

.alert-message--success {
    background: var(--color-success-background);
    border-color: var(--color-success);
    color: var(--color-success);
}

.alert-message--error {
    background: var(--color-error-background);
    border-color: var(--color-error);
    color: var(--color-error);
}

/* O resumo de validação vazio não deve aparecer. */
.alert-message--error.validation-summary-valid {
    display: none;
}

@media (max-width: 880px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-information__portrait {
        max-width: 260px;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 28px 20px;
    }
}

/* ---------- Ajustes do hero e das páginas internas ---------- */

.hero-section__title span {
    display: block;
}

.hero-section__lead--secondary {
    font-size: 0.98rem;
    margin-top: -16px;
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.page-header-section__title--wide {
    max-width: 24em;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.split-layout--top {
    align-items: start;
}

.split-layout__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 12px;
}

.biography p {
    color: var(--color-text);
}

/* ---------- Serviços de cada área ---------- */

.article-body__introduction {
    font-size: 1.12rem;
}

.article-body__heading {
    font-size: 1.6rem;
    color: var(--color-navy-900);
    margin: 48px 0 24px;
}

.offering-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--color-silver-200);
}

.offering-item {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    padding: 24px 0;
    border-bottom: 1px solid var(--color-silver-200);
}

.offering-item__title {
    font-size: 1.15rem;
    color: var(--color-navy-900);
}

.offering-item__description {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin: 0;
}

@media (max-width: 700px) {
    .offering-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

.topic-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--color-silver-200);
}

.topic-list li {
    position: relative;
    padding: 16px 0 16px 32px;
    border-bottom: 1px solid var(--color-silver-200);
}

/* Marcador quadrado, como o quadrado do logo. */
.topic-list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    width: 9px;
    height: 9px;
    border: 1.5px solid var(--color-navy-700);
    transform: translateY(-50%);
}

/* ---------- Perguntas frequentes ---------- */

.faq-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 72px;
    align-items: start;
}

.faq-layout .section-header {
    margin-bottom: 0;
}

.faq-list {
    border-top: 1px solid var(--color-silver-300);
}

.faq-item {
    border-bottom: 1px solid var(--color-silver-300);
}

.faq-item__question {
    position: relative;
    padding: 22px 40px 22px 0;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-navy-900);
    cursor: pointer;
    list-style: none;
}

.faq-item__question::-webkit-details-marker {
    display: none;
}

.faq-item__question::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-navy-600);
    transition: transform var(--transition-fast);
}

.faq-item[open] .faq-item__question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-item__answer {
    padding: 0 40px 24px 0;
    margin: 0;
    color: var(--color-text-muted);
}

@media (max-width: 880px) {
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

/* ---------- Sobre: resumo e valores ---------- */

.fact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 0;
}

.fact-grid__item {
    padding: 28px 24px;
    background: var(--color-white);
    border-top: 2px solid var(--color-navy-800);
    box-shadow: var(--shadow-card);
}

.fact-grid__item dt {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-navy-600);
    margin-bottom: 8px;
}

.fact-grid__item dd {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.12rem;
    line-height: 1.45;
    color: var(--color-navy-900);
}

.value-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 48px;
    margin: 56px 0 0;
    padding: 32px 0 0;
    border-top: 1px solid var(--color-silver-300);
    list-style: none;
}

.value-strip li {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-navy-800);
}

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

@media (max-width: 560px) {
    .fact-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Rodapé ---------- */

.site-footer {
    background: var(--color-navy-950);
    color: var(--color-text-on-dark-muted);
    padding-top: 72px;
    font-size: 0.95rem;
}

.site-footer__content {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
}

.site-footer__tagline {
    max-width: 26em;
    margin-top: 20px;
}

.site-footer__column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer__column > a {
    text-decoration: none;
    color: var(--color-text-on-dark);
}

.site-footer__column > a:hover {
    text-decoration: underline;
}

.site-footer__heading {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 8px;
}

.site-footer__bottom {
    padding-top: 24px;
    padding-bottom: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
}

.site-footer__bottom p {
    margin: 0 0 4px;
}

@media (max-width: 800px) {
    .site-footer__content {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

/* ---------- WhatsApp flutuante ---------- */

.floating-whatsapp-button {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-whatsapp);
    color: var(--color-white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    transition: transform var(--transition-fast);
}

.floating-whatsapp-button:hover {
    transform: scale(1.06);
}

.floating-whatsapp-button .whatsapp-icon {
    width: 28px;
    height: 28px;
}

/* ---------- Animação de entrada ---------- */

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 600ms ease, transform 600ms ease;
}

[data-reveal].is-revealed {
    opacity: 1;
    transform: none;
}

/* Sem JavaScript, nada fica escondido. */
.no-js [data-reveal] {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =============================================================
   INTERAÇÕES E MOVIMENTO
   Tudo aqui é decorativo: quem prefere menos movimento (prefers-reduced-motion)
   vê o site parado, com o mesmo conteúdo. O comportamento fica em wwwroot/js/site.js.
   ============================================================= */

/* ---------- Entrada em sequência ([data-reveal] + [data-reveal-stagger]) ---------- */

[data-reveal] {
    transition-delay: calc(var(--reveal-order, 0) * 110ms);
}

[data-reveal="left"] {
    transform: translateX(-32px);
}

[data-reveal="right"] {
    transform: translateX(32px);
}

[data-reveal="zoom"] {
    transform: scale(0.92);
}

/* A linha do rótulo cresce quando a seção aparece. */
[data-reveal] .eyebrow-label::before {
    transition: width 700ms ease 200ms;
}

[data-reveal]:not(.is-revealed) .eyebrow-label::before {
    width: 0;
}

/* ---------- Cabeçalho: some ao descer, volta ao subir + barra de leitura ---------- */

.site-header {
    transition: transform 350ms ease, box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.site-header.is-hidden {
    transform: translateY(-100%);
}

.site-header__progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, var(--color-silver-300), var(--color-white));
    transform: scaleX(var(--scroll-progress, 0));
    transform-origin: left;
}

/* ---------- Luz que acompanha o mouse nas áreas azuis ---------- */

[data-pointer-glow],
.page-header-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

[data-pointer-glow]::before,
.page-header-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(
        520px circle at var(--pointer-x, 75%) var(--pointer-y, 60%),
        rgba(255, 255, 255, 0.09),
        transparent 60%);
    /* Só acende com o mouse sobre a seção (site.js liga a classe is-pointer-inside). */
    opacity: 0;
    transition: opacity 500ms ease;
}

[data-pointer-glow].is-pointer-inside::before,
.page-header-section.is-pointer-inside::before {
    opacity: 1;
}

/* Monograma do logo em marca-d'água no fundo das páginas internas. */
.page-header-section::after {
    content: "";
    position: absolute;
    right: -40px;
    top: 50%;
    z-index: -1;
    width: 340px;
    height: 300px;
    transform: translateY(calc(-50% + var(--parallax-offset, 0px)));
    background: url("../images/brand-mark-white.svg") no-repeat center / contain;
    opacity: 0.06;
    pointer-events: none;
}

@media (max-width: 700px) {
    .page-header-section::after {
        width: 220px;
        right: -60px;
    }
}

/* ---------- Hero ---------- */

.hero-section__watermark {
    position: absolute;
    right: -6%;
    bottom: -18%;
    z-index: -1;
    width: min(62vw, 760px);
    color: var(--color-white);
    opacity: 0.045;
    pointer-events: none;
    transform: translateY(var(--parallax-offset, 0px));
}

.hero-section__watermark .brand-mark {
    width: 100%;
}

/* Título entrando linha por linha */
.hero-section__title-line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.08em;
}

.hero-section__title-line > span {
    display: inline-block;
    animation: hero-line-rise 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-delay: calc(var(--entrance-order, 0) * 140ms + 100ms);
}

.hero-entrance {
    animation: hero-fade-up 800ms ease both;
    animation-delay: calc(var(--entrance-order, 0) * 140ms + 100ms);
}

@keyframes hero-line-rise {
    from {
        transform: translateY(105%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes hero-fade-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* Indicador animado convidando a rolar */
.hero-section__scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 22px;
    width: 26px;
    height: 42px;
    margin-left: -13px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 14px;
}

.hero-section__scroll-hint span {
    position: absolute;
    left: 50%;
    top: 8px;
    width: 2px;
    height: 8px;
    margin-left: -1px;
    border-radius: 2px;
    background: var(--color-white);
    animation: scroll-hint 1.8s ease-in-out infinite;
}

@keyframes scroll-hint {
    0% {
        opacity: 0;
        transform: translateY(0);
    }
    30% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(14px);
    }
}

@media (max-width: 880px) {
    .hero-section__scroll-hint {
        display: none;
    }
}

/* ---------- Moldura da foto: se desenha ao carregar e acompanha o mouse ---------- */

.framed-portrait::before {
    transform: translate(var(--frame-shift-x, 0px), var(--frame-shift-y, 0px));
    transition: transform 400ms ease, border-color 400ms ease;
    animation: frame-draw 1100ms cubic-bezier(0.2, 0.7, 0.2, 1) 300ms both;
}

.framed-portrait img {
    transition: transform 600ms ease;
}

.framed-portrait:hover img {
    transform: translate(calc(var(--frame-shift-x, 0px) * -0.4), calc(var(--frame-shift-y, 0px) * -0.4));
}

.framed-portrait:hover::before {
    border-color: var(--color-navy-600);
}

.hero-section__portrait:hover::before {
    border-color: rgba(255, 255, 255, 0.7);
}

@keyframes frame-draw {
    from {
        clip-path: inset(0 100% 100% 0);
        opacity: 0;
    }
    to {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
}

/* ---------- Botões ---------- */

.button {
    position: relative;
    overflow: hidden;
}

/* Brilho que atravessa o botão ao passar o mouse */
.button--light::after,
.button--primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg);
    transition: left 600ms ease;
    pointer-events: none;
}

.button--primary::after {
    background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.button--light:hover::after,
.button--primary:hover::after {
    left: 130%;
}

.button--with-arrow::before {
    content: "→";
    order: 2;
    transition: transform 300ms ease;
}

.button--with-arrow:hover::before {
    transform: translateX(5px);
}

.text-link span[aria-hidden] {
    display: inline-block;
    transition: transform 300ms ease;
}

.text-link:hover span[aria-hidden] {
    transform: translateX(5px);
}

/* ---------- Serviços de cada área: numerados, com destaque ao passar o mouse ---------- */

.offering-list {
    counter-reset: offering;
}

.offering-item {
    position: relative;
    counter-increment: offering;
    padding-left: 20px;
    padding-right: 12px;
    transition: background-color 300ms ease, padding-left 300ms ease, opacity 600ms ease, transform 600ms ease;
}

.offering-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-navy-800);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 400ms ease;
}

.offering-item__title::before {
    content: counter(offering, decimal-leading-zero);
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--color-silver-300);
    transition: color 300ms ease;
}

.offering-item:hover {
    background-color: var(--color-paper);
    padding-left: 28px;
}

.offering-item:hover::before {
    transform: scaleY(1);
}

.offering-item:hover .offering-item__title::before {
    color: var(--color-navy-600);
}

.topic-list li {
    transition: padding-left 300ms ease, background-color 300ms ease, opacity 600ms ease, transform 600ms ease;
}

.topic-list li::before {
    transition: background-color 300ms ease, left 300ms ease, transform 300ms ease;
}

.topic-list li:hover {
    padding-left: 44px;
    background-color: var(--color-paper);
}

.topic-list li:hover::before {
    left: 16px;
    background-color: var(--color-navy-700);
    transform: translateY(-50%) rotate(45deg);
}

/* ---------- Perguntas frequentes: abrir com animação (altura animada em site.js) ---------- */

.faq-item {
    transition: background-color 300ms ease;
}

.faq-item:hover {
    background-color: var(--color-paper);
}

.faq-item__question {
    transition: padding-left 300ms ease, color 300ms ease;
}

.faq-item:hover .faq-item__question,
.faq-item[open] .faq-item__question {
    padding-left: 12px;
}

.faq-item__answer {
    padding-left: 12px;
}

.faq-item.is-animating {
    overflow: hidden;
}

/* ---------- Sobre: cards e valores ---------- */

.fact-grid__item {
    transition: transform 350ms ease, box-shadow 350ms ease, opacity 600ms ease;
}

.fact-grid__item.is-revealed:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(22, 28, 43, 0.12);
}

.value-strip li {
    position: relative;
    cursor: default;
}

.value-strip li::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 1px;
    background: var(--color-navy-800);
    transform: scaleX(0);
    transition: transform 400ms ease;
}

.value-strip li:hover::after {
    transform: scaleX(1);
}

/* ---------- Avaliações do Google ---------- */

.reviews-section {
    background:
        radial-gradient(600px circle at 0% 0%, rgba(118, 138, 190, 0.12), transparent 60%),
        radial-gradient(500px circle at 100% 100%, rgba(201, 206, 217, 0.25), transparent 60%),
        var(--color-paper);
}

/* Título à esquerda, nota geral numa pílula à direita */
.reviews-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.reviews-header .section-header__title {
    margin-bottom: 0;
}

.reviews-score {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 14px 28px;
    border-radius: 999px;
    background: var(--color-white);
    box-shadow: 0 10px 30px rgba(22, 28, 43, 0.1);
    text-decoration: none;
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.reviews-score:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(22, 28, 43, 0.16);
}

.reviews-score__rating {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1;
    color: var(--color-navy-900);
}

.reviews-score__details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.reviews-score__count {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.review-stars {
    font-size: 1.15rem;
    letter-spacing: 2px;
    line-height: 1;
    color: #E8A317;
}

.review-stars__empty {
    color: var(--color-silver-300);
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

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

@media (max-width: 640px) {
    .review-grid {
        grid-template-columns: 1fr;
    }

    .reviews-score {
        padding: 12px 20px;
    }
}

.review-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 26px 26px 28px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 28px rgba(22, 28, 43, 0.07);
    transition: transform 350ms ease, box-shadow 350ms ease, opacity 600ms ease;
}

.review-card.is-revealed:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(22, 28, 43, 0.13);
}

.review-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.3;
}

.review-card__identity {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.review-card__photo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.review-card__photo--initial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-navy-700);
    color: var(--color-white);
    font-size: 1.1rem;
}

.review-card__name {
    font-weight: 500;
    color: var(--color-navy-900);
    text-decoration: none;
}

a.review-card__name:hover {
    text-decoration: underline;
}

.review-card__time {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

.review-card__text {
    margin: 0;
    color: var(--color-text);
    display: -webkit-box;
    -webkit-line-clamp: 12;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Último card: leva para todas as avaliações no Google */
.review-card--all {
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    text-decoration: none;
    background: var(--color-navy-800);
    border-color: var(--color-navy-800);
    color: var(--color-white);
}

.review-card--all__rating {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1;
}

.review-card--all__text {
    max-width: 220px;
    color: var(--color-text-on-dark-muted);
}

.review-card--all__link {
    margin-top: 8px;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.review-card--all__link span {
    display: inline-block;
    transition: transform 300ms ease;
}

.review-card--all:hover .review-card--all__link span {
    transform: translateX(6px);
}

/* ---------- WhatsApp flutuante: pulso + rótulo ao passar o mouse ---------- */

.floating-whatsapp-button {
    width: auto;
    min-width: 56px;
    padding: 0 14px;
    border-radius: 28px;
    gap: 0;
    text-decoration: none;
    transition: transform var(--transition-fast), gap 300ms ease, padding 300ms ease;
}

.floating-whatsapp-button::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid var(--color-whatsapp);
    animation: whatsapp-pulse 2.6s ease-out infinite;
    pointer-events: none;
}

.floating-whatsapp-button__label {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 500;
    transition: max-width 400ms ease;
}

.floating-whatsapp-button:hover,
.floating-whatsapp-button:focus-visible {
    gap: 10px;
    padding: 0 20px;
    transform: none;
}

.floating-whatsapp-button:hover .floating-whatsapp-button__label,
.floating-whatsapp-button:focus-visible .floating-whatsapp-button__label {
    max-width: 160px;
}

@keyframes whatsapp-pulse {
    0% {
        opacity: 0.7;
        transform: scale(1);
    }
    70%,
    100% {
        opacity: 0;
        transform: scale(1.35);
    }
}

/* ---------- Ícones dos canais de contato: leve balanço ao passar o mouse ---------- */

.contact-channel:hover .contact-channel__icon svg {
    animation: icon-wiggle 500ms ease;
}

@keyframes icon-wiggle {
    25% {
        transform: rotate(-10deg);
    }
    60% {
        transform: rotate(8deg);
    }
}

/* ---------- Seção escura (áreas de atuação) ---------- */

.content-section--dark {
    background: var(--color-navy-900);
    color: var(--color-text-on-dark);
}

.content-section--dark .section-header__title {
    color: var(--color-white);
}

.content-section--dark .section-header__lead {
    color: var(--color-text-on-dark-muted);
}

/* Cabeçalho de seção centralizado, com linha dos dois lados do rótulo */
.section-header--centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-header--centered .eyebrow-label::after {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
    transition: width 700ms ease 200ms;
}

[data-reveal]:not(.is-revealed) .eyebrow-label::after {
    width: 0;
}

/* ---------- Cards das áreas de atuação ---------- */

.practice-area-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.practice-area-grid--compact {
    grid-template-columns: repeat(2, 1fr);
}

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

@media (max-width: 680px) {
    .practice-area-grid,
    .practice-area-grid--compact {
        grid-template-columns: 1fr;
    }
}

.practice-area-icon {
    width: 22px;
    height: 22px;
}

.practice-area-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 28px 24px;
    background: linear-gradient(180deg, var(--color-navy-800) 0%, #20283B 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--color-text-on-dark);
    overflow: hidden;
    isolation: isolate;
    transition: opacity 600ms ease, transform 400ms ease, border-color 400ms ease, box-shadow 400ms ease;
}

/* Luz que acompanha o mouse dentro do card (posição definida em site.js) */
.practice-area-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(
        380px circle at var(--card-pointer-x, 50%) var(--card-pointer-y, 0%),
        rgba(255, 255, 255, 0.09),
        transparent 60%);
    opacity: 0;
    transition: opacity 400ms ease;
    pointer-events: none;
}

.practice-area-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 24px 48px rgba(10, 14, 24, 0.35);
}

.practice-area-card:hover::before {
    opacity: 1;
}

.practice-area-card__badge {
    align-self: flex-start;
    margin-bottom: 20px;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-silver-200);
}

.practice-area-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.practice-area-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--color-white);
    transition: background-color 400ms ease, color 400ms ease, transform 400ms ease;
}

.practice-area-card:hover .practice-area-card__icon {
    background-color: var(--color-white);
    color: var(--color-navy-900);
    transform: rotate(-6deg) scale(1.05);
}

.practice-area-card__title {
    font-size: 1.35rem;
    line-height: 1.25;
    color: var(--color-white);
}

.practice-area-card__title a {
    color: inherit;
    text-decoration: none;
}

.practice-area-card__summary {
    font-size: 0.95rem;
    color: var(--color-text-on-dark-muted);
    margin-bottom: 20px;
}

.practice-area-card__checklist {
    display: grid;
    gap: 10px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.practice-area-card__checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--color-text-on-dark);
    transition: transform 300ms ease;
}

.practice-area-card__checklist svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    fill: none;
    stroke: var(--color-silver-300);
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 300ms ease;
}

.practice-area-card:hover .practice-area-card__checklist svg {
    stroke: var(--color-white);
}

.practice-area-card__checklist li:hover {
    transform: translateX(4px);
}

.practice-area-card__more {
    padding-left: 26px;
    color: var(--color-text-on-dark-muted) !important;
    font-size: 0.85rem !important;
}

.practice-area-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.practice-area-card__link {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-white);
    text-decoration: none;
}

.practice-area-card__arrow {
    display: inline-block;
    transition: transform 300ms ease;
}

.practice-area-card__link:hover .practice-area-card__arrow,
.practice-area-card:hover .practice-area-card__arrow {
    transform: translateX(6px);
}

.practice-area-card__whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--color-text-on-dark-muted);
    text-decoration: none;
    transition: color 300ms ease;
}

.practice-area-card__whatsapp .whatsapp-icon {
    width: 16px;
    height: 16px;
}

.practice-area-card__whatsapp:hover {
    color: #25D366;
}

/* ---------- Topo: etiqueta com ponto pulsando ---------- */

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding: 7px 16px 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-on-dark);
}

.status-pill__dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-white);
}

.status-pill__dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--color-white);
    animation: status-dot-pulse 2s ease-out infinite;
}

@keyframes status-dot-pulse {
    0% {
        opacity: 0.8;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(2.8);
    }
}

/* ---------- Topo: cards de destaque ---------- */

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 640px;
    margin-top: 44px;
}

.hero-highlight {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    transition: transform 350ms ease, background-color 350ms ease, border-color 350ms ease;
}

.hero-highlight:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.26);
}

.hero-highlight__value {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    line-height: 1.1;
    color: var(--color-white);
}

.hero-highlight__star {
    font-size: 1.1rem;
    color: #E3C267;
}

.hero-highlight__label {
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--color-text-on-dark-muted);
}

@media (max-width: 560px) {
    .hero-highlights {
        grid-template-columns: 1fr;
    }
}

/* ---------- Topo: manchas de luz se movendo devagar ---------- */

.hero-section__light {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}

.hero-section__light--one {
    top: -25%;
    left: -12%;
    width: 560px;
    height: 560px;
    background: rgba(118, 138, 190, 0.32);
    animation: light-drift-one 18s ease-in-out infinite alternate;
}

.hero-section__light--two {
    right: 4%;
    bottom: -35%;
    width: 480px;
    height: 480px;
    background: rgba(201, 206, 217, 0.14);
    animation: light-drift-two 24s ease-in-out infinite alternate;
}

@keyframes light-drift-one {
    to {
        transform: translate(140px, 90px) scale(1.15);
    }
}

@keyframes light-drift-two {
    to {
        transform: translate(-160px, -70px) scale(0.9);
    }
}

/* ---------- Cabeçalho: botão do WhatsApp ---------- */

.site-header__whatsapp {
    gap: 8px;
}

.site-header__whatsapp .whatsapp-icon {
    width: 16px;
    height: 16px;
}

/* ---------- Menos movimento: tudo parado, mesmo conteúdo ---------- */

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

    .floating-whatsapp-button::before,
    .status-pill__dot::after {
        display: none;
    }
}
