/* ============================================
   ACERTO ODONTOLOGIA — style.css
   Refined · Clean · Professional
   ============================================ */

/* ── Variables ── */
:root {
  --teal:       #159d92;
  --teal-dk:    #08746d;
  --teal-lt:    #72d4ca;
  --teal-mist:  #e8f7f5;

  --ink:        #101817;
  --ink-70:     #39413f;
  --ink-40:     #7a8380;
  --ink-15:     #dfe6e3;
  --ink-05:     #f3f6f5;

  --white:      #ffffff;
  --warm-bg:    #f7f9f8;

  --serif:  'Sora', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sans:   'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --nav-h: 72px;
  --max:   1200px;
  --r:     8px;
  --shadow-soft: 0 18px 54px rgba(16,24,23,.08);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink-70);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font-family: var(--sans); cursor: pointer; border: none; background: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Pages ── */
.page { display: none; }
.page.active { display: block; }


/* ════════════════════════════════
   NAV
   ════════════════════════════════ */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h);
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--ink-15);
  backdrop-filter: blur(16px);
  transition: background .28s ease, border-color .28s ease, box-shadow .28s ease, backdrop-filter .28s ease;
}
#nav.scrolled { box-shadow: 0 1px 24px rgba(0,0,0,.07); }
#nav.nav-over-hero {
  background: rgba(255,255,255,0);
  border-bottom-color: rgba(255,255,255,0);
  backdrop-filter: blur(0);
  box-shadow: none;
}
#nav.nav-over-hero .nav-links button:not(.nav-cta) {
  color: rgba(255,255,255,.82);
  text-shadow: 0 1px 18px rgba(0,0,0,.35);
}
#nav.nav-over-hero .nav-links button:not(.nav-cta):hover,
#nav.nav-over-hero .nav-links button.nav-active {
  color: var(--white) !important;
}
#nav.nav-over-hero .burger span {
  background: var(--white);
}
#nav.nav-over-hero .nav-logo img {
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.28));
}

.nav-inner {
  max-width: var(--max); margin: 0 auto;
  height: 100%; padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { background: none; border: none; cursor: pointer; padding: 0; }
.nav-logo img { height: auto; max-height: 58px; width: auto; object-fit: contain; }

.nav-links { display: flex; align-items: center; gap: 1.45rem; list-style: none; }
.nav-links button {
  font-size: .73rem; font-weight: 700;
  letter-spacing: .11em; text-transform: uppercase;
  color: var(--ink-40);
  transition: color .2s;
  padding: 0;
}
.nav-links button:hover { color: var(--teal); }

.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: .58rem 1.25rem !important;
  border-radius: var(--r) !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--teal-dk) !important; }
.nav-cta--student {
  background: linear-gradient(135deg, var(--ink), var(--teal-dk)) !important;
  box-shadow: 0 10px 24px rgba(8,116,109,.14);
}

.burger {
  display: none; flex-direction: column; gap: 5px;
  padding: 4px;
}
.burger span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: all .28s; }
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* ════════════════════════════════
   BUTTONS
   ════════════════════════════════ */
.btn-primary {
  display: inline-block; background: linear-gradient(135deg, var(--teal), #21b86d); color: var(--white);
  padding: .9rem 1.5rem; font-size: .76rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; border-radius: var(--r);
  box-shadow: 0 12px 26px rgba(21,157,146,.16);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-primary:hover { background: linear-gradient(135deg, var(--teal-dk), #159d92); transform: translateY(-1px); box-shadow: 0 16px 34px rgba(21,157,146,.22); }
.btn-cta {
  padding-inline: 1.85rem;
  box-shadow: 0 18px 42px rgba(33,184,109,.22);
}

.btn-outline {
  display: inline-block; background: transparent; color: var(--ink-70);
  border: 1.5px solid var(--ink-15); padding: .9rem 1.5rem;
  font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  border-radius: var(--r); transition: border-color .2s, color .2s;
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }

.btn-outline-white {
  display: inline-block; background: transparent; color: rgba(255,255,255,.85);
  border: 1.5px solid rgba(255,255,255,.35); padding: .9rem 1.5rem;
  font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  border-radius: var(--r); transition: border-color .2s, background .2s;
}
.btn-outline-white:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); }

.btn-text {
  font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); padding: 0; background: none; border: none;
  transition: letter-spacing .2s;
}
.btn-text:hover { letter-spacing: .15em; }

.btn-block { width: 100%; text-align: center; display: block; }


/* ════════════════════════════════
   LAYOUT HELPERS
   ════════════════════════════════ */
.section {
  padding: 7rem 5%;
  max-width: var(--max); margin: 0 auto;
}
.section-bg {
  background: var(--warm-bg);
  max-width: 100%;
  padding: 7rem 5%;
}
.section-bg > * {
  max-width: var(--max); margin-left: auto; margin-right: auto;
}

.section-eyebrow {
  display: block;
  font-size: .66rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
  color: var(--teal); margin-bottom: .9rem;
}
.section-eyebrow.light { color: var(--teal-lt); }

h2 {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 2.8vw, 2.75rem);
  font-weight: 600; color: var(--ink); line-height: 1.15;
  letter-spacing: -.02em;
}

.section-header-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 3.5rem; flex-wrap: wrap; gap: 1rem;
}


/* ════════════════════════════════
   HERO
   ════════════════════════════════ */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex; align-items: center; justify-content: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0; z-index: 0;
}
.hero-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(20,20,18,.88) 0%,
    rgba(20,20,18,.70) 55%,
    rgba(20,20,18,.35) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 5%; max-width: 760px;
  margin: 0 auto;
}
.hero-content--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-tag {
  font-size: .7rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255,255,255,.76); margin-bottom: 1.8rem;
  display: flex; align-items: center; gap: .9rem;
}
.hero-tag::before {
  content: ''; display: block; width: 34px; height: 1px; background: var(--teal-lt);
}
.hero-tag::after {
  content: ''; display: block; width: 34px; height: 1px; background: var(--teal-lt);
}
.hero-brand-logo {
  width: min(430px, 76vw);
  height: auto;
  margin-bottom: 1.4rem;
  filter: drop-shadow(0 26px 58px rgba(0,0,0,.42));
}
.hero-guide-logo {
  width: min(470px, 78vw);
  height: auto;
  margin-bottom: 1.4rem;
  filter: drop-shadow(0 28px 62px rgba(0,0,0,.5));
}
.hero p {
  font-size: 1.02rem; color: rgba(255,255,255,.76);
  line-height: 1.85; max-width: 620px;
  margin-bottom: 2rem; font-weight: 500;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.hero-scroll-hint {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center;
}
.scroll-line {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.35));
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { transform: scaleY(1); opacity: .4; }
  50% { transform: scaleY(.6); opacity: 1; }
}


/* ════════════════════════════════
   INTRO SECTION (HOME)
   ════════════════════════════════ */
.intro-section {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center;
}
.intro-text h2 { margin-bottom: 1.2rem; }
.intro-text p {
  font-size: .95rem; color: var(--ink-40);
  line-height: 1.85; margin-bottom: 2rem; font-weight: 300;
}
.intro-pillars { display: flex; flex-direction: column; gap: 2rem; }
.pillar-item { padding-left: 1rem; }
.pillar-bar { width: 24px; height: 2px; background: var(--teal); margin-bottom: .8rem; }
.pillar-item h4 {
  font-size: .88rem; font-weight: 600; color: var(--ink);
  margin-bottom: .35rem; letter-spacing: .01em;
}
.pillar-item p { font-size: .84rem; color: var(--ink-40); line-height: 1.65; font-weight: 300; }


/* ════════════════════════════════
   SOCIOS
   ════════════════════════════════ */
.socios-section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

.qs-socios { padding-top: 6rem; }
.socios-head {
  max-width: 760px;
  margin-bottom: 3rem;
}
.socios-head h2 { margin-bottom: 1rem; }
.socios-head p {
  font-size: .98rem;
  color: var(--ink-40);
  line-height: 1.8;
  font-weight: 400;
}

.socios-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.socio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  background: var(--white);
  border: 1px solid rgba(16,24,23,.1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 58px rgba(16,24,23,.07);
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.socio-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-lt));
  z-index: 2;
}
.socio-card:hover {
  border-color: rgba(21,157,146,.26);
  box-shadow: 0 24px 72px rgba(16,24,23,.11);
  transform: translateY(-3px);
}

.socio-img-wrap {
  width: 100%; overflow: hidden;
  min-height: 420px;
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
  background:
    radial-gradient(circle at 50% 28%, rgba(114,212,202,.18), transparent 38%),
    linear-gradient(180deg, #ffffff, #f3f7f6);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.socio-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 18px 34px rgba(16,24,23,.08));
}

.socio-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.socio-role {
  font-size: .63rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--teal); margin-bottom: .75rem;
}
.socio-body h3 {
  font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 700; color: var(--ink); line-height: 1.08;
  margin-bottom: .95rem;
}
.socio-intro {
  font-size: .88rem;
  color: var(--ink-40);
  line-height: 1.72;
  margin-bottom: 1.35rem;
  font-weight: 400;
}
.socio-body ul {
  list-style: none;
  margin-top: auto;
  padding-top: 1.15rem;
  border-top: 1px solid var(--ink-15);
}
.socio-body ul li {
  font-size: .82rem; color: var(--ink-70); font-weight: 500;
  padding: .54rem 0; border-bottom: 1px solid var(--ink-05);
  display: flex; align-items: center; gap: .65rem;
}
.socio-body ul li:last-child { border-bottom: none; padding-bottom: 0; }
.socio-body ul li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); flex-shrink: 0;
  box-shadow: 0 0 0 4px var(--teal-mist);
}


/* ════════════════════════════════
   CURSOS CATS (HOME)
   ════════════════════════════════ */
.cats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.cat-card {
  background: var(--white); border: 1px solid var(--ink-15);
  border-radius: 6px; padding: 2.5rem 2rem;
  cursor: pointer; position: relative; overflow: hidden;
  transition: border-color .22s, box-shadow .22s, transform .22s;
}
.cat-card::after {
  content: ''; position: absolute; left: 0; bottom: 0; right: 0;
  height: 2px; background: var(--teal);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.cat-card:hover {
  border-color: var(--ink-15);
  box-shadow: 0 12px 40px rgba(74,173,160,.1);
  transform: translateY(-3px);
}
.cat-card:hover::after { transform: scaleX(1); }

.cat-number {
  font-family: var(--serif); font-size: 3.5rem;
  font-weight: 300; color: var(--ink-15);
  line-height: 1; margin-bottom: 1.4rem;
}
.cat-line { width: 24px; height: 2px; background: var(--teal); margin-bottom: 1.2rem; }
.cat-card h3 {
  font-family: var(--serif); font-size: 1.35rem;
  font-weight: 500; color: var(--ink); margin-bottom: .6rem;
}
.cat-card p { font-size: .84rem; color: var(--ink-40); line-height: 1.7; font-weight: 300; }
.cat-arrow {
  display: block; margin-top: 1.5rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal);
}


/* ════════════════════════════════
   CTA PACIENTE BANNER
   ════════════════════════════════ */
.paciente-cta {
  background: var(--ink); padding: 7rem 5%;
}
.paciente-cta-inner {
  max-width: 580px; margin: 0 auto; text-align: center;
}
.paciente-cta h2 { color: var(--white); margin: .5rem 0 1.1rem; }
.paciente-cta p {
  font-size: .93rem; color: rgba(255,255,255,.5);
  line-height: 1.8; margin-bottom: 2.2rem; font-weight: 300;
}


/* ════════════════════════════════
   PAGE BANNERS
   ════════════════════════════════ */
