/* =============================================================
   PAPEL PEDAGÓGICO — Premium Design System v5.0
   Architecture: tokens → reset → utilities → components → layout → responsive
   Mobile-first · Fluid scales · Zoom-resilient
   ============================================================= */

/* =============================================================
   1. DESIGN TOKENS
   ============================================================= */
:root {
  /* Brand colors */
  --c-primary: #7c4dff;
  --c-primary-50: #f6f1ff;
  --c-primary-100: #ede5ff;
  --c-primary-200: #d8c6ff;
  --c-primary-400: #9d7aff;
  --c-primary-600: #6a3def;

  --c-accent: #5aa9ff;
  --c-accent-50: #eaf3ff;
  --c-accent-100: #d8ebff;

  --c-raspberry: #e85b89;
  --c-raspberry-100: #fde0ec;

  --c-gold: #e9a52a;
  --c-gold-100: #fff0d2;

  /* Surfaces */
  --c-bg: #fdfbf6;
  --c-bg-soft: #f6f1e6;
  --c-bg-warm: #f6f1e6;
  --c-surface: #ffffff;

  /* Ink */
  --c-ink: #1e1538;
  --c-ink-2: #3a2f55;
  --c-ink-soft: #5a4f75;
  --c-ink-muted: #726a88; /* AA: 4.9:1 sobre o fundo claro */
  --c-line: #ece5f0;
  --c-line-strong: #d9d0e2;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #7c4dff 0%, #5aa9ff 100%);
  --grad-brand-hot: linear-gradient(135deg, #9461ff 0%, #6f7cff 100%);
  --grad-soft: linear-gradient(135deg, #ede5ff 0%, #d8ebff 100%);
  --grad-warm: linear-gradient(135deg, #fde0ec 0%, #fff3e6 100%);
  --grad-dark: linear-gradient(135deg, #221a4f 0%, #3d2f8a 100%);
  --grad-text: linear-gradient(120deg, #7c4dff 0%, #6a3def 100%);
  --grad-accent: linear-gradient(95deg, #9b62ff 0%, #ff5fae 100%);

  /* Fluid type scale (1rem = 16px base) */
  --fs-11: clamp(0.68rem, 0.66rem + 0.08vw, 0.74rem);
  --fs-12: clamp(0.72rem, 0.7rem + 0.1vw, 0.8rem);
  --fs-13: clamp(0.78rem, 0.76rem + 0.12vw, 0.86rem);
  --fs-14: clamp(0.84rem, 0.81rem + 0.15vw, 0.92rem);
  --fs-15: clamp(0.9rem, 0.86rem + 0.18vw, 1rem);
  --fs-16: clamp(0.95rem, 0.92rem + 0.2vw, 1.06rem);
  --fs-17: clamp(1rem, 0.96rem + 0.24vw, 1.12rem);
  --fs-18: clamp(1.06rem, 1rem + 0.28vw, 1.2rem);
  --fs-20: clamp(1.14rem, 1.06rem + 0.36vw, 1.32rem);
  --fs-22: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --fs-24: clamp(1.28rem, 1.16rem + 0.55vw, 1.6rem);
  --fs-28: clamp(1.5rem, 1.3rem + 0.85vw, 1.95rem);
  --fs-32: clamp(1.7rem, 1.4rem + 1.3vw, 2.3rem);
  --fs-40: clamp(2rem, 1.6rem + 1.85vw, 2.85rem);
  --fs-52: clamp(2.4rem, 1.7rem + 3vw, 3.45rem);
  --fs-72: clamp(2.6rem, 1.5rem + 4.6vw, 4.5rem);

  /* Fluid spacing */
  --sp-1: clamp(0.25rem, 0.24rem + 0.04vw, 0.3rem);
  --sp-2: clamp(0.5rem, 0.48rem + 0.1vw, 0.6rem);
  --sp-3: clamp(0.72rem, 0.68rem + 0.16vw, 0.86rem);
  --sp-4: clamp(1rem, 0.92rem + 0.32vw, 1.28rem);
  --sp-5: clamp(1.4rem, 1.2rem + 0.65vw, 1.85rem);
  --sp-6: clamp(2rem, 1.5rem + 1.2vw, 2.8rem);
  --sp-7: clamp(2.6rem, 2rem + 2vw, 4.2rem);
  --sp-8: clamp(3.6rem, 2.6rem + 3.4vw, 6rem);
  --sp-9: clamp(4.8rem, 3.4rem + 4.4vw, 8rem);
  --sp-10: clamp(6rem, 4rem + 6vw, 10rem);

  /* Radius */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-2xl: 44px;
  --r-pill: 999px;

  /* Shadow */
  --sh-xs: 0 1px 2px rgba(26, 19, 48, 0.03);
  --sh-sm: 0 2px 8px rgba(26, 19, 48, 0.045), 0 1px 2px rgba(26, 19, 48, 0.03);
  --sh-md: 0 6px 16px rgba(26, 19, 48, 0.055), 0 2px 5px rgba(26, 19, 48, 0.03);
  --sh-lg: 0 14px 32px rgba(26, 19, 48, 0.07), 0 3px 8px rgba(26, 19, 48, 0.035);
  --sh-xl: 0 24px 56px rgba(26, 19, 48, 0.09), 0 6px 16px rgba(26, 19, 48, 0.04);
  --sh-glow: 0 8px 20px rgba(124, 77, 255, 0.14);
  --sh-glow-strong: 0 14px 30px rgba(124, 77, 255, 0.2);

  /* Typography */
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont,
    "Segoe UI", system-ui, sans-serif;
  --font-display: "Fraunces", "Plus Jakarta Sans", Georgia, serif;

  /* Layout */
  --container: 1240px;
  --container-narrow: 980px;
  --header-h: clamp(64px, 2vw + 56px, 78px);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --t-fast: 0.18s;
  --t-base: 0.32s;
  --t-slow: 0.6s;

  /* Z-index scale */
  --z-base: 1;
  --z-raised: 10;
  --z-fab: 80;
  --z-header: 90;
  --z-menu: 95;
  --z-overlay: 100;

  /* Legacy aliases (kept for blog.css and any other consumer) */
  --s-1: var(--sp-1);
  --s-2: var(--sp-2);
  --s-3: var(--sp-3);
  --s-4: var(--sp-4);
  --s-5: var(--sp-5);
  --s-6: var(--sp-6);
  --s-7: var(--sp-7);
  --s-8: var(--sp-8);
  --s-9: var(--sp-9);
  --s-10: var(--sp-10);
  --c-primary-light: var(--c-primary-100);
  --c-primary-soft: var(--c-primary-400);
  --c-accent-soft: var(--c-accent-100);
  --c-raspberry-soft: #f47ba8;
  --c-raspberry-light: var(--c-raspberry-100);
  --c-bg-alt: var(--c-bg-soft);
  --c-beige: #f6efe6;
  --c-warm: #fff3e6;
  --c-pink: var(--c-raspberry-100);
  --c-success: #2bb673;
  --c-success-50: #edfbf3;
  --c-success-100: #d5f4e3;
  --c-success-200: #a6e6c6;
  --c-success-700: #0f6b41;

  color-scheme: light;
}

/* =============================================================
   2. RESET & BASE
   ============================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100dvh;
  min-height: 100vh;
}

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

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
a:hover {
  color: var(--c-primary);
}

ul,
ol {
  list-style: none;
}

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

:focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--c-primary);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 var(--r-md) 0;
  z-index: var(--z-overlay);
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
}

/* =============================================================
   3. UTILITIES
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.5rem);
}

.text-grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-13);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-primary);
  padding: 8px 14px;
  background: var(--c-primary-100);
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-4);
}
.eyebrow--alt {
  color: var(--c-ink-soft);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
}
.eyebrow--light {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

/* =============================================================
   4. BUTTONS
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--fs-15);
  line-height: 1;
  padding: 0.95em 1.5em;
  border-radius: var(--r-pill);
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition:
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-base) var(--ease),
    background var(--t-base) var(--ease),
    color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}

.btn--sm {
  padding: 0.8em 1.3em;
  font-size: var(--fs-14);
}
.btn--lg {
  padding: 1.15em 1.85em;
  font-size: var(--fs-16);
}
.btn--block {
  width: 100%;
}

.btn--primary {
  /* same purple→pink tonality as the hero title "E isso muda tudo." */
  background: var(--grad-accent);
  color: #fff;
  box-shadow: var(--sh-glow);
}
.btn--primary:hover {
  box-shadow: var(--sh-glow-strong);
  color: #fff;
}

.btn--ghost {
  color: var(--c-ink);
  background: var(--c-surface);
  border: 1.5px solid var(--c-line-strong);
}
.btn--ghost:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}

.btn--white {
  background: #fff;
  color: var(--c-ink);
  box-shadow: var(--sh-md);
}
.btn--white:hover {
  color: var(--c-primary);
  box-shadow: var(--sh-lg);
}

.btn--outline-light {
  color: #fff;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--c-primary);
  transition: gap var(--t-base) var(--ease);
}
.link-arrow:hover {
  gap: 14px;
  color: var(--c-primary);
}
.link-arrow svg {
  flex-shrink: 0;
}
.link-arrow--strong {
  color: var(--c-ink);
}
.link-arrow--strong:hover {
  color: var(--c-primary);
  gap: 16px;
}
.inline-link {
  color: var(--c-primary);
  font-weight: 600;
}
.inline-link:hover {
  text-decoration: underline;
}

/* =============================================================
   5. HEADER & NAVIGATION
   ============================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  height: var(--header-h);
  background: rgba(252, 250, 255, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition:
    background var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(252, 250, 255, 0.92);
  border-bottom-color: var(--c-line);
  box-shadow: 0 1px 0 rgba(26, 19, 48, 0.02), 0 8px 24px rgba(26, 19, 48, 0.04);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  flex-shrink: 0;
}
.brand__logo {
  height: clamp(44px, 3.2vw + 28px, 60px);
  width: auto;
  display: block;
  flex-shrink: 0;
}
.site-footer .brand__logo {
  height: 48px;
}
.brand--light {
  color: #fff;
}

.nav-desktop {
  display: flex;
}
.nav-desktop ul {
  display: flex;
  gap: clamp(1.2rem, 1.8vw, 2.2rem);
  align-items: center;
}
.nav-desktop a {
  font-size: var(--fs-14);
  font-weight: 500;
  color: var(--c-ink-soft);
  position: relative;
  padding: 6px 2px;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease-out);
}
.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--c-ink);
}
.nav-desktop a:hover::after,
.nav-desktop a.is-active::after {
  transform: scaleX(1);
}

.header__cta {
  display: flex;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  position: relative;
  flex-shrink: 0;
  transition:
    border-color var(--t-fast) var(--ease),
    background var(--t-fast) var(--ease);
}
.nav-toggle:hover {
  border-color: var(--c-primary-200);
}
.nav-toggle span {
  position: absolute;
  left: 50%;
  margin-left: -10px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-ink);
  transition:
    transform var(--t-base) var(--ease-out),
    opacity var(--t-fast) var(--ease),
    top var(--t-base) var(--ease-out);
}
.nav-toggle span:nth-child(1) {
  top: 14px;
}
.nav-toggle span:nth-child(2) {
  top: 21px;
}
.nav-toggle span:nth-child(3) {
  top: 28px;
}
.nav-toggle.is-active span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.4);
}
.nav-toggle.is-active span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* Mobile menu — refined glassmorphism */
.nav-mobile {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  z-index: var(--z-menu);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.28s var(--ease-out),
    transform 0.32s var(--ease-out),
    visibility 0.32s var(--ease-out);
}
.nav-mobile.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.nav-mobile nav {
  padding: clamp(1rem, 4vw, 1.5rem) clamp(1.1rem, 5vw, 2rem) 3rem;
  max-width: 720px;
  margin-inline: auto;
}
.nav-mobile ul {
  display: grid;
}
.nav-mobile li {
  border-bottom: 1px solid var(--c-line);
}
.nav-mobile li:last-child {
  border-bottom: 0;
  margin-top: 1.5rem;
  padding-top: 0.5rem;
}
.nav-mobile li > a:not(.btn) {
  display: block;
  padding: 1.1rem 0.25rem;
  font-size: var(--fs-18);
  font-weight: 500;
  color: var(--c-ink);
  transition: color var(--t-fast) var(--ease);
}
.nav-mobile li > a:not(.btn):hover {
  color: var(--c-primary);
}
.nav-mobile li > .btn {
  width: 100%;
}

/* =============================================================
   6. HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: clamp(600px, 88vh, 900px);
  overflow: hidden;
  isolation: isolate;
  background: var(--c-bg-warm);
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 4rem));
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

/* Hero background image + soft fade (blends into the cream palette) */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("../assets/images/hero/hero_bg.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.hero-fade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      var(--c-bg-warm) 0%,
      rgba(246, 241, 230, 0.94) 28%,
      rgba(246, 241, 230, 0.6) 50%,
      rgba(246, 241, 230, 0.08) 74%,
      rgba(246, 241, 230, 0) 100%
    ),
    linear-gradient(
      180deg,
      rgba(246, 241, 230, 0.55) 0%,
      rgba(246, 241, 230, 0) 22%,
      rgba(246, 241, 230, 0) 68%,
      var(--c-bg) 100%
    );
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: var(--z-raised);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

.hero-content {
  position: relative;
  max-width: 620px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.7em 1.4em;
  border-radius: var(--r-pill);
  background: rgba(241, 232, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(140, 99, 255, 0.18);
  color: #8b5fff;
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: clamp(1rem, 1.4vw, 1.5rem);
  box-shadow: 0 8px 22px rgba(140, 99, 255, 0.08);
  text-transform: uppercase;
  line-height: 1.2;
}
.hero-badge svg {
  fill: #8b5fff;
  stroke: #8b5fff;
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-72);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 500;
  color: #1e143d;
  margin-bottom: clamp(0.85rem, 1.3vw, 1.25rem);
  text-wrap: balance;
}
.hero-title__line {
  display: block;
}
@media (max-width: 560px) {
  .hero-title__line {
    display: inline;
  }
  .hero-title {
    text-wrap: pretty;
  }
}
.hero-title-accent {
  position: relative;
  background: var(--grad-accent);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-style: normal;
  font-weight: 700;
  padding-right: 4px;
}
.hero-title-last {
  position: relative;
  display: inline-block;
}
.hero-underline {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 16px;
  pointer-events: none;
}

.hero-description {
  max-width: 56ch;
  margin-top: clamp(0.8rem, 1.2vw, 1.2rem);
  font-size: var(--fs-17);
  line-height: 1.65;
  color: var(--c-ink-soft);
  margin-bottom: clamp(1.4rem, 2vw, 1.8rem);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: none;
  font-family: inherit;
  font-size: var(--fs-15);
  font-weight: 700;
  cursor: pointer;
  padding: 1.1em 1.75em;
  border-radius: var(--r-pill);
  text-decoration: none;
  transition:
    transform var(--t-base) var(--ease-out),
    box-shadow var(--t-base) var(--ease-out);
}
.hero-btn--primary {
  /* same purple→pink tonality as the hero title "E isso muda tudo." */
  background: var(--grad-accent);
  color: #fff;
  box-shadow:
    0 22px 42px rgba(127, 92, 255, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.hero-btn--primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 28px 48px rgba(127, 92, 255, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: #fff;
}
.hero-btn--secondary {
  background: #fff;
  color: #2e2448;
  padding-left: 0.5em;
  box-shadow:
    0 12px 28px rgba(20, 12, 50, 0.07),
    0 0 0 1px rgba(20, 12, 50, 0.04);
}
.hero-btn--secondary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 16px 34px rgba(20, 12, 50, 0.1),
    0 0 0 1px rgba(20, 12, 50, 0.06);
  color: #2e2448;
}
.hero-btn svg {
  flex-shrink: 0;
}

/* Features below buttons */
.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(0.85rem, 1.6vw, 1.6rem);
  margin-top: clamp(2rem, 3vw, 2.8rem);
}
.hero-features .feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.hero-features .feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hero-features .feature-icon.purple,
.hero-features .feature-icon.pink,
.hero-features .feature-icon.gold {
  background: var(--c-primary-100);
}
.hero-features .feature-text {
  min-width: 0;
}
.hero-features .feature-text strong {
  display: block;
  margin-bottom: 2px;
  font-size: var(--fs-14);
  color: #2a2147;
  line-height: 1.3;
}
.hero-features .feature-text p {
  color: #76708c;
  font-size: var(--fs-13);
  line-height: 1.3;
}

/* Hero social-proof chip — small, glassy, tucked into the lower-right
   so it never covers the photo's focal point (the child's face) */
.hero-proof {
  position: absolute;
  right: clamp(1.25rem, 5vw, 4rem);
  bottom: clamp(1.5rem, 5vw, 3.5rem);
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 1.1rem;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--sh-md);
}
.hero-proof__stars {
  display: inline-flex;
  gap: 2px;
  color: var(--c-gold);
  flex-shrink: 0;
}
.hero-proof__stars svg {
  width: 15px;
  height: 15px;
}
.hero-proof__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.hero-proof__text strong {
  font-size: var(--fs-14);
  font-weight: 700;
  color: var(--c-ink);
}
.hero-proof__text span {
  font-size: var(--fs-12);
  color: var(--c-ink-muted);
}

/* =============================================================
   7. SECTION BASE
   ============================================================= */
.section {
  padding: var(--sp-9) 0;
  position: relative;
}
.section--soft {
  background: linear-gradient(
    180deg,
    var(--c-bg) 0%,
    var(--c-bg-soft) 50%,
    var(--c-bg) 100%
  );
}

.section__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--sp-7);
}
.section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
  max-width: var(--container);
  gap: var(--sp-5);
  flex-wrap: wrap;
}
.section__title {
  font-family: var(--font-display);
  font-size: var(--fs-52);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-3);
  text-wrap: balance;
}
.section__lead {
  font-size: var(--fs-17);
  color: var(--c-ink-soft);
  max-width: 60ch;
  line-height: 1.6;
  text-wrap: pretty;
}
.section__head .section__lead {
  margin-inline: auto;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.two-col--reverse > :first-child {
  order: 2;
}

/* =============================================================
   8. SOBRE
   ============================================================= */
.sobre {
  background: var(--c-bg);
}

.check-list {
  display: grid;
  gap: var(--sp-3);
  margin: var(--sp-5) 0;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-16);
  color: var(--c-ink-soft);
}
.check {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-primary-100);
  color: var(--c-primary);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.sobre__visual {
  position: relative;
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.sobre__shape {
  display: none;
}
.sobre__img-hero {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--c-bg-soft);
  box-shadow: var(--sh-md);
}
.sobre__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform 0.7s var(--ease-out);
}
.sobre__img-hero:hover .sobre__photo {
  transform: scale(1.04);
}
.sobre__badge {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: var(--grad-brand);
  color: #fff;
  padding: 0.9em 1.3em;
  border-radius: var(--r-lg);
  box-shadow: 0 12px 28px rgba(124, 77, 255, 0.28);
  text-align: center;
  min-width: 130px;
  z-index: 3;
}
.sobre__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-28);
  font-weight: 600;
  line-height: 1;
}
.sobre__badge span {
  font-size: var(--fs-12);
  opacity: 0.9;
  font-weight: 500;
}

