/* ==========================================================================
   SHINE — Biosite
   Paleta oficial: #FFFFFF · #EEDFCD · #623E2F · #703D15
   ========================================================================== */

:root {
  /* Paleta da identidade */
  --white: #FFFFFF;
  --beige: #EEDFCD;
  --brown: #623E2F;
  --brown-2: #703D15;

  /* Variações sutis (transparências da paleta) */
  --beige-50: rgba(238, 223, 205, .5);
  --beige-30: rgba(238, 223, 205, .3);
  --ink: var(--brown);
  --ink-soft: rgba(98, 62, 47, .78);
  --ink-mute: rgba(98, 62, 47, .6);
  --line: rgba(98, 62, 47, .16);
  --line-strong: rgba(98, 62, 47, .38);
  --shadow-sm: 0 1px 2px rgba(98, 62, 47, .06), 0 6px 18px -8px rgba(98, 62, 47, .16);
  --shadow-md: 0 2px 4px rgba(98, 62, 47, .05), 0 22px 40px -18px rgba(98, 62, 47, .32);

  /* Tipografia da identidade (com equivalentes caso não estejam instaladas) */
  --f-serif: "Shine Serif", "Times New Roman", serif;
  --f-sans: "Shine Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5vw, 56px);
  --maxw: 1180px;
  --radius: 22px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html { overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--beige); color: var(--brown); }

.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;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--brown); color: var(--white); padding: 10px 16px; border-radius: 99px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--brown-2); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Tipos base ---------- */
.eyebrow {
  font-family: var(--f-sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 18px;
  min-height: 56px; padding: 8px 8px 8px 30px;
  border-radius: 999px;
  font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background-color .3s;
  -webkit-tap-highlight-color: transparent;
}
.btn--primary {
  background: linear-gradient(135deg, var(--brown-2) 0%, var(--brown) 100%);
  color: var(--white);
  box-shadow: 0 14px 30px -14px rgba(112, 61, 21, .7), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.btn__arrow {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(238, 223, 205, .16);
  border: 1px solid rgba(238, 223, 205, .28);
  transition: transform .45s var(--ease-out), background-color .3s;
}
.btn__arrow svg { width: 18px; height: 18px; transition: transform .45s var(--ease-out); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -16px rgba(112, 61, 21, .75), inset 0 1px 0 rgba(255,255,255,.12); }
.btn:hover .btn__arrow { background: var(--beige); color: var(--brown); }
.btn:hover .btn__arrow svg { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--lg { min-height: 62px; padding-left: 36px; font-size: 13.5px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brown-2);
  padding: 10px 0;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .4s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

.icon-btn {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--brown);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease-out), background-color .3s;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { transform: scale(1.06); background: var(--white); }

/* ==========================================================================
   1. HERO
   ========================================================================== */
.hero {
  position: relative;
  display: flex; flex-direction: column;
  isolation: isolate;
  overflow-x: clip;
}
.hero__glow {
  position: absolute; inset: 40% -20% auto -30%; height: 90%;
  background: radial-gradient(closest-side, var(--beige-50), transparent 75%);
  z-index: -1; pointer-events: none;
  animation: drift 18s ease-in-out infinite alternate;
}

/* Foto principal (IMG_6356.JPG) */
.hero__media {
  position: relative; margin: 0;
  height: min(62svh, 150vw);
  min-height: 440px;
  overflow: hidden;
  border-radius: 0 0 34px 34px;
  background: var(--beige);
  opacity: 0; transform: translateY(18px) scale(1.01);
  transition: opacity 1.4s var(--ease-out), transform 1.6s var(--ease-out);
}
.hero__media picture, .hero__img {
  width: 100%; height: 100%;
}
.hero__img {
  object-fit: cover;
  object-position: 50% 30%;
  transform: scale(1.06);
  transition: transform 2.4s var(--ease-out);
  will-change: transform;
}
.hero__media::after { /* véu suave para dar leitura ao logo no topo e fundir com o branco embaixo */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(238,223,205,.55) 0%, rgba(238,223,205,0) 26%),
    linear-gradient(0deg, rgba(98,62,47,.22) 0%, rgba(98,62,47,0) 22%);
}
.is-loaded .hero__media { opacity: 1; transform: none; }
.is-loaded .hero__img { transform: scale(1); }

/* Logo sobre a foto (mobile) */
.hero__media-logo {
  position: absolute; z-index: 2; left: 50%; top: max(26px, env(safe-area-inset-top));
  transform: translate(-50%, -8px);
  width: min(46vw, 220px);
  color: var(--brown);
  opacity: 0; transition: opacity 1.2s var(--ease-out) .5s, transform 1.2s var(--ease-out) .5s;
}
.hero__media-logo svg { width: 100%; height: auto; aspect-ratio: 769 / 298; }
.is-loaded .hero__media-logo { opacity: 1; transform: translate(-50%, 0); }

/* Selo giratório */
.hero__badge {
  position: absolute; z-index: 2;
  right: 18px; bottom: 22px;
  width: 92px; height: 92px;
  display: grid; place-items: center;
  color: var(--white);
  opacity: 0; transition: opacity 1s var(--ease-out) 1.4s;
}
.is-loaded .hero__badge { opacity: 1; }
.hero__badge::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: rgba(98, 62, 47, .34);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(238, 223, 205, .45);
}
.hero__badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.hero__badge-ring text { fill: var(--beige); font-family: var(--f-sans); font-size: 9.6px; font-weight: 500; letter-spacing: .1em; }
.hero__badge-star { position: relative; width: 20px; height: 20px; fill: var(--beige); animation: twinkle 4.5s ease-in-out infinite; }

