/* ============================================================
   Alexandre Amaral Advogados Associados — sistema visual
   ============================================================ */

:root {
    /* Paleta — midnight + gold, extraída do logotipo */
    --ink:         #0B0F14;
    --ink-2:       #141A22;
    --ink-3:       #1D242E;
    --paper:       #F4EFE6;
    --paper-2:     #EAE2D2;
    --paper-3:     #DDD3BE;
    --gold:        #D9A94B;
    --gold-deep:   #9E6718;
    --gold-pale:   #E3D098;
    --gold-soft:   rgba(217, 169, 75, 0.14);

    --text-on-dark:   #E9E4D8;
    --text-on-light:  #1B1F24;
    --muted-on-dark:  #8A8578;
    --muted-on-light: #5A5148;

    --rule-on-dark:  rgba(217, 169, 75, 0.28);
    --rule-on-light: rgba(155, 105, 24, 0.20);

    /* Tipografia */
    --font-display: 'Fraunces', 'Georgia', 'Times New Roman', serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Escala */
    --fs-eyebrow:  0.75rem;
    --fs-body:     1rem;
    --fs-lead:     1.125rem;
    --fs-h3:       clamp(1.375rem, 1.15rem + 0.9vw, 1.75rem);
    --fs-h2:       clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
    --fs-hero:     clamp(2.5rem, 1.4rem + 5.5vw, 5.25rem);

    --lh-tight:  1.08;
    --lh-body:   1.65;

    --tracking-eyebrow: 0.18em;

    /* Espaçamento vertical de seções */
    --section-y: clamp(4rem, 3rem + 4vw, 7rem);
    --container-x: clamp(1.25rem, 1rem + 1.5vw, 2rem);

    /* Transições */
    --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ─── Reset leve ─── */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--text-on-dark);
    background: var(--ink);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; transition: color .25s var(--ease-out); }

::selection { background: var(--gold); color: var(--ink); }

/* Foco visível respeitando teclado */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 2px;
}

/* ─── Barra de navegação ─── */
.nav {
    position: sticky;
    top: 0;
    z-index: 60;
    padding: 8px var(--container-x);
    background: rgba(11, 15, 20, 0.72);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.nav__inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.nav__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--paper);
}
.nav__brand img {
    height: clamp(56px, 4.5vw, 76px);
    width: auto;
    display: block;
}
@media (max-width: 860px) {
    .nav__brand img { height: 52px; }
}
.nav__brand-mark {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1;
}
.nav__brand-mark span {
    display: block;
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-pale);
    margin-top: 4px;
    font-weight: 500;
}
.nav__menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav__link {
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    color: var(--text-on-dark);
    position: relative;
    padding: 0.25rem 0;
}
.nav__link::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width .3s var(--ease-out);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { width: 100%; }
.nav__link[aria-current="page"] { color: var(--gold-pale); }
.nav__link.is-active { color: var(--gold-pale); }
.nav__link.is-active::after { width: 100%; }

/* Dropdown: gatilho */
.nav__item--has-menu {
    position: relative;
}
.nav__link--menu {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: none;
    border: 0;
    font-family: inherit;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    color: var(--text-on-dark);
    cursor: pointer;
    padding: 0.25rem 0;
}
.nav__link--menu svg {
    width: 14px; height: 14px;
    transition: transform .25s var(--ease-out);
}
.nav__item--has-menu[aria-expanded="true"] .nav__link--menu svg,
.nav__item--has-menu:hover .nav__link--menu svg,
.nav__item--has-menu:focus-within .nav__link--menu svg { transform: rotate(180deg); }

/* Dropdown: painel */
.nav__submenu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 280px;
    padding: 0.5rem;
    margin: 0;
    list-style: none;
    background: var(--ink-2);
    border: 1px solid var(--rule-on-dark);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition:
        opacity .22s var(--ease-out),
        transform .22s var(--ease-out),
        visibility .22s var(--ease-out);
    z-index: 65;
}
.nav__item--has-menu:hover .nav__submenu,
.nav__item--has-menu:focus-within .nav__submenu,
.nav__item--has-menu.is-open .nav__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav__submenu-link {
    display: block;
    padding: 0.7rem 0.9rem;
    font-size: 0.9rem;
    color: var(--text-on-dark);
    letter-spacing: 0.01em;
    position: relative;
    transition: background .2s var(--ease-out), color .2s var(--ease-out), padding-left .2s var(--ease-out);
}
.nav__submenu-link:hover,
.nav__submenu-link:focus-visible {
    background: rgba(217, 169, 75, 0.08);
    color: var(--gold-pale);
    padding-left: 1.2rem;
}
.nav__submenu-link[aria-current="page"] {
    color: var(--gold);
    background: rgba(217, 169, 75, 0.05);
}
.nav__submenu-link[aria-current="page"]::before {
    content: "§";
    color: var(--gold);
    margin-right: 0.5rem;
    font-family: var(--font-display);
}

