/* Mata Sede — LP Revendedor B2B */

:root {
  /* Paleta oficial Mata Sede */
  --brand-green: #82b155;
  --brand-green-dark: #6f9a47;
  --brand-orange: #f99d1c;
  --brand-orange-dark: #e28f14;
  --brand-teal: #00425a;
  --brand-teal-light: #0a5570;
  --color-primary: #00425a;
  --color-primary-light: #82b155;
  --color-primary-dark: #003244;
  --color-accent: #f99d1c;
  --color-accent-dark: #e28f14;
  --color-bg: #f6faf7;
  --color-bg-alt: #e8f5ec;
  --color-surface: #ffffff;
  --color-text: #1a2e22;
  --color-text-muted: #4a6356;
  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #1ebe57;
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(26, 92, 58, 0.08);
  --shadow-md: 0 8px 24px rgba(26, 92, 58, 0.12);
  --shadow-lg: 0 16px 48px rgba(26, 92, 58, 0.16);
  --header-h: 64px;
  --sticky-wa-size: 56px;
  --max-width: 1120px;
  --section-pad: clamp(3rem, 8vw, 5rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: #004761;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-link img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.header-cta {
  display: none;
  color: #ffffff;
}

.site-header .header-cta {
  background: var(--color-whatsapp);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.site-header .header-cta:hover {
  background: var(--color-whatsapp-hover);
  color: #ffffff;
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: var(--color-whatsapp-hover);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.btn-lg {
  padding: 1rem 1.75rem;
  font-size: 1.0625rem;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-bg-alt);
  text-decoration: none;
}

/* Seções — alternância cor / branco */
.section-light {
  background: #ffffff;
}

.section-light .section-title {
  color: var(--color-primary-dark);
}

.section-light .section-subtitle {
  color: var(--color-text-muted);
}

.section-light .section-subtitle strong {
  color: var(--brand-green-dark);
  font-weight: 700;
}

.section-brand {
  position: relative;
}

.section-brand > .container {
  position: relative;
  z-index: 1;
}

.section-brand-green {
  background-color: var(--brand-green);
}

.section-brand-orange {
  background-color: var(--brand-orange);
}

.section-brand-teal {
  background-color: var(--brand-teal);
}

.section-brand-green .section-title,
.section-brand-orange .section-title,
.section-brand-teal .section-title,
.cta-band h2 {
  color: #ffffff;
}

.section-brand-green .section-subtitle,
.section-brand-orange .section-subtitle,
.section-brand-teal .section-subtitle,
.cta-band p {
  color: rgba(255, 255, 255, 0.92);
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(2rem, 6vw, 4rem) 0 var(--section-pad);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  left: -5%;
  top: 10%;
  width: min(70vw, 640px);
  height: 80%;
  background: radial-gradient(
    ellipse at 30% 40%,
    rgba(255, 255, 255, 0.12) 0%,
    transparent 65%
  );
  pointer-events: none;
}

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

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

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

.hero-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.3rem 0.75rem;
  margin-bottom: clamp(0.85rem, 2vw, 1.1rem);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-teal);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0, 66, 90, 0.12);
}

.hero h1 {
  margin: 0 0 clamp(1rem, 2.5vw, 1.35rem);
  font-size: clamp(2.125rem, 6vw, 3.375rem);
  font-weight: 800;
  line-height: 1.08;
  color: #ffffff;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 12px rgba(0, 50, 68, 0.25);
  max-width: 14em;
}

.hero h1 .hero-h1-mark {
  display: inline;
  color: var(--brand-teal);
  -webkit-text-fill-color: var(--brand-teal);
  background: linear-gradient(
    180deg,
    transparent 38%,
    rgba(255, 252, 235, 0.98) 38%,
    rgba(255, 238, 175, 0.98) 100%
  );
  padding: 0.02em 0.2em 0.1em;
  border-radius: 0.12em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  text-shadow: none;
}

