/*
Theme Name: Nirian Carvalho - Advocacia
Theme URI: https://nirian.adv.br/
Author: Eduardo Correia
Description: Tema institucional one-page para Nirian Carvalho Advocacia & Consultoria. Estética editorial (Fraunces + Montserrat), grafite #27292B e dourado #F0C175. Conteúdo editável pelo painel (Customizer + tipos de conteúdo).
Version: 1.0.5
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: nirian-carvalho
License: GPL v2 or later
*/

/* =========================================================
   NIRIAN CARVALHO · ADVOCACIA
   Estética editorial branca · Grafite #27292B · Dourado #F0C175
   ========================================================= */

:root {
  /* Design tokens: brand primitives */
  --navy: #27292b;
  --navy-80: #4a4d50;
  --gold: #f0c175;
  --gold-deep: #d9a94e;
  --white: #ffffff;
  --cream: #faf7f1;
  --cream-2: #f3eee4;
  --ink: #11151c;
  --muted: #5a6472;
  --line: #e7e1d6;
  --charcoal: #1a1b1d;
  --success: #25d366;
  --danger: #c0392b;

  /* Design tokens: semantic colors */
  --color-bg: var(--cream);
  --color-bg-raised: var(--white);
  --color-bg-muted: var(--cream-2);
  --color-bg-inverse: var(--navy);
  --color-text: var(--navy);
  --color-text-soft: var(--navy-80);
  --color-text-muted: var(--muted);
  --color-text-inverse: var(--cream);
  --color-accent: var(--gold);
  --color-accent-strong: var(--gold-deep);
  --color-border: var(--line);
  --color-focus: var(--gold);

  /* Design tokens: transparent surfaces */
  --surface-header: rgba(28,30,32,.82);
  --surface-accent-faint: rgba(240,193,117,.18);
  --surface-accent-subtle: rgba(240,193,117,.25);
  --surface-light-border: rgba(250,247,241,.45);
  --surface-light-soft: rgba(250,247,241,.72);
  --surface-light-medium: rgba(250,247,241,.82);
  --surface-shadow: rgba(39,41,43,.4);

  --serif: "Fraunces", Georgia, serif;
  --sans: "Montserrat", system-ui, sans-serif;

  /* Design tokens: typography */
  --font-display: var(--serif);
  --font-body: var(--sans);
  --text-xs: .72rem;
  --text-sm: .82rem;
  --text-md: 1rem;
  --text-lg: clamp(1.05rem, 1rem + .4vw, 1.3rem);
  --text-section: clamp(1.9rem, 4.5vw, 3rem);
  --text-title: clamp(2.2rem, 5vw, 4rem);
  --text-hero: clamp(2.6rem, 6.4vw, 5.6rem);

  /* Design tokens: layout and motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gut: clamp(1.25rem, 5vw, 6rem);
  --maxw: 1320px;
  --section-y-sm: clamp(3.5rem, 8vw, 6.5rem);
  --section-y-md: clamp(4rem, 9vw, 7rem);
  --section-y-lg: clamp(5rem, 12vw, 11rem);
  --space-2xs: .35rem;
  --space-xs: .6rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-pill: 100px;
  --shadow-card: 0 24px 50px -28px var(--surface-shadow);
  --shadow-card-lg: 0 26px 55px -32px var(--surface-shadow);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--navy);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--navy); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }

/* ---------- design system utilities ---------- */
.ds-section { padding-block: var(--section-y-lg); }
.ds-section--light { background: var(--color-bg-raised); color: var(--color-text); }
.ds-section--warm { background: var(--color-bg); color: var(--color-text); }
.ds-section--dark { background: var(--color-bg-inverse); color: var(--color-text-inverse); }
.ds-grid { display: grid; gap: var(--space-md); }
.ds-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ds-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ds-grid--auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ds-stack { display: grid; gap: var(--space-sm); }
.ds-stack--lg { gap: var(--space-lg); }
.ds-surface {
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: clamp(1.5rem, 3vw, 2rem);
}
.ds-surface--warm { background: var(--color-bg); }
.ds-surface--dark { background: var(--color-bg-inverse); border-color: var(--color-bg-inverse); color: var(--color-text-inverse); }
.ds-kicker {
  font: 600 var(--text-xs) / 1.2 var(--font-body);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--color-accent-strong);
}
.ds-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-title);
  line-height: 1.04;
  color: inherit;
}
.ds-title em { color: var(--color-accent-strong); font-style: italic; }
.ds-lead { color: var(--color-text-muted); font-size: var(--text-lg); line-height: 1.55; max-width: 52ch; }
.ds-muted { color: var(--color-text-muted); }
.ds-dark-muted { color: var(--surface-light-soft); }
.ds-divider { border-top: 1px solid var(--color-border); }
.ds-focus-ring:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }

@media (max-width: 820px) {
  .ds-grid--2,
  .ds-grid--3 { grid-template-columns: 1fr; }
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--navy); color: #fff; padding: .75rem 1.25rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- tipografia base ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -0.02em; }
em { font-style: italic; }

.section-label {
  font-family: var(--sans);
  font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 1.5rem; display: inline-block;
}
.section-label--light { color: var(--gold); }

/* =========================================================
   BOTÕES
   ========================================================= */
.btn {
  --pad: .95rem 1.7rem;
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans); font-weight: 600; font-size: .82rem;
  letter-spacing: .04em; text-transform: uppercase;
  padding: var(--pad); border-radius: 100px; border: 1px solid transparent;
  cursor: pointer; position: relative; overflow: hidden;
  transition: transform .25s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  will-change: transform;
}
.btn span { transition: transform .3s var(--ease); }
.btn:hover span { transform: translateX(3px); }

.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover,
.btn--gold:focus,
.btn--gold:focus-visible,
.btn--gold:active { background: var(--gold-deep); color: var(--navy); }

.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover,
.btn--navy:focus,
.btn--navy:focus-visible,
.btn--navy:active { background: var(--gold); color: var(--navy); }

.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover,
.btn--ghost:focus,
.btn--ghost:active { background: var(--navy); color: #fff; }

.btn--ghost-light { background: transparent; color: var(--cream); border-color: rgba(250,247,241,.45); }
.btn--ghost-light:hover,
.btn--ghost-light:focus,
.btn--ghost-light:active { background: var(--cream); color: var(--navy); border-color: var(--cream); }

/* foco visível por teclado, sem prejudicar o contraste do texto */
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn { -webkit-tap-highlight-color: transparent; }

.btn--block { width: 100%; justify-content: center; padding-block: 1.15rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 2rem;
  font-weight: 600; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase;
  border-bottom: 1px solid var(--gold); padding-bottom: .35rem;
  transition: gap .4s var(--ease), color .3s;
}
.link-arrow:hover { gap: 1.1rem; color: var(--gold-deep); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: 1.5rem;
  transition: padding .5s var(--ease), background .5s var(--ease), box-shadow .5s var(--ease);
}
.site-header.scrolled {
  padding-block: .7rem; background: rgba(28,30,32,.82);
  backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(240,193,117,.18);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: flex; align-items: center; gap: .8rem; }
.brand__logo {
  height: 46px; width: auto; transition: height .5s var(--ease);
}
.site-header.scrolled .brand__logo { height: 38px; }
.brand__mark {
  display: grid; place-items: center; width: 44px; height: 44px;
  font-family: var(--serif); font-size: 1.5rem; color: var(--gold);
  background: var(--navy); border-radius: 50%;
  transition: transform .5s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-12deg); }

.nav { display: flex; gap: 2.2rem; }
.nav a {
  font-size: .85rem; font-weight: 500; letter-spacing: .03em; position: relative; padding-block: .3rem;
  color: var(--cream);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--gold-deep); transition: width .4s var(--ease);
}
.nav a:hover::after { width: 100%; }

.nav__cta { padding: .7rem 1.4rem; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; width: 44px; height: 44px; flex-direction: column; gap: 6px; align-items: center; justify-content: center; }
.menu-toggle span { width: 26px; height: 2px; background: var(--cream); transition: transform .4s var(--ease), opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--navy);
  display: grid; place-items: center; opacity: 0; transition: opacity .5s var(--ease);
}
/* respeita o atributo hidden: quando fechado não ocupa a tela nem bloqueia cliques */
.mobile-menu[hidden] { display: none; }
.mobile-menu:not(.open) { pointer-events: none; }
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
.mobile-menu a { color: var(--cream); font-family: var(--serif); font-size: 2rem; }
.mobile-menu a.btn { font-family: var(--sans); font-size: .9rem; margin-top: 1rem; width: fit-content; justify-content: center; align-self: center; }
.mobile-menu a.btn--gold { color: var(--navy); }
.mobile-menu a.btn--gold:hover,
.mobile-menu a.btn--gold:focus,
.mobile-menu a.btn--gold:active { color: var(--navy); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-top: 7rem; padding-bottom: 4rem; overflow: hidden;
  background: #1a1b1d;
}
.hero__media {
  position: absolute; top: 0; bottom: 0; right: 0; left: 38%; z-index: 0;
  background: url("assets/img/Fundo_Nirian.webp") no-repeat 62% center / cover;
}
/* esmaece a borda esquerda da foto para fundir no fundo grafite */
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    #1a1b1d 0%, rgba(26,27,29,.82) 18%, rgba(26,27,29,0) 52%);
}
.hero__container { position: relative; z-index: 2; width: 100%; }
.hero__content { max-width: 560px; margin-inline: 0; text-align: left; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(250,247,241,.8); margin-bottom: 2rem;
}
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(240,193,117,.5); } 50% { box-shadow: 0 0 0 8px rgba(240,193,117,0); } }

