/* ==========================================================================
   Barreto Advocacia - Estilos globais
   ========================================================================== */

:root {
  /* Paleta institucional */
  --gold: #E0AE77;
  --gold-dark: #C99556;
  --gold-soft: rgba(224, 174, 119, 0.14);
  --graphite: #3A444F;
  --graphite-deep: #2B333C;
  --graphite-darker: #20262D;
  --graphite-soft: #4B5763;

  /* Neutros */
  --light: #F7F5F2;
  --light-alt: #EFEBE5;
  --white: #FFFFFF;
  --text: #2E3740;
  --text-muted: #66717C;
  --text-on-dark: #E9E6E1;
  --text-on-dark-muted: #AEB5BC;
  --border: #E2DDD5;
  --border-dark: rgba(255, 255, 255, 0.12);


  /* Tipografia */
  --font-title: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1180px;
  --header-h: 74px;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 2px 10px rgba(32, 38, 45, 0.08);
  --shadow-md: 0 12px 32px rgba(32, 38, 45, 0.14);
  --shadow-lg: 0 24px 60px rgba(32, 38, 45, 0.22);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Reset -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.2; margin: 0; font-weight: 600; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
body.is-locked { overflow: hidden; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  background: var(--gold); color: var(--graphite-darker); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* Botoes ------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 4px; border: 2px solid transparent;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn i { font-size: 1.2em; }
.btn--primary {
  position: relative; overflow: hidden;
  background: var(--gold); color: var(--graphite-darker); box-shadow: 0 8px 22px rgba(224, 174, 119, 0.35);
}
.btn--primary::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 70%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg); transition: left .01s;
}
.btn--primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(224, 174, 119, 0.45); }
.btn--primary:hover::after { left: 140%; transition: left .55s ease; }
.btn--outline { border-color: var(--gold); color: var(--gold); }
.btn--outline:hover { background: var(--gold); color: var(--graphite-darker); transform: translateY(-2px); }
.btn--outline-dark { border-color: var(--graphite); color: var(--graphite); }
.btn--outline-dark:hover { background: var(--graphite); color: var(--white); transform: translateY(-2px); }
.btn--block { width: 100%; }

/* Cabecalho ---------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(32, 38, 45, 0.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-dark);
  transition: background .3s, box-shadow .3s;
}
.site-header.is-scrolled { background: rgba(32, 38, 45, 0.98); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: auto; height: 48px; display: block; }

.nav { display: flex; align-items: center; gap: 24px; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 22px; }
.nav__link {
  position: relative; color: var(--text-on-dark); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 0; transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--gold); transition: width .3s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--gold); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { width: 100%; }
.nav__cta { padding: 11px 20px; font-size: 0.8rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--border-dark); border-radius: var(--radius-sm);
  background: transparent; color: var(--white); font-size: 1.5rem; place-items: center;
}

/* Secoes (alternancia claro/escuro) ---------------------------------------- */
.section { padding: 100px 0; position: relative; }
.section--light { background: var(--light); color: var(--text); }
.section--white { background: var(--white); color: var(--text); }
.section--dark { background: var(--graphite); color: var(--text-on-dark); }
.section--deep { background: var(--graphite-deep); color: var(--text-on-dark); }

.section__head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px;
  color: var(--gold-dark); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.section--dark .eyebrow, .section--deep .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold); }
.section__title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 18px; }
.section--light .section__title, .section--white .section__title { color: var(--graphite); }
.section--dark .section__title, .section--deep .section__title { color: var(--white); }
.section__lead { color: var(--text-muted); font-size: 1.05rem; }
.section--dark .section__lead, .section--deep .section__lead { color: var(--text-on-dark-muted); }