.sobre__mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  position: relative;
  z-index: 1;
}
.sobre__stat {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  text-align: center;
  box-shadow: var(--sh-xs);
  transition:
    transform var(--t-base) var(--ease-out),
    box-shadow var(--t-base) var(--ease-out);
}
.sobre__stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-sm);
}
.sobre__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-22);
  font-weight: 600;
  color: var(--c-primary);
  line-height: 1;
}
.sobre__stat small {
  font-size: var(--fs-12);
  color: var(--c-ink-muted);
  line-height: 1.3;
  display: block;
  margin-top: 4px;
}

.sobre__quote {
  position: relative;
  background: var(--c-surface);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--sh-md);
  border: 1px solid var(--c-line);
  z-index: 1;
}
.sobre__quote::before {
  content: "";
  position: absolute;
  top: -1px;
  left: var(--sp-6);
  right: var(--sp-6);
  height: 3px;
  background: var(--grad-brand);
  border-radius: 2px;
}
.sobre__quote svg {
  color: var(--c-primary);
  margin-bottom: var(--sp-3);
  opacity: 0.8;
}
.sobre__quote p {
  font-family: var(--font-display);
  font-size: var(--fs-22);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  margin-bottom: var(--sp-3);
  text-wrap: pretty;
}
.sobre__quote span {
  color: var(--c-ink-muted);
  font-size: var(--fs-14);
  font-weight: 500;
}

