/* =========================================================
   Fábrica de Tempo — folha de estilos
   Site estático: HTML + CSS + JS, sem build.
   ========================================================= */

/* ---------- Fontes (self-hosted) ---------- */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/poppins-300-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/poppins-300-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --verde: #d6dfd4;
  --verde-forte: #7d9f84;   /* verde do símbolo, para contraste */
  --vermelho: #c47b5a;
  --azul: #709db3;
  --amarelo: #c9a84c;
  --roxo: #8d6b8a;

  --bg: #f8f6f6;
  --bg-2: #dadad1;
  --bg-3: #ffffff;
  --texto: #4b4b4b;
  --texto-2: #707070;
  --linha: color-mix(in srgb, var(--bg-2) 70%, transparent);

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --fs-sm: clamp(0.875rem, 0.85rem + 0.15vw, 0.9375rem);
  --fs-base: clamp(1rem, 0.97rem + 0.2vw, 1.0625rem);
  --fs-md: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-lg: clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem);
  --fs-xl: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
  --fs-2xl: clamp(2.25rem, 1.6rem + 3.2vw, 4.25rem);

  --radius: 20px;
  --radius-sm: 12px;
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 8rem);
  --header-h: 84px;

  --shadow-sm: 0 1px 2px rgba(75, 75, 75, 0.06), 0 4px 14px rgba(75, 75, 75, 0.06);
  --shadow-md: 0 6px 24px rgba(75, 75, 75, 0.1), 0 2px 6px rgba(75, 75, 75, 0.06);
  --shadow-lg: 0 24px 60px rgba(75, 75, 75, 0.16);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  color-scheme: light;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--texto);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
main { overflow-x: clip; }

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.15; text-wrap: balance; font-weight: 600; letter-spacing: -0.01em; }
p { text-wrap: pretty; }
strong, b { font-weight: 600; }

:focus-visible {
  outline: 3px solid var(--azul);
  outline-offset: 3px;
  border-radius: 6px;
}

[tabindex="-1"]:focus { outline: none; }

::selection { background: color-mix(in srgb, var(--azul) 35%, white); color: var(--texto); }

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

/* ---------- Transições de página (View Transitions) ---------- */
@view-transition { navigation: auto; }

::view-transition-old(root),
::view-transition-new(root) { animation-duration: 0.45s; }

/* ---------- Layout ---------- */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.container--narrow { max-width: 820px; }

.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * 0.65); }
.section--alt { background: var(--bg-2); }
.section--white { background: var(--bg-3); }

.section-head { max-width: 760px; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--texto-2);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 12px; height: 12px;
  border: 2.5px solid var(--eyebrow-color, var(--azul));
  border-radius: 3px;
  flex: none;
}
.eyebrow--light { color: rgba(255, 255, 255, 0.75); }

.h2 { font-size: var(--fs-xl); }
.h3 { font-size: var(--fs-lg); }
.lead { font-size: var(--fs-md); color: var(--texto-2); line-height: 1.6; }
.section-head .lead { margin-top: 1rem; }
.muted { color: var(--texto-2); }
.small { font-size: var(--fs-sm); }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }

/* Realces de cor inline */
.c-azul { color: var(--azul); }
.c-vermelho { color: var(--vermelho); }
.c-amarelo { color: var(--amarelo); }
.c-roxo { color: var(--roxo); }
.c-verde { color: var(--verde-forte); }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--texto);
  --btn-fg: #fff;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--fs-sm);
  line-height: 1.2;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 2px solid transparent;
  overflow: hidden;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s, background-color 0.3s, color 0.3s, border-color 0.3s;
  will-change: transform;
}
.btn::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
  z-index: -1;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }

.btn--whatsapp { --btn-bg: #1f8a5b; }
.btn--whatsapp:hover { --btn-bg: #25a86f; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--texto); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--texto);
  border-color: color-mix(in srgb, var(--texto) 25%, transparent);
}
.btn--ghost:hover { border-color: var(--texto); box-shadow: none; }
.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); box-shadow: none; }
.btn--lg { padding: 1.1rem 1.9rem; font-size: var(--fs-base); }
.btn--sm { padding: 0.65rem 1.1rem; font-size: var(--fs-xs); }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 600; color: var(--azul);
}
.link-arrow svg { width: 1em; height: 1em; transition: transform 0.3s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Ícones (máscara CSS sobre os SVGs da pasta images) ---------- */
.icon {
  display: inline-block;
  width: 1.5rem; height: 1.5rem;
  background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
  flex: none;
}
.icon-box {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  color: var(--ib-color, var(--azul));
  background: color-mix(in srgb, var(--ib-color, var(--azul)) 14%, white);
  border: 2px solid color-mix(in srgb, var(--ib-color, var(--azul)) 35%, transparent);
  transition: transform 0.4s var(--ease-spring), background-color 0.3s;
}
.icon-box .icon { width: 28px; height: 28px; }

/* ---------- Quadrados da marca (decoração) ---------- */
.sq {
  position: absolute;
  border: var(--sq-b, 10px) solid var(--sq-c, var(--azul));
  border-radius: var(--sq-r, 22%);
  width: var(--sq-s, 120px);
  aspect-ratio: 1;
  pointer-events: none;
}

/* ---------- Barra de progresso de rolagem ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0;
  height: 3px;
  z-index: 1001;
  background: linear-gradient(90deg, var(--vermelho), var(--amarelo), var(--azul), var(--roxo));
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
  pointer-events: none;
}
@supports (animation-timeline: scroll()) {
  .progress {
    transform: none;
    animation: progress-grow linear both;
    animation-timeline: scroll(root);
  }
  @keyframes progress-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: height 0.35s var(--ease-out), background-color 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}
.header::before {
  content: "";
  position: absolute; inset: 0;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  opacity: 0;
  transition: opacity 0.35s;
  z-index: -1;
}
.header.is-scrolled { height: 68px; box-shadow: 0 1px 0 var(--linha), var(--shadow-sm); }
.header.is-scrolled::before { opacity: 1; }

.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 46px; width: auto; transition: height 0.35s var(--ease-out); }
.header.is-scrolled .brand img { height: 38px; }

.nav { display: flex; align-items: center; gap: clamp(0.25rem, 1vw, 0.75rem); }
.nav__list { display: flex; align-items: center; gap: clamp(0.1rem, 0.6vw, 0.35rem); }
.nav__link {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0.75rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--texto-2);
  border-radius: 8px;
  transition: color 0.25s;
}
.nav__link::after {
  content: "";
  position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.25rem;
  height: 2px;
  border-radius: 2px;
  background: var(--azul);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.3s var(--ease-out);
}
.nav__link:hover, .nav__link[aria-current="true"] { color: var(--texto); }
.nav__link:hover::after, .nav__link[aria-current="true"]::after { transform: scaleX(1); }
.nav__cta { margin-left: 0.5rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  place-items: center;
  position: relative;
  z-index: 1002;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: var(--texto);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.25s;
  position: relative;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center;
    gap: 2rem;
    background: color-mix(in srgb, var(--bg) 94%, transparent);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden;
    transition: opacity 0.35s, visibility 0s 0.35s;
    z-index: 1001;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transition: opacity 0.35s; }
  .nav-open { overflow: hidden; }
  .nav__list { flex-direction: column; gap: 0.5rem; }
  .nav__link {
    font-size: var(--fs-lg); font-weight: 500; padding: 0.6rem 1.25rem;
    opacity: 0; transform: translateY(16px);
    transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out);
  }
  .nav-open .nav__link { opacity: 1; transform: none; }
  .nav-open .nav__list li:nth-child(1) .nav__link { transition-delay: 0.05s; }
  .nav-open .nav__list li:nth-child(2) .nav__link { transition-delay: 0.1s; }
  .nav-open .nav__list li:nth-child(3) .nav__link { transition-delay: 0.15s; }
  .nav-open .nav__list li:nth-child(4) .nav__link { transition-delay: 0.2s; }
  .nav-open .nav__list li:nth-child(5) .nav__link { transition-delay: 0.25s; }
  .nav-open .nav__list li:nth-child(6) .nav__link { transition-delay: 0.3s; }
  .nav__link::after { display: none; }
  .nav__cta { margin: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: 4rem;
  overflow: clip;
  background:
    radial-gradient(60% 50% at 80% 20%, color-mix(in srgb, var(--azul) 14%, transparent), transparent 70%),
    radial-gradient(45% 45% at 10% 90%, color-mix(in srgb, var(--amarelo) 12%, transparent), transparent 70%),
    var(--bg);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__title {
  font-size: var(--fs-2xl);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.hero__title .line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: rise 0.9s var(--ease-out) forwards;
}
.hero__title .line:nth-child(1) { animation-delay: 0.1s; }
.hero__title .line:nth-child(2) { animation-delay: 0.25s; }
.hero__title .line:nth-child(3) { animation-delay: 0.4s; }
.hero__lead {
  margin-top: 1.5rem;
  max-width: 54ch;
  opacity: 0; animation: rise 0.9s var(--ease-out) 0.6s forwards;
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 0.85rem;
  margin-top: 2.25rem;
  opacity: 0; animation: rise 0.9s var(--ease-out) 0.75s forwards;
}
.hero__side {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  max-width: 720px;
  opacity: 0;
  animation: rise 0.9s var(--ease-out) 0.85s forwards;
}
.hero__stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--linha);
}
.stat { display: flex; flex-direction: column; gap: 0.15rem; padding-inline: clamp(0.75rem, 2vw, 1.5rem); }
.stat:first-child { padding-left: 0; }
.stat + .stat { border-left: 1px solid var(--linha); }
.stat__num {
  font-size: clamp(1.75rem, 2.6vw, 2.5rem); font-weight: 700; line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat__label { font-size: var(--fs-xs); color: var(--texto-2); order: 2; line-height: 1.35; }
.hero__side .timeline__steps { margin-top: 1.25rem; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.5rem; }
.hero__side .timeline__steps::before {
  left: 10%; right: 10%;
  background: linear-gradient(90deg, var(--vermelho), var(--amarelo), var(--verde-forte), var(--azul), var(--roxo));
}
.hero__side .timeline__step strong { font-size: var(--fs-xs); line-height: 1.25; margin-top: 0.15rem; }
.hero__side .timeline__step span { display: block; margin-top: 0.2rem; font-size: 0.7rem; line-height: 1.3; }
.hero__side .timeline__step::before { background: var(--bg); }
.timeline__track { display: none; }

.hero__media {
  opacity: 0;
  animation: rise 0.9s var(--ease-out) 0.45s forwards;
}
.hero__video {
  display: block;
  width: auto;
  height: min(72svh, 640px);
  max-width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--bg-2);
  box-shadow: var(--shadow-lg);
}

.scroll-hint {
  position: absolute; left: 50%; bottom: 1.5rem;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  font-size: var(--fs-xs); letter-spacing: 0.2em; text-transform: uppercase; color: var(--texto-2);
  opacity: 0; animation: fade 1s ease 1.6s forwards;
}
.scroll-hint span { width: 1px; height: 36px; background: var(--texto-2); transform-origin: top; animation: pulse-line 1.8s ease-in-out infinite; }

@media (max-width: 960px) {
  .hero { min-height: auto; padding-bottom: 5rem; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__grid { row-gap: 0; }
  .hero__main { display: contents; }
  .hero__media { order: 1; justify-self: center; width: min(100%, 360px); margin-top: 2.25rem; }
  .hero__video { width: 100%; height: auto; }
  .hero__actions { order: 2; margin-top: 1.25rem; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .scroll-hint { display: none; }
}
@media (max-width: 640px) {
  .hero__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat { padding-inline: 0.7rem; }
  .stat__label { max-width: none; font-size: var(--fs-xs); }
  .brand { position: relative; z-index: 1002; }
}

/* ---------- Quem somos ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "text photo";
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about__text { grid-area: text; }
.about__photo { grid-area: photo; }
.about__text p + p { margin-top: 1.1rem; }
@media (min-width: 961px) {
  .about__body { margin-top: 1.65em; }
}
.about__photo { display: flex; flex-direction: column; align-items: center; }
.about__frame {
  position: relative;
  width: 100%;
  padding: 0 2rem 2rem 0;
}
.about__frame img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  position: relative; z-index: 1;
  object-fit: cover;
  aspect-ratio: 10 / 9;
}
.about__devices {
  display: block;
  width: 80%;
  margin-top: 1.35rem;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: calc(10% - 1.75rem);
}
.about__devices img { width: 100%; height: auto; }
.about__frame .sq { z-index: 0; }
.about__frame .sq--a { --sq-c: var(--amarelo); --sq-s: 44%; --sq-b: 10px; right: 0; bottom: 0; translate: calc(var(--py, 0) * -0.3px) 0; }
.about__frame .sq--b { --sq-c: var(--azul); --sq-s: 26%; --sq-b: 8px; left: -1.25rem; top: -1.25rem; z-index: 2; translate: 0 calc(var(--py, 0) * 0.4px); }
.about__frame .sq--c { --sq-c: var(--vermelho); --sq-s: 16%; --sq-b: 6px; right: 12%; top: -1.5rem; z-index: 2; translate: 0 calc(var(--py, 0) * -0.25px); }
.about__caption {
  position: absolute; left: 1.25rem; bottom: 3.25rem; z-index: 3;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texto-2);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
@media (max-width: 960px) {
  .about {
    grid-template-columns: 1fr;
    grid-template-areas: "intro" "devices" "body" "photo";
    align-items: start;
  }
  .about__text, .about__photo { display: contents; }
  .about__intro { grid-area: intro; }
  .about__body { grid-area: body; }
  .about__devices {
    grid-area: devices;
    width: 90%;
    margin: 0.35rem 0 0;
    justify-self: start;
  }
  .about__frame { grid-area: photo; max-width: 560px; width: 100%; }
}

.timeline__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 1rem;
  position: relative;
}
.timeline__steps::before {
  content: "";
  position: absolute; left: 6%; right: 6%; top: 7px;
  height: 2px;
  background: linear-gradient(90deg, var(--vermelho), var(--amarelo), var(--azul), var(--roxo));
  opacity: 0.6;
}
.timeline__step { text-align: center; padding-top: 1.5rem; position: relative; }
.timeline__step::before {
  content: "";
  position: absolute; top: 0; left: 50%; translate: -50% 0;
  width: 16px; height: 16px;
  border: 3px solid var(--tl-c, var(--azul));
  border-radius: 4px;
  background: var(--bg-3);
}
.timeline__step strong { display: block; font-size: var(--fs-sm); }
.timeline__step span { font-size: var(--fs-xs); color: var(--texto-2); }
@media (max-width: 700px) {
  .timeline__steps::before,
  .hero__side .timeline__steps::before { display: none; }
  .timeline__steps,
  .hero__side .timeline__steps { grid-template-columns: 1fr 1fr; gap: 1.25rem 0.75rem; }
  .hero__side .timeline__track {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 1.25rem;
  }
  .hero__side .timeline__track::before {
    content: "";
    position: absolute; left: 8px; right: 8px; bottom: 7px;
    height: 2px;
    background: linear-gradient(90deg, var(--vermelho), var(--amarelo), var(--verde-forte), var(--azul), var(--roxo));
    opacity: 0.6;
  }
  .hero__side .timeline__track span {
    position: relative;
    display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
    font-size: 0.68rem; font-weight: 600; line-height: 1;
    color: var(--texto-2);
  }
  .hero__side .timeline__track span::after {
    content: "";
    width: 16px; height: 16px;
    border: 3px solid var(--tl-c);
    border-radius: 4px;
    background: var(--bg);
  }
  .hero__side .timeline__steps {
    counter-reset: tl;
    grid-template-columns: 1fr;
    gap: 0.4rem;
    margin-top: 1.1rem;
  }
  .hero__side .timeline__step {
    counter-increment: tl;
    text-align: left;
    padding: 0 0 0 1.35rem;
    font-size: var(--fs-xs);
    line-height: 1.4;
  }
  .hero__side .timeline__step::before {
    content: counter(tl);
    top: 0; left: 0; translate: none;
    width: auto; height: auto;
    border: 0; background: none;
    font-size: 0.68rem; font-weight: 700; line-height: 1.75;
    color: #000;
  }
  .hero__side .timeline__step strong,
  .hero__side .timeline__step span { display: inline; margin: 0; line-height: inherit; }
  .hero__side .timeline__step span::before { content: " · "; }
}

/* ---------- Ciclo contínuo ---------- */
.cycle {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem) clamp(6rem, 18vw, 14rem);
  max-width: 1000px;
  margin-inline: auto;
}
.cycle__ring {
  position: absolute; left: 50%; top: 50%;
  translate: -50% -50%;
  width: clamp(140px, 18vw, 220px);
  aspect-ratio: 1;
  display: grid; place-items: center;
  pointer-events: none;
}
.cycle__ring svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cycle__ring .ring-dash {
  fill: none; stroke: var(--bg-2); stroke-width: 2;
  stroke-dasharray: 6 8;
  transform-origin: 50% 50%;
  animation: spin 40s linear infinite;
}
.cycle__ring .ring-arc {
  --rot: 0deg;
  fill: none; stroke-width: 6; stroke-linecap: round;
  transform-origin: 50% 50%;
  transform: rotate(var(--rot));
  animation: spin-arc 14s linear infinite;
}
.cycle__ring .ring-arc--1 { stroke: var(--azul); --rot: -90deg; }
.cycle__ring .ring-arc--2 { stroke: var(--amarelo); --rot: 0deg; }
.cycle__ring .ring-arc--3 { stroke: var(--vermelho); --rot: 90deg; }
.cycle__ring .ring-arc--4 { stroke: var(--roxo); --rot: 180deg; }
@keyframes spin-arc { from { transform: rotate(var(--rot)); } to { transform: rotate(calc(var(--rot) + 360deg)); } }
.cycle__ring-label {
  text-align: center; font-size: var(--fs-xs); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--texto-2); font-weight: 600; line-height: 1.4;
}
.cycle__ring-label b { display: block; font-size: var(--fs-md); letter-spacing: -0.01em; text-transform: none; color: var(--texto); }