/* Conteúdo */
.hero__content {
  position: relative;
  padding: 26px var(--gutter) 56px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.hero__logo { margin: 0; }
.hero__logo svg, .hero__logo-sub { display: none; }

.hero__eyebrow { display: flex; align-items: center; gap: 10px; font-size: 10.5px; letter-spacing: .22em; white-space: nowrap; }
@media (min-width: 400px) { .hero__eyebrow { font-size: 11px; letter-spacing: .26em; gap: 12px; } }
.hero__eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--line-strong); }
.hero__eyebrow i { font-style: normal; color: var(--brown-2); opacity: .7; font-size: 8px; letter-spacing: 0; }

.hero__title {
  margin-top: 14px;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(3.1rem, 12.6vw, 4.2rem);
  line-height: .96;
  letter-spacing: -.01em;
  color: var(--brown);
}
.hero__title .line { display: block; }
.hero__title em { color: var(--brown-2); font-style: italic; opacity: .92; }

.hero__text {
  margin-top: 14px;
  max-width: 34ch;
  font-size: 16.5px; line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 400;
}
.hero__cta { margin-top: 24px; }
/* No celular o hero termina no texto e a equipe sobe logo em seguida */
@media (max-width: 959px) {
  /* foto funde em fade no branco e o texto começa por cima do fim da foto */
  .hero__media {
    height: min(135vw, 640px);
    border-radius: 0;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 74%, rgba(0,0,0,.72) 82%, rgba(0,0,0,.3) 89%, rgba(0,0,0,.08) 95%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 0%, #000 74%, rgba(0,0,0,.72) 82%, rgba(0,0,0,.3) 89%, rgba(0,0,0,.08) 95%, transparent 100%);
  }
  .hero__media::after { background: linear-gradient(180deg, rgba(238,223,205,.55) 0%, rgba(238,223,205,0) 26%); }
  .hero__content { margin-top: -44px; z-index: 2; }
  .hero__badge { bottom: auto; top: 34%; right: 16px; }
  .hero__cta { display: none; }
  .hero__content { padding-bottom: 0; }
}

.hero__scroll {
  display: none;
}