.page-banner {
  padding: calc(var(--nav-h) + 4rem) 5% 4rem;
}
.page-banner--dark  { background: var(--ink); }
.page-banner--light { background: var(--warm-bg); border-bottom: 1px solid var(--ink-15); }
.page-banner--teal  { background: linear-gradient(130deg, var(--teal-dk), var(--teal)); }
.page-banner--hero {
  position: relative;
  min-height: min(680px, 78svh);
  padding: calc(var(--nav-h) + 7rem) 5% 6rem;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  border-bottom: 0;
}
.page-banner--hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--banner-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}
.page-banner--hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 76% 20%, rgba(114,212,202,.16), transparent 36%),
    linear-gradient(92deg, rgba(16,24,23,.9) 0%, rgba(16,24,23,.72) 46%, rgba(16,24,23,.3) 100%),
    linear-gradient(to top, rgba(16,24,23,.82), rgba(16,24,23,.12));
}
.page-banner--hero .page-banner-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}
.page-banner--hero h1 {
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0;
  font-size: clamp(2.7rem, 6vw, 5.1rem);
  max-width: 760px;
}
.page-banner--hero p {
  color: rgba(255,255,255,.76);
  font-size: clamp(.98rem, 1.3vw, 1.08rem);
  line-height: 1.8;
  max-width: 570px;
  font-weight: 500;
}
.page-banner--hero .section-eyebrow {
  color: var(--teal-lt);
}
.subpage-slideshow {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.subpage-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.1s ease, transform 7s ease;
}
.subpage-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-dots.subpage-dots { display: none !important; }
.cursos-hero::before { display: none; }
.cursos-hero .subpage-slide:nth-child(1) { background-position: center 45%; }
.cursos-hero .subpage-slide:nth-child(2) { background-position: center 48%; }
.cursos-hero .subpage-slide:nth-child(3) { background-position: center 42%; }
.cursos-hero .subpage-slide:nth-child(4) { background-position: center 50%; }
.cursos-hero .subpage-slide:nth-child(5) { background-position: center 48%; }
.cursos-hero .subpage-slide:nth-child(6) { background-position: center 44%; }
.cursos-hero .subpage-slide:nth-child(7) { background-position: center 50%; }
.cursos-hero .subpage-slide:nth-child(8) { background-position: center 46%; }
.quem-hero::before { background-position: center 42%; }

.page-banner-inner { max-width: var(--max); margin: 0 auto; }

.page-banner--dark h1,
.page-banner--teal h1  { color: var(--white); }
.page-banner--light h1 { color: var(--ink); }

.page-banner h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 300; line-height: 1.15;
  margin: .4rem 0 .8rem;
}
.page-banner--dark p,
.page-banner--teal p { color: rgba(255,255,255,.55); font-size: .93rem; line-height: 1.7; font-weight: 300; }
.page-banner--light p { color: var(--ink-40); font-size: .93rem; line-height: 1.7; font-weight: 300; }


/* ════════════════════════════════
   TRAJETORIA (QUEM SOMOS)
   ════════════════════════════════ */
.trajetoria-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: start;
}
.trajetoria-text h2 { margin-bottom: 1.2rem; }
.trajetoria-text p {
  font-size: .93rem; color: var(--ink-40);
  line-height: 1.9; margin-bottom: 1.2rem; font-weight: 300;
}
.values-box {
  background: var(--teal); border-radius: 6px;
  padding: 2.2rem 2rem; margin-bottom: 1.5rem;
}
.values-box-title {
  font-size: .68rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(255,255,255,.65);
  margin-bottom: 1.2rem;
}
.values-list { list-style: none; }
.values-list li {
  font-size: .86rem; color: rgba(255,255,255,.88);
  padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; gap: .7rem; font-weight: 300;
}
.values-list li:last-child { border-bottom: none; }
.values-list li::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: var(--teal-lt); flex-shrink: 0;
}
.since-box {
  background: var(--warm-bg); border: 1px solid var(--ink-15);
  border-radius: 6px; padding: 1.5rem 2rem;
  display: flex; flex-direction: column; gap: .3rem;
}
.since-year {
  font-family: var(--serif); font-size: 3.5rem;
  font-weight: 300; color: var(--teal); line-height: 1;
}
.since-label {
  font-size: .68rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-40);
}

.cta-section { text-align: center; }
.cta-section h2 { margin-bottom: .8rem; }
.cta-section p { color: var(--ink-40); font-size: .93rem; margin-bottom: 2rem; font-weight: 300; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }


/* ════════════════════════════════
   FILTER ROW (CURSOS)
   ════════════════════════════════ */
.filter-row {
  position: sticky; top: var(--nav-h); z-index: 100;
  background: var(--white); border-bottom: 1px solid var(--ink-15);
  display: flex; padding: 0 5%; overflow-x: auto;
  max-width: 100%;
}
.f-btn {
  padding: 1.1rem 1.5rem;
  font-size: .76rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-40); white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.f-btn:hover { color: var(--teal); }
.f-btn.active { color: var(--teal); border-bottom-color: var(--teal); }


/* ════════════════════════════════
   CURSOS LIST (com imagem)
   ════════════════════════════════ */
.cursos-list {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem 5%;
}
.cursos-empty {
  grid-column: 1/-1;
  padding: 6rem 0; text-align: center;
  font-size: .93rem; color: var(--ink-40);
}

/* card com imagem */
.curso-item {
  background: var(--white);
  border: 1px solid var(--ink-15);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  display: flex; flex-direction: column;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.curso-item:hover {
  border-color: rgba(21,157,146,.28);
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

/* thumbnail */
.ci-thumb {
  width: 100%; aspect-ratio: 16/9;
  overflow: hidden; position: relative;
  background: var(--ink-05);
  flex-shrink: 0;
}
.ci-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.curso-item:hover .ci-thumb img { transform: scale(1.04); }

/* placeholder quando não há imagem */
.ci-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .65rem;
  background:
    linear-gradient(135deg, rgba(21,157,146,.1), rgba(255,255,255,.58)),
    radial-gradient(circle at 80% 20%, rgba(114,212,202,.32), transparent 34%),
    var(--ink-05);
}
.ci-thumb-placeholder svg {
  width: 38px; height: 38px; opacity: .55; color: var(--teal);
}
.ci-thumb-placeholder span,
.image-slot span {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-dk);
}

/* badge de categoria sobre a imagem */
.ci-badge {
  position: absolute; top: .9rem; left: .9rem;
  font-size: .6rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase;
  background: var(--white); color: var(--teal);
  padding: .28rem .7rem; border-radius: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

/* corpo do card */
.ci-body {
  padding: 1.7rem 1.75rem 1.85rem;
  display: flex; flex-direction: column; flex: 1;
}
.ci-title {
  font-family: var(--serif); font-size: 1.05rem;
  font-weight: 600; color: var(--ink); line-height: 1.32;
  margin-bottom: .6rem;
}
.ci-date-line {
  display: flex;
  align-items: center;
  gap: .58rem;
  margin-bottom: .85rem;
  padding: .65rem .78rem;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(8,116,109,.1), rgba(21,157,146,.07));
  border: 1px solid rgba(21,157,146,.16);
}
.ci-date-line strong {
  font-size: .74rem;
  line-height: 1.35;
  color: var(--teal-dk);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.ci-date-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 8px 18px rgba(21,157,146,.18);
}
.ci-date-icon::before,
.ci-date-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--white);
  border-radius: 999px;
  transform-origin: left center;
}
.ci-date-icon::before {
  width: 2px;
  height: 8px;
  transform: translate(-50%, -85%);
}
.ci-date-icon::after {
  width: 7px;
  height: 2px;
  transform: translate(-1px, -50%) rotate(42deg);
}
.ci-short {
  font-size: .83rem; color: var(--ink-40);
  line-height: 1.7; font-weight: 300; flex: 1;
}
.ci-meta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-top: 1.2rem; padding-top: 1.1rem;
  border-top: 1px solid var(--ink-05);
}
.ci-meta span {
  font-size: .7rem; color: var(--ink-40);
  display: flex; align-items: center; gap: .3rem;
}
.ci-meta span::before {
  content: ''; width: 3px; height: 3px; border-radius: 50%;
  background: var(--teal-lt); flex-shrink: 0;
}
.ci-link {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1.2rem;
  font-size: .7rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal);
}
.ci-link::after {
  content: '→'; transition: transform .2s;
}
.curso-item:hover .ci-link::after { transform: translateX(4px); }


/* ════════════════════════════════
   CURSO DETALHE (com imagem)
   ════════════════════════════════ */

/* hero com imagem de fundo */
.d-hero {
  position: relative; overflow: hidden;
  min-height: min(760px, 88svh);
  display: flex; align-items: flex-end;
  padding-top: var(--nav-h);
  background: var(--ink);
}
.d-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform: scale(1.02);
}
.d-hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 72% 18%, rgba(114,212,202,.22), transparent 34%),
    linear-gradient(90deg, rgba(16,24,23,.94) 0%, rgba(16,24,23,.76) 46%, rgba(16,24,23,.34) 100%),
    linear-gradient(to top, rgba(16,24,23,.98) 0%, rgba(16,24,23,.36) 76%);
}
/* fallback sem imagem */
.d-hero--no-img {
  background:
    linear-gradient(135deg, rgba(8,116,109,.9), rgba(16,24,23,.96)),
    radial-gradient(circle at 82% 18%, rgba(114,212,202,.28), transparent 36%);
  min-height: 320px;
}
.d-hero--no-img .d-hero-overlay { display: none; }

.d-hero-inner {
  position: relative; z-index: 1;
  max-width: var(--max); margin: 0 auto; width: 100%;
  padding: 3.2rem 5% 4.8rem;
}
.d-back {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 2.2rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
  padding: .48rem 1rem; border-radius: 999px;
  backdrop-filter: blur(14px);
  transition: background .2s, color .2s, transform .2s;
}
.d-back:hover { background: rgba(255,255,255,.17); color: rgba(255,255,255,.95); transform: translateX(-2px); }
.d-hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(2rem, 5vw, 5.2rem);
  align-items: end;
}
.d-hero-copy { max-width: 760px; }
.d-cat {
  font-size: .66rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--teal-lt);
  display: block; margin-bottom: .7rem;
}
.d-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.45rem, 5.2vw, 5rem);
  font-weight: 700; color: var(--white); line-height: .98; margin-bottom: 1.15rem;
  letter-spacing: 0;
  max-width: 920px;
}
.d-hero-sub {
  font-size: clamp(.98rem, 1.4vw, 1.08rem); color: rgba(255,255,255,.76);
  line-height: 1.85; font-weight: 400; max-width: 670px;
}
.d-hero-date {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  margin-top: 1.35rem;
  padding: .72rem 1rem;
  border-radius: 999px;
  background: rgba(21,157,146,.18);
  border: 1px solid rgba(114,212,202,.28);
  color: var(--white);
  backdrop-filter: blur(12px);
}
.d-hero-date span {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-lt);
}
.d-hero-date strong {
  font-size: .92rem;
  color: var(--white);
}
.d-hero-card {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  padding: 1.25rem;
  background: rgba(255,255,255,.12);
  box-shadow: 0 28px 74px rgba(0,0,0,.22);
  backdrop-filter: blur(18px);
}
.d-hero-card-row {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  padding: .9rem 0;
  border-bottom: 1px solid rgba(255,255,255,.13);
}
.d-hero-card-row:first-child { padding-top: .25rem; }
.d-hero-card-row span {
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255,255,255,.58);
}
.d-hero-card-row strong {
  color: var(--white);
  font-size: .86rem;
  text-align: right;
}
.d-hero-card .btn-primary {
  width: 100%;
  margin-top: 1.15rem;
  text-align: center;
}

/* galeria de imagens do curso (opcional) */
.d-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; margin-top: 2.2rem;
}
.d-gallery img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 16px 42px rgba(16,24,23,.08);
  transition: opacity .2s, transform .2s;
}
.d-gallery img:hover { opacity: .92; transform: translateY(-2px); }