/* =============================================================
   9. DIFERENCIAIS / FEATURES GRID
   ============================================================= */
#diferenciais {
  background: var(--c-bg-soft);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  align-items: stretch;
}
.feature {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-top: 3px solid transparent;
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform var(--t-base) var(--ease-out),
    box-shadow var(--t-base) var(--ease-out),
    border-color var(--t-base) var(--ease-out);
}
/* soft color wash that fades in on hover */
.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md);
}
.feature:hover::after {
  opacity: 1;
}
.feature > * {
  position: relative;
  z-index: 1;
}
.feature__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--c-primary-100);
  color: var(--c-primary);
  margin-bottom: var(--sp-4);
  transition: transform var(--t-base) var(--ease-spring);
}
.feature__icon svg {
  width: 26px;
  height: 26px;
}
.feature:hover .feature__icon {
  transform: scale(1.06) rotate(-3deg);
}
.feature h3 {
  font-family: var(--font-display);
  font-size: var(--fs-22);
  font-weight: 500;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.feature p {
  color: var(--c-ink-soft);
  font-size: var(--fs-15);
  flex: 1;
}

/* Per-card color accents: colored top border + tinted icon (always on),
   and a matching soft wash that appears on hover */
.feature:nth-child(1) {
  border-top-color: var(--c-primary);
}
.feature:nth-child(1) .feature__icon {
  background: var(--c-primary-100);
  color: var(--c-primary);
}
.feature:nth-child(1)::after {
  background: radial-gradient(
    ellipse at 80% 20%,
    rgba(124, 77, 255, 0.09),
    transparent 62%
  );
}

.feature:nth-child(2) {
  border-top-color: var(--c-accent);
}
.feature:nth-child(2) .feature__icon {
  background: var(--c-accent-100);
  color: #2a85d4;
}
.feature:nth-child(2)::after {
  background: radial-gradient(
    ellipse at 80% 20%,
    rgba(90, 169, 255, 0.09),
    transparent 62%
  );
}

.feature:nth-child(3) {
  border-top-color: var(--c-raspberry);
}
.feature:nth-child(3) .feature__icon {
  background: var(--c-raspberry-100);
  color: var(--c-raspberry);
}
.feature:nth-child(3)::after {
  background: radial-gradient(
    ellipse at 80% 20%,
    rgba(232, 91, 137, 0.09),
    transparent 62%
  );
}

.feature:nth-child(4) {
  border-top-color: #4caf50;
}
.feature:nth-child(4) .feature__icon {
  background: #e8f5e9;
  color: #2e7d32;
}
.feature:nth-child(4)::after {
  background: radial-gradient(
    ellipse at 80% 20%,
    rgba(76, 175, 80, 0.09),
    transparent 62%
  );
}

.feature:nth-child(5) {
  border-top-color: #ff9800;
}
.feature:nth-child(5) .feature__icon {
  background: #fff3e0;
  color: #e65100;
}
.feature:nth-child(5)::after {
  background: radial-gradient(
    ellipse at 80% 20%,
    rgba(255, 152, 0, 0.09),
    transparent 62%
  );
}

.feature:nth-child(6) {
  border-top-color: #9c27b0;
}
.feature:nth-child(6) .feature__icon {
  background: #f3e5f5;
  color: #7b1fa2;
}
.feature:nth-child(6)::after {
  background: radial-gradient(
    ellipse at 80% 20%,
    rgba(156, 39, 176, 0.09),
    transparent 62%
  );
}

/* =============================================================
   10. METODOLOGIA / STEPS
   ============================================================= */
.metodologia {
  background: var(--c-bg);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    var(--c-line-strong),
    transparent
  );
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  padding: 0 var(--sp-3);
  text-align: center;
}
.step__num {
  display: inline-grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--c-surface);
  color: var(--c-primary);
  font-family: var(--font-display);
  font-size: var(--fs-22);
  font-weight: 600;
  margin-bottom: var(--sp-4);
  box-shadow:
    inset 0 0 0 2px var(--c-primary-100),
    var(--sh-sm);
  transition:
    transform var(--t-base) var(--ease-spring),
    background var(--t-base) var(--ease),
    color var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease);
}
.step:hover .step__num {
  background: var(--grad-brand);
  color: #fff;
  box-shadow:
    inset 0 0 0 0 transparent,
    0 14px 32px rgba(124, 77, 255, 0.32),
    0 0 0 10px rgba(124, 77, 255, 0.08);
  transform: scale(1.06);
}
.step h3 {
  font-family: var(--font-display);
  font-size: var(--fs-22);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.step p {
  color: var(--c-ink-soft);
  font-size: var(--fs-15);
}

/* =============================================================
   11. ÁREAS / BENEFITS
   ============================================================= */
#areas {
  background: var(--c-bg-soft);
}
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--sp-5);
}
.tag-cloud span {
  font-size: var(--fs-14);
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  color: var(--c-ink-soft);
  transition: all var(--t-fast) var(--ease);
  cursor: default;
}
.tag-cloud span:hover {
  background: var(--c-primary-100);
  border-color: var(--c-primary-200);
  color: var(--c-primary);
  transform: translateY(-2px);
}