/* Animação de entrada (carregamento) */
.load-in {
  opacity: 0; transform: translateY(16px);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.is-loaded .load-in { opacity: 1; transform: none; }
.is-loaded .hero__cta.load-in { transition: opacity 1s var(--ease-out) var(--d), transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }

/* ---------- Hero desktop: composição editorial ---------- */
@media (min-width: 960px) {
  .hero {
    min-height: min(100svh, 940px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .hero__glow { inset: -10% auto auto -18%; width: 70%; height: 110%; }
  .hero__media {
    grid-column: 2; grid-row: 1;
    height: auto; min-height: 0;
    border-radius: 0 0 0 240px;
  }
  .hero__img { object-position: 50% 58%; }
  .hero__media::after {
    background:
      linear-gradient(90deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 18%),
      linear-gradient(0deg, rgba(98,62,47,.18) 0%, rgba(98,62,47,0) 24%);
  }
  .hero__media-logo { display: none; }
  .hero__badge { right: 40px; bottom: 40px; width: 118px; height: 118px; color: var(--brown); }
  .hero__badge::before { background: rgba(255,255,255,.9); border-color: var(--line); box-shadow: var(--shadow-sm); }
  .hero__badge-ring text { fill: var(--brown); font-size: 9.2px; }
  .hero__badge-star { fill: var(--brown-2); width: 24px; height: 24px; }

  .hero__content {
    grid-column: 1; grid-row: 1;
    justify-content: center;
    padding: 56px 56px 72px max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
    z-index: 3;
  }
  .hero__logo { margin-bottom: 26px; position: relative; }
  .hero__logo svg {
    display: block;
    width: clamp(210px, 19vw, 280px); height: auto; aspect-ratio: 769 / 298;
    color: var(--brown);
  }
  .hero__logo-sub {
    display: block;
    width: clamp(210px, 19vw, 280px); margin-top: 6px; padding-right: 2px;
    text-align: right;
    font-family: var(--f-serif); font-style: italic; font-size: 1.3rem; line-height: 1;
    color: var(--brown-2);
  }
  .hero__title { font-size: clamp(3.6rem, 5vw, 5.3rem); margin-top: 20px; }
  .hero__title em { white-space: nowrap; }
  .hero__text { font-size: 17px; margin-top: 22px; }
  .hero__cta { margin-top: 32px; }

  .hero__scroll {
    display: block; position: absolute; left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); bottom: 34px;
    width: 22px; height: 36px; border-radius: 99px; border: 1px solid var(--line-strong);
  }
  .hero__scroll span {
    position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px;
    border-radius: 3px; background: var(--brown-2); animation: scrollcue 2.4s var(--ease) infinite;
  }
}

/* ==========================================================================
   Seções / cabeçalhos
   ========================================================================== */
.section { padding: 72px 0; position: relative; }
@media (min-width: 960px) { .section { padding: 112px 0; } }

.section-head {
  display: flex; align-items: center; gap: 18px;
}
.section-head__title {
  font-family: var(--f-sans);
  font-size: 12.5px; font-weight: 500;
  letter-spacing: .36em; text-transform: uppercase;
  color: var(--brown);
  white-space: nowrap;
}
.section-head__line { flex: 1; height: 1px; background: var(--line-strong); min-width: 24px; transform-origin: left; }
.section-head__aside { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); white-space: nowrap; }
.reveal.section-head .section-head__line { transform: scaleX(0); transition: transform 1.4s var(--ease-out) .2s; }
.reveal.section-head.is-in .section-head__line { transform: scaleX(1); }
.section-sub {
  margin-top: 14px; text-wrap: balance;
  font-family: var(--f-serif); font-size: clamp(1.35rem, 4.6vw, 1.7rem); line-height: 1.2;
  color: var(--ink-soft);
}

@media (max-width: 559px) {
  .section-head { flex-wrap: wrap; row-gap: 6px; }
  .section-head__title { font-size: 11.5px; letter-spacing: .3em; }
  .section-head__aside { order: 3; width: 100%; font-size: 10.5px; }
}

/* Revelação ao rolar */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   2. EQUIPE
   ========================================================================== */
.team { padding-top: 56px; }
@media (min-width: 960px) { .team { padding-top: 96px; } }

.team__grid {
  margin-top: 30px;
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) and (max-width: 959px) { .team__grid { grid-template-columns: 1fr 1fr; } .team__grid > :last-child { grid-column: 1 / -1; max-width: calc(50% - 9px); justify-self: center; width: 100%; } }
@media (min-width: 960px) { .team__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; } }

.person {
  position: relative;
  display: flex; flex-direction: column;
  padding: 10px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--white) 0%, rgba(238,223,205,.28) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out), border-color .4s;
  -webkit-tap-highlight-color: transparent;
}
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }

.person__photo {
  position: relative; overflow: hidden;
  border-radius: 15px;
  aspect-ratio: 4 / 3.3;
  background: var(--beige);
}
@media (min-width: 960px) { .person__photo { aspect-ratio: 4 / 4.2; } }
.person__photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.person:hover .person__photo img { transform: scale(1.045); }
.person__tag {
  position: absolute; left: 12px; top: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px 6px 9px; border-radius: 99px;
  background: rgba(255,255,255,.86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--brown);
}
.person__tag svg { width: 9px; height: 9px; fill: var(--brown-2); }

.person__body { padding: 20px 12px 12px; flex: 1; display: flex; flex-direction: column; }
.person__region { margin-bottom: 20px; }
.person__name {
  font-family: var(--f-serif); font-weight: 400;
  font-size: 2.05rem; line-height: 1; letter-spacing: -.005em;
  color: var(--brown);
}
.person__role {
  margin-top: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brown-2);
}
.person__region {
  margin-top: 8px;
  display: flex; gap: 8px; align-items: flex-start;
  font-size: 15px; line-height: 1.45; color: var(--ink-soft);
}
.person__region svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--brown-2); opacity: .8; }

.person__btn {
  margin-top: auto; white-space: nowrap;
  display: flex; align-items: center; gap: 12px;
  min-height: 54px; padding: 6px 6px 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brown);
  transition: background-color .4s, color .4s, border-color .4s;
}
.person__btn .wa { width: 22px; height: 22px; fill: var(--brown); transition: fill .4s; flex: none; }
.person__btn span { flex: 1; }
.person__btn .go {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--brown); color: var(--white);
  transition: transform .45s var(--ease-out), background-color .4s, color .4s;
}
.person__btn .go svg { width: 17px; height: 17px; transition: transform .45s var(--ease-out); }
.person:hover .person__btn { background: var(--brown); color: var(--white); border-color: var(--brown); }
.person:hover .person__btn .wa { fill: var(--beige); }
.person:hover .person__btn .go { background: var(--beige); color: var(--brown); }
.person:hover .person__btn .go svg { transform: translateX(2px) rotate(-35deg); }

/* ==========================================================================
   3. REELS
   ========================================================================== */
.reels { padding-top: 24px; }
@media (min-width: 960px) { .reels { padding-top: 40px; } }

.reels__track {
  margin-top: 30px;
  display: grid; grid-auto-flow: column;
  grid-auto-columns: min(68vw, 280px);
  gap: 14px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 6px var(--gutter) 18px;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.reels__track::-webkit-scrollbar { display: none; }
@media (min-width: 900px) {
  .reels__track {
    max-width: var(--maxw); margin: 40px auto 0;
    grid-auto-flow: row; grid-template-columns: repeat(4, 1fr);
    overflow: visible; gap: 20px;
  }
}

.reel {
  position: relative; display: block; width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 20px; overflow: hidden;
  scroll-snap-align: start;
  background: var(--brown);
  color: var(--white); text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
}
.reel:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.reel img, .reel video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease-out), opacity .6s;
}
.reel video { opacity: 0; }
.reel.is-previewing video { opacity: 1; }
.reel:hover img, .reel:hover video { transform: scale(1.04); }
.reel::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(98,62,47,.35) 0%, rgba(98,62,47,0) 22%),
    linear-gradient(0deg, rgba(62,36,24,.86) 0%, rgba(98,62,47,.35) 34%, rgba(98,62,47,0) 58%);
}
.reel__play {
  position: absolute; z-index: 2; left: 50%; top: 50%;
  width: 62px; height: 62px; margin: -31px 0 0 -31px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform .5s var(--ease-out), background-color .4s, opacity .4s;
}
.reel__play::before {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  animation: pulse 3.2s var(--ease) infinite;
}
.reel__play svg { width: 22px; height: 22px; fill: var(--white); margin-left: 3px; }
.reel:hover .reel__play { transform: scale(1.08); background: rgba(255,255,255,.28); }
.reel.is-previewing .reel__play { opacity: .75; }