/* Hero --------------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: stretch;
  padding: calc(var(--header-h) + 36px) 0 0; color: var(--white); overflow: hidden;
  background:
    linear-gradient(125deg, #1A1F25 0%, #2B333C 38%, #3A444F 68%, #4A3F35 100%);
}
.hero::before {
  content: ""; position: absolute; inset: -4%; z-index: 0; pointer-events: none;
  background: url("../img/fundo-hero.jpg") center / cover no-repeat;
  opacity: 0.14;
  animation: hero-bg-pan 28s ease-in-out infinite alternate;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 88% 18%, rgba(224, 174, 119, 0.28), transparent 58%),
    radial-gradient(ellipse 50% 45% at 8% 85%, rgba(224, 174, 119, 0.12), transparent 55%),
    linear-gradient(105deg,
      rgba(26, 31, 37, 0.88) 0%,
      rgba(43, 51, 60, 0.62) 42%,
      rgba(58, 68, 79, 0.28) 72%,
      rgba(224, 174, 119, 0.12) 100%);
}
.hero__grid {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 40px;
  align-items: center; width: 100%;
}
.hero__inner { position: relative; max-width: 560px; padding-bottom: 48px; align-self: center; order: 1; }
.hero__title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 18px; letter-spacing: -0.01em; line-height: 1.18; color: var(--white); }
.hero__title em {
  font-style: normal; color: var(--gold);
  background: linear-gradient(120deg, var(--gold) 0%, #F0D2A4 50%, var(--gold) 100%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; animation: gold-shimmer 5s linear infinite;
}
.hero__text { font-size: clamp(0.95rem, 1.3vw, 1.05rem); color: var(--text-on-dark); max-width: 520px; margin-bottom: 26px; line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 20px; border-top: 1px solid var(--border-dark); }
.hero__tags li {
  display: inline-flex; align-items: center; gap: 8px; color: var(--text-on-dark-muted); font-size: 0.84rem;
  padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
  transition: background .25s, border-color .25s, transform .25s;
}
.hero__tags li:hover { background: rgba(224,174,119,0.1); border-color: rgba(224,174,119,0.3); transform: translateY(-2px); }
.hero__tags i { color: var(--gold); font-size: 1.2rem; }

.hero__photo {
  position: relative; margin: 0; justify-self: end; align-self: end; width: 100%; max-width: 380px; order: 2;
  animation: hero-photo-in 1.1s var(--ease) .15s both;
}
.hero__photo::before {
  content: ""; position: absolute; left: 12%; right: 12%; bottom: 4%; height: 18%; z-index: 0;
  background: radial-gradient(ellipse at center, rgba(224,174,119,0.35), transparent 70%);
  filter: blur(18px); pointer-events: none;
}
.hero__photo img {
  position: relative; z-index: 1; width: 100%; height: auto; display: block;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.45));
  animation: hero-float 6.5s ease-in-out infinite;
}

.hero__inner > * { animation: hero-rise .85s var(--ease) both; }
.hero__inner > *:nth-child(1) { animation-delay: .15s; }
.hero__inner > *:nth-child(2) { animation-delay: .28s; }
.hero__inner > *:nth-child(3) { animation-delay: .4s; }
.hero__inner > *:nth-child(4) { animation-delay: .52s; }
.hero__inner > *:nth-child(5) { animation-delay: .64s; }

@keyframes hero-bg-pan {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}
@keyframes hero-photo-in {
  from { opacity: 0; transform: translateY(36px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes gold-shimmer {
  to { background-position: 200% center; }
}

/* Sobre -------------------------------------------------------------------- */
.about { display: grid; grid-template-columns: minmax(280px, 360px) 1fr; gap: 72px; align-items: center; }
.about__photo { position: relative; width: 100%; max-width: 360px; aspect-ratio: 5 / 6; justify-self: start; }
.about__photo::before {
  content: ""; position: absolute; inset: -12px; border: 2px solid var(--gold); border-radius: calc(var(--radius) + 4px); z-index: 0;
  transition: transform .45s var(--ease);
}
.about__photo:hover::before { transform: translate(4px, 4px); }
.about__photo img {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); background: var(--graphite); display: block;
  transition: transform .5s var(--ease);
}
.about__photo:hover img { transform: scale(1.02); }
.about__badge {
  position: absolute; z-index: 2; left: -10px; bottom: 20px; background: var(--graphite); color: var(--white);
  padding: 14px 18px; border-radius: var(--radius-sm); border-left: 4px solid var(--gold); box-shadow: var(--shadow-md);
}
.about__badge strong { display: block; font-family: var(--font-title); font-size: 1.15rem; }
.about__badge span { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.about__content .eyebrow::after { display: none; }
.about__content .section__title { margin-bottom: 24px; }
.about__content p { color: var(--text); margin-bottom: 18px; font-size: 1.04rem; }
.about__list { list-style: none; display: grid; gap: 12px; margin: 28px 0 34px; }
.about__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.97rem; color: var(--graphite); }
.about__list i { color: var(--gold-dark); font-size: 1.35rem; flex-shrink: 0; margin-top: 2px; }