.d-body {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem; padding: 5.6rem 5%;
  max-width: var(--max); margin: 0 auto; align-items: start;
}
.d-main h2 {
  font-size: clamp(1.5rem, 2.2vw, 2.05rem);
  margin-bottom: 1.1rem;
  line-height: 1.12;
  color: var(--ink);
}
.d-main p { font-size: .95rem; color: var(--ink-40); line-height: 1.92; font-weight: 500; }
.d-main h2 + h2 { margin-top: 2.5rem; }

.d-section {
  padding: clamp(1.45rem, 2.6vw, 2.35rem);
  margin-bottom: 1.35rem;
  border: 1px solid rgba(223,230,227,.86);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(247,249,248,.72)),
    var(--white);
  box-shadow: 0 20px 60px rgba(16,24,23,.055);
}
.d-section:last-child { margin-bottom: 0; }
.d-section--program {
  background:
    radial-gradient(circle at 100% 0%, rgba(114,212,202,.14), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(247,249,248,.88));
}

.course-cta {
  margin-top: 1.8rem;
  padding: 1.1rem 1.2rem;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(21,157,146,.12), rgba(33,184,109,.08)),
    var(--white);
  border: 1px solid rgba(21,157,146,.2);
  box-shadow: 0 18px 42px rgba(21,157,146,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.course-cta p {
  margin: 0;
  font-size: .86rem;
  line-height: 1.6;
  color: var(--ink-70);
}
.course-cta .btn-primary { flex-shrink: 0; }

.d-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.45rem;
}
.d-placeholder-card {
  min-height: 146px;
  padding: 1.35rem;
  border: 1px solid rgba(223,230,227,.96);
  border-radius: 14px;
  background: rgba(255,255,255,.76);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.66);
}
.d-placeholder-card h3 {
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: .65rem;
}
.d-placeholder-card p {
  font-size: .82rem;
  line-height: 1.65;
}

.image-slot {
  min-height: 280px;
  border: 1.5px dashed var(--ink-15);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(21,157,146,.09), rgba(255,255,255,.72)),
    radial-gradient(circle at 75% 25%, rgba(114,212,202,.26), transparent 34%),
    var(--ink-05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  color: var(--teal);
}
.image-slot svg { width: 52px; height: 52px; opacity: .58; }

.image-mock {
  width: 100%;
  height: 100%;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  background:
    linear-gradient(135deg, rgba(21,157,146,.08), rgba(255,255,255,.72)),
    var(--ink-05);
  color: var(--teal);
  text-align: center;
  padding: 1rem;
}
.image-mock svg { width: 34px; height: 34px; opacity: .5; }
.image-mock span {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-dk);
}

.d-summary-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  margin-top: 1.2rem;
}
.d-summary-list div {
  padding: 1.05rem;
  border: 1px solid rgba(223,230,227,.9);
  border-radius: 14px;
  background: rgba(255,255,255,.84);
  box-shadow: 0 14px 36px rgba(16,24,23,.045);
}
.d-summary-list span {
  display: block;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .35rem;
}
.d-summary-list strong {
  font-size: .86rem;
  color: var(--ink);
}

.module-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  list-style: none;
  margin-top: 1.25rem;
}
.module-list li {
  display: flex;
  gap: .78rem;
  align-items: flex-start;
  min-height: 62px;
  padding: 1.05rem 1.05rem;
  border: 1px solid rgba(223,230,227,.92);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(21,157,146,.07), rgba(255,255,255,.96)),
    var(--white);
  box-shadow: 0 14px 38px rgba(16,24,23,.05);
  font-size: .86rem;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.module-list li:hover {
  transform: translateY(-2px);
  border-color: rgba(21,157,146,.24);
  box-shadow: 0 20px 48px rgba(16,24,23,.075);
}
.program-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px var(--teal-mist);
  flex-shrink: 0;
  margin-top: .43rem;
}
.mod-t {
  font-weight: 650;
  color: var(--ink);
  line-height: 1.45;
  font-size: .86rem;
}

.d-sidebar {
  background:
    linear-gradient(150deg, rgba(16,24,23,.98), rgba(8,116,109,.92)),
    var(--ink);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px; padding: 1.45rem;
  position: sticky; top: calc(var(--nav-h) + 1rem);
  box-shadow: 0 24px 70px rgba(16,24,23,.16);
  color: var(--white);
  overflow: hidden;
}
.d-sidebar::before {
  content: "";
  position: absolute;
  inset: -40% -30% auto auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(114,212,202,.18);
  pointer-events: none;
}
.d-sidebar > * { position: relative; z-index: 1; }
.d-sidebar-title {
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: .55rem;
}
.d-sidebar-text {
  color: rgba(255,255,255,.68);
  font-size: .88rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.d-info {
  display: grid;
  gap: .7rem;
  margin-bottom: 1.2rem;
}
.d-info-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.d-info-row span:first-child {
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255,255,255,.48);
}
.d-info-row span:last-child {
  text-align: right;
  color: rgba(255,255,255,.88);
  font-size: .84rem;
  font-weight: 700;
}
.d-sidebar .btn-primary,
.d-sidebar .btn-outline {
  width: 100%;
  text-align: center;
}
.d-sidebar .btn-primary { margin-bottom: .75rem; }
.d-sidebar .btn-outline {
  color: rgba(255,255,255,.86);
  border-color: rgba(255,255,255,.22);
}
.d-sidebar .btn-outline:hover {
  color: var(--white);
  border-color: rgba(255,255,255,.46);
}
.d-info-row:last-child { border-bottom: none; }
.d-sidebar .btn-primary { width: 100%; text-align: center; display: block; }
.d-sidebar .btn-outline  { width: 100%; text-align: center; display: block; margin-top: .7rem; }


/* ════════════════════════════════
   CONTATO
   ════════════════════════════════ */
.contato-section {
  display: grid; grid-template-columns: 1fr 1.8fr;
  gap: 5rem; align-items: start;
}
.contato-info h2 { margin-bottom: 2.2rem; }
.contact-item { padding: 1rem 0; border-bottom: 1px solid var(--ink-15); }
.contact-item:first-of-type { border-top: 1px solid var(--ink-15); }
.contact-item-label {
  font-size: .66rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--teal); margin-bottom: .25rem;
}
.contact-item-val { font-size: .9rem; color: var(--ink-70); font-weight: 400; }
.contato-form-wrap h3 {
  font-family: var(--serif); font-size: 1.4rem;
  font-weight: 400; color: var(--ink); margin-bottom: 1.8rem;
}


/* ════════════════════════════════
   BENEFICIOS (PACIENTE)
   ════════════════════════════════ */
.beneficios-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 2rem; margin-top: 1.5rem;
}
.beneficio-item {
  padding-top: 1.6rem;
  border-top: 2px solid var(--ink-15);
  transition: border-color .22s;
}
.beneficio-item:hover { border-top-color: var(--teal); }
.bnum {
  font-family: var(--serif); font-size: 2.2rem;
  font-weight: 300; color: var(--teal-lt); line-height: 1; margin-bottom: .9rem;
}
.beneficio-item h4 { font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: .5rem; }
.beneficio-item p { font-size: .82rem; color: var(--ink-40); line-height: 1.72; font-weight: 300; }

.paciente-form-container { max-width: 760px; margin: 0 auto; }
.paciente-form-header h2 { margin-bottom: .7rem; }
.paciente-form-header p { color: var(--ink-40); font-size: .9rem; line-height: 1.7; font-weight: 300; }
.paciente-form-fields { margin-top: 2.5rem; }


/* ════════════════════════════════
   FORMS (shared)
   ════════════════════════════════ */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fg { margin-bottom: 1rem; }
.fg label {
  display: block; font-size: .7rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-70); margin-bottom: .38rem;
}
.fg input, .fg select, .fg textarea {
  width: 100%; padding: .7rem .95rem;
  border: 1.5px solid var(--ink-15); border-radius: var(--r);
  background: var(--white); font-family: var(--sans);
  font-size: .87rem; color: var(--ink); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(74,173,160,.1);
}
.fg textarea { height: 110px; resize: vertical; }
.form-ok {
  display: none; margin-top: 1rem; padding: .85rem 1.2rem;
  background: var(--teal-mist); border-left: 3px solid var(--teal);
  color: var(--teal-dk); font-size: .85rem; font-weight: 500;
  border-radius: 0 var(--r) var(--r) 0;
}


/* ════════════════════════════════
   FOOTER
   ════════════════════════════════ */
footer { background: var(--ink); }
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 5rem 5% 3.5rem;
  display: grid; grid-template-columns: 1.6fr 1fr;
  gap: 5rem;
}
.footer-brand img {
  height: auto; max-height: 38px; width: auto; margin-bottom: 1.2rem;
  filter: brightness(0) invert(1); opacity: .8;
}
.footer-brand > p {
  font-size: .82rem; color: rgba(255,255,255,.32);
  line-height: 1.75; font-weight: 300; max-width: 380px;
}
.footer-contacts {
  display: flex; flex-direction: column; gap: .4rem; margin-top: 1.4rem;
}
.footer-contacts span { font-size: .78rem; color: rgba(255,255,255,.28); font-weight: 300; }

.footer-nav { display: flex; gap: 4rem; }
.footer-col h5 {
  font-size: .66rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--teal-lt); margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .55rem; }
.footer-col ul li button {
  font-size: .82rem; color: rgba(255,255,255,.35);
  transition: color .2s; padding: 0; text-align: left;
}
.footer-col ul li button:hover { color: rgba(255,255,255,.75); }
.footer-bottom {
  max-width: var(--max); margin: 0 auto;
  padding: 1.2rem 5%;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: .73rem; color: rgba(255,255,255,.22);
}


/* ════════════════════════════════
   WHATSAPP FLOATING BUTTONS
   ════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  right: max(.65rem, calc((100vw - var(--max)) / 2 + .65rem));
  bottom: .65rem;
  z-index: 950;
  display: flex;
  flex-direction: column;
  gap: .38rem;
}
.whatsapp-btn {
  min-width: 166px;
  display: flex;
  align-items: center;
  gap: .52rem;
  padding: .52rem .64rem;
  border-radius: 9px;
  color: var(--white);
  background: #1fb45a;
  box-shadow: 0 12px 32px rgba(16,24,23,.16);
  border: 1px solid rgba(255,255,255,.18);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(16,24,23,.22);
}
.whatsapp-btn--aluno { background: linear-gradient(135deg, #159d92, #1fb45a); }
.whatsapp-btn--paciente { background: linear-gradient(135deg, #101817, #08746d); }
.whatsapp-icon {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  color: #21d366;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.14);
  border-radius: 50%;
}
.whatsapp-icon svg { width: 22px; height: 22px; }
.whatsapp-btn span:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}
.whatsapp-btn strong {
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.whatsapp-btn small {
  margin-top: .16rem;
  font-size: .6rem;
  font-weight: 500;
  color: rgba(255,255,255,.78);
}


/* ════════════════════════════════
   LIGHTBOX
   ════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem 5%;
  background: rgba(5,12,11,.9);
  backdrop-filter: blur(14px);
}
.lightbox.open { display: flex; }
.lightbox-frame {
  width: min(1120px, 100%);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
}
.lightbox-frame img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 90px rgba(0,0,0,.38);
  opacity: 1;
  transition: opacity .28s ease, transform .28s ease;
}
.lightbox-frame img.switching {
  opacity: 0;
  transform: scale(.985);
}
.lightbox-caption {
  color: rgba(255,255,255,.72);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-align: center;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(12px);
  transition: background .2s, transform .2s;
}
.lightbox-close {
  top: 1.2rem;
  right: 1.2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.7rem;
  line-height: 1;
}
.lightbox-nav {
  top: 50%;
  width: 48px;
  height: 64px;
  border-radius: 999px;
  font-size: 2.4rem;
  transform: translateY(-50%);
}
.lightbox-prev { left: 1.2rem; }
.lightbox-next { right: 1.2rem; }
.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255,255,255,.18);
}


/* ════════════════════════════════
   ANIMATIONS
   ════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page.active .hero-content { animation: fadeUp .8s ease both; }


/* ════════════════════════════════
   PRÓXIMOS CURSOS (HOME)
   ════════════════════════════════ */
