/* ==========================================
   TOKENS & RESET
   ========================================== */
:root {
  --vinho: hsl(333.12deg 100% 20.12%);
  --vinho-dark: hsl(333.12deg 100% 14.87%);
  --gold: hsl(38, 55%, 30%);
  --gold-2: hsl(38, 55%, 72%);
  --gold-light: hsl(38, 60%, 72%);
  --off-white: hsl(40, 30%, 97%);
  --cream: hsl(40, 20%, 94%);
  --text-muted: hsl(220, 20%, 48%);
  --text-light: hsl(220, 20%, 32%);
  --border: hsl(40, 20%, 88%);
  --font-serif: "Cormorant Garamond", "Times New Roman", Times, serif;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--off-white);
  color: var(--vinho);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

ul {
  list-style: none;
}

/* ==========================================
   LAYOUT UTILITIES
   ========================================== */
.container-site {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.bg-navy {
  background: var(--vinho);
}

.bg-navy-deep {
  background: #520025;
}

.bg-white {
  background: #fff;
}

.bg-cream {
  background: var(--cream);
}

.bg-off-white {
  background: var(--off-white);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.gap-lg {
  gap: 4rem;
}

.items-center {
  align-items: center;
}

.text-center {
  text-align: center;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
.section-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-label-light {
  color: var(--gold-light);
}
.section-label-light-1 {
    color: #4a4a4a;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--vinho);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title.light {
  color: #fff;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 52ch;
  margin-bottom: 2rem;
}

.section-subtitle.light {
  color: hsl(40, 15%, 75%);
}

.section-subtitle-center {
  margin-left: auto;
  margin-right: auto;
}

.section-heading-center {
  text-align: center;
  margin-bottom: 3rem;
}

.gold-divider {
  display: block;
  width: 2.5rem;
  height: 2px;
  background: var(--gold-2);
  border-radius: 2px;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn,
.btn-primary,
.btn-secondary,
.btn-gold,
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
  white-space: nowrap;
  text-decoration: none;
  border-radius: 50px;
}

.btn:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-gold:hover,
.btn-outline-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(34, 42, 80, 0.12);
}

.btn-primary {
  background: var(--vinho);
  color: #fff;
  border-color: var(--vinho);
}

.btn-primary:hover {
  background: var(--vinho-dark);
  border-color: var(--vinho-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--vinho);
  border-color: var(--vinho);
}

.btn-secondary:hover {
  background: var(--vinho);
  color: #fff;
}

.btn-gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

.btn-gold:hover {
  background: hsl(38, 55%, 50%);
  border-color: hsl(38, 55%, 50%);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn-gold-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 1.25rem;
  background: var(--gold);
  color: #fff;
  border: 2px solid var(--gold);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
  text-decoration: none;
  border-radius: 50px;
}

.btn-gold-sm:hover {
  background: hsl(38, 55%, 50%);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(34, 42, 80, 0.12);
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
  justify-content: center;
  border-radius: 50px;
}

/* ==========================================
   HEADER
   ========================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(220, 213, 200, 0.75);
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 35px rgba(34, 42, 80, 0.1);
  border-bottom-color: rgba(215, 205, 190, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 72px;
  transition: height 0.35s ease;
}

.site-header.scrolled .header-inner {
  height: 64px;
}

.logo-wrap {
  text-decoration: none;
  flex-shrink: 0;
}

.logo-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--vinho);
  line-height: 1.1;
}

.logo-tagline {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.4rem 0.65rem;
  border-radius: 3px;
  transition: color 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--vinho);
}

.nav-link.active {
  color: var(--vinho);
  font-weight: 600;
}

.header-ctas {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-outline-nav {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--vinho);
  color: var(--vinho);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  border-radius: 50px;
}

.btn-outline-nav:hover {
  background: var(--vinho);
  color: #fff;
}

.btn-primary-nav {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  background: var(--vinho);
  color: #fff;
  transition: background 0.2s;
  white-space: nowrap;
  border-radius: 50px;
}

.btn-primary-nav:hover {
  background: var(--vinho-dark);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--vinho);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
  gap: 0.25rem;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile-link {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--vinho);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}

.nav-mobile-link:last-of-type {
  border-bottom: none;
}

.nav-mobile-ctas {
  margin-top: 1rem;
}

main {
  padding-top: 72px;
}

/* ==========================================
   PAGE HERO
   ========================================== */
.page-hero {
  background: var(--vinho);
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, hsla(38, 55%, 58%, 0.06) 0%, transparent 60%);
}

.page-hero-inner {
  position: relative;
}

.page-hero-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}

.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.page-hero-subtitle {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: hsl(40, 15%, 75%);
  max-width: 50ch;
  line-height: 1.7;
}

/* ==========================================
   CARDS
   ========================================== */
.card-premium {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease,
    background-color 0.35s ease;
}

.card-premium:hover {
  border-color: rgba(196, 157, 92, 0.45);
  box-shadow: 0 18px 46px rgba(34, 42, 80, 0.1);
  transform: translateY(-6px);
}