/* Servicos ----------------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid--services { grid-template-columns: repeat(4, 1fr); }
.service-card {
  position: relative; padding: 36px 28px 32px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid var(--border-dark); overflow: hidden;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: transform .35s var(--ease), border-color .35s, background .35s, box-shadow .35s;
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--gold); transition: width .45s var(--ease);
}
.service-card::after {
  content: ""; position: absolute; inset: auto -40% -40% auto; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(224,174,119,0.18), transparent 70%);
  opacity: 0; transition: opacity .35s; pointer-events: none;
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(224, 174, 119, 0.55); box-shadow: 0 22px 46px rgba(0, 0, 0, 0.35); }
.service-card:hover::before { width: 100%; }
.service-card:hover::after { opacity: 1; }
.service-card__icon {
  width: 60px; height: 60px; display: grid; place-items: center; margin-bottom: 22px;
  border-radius: 14px; background: var(--gold-soft); color: var(--gold); font-size: 1.9rem;
  transition: transform .35s var(--ease), background .35s;
}
.service-card:hover .service-card__icon { transform: scale(1.08) rotate(-4deg); background: rgba(224,174,119,0.24); }
.service-card h3 { font-size: 1.22rem; color: var(--white); margin-bottom: 12px; }
.service-card p { font-size: 0.93rem; color: var(--text-on-dark-muted); line-height: 1.65; }
.services__cta { text-align: center; margin-top: 54px; }

/* Diferenciais ------------------------------------------------------------- */
.grid--diffs { grid-template-columns: repeat(3, 1fr); gap: 28px; }
.diff {
  display: flex; gap: 20px; align-items: flex-start; padding: 32px 28px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.diff:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.diff__icon {
  flex-shrink: 0; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%;
  background: var(--graphite); color: var(--gold); font-size: 1.7rem;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.diff:hover .diff__icon { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(224,174,119,0.15); }
.diff h3 { font-size: 1.15rem; color: var(--graphite); margin-bottom: 8px; }
.diff p { font-size: 0.93rem; color: var(--text-muted); line-height: 1.6; }

/* Avaliações Google -------------------------------------------------------- */
.avaliacoes-summary {
  display: flex; justify-content: center; margin: -8px 0 40px;
}
.avaliacoes-badge {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 14px 20px; width: 100%; max-width: 760px; padding: 20px 28px;
  border: 1px solid var(--border-dark); border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}
.avaliacoes-badge__icon { font-size: 1.6rem; color: var(--gold); }
.avaliacoes-badge__score {
  display: inline-flex; align-items: center; gap: 12px; color: var(--white);
}
.avaliacoes-badge__score strong {
  font-size: 1.9rem; line-height: 1; letter-spacing: -0.02em; color: var(--white);
}
.avaliacoes-badge__name {
  margin: 0; flex: 1 1 220px; font-size: 0.92rem; color: var(--text-on-dark-muted);
  text-align: center;
}
.avaliacoes-stars {
  display: inline-flex; align-items: center; gap: 3px; color: var(--gold); font-size: 1.1rem;
  line-height: 1;
}
.avaliacoes-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px;
}
.avaliacao-card {
  display: flex; flex-direction: column; gap: 16px; min-width: 0;
  padding: 28px 24px; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.avaliacao-card:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 174, 119, 0.5);
  background: rgba(224, 174, 119, 0.08);
}
.avaliacao-card__top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.avaliacao-card__source {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-on-dark-muted); white-space: nowrap;
}
.avaliacao-card__source i { font-size: 1.05rem; color: var(--gold); }
.avaliacao-card__text {
  margin: 0; font-size: 1rem; line-height: 1.7; color: var(--text-on-dark);
  overflow-wrap: anywhere; word-break: break-word;
}
.avaliacao-card__author {
  margin-top: auto; display: flex; flex-direction: column; gap: 4px;
  padding-top: 16px; border-top: 1px solid var(--border-dark);
}
.avaliacao-card__author strong {
  font-size: 0.95rem; color: var(--white); font-weight: 600;
}
.avaliacao-card__author span {
  font-size: 0.82rem; color: var(--text-on-dark-muted);
}
.avaliacoes-cta {
  display: flex; justify-content: center; margin-top: 44px;
}