.nav__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.15rem;
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    transition: background .25s var(--ease-out), color .25s var(--ease-out);
}
.nav__cta:hover { background: var(--gold); color: var(--ink); }
.nav__cta svg { width: 16px; height: 16px; }

.nav__toggle {
    display: none;
    background: none;
    border: 0;
    color: var(--paper);
    padding: 0.5rem;
    cursor: pointer;
}
.nav__toggle svg { width: 26px; height: 26px; }

/* ─── Seções alternadas ─── */
.section {
    padding: var(--section-y) var(--container-x);
    position: relative;
    overflow: hidden;
}
.section--dark  { background: var(--ink);   color: var(--text-on-dark); }
.section--light { background: var(--paper); color: var(--text-on-light); }
.section--light .muted { color: var(--muted-on-light); }
.section--dark  .muted { color: var(--muted-on-dark); }

/* Textura sutil de "papel" nas seções claras */
.section--light::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        radial-gradient(rgba(155,105,24,0.05) 1px, transparent 1px);
    background-size: 3px 3px;
    opacity: 0.6;
    pointer-events: none;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ─── Tipografia ─── */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: var(--fs-eyebrow);
    text-transform: uppercase;
    letter-spacing: var(--tracking-eyebrow);
    font-weight: 500;
    color: var(--gold);
    margin: 0 0 1.5rem;
}
.eyebrow::before {
    content: "§";
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: 0;
    color: var(--gold);
    transform: translateY(1px);
}
.section--light .eyebrow { color: var(--gold-deep); }
.section--light .eyebrow::before { color: var(--gold-deep); }

.headline {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: var(--lh-tight);
    letter-spacing: -0.015em;
    margin: 0 0 1.5rem;
    font-variation-settings: "opsz" 60, "SOFT" 30;
}
.headline em {
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
}
.section--light .headline em { color: var(--gold-deep); }

.h1 { font-size: var(--fs-hero); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }

.lead {
    font-size: var(--fs-lead);
    max-width: 62ch;
    line-height: 1.55;
    margin: 0 0 2rem;
}

/* Régua dourada assinatura */
.rule {
    display: block;
    width: 3rem;
    height: 1px;
    background: var(--gold);
    margin: 0 0 1.5rem;
    border: 0;
}
.section--light .rule { background: var(--gold-deep); }
.rule--vertical {
    width: 1px;
    height: 3rem;
    margin: 0 0 1rem;
}

/* ─── HERO ─── */
.hero {
    min-height: calc(100svh - 72px);
    display: grid;
    place-items: center;
    padding: 6rem var(--container-x) 5rem;
    position: relative;
    background: var(--ink);
    isolation: isolate;
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: url("/assets/img/hero-office.webp");
    background-size: cover;
    background-position: center;
    opacity: 0.5;
}
.hero__bg::after {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, var(--ink) 92%);
}
.hero__inner {
    max-width: 1080px;
    text-align: center;
    position: relative;
}
.hero__eyebrow {
    justify-content: center;
    display: inline-flex;
}
.hero__title {
    font-size: var(--fs-hero);
    line-height: 0.98;
    letter-spacing: -0.02em;
    font-weight: 400;
    font-family: var(--font-display);
    color: var(--paper);
    margin: 0 auto 2rem;
    max-width: 18ch;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
.hero__sub {
    font-size: clamp(1rem, 0.95rem + 0.4vw, 1.15rem);
    color: var(--gold-pale);
    max-width: 56ch;
    margin: 0 auto 3rem;
    line-height: 1.6;
}
.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 3rem;
    background: linear-gradient(to bottom, transparent, var(--gold));
    overflow: hidden;
}
.hero__scroll::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -2px;
    width: 5px; height: 5px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2.4s var(--ease-out) infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: translateY(0); }
    50%      { opacity: 0.3; transform: translateY(-8px); }
}