.proximos-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.proximos-carousel {
  position: relative;
}
.proximos-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border: 1px solid var(--ink-15);
  color: var(--teal);
  font-size: 2rem;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 34px rgba(16,24,23,.1);
}
.proximos-arrow--prev { left: -1.1rem; }
.proximos-arrow--next { right: -1.1rem; }
.proximo-card {
  background: var(--white); border: 1px solid var(--ink-15);
  border-radius: 8px; overflow: hidden;
  transition: box-shadow .22s, transform .22s;
  cursor: pointer;
}
.proximo-card:hover {
  box-shadow: 0 12px 36px rgba(0,0,0,.09);
  transform: translateY(-3px);
}
.proximo-img {
  width: 100%; aspect-ratio: 16/9;
  overflow: hidden; position: relative;
  background: var(--ink-05); flex-shrink: 0;
}
.proximo-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.proximo-card:hover .proximo-img img { transform: scale(1.04); }
.proximo-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--ink-05) 0%, var(--teal-mist) 100%);
}
.proximo-img-placeholder svg { width: 36px; height: 36px; opacity: .2; color: var(--teal); }

.proximo-body { padding: 1.4rem 1.6rem 1.6rem; }
.proximo-date {
  font-size: .65rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--teal);
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: .6rem;
}
.proximo-date::before {
  content: ''; display: block;
  width: 16px; height: 1.5px; background: var(--teal);
}
.proximo-title {
  font-family: var(--serif); font-size: 1.1rem;
  font-weight: 500; color: var(--ink); line-height: 1.25;
  margin-bottom: .5rem;
}
.proximo-short { font-size: .82rem; color: var(--ink-40); line-height: 1.65; font-weight: 300; }
.proximo-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1.2rem; padding-top: 1rem;
  border-top: 1px solid var(--ink-05);
}
.proximo-vagas { font-size: .7rem; color: var(--ink-40); font-weight: 400; }
.proximo-link {
  font-size: .7rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--teal);
}

.proximos-empty {
  grid-column: 1 / -1;
  padding: 3rem 2rem; text-align: center;
  color: var(--ink-40); font-size: .9rem;
  background: var(--white); border: 1.5px dashed var(--ink-15);
  border-radius: 8px;
}
.proximos-empty span {
  display: block; font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: .5rem; font-weight: 600;
}


/* ════════════════════════════════
   CERTO GUIDE PAGE
   ════════════════════════════════ */
.guide-intro-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center;
}
.guide-intro-text h2 { margin-bottom: 1.2rem; }
.guide-intro-text p {
  font-size: .93rem; color: var(--ink-40);
  line-height: 1.85; margin-bottom: 1.2rem; font-weight: 300;
}
.guide-intro-text .btn-primary { margin-top: .8rem; }

.guide-intro-aside { }
.guide-img-placeholder {
  width: 100%; aspect-ratio: 4/3;
  border-radius: 8px; overflow: hidden;
  background: var(--ink-05);
  border: 1.5px dashed var(--ink-15);
}
.guide-img-mock {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .8rem;
}
.guide-img-mock svg { width: 48px; height: 48px; opacity: .18; color: var(--teal); }
.guide-img-mock span {
  font-size: .75rem; color: var(--ink-40); text-align: center;
  max-width: 200px; line-height: 1.5; font-weight: 300;
}
/* quando a imagem real for adicionada: */
.guide-intro-aside img {
  width: 100%; aspect-ratio: 4/3; object-fit: contain; border-radius: 8px;
  background: var(--ink-05);
}

.guide-servicos-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.guide-servico {
  padding-top: 1.6rem; border-top: 2px solid var(--ink-15);
  transition: border-color .22s;
}
.guide-servico:hover { border-top-color: var(--teal); }
.gs-num {
  font-family: var(--serif); font-size: 2rem;
  font-weight: 300; color: var(--teal-lt); line-height: 1; margin-bottom: .8rem;
}
.guide-servico h4 { font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: .5rem; }
.guide-servico p { font-size: .82rem; color: var(--ink-40); line-height: 1.7; font-weight: 300; }

/* galeria */
.guide-galeria {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(5vw, calc((100vw - var(--max)) / 2));
  padding: .4rem max(5vw, calc((100vw - var(--max)) / 2)) 1.35rem;
  margin-inline: calc(50% - 50vw);
  scrollbar-width: thin;
  scrollbar-color: var(--teal) var(--ink-05);
}
.guide-galeria::before,
.guide-galeria::after {
  content: "";
  flex: 0 0 max(.1rem, calc((100vw - min(1040px, 84vw)) / 2 - max(5vw, calc((100vw - var(--max)) / 2))));
}
.guide-galeria img {
  flex: 0 0 min(1040px, 84vw);
  width: min(1040px, 84vw);
  aspect-ratio: 16/9;
  object-fit: cover;
  scroll-snap-align: center;
  border-radius: 16px; transition: opacity .25s, transform .35s, box-shadow .35s;
  background: #0b1211;
  cursor: zoom-in;
  box-shadow: 0 28px 80px rgba(16,24,23,.16);
}
.guide-galeria img:hover { opacity: .96; transform: translateY(-3px); box-shadow: 0 28px 76px rgba(16,24,23,.15); }
.guide-galeria img[src*="certoguide-laboratorio-01"] {
  object-position: center 38%;
}
.guide-galeria img[src*="certoguide-laboratorio-02"] {
  object-position: center 44%;
}
.guide-galeria-placeholder {
  grid-column: 1 / -1;
  padding: 3rem 2rem; text-align: center;
  background: var(--ink-05); border: 1.5px dashed var(--ink-15);
  border-radius: 8px;
  font-size: .83rem; color: var(--ink-40); line-height: 1.8; font-weight: 300;
}

.guide-cta-section { text-align: center; }
.guide-cta-section h2 { margin-bottom: .8rem; }
.guide-cta-section p { color: var(--ink-40); font-size: .93rem; margin-bottom: 2rem; font-weight: 300; }

.guide-workflow-section {
  background:
    radial-gradient(circle at 90% 8%, rgba(114,212,202,.14), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,249,248,.72));
}

.guide-workflow {
  position: relative;
  display: grid;
  gap: 1rem;
  margin-top: 1.8rem;
}

.guide-workflow::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 1.4rem;
  bottom: 1.4rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(21,157,146,.55), rgba(21,157,146,.08));
}

.guide-flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.1rem;
  border: 1px solid rgba(223,230,227,.9);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(255,255,255,.82)),
    var(--white);
  box-shadow: 0 18px 54px rgba(16,24,23,.055);
}

.guide-flow-num {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(21,157,146,.14), rgba(114,212,202,.24)),
    var(--white);
  border: 1px solid rgba(21,157,146,.26);
  color: var(--teal-dk);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .12em;
}

.guide-flow-copy h3 {
  margin: .1rem 0 .45rem;
  color: var(--ink);
  font-size: clamp(1.02rem, 2vw, 1.25rem);
  line-height: 1.22;
}

.guide-flow-copy p {
  margin: 0;
  color: var(--ink-40);
  font-size: .9rem;
  line-height: 1.72;
  font-weight: 400;
}

@media (min-width: 860px) {
  .guide-workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }

  .guide-workflow::before {
    display: none;
  }

  .guide-flow-step {
    min-height: 190px;
    padding: 1.35rem;
  }

  .guide-flow-step:nth-child(5) {
    grid-column: 1 / -1;
    min-height: 150px;
  }
}


/* ════════════════════════════════
   RESPONSIVE
   ════════════════════════════════ */
@media (max-width: 1024px) {
  .cursos-list { grid-template-columns: repeat(2, 1fr); }
  .d-gallery { grid-template-columns: repeat(2, 1fr); }
  .beneficios-grid { grid-template-columns: repeat(2,1fr); }
  .cats-grid { grid-template-columns: 1fr 1fr; }
  .proximos-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-servicos-grid { grid-template-columns: repeat(2, 1fr); }
  .socios-grid { grid-template-columns: 1fr; }
  .socio-card { min-height: 360px; }
}

@media (max-width: 860px) {
  .intro-section { grid-template-columns: 1fr; gap: 3.5rem; }
  .trajetoria-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contato-section { grid-template-columns: 1fr; gap: 3rem; }
  .d-hero { min-height: auto; }
  .d-hero-inner { padding-top: 2.7rem; }
  .d-hero-content { grid-template-columns: 1fr; align-items: start; }
  .d-hero-card { max-width: 440px; }
  .d-body { grid-template-columns: 1fr; gap: 1.3rem; padding-top: 3.8rem; }
  .d-sidebar { position: static; }
  .d-placeholder-grid,
  .module-list,
  .d-summary-list { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-nav { gap: 2.5rem; }
  .guide-intro-grid { grid-template-columns: 1fr; gap: 3rem; }
  .guide-servicos-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  :root { --nav-h: 64px; }

  .nav-logo img { max-height: 50px; }

  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--white); padding: .6rem 0;
    border-bottom: 1px solid var(--ink-15);
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    z-index: 899;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links button { display: block; width: 100%; padding: .85rem 5%; font-size: .85rem; text-align: left; }
  .nav-cta { margin: .5rem 5%; display: block; }
  .burger { display: flex; }

  .hero {
    min-height: 78vh;
  }
  .page-banner--hero {
    min-height: 72svh;
    padding: calc(var(--nav-h) + 4.5rem) 5% 4rem;
  }
  .page-banner--hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.35rem);
  }
  .page-banner--hero p {
    font-size: .92rem;
    line-height: 1.72;
  }
  .quem-hero::before {
    background-position: 58% center;
  }
  .cursos-hero .subpage-slide {
    background-position: center;
  }
  .guide-hero {
    min-height: 78vh;
  }
  .hero-tag {
    font-size: .58rem;
    letter-spacing: .16em;
    gap: .55rem;
  }
  .hero-tag::before,
  .hero-tag::after {
    width: 18px;
  }
  .hero-brand-logo {
    width: min(330px, 82vw);
  }
  .hero-guide-logo {
    width: min(330px, 82vw);
  }
  .hero p {
    font-size: .92rem;
    line-height: 1.72;
  }
  .hero-btns { flex-direction: column; align-items: stretch; width: min(330px, 100%); }
  .hero-btns .btn-primary,
  .hero-btns .btn-outline-white { width: 100%; text-align: center; }
  .course-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .course-cta .btn-primary { width: 100%; text-align: center; }
  .d-hero-inner { padding: 2.1rem 5% 3rem; }
  .d-back { margin-bottom: 1.4rem; }
  .d-hero h1 { font-size: clamp(2.2rem, 12vw, 3.2rem); line-height: 1.02; }
  .d-hero-sub { font-size: .92rem; line-height: 1.72; }
  .d-hero-card { padding: 1.05rem; border-radius: 16px; }
  .d-body { padding: 3rem 5%; }
  .d-section { border-radius: 16px; }
  .cats-grid { grid-template-columns: 1fr; }
  .cursos-list { grid-template-columns: 1fr; padding: 2rem 5%; }
  .d-gallery { grid-template-columns: 1fr; }
  .proximos-grid { grid-template-columns: 1fr; }
  .proximos-carousel { padding: 0 2.2rem; }
  .proximos-arrow--prev { left: 0; }
  .proximos-arrow--next { right: 0; }
  .guide-servicos-grid { grid-template-columns: 1fr; }
  .guide-galeria img {
    flex-basis: 86vw;
    width: 86vw;
    aspect-ratio: 4/3;
  }
  .section, .section-bg { padding: 4.5rem 5%; }
  .form-row { grid-template-columns: 1fr; }
  .socio-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .socio-img-wrap {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
  }
  .socio-body { padding: 1.55rem; }
  .footer-nav { flex-direction: column; gap: 2rem; }
  .whatsapp-float {
    left: auto;
    right: .5rem;
    bottom: .55rem;
    flex-direction: column;
    gap: .35rem;
  }
  .whatsapp-btn {
    min-width: 142px;
    flex: none;
    justify-content: center;
    padding: .48rem .54rem;
  }
  .whatsapp-icon {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }
  .whatsapp-icon svg { width: 20px; height: 20px; }
  .whatsapp-btn strong { font-size: .6rem; }
  .whatsapp-btn small { display: none; }
  footer { padding-bottom: 4.8rem; }
  .lightbox {
    padding: 1.2rem;
  }
  .lightbox-nav {
    width: 42px;
    height: 54px;
    font-size: 2rem;
  }
  .lightbox-prev { left: .55rem; }
  .lightbox-next { right: .55rem; }
  .lightbox-close {
    top: .8rem;
    right: .8rem;
  }
  .hero-dots {
    right: 1rem;
    bottom: 1rem;
  }
  .guide-hero .hero-dots {
    right: 50%;
    bottom: 1.1rem;
  }
}