.benefit-stack {
  display: grid;
  gap: var(--sp-4);
}
.benefit {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  border: 1px solid var(--c-line);
  position: relative;
  overflow: hidden;
  transition:
    transform var(--t-base) var(--ease-out),
    box-shadow var(--t-base) var(--ease-out);
}
.benefit::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--grad-brand);
}
.benefit:hover {
  transform: translateX(6px);
  box-shadow: var(--sh-md);
}
.benefit h3 {
  font-family: var(--font-display);
  font-size: var(--fs-22);
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.benefit p {
  color: var(--c-ink-soft);
  font-size: var(--fs-15);
}

/* =============================================================
   12. SERVIÇOS
   ============================================================= */
.servicos {
  background: var(--c-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}
.service-card {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  overflow: hidden;
  transition:
    transform var(--t-base) var(--ease-out),
    box-shadow var(--t-base) var(--ease-out),
    border-color var(--t-base) var(--ease-out);
}
.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-brand);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: var(--c-primary-100);
}
.service-card:hover::after {
  opacity: 1;
}
.service-card > *:not(.svc-peek) {
  position: relative;
  z-index: 1;
}
.service-card__tag {
  display: inline-block;
  font-size: var(--fs-11);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--grad-brand);
  color: #fff;
  margin-bottom: var(--sp-3);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-24);
  font-weight: 500;
  margin-bottom: var(--sp-3);
  letter-spacing: -0.01em;
}
.service-card > p {
  color: var(--c-ink-soft);
  font-size: var(--fs-15);
  margin-bottom: var(--sp-4);
}
.service-card ul {
  display: grid;
  gap: 10px;
  margin-bottom: var(--sp-4);
}
.service-card ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-15);
  color: var(--c-ink-soft);
}
.service-card ul li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-primary);
  flex-shrink: 0;
}