.step {
  --step-c: var(--azul);
  position: relative;
  background: var(--bg-3);
  border: 1px solid var(--linha);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
  overflow: hidden;
}
.step::before {
  content: "";
  position: absolute; inset: 0 auto 0 0; width: 5px;
  background: var(--step-c);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step:hover .icon-box { transform: rotate(-6deg) scale(1.06); }
.step__top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.step__num {
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.2em; color: var(--step-c);
}
.step h3 { font-size: var(--fs-md); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.step p { color: var(--texto-2); }
.step--1 { --step-c: var(--azul); }
.step--2 { --step-c: var(--amarelo); }
.step--3 { --step-c: var(--vermelho); }
.step--4 { --step-c: var(--roxo); }
.step .icon-box { --ib-color: var(--step-c); }

@media (max-width: 960px) {
  .cycle { grid-template-columns: 1fr; gap: 1rem; }
  .cycle__ring {
    position: relative;
    left: auto;
    top: auto;
    translate: none;
    width: 124px;
    margin: 0.25rem auto 0.35rem;
    justify-self: center;
    z-index: 0;
  }
  .cycle__ring svg { overflow: hidden; }
  .step { z-index: 1; }
}

.cycle-note {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1.5rem;
}
.note-card {
  background: color-mix(in srgb, white 62%, transparent);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid color-mix(in srgb, var(--texto) 8%, transparent);
}
.note-card h3 { font-size: var(--fs-md); margin-bottom: 0.6rem; }
.note-card p { color: var(--texto-2); }

/* ---------- Reuniões ---------- */
.meeting-steps {
  counter-reset: meeting;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}
.meeting {
  counter-increment: meeting;
  position: relative;
  padding: 2rem 1.75rem 1.75rem;
  background: var(--bg-3);
  border-radius: var(--radius);
  border: 1px solid var(--linha);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
}
.meeting:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.meeting::before {
  content: counter(meeting, decimal-leading-zero);
  display: inline-grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  border: 3px solid var(--m-c, var(--azul));
  color: var(--m-c, var(--azul));
  font-weight: 700; font-size: var(--fs-md);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.meeting:nth-child(1) { --m-c: var(--azul); }
.meeting:nth-child(2) { --m-c: var(--amarelo); }
.meeting:nth-child(3) { --m-c: var(--vermelho); }
.meeting h3 { font-size: var(--fs-md); margin-bottom: 0.6rem; }
.meeting p { color: var(--texto-2); }

/* ---------- Evolução contínua (faixa com foto) ---------- */
.evolution {
  position: relative;
  color: #fff;
  isolation: isolate;
  overflow: clip;
}
.evolution__bg {
  position: absolute; inset: 0; z-index: -2;
  background-image: image-set(url("../images/desenvolvimento.webp") type("image/webp"), url("../images/desenvolvimento.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center;
  transform: scale(1.08) translateY(calc(var(--py, 0) * 0.08px));
  will-change: transform;
}
@supports (animation-timeline: view()) {
  .evolution__bg {
    transform: none;
    animation: parallax-bg linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }
  @keyframes parallax-bg { from { transform: scale(1.12) translateY(-5%); } to { transform: scale(1.12) translateY(5%); } }
}
.evolution::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(110deg, rgba(52, 50, 50, 0.97) 0%, rgba(66, 66, 66, 0.92) 50%, color-mix(in srgb, var(--azul) 40%, rgba(44, 44, 44, 0.92)) 100%);
}
.evolution .lead { color: rgba(255, 255, 255, 0.82); }
.evolution .h2 { color: #fff; }
.evolution__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}
.evolution__text p { color: rgba(255, 255, 255, 0.86); }
.evolution__text p + p { margin-top: 1rem; }
.evolution__text .highlight {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--amarelo);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: var(--fs-md);
  color: #fff;
  font-weight: 500;
}
.compare {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(1.75rem, 3.2vw, 2.5rem);
  /* começa na altura do título, abaixo do rótulo da seção */
  padding-top: 2.85rem;
  height: auto;
}
.compare__card {
  --cc: var(--vermelho);
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.45s var(--ease-out), background-color 0.3s;
}
.compare__card:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.12); }
.compare__card--good { --cc: var(--azul); }
.compare__tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cc); margin-bottom: 0.75rem;
}
.compare__tag::before { content: ""; width: 10px; height: 10px; border: 2.5px solid var(--cc); border-radius: 3px; }
.compare__card h3 { font-size: var(--fs-md); margin-bottom: 0.55rem; color: #fff; }
.compare__card ul { display: grid; gap: 0.35rem; }
.compare__card li { display: flex; gap: 0.6rem; align-items: flex-start; color: rgba(255, 255, 255, 0.85); font-size: var(--fs-sm); }
.compare__card li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 0.55em; border-radius: 2px; background: var(--cc); }
@media (max-width: 960px) {
  .evolution__grid { grid-template-columns: 1fr; }
  .compare { height: auto; padding-top: 0; gap: 2.6rem; justify-content: flex-start; }
  .compare__card { padding: 1.35rem 1.4rem; }
}