@media (max-width: 420px) {
  .beneficios-grid { grid-template-columns: 1fr; }
}


/* ════════════════════════════════
   NAV ACTIVE STATE
   ════════════════════════════════ */
.nav-links button.nav-active {
  color: var(--teal) !important;
}


/* ════════════════════════════════
   REVEAL ANIMATIONS (scroll)
   ════════════════════════════════ */

/* generic scroll-reveal elements */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
  transition-delay: calc(var(--rd, 0) * 1ms);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* hero staggered fade-up (triggers on page load) */
.reveal-hero {
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn .7s ease forwards;
  animation-delay: var(--d, 0ms);
}
@keyframes heroIn {
  to { opacity: 1; transform: none; }
}

/* image reveal — slides in from right */
.reveal-img {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: calc(var(--rd, 0) * 1ms);
}
.reveal-img.visible {
  opacity: 1;
  transform: none;
}


/* ════════════════════════════════
   HOME — QUEM SOMOS (breve)
   ════════════════════════════════ */
.home-quem-somos {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 6rem; align-items: center;
}
.hqs-text h2 { margin-bottom: 1.2rem; }
.hqs-text p {
  font-size: .93rem; color: var(--ink-40);
  line-height: 1.85; margin-bottom: 2rem; font-weight: 300;
}
.hqs-pillars { display: flex; flex-direction: column; gap: 1.8rem; }
.hqs-pillar { padding-left: 1rem; }
.hqs-pillar h4 {
  font-size: .87rem; font-weight: 600; color: var(--ink);
  margin-bottom: .3rem;
}
.hqs-pillar p { font-size: .83rem; color: var(--ink-40); line-height: 1.65; font-weight: 300; }


/* ════════════════════════════════
   HOME — CERTO GUIDE (breve)
   ════════════════════════════════ */
.home-guide { }
.hg-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.hg-text h2 { margin-bottom: 1.2rem; }
.hg-text p {
  font-size: .93rem; color: var(--ink-40);
  line-height: 1.85; margin-bottom: 2rem; font-weight: 300;
}
.hg-features {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: .6rem 1.2rem;
}
.hg-feat {
  display: flex; align-items: center; gap: .7rem;
  padding: .7rem .9rem;
  border: 1px solid var(--ink-15); border-radius: 4px;
  background: var(--white);
  font-size: .82rem; color: var(--ink-70); font-weight: 400;
  transition: border-color .2s, box-shadow .2s;
}
.hg-feat:hover {
  border-color: var(--teal-lt);
  box-shadow: 0 4px 16px rgba(74,173,160,.08);
}
.hg-feat-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); flex-shrink: 0;
}


/* ════════════════════════════════
   RESPONSIVE — new sections
   ════════════════════════════════ */
@media (max-width: 900px) {
  .home-quem-somos { grid-template-columns: 1fr; gap: 3rem; }
  .hg-inner { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 680px) {
  .hg-features { grid-template-columns: 1fr; }
  .hqs-pillars { gap: 1.2rem; }
}


/* ════════════════════════════════
   HERO SLIDESHOW
   ════════════════════════════════ */
.hero-slideshow {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(135deg, rgba(8,116,109,.45), rgba(16,24,23,.9)),
    var(--ink);
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.6s ease, transform 7s ease;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.guide-hero {
  min-height: 100svh;
  isolation: isolate;
}
.guide-hero .hero-slide {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 52%;
  overflow: hidden;
}
.guide-hero .hero-slide:nth-child(1) { background-position: center 48%; }
.guide-hero .hero-slide:nth-child(2) { background-position: center 54%; }
.guide-hero .hero-slide:nth-child(3) { background-position: center 50%; }
.guide-hero .hero-slide:nth-child(4) { background-position: center 52%; }
.guide-hero .hero-slide:nth-child(5) { background-position: center 50%; }
.guide-hero .hero-slide:nth-child(6) { background-position: center 56%; }
.guide-hero .hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 46%, rgba(21,157,146,.18), transparent 34%),
    linear-gradient(90deg, rgba(5,12,11,.7), rgba(5,12,11,.24) 42%, rgba(5,12,11,.7)),
    linear-gradient(180deg, rgba(5,12,11,.46), rgba(5,12,11,.18) 42%, rgba(5,12,11,.72));
  pointer-events: none;
}
.guide-hero .hero-slideshow {
  background:
    radial-gradient(circle at 50% 45%, rgba(21,157,146,.22), transparent 38%),
    #0b1211;
}
.guide-hero .hero-content {
  width: min(820px, 90vw);
  text-align: center;
  filter: drop-shadow(0 18px 42px rgba(0,0,0,.28));
}
.guide-hero .hero-guide-logo {
  width: min(520px, 72vw);
  max-height: 220px;
  object-fit: contain;
}
.guide-hero p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.guide-hero .hero-dots {
  bottom: 2rem;
  right: 50%;
  transform: translateX(50%);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
}

/* Video background */
.hero-video-wrap {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-video {
  width: 100%; height: 100%; object-fit: cover;
}

/* Overlay sits on top of slideshow or video */
.hero-slideshow .hero-overlay,
.hero-video-wrap .hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(16,24,23,.78) 0%,
    rgba(16,24,23,.58) 48%,
    rgba(16,24,23,.86) 100%
  );
}

/* Dots indicator */
.hero-dots {
  position: absolute; bottom: 1.3rem; right: max(1rem, calc((100vw - var(--max)) / 2 + 1rem));
  z-index: 3; display: flex; gap: .5rem;
  padding: .45rem .6rem;
  border-radius: 999px;
  background: rgba(16,24,23,.34);
  backdrop-filter: blur(10px);
}
.hero-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none; cursor: pointer; padding: 0;
  transition: background .3s, transform .3s;
}
.hero-dot.active {
  background: var(--teal-lt);
  transform: scale(1.4);
}


/* ════════════════════════════════
   NOSSA ESTRUTURA — carrossel premium
   ════════════════════════════════ */
.estrutura-intro {
  font-size: .95rem; color: var(--ink-40);
  line-height: 1.8; font-weight: 300;
  max-width: 680px; margin-bottom: 2.5rem;
}

.estrutura-grid {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(5vw, calc((100vw - var(--max)) / 2));
  padding: .35rem max(5vw, calc((100vw - var(--max)) / 2)) 1.35rem;
  margin-inline: calc(50% - 50vw);
  scrollbar-width: thin;
  scrollbar-color: var(--teal) rgba(16,24,23,.08);
}
.estrutura-grid::before,
.estrutura-grid::after {
  content: "";
  flex: 0 0 max(.1rem, calc((100vw - min(1040px, 84vw)) / 2 - max(5vw, calc((100vw - var(--max)) / 2))));
}

.eg-item {
  flex: 0 0 min(1040px, 84vw);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  background: #0b1211;
  position: relative;
  scroll-snap-align: center;
  box-shadow: 0 28px 80px rgba(16,24,23,.16);
  border: 1px solid rgba(16,24,23,.08);
}
.eg-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .75s ease, opacity .35s;
  display: block;
  background: var(--ink-05);
  cursor: zoom-in;
}
.eg-item:hover img { transform: scale(1.035); }
.eg-item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(5,12,11,.28));
}

/* fallback quando imagem não carrega */
.eg-item img[src=""],
.eg-item img:not([src]) {
  opacity: 0;
}


/* ════════════════════════════════
   RESPONSIVE additions
   ════════════════════════════════ */
@media (max-width: 860px) {
  .estrutura-grid {
    gap: .9rem;
    padding-bottom: 1rem;
  }
  .eg-item {
    flex-basis: 88vw;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
  }
}
@media (max-width: 540px) {
  .eg-item { flex-basis: 90vw; aspect-ratio: 4 / 3.4; }
}


/* ════════════════════════════════════════════════════
   SÓCIOS PREMIUM + CERTO GUIDE INTEGRADO
   ════════════════════════════════════════════════════ */

.socios-premium-section {
  position: relative;
  padding: 7rem 0 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(21,157,146,.06) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 100%, rgba(21,157,146,.05) 0%, transparent 55%),
    var(--warm-bg);
}

.sp-bg-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.sp-bg-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(21,157,146,.1);
}
.sp-bg-ring--1 { width: 600px; height: 600px; top: -200px; left: -150px; }
.sp-bg-ring--2 { width: 400px; height: 400px; bottom: 10%; right: -100px; }
.sp-bg-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(21,157,146,.08), transparent);
}
.sp-bg-line--h { left: 0; right: 0; height: 1px; top: 40%; }
.sp-bg-line--v {
  top: 0; bottom: 0; width: 1px; left: 50%;
  background: linear-gradient(180deg, transparent, rgba(21,157,146,.06), transparent);
}

.sp-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 max(5vw, calc((100vw - var(--max)) / 2));
}

.sp-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4.5rem;
}
.sp-header h2 { margin-bottom: .9rem; }
.sp-header p { font-size: .97rem; color: var(--ink-40); line-height: 1.8; }

.sp-grid { display: flex; flex-direction: column; gap: 3.5rem; }

.sp-card {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(21,157,146,.12);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 0 0 var(--teal), 0 24px 64px rgba(16,24,23,.07);
  transition: box-shadow .3s ease, transform .3s ease;
}
.sp-card:hover {
  box-shadow: 0 2px 0 0 var(--teal), 0 32px 80px rgba(21,157,146,.13);
  transform: translateY(-4px);
}

.sp-card-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  min-height: 480px;
}
.sp-card-inner--rev { grid-template-columns: 1fr 380px; }
.sp-card-inner--rev .sp-photo-col { order: 2; }
.sp-card-inner--rev .sp-text-col  { order: 1; }

.sp-photo-col {
  position: relative;
  background:
    radial-gradient(ellipse 80% 70% at 50% 20%, rgba(21,157,146,.12), transparent 60%),
    linear-gradient(160deg, #f0faf9 0%, #e8f7f5 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding: 2.5rem 2rem 0;
}

.sp-photo-wrap {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sp-photo-frame {
  position: relative;
  width: 100%;
  max-width: 290px;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 24px 56px rgba(16,24,23,.14);
}
.sp-photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .4s ease;
}
.sp-card:hover .sp-photo-frame img { transform: scale(1.03); }

.sp-photo-accent {
  position: absolute;
  width: 180px; height: 180px;
  border-radius: 50%;
  top: 10%; right: 5%;
  background: radial-gradient(circle, rgba(21,157,146,.18) 0%, transparent 70%);
  pointer-events: none;
}
.sp-photo-accent--alt {
  left: 5%; right: auto;
  background: radial-gradient(circle, rgba(114,212,202,.2) 0%, transparent 70%);
}

.sp-photo-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-dk);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(21,157,146,.2);
  border-radius: 50px;
  padding: .45rem 1rem;
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(21,157,146,.12);
}
.sp-photo-tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: sp-pulse 2s infinite;
}
@keyframes sp-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.4); }
}