.hero__title {
  font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: .98; letter-spacing: -.03em;
  margin-bottom: 2.25rem; color: var(--cream);
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; }
.hero__title .line--accent { color: var(--cream); }
.hero__title em { font-style: italic; color: var(--gold); }

.hero__lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); color: rgba(250,247,241,.82); max-width: 50ch; margin-bottom: 2.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__scroll {
  position: absolute; bottom: 2rem; right: var(--gut); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(250,247,241,.6);
  writing-mode: vertical-rl;
}
.hero__scroll-line { writing-mode: horizontal-tb; width: 1px; height: 60px; background: linear-gradient(var(--gold-deep), transparent); animation: scrolldown 2s var(--ease) infinite; transform-origin: top; }
@keyframes scrolldown { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  background: var(--navy); color: var(--cream); overflow: hidden; padding-block: 1.6rem;
  border-block: 1px solid var(--navy);
}
.marquee__track {
  display: flex; gap: 2.5rem; white-space: nowrap; width: max-content;
  font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2.4rem); font-style: italic;
  animation: scroll-x 40s linear infinite;
}
.marquee__track span { color: var(--cream); }
.marquee__track .sep { color: var(--gold); font-style: normal; }
@keyframes scroll-x { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* =========================================================
   STATS
   ========================================================= */
.stats { background: var(--cream); padding-block: clamp(4rem, 8vw, 7rem); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.stat__num {
  font-family: var(--serif); font-size: clamp(3rem, 6vw, 4.5rem); line-height: 1; color: var(--navy);
}
.stat__num--word { letter-spacing: -.01em; }
.stat__plus, .stat__pct { color: var(--gold-deep); font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); }
.stat p { margin-top: 1rem; font-size: .9rem; color: var(--muted); max-width: 22ch; }

/* =========================================================
   SOBRE
   ========================================================= */
.about { padding-block: clamp(5rem, 12vw, 11rem); background: var(--white); }
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 7rem); }
.about__sticky { position: sticky; top: 7rem; align-self: start; }
.about__title { font-size: clamp(2.2rem, 5vw, 4rem); }
.about__title em { color: var(--gold-deep); }
.about__lead { font-family: var(--serif); font-size: clamp(1.4rem, 2.5vw, 2rem); line-height: 1.25; margin-bottom: 2rem; }
.about__body > p { color: var(--navy-80); margin-bottom: 1.5rem; max-width: 56ch; }
.about__body strong { color: var(--navy); font-weight: 600; }

.about__values { list-style: none; margin-top: 3rem; display: grid; gap: 1.25rem; }
.about__values li { border-top: 1px solid var(--line); padding-top: 1.25rem; color: var(--muted); font-size: .95rem; }
.about__values li span { display: block; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--navy); margin-bottom: .35rem; }

/* =========================================================
   ÁREAS
   ========================================================= */
.areas { padding-block: clamp(5rem, 12vw, 11rem); background: var(--cream); }
.areas__head { max-width: 760px; margin-bottom: clamp(3rem, 6vw, 5rem); }
.areas__title { font-size: clamp(2.5rem, 7vw, 5.5rem); margin-bottom: 1.5rem; }
.areas__title em { color: var(--gold-deep); }
.areas__intro { color: var(--muted); max-width: 44ch; font-size: 1.05rem; }

.areas__list { list-style: none; border-top: 1px solid var(--line); }
.area {
  display: grid; grid-template-columns: 5rem 1fr 1.4fr auto; align-items: center; gap: 2rem;
  padding-block: clamp(1.75rem, 3vw, 2.5rem); border-bottom: 1px solid var(--line);
  position: relative; cursor: default;
  transition: padding-left .45s var(--ease);
}
.area::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(240, 193, 117, .22), rgba(240, 193, 117, .06) 50%, rgba(240, 193, 117, 0) 85%);
  opacity: 0; transition: opacity .45s var(--ease); z-index: 0;
}
.area > * { position: relative; z-index: 1; transition: color .4s var(--ease); }
/* link que cobre toda a linha da área (mantém o grid intacto) */
.area .area__cover { position: absolute; inset: 0; z-index: 2; cursor: pointer; }
.area:hover { padding-left: 1.25rem; }
.area:hover::before { opacity: 1; }
.area:hover .area__plus { color: var(--gold-deep); transform: translateX(6px) rotate(-45deg); }

