/* main.css — Avanti · LP de consultoria corporativa
   Continua o sistema visual do DESIGN.md: blocos de raio amplo "pousados" sobre o bg,
   acento lima pontual, sombras quase inexistentes. */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: var(--black);
}

h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; color: var(--ink); }
p { margin: 0; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

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

.skip-link {
  position: absolute; left: var(--sp-4); top: -60px;
  z-index: 200; padding: 10px 16px; background: var(--black); color: #fff;
  border-radius: var(--r-pill); transition: top var(--dur) var(--ease-out);
}
.skip-link:focus { top: var(--sp-4); }

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

/* ============================ Layout ============================ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(48px, 5.5vw, 84px); }
.section--cta { padding-bottom: 0; }

.block {
  border-radius: var(--r-xl);
  max-width: var(--panel-max);
  margin-inline: auto;
  padding: clamp(36px, 4.5vw, 68px) clamp(22px, 4vw, 56px);
  position: relative;
}
.block__inner { width: 100%; max-width: var(--container); margin-inline: auto; position: relative; z-index: 1; }
.block--sage { background: var(--sage-100); }
.block--olive { background: var(--sage-700); }
.block--black { background: var(--black); color: #fff; }

/* Painel de seção pousado com raio amplo sobre o fundo, sem cortes secos */
.section-panel {
  background: color-mix(in oklab, var(--sage-100) 24%, var(--white));
  border-radius: var(--r-xl);
  max-width: var(--panel-max);
  margin-inline: auto;
  padding: clamp(36px, 4.5vw, 68px) clamp(20px, 3.5vw, 48px);
  position: relative;
}

/* ============================ Tipografia ============================ */
.display { font-size: var(--fs-h1); line-height: var(--lh-display); letter-spacing: -0.035em; font-weight: 400; }
.h2 { font-size: var(--fs-h2); line-height: var(--lh-heading); letter-spacing: -0.03em; font-weight: 400; }
.h3 { font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -0.025em; font-weight: 400; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-soft); max-width: 46ch; }
.muted { color: var(--ink-soft); }
.small { font-size: var(--fs-small); }
.micro { font-size: var(--fs-micro); letter-spacing: var(--ls-label); text-transform: uppercase; font-weight: 600; }

/* ============================ Componentes ============================ */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px; border-radius: var(--r-pill);
  background: var(--sage-100); color: var(--ink);
  font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.01em;
}
.badge::before { content: none; }
.badge--light { background: color-mix(in oklab, var(--white) 68%, var(--sage-100)); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 11px 14px; border-radius: var(--r-pill);
  background: var(--black); color: #fff;
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-body);
  transition: transform var(--dur-fast) var(--ease-out);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn__circle {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--black);
  transition: transform var(--dur) var(--ease-out);
}
.btn__circle svg { transition: transform var(--dur) var(--ease-out); }
.btn:hover .btn__circle { transform: scale(1.08); }
.btn:hover .btn__circle svg { transform: rotate(45deg); }
.btn--block { width: 100%; justify-content: space-between; }
.btn--small {
  padding: 8px 14px;
  font-size: var(--fs-small);
  gap: 10px;
}
.btn--small .btn__circle {
  width: 28px;
  height: 28px;
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 9px 18px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: var(--fs-small);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn--ghost:hover {
  background: color-mix(in oklab, var(--ink) 8%, transparent);
  transform: translateY(-1px);
}

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: var(--fs-body); color: var(--ink); }
.link-arrow__circle {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--black); color: var(--accent); transition: transform var(--dur) var(--ease-out);
}
.link-arrow:hover .link-arrow__circle { transform: scale(1.1) rotate(45deg); }

.icon-btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--black); color: var(--accent); flex: none;
  transition: transform var(--dur) var(--ease-out);
}
.icon-btn:hover { transform: rotate(45deg) scale(1.06); }

.card { background: var(--white); border-radius: var(--r-xl); box-shadow: var(--shadow-1); }
.card--sage { background: var(--sage-100); box-shadow: none; }

/* Uma superfície independente recebe o recorte; conteúdo e controles permanecem inteiros.
   Cinco gradientes formam o encontro tangente entre as bordas e o círculo do selo. */
