/* ============================================================================
   Silva & Valério — Sociedade de Advogados
   Repaginação moderna (2026)
   Paleta: preto + cinza + vinho (#a23f41) — sem dourado, visual sóbrio
   Tipografia: Playfair Display (títulos) + Inter (texto)
   ========================================================================== */

:root {
  --wine: #a23f41;
  --wine-dark: #7e2f31;
  --wine-deep: #5c2122;
  --black: #141416;
  --black-2: #1b1b1d;
  --gray-900: #2a2a2d;
  --gray-700: #3f3f43;
  --gray-600: #6b6b70;
  --gray-400: #9a9a9f;
  --gray-300: #c4c4c8;
  --gray-200: #e6e6e9;
  --gray-100: #f4f4f5;
  --gray-50: #fafafa;
  --white: #ffffff;
  --line: #e5e5e8;
  --ink: #1a1a1c;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.09);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.14);
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --radius-sm: 12px;
  --topbar-h: 40px;
  --header-main-h: 118px;
  --header-h: 158px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::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: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

::selection {
  background: var(--wine);
  color: #fff;
}

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

.section {
  padding: 104px 0;
}

.section--gray {
  background: var(--gray-100);
}

/* --- Eyebrow / títulos de seção --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 600;
  color: var(--wine);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--wine);
}

.eyebrow--center::after {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--wine);
}

.section-head {
  max-width: 680px;
  margin-bottom: 60px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-title {
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.section-title em {
  font-style: italic;
  color: var(--wine);
}

.section-sub {
  margin-top: 18px;
  color: var(--gray-600);
  font-size: 17px;
}

/* ============================================================================
   HEADER (menu centralizado)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(92, 33, 34, 0.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  backdrop-filter: blur(18px) saturate(1.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(92, 33, 34, 0.7);
  border-bottom-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.16);
}

/* Barra superior com contato */
.topbar {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s var(--ease);
}

.topbar-item svg {
  width: 15px;
  height: 15px;
  color: rgba(255, 255, 255, 0.85);
}

.topbar-item:hover {
  color: #fff;
}

/* Barra principal: logo + menu, tudo centralizado */
.header-main {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  height: 46px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.nav a {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #edc3c4;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.35s var(--ease);
}

.nav a:hover,
.nav a.is-active {
  color: #fff;
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Botão hambúrguer (mobile) */
.nav-toggle {
  position: absolute;
  top: 50%;
  right: 4%;
  transform: translateY(-50%);
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menu mobile */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(92, 33, 34, 0.96);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 0 24px;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s var(--ease);
}

.site-header.is-open .mobile-menu {
  transform: none;
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  display: block;
  padding: 15px 6%;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

/* ============================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 96px;
  color: #fff;
  background: #0a0a0b;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(110% 70% at 80% 8%, rgba(162, 63, 65, 0.22) 0%, rgba(162, 63, 65, 0) 55%),
    linear-gradient(105deg, rgba(10, 10, 11, 0.94) 0%, rgba(10, 10, 11, 0.82) 45%, rgba(10, 10, 11, 0.6) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wine);
  box-shadow: 0 0 0 4px rgba(162, 63, 65, 0.3);
}

.hero-kicker {
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 14px;
}

.hero-title {
  font-size: clamp(40px, 6.4vw, 72px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #fff;
}

.hero-title .rotator {
  display: block;
  min-height: 1.2em;
  color: var(--wine);
  font-style: italic;
}

.hero-title .rotator .caret {
  display: inline-block;
  width: 2px;
  height: 0.9em;
  margin-left: 4px;
  background: var(--wine);
  vertical-align: -0.1em;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero-text {
  margin-top: 26px;
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
}

.hero-text strong {
  color: #fff;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn svg {
  width: 17px;
  height: 17px;
}

.btn--primary {
  background: var(--wine);
  color: #fff;
  border: 1px solid var(--wine);
}

.btn--primary:hover {
  background: var(--wine-dark);
  border-color: var(--wine-dark);
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(162, 63, 65, 0.4);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.btn--dark {
  background: var(--black);
  color: #fff;
  border: 1px solid var(--black);
}

.btn--dark:hover {
  background: var(--wine);
  border-color: var(--wine);
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(162, 63, 65, 0.3);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.hero-scroll .line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), transparent);
}

/* ============================================================================
   STATS BAND
   ========================================================================== */
.stats {
  position: relative;
  z-index: 2;
  background: var(--black);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 52px 0;
}

.stat {
  text-align: center;
  padding: 12px 24px;
  position: relative;
}

.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 52px;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.stat-label {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

/* ============================================================================
   ABOUT
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-media::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 2px solid var(--wine);
  transform: translate(18px, 18px);
  z-index: -1;
}

.about-media .since-badge {
  position: absolute;
  left: -20px;
  bottom: 30px;
  background: var(--wine);
  color: #fff;
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
}

.since-badge .num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.since-badge .cap {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.92;
  margin-top: 4px;
}

.about-body .lead {
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink);
  font-weight: 400;
}

.about-body .lead strong {
  color: var(--wine);
  font-weight: 600;
}

.about-points {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}

.about-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.about-point .ic {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gray-100);
  border: 1px solid var(--line);
  color: var(--wine);
  display: grid;
  place-items: center;
}

.about-point .ic svg {
  width: 20px;
  height: 20px;
}

.about-point h4 {
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

.about-point p {
  font-size: 14.5px;
  color: var(--gray-600);
}

/* --- Advogados --- */
.team {
  margin-top: 84px;
}

.team-head {
  margin-bottom: 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.member {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  overflow: hidden;
}

.member::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--wine);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.member:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.member:hover::before {
  transform: scaleX(1);
}

.member-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--wine);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
}

.member h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 6px;
}

.member .oab {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wine);
  background: rgba(162, 63, 65, 0.07);
  padding: 5px 12px;
  border-radius: 999px;
}

/* ============================================================================
   SERVICES
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  overflow: hidden;
}

.service:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--wine);
  background: var(--gray-100);
  border: 1px solid var(--line);
  margin-bottom: 22px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service h3 {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 14px;
}

.service ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.service li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--gray-600);
}

.service li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wine);
}

/* ============================================================================
   CTA BAND
   ========================================================================== */
.cta-band {
  position: relative;
  padding: 88px 0;
  color: #fff;
  overflow: hidden;
  background: var(--wine-deep);
}

.cta-band .bg {
  position: absolute;
  inset: 0;
}

.cta-band .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}