/* Cards de posts ----------------------------------------------------------- */
.grid--posts { grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card {
  display: flex; flex-direction: column; background: var(--white); color: var(--text);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.post-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--graphite); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }
.post-card:hover .post-card__media img { transform: scale(1.08); filter: brightness(1.05); }
.post-card__tag {
  position: absolute; left: 14px; top: 14px; background: var(--gold); color: var(--graphite-darker);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 10px; border-radius: 3px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 28px; }
.post-card__date { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 12px; }
.post-card__date i { color: var(--gold-dark); font-size: 1.05rem; }
.post-card__title { font-size: 1.2rem; color: var(--graphite); margin-bottom: 12px; line-height: 1.3; }
.post-card__title a:hover { color: var(--gold-dark); }
.post-card__excerpt { font-size: 0.93rem; color: var(--text-muted); margin-bottom: 22px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 0.84rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite);
}
.post-card__link i { color: var(--gold-dark); transition: transform .25s var(--ease); }
.post-card__link:hover { color: var(--gold-dark); }
.post-card__link:hover i { transform: translateX(5px); }
.posts__cta { text-align: center; margin-top: 54px; }

/* Contato ------------------------------------------------------------------ */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.contact__info .section__title { text-align: left; }
.contact__info .eyebrow::after { display: none; }
.contact__info > p { color: var(--text-muted); margin-bottom: 34px; }
.contact-list { list-style: none; display: grid; gap: 22px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; }
.contact-item__icon {
  flex-shrink: 0; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 12px;
  background: var(--graphite); color: var(--gold); font-size: 1.45rem;
}
.contact-item small { display: block; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.contact-item a, .contact-item span.value { font-size: 1.02rem; font-weight: 500; color: var(--graphite); }
.contact-item a:hover { color: var(--gold-dark); }

.form-card { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-md); border-top: 4px solid var(--gold); }
.form-card h3 { font-size: 1.5rem; color: var(--graphite); margin-bottom: 6px; }
.form-card > p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--graphite); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; background: var(--light); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 4px var(--gold-soft);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #C0504D; }
.field__error { display: none; font-size: 0.8rem; color: #B03A37; }
.field.has-error .field__error { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.85rem; color: var(--text-muted); }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold-dark); flex-shrink: 0; }
.form-note { margin-top: 14px; font-size: 0.8rem; color: var(--text-muted); text-align: center; }

