/* ============================================================
   BeMED Connect — section components (bench structure, gold skin)
   ============================================================ */

/* ---- shared section header ---- */
.sec-head { max-width: 60ch; margin-bottom: clamp(40px, 6vh, 80px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 500; line-height: 1.12; letter-spacing: -0.014em;
  margin: 18px 0 0; text-wrap: balance;
}
.sec-head .sub {
  margin-top: 20px; color: var(--silver); font-weight: 300;
  font-size: clamp(17px, 1.7vw, 22px); line-height: 1.62; max-width: 52ch;
}
.sec-head.center .sub { margin-inline: auto; }

/* ---- hero pill badge ---- */
.hero-badge {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(212,175,55,0.34);
  background: rgba(212,175,55,0.05);
  padding: 9px 18px; border-radius: 999px;
  backdrop-filter: blur(6px);
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--gold); box-shadow: 0 0 10px var(--gold); }

/* ============================================================
   CREDENTIAL BAND
   ============================================================ */
.cred-band { border-block: 1px solid var(--ink-line-soft); background: var(--ink-1); padding-block: clamp(46px, 7vh, 80px); }
.cred-band .wrap { text-align: center; }
.cred-band .ey { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--grey); }
.cred-band p {
  margin: 18px auto 0; max-width: 40ch;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(20px, 2.6vw, 32px); line-height: 1.3; color: var(--silver);
  text-wrap: balance;
}
.cred-band p .gold { font-style: normal; }

/* ============================================================
   MANIFESTO bullets (left-rule)
   ============================================================ */
.man-bullets { margin-top: 30px; display: flex; flex-direction: column; gap: 16px; max-width: 60ch; }
.man-bullets .b {
  padding-left: 20px; border-left: 1px solid var(--ink-line);
  color: var(--silver); font-weight: 300; font-size: clamp(15px,1.5vw,18px); line-height: 1.5;
}
.man-emph {
  margin-top: 30px; color: var(--gold-soft); font-family: var(--serif); font-style: italic;
  font-size: clamp(17px, 1.9vw, 23px); line-height: 1.4; max-width: 50ch; text-wrap: balance;
}

/* ============================================================
   PEOPLE MOSAIC — "Quem senta à mesa"
   ============================================================ */
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { position: relative; overflow: hidden; border-radius: 4px; }
.tile.photo { aspect-ratio: 1/1; }
.tile.photo image-slot { width: 100%; height: 100%; transition: transform 1.1s var(--ease); }
.tile.photo:hover image-slot { transform: scale(1.06); }
.tile.photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(5,7,11,0.55) 100%);
}
.tile.photo .ph-cap {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--silver);
}
.tile.info {
  aspect-ratio: 1/1;
  background:
    linear-gradient(155deg, rgba(212,175,55,0.10) 0%, rgba(212,175,55,0.015) 55%),
    var(--ink-2);
  border: 1px solid var(--ink-line-soft);
  padding: clamp(20px, 2.4vw, 30px);
  display: flex; flex-direction: column; justify-content: space-between;
}
.tile.info .tag { font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.tile.info .name { font-family: var(--sans); font-size: clamp(18px, 1.7vw, 23px); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }
.tile.info .role { font-size: 14px; color: var(--grey); font-weight: 300; line-height: 1.5; margin-top: 10px; }
.tile.info.solid {
  background: linear-gradient(155deg, rgba(212,175,55,0.16), rgba(212,175,55,0.05)), var(--ink-2);
  border-color: rgba(212,175,55,0.22);
}

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band { background: var(--ink-1); border-block: 1px solid var(--ink-line-soft); position: relative; }
.stats-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 120% at 50% 0%, rgba(212,175,55,0.06), transparent 70%);
}
.stats-band .wrap { position: relative; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--ink-line-soft); border-radius: 6px; overflow: hidden;
}
.stats-grid .cell {
  padding: clamp(28px, 4vh, 44px) 20px; text-align: center;
  border-right: 1px solid var(--ink-line-soft);
}
.stats-grid .cell:last-child { border-right: none; }
.stats-grid .n { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 46px); font-weight: 500; color: var(--gold); line-height: 1; }
.stats-grid .l { margin-top: 12px; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey); }
.stats-support { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: clamp(32px, 5vh, 56px); }
.stats-support .s h4 { font-family: var(--sans); font-size: 16px; font-weight: 500; margin: 0 0 8px; color: var(--white); }
.stats-support .s p { margin: 0; font-size: 14.5px; color: var(--grey); font-weight: 300; line-height: 1.55; }