/* Service card peek image */
/* Service-card hover photo — a soft full-card wash (no hard cut).
   The photo covers the whole card behind the text and gently fades +
   zooms in on hover; a diagonal veil keeps the text side readable. */
.svc-peek {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.55s var(--ease-out);
  pointer-events: none;
  z-index: 0;
}
.svc-peek::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    105deg,
    var(--c-surface) 0%,
    var(--c-surface) 30%,
    rgba(255, 255, 255, 0.88) 50%,
    rgba(255, 255, 255, 0.62) 74%,
    rgba(255, 255, 255, 0.48) 100%
  );
  pointer-events: none;
}
.svc-peek img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.6;
  filter: saturate(0.85);
  transform: scale(1.08);
  transition: transform 0.9s var(--ease-out);
}
@media (hover: hover) {
  .service-card:hover .svc-peek,
  .service-card:focus-within .svc-peek {
    opacity: 1;
  }
  .service-card:hover .svc-peek img,
  .service-card:focus-within .svc-peek img {
    transform: scale(1);
  }
}
@media (hover: none) {
  .svc-peek {
    display: none;
  }
}

/* =============================================================
   13. BLOG PREVIEW
   ============================================================= */
.blog-preview {
  background: var(--c-bg-soft);
}
.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
.post-card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition:
    transform var(--t-base) var(--ease-out),
    box-shadow var(--t-base) var(--ease-out),
    border-color var(--t-base) var(--ease-out);
}
.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md);
  border-color: var(--c-primary-100);
}
.post-card a {
  display: block;
  color: inherit;
}
.post-card__media {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--grad-soft);
  overflow: hidden;
}
.post-card__media--1 {
  background: linear-gradient(135deg, #c6b8ff 0%, #a5d8ff 100%);
}
.post-card__media--2 {
  background: linear-gradient(135deg, #ffd6ec 0%, #ffe4cf 100%);
}
.post-card__media--3 {
  background: linear-gradient(135deg, #b8eccb 0%, #8de1ff 100%);
}
.post-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 255, 255, 0.4),
      transparent 50%
    ),
    radial-gradient(
      circle at 20% 80%,
      rgba(255, 255, 255, 0.3),
      transparent 50%
    );
}
.post-card__media--photo::after {
  background: linear-gradient(
    to bottom,
    rgba(15, 10, 32, 0) 30%,
    rgba(15, 10, 32, 0.35) 100%
  );
  z-index: 1;
}
.post-card__category {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-size: var(--fs-11);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--c-ink);
  z-index: 3;
  transition:
    background var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
}
.post-card:hover .post-card__category {
  transform: translateY(-2px);
}
.post-card__illo {
  position: absolute;
  bottom: 0;
  right: 8%;
  width: 55%;
  max-width: 200px;
  z-index: 2;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}