/* ─── Botões ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background .25s var(--ease-out),
                color .25s var(--ease-out),
                border-color .25s var(--ease-out),
                transform .2s var(--ease-out);
    text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; }

.btn--gold {
    background: var(--gold);
    color: var(--ink);
    border-color: var(--gold);
}
.btn--gold:hover { background: var(--gold-pale); border-color: var(--gold-pale); }

.btn--ghost-light {
    background: transparent;
    color: var(--paper);
    border-color: rgba(233, 228, 216, 0.35);
}
.btn--ghost-light:hover { border-color: var(--paper); color: var(--paper); }

.btn--ghost-dark {
    background: transparent;
    color: var(--text-on-light);
    border-color: rgba(27, 31, 36, 0.3);
}
.btn--ghost-dark:hover { border-color: var(--gold-deep); color: var(--gold-deep); }

/* ─── Áreas de atuação (grid de cards) ─── */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1px;
    background: var(--rule-on-light);
    border: 1px solid var(--rule-on-light);
    margin-top: 3rem;
}
.area-card {
    background: var(--paper);
    padding: 2rem 1.75rem;
    transition: background .3s var(--ease-out);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 240px;
    text-decoration: none;
    color: inherit;
}
.area-card:hover { background: var(--paper-2); }
.area-card__more {
    margin-top: auto;
    padding-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--gold-deep);
    font-weight: 500;
}
.area-card__more svg {
    width: 14px; height: 14px;
    transition: transform .25s var(--ease-out);
}
.area-card:hover .area-card__more svg { transform: translateX(4px); }
.area-card__icon {
    width: 32px; height: 32px;
    color: var(--gold-deep);
    margin-bottom: 0.5rem;
}
.area-card__title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 500;
    line-height: 1.15;
    color: var(--text-on-light);
    margin: 0;
}
.area-card__desc {
    color: var(--muted-on-light);
    font-size: 0.94rem;
    line-height: 1.55;
    margin: 0;
    flex-grow: 1;
}
.area-card__num {
    position: absolute;
    top: 1.25rem; right: 1.25rem;
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: var(--muted-on-light);
    opacity: 0.55;
    letter-spacing: 0.1em;
}

/* ─── Bloco Sobre (imagem + texto) ─── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 900px) {
    .about-grid {
        grid-template-columns: 1.05fr 1fr;
        gap: 5rem;
    }
}
.about-image {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--ink-2);
}
.about-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.95);
}
.about-image::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--gold);
    transform: translate(1.25rem, 1.25rem);
    z-index: -1;
}
.about-image__frame { position: relative; }

.pull-quote {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem);
    line-height: 1.35;
    font-style: italic;
    color: var(--gold-pale);
    padding-left: 1.5rem;
    border-left: 1px solid var(--gold);
    margin: 2rem 0 1.5rem;
}

/* ─── Sequência 01/02/03 ─── */
.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
}
@media (min-width: 780px) {
    .steps { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
}
.step {
    position: relative;
    padding-top: 2rem;
    border-top: 1px solid var(--rule-on-light);
}
.step__num {
    font-family: var(--font-display);
    font-size: 2.25rem;
    color: var(--gold-deep);
    line-height: 1;
    display: block;
    margin-bottom: 1rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}
.step__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-on-light);
    margin: 0 0 0.75rem;
}
.step__desc {
    color: var(--muted-on-light);
    line-height: 1.6;
    margin: 0;
}

/* ─── Pilares (diferenciais) ─── */
.pillars {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
}
@media (min-width: 780px) {
    .pillars { grid-template-columns: repeat(3, 1fr); gap: 4rem; }
}
.pillar {
    padding-left: 1.5rem;
    border-left: 1px solid var(--rule-on-dark);
}
.pillar__mark {
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 1.5rem;
    display: block;
    margin-bottom: 1rem;
    line-height: 1;
}
.pillar__title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--paper);
    margin: 0 0 0.75rem;
}
.pillar__desc {
    color: var(--muted-on-dark);
    line-height: 1.6;
    margin: 0;
}

/* ─── Página de área: intro em duas colunas ─── */
.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 900px) {
    .story-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 4.5rem;
    }
}

/* Foto com "cantoneiras" douradas — assinatura do site */
.art-photo {
    position: relative;
    margin: 0;
    padding: 14px;
    display: block;
    max-width: 460px;
    justify-self: center;
    --frame: var(--gold-deep);
}
.section--dark .art-photo { --frame: var(--gold); }

.art-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    filter: contrast(1.04) saturate(0.92);
    box-shadow: 0 22px 44px rgba(11, 15, 20, 0.18);
    position: relative;
    z-index: 1;
    outline: 1px solid rgba(155, 105, 24, 0.28);
    outline-offset: -1px;
}
.section--dark .art-photo img {
    outline-color: rgba(217, 169, 75, 0.32);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.55);
}