.hero-lead {
  margin: 0 0 clamp(1.5rem, 3.5vw, 2rem);
  font-size: clamp(1rem, 2.25vw, 1.1875rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-primary-dark);
  max-width: 40ch;
}

.hero-lead strong {
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 1px 8px rgba(0, 50, 68, 0.2);
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: clamp(1.35rem, 3vw, 1.75rem);
  align-self: flex-start;
}

.hero-bullets {
  list-style: none;
  margin: 0;
  padding: clamp(1rem, 2.5vw, 1.25rem) 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  border-top: 1px solid rgba(0, 50, 68, 0.2);
}

.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--brand-teal);
}

.hero-bullets li::before {
  content: "";
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.08rem;
  background: var(--brand-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath d='M6.5 11.5L3 8l1-1 2.5 2.5L12 4l1 1z'/%3E%3C/svg%3E") center / 12px no-repeat;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 50, 68, 0.2);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-media {
  position: relative;
  width: min(100%, 440px);
  margin-inline: auto;
  aspect-ratio: 4 / 5;
}

.hero-media-glow,
.hero-media-panel {
  position: absolute;
  border-radius: clamp(1.25rem, 4vw, 1.75rem);
}

.hero-media-glow {
  inset: 8% -6% -4% 10%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.35), rgba(0, 66, 90, 0.2));
  filter: blur(4px);
  z-index: 0;
}

.hero-media-panel {
  inset: 0 0 6% 0;
  background: linear-gradient(155deg, #ffffff 0%, #fff8ee 55%, #ffeccc 100%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 4px 8px rgba(0, 66, 90, 0.1),
    0 24px 56px rgba(0, 66, 90, 0.22);
  z-index: 1;
}

.hero-media-frame {
  position: relative;
  z-index: 2;
  margin: 0;
  height: 100%;
  padding: clamp(0.75rem, 2.5vw, 1.25rem);
  padding-bottom: clamp(1rem, 3vw, 1.5rem);
}

.hero-media-frame img,
.hero-media-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: clamp(0.875rem, 2.5vw, 1.25rem);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 8px 24px rgba(15, 61, 38, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  background: #0d3d26;
}

.hero-media-video {
  pointer-events: none;
}

.hero-media-ring {
  position: absolute;
  width: 42%;
  height: auto;
  right: -6%;
  bottom: 10%;
  z-index: 3;
  color: rgba(255, 255, 255, 0.75);
  pointer-events: none;
  opacity: 0.95;
  filter: drop-shadow(0 2px 8px rgba(0, 66, 90, 0.25));
}

.hero .btn-whatsapp.btn-lg {
  padding: 1.05rem 2rem;
  font-size: 1.125rem;
  font-weight: 700;
  box-shadow:
    0 10px 32px rgba(37, 211, 102, 0.5),
    0 0 0 3px rgba(255, 255, 255, 0.25);
}

.hero .btn-whatsapp.btn-lg:hover {
  box-shadow:
    0 12px 36px rgba(37, 211, 102, 0.58),
    0 0 0 3px rgba(255, 255, 255, 0.35);
}

/* Sections */
.section {
  padding: var(--section-pad) 0;
}

.section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-primary-dark);
  text-align: center;
}

.section-subtitle {
  margin: 0 auto 2.5rem;
  max-width: 52ch;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1.0625rem;
}

/* Cards em seções brancas */
.section-light .segment-card,
.section-light .step,
.section-light .faq-item {
  background: var(--color-bg);
  border: 1px solid rgba(0, 66, 90, 0.08);
  box-shadow: var(--shadow-sm);
}

/* Cards em seções coloridas */
.section-brand-green .diff-card,
.section-brand-green .segment-card,
.section-brand-green .step,
.section-brand-green .partner-card,
.section-brand-orange .diff-card,
.section-brand-orange .segment-card,
.section-brand-orange .step,
.section-brand-orange .partner-card,
.section-brand-teal .diff-card,
.section-brand-teal .segment-card,
.section-brand-teal .step,
.section-brand-teal .partner-card {
  background: #ffffff;
  border-color: rgba(0, 66, 90, 0.08);
  box-shadow: 0 8px 24px rgba(0, 66, 90, 0.12);
}