.cta-band .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(92, 33, 34, 0.95), rgba(20, 20, 22, 0.9));
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-inner h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  max-width: 620px;
}

.cta-inner p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16.5px;
}

/* ============================================================================
   CONTACT
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 16px;
}

.contact-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.contact-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.contact-card .ic {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--wine);
  color: #fff;
  display: grid;
  place-items: center;
}

.contact-card .ic svg {
  width: 22px;
  height: 22px;
}

.contact-card h4 {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-600);
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-card p,
.contact-card a {
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
}

.contact-card a:hover {
  color: var(--wine);
}

.contact-hours {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--gray-100);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.contact-hours .ic {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--black);
  color: #fff;
  display: grid;
  place-items: center;
}

.contact-hours .ic svg {
  width: 22px;
  height: 22px;
}

.contact-hours h4 {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-600);
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-hours p {
  font-size: 15.5px;
  color: var(--gray-700);
}

/* --- Form --- */
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  font-size: 26px;
  margin-bottom: 8px;
}

.contact-form .form-sub {
  color: var(--gray-600);
  font-size: 15px;
  margin-bottom: 26px;
}

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

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

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-700);
}

.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--gray-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  width: 100%;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--wine);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(162, 63, 65, 0.1);
}

.field textarea {
  min-height: 140px;
}

.form-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--gray-600);
}