/* Rodape ------------------------------------------------------------------- */
.site-footer { background: var(--graphite-darker); color: var(--text-on-dark-muted); padding: 80px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 56px; padding-bottom: 56px; }
.footer__logo { display: inline-block; width: 230px; max-width: 100%; }
.footer__logo img { width: 100%; height: auto; }
.footer__about p { margin: 20px 0 24px; font-size: 0.93rem; max-width: 360px; }
.footer__title { font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.footer__links { list-style: none; display: grid; gap: 12px; }
.footer__links a { font-size: 0.93rem; transition: color .2s, padding .2s; }
.footer__links a:hover { color: var(--gold); padding-left: 6px; }
.footer__contact { list-style: none; display: grid; gap: 16px; }
.footer__contact li { display: flex; gap: 14px; align-items: flex-start; font-size: 0.93rem; }
.footer__contact i { color: var(--gold); font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.footer__contact a:hover { color: var(--gold); }
.social { display: flex; gap: 12px; }
.social a {
  width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--border-dark);
  border-radius: 50%; color: var(--text-on-dark); font-size: 1.3rem; transition: all .25s;
}
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--graphite-darker); transform: translateY(-3px); }
.footer__bottom { border-top: 1px solid var(--border-dark); padding: 24px 0; font-size: 0.83rem; }
.footer__bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }

/* Botao flutuante WhatsApp -------------------------------------------------- */
.whatsapp-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 150;
  width: 60px; height: 60px; display: grid; place-items: center;
  background: #25D366; color: #fff; border-radius: 50%;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45), 0 6px 18px rgba(0, 0, 0, 0.22);
  transition: transform .25s var(--ease), box-shadow .25s;
  -webkit-tap-highlight-color: transparent;
}
.whatsapp-float svg {
  display: block; width: 30px; height: 30px;
  shape-rendering: geometricPrecision;
}
.whatsapp-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #25D366; z-index: -1;
  animation: wa-pulse 2.4s ease-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.55), 0 8px 22px rgba(0, 0, 0, 0.28);
}
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.65); opacity: 0; } }

/* Splash screen ------------------------------------------------------------ */
.splash {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; text-align: center;
  background: radial-gradient(700px 400px at 50% 40%, rgba(224, 174, 119, 0.12), transparent 70%), var(--graphite-darker);
  opacity: 1; visibility: visible; transition: opacity .9s ease, visibility .9s ease;
  /* Seguranca: se o JS falhar, a splash some sozinha */
  animation: splash-failsafe .9s ease 3.2s forwards;
}
.splash.is-hidden { opacity: 0; visibility: hidden; }
.splash__inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.splash__logo { width: min(320px, 72vw); animation: splash-in .9s var(--ease) both; }
.splash__logo img { width: 100%; height: auto; display: block; }
.splash__bar { width: 140px; height: 2px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.splash__bar::after { content: ""; display: block; height: 100%; width: 100%; background: var(--gold); transform: translateX(-100%); animation: splash-bar 1.4s ease-in-out .25s forwards; }
@keyframes splash-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes splash-bar { to { transform: translateX(0); } }
@keyframes splash-failsafe { to { opacity: 0; visibility: hidden; } }

/* Paginas internas: cabecalho de pagina ------------------------------------ */
.page-hero {
  padding: calc(var(--header-h) + 70px) 0 70px; color: var(--white); text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(700px 320px at 80% 0%, rgba(224, 174, 119, 0.15), transparent 60%),
    linear-gradient(135deg, var(--graphite-darker), var(--graphite));
}
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 16px; }
.page-hero p { max-width: 640px; margin-inline: auto; color: var(--text-on-dark-muted); font-size: 1.05rem; }