.reel__top {
  position: absolute; z-index: 2; top: 14px; left: 16px; right: 16px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.85);
}
.reel__top svg { width: 10px; height: 10px; fill: var(--beige); }
.reel__info { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 16px; }
.reel__num {
  display: flex; align-items: baseline; gap: 12px;
}
.reel__num b {
  font-family: var(--f-serif); font-weight: 400; font-size: 2.3rem; line-height: 1; color: var(--beige);
}
.reel__num span {
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--white);
}
.reel__sub { margin-top: 8px; font-size: 13px; line-height: 1.4; color: rgba(255,255,255,.8); }

.reels__dots { display: flex; justify-content: center; gap: 8px; margin-top: 6px; }
.reels__dots i { width: 6px; height: 6px; border-radius: 99px; background: var(--line-strong); transition: width .4s var(--ease-out), background-color .4s; }
.reels__dots i.on { width: 22px; background: var(--brown-2); }
@media (min-width: 900px) { .reels__dots { display: none; } }

/* Modal de vídeo */
.reel-modal {
  width: 100%; height: 100%; max-width: 100%; max-height: 100%;
  margin: 0; padding: 0; border: 0;
  background: transparent; color: var(--white);
  overflow: hidden;
}
.reel-modal::backdrop {
  background: rgba(40, 24, 16, .72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.reel-modal[open] { animation: fadein .35s var(--ease-out); }
.reel-modal[open]::backdrop { animation: fadein .35s var(--ease-out); }
.reel-modal__box {
  position: relative; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: max(14px, env(safe-area-inset-top)) 14px max(14px, env(safe-area-inset-bottom));
}
.reel-modal__bar {
  width: min(100%, calc((100svh - 110px) * 9 / 16), 460px);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 12px;
}
.reel-modal__title { font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--beige); }
.reel-modal__num { font-family: var(--f-serif); font-size: 1.5rem; letter-spacing: 0; color: var(--white); margin-right: 6px; }
.reel-modal__stage {
  width: min(100%, calc((100svh - 110px) * 9 / 16), 460px);
  aspect-ratio: 9 / 16;
  border-radius: 22px; overflow: hidden;
  background: #2b1a12;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
  border: 1px solid rgba(238,223,205,.22);
  animation: rise .5s var(--ease-out);
}
.reel-modal__video { width: 100%; height: 100%; object-fit: contain; background: #1f130d; }
.reel-modal__nav { position: absolute; top: 50%; margin-top: -23px; }
.reel-modal__nav--prev { left: max(14px, calc(50% - 320px)); }
.reel-modal__nav--next { right: max(14px, calc(50% - 320px)); }
@media (max-width: 699px) { .reel-modal__nav { display: none; } }

/* ==========================================================================
   4. FRASE INSTITUCIONAL
   ========================================================================== */
.statement { padding-top: 40px; }
.statement__panel {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 30px;
  padding: 56px 26px;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(255,255,255,.9) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(160deg, rgba(238,223,205,.55) 0%, rgba(238,223,205,.95) 100%);
  border: 1px solid rgba(98,62,47,.08);
}
.statement__pattern {
  position: absolute; inset: 0; z-index: -1;
  background: url("../assets/img/pattern.webp") center / 520px auto repeat;
  opacity: .07;
  -webkit-mask-image: radial-gradient(90% 80% at 100% 100%, #000 0%, transparent 70%);
          mask-image: radial-gradient(90% 80% at 100% 100%, #000 0%, transparent 70%);
}
.statement__symbol {
  position: absolute; z-index: -1; right: -40px; top: -30px;
  width: 220px; height: 340px; color: var(--white); opacity: .7;
  animation: float 14s ease-in-out infinite alternate;
}
.statement__kicker { font-size: 10.5px; letter-spacing: .3em; line-height: 1.8; max-width: 30ch; }
.statement__title {
  margin-top: 22px;
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(3rem, 13vw, 6.4rem);
  line-height: .95; letter-spacing: -.012em;
  color: var(--brown);
}
.statement__title span, .statement__title em { display: block; }
.statement__title em { color: var(--brown-2); font-style: italic; margin-top: .06em; }

.statement__benefits {
  margin-top: 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px 14px;
}
.benefit { display: flex; align-items: center; gap: 12px; }
.benefit__icon {
  flex: none; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--white); color: var(--brown-2);
  box-shadow: var(--shadow-sm);
}
.benefit__icon svg { width: 22px; height: 22px; }
.benefit__label { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; color: var(--ink-soft); }

@media (min-width: 960px) {
  .statement__panel {
    padding: 88px clamp(40px, 6vw, 80px);
    display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 48px; align-items: center;
  }
  .statement__symbol { right: 32%; top: auto; bottom: -110px; width: 260px; height: 400px; opacity: .55; }
  .statement__kicker { font-size: 11.5px; max-width: none; }
  .statement__text { container-type: inline-size; min-width: 0; }
  .statement__title { font-size: min(5.3rem, 11.2cqi); }
  .statement__title span, .statement__title em { white-space: nowrap; }
  .statement__benefits {
    margin-top: 0; padding-left: 40px; border-left: 1px solid var(--line-strong);
    grid-template-columns: 1fr; gap: 26px;
  }
  .benefit__icon { width: 56px; height: 56px; }
  .benefit__label { font-size: 11.5px; }
}

/* ==========================================================================
   5. CTA FINAL
   ========================================================================== */
.contact { text-align: center; padding-top: 40px; }
/* Espaçamento mais justo entre frase → contato → rodapé */
.statement { padding-bottom: 24px; }
.contact { padding-top: 32px; padding-bottom: 40px; }
.contact__star { margin-bottom: 14px; }
.footer { padding-top: 0; }
.footer__inner { padding-top: 32px; }
@media (min-width: 960px) {
  .statement { padding-bottom: 40px; }
  .contact { padding-top: 56px; padding-bottom: 64px; }
  .footer__inner { padding-top: 44px; }
}
.contact__inner { display: flex; flex-direction: column; align-items: center; }
.contact__star { width: 22px; height: 22px; fill: var(--brown-2); margin-bottom: 20px; animation: twinkle 5s ease-in-out infinite; }
.contact__title {
  margin-top: 16px; max-width: 16ch;
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(2.3rem, 8vw, 3.8rem); line-height: 1.02;
  color: var(--brown);
}
.contact .btn { margin-top: 34px; }
.contact__direct { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.contact__direct-label { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-mute); }
.contact__people { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 16px 5px 5px; min-height: 48px; border-radius: 99px;
  border: 1px solid var(--line); background: var(--white);
  font-size: 14px; color: var(--brown);
  transition: border-color .3s, transform .4s var(--ease-out), box-shadow .4s;
}
.chip img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; background: var(--beige); }
.chip svg { width: 16px; height: 16px; fill: var(--brown-2); }
@media (max-width: 420px) { .chip { gap: 8px; padding-right: 14px; font-size: 13.5px; } .chip svg { display: none; } .contact__people { gap: 8px; } }
.chip:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ==========================================================================
   6. FOOTER
   ========================================================================== */
.footer { padding: 24px 0 calc(40px + env(safe-area-inset-bottom)); }
.footer__inner {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-top: 48px; border-top: 1px solid var(--line);
}
.footer__logo svg { width: 150px; height: auto; aspect-ratio: 769 / 298; color: var(--brown); }
.footer__phrase { margin-top: 18px; max-width: 42ch; font-size: 14.5px; color: var(--ink-soft); }
.footer__links { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 32px; }
.footer__ig { display: inline-flex; align-items: center; gap: 12px; text-align: left; padding: 6px 0; }
.footer__ig svg {
  width: 44px; height: 44px; padding: 11px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--brown);
  transition: background-color .35s, color .35s;
}
.footer__ig:hover svg { background: var(--brown); color: var(--beige); }
.footer__ig small { display: block; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-mute); line-height: 1.3; }
.footer__ig strong { display: block; font-weight: 500; font-size: 15.5px; color: var(--brown); }
.footer__copy { margin-top: 30px; font-size: 12px; color: var(--ink-mute); }