.card-premium .card-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--vinho);
  margin-bottom: 0.6rem;
}

.card-premium .card-text {
  font-family: var(--font-sans);
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.commitment-card {
  display: flex;
  flex-direction: column;
  min-height: 170px;
  padding: 1.45rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: hsl(40, 25%, 98%);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background-color 0.35s ease;
}

.commitment-card:hover {
  border-color: rgba(196, 157, 92, 0.45);
  box-shadow: 0 18px 46px rgba(34, 42, 80, 0.1);
  transform: translateY(-6px);
}

.pub-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  background: #fff;
  transition:
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s ease;
}

.pub-card:hover {
  box-shadow: 0 18px 46px rgba(34, 42, 80, 0.1);
  border-color: rgba(196, 157, 92, 0.45);
  transform: translateY(-6px);
}

.pub-source {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  /*border: 1px solid var(--gold);*/
  border-radius: 3px;
  padding: 0.15rem 0.5rem;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.pub-date {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.pub-title {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--vinho);
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.pub-summary {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.pub-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pub-tag {
  font-size: 0.68rem;
  background: var(--cream);
  color: var(--text-muted);
  border-radius: 3px;
  padding: 0.2rem 0.55rem;
}

.blog-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition:
    box-shadow 0.35s ease,
    transform 0.35s ease;
  display: block;
  text-decoration: none;
}

.blog-card:hover {
  box-shadow: 0 18px 46px rgba(34, 42, 80, 0.1);
  transform: translateY(-6px);
}

.blog-card-img {
  width: 100%;
  height: 200px;
  background: hsl(220, 20%, 88%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(220, 20%, 65%);
  font-size: 0.75rem;
  font-family: var(--font-sans);
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-cat {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.blog-card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--vinho);
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

.blog-card-summary {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--text-light);
}

.img-placeholder {
  height: 320px;
  background: hsl(220, 20%, 88%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(220, 20%, 65%);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.img-placeholder:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 46px rgba(34, 42, 80, 0.1);
}

.img-placeholder-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ==========================================
   HOME HERO
   ========================================== */
.home-hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    hsl(220, 55%, 20%) 0,
    hsl(220, 55%, 20%) 1px,
    transparent 1px,
    transparent 60px
  );
  opacity: 0.025;
}

.home-hero-inner {
  position: relative;
  width: 100%;
  padding: 5rem 0;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.home-hero-content {
  width: 100%;
  max-width: 620px;
}

.home-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 600;
  color: var(--vinho);
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.home-hero h1 span {
  color: var(--gold-2);
}

.home-hero-desc {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: hsl(220, 20%, 38%);
  line-height: 1.7;
  max-width: 60ch;
  margin-bottom: 0.75rem;
}

.home-hero-sub {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: hsl(220, 20%, 52%);
  line-height: 1.7;
  max-width: 46ch;
  margin-bottom: 2.5rem;
}

.home-hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.home-hero-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
}

.home-hero-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: #c6a15b;
  font-size: 15px;
  line-height: 1.5;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  padding-top: 10px;
}

.hero-link {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.25s ease, transform 0.25s ease;
}

.hero-link:hover {
  color: var(--vinho);
  transform: translateX(2px);
}

.hero-photo {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.hero-photo-frame {
  width: 600px;
  height: 620px;
  background: hsl(220, 20%, 88%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(220, 20%, 65%);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(34, 42, 80, 0.13);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.hero-photo-frame:hover {
  transform: translateY(-6px) scale(1.01);
}

.hero-photo-frame::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold);
  border-radius: 24px;
  opacity: 0.28;
  pointer-events: none;
}

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

/* ==========================================
   HOME COMPROMISSO
   ========================================== */
.home-commitment-section {
  border-top: 1px solid var(--border);
}

.home-commitment-section .grid-2 {
  align-items: start;
}

.home-section-text {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.home-section-text-spaced {
  margin-bottom: 1.75rem;
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  width: 100%;
  align-items: stretch;
}

.commitment-divider {
  margin-bottom: 0.75rem;
}

.commitment-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--vinho);
  line-height: 1.25;
  margin-bottom: 0.4rem;
}

.commitment-text {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================
   HOME HEADINGS
   ========================================== */
.section-heading-center {
  text-align: center;
  margin-bottom: 3rem;
}

.card-divider {
  margin-bottom: 1rem;
}

/* ==========================================
   HOME MEDIAÇÃO
   ========================================== */
.home-mediation-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.home-mediation-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 70% 50%, hsla(38, 55%, 58%, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.home-mediation-container {
  position: relative;
  z-index: 1;
}

.home-dark-text {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  color: hsl(40, 15%, 78%);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.glass-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(4px);
  text-align: center;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background-color 0.35s ease;
}

.mediation-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.mediation-steps-grid .glass-card {
  min-height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mediation-step-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 300;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.mediation-step-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
}

.mediation-quote-card {
  text-align: left;
}

.mediation-quote {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  color: hsl(40, 15%, 82%);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.mediation-quote-author {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--gold-light);
  font-style: italic;
}

/* ==========================================
   HOME PALESTRAS
   ========================================== */
.hero-photo-frame-2 {
  width: 100%;
  max-width: 560px;
  height: 520px;
  background: hsl(220, 20%, 88%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(220, 20%, 65%);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(34, 42, 80, 0.13);
}

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

.home-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

/* ==========================================
   HOME PUBLICAÇÕES
   ========================================== */
.publications-grid {
  margin-bottom: 2.5rem;
}

/* ==========================================
   CTA BLOCK
   ========================================== */
.cta-block {
  background: var(--vinho);
  padding: 5rem 0;
  text-align: center;
  position: relative;
}

.cta-block h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}

.cta-block p {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: hsl(40, 15%, 78%);
  max-width: 50ch;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================
   FORM
   ========================================== */
.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: hsl(220, 20%, 40%);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--vinho);
  background: #fff;
  transition: border-color 0.15s;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold);
}

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

.form-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--cream);
  border-radius: 6px;
  padding: 0.875rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.form-note-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 1rem;
}