.area__index { font-family: var(--serif); font-size: 1.1rem; color: var(--gold-deep); }
.area__name { font-size: clamp(1.4rem, 2.5vw, 2.1rem); color: var(--navy); }
.area__desc { color: var(--muted); font-size: .95rem; max-width: 48ch; }
.area__plus { font-size: 1.5rem; color: var(--navy); justify-self: end; transition: transform .5s var(--ease), color .4s; }

/* =========================================================
   MÉTODO (fundo escuro)
   ========================================================= */
.method { background: var(--navy); color: var(--cream); padding-block: clamp(5rem, 12vw, 11rem); }
.method__head { display: grid; gap: .75rem; max-width: 820px; margin-bottom: clamp(3rem, 6vw, 5rem); }
.method__head .section-label { margin-bottom: 0; }
.method__title { font-size: clamp(2.5rem, 6vw, 5rem); color: var(--cream); }
.method__title em { color: var(--gold); }

.method__steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { padding: 2.5rem 1.75rem 2.5rem 0; border-top: 1px solid rgba(240,193,117,.25); position: relative; }
.step + .step { border-left: 1px solid rgba(240,193,117,.15); padding-left: 1.75rem; }
.step__num { font-family: var(--serif); font-size: 2.5rem; color: var(--gold); display: block; margin-bottom: 1.5rem; }
.step h3 { font-size: 1.4rem; color: var(--cream); margin-bottom: .9rem; }
.step p { color: rgba(250,247,241,.7); font-size: .92rem; }

/* =========================================================
   DEPOIMENTOS
   ========================================================= */
.testimonials { background: var(--white); padding-block: clamp(5rem, 12vw, 11rem); }
.testimonials__head { max-width: 720px; margin-bottom: clamp(3rem, 6vw, 5rem); }
.testimonials__title { font-size: clamp(2.2rem, 6vw, 4.5rem); margin-bottom: 1.5rem; }
.testimonials__title em { color: var(--gold-deep); }
.testimonials__intro { color: var(--muted); max-width: 50ch; font-size: 1.05rem; }
.google-proof {
  display: inline-flex; align-items: center; gap: .8rem;
  margin-top: 1.4rem; padding: .75rem 1rem;
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  background: var(--cream); color: var(--navy);
  font-size: .9rem; line-height: 1.35;
  box-shadow: 0 18px 38px -32px var(--surface-shadow);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.google-proof:hover,
.google-proof:focus-visible {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 22px 46px -32px var(--surface-shadow);
}
.google-proof:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.google-proof strong { font-weight: 700; color: var(--navy); }

.testimonials__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.quote {
  position: relative; background: var(--cream); border: 1px solid var(--line);
  border-radius: 8px; padding: 2.5rem 2rem 2rem; display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.quote:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(39,41,43,.4); border-color: var(--gold); }
.quote--feature { grid-column: span 3; background: var(--navy); border-color: var(--navy); }
.quote__mark { font-family: var(--serif); font-size: 5rem; line-height: .6; color: var(--gold); display: block; margin-bottom: .5rem; }
.quote blockquote {
  font-family: var(--serif); font-size: 1.15rem; line-height: 1.45; color: var(--navy);
  flex: 1; margin-bottom: 1.75rem;
}
.quote--feature blockquote { font-size: clamp(1.4rem, 2.6vw, 2.1rem); color: var(--cream); max-width: 30ch; }
.quote figcaption { display: grid; gap: .2rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.quote--feature figcaption { border-color: rgba(240,193,117,.3); }
.quote__name { font-family: var(--sans); font-weight: 600; font-size: .95rem; letter-spacing: .04em; color: var(--navy); }
.quote--feature .quote__name { color: var(--cream); }
.quote__case { font-size: .8rem; color: var(--muted); }
.quote--feature .quote__case { color: var(--gold); }
.testimonials__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 3rem; }
.testimonials__cta .link-arrow { margin-top: 0; }
.testimonials__cta .google-proof { margin-top: 0; }
.g-ico {
  display: inline-block; width: 1.15em; height: 1.15em; flex: 0 0 auto;
  vertical-align: -0.22em;
  background: url("assets/icons/Google.svg") no-repeat center / contain;
}
/* o ícone do Google fica num círculo claro dentro do botão grafite */
.btn--navy .g-ico {
  width: 1.55em; height: 1.55em; border-radius: 50%;
  background-color: #fff;
  background-image: url("assets/icons/Google.svg");
  background-repeat: no-repeat; background-position: center; background-size: 66%;
}

@media (max-width: 1024px) {
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .quote--feature { grid-column: span 2; }
}
@media (max-width: 640px) {
  .testimonials__grid { grid-template-columns: 1fr; }
  .quote--feature { grid-column: span 1; }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--white); padding-block: clamp(5rem, 12vw, 11rem); }
