/* ==========================================================
   ORQUEA — Núcleo de Saúde Integral
   ========================================================== */

:root {
  /* Paleta da marca */
  --cocoa:       #331710;   /* marrom café (primária escura) */
  --cocoa-2:     #45231A;
  --cocoa-3:     #5A3326;
  --cream:       #F2DCC4;   /* pêssego / creme (primária clara) */
  --cream-2:     #F7E9DA;
  --ivory:       #FBF6F0;
  --sand:        #EFE4D7;
  --taupe:       #9C7E6B;
  --line:        rgba(51, 23, 16, .14);
  --line-light:  rgba(242, 220, 196, .22);

  /* Tipografia */
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Ritmo */
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(88px, 12vw, 168px);
  --radius: 22px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.7;
  color: var(--cocoa);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 500; }

::selection { background: var(--cocoa); color: var(--cream); }

:focus-visible { outline: 2px solid var(--taupe); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.center { text-align: center; }

/* ---------- Logo (máscara: permite colorir o PNG transparente) ---------- */
.logo-mask {
  display: block;
  background-color: currentColor;
  -webkit-mask: var(--src) center / contain no-repeat;
          mask: var(--src) center / contain no-repeat;
}
.logo-mask--full    { --src: url("assets/logo/logo-full.png"); aspect-ratio: 1030 / 210; }
.logo-mask--stacked { --src: url("assets/logo/logo-2.png");    aspect-ratio: 560 / 380; }
.symbol-mark,
.member__mono {
  display: block;
  background-color: currentColor;
  -webkit-mask: url("assets/logo/simbolo.png") center / contain no-repeat;
          mask: url("assets/logo/simbolo.png") center / contain no-repeat;
  aspect-ratio: 1;
}

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 28px;
}
.eyebrow--light { color: rgba(242, 220, 196, .75); }

.title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -.01em;
  margin: 0 0 32px;
}
.title em,
.hero__title em {
  font-style: italic;
  font-weight: 300;
}
.title--xl { font-size: clamp(40px, 5.6vw, 80px); }