.post-card__media--photo .post-card__illo {
  display: none;
}
.pcard-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s var(--ease-out);
  z-index: 0;
}
.post-card:hover .pcard-photo {
  transform: scale(1.05);
}
.post-card__body {
  padding: var(--sp-5);
  position: relative;
  z-index: 1;
}
.post-card time {
  display: block;
  font-size: var(--fs-13);
  color: var(--c-ink-muted);
  margin-bottom: 0.5rem;
}
.post-card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-20);
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  letter-spacing: -0.005em;
  transition: color var(--t-fast) var(--ease);
  text-wrap: balance;
}
.post-card:hover h3 {
  color: var(--c-primary);
}
.post-card p {
  font-size: var(--fs-14);
  color: var(--c-ink-soft);
  line-height: 1.5;
}

/* =============================================================
   14. FAQ
   ============================================================= */
.faq {
  background: var(--c-bg);
}
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-7);
  align-items: start;
}
.accordion {
  display: grid;
  gap: var(--sp-3);
}
.accordion__item {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition:
    border-color var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease);
}
.accordion__item[open] {
  border-color: var(--c-primary-200);
  box-shadow: var(--sh-sm);
}
.accordion__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  cursor: pointer;
  font-weight: 600;
  font-size: var(--fs-16);
  list-style: none;
  user-select: none;
  transition: color var(--t-fast) var(--ease);
}
.accordion__item summary::-webkit-details-marker {
  display: none;
}
.accordion__item:hover summary {
  color: var(--c-primary);
}
.accordion__icon {
  width: 26px;
  height: 26px;
  position: relative;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--c-primary-100);
  transition: background var(--t-fast) var(--ease);
}
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--c-primary);
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease-out);
}
.accordion__icon::before {
  width: 10px;
  height: 2px;
}
.accordion__icon::after {
  width: 2px;
  height: 10px;
}
.accordion__item[open] .accordion__icon {
  background: var(--c-primary);
}
.accordion__item[open] .accordion__icon::before {
  background: #fff;
}
.accordion__item[open] .accordion__icon::after {
  background: #fff;
  transform: translate(-50%, -50%) rotate(90deg);
}
.accordion__body {
  padding: 0 var(--sp-5) var(--sp-4);
  color: var(--c-ink-soft);
  font-size: var(--fs-15);
  line-height: 1.65;
}

/* =============================================================
   15. CTA FINAL
   ============================================================= */
.cta-final {
  padding: var(--sp-8) 0;
  position: relative;
}
.cta-final__inner {
  position: relative;
  background: var(--grad-dark);
  border-radius: var(--r-xl);
  padding: clamp(2.2rem, 5vw, 5rem);
  overflow: hidden;
  color: #fff;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--sp-5);
  align-items: center;
}
.cta-final__title {
  font-family: var(--font-display);
  font-size: var(--fs-40);
  font-weight: 500;
  line-height: 1.1;
  margin: var(--sp-3) 0 var(--sp-2);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.cta-final__title span {
  color: #c6b8ff;
  display: block;
}
.cta-final__inner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--fs-17);
  max-width: 50ch;
}
.cta-final__actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  justify-self: end;
}

/* =============================================================
   16. CONTATO / FORM
   ============================================================= */
.contact-list {
  display: grid;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  transition:
    border-color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
}
.contact-list li:hover {
  border-color: var(--c-primary-200);
  transform: translateY(-2px);
}
.contact-list li > span:first-child {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--c-primary-100);
  font-size: var(--fs-20);
  flex-shrink: 0;
}
.contact-list strong {
  display: block;
  font-size: var(--fs-15);
  margin-bottom: 2px;
}
.contact-list a {
  color: var(--c-primary);
  font-weight: 500;
  font-size: var(--fs-15);
  word-break: break-word;
}
.contact-list a:hover {
  text-decoration: underline;
}