.form-success {
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 3rem 2rem;
  background: hsl(40, 30%, 98%);
  text-align: center;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background-color 0.35s ease;
}

.form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--vinho);
  margin-bottom: 0.75rem;
}

.form-success p {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==========================================
   CONTACT
   ========================================== */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 0.875rem;
  transition:
    border-color 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.contact-item:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 18px 46px rgba(34, 42, 80, 0.1);
}

.contact-icon {
  color: var(--gold);
  flex-shrink: 0;
  font-size: 1.1rem;
  margin-top: 2px;
}

.contact-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.2rem;
}

.contact-value {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--vinho);
}

.contact-note {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ==========================================
   BLOG / ARTICLE
   ========================================== */
.article-content {
  font-family: var(--font-sans);
  font-size: 0.93rem;
  color: hsl(220, 20%, 32%);
  line-height: 1.85;
}

.article-content p {
  margin-bottom: 1.25rem;
}

.article-content h1, h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--vinho);
  margin: 2.5rem 0 1rem;
}

.article-content h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--vinho);
  margin: 2rem 0 0.75rem;
}

.article-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--off-white);
  border-radius: 0 8px 8px 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: hsl(220, 30%, 25%);
  font-style: italic;
}

.article-content strong {
  color: var(--vinho);
  font-weight: 600;
}

.article-tag {
  display: inline-block;
  font-size: 0.72rem;
  background: var(--cream);
  color: var(--text-muted);
  border-radius: 4px;
  padding: 0.25rem 0.75rem;
  margin: 0.2rem;
}

.cat-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 3px;
  padding: 0.2rem 0.6rem;
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
  background: #520025;
  color: var(--gold-light);
  padding: 5rem 0 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
  text-decoration: none;
}

.footer-tagline {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.footer-oab {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: hsl(40, 15%, 55%);
  margin-bottom: 1rem;
}

.footer-desc {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: hsl(40, 15%, 78%);
  line-height: 1.7;
  max-width: 30ch;
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

.footer-link {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: hsl(40, 15%, 78%);
  padding: 0.25rem 0;
  transition: color 0.25s ease, transform 0.25s ease;
  text-decoration: none;
}

.footer-link:hover {
  color: #fff;
  transform: translateX(2px);
}

.footer-contact-item {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: hsl(40, 15%, 78%);
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

.footer-address {
  line-height: 1.5;
}

.footer-bottom {
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-legal {
  font-family: var(--font-sans);
  font-size: 0.73rem;
  color: hsl(40, 15%, 78%);
  line-height: 1.6;
}

.footer-copy {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: hsl(40, 15%, 78%);
}

/* ==========================================
   MISC
   ========================================== */
.back-link {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.15s;
  text-decoration: none;
}

.back-link:hover {
  color: var(--gold);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--gold);
  display: block;
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: hsl(40, 15%, 72%);
  margin-top: 0.25rem;
}

.quote-box {
  border: 1px solid var(--gold);
  border-radius: 16px;
  padding: 2.5rem;
  background: hsl(40, 30%, 98%);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.quote-box blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--vinho);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.quote-author {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
}

.dark-blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #fff;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 1rem;
}


.dark-blockquote-1 {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--vinho);
  line-height: 1.6;
  text-align: center;
  margin-bottom: 1rem;
}

.dark-blockquote-author {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  color: var(--gold-light);
  font-style: italic;
  text-align: center;
}

.step-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--gold);
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  min-width: 3rem;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--vinho);
  margin-bottom: 0.4rem;
}

.step-desc {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.author-box {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  background: hsl(40, 25%, 98%);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 2.5rem;
}

.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: hsl(220, 20%, 88%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: hsl(220, 20%, 65%);
  flex-shrink: 0;
}

.author-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--vinho);
  margin-bottom: 0.4rem;
}