/* ---------- Botões ---------- */
.btn {
  --h: 58px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: var(--h);
  padding: 0 34px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .6s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn__arrow {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 1.4;
  transition: transform .5s var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--light { background: var(--cream); color: var(--cocoa); }
.btn--light::before { background: var(--ivory); }

.btn--dark { background: var(--cocoa); color: var(--cream); }
.btn--dark::before { background: var(--cocoa-3); }

.btn--ghost { background: transparent; color: currentColor; border-color: currentColor; }
/* sobre o hero (header transparente): preenche creme, texto café */
.btn--ghost::before { background: var(--cream); }
.btn--ghost:hover { color: var(--cocoa); border-color: var(--cream); }
/* header sólido (claro): preenche café, texto creme */
.header.is-solid .btn--ghost::before { background: var(--cocoa); }
.header.is-solid .btn--ghost:hover { color: var(--cream); border-color: var(--cocoa); }

.btn--sm { --h: 44px; padding: 0 22px; font-size: 10.5px; gap: 0; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--cream);
  transition: background .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  transition: height .5s var(--ease);
}
.header__logo { display: block; width: clamp(170px, 18vw, 230px); }
.header__logo .logo-mask { width: 100%; }

.header.is-solid {
  background: rgba(251, 246, 240, .88);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
          backdrop-filter: blur(14px) saturate(140%);
  color: var(--cocoa);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-solid .header__inner { height: 72px; }
.header.is-hidden { transform: translateY(-100%); }

/* ---------- 1. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--cream);
  background: var(--cocoa);
  overflow: hidden;
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity 1.8s var(--ease), transform 9s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(51, 23, 16, .88) 0%, rgba(51, 23, 16, .62) 42%, rgba(51, 23, 16, .12) 100%),
    linear-gradient(0deg, rgba(51, 23, 16, .55) 0%, rgba(51, 23, 16, 0) 40%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 120px;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 7.4vw, 112px);
  line-height: .98;
  letter-spacing: -.015em;
  margin: 0 0 36px;
}
.hero__location {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  padding: 6px 22px 6px 6px;
  border: 1px solid rgba(242, 220, 196, .35);
  border-radius: 999px;
  background: rgba(51, 23, 16, .35);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.hero__badge {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--cocoa);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.hero__city {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--cream);
  line-height: 1;
}
.hero__city svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 1.5;
}
.hero__text {
  max-width: 470px;
  font-size: clamp(15px, 1.15vw, 18px);
  color: rgba(242, 220, 196, .86);
  margin-bottom: 44px;
}

.hero__dots {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  bottom: 48px;
  display: flex;
  gap: 10px;
}
.hero__dot {
  width: 36px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  position: relative;
}
.hero__dot::before,
.hero__dot::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: rgba(242, 220, 196, .3);
}
.hero__dot::after {
  background: var(--cream);
  transform: scaleX(0);
  transform-origin: left;
}
.hero__dot.is-active::after { animation: dotfill var(--slide-ms, 6000ms) linear forwards; }
@keyframes dotfill { to { transform: scaleX(1); } }

.hero__scroll {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 36px;
  width: 1px;
  height: 64px;
  background: rgba(242, 220, 196, .25);
  overflow: hidden;
}
.hero__scroll span {
  position: absolute;
  inset: 0;
  background: var(--cream);
  animation: scrollcue 2.4s var(--ease) infinite;
}
@keyframes scrollcue {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}

/* ---------- Seções base ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section--ivory { background: var(--ivory); }
.section--sand  { background: var(--sand); }
.section--cocoa { background: var(--cocoa); color: var(--cream); }
.section--cocoa p { color: rgba(242, 220, 196, .8); }

.section__head { text-align: center; margin-bottom: clamp(48px, 6vw, 80px); }

/* Textura de ondas verticais (inspirada na identidade visual) */
.waves { isolation: isolate; overflow: hidden; }
.waves::before {
  content: "";
  position: absolute;
  inset: -10% 0;
  z-index: -1;
  opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='600' viewBox='0 0 44 600' preserveAspectRatio='none'%3E%3Cpath d='M22 0 C 40 120, 4 210, 22 300 S 6 480, 22 600' fill='none' stroke='%2345231A' stroke-width='14'/%3E%3C/svg%3E");
  background-size: 44px 100%;
  background-repeat: repeat-x;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 75%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 75%, transparent 100%);
}

/* Layout em duas colunas */
.split {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
}
.split--reverse { grid-template-columns: 1fr 1.08fr; }
.split--reverse .split__media { order: 2; }
.split__text { max-width: 500px; }
.split__text p { font-size: clamp(15px, 1.1vw, 17.5px); }

/* ---------- Vídeo ---------- */
.split__media { display: flex; justify-content: center; }
.video {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cocoa) var(--poster) center / cover no-repeat;
  box-shadow: 0 40px 80px -40px rgba(51, 23, 16, .45);
}
.video::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(51, 23, 16, 0) 40%, rgba(51, 23, 16, .55) 100%);
  transition: background .6s var(--ease);
}
.video:hover::before { background: linear-gradient(180deg, rgba(51, 23, 16, .15) 0%, rgba(51, 23, 16, .6) 100%); }

.video__play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 96px;
  height: 96px;
  margin: -48px 0 0 -48px;
  border-radius: 50%;
  border: 1px solid rgba(242, 220, 196, .65);
  background: rgba(51, 23, 16, .25);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  transition: transform .6s var(--ease-out), background .4s var(--ease);
}
.video__play::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(242, 220, 196, .5);
  animation: pulse 2.8s var(--ease) infinite;
}
@keyframes pulse {
  0%   { transform: scale(1);   opacity: .8; }
  100% { transform: scale(1.6); opacity: 0; }
}
.video__play svg { width: 26px; height: 26px; fill: var(--cream); margin-left: 4px; }
.video:hover .video__play { transform: scale(1.06); background: rgba(51, 23, 16, .45); }

.video__label {
  position: absolute;
  left: 28px;
  bottom: 24px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--cream);
}
.video__player {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}
.video.is-playing::before,
.video.is-playing .video__play,
.video.is-playing .video__label { opacity: 0; pointer-events: none; }
.video.is-pending .video__play { cursor: default; }
.video.is-pending .video__play::after { animation: none; opacity: 0; }

.symbol-mark {
  width: 56px;
  margin-top: 40px;
  color: rgba(242, 220, 196, .55);
}

/* ---------- 4. Parallax ---------- */
.parallax {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--cream);
  text-align: center;
}
.parallax__bg {
  position: absolute;
  inset: -18% 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.parallax__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(51, 23, 16, .62) 0%, rgba(51, 23, 16, .82) 75%);
}
.parallax__content {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  padding-block: var(--section-y);
}
.parallax__content p {
  max-width: 640px;
  margin: 0 auto 48px;
  color: rgba(242, 220, 196, .86);
  font-size: clamp(15px, 1.15vw, 18px);
}