/* Cantoneiras: L-brackets em cada canto usando gradients em ::before e ::after */
.art-photo::before,
.art-photo::after {
    content: "";
    position: absolute;
    height: 34px;
    left: 0; right: 0;
    pointer-events: none;
    z-index: 2;
}
.art-photo::before {
    top: 0;
    background:
        linear-gradient(var(--frame), var(--frame)) left top / 34px 1.5px no-repeat,
        linear-gradient(var(--frame), var(--frame)) left top / 1.5px 34px no-repeat,
        linear-gradient(var(--frame), var(--frame)) right top / 34px 1.5px no-repeat,
        linear-gradient(var(--frame), var(--frame)) right top / 1.5px 34px no-repeat;
}
.art-photo::after {
    bottom: 0;
    background:
        linear-gradient(var(--frame), var(--frame)) left bottom / 34px 1.5px no-repeat,
        linear-gradient(var(--frame), var(--frame)) left bottom / 1.5px 34px no-repeat,
        linear-gradient(var(--frame), var(--frame)) right bottom / 34px 1.5px no-repeat,
        linear-gradient(var(--frame), var(--frame)) right bottom / 1.5px 34px no-repeat;
}

/* Marca § no canto superior esquerdo — pequena assinatura tipográfica */
.art-photo__seal {
    position: absolute;
    top: -18px;
    left: 22px;
    background: var(--paper);
    color: var(--gold-deep);
    padding: 2px 10px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    line-height: 1;
    z-index: 3;
    letter-spacing: 0;
}
.section--dark .art-photo__seal {
    background: var(--ink);
    color: var(--gold);
}

/* ─── Página de área: lista de serviços ─── */
.services {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 3rem;
    counter-reset: srv;
}
@media (min-width: 780px) {
    .services { grid-template-columns: repeat(2, 1fr); gap: 0 3rem; }
}
.service {
    counter-increment: srv;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    padding: 1.75rem 0;
    border-top: 1px solid var(--rule-on-dark);
    align-items: start;
}
.service:first-child,
.services > .service:nth-child(2) { border-top-color: var(--gold); }
.service__mark {
    font-family: var(--font-display);
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    padding-top: 4px;
    min-width: 2.25rem;
}
.service__mark::before { content: counter(srv, decimal-leading-zero); }
.service__title {
    font-family: var(--font-display);
    color: var(--paper);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 0 0.35rem;
    line-height: 1.25;
}
.service__desc {
    color: var(--muted-on-dark);
    font-size: 0.94rem;
    line-height: 1.55;
    margin: 0;
}

/* ─── FAQ ─── */
.faq {
    display: grid;
    gap: 0;
    margin-top: 3rem;
    border-top: 1px solid var(--rule-on-light);
}
.faq__item {
    border-bottom: 1px solid var(--rule-on-light);
}
.faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1.5rem 0;
    background: none;
    border: 0;
    text-align: left;
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
    font-weight: 500;
    color: var(--text-on-light);
    cursor: pointer;
    line-height: 1.35;
}
.faq__q:hover { color: var(--gold-deep); }
.faq__q svg {
    width: 20px; height: 20px;
    flex-shrink: 0;
    color: var(--gold-deep);
    transition: transform .25s var(--ease-out);
}
.faq__item.is-open .faq__q svg { transform: rotate(45deg); }
.faq__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s var(--ease-out);
    color: var(--muted-on-light);
}
.faq__a-inner {
    padding: 0 0 1.75rem;
    max-width: 68ch;
    line-height: 1.65;
}
.faq__item.is-open .faq__a { max-height: 400px; }

/* Prose (parágrafos ricos nas páginas de área) */
.prose {
    max-width: 68ch;
}
.prose p { margin: 0 0 1.15rem; line-height: 1.7; }
.prose p:last-child { margin-bottom: 0; }
.prose em { color: var(--gold-deep); font-style: italic; }
.section--dark .prose em { color: var(--gold); }