/* ============================================================
   OUTCOMES grid
   ============================================================ */
.out-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ink-line-soft); border: 1px solid var(--ink-line-soft); border-radius: 8px; overflow: hidden; }
.out-card { background: var(--ink-0); padding: clamp(28px, 3vw, 40px); transition: background 0.3s var(--ease); }
.out-card:hover { background: var(--ink-1); }
.out-card .ic { color: var(--gold); width: 26px; height: 26px; margin-bottom: 22px; }
.out-card .ic svg { width: 100%; height: 100%; stroke: currentColor; stroke-width: 1.6; fill: none; }
.out-card h3 { font-family: var(--sans); font-size: clamp(17px, 1.6vw, 20px); font-weight: 600; margin: 0 0 10px; line-height: 1.18; letter-spacing: -0.01em; }
.out-card p { margin: 0; font-size: 15px; color: var(--grey); font-weight: 300; line-height: 1.6; }

/* ============================================================
   PROGRAM (agenda timeline)
   ============================================================ */
.program { background: var(--ink-1); border-top: 1px solid var(--ink-line-soft); }
.prog-list { border-top: 1px solid var(--ink-line-soft); }
.prog-row {
  display: grid; grid-template-columns: 96px 130px 1fr; gap: 18px; align-items: baseline;
  padding-block: clamp(20px, 2.6vh, 30px); border-bottom: 1px solid var(--ink-line-soft);
  transition: background 0.3s var(--ease); padding-inline: 6px;
}
.prog-row:hover { background: rgba(212,175,55,0.03); }
.prog-row .time { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--gold); letter-spacing: 0.02em; }
.prog-row .ph { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey-dim); }
.prog-row .what { }
.prog-row .what .t { font-family: var(--sans); font-size: clamp(16px, 1.5vw, 19px); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.prog-row .what .by { font-size: 13.5px; color: var(--grey); font-weight: 300; margin-top: 5px; }
.prog-note { margin-top: 22px; font-size: 12.5px; color: var(--grey-dim); letter-spacing: 0.02em; }

/* ============================================================
   GALLERY — "Como foi a última edição"
   ============================================================ */
.gallery { background: var(--ink-0); border-top: 1px solid var(--ink-line-soft); }
.gal-grid .g-main, .gal-grid .g-tall { overflow: hidden; border-radius: 4px; }
.gal-grid image-slot, .gal-bottom image-slot { transition: transform 1.1s var(--ease); }
.gal-grid .g-main:hover image-slot, .gal-grid .g-tall:hover image-slot { transform: scale(1.05); }
.gal-bottom > .gw { overflow: hidden; border-radius: 4px; }
.gal-bottom > .gw:hover image-slot { transform: scale(1.05); }

/* ---- staggered children reveal ---- */
.reveal.stagger { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(1) { transition-delay: 0.04s; }
.stagger.in > *:nth-child(2) { transition-delay: 0.10s; }
.stagger.in > *:nth-child(3) { transition-delay: 0.16s; }
.stagger.in > *:nth-child(4) { transition-delay: 0.22s; }
.stagger.in > *:nth-child(5) { transition-delay: 0.28s; }
.stagger.in > *:nth-child(6) { transition-delay: 0.34s; }
.stagger.in > *:nth-child(7) { transition-delay: 0.40s; }
.stagger.in > *:nth-child(8) { transition-delay: 0.46s; }
.stagger.in > *:nth-child(9) { transition-delay: 0.52s; }
@media (prefers-reduced-motion: reduce) {
  .stagger > * { opacity: 1; transform: none; transition: none; }
}
.gal-grid {
  display: grid; grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto; gap: 14px;
}
.gal-grid .g-main { grid-row: 1 / 3; }
.gal-grid .g-main image-slot { width: 100%; aspect-ratio: 4/3.4; height: 100%; }
.gal-grid .g-tall image-slot { width: 100%; aspect-ratio: 3/4; }
.gal-bottom { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.gal-bottom image-slot { width: 100%; aspect-ratio: 4/3; }

/* ============================================================
   INCLUDED checklist
   ============================================================ */
.included { background: var(--ink-1); border-top: 1px solid var(--ink-line-soft); }
.inc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(40px, 6vw, 90px); }
.inc-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding-block: 20px; border-bottom: 1px solid var(--ink-line-soft);
}
.inc-item .ic { color: var(--gold); width: 20px; height: 20px; flex: none; margin-top: 2px; }
.inc-item .ic svg { width: 100%; height: 100%; stroke: currentColor; stroke-width: 1.6; fill: none; }
.inc-item span { font-size: 16px; color: var(--silver); font-weight: 300; line-height: 1.45; }
.inc-local { margin-top: 30px; }
.inc-local .ey { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.inc-local .addr { margin-top: 10px; font-size: 16px; color: var(--silver); font-weight: 300; }

/* ============================================================
   AUDIENCE — é / não é para você
   ============================================================ */
.audience { background: var(--ink-0); border-top: 1px solid var(--ink-line-soft); }
.aud-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.aud-col h3 { font-family: var(--sans); font-size: 21px; font-weight: 600; margin: 0 0 22px; letter-spacing: 0.005em; }
.aud-col h3.no { color: var(--grey); }
.aud-line { display: flex; gap: 14px; align-items: flex-start; padding-block: 15px; border-bottom: 1px solid var(--ink-line-soft); }
.aud-line .mk { color: var(--gold); flex: none; font-size: 15px; line-height: 1.5; }
.aud-line.no .mk { color: var(--grey-dim); }
.aud-line .tx { font-size: 17.5px; color: var(--silver); font-weight: 300; line-height: 1.5; }
.aud-line.no .tx { color: var(--grey); }

/* ============================================================
   PRICING / INVESTIMENTO
   ============================================================ */
.pricing { position: relative; background: var(--ink-1); border-top: 1px solid var(--ink-line-soft); overflow: hidden; }
.pricing::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 60% at 50% 8%, rgba(212,175,55,0.10), transparent 70%); }
.pricing .wrap { position: relative; }
.price-card {
  max-width: 540px; margin: 0 auto; text-align: center;
  background: var(--ink-0); border: 1px solid rgba(212,175,55,0.28);
  border-radius: 16px; padding: clamp(36px, 5vw, 56px);
}
.price-card .date-row { display: inline-flex; align-items: baseline; gap: 12px; }
.price-card .date { font-family: var(--serif); font-size: clamp(34px, 5vw, 56px); font-weight: 500; line-height: 1; }
.price-card .date small { font-family: var(--sans); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey); }
.price-card .where { margin-top: 12px; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.price-card .rule { height: 1px; background: var(--ink-line-soft); margin: 30px 0; }
.price-card .amt-ey { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--grey); }
.price-card .amt { font-family: var(--serif); font-size: clamp(46px, 7vw, 78px); font-weight: 500; line-height: 1; margin-top: 8px; }
.price-card .amt .cur { font-size: 0.42em; color: var(--gold); vertical-align: super; margin-right: 4px; }
.price-card .amt-note { margin-top: 10px; font-size: 13px; color: var(--grey); font-weight: 300; }
.price-card .cta-primary { margin-top: 30px; }
.price-card .guarantee { margin-top: 22px; font-size: 12.5px; color: var(--grey-dim); line-height: 1.5; }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq { background: var(--ink-0); border-top: 1px solid var(--ink-line-soft); }
.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--ink-line-soft); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: clamp(20px, 2.6vh, 28px) 4px;
  font-family: var(--sans); font-size: clamp(16px, 1.5vw, 19px); font-weight: 500; color: var(--white);
}
.faq-q .pm { color: var(--gold); font-size: 24px; font-weight: 300; transition: transform 0.4s var(--ease); flex: none; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq-a .inner { padding: 0 4px clamp(22px, 3vh, 30px); color: var(--grey); font-weight: 300; font-size: 16px; line-height: 1.65; max-width: 64ch; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final { position: relative; text-align: center; overflow: hidden; background: var(--ink-0); }
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 60%, rgba(212,175,55,0.10), transparent 72%); }
.final .wrap { position: relative; }
.final h2 {
  font-family: var(--serif); font-size: clamp(32px, 4.8vw, 68px); font-weight: 500;
  line-height: 1.08; letter-spacing: -0.016em; margin: 0; text-wrap: balance;
}
.final p { margin: 30px auto 0; max-width: 44ch; color: var(--silver); font-weight: 300; font-size: clamp(16px,1.6vw,20px); line-height: 1.6; }
.final .cta-primary { margin-top: 42px; }
.final .micro { margin-top: 22px; font-size: 13px; color: var(--grey-dim); }