/* ---------- 5. Equipe ---------- */
.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  margin-bottom: clamp(56px, 7vw, 88px);
}
.member { text-align: center; }
.member__photo {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  margin-bottom: 26px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 80% at 50% 0%, var(--cream-2) 0%, var(--cream) 60%, #E6C9AC 100%);
  transition: transform .8s var(--ease-out);
}
.member__photo::after {
  content: "Foto em breve";
  position: absolute;
  bottom: 20px;
  left: 0; right: 0;
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(51, 23, 16, .45);
}
.member__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 1.2s var(--ease-out);
}
.member__photo.has-photo::after { content: none; }
.member:hover .member__photo img { transform: scale(1.04); }
.member__mono { width: 34%; color: rgba(51, 23, 16, .22); }
.member:hover .member__photo { transform: translateY(-6px); }
.member__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.1;
  margin: 0 0 6px;
}
.member__role {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* ---------- 6. O espaço ---------- */
.split--space { grid-template-columns: 1fr 1.25fr; }
.tags {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tags li {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: clamp(460px, 48vw, 640px);
}
.mosaic__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
}
.mosaic__item--tall { grid-row: span 2; }
.mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.4s var(--ease-out);
}
.mosaic__item:hover img { transform: scale(1.1); }

/* ---------- 7. Fechamento ---------- */
.closing {
  position: relative;
  background: var(--cocoa);
  color: var(--cream);
  text-align: center;
  padding-block: var(--section-y) calc(var(--section-y) * .7);
}
.closing__content { max-width: 860px; }
.closing__content p {
  max-width: 560px;
  margin: 0 auto 48px;
  color: rgba(242, 220, 196, .82);
  font-size: clamp(15px, 1.15vw, 18px);
}
.closing__logo {
  width: clamp(170px, 18vw, 230px);
  margin: clamp(80px, 10vw, 128px) auto 0;
  color: var(--cream);
}

.footer {
  background: var(--cocoa);
  color: rgba(242, 220, 196, .55);
  font-size: 12px;
  letter-spacing: .04em;
  border-top: 1px solid var(--line-light);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: 28px;
}
.footer__ig { text-decoration: none; letter-spacing: .2em; text-transform: uppercase; font-size: 11px; }
.footer__ig:hover { color: var(--cream); }

/* ---------- Animações de entrada ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Modal do formulário ---------- */
.modal,
.vmodal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal[hidden],
.vmodal[hidden] { display: none; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(33, 14, 9, .62);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  animation: fade .5s var(--ease) both;
}
.modal__panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100svh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 44px 40px 32px;
  border-radius: 26px;
  background: linear-gradient(180deg, #FBF5EE 0%, #F4E8DB 100%);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .45);
  animation: rise .6s var(--ease-out) both;
}
.modal.is-closing .modal__backdrop,
.vmodal.is-closing .modal__backdrop { animation: fade .35s var(--ease) reverse both; }
.modal.is-closing .modal__panel { animation: rise .35s var(--ease) reverse both; }

@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(30px) scale(.98); } }

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  transition: background .3s var(--ease);
}
.modal__close:hover { background: rgba(51, 23, 16, .07); }
.modal__close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.4; fill: none; }
.modal__close--light { color: var(--cream); position: fixed; top: 20px; right: 20px; }
.modal__close--light:hover { background: rgba(242, 220, 196, .12); }