/* Blog: filtros ------------------------------------------------------------ */
.blog-tools { display: flex; flex-wrap: wrap; gap: 20px 28px; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.search { position: relative; flex: 1 1 280px; max-width: 380px; }
.search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 1.2rem; }
.search input {
  width: 100%; padding: 14px 16px 14px 46px; border: 1.5px solid var(--border); border-radius: 50px; background: var(--white);
}
.search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 9px 18px; border-radius: 50px; border: 1.5px solid var(--border); background: var(--white);
  font-size: 0.83rem; font-weight: 600; color: var(--graphite); transition: all .2s;
}
.chip:hover { border-color: var(--gold); }
.chip.is-active { background: var(--graphite); border-color: var(--graphite); color: var(--gold); }
.blog-count { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 24px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); grid-column: 1 / -1; }
.empty-state i { font-size: 3rem; color: var(--gold-dark); margin-bottom: 12px; }

/* Artigo ------------------------------------------------------------------- */
.article-hero { padding: calc(var(--header-h) + 60px) 0 40px; background: linear-gradient(135deg, var(--graphite-darker), var(--graphite)); color: var(--white); }
.article-hero .container { max-width: 880px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.83rem; color: var(--text-on-dark-muted); margin-bottom: 26px; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb i { font-size: 0.8rem; }
.article-tag { display: inline-block; background: var(--gold); color: var(--graphite-darker); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 12px; border-radius: 3px; margin-bottom: 20px; }
.article-hero h1 { font-size: clamp(1.8rem, 4vw, 2.9rem); margin-bottom: 18px; line-height: 1.2; }
.article-subtitle { font-size: 1.15rem; color: var(--text-on-dark); margin-bottom: 24px; max-width: 720px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 0.88rem; color: var(--text-on-dark-muted); }
.article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.article-meta i { color: var(--gold); font-size: 1.1rem; }

.article-layout { max-width: 880px; margin-inline: auto; padding: 0 24px; }
.article-cover { margin-top: 36px; position: relative; z-index: 2; }
.article-cover img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }

.prose { padding: 54px 0 20px; font-size: 1.08rem; line-height: 1.85; color: var(--text); }
.prose > * + * { margin-top: 1.3em; }
.prose h2 { font-size: 1.7rem; color: var(--graphite); margin-top: 2.1em; padding-bottom: 12px; border-bottom: 2px solid var(--gold-soft); }
.prose h3 { font-size: 1.28rem; color: var(--graphite); margin-top: 1.8em; }
.prose strong { color: var(--graphite); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-top: .5em; padding-left: .3em; }
.prose li::marker { color: var(--gold-dark); font-weight: 700; }
.prose blockquote {
  margin-left: 0; margin-right: 0; padding: 22px 26px; background: var(--white); border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; box-shadow: var(--shadow-sm);
}
.prose blockquote p + p { margin-top: .6em; }
.prose .lead { font-size: 1.22rem; color: var(--graphite); font-weight: 500; }
.prose img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.6em auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.prose figure { margin: 1.6em 0; }
.prose figcaption {
  margin-top: .55em;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}
.prose .callout {
  padding: 20px 24px; background: var(--gold-soft); border-radius: var(--radius-sm); border: 1px solid rgba(224, 174, 119, 0.4);
}
.prose .faq dt { font-weight: 700; color: var(--graphite); margin-top: 1.2em; }
.prose .faq dd { margin: .3em 0 0; }

.article-cta {
  margin: 30px 0 10px; padding: 40px; border-radius: var(--radius); background: var(--graphite); color: var(--text-on-dark);
  display: flex; flex-wrap: wrap; gap: 24px 36px; align-items: center; justify-content: space-between; border-left: 5px solid var(--gold);
}
.article-cta h3 { color: var(--white); font-size: 1.45rem; margin-bottom: 8px; }
.article-cta p { max-width: 520px; color: var(--text-on-dark-muted); font-size: 0.98rem; }

.author-box {
  display: flex; gap: 22px; align-items: center; margin-top: 40px; padding: 26px 28px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.author-box img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid var(--gold); }