.author-bio {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.author-link {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color 0.15s;
}

.author-link:hover {
  color: var(--vinho);
}

.author-sub {
  font-family: var(--font-sans);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.25rem;
}

.dest-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1060px;
  margin: 0 auto;
}

.dest-item {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 1024px) {
  .dest-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .dest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.5rem;
}

.error-code {
  font-family: var(--font-serif);
  font-size: 6rem;
  color: var(--gold);
  opacity: 0.25;
  font-weight: 700;
  line-height: 1;
}


/* Critical fallback for delayed floating chat stylesheet */
.floating-chat {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
}

.floating-chat-toggle {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--vinho);
  box-shadow: 0 14px 34px rgba(102, 0, 55, 0.28);
  cursor: pointer;
}

.floating-chat-panel[aria-hidden="true"] {
  display: none;
}

@media (max-width: 768px) {
  .fade-in,
  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================================
   FLUID MOTION SYSTEM
   ========================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

[data-animate] {
  opacity: 0;
  will-change: transform, opacity, filter;
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-animate="fade-up"] {
  transform: translate3d(0, 26px, 0);
}

[data-animate="fade-left"] {
  transform: translate3d(26px, 0, 0);
}

[data-animate="fade-right"] {
  transform: translate3d(-26px, 0, 0);
}

[data-animate="zoom-in"] {
  transform: translate3d(0, 22px, 0) scale(0.965);
  filter: blur(8px);
}

[data-animate="reveal"] {
  transform: translate3d(0, 34px, 0);
  filter: blur(10px);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

[data-stagger] > * {
  --stagger-delay: 0ms;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-hero-grid {
    gap: 3rem;
  }

  .hero-photo-frame {
    width: 380px;
    height: 500px;
  }

  .commitment-grid {
    gap: 1rem;
  }

  .commitment-card {
    min-height: 160px;
  }

  .hero-photo-frame-2 {
    max-width: 480px;
    height: 500px;
  }

  .mediation-steps-grid {
    gap: 1rem;
  }

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

@media (max-width: 768px) {
  main {
    padding-top: 72px;
  }

  .container-site {
    padding: 0 1.25rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .nav-desktop,
  .header-ctas {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .home-hero {
    min-height: auto;
    align-items: flex-start;
  }

  .home-hero-inner {
    padding: 1.75rem 0 3.5rem;
  }

  .home-hero-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }

  .home-hero-content {
    order: 2;
    max-width: none;
  }

  .hero-photo {
    display: flex !important;
    order: 1;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin: 0 auto 0.5rem;
  }

  .hero-photo-frame {
    display: block !important;
    width: min(100%, 340px);
    height: 420px;
    overflow: hidden;
    border-radius: 22px;
  }

  .hero-photo-frame::after {
    display: none;
  }

  .hero-photo-img {
    display: block !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .home-hero h1 {
    font-size: clamp(2.55rem, 14vw, 3.5rem);
    margin-bottom: 1rem;
  }

  .home-hero-desc {
    font-size: 0.95rem;
  }

  .home-hero-sub {
    font-size: 0.88rem;
    margin-bottom: 2rem;
  }

  .hero-ctas {
    gap: 1.2rem;
  }

  .hero-ctas .btn,
  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-link {
    width: 100%;
    text-align: center;
  }

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

  .commitment-card {
    min-height: auto;
  }

  .section-heading-center {
    margin-bottom: 2.25rem;
  }

  .mediation-steps-grid {
    grid-template-columns: 1fr;
  }

  .mediation-steps-grid .glass-card {
    min-height: 100px;
  }

  .mediation-step-number {
    font-size: 2rem;
  }

  .hero-photo-frame-2 {
    max-width: 100%;
    height: 430px;
    margin: 0 auto;
  }

  .home-actions-row {
    gap: 0.75rem;
  }

  .home-actions-row .btn-primary,
  .home-actions-row .btn-secondary {
    width: 100%;
    justify-content: center;
  }

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

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

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

  .footer-desc {
    max-width: none;
  }
}

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

  .logo-tagline {
    font-size: 0.52rem;
    letter-spacing: 0.09em;
  }

  .header-inner {
    height: 68px;
  }

  main {
    padding-top: 68px;
  }

  .hero-photo-frame {
    width: min(100%, 320px);
    height: 390px;
  }

  .hero-photo-frame-2 {
    height: 390px;
  }

  .home-hero h1 {
    font-size: clamp(2.35rem, 15vw, 3rem);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }

  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ==========================================
   ABOUT PAGE
   ========================================== */
.about-photo-frame {
  width: 100%;
  max-width: 420px;
  height: 520px;
  background: hsl(220, 20%, 88%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(220, 20%, 65%);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(34, 42, 80, 0.13);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.about-photo-frame:hover {
  transform: translateY(-6px) scale(1.01);
}

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

.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: hsl(220, 20%, 38%);
  line-height: 1.7;
  max-width: 60ch;
}

.about-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
}

.about-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: #c6a15b;
  font-size: 15px;
  line-height: 1.5;
}

.about-fronts-section {
  border-top: 1px solid var(--border);
}

.about-fronts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.about-front-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.about-front-card:hover {
  transform: translateY(-6px);
  border-color: rgba(196, 157, 92, 0.45);
  box-shadow: 0 18px 46px rgba(34, 42, 80, 0.1);
}

.about-front-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.45;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.about-front-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--vinho);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.about-front-text {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-front-link {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.about-front-link:hover {
  color: var(--vinho);
  transform: translateX(2px);
}

.about-identity-box {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.about-identity-quote {
  margin-top: 1rem;
}

.about-identity-text {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  color: hsl(40, 15%, 68%);
  line-height: 1.8;
}
.about-identity-text-1 {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  color: #424242;
  line-height: 1.8;
}

@media (max-width: 1024px) {
  .about-fronts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-photo-frame {
    max-width: 380px;
    height: 500px;
  }
}

@media (max-width: 768px) {
  .about-photo-frame {
    max-width: 100%;
    height: 430px;
    margin: 0 auto;
  }

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

  .about-list {
    font-size: 0.95rem;
  }
}

@media (max-width: 420px) {
  .about-photo-frame {
    height: 390px;
  }
}

/* ==========================================
   MEDIAÇÃO PAGE
   ========================================== */
.mediation-text-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.85;
}

.mediation-image-frame {
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  background: hsl(220, 20%, 88%);
  box-shadow: 0 18px 46px rgba(34, 42, 80, 0.1);
}

.mediation-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.mediation-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.mediation-benefit-card {
  text-align: left;
}

.mediation-benefit-title {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.mediation-benefit-text {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: hsl(40, 15%, 72%);
  line-height: 1.65;
}

.mediation-process-box {
  max-width: 720px;
  margin: 0 auto;
}

.mediation-steps-list {
  margin-top: 2.5rem;
  padding: 20px;
}

@media (max-width: 768px) {
  .mediation-image-frame {
    height: 300px;
  }

  .mediation-benefits-grid {
    grid-template-columns: 1fr;
  }

  .mediation-process-box {
    max-width: none;
  }

  .mediation-steps-list {
    margin-top: 2rem;
  }
}

@media (max-width: 420px) {
  .mediation-image-frame {
    height: 260px;
  }
}

/* ==========================================
   PALESTRAS PAGE
   ========================================== */
.speaker-carousel-section {
  padding: 5rem 0 4rem;
  border-bottom: 1px solid var(--border);
}

.speaker-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(80%, 1fr);
  gap: 1.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 0 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--cream);
}

.speaker-carousel::-webkit-scrollbar {
  height: 8px;
}

.speaker-carousel::-webkit-scrollbar-track {
  background: var(--cream);
  border-radius: 999px;
}

.speaker-carousel::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 999px;
}

.speaker-carousel-slide {
  scroll-snap-align: center;
  height: 560px;
  border-radius: 24px;
  overflow: hidden;
  background: hsl(220, 20%, 88%);
  box-shadow: 0 24px 64px rgba(34, 42, 80, 0.13);
}

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

.speaker-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.speaker-carousel-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--gold);
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.speaker-carousel-dot:hover {
  background: var(--gold);
  transform: scale(1.15);
}

.speaker-quick-cta {
  padding: 2.5rem 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.speaker-quick-cta-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.speaker-quick-cta-inner-1 {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  padding: 20px;
}

.speaker-themes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.speaker-text-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.85;
}

.speaker-image-frame {
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  background: hsl(220, 20%, 88%);
  box-shadow: 0 18px 46px rgba(34, 42, 80, 0.1);
}

.speaker-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.speaker-quote-wrap {
  margin-top: 4rem;
}

@media (max-width: 1024px) {
  .speaker-themes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .speaker-carousel-slide {
    height: 420px;
  }
}

@media (max-width: 768px) {
  .speaker-carousel-section {
    padding: 3.5rem 0 3rem;
  }

  .speaker-carousel {
    grid-auto-columns: 92%;
  }

  .speaker-carousel-slide {
    height: 360px;
    border-radius: 20px;
  }

  .speaker-quick-cta-inner {
    flex-direction: column;
  }

  .speaker-quick-cta-inner .btn-primary,
  .speaker-quick-cta-inner .btn-secondary {
    width: 100%;
  }

  .speaker-themes-grid {
    grid-template-columns: 1fr;
  }

  .speaker-image-frame {
    height: 300px;
  }

  .speaker-quote-wrap {
    margin-top: 3rem;
  }
}

@media (max-width: 420px) {
  .speaker-carousel-slide {
    height: 300px;
  }

  .speaker-image-frame {
    height: 260px;
  }
}

/* ==========================================
   PALESTRAS CAROUSEL AUTOMÁTICO
   ========================================== */
.speaker-carousel-wrapper {
  position: relative;
  width: 100%;
}

.speaker-carousel {
  position: relative;
  width: 100%;
  height: 560px;
  overflow: hidden;
  border-radius: 24px;
  background: hsl(220, 20%, 88%);
  box-shadow: 0 24px 64px rgba(34, 42, 80, 0.13);
}

.speaker-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition:
    opacity 0.75s ease,
    visibility 0.75s ease,
    transform 0.75s ease;
}

.speaker-carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 1;
}