.faq__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); }
.faq__head { position: sticky; top: 7rem; align-self: start; }
.faq__title { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 1.5rem; }
.faq__title em { color: var(--gold-deep); }
.faq__note { color: var(--muted); font-size: .95rem; max-width: 32ch; }

.faq__list { display: grid; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa__q {
  width: 100%; background: none; border: none; text-align: left;
  list-style: none; cursor: pointer; padding-block: 1.6rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.55rem); color: var(--navy);
  transition: color .3s;
}
.qa__q:hover { color: var(--gold-deep); }
.qa__q:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.qa__icon { position: relative; flex: 0 0 22px; height: 22px; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; background: var(--gold-deep); transition: transform .4s var(--ease); }
.qa__icon::before { top: 10px; left: 0; width: 22px; height: 2px; }
.qa__icon::after { top: 0; left: 10px; width: 2px; height: 22px; }
.qa.is-open .qa__icon::after { transform: scaleY(0); }
/* animação abrir/fechar via grid — conteúdo sempre no DOM, sem JS de altura */
.qa__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.qa.is-open .qa__body { grid-template-rows: 1fr; }
.qa__inner { overflow: hidden; min-height: 0; }
.qa__inner p { padding-bottom: 1.6rem; color: var(--muted); max-width: 56ch; }

/* =========================================================
   CONTATO
   ========================================================= */
.contact { background: var(--navy); color: var(--cream); padding-block: clamp(5rem, 12vw, 11rem); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); }
.contact__title { font-size: clamp(2.5rem, 6vw, 5rem); color: var(--cream); margin-bottom: 1.75rem; }
.contact__title em { color: var(--gold); }
.contact__lead { color: rgba(250,247,241,.72); max-width: 42ch; margin-bottom: 3rem; }

.contact__channels { list-style: none; display: grid; gap: 1.75rem; }
.contact__channels li { border-top: 1px solid rgba(240,193,117,.2); padding-top: 1.25rem; display: grid; gap: .4rem; }
.contact__k { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.contact__channels a { font-size: 1.05rem; color: var(--cream); transition: color .3s; width: fit-content; }
.contact__channels a:hover { color: var(--gold); }

/* formulário */
.contact__form { background: var(--cream); color: var(--navy); padding: clamp(1.75rem, 4vw, 3rem); border-radius: 8px; display: grid; gap: 1.5rem; align-self: start; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--navy);
  background: transparent; border: none; border-bottom: 1px solid var(--line);
  padding: 1.4rem 0 .6rem; outline: none; transition: border-color .3s;
}
.field textarea { resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none;
  min-height: 3.35rem; cursor: pointer;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.45rem 3rem .65rem 1rem;
  box-shadow: 0 12px 28px -24px var(--surface-shadow);
}
.field select:hover { border-color: rgba(217,169,78,.55); }
.field:has(select)::after {
  content: ""; position: absolute; right: 1rem; top: 50%;
  width: .6rem; height: .6rem;
  border-right: 2px solid var(--gold-deep);
  border-bottom: 2px solid var(--gold-deep);
  pointer-events: none;
  transform: translateY(-62%) rotate(45deg);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.field:has(select:focus)::after { transform: translateY(-35%) rotate(225deg); border-color: var(--navy); }
.field select option { color: var(--navy); background: var(--white); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold-deep); }
.field select:focus { box-shadow: 0 0 0 3px rgba(240,193,117,.22), 0 16px 36px -28px var(--surface-shadow); }
.field label {
  position: absolute; left: 0; top: 1.4rem; color: var(--muted); font-size: 1rem;
  pointer-events: none; transition: transform .3s var(--ease), font-size .3s, color .3s;
}
.field select + label { left: 1rem; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field .label--select { transform: translateY(-1.3rem); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.form__hint { font-size: .78rem; color: var(--muted); text-align: center; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--navy); color: var(--cream); padding-top: clamp(4rem, 8vw, 6rem); }
.footer__grid { display: grid; grid-template-columns: 1.25fr 1.45fr 1.2fr; gap: 2.5rem; padding-bottom: 3.5rem; }
.footer__logo { height: 60px; width: auto; margin-bottom: 1.5rem; }
.footer__tag { margin-top: 1rem; color: rgba(250,247,241,.6); font-style: italic; font-family: var(--serif); max-width: 30ch; }
.footer__nav, .footer__contact { display: grid; gap: .7rem; align-content: start; }
.footer__nav-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem 1.2rem; }
.footer__nav h3, .footer__contact h3 { font-family: var(--sans); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; }
.footer__nav a, .footer__contact a { color: rgba(250,247,241,.78); transition: color .3s; width: fit-content; }
.footer__nav a { width: auto; font-size: .88rem; line-height: 1.25; }
.footer__nav a:hover, .footer__contact a:hover { color: var(--gold); }
.footer__contact p { color: rgba(250,247,241,.55); font-size: .9rem; }
.footer__social { display: flex; gap: 1.25rem; margin-top: .5rem; }
.footer__social a { font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; color: var(--cream); border-bottom: 1px solid var(--gold); padding-bottom: 2px; }

