@font-face {
  font-family: Inter;
  src: url("../assets/fonts/inter.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: Manrope;
  src: url("../assets/fonts/manrope.woff2") format("woff2");
  font-weight: 700 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #0b1426;
  --blue: #14294a;
  --ink: #101d31;
  --red: #d62828;
  --light-red: #f17a7a;
  --green: #15803d;
  --green-hover: #166534;
  --paper: #f5f7fa;
  --muted: #52627a;
  --line: #dce3ec;
  --white: #fff;
  --title: Manrope, "Segoe UI", Arial, sans-serif;
  --body: Inter, "Segoe UI", Arial, sans-serif;
  --gutter: clamp(1rem, 4vw, 3.75rem);
  --space: clamp(4rem, 9vw, 7.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  scroll-padding-top: 1.5rem;
  scroll-padding-bottom: calc(5rem + env(safe-area-inset-bottom));
}
body {
  margin: 0;
  padding-bottom: calc(5rem + env(safe-area-inset-bottom));
  background: var(--white);
  color: var(--ink);
  font: 400 1rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}

main { scroll-margin-top: 1rem; }
h1, h2, h3, h4, p, ul, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { font-family: var(--title); }
h1, h2 { font-weight: 800; letter-spacing: -.055em; text-wrap: balance; }
h1 { font-size: clamp(2.05rem, 6.6vw, 4.05rem); line-height: 1.06; text-wrap: pretty; }
h2 { font-size: clamp(1.9rem, 5.2vw, 3.35rem); line-height: 1.1; }
h3 { font-size: clamp(1.12rem, 2vw, 1.38rem); line-height: 1.27; letter-spacing: -.027em; }
h4 { font-size: .96rem; line-height: 1.4; }
p + p { margin-top: .9rem; }
button { font: inherit; }
a { color: inherit; }
svg { display: block; width: 1.25rem; height: 1.25rem; flex: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #3795ef; outline-offset: 4px; }
.wrap { width: min(100% - 2 * var(--gutter), 78rem); margin-inline: auto; }
.section { padding-block: var(--space); }
.dark { color: var(--white); background: var(--navy); }
.dark p { color: #c3cedf; }
.skip-link { position: absolute; z-index: 5; padding: .7rem 1rem; background: var(--white); transform: translateY(-130%); }
.skip-link:focus { transform: translateY(0); }

.site-header { color: var(--white); background: var(--navy); border-bottom: 1px solid #293449; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.4rem; padding-block: .45rem; }
.brand { display: block; width: fit-content; max-width: 100%; flex: none; }
.brand img {
  width: clamp(7.25rem, 13vw, 8rem);
  height: auto;
  /* O arquivo oficial inclui uma assinatura abaixo desta área. */
  aspect-ratio: 940 / 498;
  object-fit: cover;
  object-position: center top;
}
.topbar nav, .header-contact { display: none; }
.topbar nav { align-items: center; gap: clamp(1rem, 3vw, 2.8rem); }
.topbar nav a { padding-block: .65rem; font-size: .875rem; color: #dce4f2; text-decoration: none; }
.topbar nav a:hover { color: var(--white); text-decoration: underline; text-underline-offset: .35rem; }

.eyebrow, .dark .eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1rem;
  color: #a51d26;
  font: 700 .8125rem/1.4 var(--body);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 1.42rem; height: 2px; background: var(--red); flex: none; }
.dark .eyebrow { color: var(--light-red); }
.hero { padding-top: clamp(1.75rem, 5vw, 4.2rem); }
.hero-layout, .reality-lead, .difference-layout, .about-layout { display: grid; gap: clamp(1.6rem, 5vw, 5rem); align-items: center; }
.hero h1 em { display: block; color: #ffd4d3; font-style: normal; }
.hero-copy > p:not(.eyebrow) { margin: 1.05rem 0 1.35rem; max-width: 34rem; font-size: clamp(.97rem, 1.5vw, 1.08rem); }
.photo { position: relative; min-width: 0; overflow: hidden; isolation: isolate; background: #d6dde8; border-radius: .35rem; }
.photo img { width: 100%; height: 100%; aspect-ratio: var(--photo-ratio, 3 / 2); object-fit: cover; object-position: var(--photo-position, center); }
.hero-photo { --photo-ratio: 7 / 4; --photo-position: center 52%; border-bottom: 3px solid var(--red); background: #25354b; }
.hero-features, .check-list, .final-features { list-style: none; padding: 0; }
.hero-features { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(1.8rem, 5.8vw, 3.6rem); border-top: 1px solid #344158; }
.hero-features li { display: flex; align-items: center; gap: .55rem; padding: .9rem .3rem .9rem 0; border-bottom: 1px solid #344158; color: #d9e1ed; font-size: .83rem; line-height: 1.45; }
.hero-features svg { color: var(--light-red); }

.whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 3.3rem;
  padding: .68rem 1.35rem;
  border: 1px solid transparent;
  border-radius: .28rem;
  color: var(--white);
  background: var(--green);
  font: 700 .875rem/1.25 var(--body);
  letter-spacing: .025em;
  text-decoration: none;
  transition: background-color .18s ease;
}
.whatsapp:hover, .whatsapp:active { background: var(--green-hover); }
.whatsapp svg { width: 1.4rem; height: 1.4rem; }
.header-contact .whatsapp { min-height: 2.8rem; padding-inline: 1rem; font-size: .77rem; }
.header-contact .whatsapp svg { width: 1.2rem; height: 1.2rem; }
.micro, .dark .micro { color: var(--muted); margin: .62rem 0 0; font-size: .83rem; line-height: 1.5; }
.dark .micro { color: #b7c4d7; }
.mobile-contact { position: fixed; inset: auto 0 0; z-index: 3; padding: .55rem var(--gutter) calc(.65rem + env(safe-area-inset-bottom)); background: var(--navy); border-top: 1px solid #344158; }
.mobile-contact .whatsapp { width: 100%; min-height: 3.05rem; }

.section-head { max-width: 53rem; margin-bottom: clamp(1.65rem, 4vw, 3rem); }
.section-head > p:not(.eyebrow) { max-width: 44rem; margin-top: 1rem; color: var(--muted); }
.dark .section-head > p:not(.eyebrow) { color: #c3cedf; }
.section-end { max-width: 45rem; margin: clamp(1.8rem, 4vw, 3rem) auto 0; text-align: center; }
.section-end > p { color: var(--muted); }
.dark .section-end > p { color: #c3cedf; }
.section-end > p + .conversion { margin-top: 1.25rem; }

.courses { background: var(--paper); }
.course-grid, .stage-grid { display: grid; gap: 1rem; }
.course { overflow: hidden; min-width: 0; border: 1px solid var(--line); border-radius: .45rem; background: var(--white); }
.course-photo { --photo-ratio: 3 / 2; border-radius: 0; }
.course-acls .course-photo img { object-fit: contain; }
.course-copy { padding: clamp(1.2rem, 3.5vw, 2.1rem); }
.course-copy h3 { color: #ae2029; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; letter-spacing: -.06em; margin-bottom: .4rem; }
.course-acls h3 { color: var(--blue); }
.course-name { color: var(--ink); min-height: 0; font-weight: 700; line-height: 1.45; }
.course-copy p:not(.course-name) { color: var(--muted); }
.course-copy h4 { margin-top: 1rem; }
.check-list { display: grid; gap: .35rem; margin: .55rem 0 1.05rem; }
.check-list li, .final-features li { display: flex; gap: .5rem; align-items: baseline; }
.check-list svg, .final-features svg { position: relative; top: .2rem; width: 1rem; height: 1rem; color: #b82028; }
.course-closing { border-top: 1px solid var(--line); padding-top: .9rem; }

.reality-lead .section-head { margin-bottom: 1.05rem; }
.reality-copy > p, .about-layout > div:first-child > p { color: var(--muted); }
.reality-lead .career-photo { --photo-ratio: 1; --photo-position: center top; }
.reality-copy blockquote { border-left: 3px solid var(--red); margin-top: 1.4rem; padding-left: 1rem; color: var(--blue); font: 800 clamp(1.08rem, 2.2vw, 1.45rem)/1.37 var(--title); }
.benefit-grid { display: grid; gap: 1rem 1.4rem; margin-top: clamp(2rem, 5vw, 4rem); }
.benefit-grid article { border-top: 1px solid var(--line); padding-top: .9rem; }
.benefit-grid h3 + p, .difference h3 + p, .audience h3 + p { margin-top: .45rem; color: var(--muted); }

.methodology { background: var(--blue); }
.stage { min-width: 0; overflow: hidden; border-radius: .35rem; border: 1px solid #48607f; background: #182f50; }
.stage-photo { --photo-ratio: 16 / 8.8; border-radius: 0; }
.stage-copy { display: flex; align-items: flex-start; gap: .75rem; padding: 1rem; }
.stage-copy h3 + p { margin-top: .45rem; }
.stage-copy p + p { margin-top: .55rem; }
.stage-index { color: #ffb0ae; font: 800 .9rem/1.8 var(--title); }

.experience { background: var(--paper); }
.demo { margin-bottom: 1.25rem; }
.training-records { display: grid; gap: .7rem; margin-bottom: 1.5rem; }
.training-records figure { display: grid; grid-template-rows: 1fr auto; overflow: hidden; min-width: 0; border: 1px solid var(--line); border-radius: .35rem; background: var(--white); }
.training-records img { width: 100%; height: 100%; object-fit: cover; }
.training-records figure:first-child img { aspect-ratio: 16 / 9; }
.training-records figure:last-child img { aspect-ratio: 4 / 5; object-position: center 40%; }
.gallery-carousel { max-width: 52rem; margin-inline: auto; }
.carousel-track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  gap: .7rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: .5rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.gallery { grid-auto-columns: min(64%, 12.5rem); }
.gallery .photo { display: grid; grid-template-rows: 1fr auto; background: var(--white); border: 1px solid var(--line); scroll-snap-align: start; }
.carousel-controls { display: flex; justify-content: center; gap: .4rem; margin-top: .45rem; }
.carousel-controls button { display: grid; place-items: center; min-width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid var(--line); border-radius: .28rem; background: var(--white); color: var(--ink); cursor: pointer; }
.carousel-controls button:hover { border-color: var(--blue); }
.gallery figcaption, .training-records figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .1rem .55rem; padding: .55rem .75rem; font-size: .86rem; line-height: 1.45; font-weight: 600; }
.training-records figcaption small { font-size: .72rem; color: var(--muted); font-weight: 400; }
.difference-photo { --photo-ratio: 5 / 3; }
.difference-grid { display: grid; gap: 1rem 1.35rem; }
.difference { display: flex; gap: .7rem; border-top: 1px solid var(--line); padding-top: .75rem; }
.difference svg { margin-top: .16rem; color: #ae2029; }

.audiences { background: var(--paper); }
.audience-grid { display: grid; gap: 1.35rem; }
.audience-photo { margin-bottom: .75rem; }
.audience-photo img { height: auto; aspect-ratio: 4 / 5; object-fit: contain; }
.about-layout { align-items: start; }
.about-layout .section-head { margin-bottom: 1.1rem; }
.about-panel { display: grid; align-content: center; gap: 1.3rem; padding: clamp(1.6rem, 5vw, 3.5rem); min-height: 16rem; border-left: 3px solid var(--red); border-radius: .32rem; }
.about-panel .brand img { width: 11.5rem; }
.about-panel p { margin: 0; color: var(--white); font: 800 clamp(1.55rem, 3.4vw, 2.6rem)/1.14 var(--title); letter-spacing: -.045em; }
.instructors { margin-top: 2rem; }
.instructor-grid, .testimonial-images { display: grid; gap: 1rem; margin-top: 1rem; }
.instructor-grid article img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .35rem; margin-bottom: .65rem; }
.instructor-grid article p { color: var(--muted); }
.testimonial-videos { grid-auto-columns: min(80%, 17rem); gap: .85rem; padding-block: .3rem .7rem; }
.testimonial-videos:has(> :only-child) { grid-auto-columns: min(100%, 28rem); }
.testimonial-videos > article { scroll-snap-align: start; }
.testimonial-videos:focus { outline-offset: 2px; }
.testimonial-videos h3 { margin-top: .65rem; }
.testimonials { background: var(--white); }
.testimonial-reviews { margin-top: clamp(1.6rem, 4vw, 2.8rem); }
.testimonial-images img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: .35rem; }
.reel-trigger {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: .55rem;
  min-height: 11.25rem;
  padding: 1.15rem;
  border: 1px solid #344b69;
  border-radius: .35rem;
  background: radial-gradient(ellipse at top, #213b5c, var(--navy) 85%);
  color: var(--white);
  text-align: center;
  text-decoration: none;
}
.reel-trigger .play-icon { width: 3.3rem; height: 3.3rem; padding-left: .12rem; background: var(--white); color: var(--navy); transition: background-color .18s ease; }
.reel-trigger:focus-visible { outline-offset: -4px; }
.reel-trigger:hover .play-icon { background: #ffd4d3; }
.reel-label { color: #d9e2f0; font-size: .875rem; }
.reel-action { font-weight: 700; }
.reel-dialog {
  width: min(28rem, calc(100% - 1.25rem));
  max-height: calc(100dvh - 1.25rem);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: var(--white);
  color: var(--ink);
  overscroll-behavior: contain;
}
.reel-dialog::backdrop { background: rgb(8 15 29 / .82); }
.reel-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .75rem 1rem; }
.reel-dialog-header h2 { font-size: 1.2rem; letter-spacing: -.02em; }
.reel-dialog-header a { color: var(--muted); font-size: .875rem; text-underline-offset: .18em; }
.reel-dialog-header button { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid var(--line); border-radius: .28rem; background: var(--paper); color: var(--ink); cursor: pointer; }
.reel-dialog-media iframe { display: block; width: 100%; height: clamp(18rem, 75dvh, 43rem); border: 0; border-top: 1px solid var(--line); }
html:has(.reel-dialog[open]) { overflow: hidden; }
.video-surface { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: .35rem; background: var(--navy); color: var(--white); }
.testimonial-videos .video-surface { aspect-ratio: 9 / 16; }
.video-surface button { display: grid; place-items: center; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; color: var(--white); cursor: pointer; }
.video-surface button:focus-visible { outline-offset: -5px; }
.video-surface img, .video-surface iframe, .video-surface video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-surface video { object-fit: contain; }
.play-icon { z-index: 1; display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--navy); border: 1px solid #fff; }
.play-icon svg { width: 1.35rem; height: 1.35rem; }

.final { border-top: 3px solid var(--red); }
.final-copy { max-width: 46rem; text-align: center; }
.final .section-head { margin: 0 auto 1.05rem; }
.final .eyebrow { justify-content: center; }
.final-features { display: grid; gap: .4rem 1.15rem; width: fit-content; margin: 1.05rem auto 1.35rem; font-size: .92rem; text-align: left; }
.final-features svg { color: var(--light-red); }
.site-footer { background: #080f1d; color: #c3cedf; border-top: 1px solid #303c51; }
.footer-layout { display: grid; gap: 1.15rem; align-items: start; padding-block: 2rem; font-size: .9rem; }
.site-footer p + p { margin-top: .18rem; }
.footer-links { display: grid; gap: .38rem; overflow-wrap: anywhere; }
.footer-links a { width: fit-content; text-underline-offset: .18em; }
.privacy { min-height: 60vh; }
.privacy .wrap { max-width: 48rem; }
.privacy h1 { margin-bottom: 1.3rem; }
.privacy a { text-underline-offset: .18em; }

@media (max-width: 519px) {
  .audience { display: grid; grid-template-columns: minmax(0, 32%) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: .85rem; align-items: start; }
  .audience-photo { grid-row: span 2; margin: 0; }
  .audience h3, .audience p { grid-column: 2; }
}

@media (min-width: 520px) {
  .audience-grid, .benefit-grid, .difference-grid, .instructor-grid, .testimonial-images, .final-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .training-records { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); }
  .training-records figure:last-child img { min-height: 0; aspect-ratio: 523 / 929; }
  .gallery { grid-auto-columns: min(41%, 16rem); }
  .audience-photo { max-width: 13rem; }
}

@media (min-width: 720px) {
  html { scroll-padding-bottom: 1rem; }
  body { padding-bottom: 0; }
  .mobile-contact { display: none; }
  .topbar nav, .header-contact { display: flex; }
  .course-grid, .stage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.65rem); }
  .course-name { min-height: 2.9em; }
  .footer-layout { grid-template-columns: auto 1.2fr .85fr; gap: 1.6rem; }
  .hero-features { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-features li { border-bottom: 0; padding-block: 1.2rem; }
  .hero-features li + li { padding-left: .75rem; border-left: 1px solid #344158; }
  .stage-copy { padding: 1.2rem; }
}

@media (min-width: 960px) {
  .topbar { min-height: 5rem; }
  .hero-layout { grid-template-columns: 1.02fr 1fr; gap: clamp(2rem, 5vw, 4.4rem); }
  .hero h1 { font-size: clamp(2.38rem, 4vw, 3.35rem); }
  .hero-photo { --photo-ratio: 1.08; }
  .hero-features li { font-size: .94rem; padding-block: 1.4rem; }
  .hero-features li + li { padding-left: 1.25rem; }
  .reality-lead { grid-template-columns: .79fr 1.21fr; }
  .reality-lead .career-photo { --photo-ratio: 4 / 4.75; }
  .benefit-grid, .audience-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .audience-photo { max-width: none; }
  .difference-layout { grid-template-columns: .87fr 1.13fr; gap: clamp(1.7rem, 4vw, 3.4rem); align-items: stretch; }
  .difference-photo { --photo-ratio: 5 / 4.3; }
  .difference-grid { align-content: center; }
  .about-layout { grid-template-columns: 1.1fr .9fr; align-items: center; }
  .testimonial-videos:has(> :nth-child(2)) { grid-auto-columns: 44%; }
  .reel-trigger { min-height: 13rem; }
  .testimonial-images, .instructor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .carousel-track { scroll-behavior: auto; }
}