.notched-card {
  --notch-radius: 28px;
  --notch-shoulder: 22px;
  --notch-extent: 70.99px;
  --notch-join: 21.56px;
  --notch-core: 49.43px;
  --notch-center-offset: -0.56px;
  --notch-shoulder-offset: -0.44px;
  --notch-fill: var(--white);
  position: relative;
  isolation: isolate;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  border-radius: var(--r-xl);
}
.notched-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--notch-fill);
  border-radius: inherit;
  -webkit-mask: var(--notch-mask);
  mask: var(--notch-mask);
  filter: drop-shadow(0 4px 14px color-mix(in oklab, var(--ink) 5%, transparent));
  pointer-events: none;
  transition: filter var(--dur-fast) var(--ease-out);
}
.notched-card:hover::before {
  filter: drop-shadow(0 8px 24px color-mix(in oklab, var(--ink) 9%, transparent));
}
.notched-card--44 {
  --notch-radius: 29px; --notch-extent: 73px; --notch-join: 22px;
  --notch-core: 51px; --notch-center-offset: 0px; --notch-shoulder-offset: 0px;
}
.notched-card--bottom-left::before { transform: rotate(180deg); }
.notched-card--bottom-right::before { transform: scaleY(-1); }

/* Selo circular alojado com perfeição na curvatura tangente do recorte */
.notch-badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  background: var(--accent);
  color: var(--black);
  transition: transform var(--dur-fast) var(--ease-out);
}
.notch-badge--sage {
  background: var(--sage-700);
  color: var(--white);
}
.notch-badge--dark {
  background: var(--black);
  color: var(--white);
}
.notch-badge--soft {
  background: color-mix(in oklab, var(--sage-100) 50%, var(--white));
  color: var(--sage-700);
}
.notched-card, .photo__surface {
  --notch-mask:
    linear-gradient(#000 0 0) left top / calc(100% - var(--notch-extent) + 1.25px) 100% no-repeat,
    linear-gradient(#000 0 0) right bottom / 100% calc(100% - var(--notch-extent) + 1.25px) no-repeat,
    radial-gradient(circle var(--notch-radius) at right var(--notch-center-offset) top var(--notch-center-offset), transparent calc(var(--notch-radius) - .35px), #000 calc(var(--notch-radius) + .35px)) right var(--notch-join) top var(--notch-join) / calc(var(--notch-core) + 1.25px) calc(var(--notch-core) + 1.25px) no-repeat,
    radial-gradient(circle var(--notch-shoulder) at 1.25px var(--notch-shoulder), #000 calc(var(--notch-shoulder) - .35px), transparent calc(var(--notch-shoulder) + .35px)) right var(--notch-join) top 0 / calc(var(--notch-core) + 1.25px) calc(var(--notch-join) + 1.25px) no-repeat,
    radial-gradient(circle var(--notch-shoulder) at calc(var(--notch-shoulder-offset) + 1.25px) var(--notch-core), #000 calc(var(--notch-shoulder) - .35px), transparent calc(var(--notch-shoulder) + .35px)) right 0 top var(--notch-join) / calc(var(--notch-join) + 1.25px) calc(var(--notch-core) + 1.25px) no-repeat;
}

/* Foto com tratamento editorial unificado (grade quente sálvia) */
.photo { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--sage-200); }
.photo picture { display: block; width: 100%; height: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo--portrait { background: #89978B; }
.photo--portrait img { object-fit: cover; object-position: center 22%; }
.photo--meeting img { object-position: center 20%; }
.photo:not(.photo--notched)::after,
.photo__surface::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: color-mix(in oklab, var(--sage-700) 16%, transparent);
  mix-blend-mode: soft-light;
}
.photo--notched { overflow: visible; background: transparent; isolation: isolate; }
.photo__surface {
  --notch-radius: 24px; --notch-shoulder: 20px;
  --notch-extent: 61.9545px; --notch-join: 19.0909px;
  --notch-core: 42.8636px; --notch-center-offset: -1.0909px;
  --notch-shoulder-offset: -0.9091px;
  position: absolute; inset: 0; overflow: hidden; border-radius: inherit;
  background: var(--sage-200);
  -webkit-mask: var(--notch-mask); mask: var(--notch-mask);
  transform: scaleX(-1);
}
.photo--portrait .photo__surface { background: #89978B; }
.photo__surface img { transform: scaleX(-1); }
.photo--notched .photo__surface::after { transform: scaleX(-1); }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 16 / 11; }
.photo--3x2 { aspect-ratio: 3 / 2; }
.photo--16x10 { aspect-ratio: 16 / 10; }
.photo--square { aspect-ratio: 1 / 1; }

.photo__seal {
  position: absolute; top: 0; left: 0; width: 36px; height: 36px; z-index: 2;
  border-radius: 50%; display: grid; place-items: center; color: var(--ink);
  background: color-mix(in oklab, var(--white) 86%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

/* ============================ Nav ============================ */
.nav { position: sticky; top: 12px; z-index: 60; padding-inline: var(--gutter); }
.nav__inner {
  width: max-content; max-width: calc(100vw - 2 * var(--gutter)); margin-inline: auto;
  background: var(--white); border-radius: var(--r-pill);
  box-shadow: var(--shadow-1);
  display: flex; align-items: center; gap: var(--sp-5);
  padding: 8px 12px 8px 18px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; }
.brand__mark { width: 34px; height: 34px; color: var(--ink); flex: none; }
.brand__bg { transition: fill var(--dur) var(--ease-out); }
.brand__arrow {
  stroke: var(--white);
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform;
  transition: stroke var(--dur-fast) var(--ease-out), transform var(--dur) var(--ease-out);
}

.brand:hover .brand__arrow,
.brand:focus-visible .brand__arrow {
  stroke: var(--accent);
  animation: brand-arrow-rocket 650ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes brand-arrow-rocket {
  0% {
    transform: translate(0, 0) scale(1);
  }
  18% {
    transform: translate(-3.5px, 3.5px) scale(0.94);
  }
  48% {
    transform: translate(28px, -28px) scale(1.04);
  }
  49% {
    transform: translate(-28px, 28px) scale(0.96);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand:hover .brand__arrow,
  .brand:focus-visible .brand__arrow {
    animation: none;
    transform: translate(1.5px, -1.5px);
  }
}
.nav__links { display: flex; align-items: center; gap: 2px; margin-inline: 24px 8px; }
.nav__link { padding: 8px 14px; border-radius: var(--r-pill); font-size: var(--fs-small); font-weight: 600; color: var(--ink); transition: background var(--dur-fast) var(--ease-out); }
.nav__link:hover { background: color-mix(in oklab, var(--ink) 7%, transparent); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__search { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in oklab, var(--ink) 6%, transparent); }
.nav__search:hover { background: color-mix(in oklab, var(--ink) 12%, transparent); }
.nav__toggle { display: none; }

/* Overlay de busca / navegação rápida */
.search {
  position: fixed; inset: 0; z-index: 120; display: none;
  background: color-mix(in oklab, var(--ink) 52%, transparent);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  padding: clamp(16px, 6vh, 90px) var(--gutter);
}
.search.is-open { display: block; }
.search__panel {
  max-width: 620px; margin-inline: auto; background: var(--white);
  border-radius: var(--r-lg); padding: var(--sp-5); box-shadow: var(--shadow-2);
}
.search__field { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 16px; }
.search__field input { border: 0; outline: 0; font: inherit; width: 100%; background: none; color: var(--ink); }
.search__results { margin-top: var(--sp-4); display: grid; gap: 4px; max-height: 46vh; overflow-y: auto; }
.search__item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: var(--r-sm); font-weight: 600; }
.search__item:hover, .search__item:focus-visible { background: color-mix(in oklab, var(--sage-100) 45%, transparent); }
.search__item span { font-weight: 400; color: var(--ink-soft); font-size: var(--fs-small); }
.search__empty { padding: 16px 14px; color: var(--ink-soft); }

/* ============================ Hero ============================ */
.hero { padding-block: clamp(14px, 2vw, 24px) clamp(28px, 4vw, 44px); }
.hero__panel {
  background: var(--sage-100); border-radius: var(--r-xl);
  max-width: var(--panel-max); margin-inline: auto;
  padding: clamp(36px, 4vw, 56px) clamp(22px, 3.5vw, 52px);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 3.5vw, 48px); align-items: center; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-5); }
.hero__h1 { max-width: 20ch; }
.hero__lead { color: var(--ink-soft); max-width: 42ch; }

.page-hero__nested { margin-top: clamp(28px, 4vw, 44px); width: 100%; }
.nested-tool-card { width: 100%; max-width: 960px; margin-inline: auto; }
.nested-offers-wrap { width: 100%; }

.collage { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 14px; }
.collage__col { display: grid; gap: 14px; align-content: start; }
.collage__col--offset { margin-top: clamp(18px, 3vw, 34px); }

/* ============================ Cabeçalho de seção ============================ */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-6); flex-wrap: wrap; }
.sec-head__title { max-width: 20ch; }
.sec-head__lead { margin-top: var(--sp-5); }

/* ============================ Sobre / Missão ============================ */
.about__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; margin-top: var(--sp-5); }
.about__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: clamp(24px, 3vw, 40px); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.stat { background: var(--white); border-radius: var(--r-md); padding: var(--sp-5); display: grid; grid-template-rows: auto 1fr; gap: 18px; align-content: space-between; min-height: 158px; }
.stat__label { font-size: var(--fs-small); color: var(--ink-soft); line-height: 1.3; }
.stat__value { font-family: var(--font-display); font-size: clamp(2.25rem, 1.6rem + 1.6vw, 3rem); font-weight: 400; line-height: 1; letter-spacing: -0.03em; }
.stat__value b { font-weight: 700; }
.stat__value small { font-size: .45em; font-weight: 600; vertical-align: super; color: var(--ink-mute); }
.stat-note { margin-top: var(--sp-4); font-size: var(--fs-small); color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }

.sectors { margin-top: clamp(32px, 4vw, 52px); }
.sectors__label { margin-bottom: var(--sp-4); color: var(--ink-soft); }
.chip { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: var(--r-pill); background: color-mix(in oklab, var(--white) 70%, var(--sage-100)); font-size: var(--fs-small); font-weight: 600; color: var(--ink); }

/* ============================ Serviços ============================ */
.services { display: grid; gap: var(--sp-5); margin-top: clamp(32px, 4vw, 56px); }
.service {
  --notch-fill: var(--white);
  border-radius: var(--r-xl);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 48px);
  align-items: center; padding: 8px; position: relative;
}
.service__body { padding: clamp(30px, 4vw, 62px); display: flex; flex-direction: column; gap: var(--sp-5); align-items: flex-start; }
.service__body .h3 { max-width: 18ch; }
.service__body .icon-btn { position: absolute; left: 0; bottom: 0; z-index: 1; width: 44px; height: 44px; }
.service .service__media { border-radius: var(--r-lg); }
.service--flip .service__media { order: 0; }
.service .photo--3x2 { aspect-ratio: 1.55 / 1; }

/* ============================ Benefícios ============================ */
.benefits__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-6); flex-wrap: wrap; margin-bottom: clamp(56px, 5vw, 84px); }
.benefits__title { color: var(--ink); max-width: 16ch; }
.benefits__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.benefit { --notch-fill: var(--bg); border-radius: var(--r-xl); padding: clamp(28px, 2.4vw, 38px); position: relative; display: grid; gap: var(--sp-4); min-height: 208px; }
.benefit__num {
  position: absolute; top: 0; right: 0; width: 42px; height: 42px; border-radius: 50%; z-index: 1;
  background: var(--accent); color: var(--black); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
}
.benefit .h3 { font-size: clamp(1.35rem, 1.05rem + 0.9vw, 1.85rem); padding-right: 40px; }
.benefit p { color: var(--ink-soft); font-size: var(--fs-body); max-width: 36ch; }