/* WhatsApp — item de contato em destaque (verde) */
.contact-list li.contact-list__wa {
  background: linear-gradient(
    135deg,
    var(--c-success-50) 0%,
    var(--c-surface) 68%
  );
  border-color: var(--c-success-200);
  box-shadow: 0 6px 18px rgba(43, 182, 115, 0.1);
}
.contact-list li.contact-list__wa:hover {
  border-color: var(--c-success);
}
/* Ícone: círculo verde sólido com glifo branco */
.contact-list li.contact-list__wa .wa-icon {
  background: linear-gradient(135deg, #2bb673 0%, #1e9e60 100%);
  box-shadow: 0 4px 10px rgba(43, 182, 115, 0.3);
}
.contact-list li.contact-list__wa .wa-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
}
/* Cabeçalho: título + selo */
.wa-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: 8px;
}
.wa-head strong {
  margin-bottom: 0;
}
/* Selo "Resposta em até 24h" */
.wa-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-size: var(--fs-11);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--c-success-700);
  background: var(--c-success-100);
  border: 1px solid var(--c-success-200);
  border-radius: var(--r-pill);
}
.wa-badge__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-success);
  box-shadow: 0 0 0 0 rgba(43, 182, 115, 0.55);
  animation: wa-pulse 2s ease-out infinite;
}
@keyframes wa-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(43, 182, 115, 0.55);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(43, 182, 115, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(43, 182, 115, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .wa-badge__pulse {
    animation: none;
  }
}
/* Botão de ação — WhatsApp como canal primário */
.contact-list a.wa-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0.5em 1.05em;
  font-size: var(--fs-14);
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #2bb673 0%, #1e9e60 100%);
  border-radius: var(--r-pill);
  box-shadow: 0 4px 12px rgba(43, 182, 115, 0.28);
  transition:
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease),
    filter var(--t-fast) var(--ease);
}
.contact-list a.wa-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(43, 182, 115, 0.38);
  filter: brightness(1.05);
  text-decoration: none;
}
.contact-list a.wa-cta svg {
  transition: transform var(--t-fast) var(--ease);
}
.contact-list a.wa-cta:hover svg {
  transform: translateX(3px);
}

.form-card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--sh-md);
}
.field {
  display: grid;
  gap: 8px;
  margin-bottom: var(--sp-3);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}
.field-row .field {
  margin-bottom: var(--sp-3);
}
.field label {
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--c-ink-soft);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: var(--fs-15);
  padding: 0.85em 1em;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-bg);
  color: var(--c-ink);
  width: 100%;
  transition:
    border-color var(--t-fast) var(--ease),
    background var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--c-primary);
  background: var(--c-surface);
  box-shadow: 0 0 0 4px var(--c-primary-100);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--c-ink-muted);
}
.form-note {
  font-size: var(--fs-13);
  color: var(--c-ink-muted);
  margin-top: var(--sp-3);
  text-align: center;
}
.form-success {
  margin-top: var(--sp-3);
  padding: var(--sp-3);
  background: rgba(43, 182, 115, 0.12);
  border: 1px solid rgba(43, 182, 115, 0.3);
  border-radius: var(--r-md);
  color: #1a8a55;
  font-size: var(--fs-14);
  font-weight: 500;
  text-align: center;
}

/* =============================================================
   17. FOOTER
   ============================================================= */
.site-footer {
  background:
    linear-gradient(
      90deg,
      rgba(90, 169, 255, 0.32) 0%,
      rgba(107, 118, 255, 0.24) 40%,
      rgba(124, 77, 255, 0.2) 72%,
      rgba(124, 77, 255, 0.12) 100%
    ),
    linear-gradient(180deg, #161232 0%, #120f2b 55%, #0e0a23 100%);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--sp-8) 0 var(--sp-5);
  margin-top: var(--sp-7);
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-brand);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--sp-6);
  padding-bottom: var(--sp-6);
}
.footer__brand p {
  font-size: var(--fs-14);
  margin: var(--sp-3) 0 var(--sp-4);
  max-width: 38ch;
  line-height: 1.55;
}
.socials {
  display: flex;
  gap: 10px;
}
.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transition:
    background var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
}
.socials a:hover {
  background: var(--c-primary);
  transform: translateY(-2px);
  color: #fff;
}
.footer__grid h4 {
  font-family: var(--font-display);
  color: #fff;
  font-size: var(--fs-16);
  font-weight: 500;
  margin-bottom: var(--sp-3);
}
.footer__grid ul {
  display: grid;
  gap: 10px;
}
.footer__grid li,
.footer__grid a {
  font-size: var(--fs-14);
  word-break: break-word;
}
.footer__grid a:hover {
  color: #c6b8ff;
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--fs-13);
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.footer__bottom ul {
  display: flex;
  gap: var(--sp-5);
}

/* =============================================================
   18. WHATSAPP FAB
   ============================================================= */
.whatsapp-fab {
  position: fixed;
  bottom: clamp(1rem, 2vw, 1.5rem);
  right: clamp(1rem, 2vw, 1.5rem);
  width: clamp(56px, 5vw, 62px);
  height: clamp(56px, 5vw, 62px);
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow:
    0 10px 28px rgba(37, 211, 102, 0.4),
    0 0 0 6px rgba(37, 211, 102, 0.08);
  z-index: var(--z-fab);
  transition:
    transform 0.28s var(--ease-out),
    box-shadow 0.28s var(--ease),
    background 0.2s var(--ease);
  isolation: isolate;
  text-decoration: none;
}
.whatsapp-fab:hover,
.whatsapp-fab:focus-visible {
  transform: scale(1.08) translateY(-2px);
  color: #fff;
  background: #1faa53;
  box-shadow:
    0 14px 36px rgba(37, 211, 102, 0.5),
    0 0 0 8px rgba(37, 211, 102, 0.1);
}
.whatsapp-fab:active {
  transform: scale(0.98);
}
.whatsapp-fab svg {
  width: 30px;
  height: 30px;
  display: block;
}
.whatsapp-fab__tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  opacity: 0;
  pointer-events: none;
  background: #1a1330;
  color: #fff;
  padding: 0.6em 1em;
  border-radius: 10px;
  font-size: var(--fs-13);
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  transition:
    opacity 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.whatsapp-fab__tooltip::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  width: 10px;
  height: 10px;
  background: #1a1330;
  transform: translateY(-50%) rotate(45deg);
  border-radius: 2px;
}
.whatsapp-fab:hover .whatsapp-fab__tooltip,
.whatsapp-fab:focus-visible .whatsapp-fab__tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* =============================================================
   19. REVEAL & MOTION
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Lazy image fade-in — uses an animation (not `transition`) so it never
   clobbers the `transition: transform` that powers hover-zoom on images */