.footer__bottom { border-top: 1px solid rgba(240,193,117,.18); padding-block: 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.footer__bottom p { font-size: .78rem; color: rgba(250,247,241,.5); }
.footer__oab { max-width: 50ch; }

/* =========================================================
   ÍCONE WHATSAPP (máscara — herda a cor do contexto)
   ========================================================= */
.wa-ico {
  width: 1.05em; height: 1.05em; flex: 0 0 auto;
  margin-right: .5em; vertical-align: -0.16em;
  fill: var(--gold);
}
/* no botão dourado, o ícone fica grafite para ter contraste */
.btn--gold .wa-ico { fill: var(--navy); }
/* dentro do botão o espaçamento já vem do gap; evita folga dupla */
.btn .wa-ico { margin-right: 0; }

/* ícones de redes sociais (Instagram / LinkedIn) */
.soc-ico {
  width: 1.05em; height: 1.05em; flex: 0 0 auto;
  margin-right: .55em; vertical-align: -0.16em;
  fill: var(--gold);
}
/* redes no contato: apenas ícones, maiores e clicáveis */
.contact__social-icons { display: flex; gap: 1.1rem; align-items: center; }
.contact__social-icons a { display: inline-flex; }
.soc-ico--lg {
  width: 1.9rem; height: 1.9rem; margin: 0; vertical-align: middle;
  transition: transform .35s var(--ease), fill .3s;
}
.contact__social-icons a:hover .soc-ico--lg { transform: translateY(-3px) scale(1.12); fill: #fff; }

/* =========================================================
   WHATSAPP FAB
   ========================================================= */
.whatsapp-fab {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; box-shadow: 0 12px 30px rgba(37,211,102,.4);
  transition: transform .3s var(--ease), background .3s var(--ease);
  transform-origin: center;
}
.whatsapp-fab:hover { transform: scale(1.05); }
.whatsapp-fab .wa-ico { width: 30px; height: 30px; margin: 0; fill: #fff; }

/* =========================================================
   CURSOR CUSTOMIZADO
   ========================================================= */
.cursor {
  position: fixed; top: 0; left: 0; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold-deep); pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%); transition: width .3s var(--ease), height .3s var(--ease), background .3s;
  mix-blend-mode: multiply;
}
.cursor.is-hover { width: 46px; height: 46px; background: rgba(240,193,117,.35); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* =========================================================
   REVEAL (scroll animations)
   ========================================================= */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
.area[data-reveal] { transition-delay: var(--d, 0s); }

[data-reveal-text] { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
.line.in [data-reveal-text],
[data-reveal-text].in { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-text] { opacity: 1 !important; transform: none !important; }
  .cursor, .hero__scroll-line, .hero__eyebrow .dot, .whatsapp-fab { animation: none !important; }
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1024px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .method__steps { grid-template-columns: repeat(2, 1fr); }
  .step + .step { border-left: none; padding-left: 0; }
  .step:nth-child(odd) { padding-right: 1.5rem; }
  .area { grid-template-columns: 3.5rem 1fr auto; }
  .area__desc { display: none; }
}

@media (max-width: 820px) {
  .nav, .nav__cta { display: none; }
  .menu-toggle { display: flex; }
  .about__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__sticky, .faq__head { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__scroll { display: none; }
  .hero {
    align-items: flex-start;
    min-height: auto;
    padding-top: clamp(23rem, 54svh, 30rem);
    padding-bottom: 4.5rem;
  }
  .hero__media {
    left: 0; bottom: auto; height: 54svh;
    background-image: var(--hero-mobile-image, url("assets/img/Fundo_Nirian_Mobile.webp")); background-position: top center;
  }
  .hero__media::after {
    background: linear-gradient(180deg,
      rgba(26,27,29,0) 20%, rgba(26,27,29,.42) 50%,
      rgba(26,27,29,.93) 80%, #1a1b1d 100%);
  }
  .hero__content { max-width: 100%; }
}

@media (max-width: 560px) {
  .stats__grid { grid-template-columns: 1fr; }
  .method__steps { grid-template-columns: 1fr; }
  .step:nth-child(odd) { padding-right: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .area { grid-template-columns: 2.5rem 1fr; }
  .area__plus { display: none; }
  .hero {
    padding-top: clamp(22rem, 52svh, 28rem);
    padding-bottom: 3.75rem;
  }
  .hero__media { height: 52svh; }
  .hero__eyebrow { margin-bottom: 1.25rem; }
  .hero__title { font-size: clamp(2.6rem, 15vw, 4rem); }
}

/* =========================================================
   PÁGINA DE ÁREA (single)
   ========================================================= */
.area-hero { background: var(--navy); color: var(--cream); padding-top: clamp(8rem, 14vw, 11rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.area-hero__back { color: var(--gold); border-color: var(--gold); margin-top: 0; margin-bottom: 2.5rem; }
.area-hero__back:hover { color: var(--cream); }
.area-hero__title { font-size: clamp(2.6rem, 7vw, 5rem); color: var(--cream); margin-top: 1rem; }
.area-hero__title em { color: var(--gold); font-style: italic; }

.area-content { background: var(--white); padding-block: clamp(4rem, 9vw, 7rem); }
.area-content__grid { display: grid; grid-template-columns: 1.5fr .9fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.area-content__body { font-size: 1.08rem; color: var(--navy-80); }
.area-content__body--solo { max-width: 760px; margin-inline: auto; }
.area-content__body > * + * { margin-top: 1.4rem; }
.area-content__body h2, .area-content__body h3 { color: var(--navy); margin-top: 2.5rem; }
.area-content__body ul, .area-content__body ol { padding-left: 1.4rem; }
.area-content__body li { margin-top: .5rem; }
.area-content__body a { color: var(--gold-deep); border-bottom: 1px solid var(--gold); }

.area-content__cta { background: var(--cream); border: 1px solid var(--line); border-radius: 8px; padding: clamp(1.75rem, 4vw, 2.5rem); position: sticky; top: 7rem; }
.area-content__cta h2 { font-size: 1.6rem; color: var(--navy); margin-bottom: .8rem; }
.area-content__cta p { color: var(--muted); margin-bottom: 1.75rem; }
.area-content__cta .link-arrow { display: inline-flex; margin-top: 1.25rem; }

.area-others { background: var(--cream); padding-block: clamp(4rem, 9vw, 6rem); }
.area-others .areas__list { margin-top: 2rem; }

@media (max-width: 820px) {
  .area-content__grid { grid-template-columns: 1fr; }
  .area-content__cta { position: static; }
}

/* =========================================================
   LANDING PAGE DE ÁREA
   ========================================================= */
/* hero com imagem de capa (imagem destacada da página) */
.lp-hero--media {
  background-image:
    linear-gradient(180deg, rgba(20, 21, 23, .80), rgba(20, 21, 23, .68) 45%, rgba(20, 21, 23, .85)),
    var(--lp-cover);
  background-size: cover; background-position: center; background-repeat: no-repeat;
}

.lp-hero__lead {
  color: rgba(250, 247, 241, .85); font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.55; max-width: 50ch; margin-top: 1.25rem;
}
.lp-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }
.lp-hero__trust {
  list-style: none; display: flex; flex-wrap: wrap; gap: .9rem 1.75rem;
  margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid rgba(250, 247, 241, .14);
}
.lp-hero__trust li {
  display: inline-flex; align-items: center; gap: .55rem;
  color: rgba(250, 247, 241, .72); font-size: .85rem; letter-spacing: .02em;
}
.lp-hero__trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }

.lp-section { background: var(--white); padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.lp-section--alt { background: var(--cream); }
.lp-section__head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.lp-section__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.08; color: var(--navy); margin-top: .75rem; }
.lp-section__title em { color: var(--gold-deep); font-style: italic; }
.lp-section__cta { margin-top: clamp(2rem, 4vw, 2.75rem); }

/* introdução no estilo da seção "Sobre" da home, com foto opcional */
.lp-about .about__sticky { position: static; }
.lp-about .about__body > p:first-of-type {
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.25; color: var(--navy); margin-bottom: 1.5rem; max-width: none;
}
.lp-about .about__body a { color: var(--gold-deep); border-bottom: 1px solid var(--gold); }
.lp-about__photo {
  margin-top: 2rem; width: 100%; height: auto; display: block; border-radius: 14px;
  box-shadow: 0 24px 55px -32px rgba(39, 41, 43, .45);
}

/* =========================================================
   FORMULÁRIO CONTACT FORM 7 (cartão claro na seção de contato)
   ========================================================= */
.contact__form--cf7 .wpcf7-form > p { margin: 0 0 1.15rem; color: var(--navy); font-family: var(--serif); font-weight: 500; font-size: 1.05rem; }
.contact__form--cf7 .wpcf7-form-control-wrap { display: block; margin-top: .4rem; }
.contact__form--cf7 input.wpcf7-form-control:not([type="submit"]),
.contact__form--cf7 textarea.wpcf7-form-control,
.contact__form--cf7 select.wpcf7-form-control {
  width: 100%; background: var(--white); color: var(--navy);
  border: 1px solid var(--line); border-radius: 8px;
  padding: .8rem .9rem; font-family: var(--sans); font-size: 1rem; line-height: 1.4; outline: none;
}
.contact__form--cf7 input.wpcf7-form-control::placeholder,
.contact__form--cf7 textarea.wpcf7-form-control::placeholder { color: var(--muted); }
.contact__form--cf7 input.wpcf7-form-control:focus,
.contact__form--cf7 textarea.wpcf7-form-control:focus,
.contact__form--cf7 select.wpcf7-form-control:focus { border-color: var(--gold-deep); }
.contact__form--cf7 .wpcf7-form-control-wrap:has(select) { position: relative; display: block; }
.contact__form--cf7 .wpcf7-form-control-wrap:has(select)::after {
  content: ""; position: absolute; right: 1rem; top: 50%;
  width: .55rem; height: .55rem;
  border-right: 2px solid var(--gold-deep);
  border-bottom: 2px solid var(--gold-deep);
  pointer-events: none;
  transform: translateY(-62%) rotate(45deg);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.contact__form--cf7 .wpcf7-form-control-wrap:has(select:focus)::after { transform: translateY(-35%) rotate(225deg); border-color: var(--navy); }
.contact__form--cf7 select.wpcf7-form-control {
  appearance: none; -webkit-appearance: none;
  cursor: pointer;
  min-height: 3.15rem;
  padding-right: 3rem;
  box-shadow: 0 12px 28px -24px var(--surface-shadow);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.contact__form--cf7 select.wpcf7-form-control:hover { border-color: rgba(217,169,78,.55); }
.contact__form--cf7 select.wpcf7-form-control:focus { box-shadow: 0 0 0 3px rgba(240,193,117,.22), 0 16px 36px -28px var(--surface-shadow); }
.contact__form--cf7 select option { color: var(--navy); background: var(--white); }
.contact__form--cf7 textarea.wpcf7-form-control { resize: vertical; min-height: 7rem; }
.contact__form--cf7 .wpcf7-submit {
  width: 100%; margin-top: .5rem; cursor: pointer; border: 1px solid transparent; border-radius: 100px;
  background: var(--gold); color: var(--navy);
  font-family: var(--sans); font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  font-size: .82rem; padding: 1rem 1.7rem; transition: background .3s var(--ease), color .3s var(--ease);
}
.contact__form--cf7 .wpcf7-submit:hover,
.contact__form--cf7 .wpcf7-submit:focus { background: var(--gold-deep); color: var(--navy); }
.contact__form--cf7 .wpcf7-spinner { background-color: var(--navy); }
.contact__form--cf7 .wpcf7-response-output {
  margin: 1.2rem 0 0 !important; padding: .8rem 1rem !important; border-radius: 8px;
  border-color: var(--line) !important; color: var(--navy);
}
.contact__form--cf7 .wpcf7-not-valid-tip { color: #c0392b; font-size: .8rem; }
/* botão de WhatsApp que aparece após o envio bem-sucedido */
.cf7-wa-cta { display: none; margin-top: 1.25rem; text-decoration: none; }

/* painel de agradecimento (substitui o formulário após o envio) */
.cf7-thanks { display: none; text-align: center; padding: .5rem 0; }
.cf7-thanks__check {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold); color: var(--navy); font-size: 1.7rem; line-height: 1; margin-bottom: 1.25rem;
}
.cf7-thanks__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.4rem, 3vw, 1.8rem); color: var(--navy); margin-bottom: .75rem; }
.cf7-thanks__text { color: var(--muted); font-size: 1rem; line-height: 1.6; margin: 0 auto .75rem; max-width: 38ch; }
.cf7-thanks__wa-intro { color: var(--navy); font-weight: 600; margin-top: 1.5rem; margin-bottom: .35rem; }
.cf7-thanks .cf7-wa-cta { margin-top: .5rem; }

.lp-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.lp-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 1.85rem;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.lp-section--alt .lp-card { background: var(--white); }
.lp-card:hover { transform: translateY(-5px); box-shadow: 0 26px 55px -32px rgba(39, 41, 43, .4); border-color: var(--gold); }
.lp-card__title { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--navy); margin-bottom: .65rem; }
.lp-card__title::before { content: ""; display: block; width: 36px; height: 3px; border-radius: 2px; background: var(--gold); margin-bottom: 1rem; }
.lp-card__desc { color: var(--muted); font-size: .98rem; line-height: 1.6; }

.lp-diffs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.lp-diff { padding-left: 1.25rem; border-left: 2px solid var(--gold); }
.lp-diff__title { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; color: var(--navy); margin-bottom: .45rem; }
.lp-diff__desc { color: var(--muted); font-size: .98rem; line-height: 1.6; }

.lp-faq { max-width: 860px; }