.form__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 36px);
  line-height: 1.1;
  margin: 0 0 10px;
  padding-right: 28px;
}
.form-step--thanks .form__title { padding-right: 0; }
.form__subtitle { font-size: 14px; color: rgba(51, 23, 16, .7); margin-bottom: 28px; }

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label,
.field legend { font-size: 13px; font-weight: 500; padding: 0; }
.field legend { margin-bottom: 4px; }
.req { color: #A0503A; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(51, 23, 16, .16);
  border-radius: 12px;
  background: rgba(255, 255, 255, .7);
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  color: var(--cocoa);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
  -webkit-appearance: none;
          appearance: none;
}
.field input::placeholder { color: rgba(51, 23, 16, .35); }
.field input:focus,
.field select:focus {
  outline: 0;
  border-color: var(--cocoa);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(51, 23, 16, .07);
}
.field.is-invalid input,
.field.is-invalid select { border-color: #B4573E; }
.field__error { font-size: 12px; color: #B4573E; min-height: 0; }
.field__error:empty { display: none; }

.phone { display: flex; gap: 8px; }
.phone__ddi {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(51, 23, 16, .16);
  border-radius: 12px;
  background: rgba(255, 255, 255, .5);
  font-size: 15px;
  font-weight: 400;
}

.select { position: relative; }
.select::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.4px solid var(--cocoa);
  border-bottom: 1.4px solid var(--cocoa);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select select { padding-right: 44px; cursor: pointer; }
.select select:invalid { color: rgba(51, 23, 16, .45); }

.check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.45;
  cursor: pointer;
  padding: 3px 0;
}
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check span {
  flex: 0 0 18px;
  height: 18px;
  margin-top: 1px;
  border: 1px solid rgba(51, 23, 16, .35);
  border-radius: 5px;
  background: rgba(255, 255, 255, .7);
  display: grid;
  place-items: center;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.check span::after {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 1.6px solid var(--cream);
  border-bottom: 1.6px solid var(--cream);
  transform: translateY(-1px) rotate(-45deg) scale(0);
  transition: transform .25s var(--ease-out);
}
.check input:checked + span { background: var(--cocoa); border-color: var(--cocoa); }
.check input:checked + span::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.check input:focus-visible + span { outline: 2px solid var(--taupe); outline-offset: 2px; }
.check--sm { font-size: 12px !important; color: rgba(51, 23, 16, .7); }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.btn__spinner {
  display: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(242, 220, 196, .35);
  border-top-color: var(--cream);
  animation: spin .8s linear infinite;
}
.btn.is-loading .btn__text { opacity: .6; }
.btn.is-loading .btn__spinner { display: block; }
.btn[disabled] { pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.form__feedback { font-size: 13px; color: #B4573E; text-align: center; margin: 0; }
.form__feedback:empty { display: none; }

/* Obrigado */
.form-step--thanks { text-align: center; padding: 16px 0 8px; }
.form-step--thanks .form__subtitle { max-width: 340px; margin-inline: auto; }
.thanks__icon { width: 64px; height: 64px; margin: 0 auto 24px; }
.thanks__icon svg { width: 100%; height: 100%; fill: none; stroke: var(--cocoa); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.thanks__icon circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw 1s var(--ease-out) .1s forwards; }
.thanks__icon path   { stroke-dasharray: 36;  stroke-dashoffset: 36;  animation: draw .6s var(--ease-out) .8s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Modal de vídeo */
.vmodal__frame {
  position: relative;
  width: min(1100px, 100%);
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  animation: rise .6s var(--ease-out) both;
}
.vmodal__frame iframe,
.vmodal__frame video { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .split,
  .split--reverse,
  .split--space { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__text { max-width: 620px; }
  .split__media { width: 100%; }
  .video { max-width: 360px; }
  .hero__veil {
    background: linear-gradient(0deg, rgba(51, 23, 16, .92) 0%, rgba(51, 23, 16, .55) 55%, rgba(51, 23, 16, .35) 100%);
  }
  .hero { align-items: flex-end; }
  .hero__content { padding-bottom: 140px; }
}

@media (max-width: 720px) {
  .header .btn--sm { --h: 38px; padding: 0 16px; font-size: 9.5px; letter-spacing: .16em; }
  .header__logo { width: 150px; }
  .header__inner { height: 72px; }
  .team {
    grid-template-columns: repeat(3, 78%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .team::-webkit-scrollbar { display: none; }
  .member { scroll-snap-align: center; }
  .mosaic { height: 520px; }
  .title--xl br { display: none; }
  .btn { --h: 54px; padding: 0 26px; font-size: 11px; letter-spacing: .16em; }
  .hero__content .btn,
  .parallax__content .btn,
  .closing__content .btn { width: 100%; max-width: 380px; }
  .hero__dots { left: var(--gutter); right: auto; bottom: 40px; }
  .hero__scroll { display: none; }
  .modal { padding: 0; align-items: end; }
  .modal__panel {
    max-width: none;
    max-height: 94svh;
    border-radius: 24px 24px 0 0;
    padding: 40px 22px 28px;
  }
  .footer__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 420px) {
  .header .btn--sm .label-long { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