/* ─── CTA final ─── */
.cta {
    position: relative;
    padding: clamp(3rem, 2rem + 4vw, 5rem);
    border: 1px solid var(--gold);
    background:
        linear-gradient(180deg, rgba(217,169,75,0.04), transparent 60%),
        var(--paper);
    text-align: center;
}
.cta__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--text-on-light);
    margin: 0 0 1rem;
}
.cta__sub {
    color: var(--muted-on-light);
    max-width: 52ch;
    margin: 0 auto 2.5rem;
    font-size: 1rem;
    line-height: 1.6;
}
.cta__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── Breadcrumb hero (páginas internas) ─── */
.crumb {
    position: relative;
    padding: clamp(6rem, 5rem + 4vw, 9rem) var(--container-x) clamp(4rem, 3rem + 2vw, 5rem);
    background: var(--ink);
    isolation: isolate;
    overflow: hidden;
}
.crumb__bg {
    position: absolute; inset: 0; z-index: -1;
    background-size: cover;
    background-position: center;
    opacity: 0.55;
}
.crumb__bg::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(11,15,20,0.25) 0%, rgba(11,15,20,0.85) 100%);
}
.crumb__inner {
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
}
.crumb__trail {
    font-size: 0.8rem;
    color: var(--muted-on-dark);
    margin-bottom: 1.5rem;
    letter-spacing: 0.04em;
}
.crumb__trail a { color: var(--gold-pale); }
.crumb__trail span { margin: 0 0.5rem; color: var(--gold); }
.crumb__title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 1.4rem + 3.5vw, 3.75rem);
    font-weight: 400;
    line-height: 1.05;
    color: var(--paper);
    margin: 0 0 1rem;
    max-width: 20ch;
    letter-spacing: -0.02em;
}
.crumb__sub {
    color: var(--gold-pale);
    font-size: 1.05rem;
    max-width: 58ch;
    line-height: 1.55;
}

/* ─── Formulário de contato ─── */
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-top: 3rem;
}
@media (min-width: 900px) {
    .form-grid { grid-template-columns: 1.2fr 1fr; gap: 5rem; }
}

.form {
    display: grid;
    gap: 1.25rem;
}
.form__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 640px) {
    .form__row--two { grid-template-columns: 1fr 1fr; }
}
.field { display: grid; gap: 0.4rem; }
.field label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--muted-on-light);
    font-weight: 500;
}
.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--rule-on-light);
    border-radius: 0;
    background: rgba(255,255,255,0.6);
    color: var(--text-on-light);
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.4;
    transition: border-color .2s var(--ease-out), background .2s var(--ease-out);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: none;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: none;
    border-color: var(--gold-deep);
    background: #fff;
}
.field textarea { resize: vertical; min-height: 140px; }

.field select {
    padding-right: 2.75rem;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239E6718' stroke-width='1.5'><path d='M6 9l6 6 6-6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 18px 18px;
    cursor: pointer;
}
.field select::-ms-expand { display: none; }

.form__submit {
    justify-self: start;
    margin-top: 0.5rem;
}

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

.form__status {
    padding: 1rem 1.25rem;
    border-left: 3px solid var(--gold-deep);
    background: rgba(217, 169, 75, 0.08);
    font-size: 0.95rem;
    color: var(--text-on-light);
}
.form__status--error {
    border-left-color: #B84040;
    background: rgba(184, 64, 64, 0.06);
}

/* Painel lateral de contato */
.contact-info {
    display: grid;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--ink);
    color: var(--text-on-dark);
    border: 1px solid var(--rule-on-dark);
}
.contact-info h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0;
    color: var(--paper);
}
.contact-info__row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-top: 1px solid var(--rule-on-dark);
}
.contact-info__row:first-of-type { border-top: 0; padding-top: 0; }
.contact-info__icon {
    color: var(--gold);
    width: 22px; height: 22px;
    flex-shrink: 0;
    margin-top: 3px;
}
.contact-info__label {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-pale);
    display: block;
    margin-bottom: 4px;
}
.contact-info__value {
    color: var(--paper);
    font-size: 0.98rem;
    line-height: 1.5;
    word-break: break-word;
}
.contact-info__value a:hover { color: var(--gold); }