/* ============================ Depoimentos ============================ */
.tsl { margin-top: clamp(32px, 4vw, 52px); overflow: hidden; }
.tsl__track { display: flex; gap: var(--sp-5); transition: transform var(--dur-slow) var(--ease-out); }
.tsl__slide { flex: 0 0 100%; min-width: 0; display: grid; grid-template-rows: 1fr; }
/* No desktop cabem 2 cards por vez; no mobile o slide ocupa 100% (card único). */
@media (min-width: 769px) { .tsl__slide { flex-basis: calc(50% - 12px); } }
.quote { min-height: 380px; padding: clamp(28px, 3vw, 48px); display: flex; flex-direction: column; gap: var(--sp-5); position: relative; }
.quote { border-radius: var(--r-xl); }
.quote__mark { display: none; }
.quote__text { font-family: var(--font-display); font-size: clamp(1.5rem, 1.05rem + 1.2vw, 2.25rem); line-height: 1.22; letter-spacing: -0.025em; color: var(--ink); max-width: 22ch; }
.quote__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote__avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex: none; border: 2px solid color-mix(in oklab, var(--white) 70%, var(--sage-100)); }
.quote__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.quote__name { font-weight: 600; font-size: var(--fs-small); }
.quote__role { font-size: var(--fs-small); color: var(--ink-soft); }
.quote__flag { font-size: var(--fs-micro); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.dots { display: flex; gap: 8px; margin-top: var(--sp-6); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: color-mix(in oklab, var(--ink) 22%, transparent); transition: background var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.dot[aria-current="true"] { background: var(--accent); transform: scale(1.25); }
.dot:hover { background: color-mix(in oklab, var(--ink) 40%, transparent); }
.dot[aria-current="true"]:hover { background: var(--accent); }

/* ============================ FAQ ============================ */
#faq .container { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
#faq .sec-head__title { max-width: 18ch; text-wrap: balance; }
.faq { display: grid; gap: 6px; }
.faq__item { --notch-fill: var(--white); border-radius: var(--r-xl); position: relative; }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding: clamp(24px, 2.4vw, 34px) clamp(68px, 5vw, 78px) clamp(24px, 2.4vw, 34px) clamp(22px, 2vw, 32px); text-align: left; font-family: var(--font-display); font-weight: 400; font-size: var(--fs-lead); color: var(--ink); }
.faq__icon { position: absolute; top: 0; right: 0; z-index: 1; width: 42px; height: 42px; border-radius: 50%; background: var(--black); color: #fff; display: grid; place-items: center; flex: none; transition: transform var(--dur) var(--ease-out), background var(--dur) var(--ease-out); }
.faq__icon svg { transition: transform var(--dur) var(--ease-out); }
.faq__item.is-open .faq__icon { background: var(--accent); color: var(--black); }
.faq__item.is-open .faq__icon svg { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-slow) var(--ease-out); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 clamp(18px, 2vw, 28px) clamp(20px, 2.2vw, 28px); color: var(--ink-soft); max-width: 68ch; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* ============================ Blog ============================ */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: clamp(40px, 5vw, 72px); }
.post { --notch-fill: var(--white); border-radius: var(--r-xl); display: grid; grid-template-rows: auto 1fr; position: relative; }
.post__media { border-radius: var(--r-lg); margin: 4px; }
.post__body { padding: var(--sp-4) var(--sp-5) var(--sp-5); display: grid; gap: var(--sp-4); align-content: start; }
.post__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.25rem, 1rem + .5vw, 1.6rem); line-height: 1.28; letter-spacing: -.02em; }
.post__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: var(--sp-2); }
.post__foot .icon-btn { position: absolute; right: 0; bottom: 0; z-index: 1; width: 44px; height: 44px; }
.post__tag { padding: 7px 14px; border-radius: var(--r-pill); background: var(--sage-100); font-size: var(--fs-small); font-weight: 600; }