.speaker-carousel-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.speaker-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.speaker-carousel-arrow {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: #fff;
  color: var(--gold);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.speaker-carousel-arrow:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}

.speaker-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.speaker-carousel-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--cream);
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.speaker-carousel-dot.is-active,
.speaker-carousel-dot:hover {
  background: var(--gold);
  transform: scale(1.15);
}

@media (max-width: 1024px) {
  .speaker-carousel {
    height: 420px;
  }
}

@media (max-width: 768px) {
  .speaker-carousel {
    height: 360px;
    border-radius: 20px;
  }

  .speaker-carousel-controls {
    gap: 0.75rem;
  }

  .speaker-carousel-arrow {
    width: 34px;
    height: 34px;
    font-size: 1.35rem;
  }
}

@media (max-width: 420px) {
  .speaker-carousel {
    height: 300px;
  }
}

/* ==========================================
   ÁREAS DE ATUAÇÃO PAGE
   ========================================== */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.areas-photo-frame-atuacao {
  width: 100%;
  max-width: 500px;
  height: 520px;
  background: hsl(220, 20%, 88%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(220, 20%, 65%);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(34, 42, 80, 0.13);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.areas-photo-frame:hover {
  transform: translateY(-6px) scale(1.01);
}

.areas-photo-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.areas-approach-content {
  max-width: 760px;
  margin: 0 auto;
}

.areas-text-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.85;
}

@media (max-width: 1024px) {
  .areas-photo-frame {
    max-width: 380px;
    height: 500px;
  }
}

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

  .areas-photo-frame {
    max-width: 100%;
    height: 430px;
    margin: 0 auto;
  }

  .areas-approach-content {
    max-width: none;
  }
}