.section-brand-green .diff-card h3,
.section-brand-green .segment-icon {
  color: var(--brand-green-dark);
}

.section-brand-green .segment-icon {
  background: rgba(130, 177, 85, 0.2);
}

.section-brand-orange .diff-card h3,
.section-brand-orange .segment-icon {
  color: var(--brand-orange-dark);
}

.section-brand-orange .segment-icon {
  background: rgba(249, 157, 28, 0.22);
}

.section-brand-teal .diff-card h3,
.section-brand-teal .segment-icon {
  color: var(--brand-teal);
}

.section-brand-teal .segment-icon {
  background: rgba(0, 66, 90, 0.12);
}

.section-brand-teal .step::before {
  background: linear-gradient(135deg, var(--brand-teal-light), var(--brand-teal));
}

.section-brand-green .step::before {
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green-dark));
}

.section-brand-orange .step::before {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
}

.section-light .faq-question {
  color: var(--color-primary-dark);
}

.section-light .faq-question::after {
  color: var(--brand-teal);
}

/* Seções split (padrão hero) */
.split-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.split-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.split-title {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.split-lead {
  margin: 0;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  line-height: 1.55;
  max-width: 40ch;
}

.split-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.split-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.split-list li::before {
  content: "";
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.12rem;
  border-radius: 50%;
}

.split-visual {
  display: flex;
  justify-content: center;
  width: 100%;
}

.split-media {
  position: relative;
  width: min(100%, 480px);
  margin-inline: auto;
  aspect-ratio: 4 / 5;
}

.split-media--wide {
  aspect-ratio: 4 / 3;
  width: min(100%, 520px);
}

.split-media-glow,
.split-media-panel {
  position: absolute;
  border-radius: clamp(1rem, 2.5vw, 1.25rem);
}

.split-media-glow {
  inset: 8% -6% -4% 10%;
  filter: blur(4px);
  z-index: 0;
}

.split-media-panel {
  inset: 0 0 6% 0;
  z-index: 1;
}

.split-media-frame {
  position: relative;
  z-index: 2;
  margin: 0;
  height: 100%;
  padding: clamp(0.75rem, 2.5vw, 1.25rem);
  padding-bottom: clamp(1rem, 3vw, 1.5rem);
}

.split-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: clamp(0.875rem, 2.5vw, 1.25rem);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 24px rgba(15, 61, 38, 0.18);
}

/* Produto — seção clara */
#produto .split-title {
  color: var(--color-primary-dark);
}

#produto .split-lead {
  color: var(--color-text-muted);
}

#produto .split-lead strong {
  color: var(--brand-green-dark);
  font-weight: 700;
}

#produto .split-list li {
  color: var(--color-text);
}

#produto .split-list li::before {
  background: var(--brand-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath d='M6.5 11.5L3 8l1-1 2.5 2.5L12 4l1 1z'/%3E%3C/svg%3E") center / 14px no-repeat;
}

#produto .split-media-glow {
  background: linear-gradient(145deg, rgba(130, 177, 85, 0.35), rgba(0, 71, 97, 0.12));
}

#produto .split-media-panel {
  background: linear-gradient(155deg, #ffffff 0%, #f0faf3 55%, #e8f5ec 100%);
  border: 1px solid rgba(0, 71, 97, 0.12);
  box-shadow: 0 24px 56px rgba(0, 71, 97, 0.12);
}

#produto .split-media-frame img {
  object-position: center 35%;
}

/* Benefícios — seção teal */
#beneficios .split-title {
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
}

#beneficios .split-lead {
  color: rgba(255, 255, 255, 0.92);
}

#beneficios .split-lead strong {
  color: #ffffff;
  font-weight: 700;
}

#beneficios .split-list li {
  color: rgba(255, 255, 255, 0.95);
}