/* ============================ Contato ============================ */
.contact__title { text-align: center; font-size: var(--fs-h1); line-height: 1.02; letter-spacing: var(--ls-display); font-weight: 400; max-width: 16ch; margin-inline: auto; }
.contact__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 80px); margin-top: clamp(36px, 5vw, 64px); align-items: start; }
.contact__aside { display: grid; gap: var(--sp-5); }
.form { display: grid; gap: var(--sp-4); }
.field { display: grid; gap: 8px; }
.field__label { font-size: var(--fs-small); font-weight: 600; color: var(--ink); }
.field__label .req { color: var(--ink-mute); }
.field input, .field textarea, .calc-input {
  font: inherit; color: var(--ink); background: var(--field-bg);
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 15px 18px; width: 100%; transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.field input:focus, .field textarea:focus, .calc-input:focus {
  outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in oklab, var(--focus) 24%, transparent);
}
.field textarea { min-height: 148px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder, .calc-input::placeholder { color: var(--ink-mute); }
.field.has-error input, .field.has-error textarea, .calc-input.has-error { border-color: oklch(52% 0.19 25); }
.field__error { font-size: var(--fs-small); color: oklch(45% 0.19 25); display: none; }
.field.has-error .field__error { display: block; }
.form__summary { display: none; padding: 14px 18px; border-radius: var(--r-md); background: oklch(95% 0.03 25); color: oklch(38% 0.17 25); font-size: var(--fs-small); font-weight: 600; }
.form__summary.is-shown { display: block; }
.form__status { display: none; align-items: center; gap: 12px; padding: 16px 20px; border-radius: var(--r-md); background: color-mix(in oklab, var(--sage-100) 55%, var(--white)); font-size: var(--fs-small); font-weight: 600; }
.form__status.is-shown { display: flex; }
.form__status .icon-btn { width: 34px; height: 34px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid color-mix(in oklab, var(--ink) 25%, transparent); border-top-color: var(--ink); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); margin-top: clamp(36px, 4vw, 56px); }
.contact__card { padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r-lg); background: var(--sage-100); display: grid; gap: var(--sp-4); }
.contact__card .field__label { color: var(--ink); }
.contact__card a { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; letter-spacing: -0.01em; }
.contact__card a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ============================ CTA final ============================ */
.cta__grid { display: grid; grid-template-columns: 0.85fr 1.3fr 0.85fr; gap: clamp(20px, 3vw, 40px); align-items: center; }
.cta__copy { text-align: center; display: grid; gap: var(--sp-5); justify-items: center; }
.cta__h2 { font-size: clamp(2.2rem, 1.25rem + 2.8vw, 3.5rem); max-width: 16ch; }
.cta__col { display: grid; gap: 14px; }
.cta__col--offset { margin-top: 34px; }