.form-submit {
  margin-top: 24px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--wine);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 17px 30px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.form-submit:hover {
  background: var(--wine-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(162, 63, 65, 0.36);
}

.form-submit svg {
  width: 18px;
  height: 18px;
}

/* ============================================================================
   MAP
   ========================================================================== */
.map-wrap {
  position: relative;
  line-height: 0;
  border-top: 1px solid var(--line);
}

.map-wrap iframe {
  width: 100%;
  height: 440px;
  border: 0;
  filter: grayscale(0.5) contrast(1.04);
}

/* ============================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #0c0c0d;
  color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
  height: 42px;
  width: auto;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 14px;
  max-width: 340px;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s var(--ease);
}

.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}

.footer-bottom .by a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom .by a:hover {
  color: var(--wine);
}

/* ============================================================================
   FLUTUANTE / UTILITÁRIOS
   ========================================================================== */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top svg {
  width: 20px;
  height: 20px;
}

.to-top:hover {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
}

/* --- Reveal animation --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.4s; }
.reveal[data-delay="6"] { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ============================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 44px; }
}

@media (max-width: 900px) {
  :root {
    --header-h: 64px;
    --topbar-h: 0px;
  }

  .topbar {
    display: none;
  }

  .header-main {
    flex-direction: row;
    justify-content: center;
    gap: 0;
    padding: 9px 0;
  }

  .brand img {
    height: 40px;
  }

  .nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-media {
    max-width: 520px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 0;
    padding: 42px 0;
  }

  .stat:nth-child(3)::before {
    display: none;
  }
}

@media (max-width: 620px) {
  .section { padding: 72px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .contact-form { padding: 26px 22px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 auto; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 8px 12px; }
  .stat + .stat::before { display: none; }
  .footer-inner,
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .about-media::before { display: none; }
  .about-media .since-badge { left: 14px; bottom: 14px; }
  .topbar-inner { gap: 18px; }
}

/* ============================================================================
   BLOG — listagem e detalhe
   ========================================================================== */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 72px;
  color: #fff;
  background: #0a0a0b;
  overflow: hidden;
  text-align: center;
}

.page-hero .bg {
  position: absolute;
  inset: 0;
}

.page-hero .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.page-hero .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0.82), rgba(10, 10, 11, 0.68));
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero .eyebrow {
  justify-content: center;
}

.page-hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  color: #fff;
}

.page-hero p {
  max-width: 640px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16.5px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.66);
  margin-top: 18px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.66);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb .sep {
  color: rgba(255, 255, 255, 0.34);
}

.breadcrumb .current {
  color: var(--wine);
  font-weight: 600;
}

/* --- Listagem --- */
.blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.post-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.post-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.post-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.post-card:hover .post-card-media img {
  transform: scale(1.06);
}

.post-card-media .category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--wine);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

.post-card-body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12.5px;
  color: var(--gray-600);
  margin-bottom: 12px;
}

.post-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.post-card-meta svg {
  width: 14px;
  height: 14px;
  color: var(--wine);
}

.post-card h3 {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.post-card h3 a {
  color: var(--ink);
}

.post-card h3 a:hover {
  color: var(--wine);
}

.post-card p {
  font-size: 14.5px;
  color: var(--gray-600);
  margin-bottom: 18px;
}

.post-card .more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--wine);
}

.post-card .more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}

.post-card .more:hover svg {
  transform: translateX(4px);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}

.pagination a,
.pagination span {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  transition: all 0.25s var(--ease);
}

.pagination a:hover {
  border-color: var(--wine);
  color: var(--wine);
}

.pagination .current {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
}

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

.article-hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 28px;
}

.article-hero-media img {
  width: 100%;
  aspect-ratio: 21 / 10;
  object-fit: cover;
}

.article-title {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 20px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: 13.5px;
  color: var(--gray-600);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.article-meta svg {
  width: 15px;
  height: 15px;
  color: var(--wine);
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--wine);
  font-size: 13px;
}

.article-body {
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--gray-700);
}

.article-body h2 {
  font-size: 26px;
  margin: 40px 0 16px;
}