#beneficios .split-list li::before {
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300425a'%3E%3Cpath d='M6.5 11.5L3 8l1-1 2.5 2.5L12 4l1 1z'/%3E%3C/svg%3E") center / 14px no-repeat;
}

#beneficios .split-media-glow {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.25), rgba(0, 66, 90, 0.2));
}

#beneficios .split-media-panel {
  background: linear-gradient(155deg, #ffffff 0%, #fff8ee 55%, #ffeccc 100%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.22);
}

/* Segmentos */
.segments-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.segment-card {
  padding: 1.25rem;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid rgba(26, 92, 58, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.segment-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.segment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
  background: rgba(45, 143, 92, 0.12);
  border-radius: 50%;
}

.segment-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.segment-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--color-primary-dark);
}

.segment-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Processo */
.steps {
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 4.5rem;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1.25rem;
  top: 1.25rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  border-radius: 50%;
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.0625rem;
}

.step p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* CTA band */
.cta-band {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  color: #fff;
  overflow: hidden;
}

.cta-band-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.cta-band-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.cta-band-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-full);
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(1.5rem, 4.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.cta-band h2 span {
  color: var(--brand-orange);
}

.cta-band p {
  margin: 0;
  max-width: 38ch;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.cta-band .btn-whatsapp {
  margin-top: 0.25rem;
  background: var(--color-whatsapp);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.4);
}

.cta-band-visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  pointer-events: none;
}

.cta-mascot {
  width: min(100%, 280px);
  height: auto;
  max-height: 340px;
  object-fit: contain;
  object-position: center bottom;
  display: block;
}

.cta-inline {
  text-align: center;
  margin-top: 2rem;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid rgba(26, 92, 58, 0.08);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  color: var(--color-primary-dark);
  background: none;
  border: none;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-primary-light);
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-question::after {
  content: "−";
}

.faq-answer {
  display: none;
  padding: 0 1.25rem 1.125rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 6rem;
  background-color: #003244;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
}

.site-footer a {
  color: var(--brand-orange);
}

.footer-legal-link {
  font-family: inherit;
  font-size: inherit;
  color: var(--brand-orange);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.footer-legal-link:hover {
  color: #ffffff;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  text-align: center;
}

.footer-logo img {
  height: 36px;
  width: auto;
  margin-inline: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
}

.footer-contact {
  margin: 0;
  line-height: 1.8;
}

.footer-copy {
  margin: 1rem 0 0;
  opacity: 0.6;
  font-size: 0.8125rem;
}

/* Sticky WhatsApp */
.sticky-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  width: var(--sticky-wa-size);
  height: var(--sticky-wa-size);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-whatsapp);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  animation: pulse-wa 2.5s ease-in-out infinite;
}

.sticky-whatsapp:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
  text-decoration: none;
}

.sticky-whatsapp svg {
  width: 1.75rem;
  height: 1.75rem;
}

@keyframes pulse-wa {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow: 0 4px 28px rgba(37, 211, 102, 0.75);
  }
}

/* Modal legal */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.legal-modal[hidden] {
  display: none;
}

.legal-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 36, 50, 0.72);
  backdrop-filter: blur(4px);
}

.legal-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-height: min(88vh, 820px);
  display: flex;
  flex-direction: column;
  background: #ffffff;
  color: var(--color-text);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.legal-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--color-primary-dark);
  background: rgba(0, 71, 97, 0.08);
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.legal-modal__close:hover {
  background: rgba(0, 71, 97, 0.14);
}

.legal-modal__title {
  margin: 0;
  padding: 1.25rem 3rem 0.75rem 1.25rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  border-bottom: 1px solid rgba(0, 71, 97, 0.1);
  flex-shrink: 0;
}

.legal-modal__body {
  padding: 1rem 1.25rem 1.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.legal-prose h2,
.legal-prose h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.35;
}

.legal-prose h2:first-child,
.legal-prose h3:first-child,
.legal-prose p:first-child {
  margin-top: 0;
}