/* ============================ Footer ============================ */
.footer {
  background: var(--black); color: #fff;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  max-width: var(--panel-max); margin-inline: auto;
  padding: clamp(40px, 4.5vw, 68px) clamp(22px, 4vw, 56px) var(--sp-7);
}
.footer__inner { max-width: var(--container); margin-inline: auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 4.5vw, 64px); }
.footer .brand { color: #fff; font-size: 1.4rem; }
.footer .brand__mark { color: var(--accent); width: 40px; height: 40px; }
.footer .brand__arrow { stroke: var(--black); }
.footer .brand:hover .brand__arrow,
.footer .brand:focus-visible .brand__arrow { stroke: var(--black); }
.footer__news { margin-top: var(--sp-7); }
.footer__news label { display: block; font-size: var(--fs-small); color: color-mix(in oklab, #fff 78%, transparent); margin-bottom: var(--sp-3); }
.news__row { display: flex; gap: 8px; align-items: center; }
.news__row input { flex: 1; font: inherit; padding: 15px 18px; border-radius: var(--r-pill); border: 1px solid transparent; background: var(--white); color: var(--ink); }
.news__row input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 40%, transparent); }
.news__btn { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--black); display: grid; place-items: center; flex: none; transition: transform var(--dur) var(--ease-out); }
.news__btn:hover { transform: scale(1.06); }
.news__msg { margin-top: 10px; font-size: var(--fs-small); color: var(--accent); display: none; }
.news__msg.is-shown { display: block; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.footer__col h3 { color: color-mix(in oklab, #fff 62%, transparent); font-size: var(--fs-small); font-weight: 600; margin-bottom: var(--sp-4); }
.footer__col a { display: block; padding: 7px 0; color: color-mix(in oklab, #fff 92%, transparent); font-size: var(--fs-small); }
.footer__col a:hover { color: var(--accent); }
.footer__base { max-width: var(--container); margin: var(--sp-8) auto 0; padding-top: var(--sp-5); border-top: 1px solid color-mix(in oklab, #fff 14%, transparent); display: flex; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; color: color-mix(in oklab, #fff 62%, transparent); font-size: var(--fs-small); }

/* ============================ Reveal (degradação graciosa) ============================ */

/* ============================ Responsivo ============================ */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .collage { order: 2; }
  .about__grid { grid-template-columns: 1fr; }
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  #faq .container { grid-template-columns: 1fr; gap: var(--sp-6); }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .cta__grid { grid-template-columns: 1fr 1fr; }
  .cta__col--left { display: none; }
  .footer__inner { grid-template-columns: 1fr; }
}

/* Mobile: duas fotos da hero em sequência e recortes editoriais preservados. */
@media (max-width: 768px) {
  .nav__inner { width: 100%; justify-content: space-between; border-radius: 28px; padding: 8px 10px 8px 16px; }
  .nav__search { display: none; }
  .nav__links { display: none; }
  .nav__toggle { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: color-mix(in oklab, var(--ink) 6%, transparent); }
  .nav__links.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 8px);
    background: var(--white); border-radius: var(--r-lg); padding: 12px; box-shadow: var(--shadow-2);
  }
  .nav__link { padding: 13px 14px; font-size: var(--fs-body); }

  .hero { padding-block: 24px 0; }
  .hero__panel {
    display: flex; flex-direction: column;
    padding: 44px 18px 40px;
  }
  .hero__grid { display: flex; flex-direction: column; gap: 28px; }
  .hero__copy { align-items: center; text-align: center; gap: 18px; }
  .hero__h1 { max-width: 100%; margin-top: 4px; font-size: clamp(1.8rem, 7.5vw, 2.3rem); }
  .hero__lead { margin-inline: auto; }
  .collage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; order: 2; width: 100%; }
  .collage__col, .collage__col--offset { display: contents; }
  .collage .photo--wide { display: none; }
  .collage .photo--tall { aspect-ratio: 1.55 / 1; min-height: 0; }
  .collage .photo--tall { border-radius: var(--r-lg); }
  .collage .photo picture { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
  .collage .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .collage .photo--portrait img { object-fit: cover; object-position: center 22%; transform: scaleX(-1); }
  .collage__col--offset .photo--tall img { object-position: center 22%; }

  /* Cabeçalhos de seção empilhados (link abaixo do título) */
  .sec-head { flex-direction: column; align-items: flex-start; gap: var(--sp-4); }
  .about__head { flex-direction: column; align-items: flex-start; gap: var(--sp-4); }
  .benefits__head { flex-direction: column; align-items: flex-start; gap: var(--sp-5); }

  /* Serviços: cartão em coluna com a seta no canto superior direito */
  .service { grid-template-columns: 1fr; gap: 0; }
  .service--flip .service__media { order: 0; }
  .service__body { padding: 28px 70px 24px 24px; }
  .service::before { transform: none; }
  .service__body .icon-btn { top: 0; right: 0; bottom: auto; left: auto; }

  .contact__grid { grid-template-columns: 1fr; }
  .contact__cards { grid-template-columns: 1fr; }
  .cta__grid { grid-template-columns: 1fr; }
  .cta__col--left { display: none; }
  .cta__col--right { display: grid; margin-top: 8px; }
  .cta__col--right .photo--square { display: none; }
  .cta__col--right .photo--tall { aspect-ratio: 3 / 2; }
  .cta__col--right .photo--tall img { object-position: center 25%; }
}

@media (max-width: 560px) {
  .benefits__grid { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
  .benefit__num { right: 0; }
}

@media (max-width: 480px) {
  :root { --r-xl: 28px; --r-lg: 24px; }
  .stat { min-height: 136px; padding: 20px; }
  .stat__value { font-size: clamp(1.5rem, 6.6vw, 2rem); }
  .hero__panel { padding: 52px 16px 44px; }
  .benefit { padding: 26px 24px 28px; }
}