.sp-text-col {
  padding: 2.75rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sp-role-badge {
  display: inline-block;
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-mist);
  border-radius: 4px;
  padding: .35rem .75rem;
  margin-bottom: 1rem;
}

.sp-name {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.08;
  margin-bottom: 1rem;
}

.sp-bio {
  font-size: .9rem;
  color: var(--ink-40);
  line-height: 1.78;
  margin-bottom: 1.75rem;
}

.sp-credentials { margin-bottom: 1.5rem; }

.sp-cred-title {
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: .75rem;
}

.sp-cred-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.sp-cred-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .84rem;
  font-weight: 500;
  color: var(--ink-70);
}
.sp-cred-list li svg { width: 16px; height: 16px; color: var(--teal); flex-shrink: 0; }

.sp-focus-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ink-15);
}
.sp-focus-chips span {
  font-size: .72rem;
  font-weight: 600;
  color: var(--teal-dk);
  background: rgba(21,157,146,.08);
  border: 1px solid rgba(21,157,146,.15);
  border-radius: 50px;
  padding: .3rem .8rem;
  letter-spacing: .04em;
  transition: background .2s, border-color .2s;
}
.sp-card:hover .sp-focus-chips span {
  background: rgba(21,157,146,.13);
  border-color: rgba(21,157,146,.28);
}

/* ── Bloco Certo Guide ── */
.sp-guide-block {
  margin-top: 5rem;
  padding: 4rem 0 5rem;
  border-top: 1px solid rgba(21,157,146,.15);
}

.sp-guide-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.sp-guide-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
.sp-guide-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.sp-guide-title {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.22;
  margin-bottom: .9rem;
}
.sp-guide-sub { font-size: .93rem; color: var(--ink-40); line-height: 1.75; }

.sp-guide-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.sp-svc-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--ink-15);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.sp-svc-card::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--teal-lt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.sp-svc-card:hover {
  border-color: rgba(21,157,146,.25);
  box-shadow: 0 12px 40px rgba(21,157,146,.1);
  transform: translateY(-3px);
}
.sp-svc-card:hover::after { transform: scaleX(1); }

.sp-svc-icon {
  width: 44px; height: 44px;
  background: var(--teal-mist);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}
.sp-svc-icon svg { width: 22px; height: 22px; }

.sp-svc-body { display: flex; flex-direction: column; gap: .4rem; }
.sp-svc-num {
  font-family: var(--serif);
  font-size: .72rem;
  font-weight: 300;
  color: var(--teal-lt);
  letter-spacing: .08em;
}
.sp-svc-body h4 { font-size: .9rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.sp-svc-body p  { font-size: .81rem; color: var(--ink-40); line-height: 1.72; font-weight: 400; }

.sp-guide-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Responsividade ── */
@media (max-width: 1024px) {
  .sp-card-inner,
  .sp-card-inner--rev { grid-template-columns: 300px 1fr; }
  .sp-guide-services   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .socios-premium-section { padding: 5rem 0 0; }
  .sp-card-inner,
  .sp-card-inner--rev { grid-template-columns: 1fr; min-height: 0; }
  .sp-card-inner--rev .sp-photo-col { order: 0; }
  .sp-card-inner--rev .sp-text-col  { order: 1; }
  .sp-photo-col { min-height: 340px; padding: 2rem 2rem 0; }
  .sp-photo-frame { max-width: 220px; }
  .sp-text-col { padding: 2rem 1.75rem; }
  .sp-guide-services { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
  .sp-header { margin-bottom: 3rem; }
  .sp-grid { gap: 2.5rem; }
  .sp-photo-col { min-height: 280px; }
  .sp-photo-frame { max-width: 190px; }
  .sp-text-col { padding: 1.75rem 1.25rem; }
  .sp-name { font-size: 1.6rem; }
  .sp-bio  { font-size: .86rem; }
  .sp-guide-block { margin-top: 3.5rem; padding: 3rem 0 4rem; }
  .sp-guide-services { grid-template-columns: 1fr; gap: 1rem; }
  .sp-svc-card { padding: 1.35rem 1.25rem; }
  .sp-guide-cta { flex-direction: column; }
  .sp-guide-cta .btn-primary,
  .sp-guide-cta .btn-outline { width: 100%; justify-content: center; }
}


/* ════════════════════════════════════════════════════
   MOBILE EXPERIENCE + COURSE VISUAL POLISH
   ════════════════════════════════════════════════════ */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

button,
.btn-primary,
.btn-outline,
.btn-outline-white,
.btn-text,
.f-btn,
.nav-links button,
.curso-item,
.proximo-card {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn-primary,
.btn-outline,
.btn-outline-white {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.curso-item,
.proximo-card,
.d-section,
.sp-card,
.sp-svc-card {
  content-visibility: auto;
  contain-intrinsic-size: 360px;
}

.curso-item {
  border-radius: 14px;
  box-shadow: 0 16px 46px rgba(16,24,23,.055);
}

.ci-thumb::after,
.proximo-img::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5,12,11,.02) 34%, rgba(5,12,11,.34) 100%),
    radial-gradient(circle at 15% 10%, rgba(114,212,202,.16), transparent 34%);
}

.ci-thumb img,
.proximo-img img,
.d-hero-img {
  image-rendering: auto;
}

.curso-item--especializacao-implantodontia .ci-thumb img,
.curso-item--imersao-implantodontia-cirurgica-digital .ci-thumb img {
  object-position: center 36%;
}

.curso-item--especializacao-protese .ci-thumb img,
.curso-item--atualizacao-protese-implante .ci-thumb img,
.curso-item--imersao-impressao-3d .ci-thumb img,
.curso-item--imersao-planejamento-reabilitador-digital .ci-thumb img {
  object-position: center 48%;
}

.curso-item--imersao-analgesia-inalatoria .ci-thumb img {
  object-position: center 42%;
}

.curso-item--imersao-maxilas-atroficas .ci-thumb img {
  object-position: center 52%;
}

.ci-badge {
  z-index: 2;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
}

.filter-row {
  scrollbar-width: none;
}
.filter-row::-webkit-scrollbar {
  display: none;
}

@media (max-width: 920px) {
  :root { --nav-h: 66px; }

  .nav-inner {
    padding-inline: clamp(14px, 4vw, 28px);
  }

  .nav-logo img {
    max-height: 48px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    max-height: calc(100svh - var(--nav-h));
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .55rem clamp(14px, 4vw, 28px) 1rem;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--ink-15);
    box-shadow: 0 22px 54px rgba(16,24,23,.12);
    backdrop-filter: blur(18px);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links button,
  #nav.nav-over-hero .nav-links button:not(.nav-cta) {
    width: 100%;
    min-height: 46px;
    padding: .82rem .25rem;
    color: var(--ink-70) !important;
    text-align: left;
    text-shadow: none;
    font-size: .8rem;
  }

  .nav-links .nav-cta {
    margin: .35rem 0;
    text-align: center;
    justify-content: center;
  }

  .burger {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }
}

@media (min-width: 681px) and (max-width: 1024px) {
  .section,
  .section-bg {
    padding: 5.5rem clamp(24px, 5vw, 56px);
  }

  .cursos-list {
    gap: 1.35rem;
    padding: 2rem clamp(24px, 5vw, 56px) 4rem;
  }

  .ci-body {
    padding: 1.35rem;
  }

  .ci-title {
    font-size: 1rem;
  }
}

@media (max-width: 680px) {
  :root {
    --nav-h: 64px;
  }

  body {
    font-size: 16px;
  }

  .section,
  .section-bg {
    padding: 3.8rem clamp(15px, 4.5vw, 22px);
  }

  .section-header-row {
    align-items: flex-start;
    margin-bottom: 2rem;
  }

  h2 {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
    line-height: 1.12;
  }

  .section-eyebrow {
    font-size: .6rem;
    letter-spacing: .18em;
    margin-bottom: .7rem;
  }

  .hero {
    min-height: 100svh;
    padding-inline: 0;
  }

  .hero-content {
    width: 100%;
    max-width: 360px;
    padding-inline: clamp(18px, 6vw, 28px);
  }

  .hero-tag {
    font-size: .54rem;
    letter-spacing: .12em;
    line-height: 1.45;
    margin-bottom: 1.15rem;
    max-width: 28ch;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
  }

  .hero-brand-logo,
  .hero-guide-logo {
    width: min(300px, 78vw);
    margin-bottom: 1rem;
  }

  .hero p,
  .page-banner--hero p {
    max-width: 34ch;
    font-size: .9rem;
    line-height: 1.68;
  }

  .hero-btns,
  .cta-btns,
  .sp-guide-cta {
    width: 100%;
    max-width: 360px;
    gap: .75rem;
  }

  .hero-btns .btn-primary,
  .hero-btns .btn-outline-white,
  .cta-btns .btn-primary,
  .cta-btns .btn-outline,
  .sp-guide-cta .btn-primary,
  .sp-guide-cta .btn-outline {
    width: 100%;
  }

  .page-banner--hero {
    min-height: 68svh;
    padding: calc(var(--nav-h) + 4rem) clamp(18px, 6vw, 28px) 3.6rem;
  }

  .page-banner--hero h1 {
    font-size: clamp(2.1rem, 12vw, 3.05rem);
    line-height: 1;
    max-width: 10ch;
  }

  .cursos-hero {
    min-height: 60svh;
  }

  .filter-row {
    top: var(--nav-h);
    gap: .45rem;
    padding: .62rem clamp(12px, 4vw, 18px);
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(14px);
  }

  .f-btn {
    flex: 0 0 auto;
    min-height: 38px;
    padding: .58rem .9rem;
    border: 1px solid var(--ink-15);
    border-radius: 999px;
    background: var(--white);
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .08em;
    box-shadow: 0 8px 22px rgba(16,24,23,.045);
  }

  .f-btn.active {
    border-color: rgba(21,157,146,.32);
    background: var(--teal-mist);
  }

  .cursos-list {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    padding: 1.15rem clamp(14px, 4vw, 18px) 4.5rem;
  }

  .curso-item {
    border-radius: 16px;
    box-shadow: 0 18px 52px rgba(16,24,23,.075);
  }

  .curso-item:hover {
    transform: none;
  }

  .ci-thumb {
    aspect-ratio: 4 / 3;
  }

  .ci-badge {
    top: .75rem;
    left: .75rem;
    padding: .34rem .7rem;
    font-size: .56rem;
    letter-spacing: .12em;
  }

  .ci-body {
    padding: 1.18rem 1.15rem 1.25rem;
  }

  .ci-title {
    font-size: 1.02rem;
    line-height: 1.26;
    margin-bottom: .75rem;
  }

  .ci-date-line {
    gap: .5rem;
    padding: .62rem .68rem;
    margin-bottom: .8rem;
    border-radius: 12px;
  }

  .ci-date-line strong {
    font-size: .67rem;
    line-height: 1.32;
  }

  .ci-short {
    font-size: .82rem;
    line-height: 1.6;
  }

  .ci-meta {
    gap: .45rem .8rem;
    margin-top: 1rem;
    padding-top: .95rem;
  }

  .ci-meta span {
    font-size: .68rem;
  }

  .ci-link {
    min-height: 38px;
    margin-top: .8rem;
    align-items: center;
    font-size: .68rem;
  }

  .d-hero {
    min-height: 78svh;
  }

  .d-hero-content,
  .d-hero-copy,
  .d-hero-card {
    min-width: 0;
    width: 100%;
    max-width: 360px;
  }

  .d-hero-overlay {
    background:
      radial-gradient(circle at 50% 8%, rgba(114,212,202,.2), transparent 38%),
      linear-gradient(180deg, rgba(16,24,23,.66) 0%, rgba(16,24,23,.9) 62%, rgba(16,24,23,.98) 100%);
  }

  .d-hero-img {
    object-position: center;
  }

  .d-hero-inner {
    padding: calc(var(--nav-h) + 1.2rem) clamp(16px, 5vw, 24px) 2rem;
  }

  .d-back {
    min-height: 40px;
    margin-bottom: 1.15rem;
    padding-inline: .9rem;
  }

  .d-hero h1 {
    max-width: 100%;
    font-size: clamp(1.72rem, 7.8vw, 2.2rem);
    line-height: 1.06;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .d-hero-sub {
    font-size: .9rem;
    line-height: 1.68;
  }

  .d-hero-date {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: .28rem;
    border-radius: 16px;
  }

  .d-hero-card {
    max-width: none;
    padding: 1rem;
  }

  .d-hero-card-row {
    flex-direction: column;
    align-items: flex-start;
    gap: .32rem;
  }

  .d-hero-card-row strong {
    max-width: 100%;
    text-align: left;
    overflow-wrap: anywhere;
  }

  .d-body {
    padding: 2.2rem clamp(14px, 4vw, 20px) 4.5rem;
  }

  .d-section {
    padding: 1.25rem;
    border-radius: 16px;
    margin-bottom: 1rem;
  }

  .d-main p {
    font-size: .9rem;
    line-height: 1.72;
  }

  .d-summary-list div,
  .module-list li,
  .d-placeholder-card {
    border-radius: 12px;
  }

  .module-list li {
    min-height: 0;
    padding: .95rem;
  }

  .mod-t {
    font-size: .84rem;
  }

  .d-sidebar {
    border-radius: 16px;
    padding: 1.2rem;
  }

  .course-cta {
    padding: 1rem;
    border-radius: 14px;
  }

  .home-quem-somos,
  .hg-inner,
  .guide-intro-grid,
  .trajetoria-grid,
  .contato-section {
    gap: 2rem;
  }

  .beneficios-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .footer-inner {
    padding: 3.2rem clamp(18px, 6vw, 28px) 2.2rem;
  }

  .whatsapp-float {
    left: clamp(10px, 3vw, 16px);
    right: auto;
    bottom: calc(.55rem + env(safe-area-inset-bottom));
    width: min(360px, calc(100vw - 20px));
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
  }

  .whatsapp-btn {
    width: 100%;
    min-width: 0 !important;
    min-height: 50px;
    justify-content: center;
    border-radius: 14px;
    gap: .36rem;
    padding: .55rem .34rem;
  }

  .whatsapp-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .whatsapp-icon svg {
    width: 18px;
    height: 18px;
  }

  .whatsapp-btn span:last-child {
    align-items: center;
  }

  .whatsapp-btn small {
    display: none;
  }

  .whatsapp-btn strong {
    font-size: .58rem;
    letter-spacing: .06em;
  }

  footer {
    padding-bottom: calc(5.2rem + env(safe-area-inset-bottom));
  }
}

@media (max-width: 430px) {
  .page-banner--hero h1 {
    max-width: 9ch;
  }

  .hero-tag::before,
  .hero-tag::after {
    display: none;
  }

  .ci-thumb {
    aspect-ratio: 1.18 / 1;
  }

  .sp-photo-tag {
    max-width: calc(100vw - 64px);
    white-space: normal;
    text-align: center;
    justify-content: center;
    line-height: 1.25;
  }
}

@media (max-width: 360px) {
  .nav-logo img {
    max-height: 42px;
  }

  .btn-primary,
  .btn-outline,
  .btn-outline-white {
    padding-inline: 1rem;
    font-size: .68rem;
    letter-spacing: .07em;
  }

  .ci-body {
    padding-inline: 1rem;
  }

  .ci-date-line strong {
    font-size: .62rem;
  }

  .whatsapp-btn strong {
    font-size: .56rem;
    letter-spacing: .06em;
  }
}

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


/* ════════════════════════════════════════════════════
   COURSE RESTORE + OFFICIAL ART SECTIONS
   ════════════════════════════════════════════════════ */

.cursos-list .curso-item {
  border-radius: 8px;
  box-shadow: none;
}
.cursos-list .curso-item:hover {
  border-color: rgba(21,157,146,.28);
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}
.cursos-list .ci-thumb {
  aspect-ratio: 16 / 9;
}
.cursos-list .ci-thumb::after {
  display: none;
}
.cursos-list .ci-thumb img {
  object-fit: cover;
  object-position: center;
}
.cursos-list .ci-badge {
  background: var(--white);
  backdrop-filter: none;
}

.d-summary-list,
.d-info-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.d-info-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.35rem;
}