.legal-prose p,
.legal-prose li {
  margin: 0 0 0.65rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.legal-prose ul {
  margin: 0 0 0.85rem;
  padding-left: 1.25rem;
}

.legal-prose strong {
  color: var(--color-text);
  font-weight: 600;
}

body.legal-modal-open {
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Tablet+ */
@media (max-width: 767px) {
  .hero {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .hero-content {
    display: contents;
  }

  .hero-badge {
    order: 1;
    margin: 0 0 0.75rem;
    align-self: flex-start;
  }

  .hero h1 {
    order: 2;
    max-width: none;
    margin: 0 0 0.65rem;
    font-size: clamp(1.875rem, 8.5vw, 2.35rem);
    line-height: 1.14;
  }

  .hero-quote {
    order: 3;
    max-width: none;
    margin: 0 0 0.85rem;
  }

  .hero-lead {
    order: 4;
    max-width: none;
    margin: 0 0 1rem;
    font-size: 1rem;
    line-height: 1.45;
  }

  .hero-visual {
    order: 5;
    margin: 0 0 1rem;
    width: 100%;
  }

  .hero-media {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    aspect-ratio: 4 / 5;
  }

  .hero-cta-group {
    order: 6;
    width: 100%;
    margin: 0 0 0.85rem;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-bullets {
    order: 7;
    margin: 0;
    padding: 0.85rem 0 0;
    gap: 0.5rem;
  }

  .hero-media-ring {
    width: 36%;
    right: -4%;
    bottom: 8%;
  }

  .split-media {
    width: min(100%, 380px);
  }

  .split-media--wide {
    width: min(100%, 400px);
  }

  .cta-band-content {
    order: 1;
  }

  .cta-band-visual {
    order: 2;
  }
}

@media (min-width: 640px) {
  .segments-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-cta-group {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (min-width: 768px) {
  .header-cta {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 4vw, 4rem);
  }

  .hero h1 {
    max-width: 13em;
  }

  .hero-visual {
    justify-content: flex-end;
  }

  .hero-media {
    width: min(100%, 480px);
    margin-inline: 0;
  }

  .hero-media-ring {
    width: 38%;
    right: -10%;
    bottom: 12%;
  }

  .split-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 4vw, 4rem);
  }

  .split-visual {
    justify-content: flex-end;
  }

  .split-media {
    width: min(100%, 480px);
    margin-inline: 0;
  }

  .split-media--wide {
    width: min(100%, 520px);
  }

  .segments-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .step {
    padding: 1.5rem;
    padding-top: 3.5rem;
    text-align: center;
  }

  .step::before {
    left: 50%;
    transform: translateX(-50%);
    top: 1rem;
  }

  .site-footer {
    padding-bottom: 2.5rem;
  }

  .cta-band-grid {
    grid-template-columns: 0.85fr 1.05fr;
    gap: clamp(1.5rem, 4vw, 3rem);
  }

  .cta-band-content {
    align-items: flex-start;
    text-align: left;
  }

  .cta-band p {
    max-width: 42ch;
  }

  .cta-band-visual {
    justify-content: flex-start;
  }

  .cta-mascot {
    width: min(100%, 360px);
    max-height: 420px;
  }
}

/* Preview A/B — barra de troca (remover em produção) */
.has-ab-preview-bar {
  padding-top: 0;
}

.has-ab-preview-bar .site-header {
  top: 0;
}

.ab-preview-bar {
  position: relative;
  z-index: 200;
  min-height: 40px;
  padding: 0.45rem 0;
  background: #1a2e22;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
}

.ab-preview-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 0 0.75rem;
}

@media (max-width: 520px) {
  .ab-preview-bar__inner {
    justify-content: flex-start;
    font-size: 0.75rem;
  }

  .ab-preview-bar__link {
    padding: 0.2rem 0.5rem;
  }
}

.ab-preview-bar__label {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.65);
  margin-right: 0.25rem;
}

.ab-preview-bar__link {
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease;
}

.ab-preview-bar__link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  text-decoration: none;
}