.article-body h3 {
  font-size: 20px;
  margin: 32px 0 12px;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body ul {
  margin: 0 0 20px;
  padding-left: 22px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body blockquote {
  margin: 32px 0;
  padding: 22px 28px;
  border-left: 3px solid var(--wine);
  background: var(--gray-100);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  color: var(--ink);
}

/* --- Sidebar --- */
.sidebar {
  display: grid;
  gap: 26px;
}

.widget {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.widget h4 {
  font-size: 18px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.widget h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 40px;
  height: 2px;
  background: var(--wine);
}

.widget-cats a {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14.5px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}

.widget-cats a:last-child {
  border-bottom: 0;
}

.widget-cats a:hover {
  color: var(--wine);
}

.widget-cats .count {
  color: var(--gray-400);
  font-size: 13px;
}

.mini-post {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}

.mini-post:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.mini-post img {
  width: 64px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.mini-post .t {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.mini-post .t:hover {
  color: var(--wine);
}

.mini-post .d {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 4px;
}

/* --- Autor + navegação --- */
.author-box {
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--gray-100);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  margin-top: 44px;
}

.author-box .avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--wine);
  flex-shrink: 0;
}

.author-box h5 {
  font-size: 17px;
  margin-bottom: 4px;
}

.author-box p {
  font-size: 14px;
  color: var(--gray-600);
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 44px;
}

.post-nav a {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: all 0.3s var(--ease);
}

.post-nav a:hover {
  border-color: var(--wine);
  box-shadow: var(--shadow-sm);
}

.post-nav .dir {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 6px;
}

.post-nav .lbl {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.post-nav .next {
  text-align: right;
}

/* --- Responsivo do blog --- */
@media (max-width: 1024px) {
  .blog-list { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .blog-list { grid-template-columns: 1fr; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .next { text-align: left; }
  .author-box { flex-direction: column; text-align: center; }
  .article-hero-media img { aspect-ratio: 16 / 10; }
}

/* ============================================================================
   ENRIQUECIMENTOS DA MATÉRIA (TOC, FAQ, compartilhar, relacionados)
   ========================================================================== */
.toc {
  background: var(--gray-100);
  border: 1px solid var(--line);
  border-left: 3px solid var(--wine);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  margin-bottom: 30px;
}

.toc h4 {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 12px;
}

.toc ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.toc a {
  font-size: 14.5px;
  color: var(--gray-700);
  font-weight: 500;
}

.toc a:hover {
  color: var(--wine);
}

.highlight-box {
  background: linear-gradient(135deg, rgba(162, 63, 65, 0.06), rgba(162, 63, 65, 0.02));
  border: 1px solid rgba(162, 63, 65, 0.18);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 28px 0;
}

.highlight-box h3 {
  font-size: 18px;
  color: var(--wine);
  margin-bottom: 12px;
}

.highlight-box ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.highlight-box li {
  font-size: 15px;
  color: var(--gray-700);
}

.faq {
  margin-top: 42px;
}

.faq > h2 {
  font-size: 26px;
  margin-bottom: 18px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--wine);
  font-weight: 700;
  line-height: 1;
  transition: transform 0.3s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item .faq-a {
  padding: 0 20px 20px;
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}

.share {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.share span {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-600);
  font-weight: 600;
}

.share a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--gray-700);
  transition: all 0.25s var(--ease);
}

.share a:hover {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
}

.share svg {
  width: 18px;
  height: 18px;
}

.related {
  margin-top: 76px;
}

.related-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.related-head h2 {
  font-size: 28px;
}

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

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

/* --- Elementos editoriais retornados pela API llmo --- */
.article-body .gancho {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink);
}

.article-body .resposta-direta {
  background: linear-gradient(135deg, rgba(162, 63, 65, 0.06), rgba(162, 63, 65, 0.02));
  border: 1px solid rgba(162, 63, 65, 0.18);
  border-left: 3px solid var(--wine);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 16px;
  color: var(--ink-soft);
}

/* --- Aviso/Disclaimer das matérias --- */
.disclaimer {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--gray-100);
  border: 1px solid var(--line);
  border-left: 3px solid var(--wine);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-top: 30px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

.disclaimer strong {
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}