.d-info-card {
  padding: 1.1rem;
  border: 1px solid rgba(223,230,227,.92);
  border-radius: 14px;
  background: rgba(255,255,255,.84);
  box-shadow: 0 14px 36px rgba(16,24,23,.045);
}

.d-info-card span {
  display: block;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .45rem;
}

.d-info-card strong {
  display: block;
  color: var(--ink);
  font-size: .9rem;
  line-height: 1.45;
}

.d-section--art {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(280px, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 100% 0%, rgba(114,212,202,.16), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(247,249,248,.9));
}

.d-art-copy h2 {
  margin-bottom: .8rem;
}

.d-art-copy p {
  font-size: .9rem;
  line-height: 1.75;
}

.d-art-frame {
  overflow: hidden;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid rgba(223,230,227,.92);
  box-shadow: 0 24px 70px rgba(16,24,23,.1);
}

.d-art-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.d-body .d-section {
  content-visibility: visible;
  contain-intrinsic-size: auto;
}

.d-section--gallery p {
  max-width: 620px;
  margin-bottom: 1.4rem;
}

.d-gallery--complete {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.d-gallery--complete img {
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background:
    linear-gradient(135deg, rgba(21,157,146,.08), rgba(255,255,255,.72)),
    var(--ink-05);
  padding: .45rem;
}

.d-detail-grid {
  margin-top: 1rem;
}

.d-detail-grid .d-placeholder-card p {
  color: var(--ink-70);
  font-weight: 600;
}

.d-section--enroll {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(1.3rem, 4vw, 2.4rem);
  align-items: center;
  background:
    radial-gradient(circle at 100% 0%, rgba(114,212,202,.18), transparent 30%),
    linear-gradient(145deg, rgba(16,24,23,.98), rgba(8,116,109,.92));
  color: var(--white);
  overflow: hidden;
}

.d-section--enroll .section-eyebrow {
  color: var(--teal-lt);
}

.d-section--enroll h2 {
  color: var(--white);
}

.d-section--enroll p {
  color: rgba(255,255,255,.72);
  max-width: 560px;
}

.d-enroll-card {
  padding: 1.25rem;
  border-radius: 16px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
  backdrop-filter: blur(14px);
}

.d-enroll-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .82rem 0;
  border-bottom: 1px solid rgba(255,255,255,.13);
}

.d-enroll-row:first-child {
  padding-top: 0;
}

.d-enroll-row span {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255,255,255,.54);
}

.d-enroll-row strong {
  color: var(--white);
  font-size: .84rem;
  line-height: 1.35;
  text-align: right;
}

.d-enroll-card .btn-primary,
.d-enroll-card .btn-outline {
  width: 100%;
  margin-top: 1rem;
}

.d-enroll-card .btn-outline {
  color: rgba(255,255,255,.86);
  border-color: rgba(255,255,255,.24);
}

.d-enroll-card .btn-outline:hover {
  color: var(--white);
  border-color: rgba(255,255,255,.48);
}

@media (max-width: 680px) {
  .cursos-list .curso-item {
    border-radius: 8px;
    box-shadow: none;
  }
  .cursos-list .curso-item:hover {
    transform: none;
  }
  .cursos-list .ci-thumb {
    aspect-ratio: 16 / 9;
  }
  .cursos-list .ci-body {
    padding: 1.35rem 1.25rem 1.45rem;
  }
  .d-section--art {
    grid-template-columns: 1fr;
  }
  .d-art-frame {
    border-radius: 14px;
  }
  .d-gallery--complete {
    grid-template-columns: 1fr;
  }
  .d-gallery--complete img {
    aspect-ratio: 4 / 5;
  }
  .d-section--enroll {
    grid-template-columns: 1fr;
  }
  .d-enroll-row {
    flex-direction: column;
    gap: .35rem;
  }
  .d-enroll-row strong {
    text-align: left;
  }
}

/* Course card SVG refresh + mobile detail polish */
.cursos-list {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1.05rem, 2.4vw, 2rem);
}

.cursos-list .curso-item,
.proximo-card {
  min-width: 0;
  background: var(--white);
}

.cursos-list .ci-thumb,
.proximo-img {
  aspect-ratio: 16 / 9;
  background: #071b17;
}

.cursos-list .ci-thumb img,
.proximo-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.curso-item:hover .ci-thumb img,
.proximo-card:hover .proximo-img img {
  transform: scale(1.015);
}

.cursos-list .ci-body,
.proximo-body {
  min-width: 0;
}

.cursos-list .ci-title,
.proximo-title,
.d-hero h1,
.d-main h2,
.d-info-row span,
.d-info-row strong,
.d-enroll-row strong,
.module-list li {
  overflow-wrap: anywhere;
}

.ci-short,
.proximo-short {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.d-hero {
  min-height: clamp(520px, 78svh, 760px);
}

.d-hero-img {
  object-fit: cover;
  object-position: center;
}

.d-body,
.d-hero-inner {
  width: min(100%, var(--max));
}

.d-body {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
}

.d-main,
.d-sidebar,
.d-section,
.d-hero-copy,
.d-hero-card {
  min-width: 0;
}

.d-summary-list,
.module-list,
.d-gallery--complete,
.d-detail-grid {
  min-width: 0;
}

.d-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
}

@media (max-width: 980px) {
  .cursos-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-inline: clamp(1rem, 4vw, 2rem);
  }

  .proximos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .d-hero {
    min-height: auto;
    align-items: stretch;
  }

  .d-hero-inner {
    padding: calc(var(--nav-h) + 2rem) clamp(1rem, 4vw, 2.25rem) 2.6rem;
  }

  .d-hero-content {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    align-items: start;
  }

  .d-hero-copy {
    max-width: 760px;
  }

  .d-hero-card {
    max-width: 560px;
  }

  .d-body {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: clamp(2.1rem, 6vw, 4rem) clamp(1rem, 4vw, 2.25rem) 4.5rem;
  }

  .d-sidebar {
    position: static;
  }

  .d-section--enroll {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .filter-row {
    top: var(--nav-h);
    padding-inline: .85rem;
  }

  .f-btn {
    min-height: 46px;
    padding: .9rem 1rem;
    font-size: .68rem;
  }

  .cursos-list {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.35rem clamp(.9rem, 4vw, 1.1rem) 3rem;
  }

  .cursos-list .curso-item,
  .proximo-card {
    border-radius: 8px;
  }

  .cursos-list .ci-body,
  .proximo-body {
    padding: 1.12rem 1rem 1.2rem;
  }

  .ci-title,
  .proximo-title {
    font-size: 1rem;
    line-height: 1.28;
  }

  .ci-date-line {
    align-items: flex-start;
    padding: .62rem .68rem;
    gap: .5rem;
  }

  .ci-date-line strong {
    font-size: .68rem;
    letter-spacing: .02em;
  }

  .ci-meta,
  .proximo-footer {
    gap: .55rem;
  }

  .proximos-carousel {
    padding: 0 2rem;
  }

  .proximos-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .proximos-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.65rem;
  }

  .proximos-arrow--prev {
    left: .15rem;
  }

  .proximos-arrow--next {
    right: .15rem;
  }

  .d-hero-inner {
    padding: calc(var(--nav-h) + 1rem) clamp(.9rem, 4.5vw, 1.2rem) 1.8rem;
  }

  .d-back {
    margin-bottom: 1.25rem;
    min-height: 42px;
    white-space: normal;
  }

  .d-cat {
    font-size: .58rem;
    letter-spacing: .14em;
  }

  .d-hero h1 {
    font-size: clamp(1.85rem, 9vw, 2.65rem);
    line-height: 1.04;
    margin-bottom: .9rem;
  }

  .d-hero-sub {
    font-size: .9rem;
    line-height: 1.65;
  }

  .d-hero-date {
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
    gap: .7rem;
    border-radius: 14px;
  }

  .d-hero-date span,
  .d-hero-date strong {
    min-width: 0;
  }

  .d-hero-date strong {
    text-align: right;
    font-size: .86rem;
  }

  .d-hero-card {
    padding: 1rem;
    border-radius: 14px;
  }

  .d-hero-card-row {
    gap: .6rem;
    padding: .78rem 0;
  }

  .d-hero-card-row strong {
    max-width: 58%;
    font-size: .8rem;
  }

  .d-body {
    padding: 1.35rem clamp(.9rem, 4.5vw, 1.2rem) 3.6rem;
  }

  .d-section {
    padding: 1.12rem;
    border-radius: 14px;
    margin-bottom: 1rem;
  }

  .d-main h2 {
    font-size: clamp(1.35rem, 7vw, 1.8rem);
    line-height: 1.16;
  }

  .d-main p {
    font-size: .9rem;
    line-height: 1.72;
  }

  .d-summary-list,
  .d-info-grid,
  .d-placeholder-grid,
  .module-list,
  .d-detail-grid {
    grid-template-columns: 1fr;
  }

  .module-list li {
    padding: .92rem;
    gap: .72rem;
  }

  .course-cta {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
  }

  .course-cta .btn-primary,
  .d-sidebar .btn-primary,
  .d-sidebar .btn-outline {
    width: 100%;
  }

  .d-gallery--complete {
    grid-template-columns: 1fr;
    gap: .85rem;
  }

  .d-gallery--complete img {
    aspect-ratio: 16 / 10;
    padding: .35rem;
    border-radius: 12px;
  }

  .d-section--enroll {
    padding: 1.2rem;
  }

  .d-enroll-card {
    padding: 1rem;
  }
}