.ab-preview-bar__link--active {
  background: var(--brand-orange);
  color: #1a2e22;
}

.ab-preview-bar__link--active:hover {
  background: var(--brand-orange-dark);
  color: #1a2e22;
}

/* Hero — citação e legenda do vídeo (Variante B) */
.hero-quote {
  margin: 0 0 clamp(1rem, 2.5vw, 1.35rem);
  padding: clamp(0.85rem, 2vw, 1.1rem) clamp(1rem, 2.5vw, 1.25rem);
  border-left: 4px solid var(--brand-teal);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: 0 4px 16px rgba(0, 50, 68, 0.12);
  max-width: 42ch;
}

.hero-quote p {
  margin: 0 0 0.5rem;
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-primary-dark);
}

.hero-quote cite {
  display: block;
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 700;
  color: var(--brand-teal);
  letter-spacing: 0.02em;
}

/* Parceiros — cards com foto, local e depoimento */
.section-partners.section-brand-teal {
  position: relative;
  overflow: hidden;
}

.section-partners.section-brand-teal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 50% 0%,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 55%
  );
  pointer-events: none;
}

.section-partners.section-brand-teal > .container {
  position: relative;
  z-index: 1;
}

.section-partners .section-title {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.15);
}

.partners-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.partner-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 66, 90, 0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.section-partners .partner-card:hover {
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
}

.partner-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.partner-card__photo {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(145deg, var(--color-bg-alt) 0%, #c8e0d0 50%, #b8d4c4 100%);
}

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

.partner-card__photo-fallback {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-text-muted);
  background: linear-gradient(145deg, var(--color-bg-alt) 0%, #d4e8dc 100%);
}

.partner-card__photo--empty img {
  display: none;
}

.partner-card__photo--empty .partner-card__photo-fallback {
  display: flex;
}

.partner-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.partner-card__header {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(0, 66, 90, 0.1);
}

.partner-card__name {
  margin: 0 0 0.25rem;
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  letter-spacing: -0.02em;
}

.partner-card__location {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-green-dark);
  line-height: 1.35;
}

.partner-card__quote {
  margin: 0;
  padding: 0 0 0 0.85rem;
  border: none;
  border-left: 3px solid var(--brand-orange);
}

.partner-card__quote p {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.5;
  color: var(--color-text);
}

/* Hub preview A/B */
.preview-ab-page {
  min-height: 100vh;
  background: var(--color-bg);
}

.preview-ab-header {
  padding: clamp(2rem, 6vw, 3.5rem) 0 2rem;
  text-align: center;
  background: var(--brand-teal);
  color: #ffffff;
}

.preview-ab-header h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
}

.preview-ab-header p {
  margin: 0 auto;
  max-width: 50ch;
  color: rgba(255, 255, 255, 0.9);
}

.preview-ab-cards {
  display: grid;
  gap: 1.5rem;
  padding: 2rem 0 3rem;
}

@media (min-width: 768px) {
  .preview-ab-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.preview-ab-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
}

.preview-ab-card--b {
  border-color: var(--brand-orange);
}

.preview-ab-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: var(--color-primary-dark);
}

.preview-ab-card p {
  margin: 0 0 1.25rem;
  flex: 1;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.preview-ab-card .btn {
  align-self: flex-start;
}

.preview-ab-split {
  display: none;
  gap: 0;
  padding-bottom: 3rem;
  min-height: 80vh;
}

.preview-ab-split iframe {
  width: 100%;
  height: calc(100vh - 120px);
  min-height: 600px;
  border: none;
  border-top: 3px solid var(--brand-teal);
}

.preview-ab-split iframe + iframe {
  border-top-color: var(--brand-orange);
}

.preview-ab-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  padding: 1rem 0 1.5rem;
}

@media (min-width: 1100px) {
  .preview-ab-split--visible {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .preview-ab-cards--hidden {
    display: none;
  }
}

@media (min-width: 640px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

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

  .sticky-whatsapp {
    animation: none;
  }

  .btn:active {
    transform: none;
  }
}