@media (min-width: 960px) {
  .footer__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; text-align: left; gap: 20px 48px; }
  .footer__phrase { margin-top: 0; }
  .footer__links { margin-top: 0; justify-content: flex-end; }
  .footer__copy { grid-column: 1 / -1; margin-top: 18px; padding-top: 20px; border-top: 1px solid var(--line); }
}

/* ---------- WhatsApp flutuante ---------- */
.float-wa {
  position: fixed; z-index: 40;
  right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 20px 0 16px; border-radius: 99px;
  background: linear-gradient(135deg, var(--brown-2), var(--brown)); color: var(--white);
  font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  box-shadow: 0 16px 34px -12px rgba(98,62,47,.6);
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.float-wa svg { width: 22px; height: 22px; fill: var(--beige); }
.float-wa.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.float-wa:hover { transform: translateY(-2px); }

/* ---------- Divisor entre seções (estrela da logo) ---------- */
.divider { display: flex; align-items: center; gap: 14px; }
.divider span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong)); }
.divider span:last-child { background: linear-gradient(90deg, var(--line-strong), transparent); }
.divider svg { width: 12px; height: 12px; fill: var(--brown-2); opacity: .75; flex: none; }
@media (max-width: 959px) { .divider { margin-top: 30px; } }
@media (min-width: 960px) { .divider { margin-top: 24px; } }