@media (max-width: 360px) {
  .cursos-list {
    padding-inline: .75rem;
  }

  .cursos-list .ci-body,
  .proximo-body,
  .d-section,
  .d-enroll-card,
  .d-hero-card {
    padding-inline: .9rem;
  }

  .ci-title,
  .proximo-title {
    font-size: .94rem;
  }

  .ci-short,
  .proximo-short,
  .d-main p {
    font-size: .84rem;
  }

  .d-hero h1 {
    font-size: clamp(1.68rem, 9.5vw, 2.1rem);
  }

  .d-hero-card-row {
    flex-direction: column;
    gap: .25rem;
  }

  .d-hero-card-row strong {
    max-width: 100%;
    text-align: left;
  }
}

/* Featured course modal */
body.modal-open {
  overflow: hidden;
}

.course-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2.4rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .24s ease, visibility .24s ease;
}

.course-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.course-modal-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 14%, rgba(114,212,202,.2), transparent 32%),
    rgba(6,18,17,.68);
  backdrop-filter: blur(10px);
}

.course-modal-dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: min(720px, calc(100svh - 2rem));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.99), rgba(246,250,249,.96)),
    var(--white);
  border: 1px solid rgba(255,255,255,.56);
  box-shadow: 0 34px 110px rgba(0,0,0,.34);
  transform: translateY(18px) scale(.985);
  transition: transform .28s ease;
}

.course-modal.is-open .course-modal-dialog {
  transform: translateY(0) scale(1);
}

.course-modal-close {
  position: absolute;
  top: .85rem;
  right: .85rem;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(223,230,227,.82);
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1;
  box-shadow: 0 14px 34px rgba(16,24,23,.1);
}

.course-modal-media {
  min-width: 0;
  background: #071b17;
}

.course-modal-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: contain;
}

.course-modal-content {
  min-width: 0;
  align-self: center;
  padding: clamp(1.35rem, 3.6vw, 2.6rem);
}

.course-modal-eyebrow {
  margin-bottom: .8rem;
  color: var(--teal);
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.course-modal-content h2 {
  margin: 0 0 .9rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.course-modal-content p {
  margin: 0;
  color: var(--ink-70);
  font-size: .96rem;
  line-height: 1.75;
}

.course-modal-meta {
  display: grid;
  gap: .58rem;
  margin: 1.35rem 0 1.5rem;
}

.course-modal-meta span {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 40px;
  padding: .68rem .82rem;
  border-radius: 12px;
  background: rgba(21,157,146,.08);
  border: 1px solid rgba(21,157,146,.16);
  color: var(--teal-dk);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.course-modal-meta span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(21,157,146,.12);
}

.course-modal-cta {
  width: 100%;
  min-height: 52px;
  font-size: .78rem;
}

@media (max-width: 760px) {
  .course-modal {
    align-items: end;
    padding: .8rem;
  }

  .course-modal-dialog {
    grid-template-columns: 1fr;
    max-height: calc(100svh - 1.6rem);
    overflow-y: auto;
    border-radius: 16px;
  }

  .course-modal-close {
    top: .7rem;
    right: .7rem;
    width: 40px;
    height: 40px;
  }

  .course-modal-media img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .course-modal-content {
    padding: 1.15rem;
  }

  .course-modal-content h2 {
    font-size: clamp(1.62rem, 8vw, 2.15rem);
  }

  .course-modal-content p {
    font-size: .88rem;
    line-height: 1.62;
  }

  .course-modal-meta {
    margin: 1rem 0 1.1rem;
    gap: .45rem;
  }

  .course-modal-meta span {
    min-height: 38px;
    padding: .58rem .7rem;
    font-size: .68rem;
  }
}

@media (max-width: 360px) {
  .course-modal {
    padding: .55rem;
  }

  .course-modal-dialog {
    max-height: calc(100svh - 1.1rem);
  }

  .course-modal-content {
    padding: 1rem;
  }

  .course-modal-content h2 {
    font-size: 1.5rem;
  }
}

/* Course image contrast fix + gallery carousel + Certo Guide services refresh */
.d-hero:has(.d-hero-img[src$=".svg"]) {
  background:
    radial-gradient(circle at 78% 12%, rgba(114,212,202,.18), transparent 32%),
    #10201e;
}

.d-hero:has(.d-hero-img[src$=".svg"]) .d-hero-img {
  object-fit: cover;
  object-position: 88% 48%;
  transform: scale(1.72);
  filter: none;
  opacity: 1;
}

.d-hero:has(.d-hero-img[src$=".svg"]) .d-hero-overlay {
  background:
    linear-gradient(90deg, rgba(8,18,17,.995) 0%, rgba(8,18,17,.99) 52%, rgba(8,18,17,.58) 100%),
    linear-gradient(to top, rgba(8,18,17,.995) 0%, rgba(8,18,17,.64) 70%),
    radial-gradient(circle at 76% 42%, rgba(255,255,255,.12), transparent 32%);
}

.d-hero:has(.d-hero-img[src*="/heroes/"]) .d-hero-img {
  object-position: center;
  transform: scale(1.03);
}

.d-hero:has(.d-hero-img[src*="/heroes/"]) .d-hero-overlay {
  background:
    linear-gradient(90deg, rgba(8,18,17,.9) 0%, rgba(8,18,17,.72) 46%, rgba(8,18,17,.2) 100%),
    linear-gradient(to top, rgba(8,18,17,.92) 0%, rgba(8,18,17,.22) 72%);
}

.d-hero h1,
.d-hero-sub,
.d-cat,
.d-hero-date,
.d-back {
  text-shadow: 0 2px 18px rgba(0,0,0,.26);
}

.course-gallery-carousel {
  position: relative;
  margin-top: 1.45rem;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(21,157,146,.08), rgba(255,255,255,.82)),
    var(--ink-05);
  border: 1px solid rgba(223,230,227,.92);
  box-shadow: 0 22px 70px rgba(16,24,23,.08);
  touch-action: pan-y;
}

.course-gallery-viewport {
  overflow: hidden;
}

.course-gallery-track {
  display: flex;
  transform: translateX(0);
  transition: transform .42s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}

.course-gallery-carousel.is-touching .course-gallery-track {
  transition-duration: .18s;
}

.course-gallery-slide {
  flex: 0 0 100%;
  margin: 0;
  display: grid;
  place-items: center;
  min-width: 0;
}

.course-gallery-slide img {
  display: block;
  width: 100%;
  height: clamp(310px, 54vw, 560px);
  object-fit: contain;
  background: rgba(255,255,255,.58);
  padding: clamp(.45rem, 1.4vw, .9rem);
  border-radius: 0;
  box-shadow: none;
  cursor: zoom-in;
}

.course-gallery-slide img:hover {
  transform: none;
  opacity: 1;
}

.course-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(223,230,227,.92);
  color: var(--teal-dk);
  font-size: 2rem;
  line-height: 1;
  box-shadow: 0 16px 40px rgba(16,24,23,.14);
  backdrop-filter: blur(12px);
}

.course-gallery-arrow--prev {
  left: .9rem;
}

.course-gallery-arrow--next {
  right: .9rem;
}

.course-gallery-dots {
  position: absolute;
  left: 50%;
  bottom: .85rem;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  gap: .42rem;
  padding: .42rem .56rem;
  border-radius: 999px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(223,230,227,.72);
  box-shadow: 0 10px 26px rgba(16,24,23,.12);
  backdrop-filter: blur(10px);
}

.course-gallery-dots button {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(8,116,109,.24);
  transition: width .22s ease, background .22s ease;
}

.course-gallery-dots button.is-active {
  width: 22px;
  background: var(--teal);
}

.guide-servicos-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
}

.guide-servico {
  min-height: 118px;
  padding: 1.1rem;
  border: 1px solid rgba(223,230,227,.9);
  border-top: 3px solid rgba(21,157,146,.34);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(247,249,248,.72)),
    var(--white);
  box-shadow: 0 16px 42px rgba(16,24,23,.045);
}

.guide-servico:hover {
  border-top-color: var(--teal);
  box-shadow: 0 20px 54px rgba(16,24,23,.075);
  transform: translateY(-2px);
}

.guide-servico .gs-num {
  margin-bottom: .7rem;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .14em;
  color: var(--teal);
}

.guide-servico h4 {
  margin: 0;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 750;
  line-height: 1.35;
}

.guide-servico p {
  display: none;
}

@media (max-width: 760px) {
  .d-hero:has(.d-hero-img[src$=".svg"]) .d-hero-img {
    object-position: 84% 50%;
    transform: scale(1.82);
  }

  .d-hero:has(.d-hero-img[src$=".svg"]) .d-hero-overlay {
    background:
      linear-gradient(180deg, rgba(8,18,17,.9) 0%, rgba(8,18,17,.94) 44%, rgba(8,18,17,.995) 100%);
  }

  .d-hero:has(.d-hero-img[src*="/heroes/"]) .d-hero-img {
    object-position: center;
    transform: scale(1.04);
  }

  .d-hero:has(.d-hero-img[src*="/heroes/"]) .d-hero-overlay {
    background:
      linear-gradient(180deg, rgba(8,18,17,.54) 0%, rgba(8,18,17,.78) 44%, rgba(8,18,17,.96) 100%);
  }

  .course-gallery-carousel {
    border-radius: 14px;
    margin-top: 1.1rem;
  }

  .course-gallery-slide img {
    height: min(72svh, 460px);
    min-height: 260px;
    padding: .35rem;
  }

  .course-gallery-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.65rem;
  }

  .course-gallery-arrow--prev {
    left: .55rem;
  }

  .course-gallery-arrow--next {
    right: .55rem;
  }

  .course-gallery-dots {
    bottom: .55rem;
    max-width: calc(100% - 1.2rem);
    overflow-x: auto;
  }

  .guide-servicos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
  }

  .guide-servico {
    min-height: 104px;
    padding: .95rem;
  }

  .guide-servico h4 {
    font-size: .84rem;
  }
}

@media (max-width: 380px) {
  .guide-servicos-grid {
    grid-template-columns: 1fr;
  }

  .course-gallery-slide img {
    height: min(68svh, 390px);
  }
}