@media (max-width: 420px) {
  .areas-photo-frame {
    height: 390px;
  }
}

/* ==========================================
   PUBLICAÇÕES PAGE
   ========================================== */
.publications-stats-section {
  padding: 3rem 0;
}

.publications-grid-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.publication-link-card {
  padding: 0;
  overflow: hidden;
}

.publication-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem;
}

.publication-read-more {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  padding-top: 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.publication-card-link:hover .publication-read-more {
  color: var(--vinho);
  transform: translateX(2px);
}

.publications-authority-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.publications-authority-box {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.publications-text-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.85;
}

.publications-authority-button {
  margin-top: 2rem;
}

.section-divider-center {
  margin: 0 auto;
}

.explore-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.explore-card-text {
  margin-bottom: 1.5rem;
}

.btn-sm {
  font-size: 0.7rem;
  padding: 0.55rem 1.25rem;
}

@media (max-width: 768px) {
  .publications-grid-list {
    grid-template-columns: 1fr;
  }

  .publications-stats-section {
    padding: 2.5rem 0;
  }

  .publications-authority-box {
    max-width: none;
  }
}

/* Página Contato */

.contact-page-section {
  position: relative;
}

.contact-form-column,
.contact-info-column {
  width: 100%;
}

.contact-section-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.75rem;
}

.contact-section-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 2rem;
}

.contact-form {
  width: 100%;
}

.form-error {
  border: 1px solid #d9534f;
  border-radius: 8px;
  padding: 1.25rem;
  background: #fff5f5;
  margin-bottom: 1.5rem;
  color: #a94442;
  font-size: 0.875rem;
  line-height: 1.6;
}

.form-success {
  border: 1px solid rgba(38, 122, 78, 0.25);
  border-radius: 8px;
  padding: 1.25rem;
  background: #f3fbf6;
  margin-bottom: 1.5rem;
  color: #1f6b43;
}

.form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f6b43;
  margin: 0 0 0.5rem;
}

.form-success p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin: 0;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.45rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input,
.form-select {
  min-height: 48px;
  padding: 0 0.9rem;
}

.form-textarea {
  min-height: 150px;
  padding: 0.9rem;
  resize: vertical;
  line-height: 1.6;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(179, 137, 67, 0.12);
}

.form-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  background: hsl(40, 25%, 98%);
  margin: 1rem 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.form-note-icon {
  flex: 0 0 auto;
  line-height: 1.4;
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.15rem;
  background: #fff;
  margin-bottom: 1rem;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: hsl(40, 25%, 96%);
  font-size: 1.15rem;
}

.contact-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.3rem;
}

.contact-value {
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
}

.contact-note {
  display: block;
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-top: 0.25rem;
}

.contact-hours-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  background: hsl(40, 25%, 98%);
  margin-top: 1rem;
}

.contact-hours-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin: 0 0 0.75rem;
}

.contact-hours-main {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--navy);
  margin: 0 0 0.4rem;
}

.contact-hours-text {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

.contact-personal-section {
  border-top: 1px solid var(--border);
}

.contact-personal-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.contact-quote {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.6;
  margin: 1.25rem 0 1.5rem;
}

.contact-personal-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0 0 1.25rem;
}