/* ---------- Títulos de seção centralizados, sem linha ---------- */
.section-head { flex-direction: column; justify-content: center; text-align: center; gap: 8px; }
.section-head__line { display: none; }
.section-head__aside { order: 0 !important; width: auto !important; }
.section-sub { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Celular: seções mais próximas ---------- */
@media (max-width: 959px) {
  /* espaços mais curtos entre as seções no celular */
  .team { padding-top: 14px; padding-bottom: 36px; }
  .team__grid { margin-top: 22px; }
  .reels { padding-top: 28px; padding-bottom: 14px; }
  .reels__track { margin-top: 22px; }
  .statement { padding-top: 4px; }
  .contact { padding-top: 24px; }
}

/* ---------- Ordem: Reels antes da equipe (computador) ---------- */
@media (min-width: 960px) {
  .reels { padding-top: 64px; padding-bottom: 40px; }
  .team { padding-top: 48px; }
}

/* ---------- Carrossel dos Reels: só desliza para o lado ---------- */
.reels__track { overflow-y: hidden; overscroll-behavior-y: auto; }
@media (hover: none) {
  /* no toque não há "hover": nada sobe, cresce ou balança */
  .reel:hover, .person:hover, .chip:hover, .btn:hover, .float-wa:hover { transform: none; }
  .reel:hover img, .reel:hover video, .person:hover .person__photo img { transform: none; }
  .reel:hover .reel__play { transform: none; }
}

/* ==========================================================================
   Seções novas: Reels do Kauã · Posts Comerciais · Rebranding
   ========================================================================== */
.block[hidden] { display: none !important; }
.section-text {
  margin: 12px auto 0; max-width: 46ch; text-align: center;
  font-size: 15px; line-height: 1.6; color: var(--ink-soft); text-wrap: balance;
}
.section-head__avatar img {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--line-strong), var(--shadow-sm);
}
.section-head__avatar:empty { display: none; }