/* ---------- Planos ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
}
.plan {
  --pc: var(--azul);
  position: relative;
  display: flex; flex-direction: column;
  background: var(--bg-3);
  border-radius: var(--radius);
  border: 1px solid var(--linha);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s, border-color 0.3s;
  overflow: hidden;
}
.plan::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 6px;
  background: var(--pc);
}
.plan::after {
  content: "";
  position: absolute; right: -40px; top: -40px;
  width: 140px; aspect-ratio: 1;
  border: 14px solid color-mix(in srgb, var(--pc) 12%, transparent);
  border-radius: 24%;
  transition: transform 0.6s var(--ease-out);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--pc) 40%, transparent); }
.plan:hover::after { transform: rotate(12deg) scale(1.1); }
.plan--1 { --pc: var(--azul); }
.plan--2 { --pc: var(--amarelo); }
.plan--3 { --pc: var(--vermelho); }
.plan--4 { --pc: var(--roxo); }
.plan__name { font-size: var(--fs-md); font-weight: 700; color: var(--pc); letter-spacing: 0.02em; }
.plan__tag { font-size: var(--fs-xs); color: var(--texto-2); margin-top: 0.15rem; }
.plan__price { margin-top: 1.25rem; display: flex; align-items: baseline; gap: 0.4rem; flex-wrap: wrap; }
.plan__price b { font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.plan__price span { color: var(--texto-2); font-size: var(--fs-sm); }
.plan__features { margin-top: 1.5rem; display: grid; gap: 0.8rem; flex: 1; }
.plan__features li { display: flex; align-items: center; gap: 0.75rem; font-size: var(--fs-sm); }
.plan__features .icon { width: 1.25rem; height: 1.25rem; color: var(--pc); }
.plan .btn { margin-top: 1.75rem; }
.plans-note {
  margin-top: 1.5rem;
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--texto-2);
}
.plans-highlight {
  margin: 1.75rem auto 0;
  max-width: 78ch;
  padding: 1.25rem 1.5rem;
  background: var(--bg-3);
  border: 1px solid var(--linha);
  border-left: 4px solid var(--roxo);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: var(--shadow-sm);
  font-size: var(--fs-md);
  font-weight: 400;
  line-height: 1.6;
  color: var(--texto-2);
  text-align: left;
}

/* ---------- Apoio complementar ---------- */
.support {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.support__card {
  --sc: var(--azul);
  background: var(--bg-3);
  border-radius: var(--radius);
  border: 1px solid var(--linha);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
}
.support__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.support__card:hover .icon-box { transform: rotate(-6deg) scale(1.06); }
.support__card .icon-box { --ib-color: var(--sc); margin-bottom: 1.25rem; }
.support__card h3 { font-size: var(--fs-md); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; margin-bottom: 0.6rem; }
.support__card p { color: var(--texto-2); font-size: var(--fs-sm); }
.support__card--1 { --sc: var(--azul); }
.support__card--2 { --sc: var(--amarelo); }
.support__card--3 { --sc: var(--verde-forte); }
.support__card--4 { --sc: var(--roxo); }

/* ---------- Confiança ---------- */
.trust {
  position: relative;
  overflow: clip;
}
.trust__card {
  position: relative;
  background: var(--bg-3);
  border-radius: calc(var(--radius) * 1.4);
  padding: clamp(2rem, 6vw, 4.5rem);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--linha);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  grid-template-areas:
    "text weeks"
    "cta weeks";
  gap: clamp(0.65rem, 1.2vw, 1rem) clamp(2rem, 5vw, 4rem);
  align-items: center;
  overflow: hidden;
}
.trust__text { grid-area: text; }
.weeks { grid-area: weeks; }
.trust__cta { grid-area: cta; }
.trust__card .sq { opacity: 0.9; }
.trust__card .sq--a { --sq-c: var(--verde); --sq-s: 220px; --sq-b: 14px; right: -70px; bottom: -80px; }
.trust__card .sq--b { --sq-c: color-mix(in srgb, var(--amarelo) 30%, white); --sq-s: 120px; --sq-b: 10px; right: 120px; bottom: -40px; }
.trust__text p + p { margin-top: 1rem; }
.trust__text h2 + p { margin-top: 1.65em; }
.trust__text .lead { margin-top: 1rem; }
.trust__quote {
  margin-top: 0;
  font-size: var(--fs-lg);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.trust__quote em { font-style: normal; color: var(--azul); }
.weeks { position: relative; z-index: 1; display: grid; gap: 0.75rem; }
.week {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center;
  padding: 1rem 1.25rem;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--linha);
  transition: transform 0.4s var(--ease-out), background-color 0.3s;
}
.week:hover { transform: translateX(6px); }
.week__n {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 3px solid var(--wc, var(--azul));
  color: var(--wc, var(--azul));
  font-weight: 700;
}
.week:nth-child(1) { --wc: var(--azul); }
.week:nth-child(2) { --wc: var(--amarelo); }
.week:nth-child(3) { --wc: var(--vermelho); }
.week--decide { --wc: var(--roxo); background: color-mix(in srgb, var(--roxo) 10%, white); border-color: color-mix(in srgb, var(--roxo) 30%, transparent); }
.week--decide .week__n { background: var(--roxo); color: #fff; border-color: var(--roxo); }
.week strong { display: block; font-size: var(--fs-sm); }
.week span { font-size: var(--fs-xs); color: var(--texto-2); }
@media (max-width: 960px) {
  .trust__card {
    grid-template-columns: 1fr;
    grid-template-areas: "text" "weeks" "cta";
  }
  .trust__cta { position: relative; z-index: 2; margin-top: 0.85rem; }
  .trust__quote { position: relative; z-index: 2; }
}

/* ---------- Artigos ---------- */
.articles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.article-card {
  display: flex; flex-direction: column;
  background: var(--bg-3);
  border-radius: var(--radius);
  border: 1px solid var(--linha);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
}
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.article-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); }
.article-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.article-card:hover .article-card__media img { transform: scale(1.05); }
.article-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.article-card__meta { font-size: var(--fs-xs); color: var(--texto-2); display: flex; gap: 0.5rem; align-items: center; }
.article-card__meta::before { content: ""; width: 8px; height: 8px; border: 2px solid var(--ac, var(--azul)); border-radius: 2px; }
.article-card h3 { font-size: var(--fs-base); font-weight: 600; line-height: 1.35; }
.article-card h3 a::after { content: ""; position: absolute; inset: 0; }
.article-card { position: relative; }
.article-card__body > p:not(.article-card__meta) { font-size: var(--fs-sm); color: var(--texto-2); flex: 1; }
.article-card .link-arrow { font-size: var(--fs-sm); margin-top: 0.25rem; }
.articles-more { margin-top: 2.5rem; text-align: center; }