.contact-signature {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--gold);
  font-style: italic;
  margin: 0;
}

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

  .contact-item {
    padding: 1rem;
  }

  .contact-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    font-size: 1rem;
  }
}
.footer-social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}
.footer-social-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .08);
}
.footer-social-link svg,
.footer-social-link .footer-social-icon,
.footer-social-link .footer-social-fallback {
  width: 18px;
  height: 18px;
  display: block;
  color: currentColor;
}

.footer-social-link .footer-social-icon {
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.footer-social-link .footer-social-icon--facebook {
  -webkit-mask-image: url('/assets/icons/social/facebook.svg');
  mask-image: url('/assets/icons/social/facebook.svg');
}

.footer-social-link .footer-social-icon--instagram {
  -webkit-mask-image: url('/assets/icons/social/instagram.svg');
  mask-image: url('/assets/icons/social/instagram.svg');
}

.footer-social-link .footer-social-icon--youtube {
  -webkit-mask-image: url('/assets/icons/social/youtube.svg');
  mask-image: url('/assets/icons/social/youtube.svg');
}

.footer-social-link .footer-social-icon--whatsapp {
  -webkit-mask-image: url('/assets/icons/social/whatsapp.svg');
  mask-image: url('/assets/icons/social/whatsapp.svg');
}

.footer-social-link .footer-social-fallback {
  line-height: 18px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}
/* LGPD */
.lgpd-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  width: 100%;
  min-height: 56px;
/*  padding: 5px clamp(16px, 4vw, 56px);*/
  border-top: 1px solid rgba(102, 0, 55, 0.18);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -18px 50px rgba(20, 18, 24, 0.14);
  color: #160013;
}

.lgpd-cookie-banner::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 4px;
  background: linear-gradient(90deg, #660037, #b88b4a, #660037);
}

.lgpd-cookie-banner.is-leaving {
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.lgpd-cookie-content {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 auto;
  max-width: 780px;
}

.lgpd-cookie-icon {
  display: none;
}

.lgpd-cookie-text strong {
  display: none;
}

.lgpd-cookie-text p {
  margin: 0;
  color: #130011;
  font-size: 0.8rem;
  line-height: 1.35;
}

.lgpd-cookie-text a {
  color: #160013;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lgpd-cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.lgpd-cookie-btn {
  min-height: 30px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid rgba(22, 0, 19, 0.24);
  background: #fff;
  color: #3b3340;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.lgpd-cookie-btn:hover {
  transform: translateY(-1px);
}

.lgpd-cookie-configure {
  color: #5b5560;
}

.lgpd-cookie-reject {
  background: #fff;
  color: #660037;
}

.lgpd-cookie-accept {
  border-color: var(--vinho);
  background:var(--vinho);
  color: #fff;
}

.lgpd-cookie-close {
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(22, 0, 19, 0.35);
  background: #fff;
  color: #5b5560;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lgpd-cookie-close svg {
  width: 22px;
  height: 22px;
}

.lgpd-cookie-preferences {
  display: none;
  position: absolute;
  right: clamp(16px, 4vw, 56px);
  bottom: calc(100% + 12px);
  width: min(420px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid rgba(102, 0, 55, 0.14);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(20, 18, 24, 0.18);
}

.lgpd-cookie-banner.is-configuring .lgpd-cookie-preferences {
  display: block;
}

.lgpd-cookie-preferences strong {
  display: block;
  margin-bottom: 6px;
  color: #26001c;
  font-size: 0.98rem;
}

.lgpd-cookie-preferences p {
  margin: 0 0 14px;
  color: #5d4f5a;
  font-size: 0.9rem;
  line-height: 1.5;
}

.lgpd-cookie-preferences-actions {
  display: flex;
  gap: 10px;
}

.lgpd-cookie-preferences-actions .lgpd-cookie-btn {
  flex: 1;
  padding: 0 14px;
}

.lgpd-consent-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
  padding: 14px;
  border: 1px solid rgba(102, 0, 55, 0.13);
  border-radius: 16px;
  background: #fbf7fa;
  color: #3b2435;
  font-size: 0.92rem;
  line-height: 1.45;
}

.lgpd-consent-box input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: #660037;
  flex: 0 0 auto;
}

.lgpd-consent-box a {
  color: #660037;
  text-decoration: none;
}

.privacy-content {
  max-width: 920px;
  margin: 0 auto;
}

.privacy-content p {
  color: #3f3340;
  line-height: 1.8;
  margin-bottom: 18px;
}

.privacy-content h2,
.privacy-content h3 {
  color: #660037;
  font-family: var(--font-serif, Georgia, serif);
  line-height: 1.3;
  margin: 34px 0 14px;
}

.privacy-content h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}

.privacy-content h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.privacy-content ul,
.privacy-content ol {
  color: #3f3340;
  line-height: 1.8;
  margin: 0 0 20px 22px;
  padding: 0;
  list-style: circle!important;
}