/* Posts comerciais */
.posts__track {
  margin-top: 26px;
  display: grid; grid-auto-flow: column;
  grid-auto-columns: min(70vw, 300px);
  gap: 14px;
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 6px var(--gutter) 18px;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.posts__track::-webkit-scrollbar { display: none; }
@media (min-width: 900px) {
  .posts__track {
    max-width: var(--maxw); margin: 36px auto 0;
    grid-auto-flow: row; grid-template-columns: repeat(4, 1fr);
    overflow: visible; gap: 20px;
  }
}
.post {
  display: flex; flex-direction: column; width: 100%; text-align: left;
  scroll-snap-align: start;
  -webkit-tap-highlight-color: transparent;
}
.post__img {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: 18px;
  background: var(--beige);
  box-shadow: var(--shadow-sm);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.post__zoom {
  position: absolute; right: 12px; bottom: 12px;
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.9); color: var(--brown);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-out), background-color .3s, color .3s;
}
.post__zoom svg { width: 18px; height: 18px; }
.post__meta { display: flex; flex-direction: column; gap: 2px; padding: 12px 4px 0; }
.post__meta b { font-family: var(--f-serif); font-weight: 400; font-size: 1.35rem; line-height: 1.1; color: var(--brown); }
.post__meta span { font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brown-2); opacity: .85; }
@media (hover: hover) {
  .post:hover .post__img { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .post:hover .post__img img { transform: scale(1.04); }
  .post:hover .post__zoom { background: var(--brown); color: var(--white); transform: scale(1.06); }
}

/* Rebranding: antes e depois */
.rebrand__compare {
  margin: 28px auto 0; max-width: 1100px;
  display: grid; grid-template-columns: 1fr; gap: 14px; align-items: center; justify-items: center;
}
@media (min-width: 900px) { .rebrand__compare { grid-template-columns: 1fr auto 1fr; gap: 20px; } }
.ba { position: relative; display: block; width: 100%; -webkit-tap-highlight-color: transparent; }
.ba__img {
  position: relative; display: block; overflow: hidden;
  border-radius: 20px; background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.ba__img img { width: 100%; height: auto; display: block; }
.ba--after .ba__img { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.ba__tag {
  position: absolute; top: -12px; left: 18px; z-index: 2;
  padding: 6px 14px; border-radius: 99px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  background: var(--white); color: var(--brown); border: 1px solid var(--line-strong);
}
.ba--after .ba__tag { background: var(--brown); color: var(--white); border-color: var(--brown); }
.ba__arrow {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--beige); color: var(--brown-2); transform: rotate(90deg);
}
.ba__arrow svg { width: 20px; height: 20px; }
@media (min-width: 900px) { .ba__arrow { transform: none; } }
@media (hover: hover) {
  .ba:hover .ba__img { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .ba:hover .post__zoom { background: var(--brown); color: var(--white); }
}
.rebrand__points {
  margin: 26px auto 0; max-width: 640px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
}
.rebrand__points li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 99px;
  border: 1px solid var(--line); background: var(--white);
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brown);
}
.rebrand__points svg { width: 9px; height: 9px; fill: var(--brown-2); }

/* Modal com imagem (posts) */
.reel-modal__stage.is-image { aspect-ratio: 4 / 5; width: min(100%, calc((100svh - 110px) * 4 / 5), 620px); }
.reel-modal__img { width: 100%; height: 100%; object-fit: contain; background: var(--white); }
.reel-modal__img[hidden], .reel-modal__video[hidden] { display: none; }
.reel-modal.has-one .reel-modal__nav { display: none; }
.reel-modal__stage.is-wide { aspect-ratio: auto; width: min(100%, 1100px); max-height: calc(100svh - 110px); background: var(--white); }
.reel-modal__stage.is-wide .reel-modal__img { height: auto; max-height: calc(100svh - 110px); }
.reel-modal.is-wide .reel-modal__bar { width: min(100%, 1100px) !important; }
.reel-modal.is-wide .reel-modal__nav--prev { left: 14px; }
.reel-modal.is-wide .reel-modal__nav--next { right: 14px; }
@media (max-width: 1240px) { .reel-modal.is-wide .reel-modal__nav { top: auto; bottom: 18px; margin-top: 0; } }
.reel-modal__stage.is-image ~ .reel-modal__nav { }
.reel-modal__box:has(.is-image) .reel-modal__bar { width: min(100%, calc((100svh - 110px) * 4 / 5), 620px); }

/* espaçamentos das seções novas */
.posts, .rebrand, .reels--kaua { padding-top: 28px; padding-bottom: 14px; }
@media (min-width: 960px) { .posts, .rebrand, .reels--kaua { padding-top: 64px; padding-bottom: 40px; } }

/* ---------- Keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.82) rotate(45deg); opacity: .75; } }
@keyframes drift { from { transform: translate3d(0,0,0); } to { transform: translate3d(4%, -3%, 0); } }
@keyframes float { from { transform: translateY(0) rotate(0); } to { transform: translateY(-16px) rotate(4deg); } }
@keyframes pulse { 0% { transform: scale(.92); opacity: .9; } 70%, 100% { transform: scale(1.22); opacity: 0; } }
@keyframes scrollcue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
@keyframes fadein { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(20px) scale(.98); } }

/* ---------- Acessibilidade: movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}