/* ============================================================
   FOOTER (expanded)
   ============================================================ */
.footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(30px, 5vw, 70px); }
.footer .col h5 { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey-dim); margin: 0 0 18px; }
.footer .col a { display: block; font-size: 14px; color: var(--grey); margin-bottom: 12px; transition: color 0.25s var(--ease); }
.footer .col a:hover { color: var(--gold); }
.footer .botbar {
  margin-top: clamp(40px, 6vh, 70px); padding-top: 26px; border-top: 1px solid var(--ink-line-soft);
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: 11.5px; letter-spacing: 0.06em; color: var(--grey-dim);
}
.footer .botbar .where { color: var(--grey); }
.footer .botbar .where .dot { color: var(--gold); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .cell:nth-child(2) { border-right: none; }
  .stats-grid .cell:nth-child(1), .stats-grid .cell:nth-child(2) { border-bottom: 1px solid var(--ink-line-soft); }
  .stats-support { grid-template-columns: 1fr; gap: 24px; }
  .out-grid { grid-template-columns: 1fr; }
  .prog-row { grid-template-columns: 70px 1fr; }
  .prog-row .ph { display: none; }
  .gal-grid { grid-template-columns: 1fr; }
  .gal-grid .g-main { grid-row: auto; }
  .gal-grid .g-main image-slot { aspect-ratio: 4/3; }
  .gal-bottom { grid-template-columns: 1fr 1fr; }
  .inc-grid { grid-template-columns: 1fr; }
  .aud-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .mosaic { grid-template-columns: 1fr; }
  .tile.photo, .tile.info { aspect-ratio: 16/10; }
  .gal-bottom { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr; }
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(5,7,11,0.72); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal {
  position: relative; width: 100%; max-width: 580px;
  max-height: 90vh; overflow-y: auto;
  background: var(--ink-1); border: 1px solid rgba(212,175,55,0.22);
  border-radius: 16px; padding: clamp(30px, 4vw, 48px);
  transform: translateY(16px) scale(0.985); transition: transform 0.45s var(--ease);
}
.modal-backdrop.open .modal { transform: none; }
.modal-close {
  position: absolute; top: 16px; right: 18px;
  background: none; border: none; color: var(--grey); font-size: 30px; line-height: 1;
  cursor: pointer; transition: color 0.25s var(--ease); font-weight: 300;
}
.modal-close:hover { color: var(--gold); }
.modal h3 { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); font-weight: 500; margin: 16px 0 0; line-height: 1.1; }
.modal .modal-sub { margin: 14px 0 28px; color: var(--grey); font-weight: 300; font-size: 15px; line-height: 1.55; }
.modal .form { max-width: none; }