.carousel__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.carousel__viewport::-webkit-scrollbar { display: none; }
.carousel__track.articles {
  display: flex;
  grid-template-columns: none;
  gap: 1.25rem;
  padding-bottom: 0.25rem;
}
.carousel__track .article-card {
  flex: 0 0 calc((100% - 3 * 1.25rem) / 4);
  scroll-snap-align: start;
  min-width: 0;
}
.carousel__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.carousel__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--linha);
  background: var(--bg-3);
  color: var(--texto);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), border-color 0.3s, background-color 0.3s;
}
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__btn:hover { border-color: var(--azul); transform: translateY(-2px); }
.carousel__btn:disabled { opacity: 0.35; transform: none; cursor: default; }
.carousel__dots { display: flex; gap: 0.5rem; align-items: center; }
.carousel__dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 0;
  padding: 0;
  transition: transform 0.3s var(--ease-out), background-color 0.3s;
}
.carousel__dots button[aria-current="true"] { background: var(--azul); transform: scale(1.25); }
@media (max-width: 1024px) {
  .carousel__track .article-card { flex-basis: calc((100% - 1.25rem) / 2); }
}
@media (max-width: 640px) {
  .carousel__track .article-card { flex-basis: 86%; }
}

/* ---------- Contato ---------- */
.contact {
  position: relative;
  overflow: clip;
}
.contact__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  background: var(--texto);
  color: #fff;
  border-radius: calc(var(--radius) * 1.4);
  padding: clamp(2rem, 6vw, 4.5rem);
  overflow: hidden;
}
.contact__card .sq { opacity: 0.25; }
.contact__card .sq--a { --sq-c: var(--azul); --sq-s: 260px; --sq-b: 16px; left: -90px; bottom: -110px; }
.contact__card .sq--b { --sq-c: var(--amarelo); --sq-s: 140px; --sq-b: 12px; right: -30px; top: -50px; }
.contact__card .sq--c { --sq-c: var(--vermelho); --sq-s: 90px; --sq-b: 10px; right: 140px; top: 30px; }
.contact__card .h2 { color: #fff; }
.contact__card .lead { color: rgba(255, 255, 255, 0.78); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }
.contact__info { position: relative; z-index: 1; display: grid; gap: 1rem; }
.info-item {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  transition: background-color 0.3s, transform 0.4s var(--ease-out);
}
a.info-item:hover { background: rgba(255, 255, 255, 0.12); transform: translateX(4px); }
.info-item .icon-box { --ib-color: var(--ic, var(--azul)); background: color-mix(in srgb, var(--ic, var(--azul)) 22%, transparent); border-color: color-mix(in srgb, var(--ic, var(--azul)) 50%, transparent); width: 48px; height: 48px; border-radius: 12px; }
.info-item .icon-box svg { width: 24px; height: 24px; }
.info-item small { display: block; font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.info-item strong { font-size: var(--fs-base); font-weight: 600; }
@media (max-width: 960px) {
  .contact__card { grid-template-columns: 1fr; }
}

/* ---------- Rodapé ---------- */
.footer {
  position: relative;
  background: #3e3e3e;
  color: rgba(255, 255, 255, 0.78);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  overflow: clip;
}
.footer::before {
  content: "";
  position: absolute; left: var(--gutter); top: 2rem;
  width: 410px; height: 85px;
  background: url("../images/bolinhas-horizontal.png") no-repeat;
  background-size: contain;
  opacity: 0.08;
  pointer-events: none;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  position: relative;
}
.footer__brand img { height: 56px; width: auto; margin-bottom: 1rem; }
.footer__pitch { max-width: 42ch; font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.78); }
.footer__pitch + .footer__pitch { margin-top: 0.6rem; }
.footer__pitch strong { display: block; color: #fff; font-weight: 600; font-size: var(--fs-base); line-height: 1.35; margin-bottom: 0.15rem; }
.footer__info { display: grid; gap: 0.65rem; }
.footer .info-item { color: #fff; padding: 0.75rem 0.9rem; gap: 0.75rem; }
.footer .info-item .icon-box { width: 40px; height: 40px; border-radius: 10px; }
.footer .info-item .icon-box svg { width: 20px; height: 20px; }
.footer .info-item strong { color: #fff; font-size: var(--fs-sm); }
.footer .social { flex-wrap: wrap; }
.footer h4 { color: #fff; font-size: var(--fs-xs); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1rem; }
.footer__links { display: grid; gap: 0.5rem; }
.footer__links a { font-size: var(--fs-sm); transition: color 0.25s, transform 0.3s var(--ease-out); display: inline-block; }
.footer__links a:hover { color: #fff; transform: translateX(4px); }
.footer__contact { display: grid; gap: 0.6rem; font-size: var(--fs-sm); }
.footer__contact a:hover { color: #fff; }
.social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.social a {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  transition: background-color 0.3s, border-color 0.3s, transform 0.4s var(--ease-spring);
}
.social a:hover { background: var(--sc, var(--azul)); border-color: var(--sc, var(--azul)); transform: translateY(-3px) rotate(-4deg); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.footer__bottom {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.55);
}
.footer__bottom .colors { display: inline-flex; gap: 6px; }
.footer__bottom .colors i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; border: 2px solid var(--c); }
@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem;
  z-index: 900;
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.75rem 1rem 0.75rem 0.75rem;
  background: #1f8a5b;
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(31, 138, 91, 0.35);
  font-weight: 600; font-size: var(--fs-sm);
  transform: translateY(120px);
  transition: transform 0.6s var(--ease-spring), box-shadow 0.3s, background-color 0.3s;
}
.wa-float.is-visible { transform: none; }
.wa-float:hover { background: #25a86f; box-shadow: 0 14px 36px rgba(31, 138, 91, 0.45); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }
.wa-float::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  border: 2px solid #1f8a5b;
  animation: ping 2.4s ease-out infinite;
}
@media (max-width: 640px) {
  .wa-float span { display: none; }
  .wa-float { padding: 0.8rem; }
}

/* ---------- Reveal (scroll-driven com fallback) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-32px); }
.reveal--right { transform: translateX(32px); }
.reveal--scale { transform: scale(0.94); }

@supports (animation-timeline: view()) {
  .reveal, .reveal--left, .reveal--right, .reveal--scale {
    opacity: 1; transform: none; transition: none;
    animation: reveal-up linear both;
    animation-timeline: view();
    animation-range: entry 5% entry 38%;
  }
  .reveal--left { animation-name: reveal-left; }
  .reveal--right { animation-name: reveal-right; }
  .reveal--scale { animation-name: reveal-scale; }
  @keyframes reveal-up { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
  @keyframes reveal-left { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
  @keyframes reveal-right { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
  @keyframes reveal-scale { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: none; } }
}

/* ---------- Animações ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes pop { from { opacity: 0; scale: 0.6; } to { opacity: 1; scale: 1; } }
@keyframes float { from { translate: 0 -8px; } to { translate: 0 10px; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ping { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes pulse-line { 0%, 100% { transform: scaleY(0.3); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ---------- Páginas de artigo ---------- */
.page-header { height: var(--header-h); }
.article-hero {
  padding-top: calc(var(--header-h) + 2.5rem);
  padding-bottom: 2.5rem;
  background:
    radial-gradient(50% 60% at 90% 0%, color-mix(in srgb, var(--azul) 12%, transparent), transparent 70%),
    var(--bg);
}
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; font-size: var(--fs-xs); color: var(--texto-2); margin-bottom: 1.5rem; }
.breadcrumb a:hover { color: var(--texto); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.5; }
.article-hero h1 { font-size: var(--fs-xl); font-weight: 700; letter-spacing: -0.02em; max-width: 22ch; }
.article-hero .article-meta { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: var(--fs-sm); color: var(--texto-2); }
.article-cover {
  margin-top: 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
  background: var(--bg-2);
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

.article-body { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.prose { font-size: var(--fs-md); line-height: 1.8; }
.prose p + p { margin-top: 1.4rem; }
.prose p:first-child { font-size: var(--fs-lg); line-height: 1.5; font-weight: 300; color: var(--texto); }
.prose p:first-child::first-letter {
  float: left;
  font-size: 3.6em; line-height: 0.85;
  font-weight: 700;
  margin: 0.1em 0.15em 0 0;
  color: var(--azul);
}
.prose .takeaway {
  margin-top: 2.25rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  background: var(--bg-3);
  border: 1px solid var(--linha);
  border-left: 5px solid var(--azul);
  font-weight: 500;
  color: var(--texto);
  font-size: var(--fs-md);
  box-shadow: var(--shadow-sm);
}
.aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.5rem; }
.aside__box {
  background: var(--bg-3);
  border: 1px solid var(--linha);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.aside__box h2 { font-size: var(--fs-xs); letter-spacing: 0.2em; text-transform: uppercase; color: var(--texto-2); margin-bottom: 1rem; }
.share { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.share button, .share a {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1.5px solid var(--linha);
  font-size: var(--fs-xs); font-weight: 600;
  transition: border-color 0.3s, background-color 0.3s, transform 0.3s var(--ease-out);
}
.share button:hover, .share a:hover { border-color: var(--texto); transform: translateY(-2px); }
.share svg { width: 16px; height: 16px; fill: currentColor; }
.share .copied { border-color: #1f8a5b; color: #1f8a5b; }
.aside__cta { background: var(--texto); color: #fff; border: 0; }
.aside__cta h2 { color: rgba(255, 255, 255, 0.6); }
.aside__cta p { font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.85); margin-bottom: 1rem; }
.toc { display: grid; gap: 0.5rem; }
.toc a { font-size: var(--fs-sm); color: var(--texto-2); display: flex; gap: 0.6rem; align-items: flex-start; }
.toc a::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 0.5em; border: 2px solid var(--azul); border-radius: 2px; }
.toc a:hover { color: var(--texto); }
@media (max-width: 960px) {
  .article-layout { grid-template-columns: 1fr; }
  .aside { position: static; }
}
@media (max-width: 640px) {
  .prose { font-size: var(--fs-base); }
  .prose p:first-child { font-size: var(--fs-md); }
}

.related { padding-block: clamp(3rem, 6vw, 5rem); }
.article-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; }

/* ---------- Página 404 ---------- */
.notfound {
  min-height: 100svh;
  display: grid; place-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 4rem;
}
.notfound__code {
  font-size: clamp(5rem, 18vw, 11rem); font-weight: 700; line-height: 1; letter-spacing: -0.05em;
  background: linear-gradient(100deg, var(--vermelho), var(--amarelo), var(--azul), var(--roxo));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal--left, .reveal--right, .reveal--scale,
  .hero__title .line, .hero__lead, .hero__actions, .hero__side, .hero__media, .scroll-hint, .wa-float {
    opacity: 1 !important; transform: none !important; translate: none !important; scale: none !important; animation: none !important;
  }
  .evolution__bg { animation: none !important; transform: none !important; }
  .wa-float::before { display: none; }
}

/* ---------- Impressão ---------- */
@media print {
  .header, .progress, .wa-float, .nav-toggle, .scroll-hint, .share, .aside__cta { display: none !important; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