/* ─── Rodapé ─── */
.footer {
    background: #06080B;
    color: var(--muted-on-dark);
    padding: 4rem var(--container-x) 2rem;
    border-top: 1px solid var(--rule-on-dark);
}
.footer__inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
@media (min-width: 780px) {
    .footer__inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; }
}
.footer__brand img {
    height: 72px;
    width: auto;
    max-width: 100%;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
    opacity: 0.92;
}
.footer__tagline {
    font-family: var(--font-display);
    color: var(--gold-pale);
    font-size: 1rem;
    line-height: 1.5;
    max-width: 32ch;
    margin: 0 0 1.5rem;
    font-style: italic;
}
.footer__col h4 {
    color: var(--gold);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin: 0 0 1.25rem;
    font-weight: 500;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.footer__col a { color: var(--muted-on-dark); font-size: 0.9rem; }
.footer__col a:hover { color: var(--gold); }
/* ── Endereço em row cheia no rodapé ── */
.footer__address {
    max-width: 1240px;
    margin: 3rem auto 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(217, 169, 75, 0.28);
    border-bottom: 1px solid rgba(217, 169, 75, 0.28);
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
    color: var(--text-on-dark);
    text-decoration: none;
    transition: background .3s var(--ease-out);
    position: relative;
}
@media (min-width: 780px) {
    .footer__address {
        grid-template-columns: 1fr auto;
        gap: 3rem;
    }
}
.footer__address:hover { background: rgba(217, 169, 75, 0.04); }

.footer__address-main .eyebrow {
    color: var(--gold);
    margin: 0 0 0.75rem;
}
.footer__address-line {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--paper);
    margin: 0 0 0.4rem;
    font-variation-settings: "opsz" 60;
}
.footer__address-city {
    color: var(--gold-pale);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    margin: 0;
}
.footer__address-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1.25rem;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 500;
    transition: background .25s var(--ease-out), color .25s var(--ease-out);
    white-space: nowrap;
    justify-self: start;
}
@media (min-width: 780px) {
    .footer__address-cta { justify-self: end; }
}
.footer__address:hover .footer__address-cta {
    background: var(--gold);
    color: var(--ink);
}
.footer__address-cta svg { width: 16px; height: 16px; flex-shrink: 0; }
.footer__address-arrow { transition: transform .25s var(--ease-out); }
.footer__address:hover .footer__address-arrow { transform: translateX(4px); }

.footer__bottom {
    max-width: 1240px;
    margin: 2rem auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.78rem;
    color: var(--muted-on-dark);
    letter-spacing: 0.02em;
}

/* ─── Whatsapp flutuante ─── */
.wa-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: grid;
    place-items: center;
    z-index: 40;
    box-shadow: 0 10px 30px rgba(0,0,0,0.45);
    transition: transform .25s var(--ease-out);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* ─── 404 ─── */
.notfound {
    min-height: 70vh;
    display: grid;
    place-items: center;
    padding: var(--section-y) var(--container-x);
    text-align: center;
    background: var(--ink);
}
.notfound__num {
    font-family: var(--font-display);
    font-size: clamp(6rem, 4rem + 10vw, 12rem);
    line-height: 0.9;
    color: var(--gold);
    letter-spacing: -0.04em;
    margin: 0 0 1rem;
    font-weight: 400;
    font-variation-settings: "opsz" 144;
}
.notfound__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 1rem + 2vw, 2rem);
    color: var(--paper);
    margin: 0 0 1rem;
    font-weight: 400;
}
.notfound__sub {
    color: var(--muted-on-dark);
    max-width: 46ch;
    margin: 0 auto 2.5rem;
}

/* ─── Utilitários ─── */
.stack > * + * { margin-top: var(--stack, 1rem); }
.text-center { text-align: center; }
.hidden { display: none !important; }

/* ─── Mobile nav ─── */
@media (max-width: 860px) {
    .nav__menu, .nav__cta { display: none; }
    .nav__toggle { display: inline-flex; }

    .nav__menu.is-open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: var(--ink-2);
        padding: 1rem var(--container-x) 1.5rem;
        border-bottom: 1px solid var(--rule-on-dark);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        text-align: left;
    }
    .nav__menu.is-open li {
        border-top: 1px solid rgba(255,255,255,0.05);
        width: 100%;
    }
    .nav__menu.is-open .nav__link {
        display: block;
        width: 100%;
        padding: 1rem 0;
        font-size: 1rem;
        text-align: left;
    }

    /* Dropdown mobile: sub-itens indentados */
    .nav__menu .nav__link--menu {
        width: 100%;
        justify-content: space-between;
        text-align: left;
    }
    .nav__submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 0 0 0.75rem;
        min-width: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s var(--ease-out);
    }
    .nav__item--has-menu.is-open .nav__submenu {
        max-height: 600px;
    }
    .nav__submenu-link {
        padding: 0.6rem 0 0.6rem 1rem;
        border-left: 1px solid var(--rule-on-dark);
        margin-left: 0.25rem;
        font-size: 0.9rem;
    }
    .nav__submenu-link:hover { padding-left: 1.25rem; }
}

/* ─── Motion respeitando preferência ─── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