@keyframes imgFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.img-fade-in {
  animation: imgFadeIn 0.55s var(--ease-out);
}

/* Scrollbar */
@supports selector(::-webkit-scrollbar) {
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  ::-webkit-scrollbar-track {
    background: var(--c-bg-soft);
  }
  ::-webkit-scrollbar-thumb {
    background: linear-gradient(
      180deg,
      var(--c-primary) 0%,
      var(--c-raspberry) 100%
    );
    border-radius: 4px;
    border: 2px solid var(--c-bg-soft);
  }
  ::-webkit-scrollbar-thumb:hover {
    background: var(--c-primary-600);
  }
}

/* =============================================================
   20. RESPONSIVE — Progressive breakpoints
   ============================================================= */

/* Ultrawide refinement (1720px+) */
@media (min-width: 1720px) {
  :root {
    --container: 1320px;
  }
  .hero-grid {
    gap: 5rem;
  }
}

/* Medium laptop (1100px down) — hero collapses to single centered column */
@media (max-width: 1100px) {
  .hero {
    min-height: 0;
    text-align: center;
  }
  /* Content stacks centered, so let the photo sit softly behind as texture */
  .hero-fade {
    background:
      linear-gradient(
        180deg,
        rgba(246, 241, 230, 0.82) 0%,
        rgba(246, 241, 230, 0.9) 55%,
        var(--c-bg) 100%
      );
  }
  .hero-content {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
  }
  .hero-description {
    margin-inline: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-features {
    justify-content: center;
    max-width: 720px;
    margin-inline: auto;
  }
  .hero-proof {
    display: none;
  }
}

/* Tablet (1024px down) */
@media (max-width: 1024px) {
  .two-col,
  .two-col--reverse {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
  .two-col--reverse > :first-child {
    order: 0;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-6);
  }
  .steps::before {
    display: none;
  }
  .posts {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .faq__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }
  .cta-final__inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .cta-final__actions {
    justify-self: start;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile (768px down) */
@media (max-width: 768px) {
  .nav-desktop,
  .header__cta {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .posts {
    grid-template-columns: 1fr;
  }
  .section__head--row {
    flex-direction: column;
    align-items: flex-start;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .form-card {
    padding: var(--sp-4);
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer__bottom ul {
    justify-content: center;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
  }
  .hero-btn {
    justify-content: center;
    width: 100%;
  }
  .hero-features {
    grid-template-columns: 1fr 1fr;
    text-align: left;
    gap: 1rem;
  }
  .cta-final__actions {
    flex-direction: column;
    width: 100%;
  }
  .cta-final__actions .btn {
    width: 100%;
  }
  /* Stats / sobre mobile */
  .sobre__mini-stats {
    gap: var(--sp-2);
  }
  .sobre__stat strong {
    font-size: var(--fs-18);
  }
  .sobre__quote {
    padding: var(--sp-5);
  }
}

/* Mini mobile (480px down) */
@media (max-width: 480px) {
  .container {
    padding-inline: 1rem;
  }
  .btn--lg {
    padding: 0.95em 1.4em;
  }
  .cta-final__inner {
    padding: var(--sp-5) var(--sp-4);
  }
  .hero-features {
    grid-template-columns: 1fr;
  }
  .sobre__mini-stats {
    grid-template-columns: 1fr 1fr;
  }
  .sobre__stat:last-child {
    grid-column: span 2;
  }
  .whatsapp-fab__tooltip {
    display: none;
  }
}

/* Tiny mobile (375px down) */
@media (max-width: 375px) {
  .hero-badge {
    font-size: 10px;
    padding: 0.65em 1.1em;
    letter-spacing: 0.08em;
  }
}

/* =============================================================
   21. ACCESSIBILITY — Reduced motion
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =============================================================
   22. LEGAL PAGES (privacidade / termos)
   ============================================================= */
.legal-hero {
  padding: calc(var(--header-h) + var(--sp-7)) 0 var(--sp-6);
  background: linear-gradient(180deg, var(--c-bg-warm) 0%, var(--c-bg) 100%);
  border-bottom: 1px solid var(--c-line);
}
.legal-hero__inner {
  max-width: 820px;
}
.legal-hero h1 {
  font-family: var(--font-display);
  font-size: var(--fs-52);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: var(--sp-3) 0 var(--sp-3);
  text-wrap: balance;
}
.legal-hero__updated {
  font-size: var(--fs-14);
  color: var(--c-ink-muted);
}

.legal {
  padding: var(--sp-7) 0 var(--sp-9);
}
.legal__content {
  max-width: 760px;
  margin: 0 auto;
  font-size: var(--fs-16);
  line-height: 1.75;
  color: var(--c-ink-soft);
}
.legal__content > p {
  margin-bottom: var(--sp-4);
  text-wrap: pretty;
}
.legal__content h2 {
  font-family: var(--font-display);
  font-size: var(--fs-24);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  margin: var(--sp-6) 0 var(--sp-3);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.legal__content h2:first-child {
  margin-top: 0;
}
.legal__content h3 {
  font-family: var(--font-display);
  font-size: var(--fs-18);
  font-weight: 500;
  color: var(--c-ink);
  margin: var(--sp-5) 0 var(--sp-2);
}
.legal__content ul {
  display: grid;
  gap: 10px;
  margin: 0 0 var(--sp-4);
  padding-left: var(--sp-5);
}
.legal__content li {
  position: relative;
  padding-left: var(--sp-4);
}
.legal__content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-primary);
}
.legal__content a {
  color: var(--c-primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal__content strong {
  color: var(--c-ink);
  font-weight: 700;
}
.legal__note {
  margin-top: var(--sp-6);
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  font-size: var(--fs-14);
  color: var(--c-ink-muted);
}
.legal__back {
  margin-top: var(--sp-6);
}

/* =============================================================
   23. PRINT
   ============================================================= */
@media print {
  .site-header,
  .nav-mobile,
  .whatsapp-fab,
  .cta-final {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
}