.author-box small { display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; }
.author-box strong { display: block; font-family: var(--font-title); font-size: 1.25rem; color: var(--graphite); margin: 2px 0 4px; }
.author-box__oab {
  display: inline-block; margin: 0 0 8px; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.06em; color: var(--graphite); background: var(--gold-soft);
  padding: 4px 10px; border-radius: 3px;
}
.author-box p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.55; }
.author-box a { color: var(--graphite); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

.article-share { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 26px 0; margin-top: 30px; border-top: 1px solid var(--border); }
.article-share strong { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--graphite); }
.share-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1.5px solid var(--border); border-radius: 50px;
  background: var(--white); font-size: 0.85rem; font-weight: 600; color: var(--graphite); transition: all .2s;
}
.share-btn:hover { border-color: var(--gold); color: var(--gold-dark); }
.article-footer-links { padding: 10px 0 70px; }
.related { padding: 80px 0; }

/* Animacao de revelacao ---------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsivo --------------------------------------------------------------- */
@media (max-width: 1080px) {
  .grid--services { grid-template-columns: repeat(2, 1fr); }
  .grid--diffs { grid-template-columns: repeat(2, 1fr); }
  .avaliacoes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about { gap: 56px; }
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 8px; justify-items: center; }
  .hero__photo {
    order: 1; max-width: 240px; justify-self: center; align-self: end; margin-top: 8px;
  }
  .hero__inner {
    order: 2; padding-bottom: 40px; padding-top: 8px; text-align: center; max-width: 100%;
  }
  .hero::after {
    background:
      radial-gradient(ellipse 80% 50% at 50% 0%, rgba(224, 174, 119, 0.22), transparent 55%),
      linear-gradient(180deg,
        rgba(26, 31, 37, 0.35) 0%,
        rgba(43, 51, 60, 0.72) 45%,
        rgba(26, 31, 37, 0.94) 100%);
  }
  .hero__actions { justify-content: center; }
  .hero__tags { justify-content: center; }

  .site-header {
    z-index: 300;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #1A1F25;
  }
  .site-header.is-menu-open { background: #1A1F25; border-bottom-color: rgba(255,255,255,0.08); }

  .nav-toggle { display: grid; position: relative; z-index: 2; }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 250;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 28px;
    width: 100%;
    height: 100%;
    min-height: 100dvh;
    padding: calc(var(--header-h) + 28px) 24px 40px;
    background: #1A1F25;
    transform: translateX(100%);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: transform .35s var(--ease), visibility .35s, opacity .35s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav.is-open {
    transform: none;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .nav__link {
    display: block;
    padding: 18px 4px;
    font-size: 1.05rem;
    letter-spacing: 0.12em;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: #F4F1EC;
  }
  .nav__link::after { display: none; }
  .nav__link:hover, .nav__link[aria-current="page"] { color: var(--gold); }
  .nav__cta {
    width: 100%;
    margin-top: 8px;
    padding: 16px;
    text-align: center;
  }

  .about { grid-template-columns: 1fr; }
  .about__photo { max-width: 300px; margin-inline: auto; margin-bottom: 12px; }
  .about__photo::before { inset: -10px; }
  .about__badge { left: 0; }
  .contact { grid-template-columns: 1fr; gap: 48px; }
  .grid--posts { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 42px; }
  .grid--services, .grid--diffs, .grid--posts { grid-template-columns: 1fr; }
  .avaliacoes-grid { grid-template-columns: 1fr; }
  .avaliacoes-badge__name { flex-basis: 100%; }
  .hero { min-height: auto; padding-bottom: 70px; }
  .hero__actions .btn { width: 100%; }
  .form-card { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__photo { max-width: 260px; }
  .about__photo::before { inset: -8px; }
  .article-cta { padding: 28px 24px; }
  .author-box { flex-direction: column; text-align: center; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
  .brand img { height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero::before, .hero__photo, .hero__photo img, .hero__inner > *, .hero__title em { animation: none !important; }
}