.privacy-content li {
  margin-bottom: 8px;
}

.privacy-content a {
  color: #7a003f;
  font-weight: 700;
  text-decoration: none;
}

.privacy-content a:hover {
  text-decoration: underline;
}

body.lgpd-cookie-open .floating-chat {
  bottom: 100px;
}

@media (max-width: 900px) {
  .lgpd-cookie-banner {
    align-items: stretch;
    flex-direction: column;
    gap: 1px;
    padding: 8px;
  }

  .lgpd-cookie-content {
    max-width: none;
  }

  .lgpd-cookie-actions {
    width: 100%;
  }

  .lgpd-cookie-btn {
    flex: 1;
    padding: 0 12px;
  }

  .lgpd-cookie-close {
    flex: 0 0 44px;
  }

  .lgpd-cookie-preferences {
    left: 16px;
    right: 16px;
    bottom: calc(100% + 10px);
    width: auto;
  }

  body.lgpd-cookie-open .floating-chat {
    bottom: 150px;
  }
}

@media (max-width: 520px) {
  .lgpd-cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 44px;
  }

  .lgpd-cookie-text p {
    font-size: 0.64rem;
  }

  .lgpd-cookie-btn {
    min-height: 25px;
    font-size: 0.63rem;
  }

  body.lgpd-cookie-open .floating-chat {
    bottom: 170px;
  }
}

.footer-cookie-reset {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.recaptcha-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.contact-recaptcha-box {
  margin: 18px 0 16px;
  display: flex;
  justify-content: flex-start;
}

.floating-chat-recaptcha {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 8px 0 10px;
  overflow: hidden;
}

.floating-chat-recaptcha .g-recaptcha {
  transform-origin: center top;
}

@media (max-width: 420px) {
  .floating-chat-recaptcha .g-recaptcha {
    transform: scale(.88);
  }
}

/* reCAPTCHA v2 visível */
.recaptcha-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.contact-recaptcha-box {
  width: 100%;
  margin: 18px 0 16px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  overflow: visible;
}

.contact-recaptcha-box .g-recaptcha {
  max-width: 100%;
  transform-origin: left top;
}

.floating-chat-recaptcha {
  width: 100%;
  min-height: 78px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin: 8px 0 10px;
  overflow: visible;
}

.floating-chat-recaptcha .g-recaptcha {
  transform-origin: center top;
}

@media (max-width: 420px) {
  .contact-recaptcha-box .g-recaptcha,
  .floating-chat-recaptcha .g-recaptcha {
    transform: scale(.88);
  }

  .contact-recaptcha-box,
  .floating-chat-recaptcha {
    min-height: 70px;
  }
}

.recaptcha-v3-note {
  margin: 14px 0 18px;
  color: #5b6a86;
  font-size: 0.82rem;
  line-height: 1.5;
}

/* reCAPTCHA v3 inline no formulário de contato */
.contact-recaptcha-inline {
  width: 100%;
  min-height: 64px;
  margin: 18px 0 18px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: visible;
}

.contact-recaptcha-inline .grecaptcha-badge {
  position: static !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  margin: 0 !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14) !important;
  z-index: 1 !important;
}

.contact-form .form-note,
.contact-form .recaptcha-v3-note {
  display: none !important;
}

@media (max-width: 420px) {
  .contact-recaptcha-inline {
    min-height: 60px;
  }

  .contact-recaptcha-inline .grecaptcha-badge {
    transform: scale(0.92) !important;
    transform-origin: left center !important;
  }
}


/* Correção final: força o badge do reCAPTCHA v3 a ficar inline dentro do formulário */
.contact-form .contact-recaptcha-inline {
  width: 100%;
  min-height: 78px;
  margin: 18px 0 18px;
  padding: 0;
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  overflow: visible !important;
  position: relative;
}

.contact-form .contact-recaptcha-inline .grecaptcha-badge,
.contact-recaptcha-inline[data-recaptcha-inline-badge] .grecaptcha-badge {
  position: static !important;
  right: auto !important;
  left: auto !important;
  top: auto !important;
  bottom: auto !important;
  inset: auto !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  margin: 0 !important;
  z-index: 1 !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14) !important;
}

.contact-form .contact-recaptcha-inline .grecaptcha-badge iframe,
.contact-recaptcha-inline[data-recaptcha-inline-badge] .grecaptcha-badge iframe {
  display: block !important;
}

@media (max-width: 420px) {
  .contact-form .contact-recaptcha-inline .grecaptcha-badge,
  .contact-recaptcha-inline[data-recaptcha-inline-badge] .grecaptcha-badge {
    transform: scale(0.92) !important;
    transform-origin: left center !important;
  }
}

/* Utilitário para iframe do Google Tag Manager sem CSS inline no PHP */
.gtm-noscript-frame {
  display: none;
  visibility: hidden;
}

.error-page-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--navy);
  margin: 1rem 0 0.75rem;
}

.error-page-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 40ch;
  line-height: 1.7;
  margin: 0 auto 2.5rem;
}

.error-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
