:root {
  --red: #e63b40;
  --red-dark: #c92f34;
  --blue: #182e5c;
  --blue-soft: #274c84;
  --ink: #1e2940;
  --body: #5d6878;
  --cream: #f8f4ed;
  --paper: #fffefd;
  --line: #dce1e8;
  --container: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--body);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

.container { width: min(calc(100% - 48px), var(--container)); margin: 0 auto; }
.section { padding: 108px 0; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: white;
  background: var(--blue);
  border-radius: 5px;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  background: rgba(255, 254, 253, .96);
  box-shadow: 0 1px 0 rgba(24, 46, 92, .08);
  backdrop-filter: blur(12px);
}

.header-content { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.brand img { width: 62px; height: 70px; object-fit: cover; object-position: center; }
.desktop-menu { display: flex; align-items: center; gap: 28px; color: var(--blue); font-size: 14px; font-weight: 700; }
.desktop-menu a { text-decoration: none; }
.desktop-menu a:not(.nav-contact):hover { color: var(--red); }

.nav-contact, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.nav-contact { color: white; background: var(--red); }
.nav-contact:hover, .button-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.mobile-menu { display: none; }

.hero { position: relative; overflow: hidden; min-height: 620px; color: white; background: var(--blue); }
.hero-pattern { position: absolute; inset: 0; opacity: .13; background-image: url("assets/fundo_wow.jpg"); background-size: auto 380px; mix-blend-mode: screen; }
.hero::after { position: absolute; right: -100px; bottom: -120px; width: 610px; height: 380px; content: ""; background: var(--red); clip-path: polygon(31% 0, 100% 15%, 87% 100%, 0 85%); opacity: .95; }
.hero-content { position: relative; z-index: 1; min-height: 620px; padding: 102px 0 76px; }
.hero-copy { position: relative; z-index: 2; width: min(570px, 58%); }

.eyebrow { margin: 0 0 14px; color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow-light { color: #ffffff; opacity: .78; }
.eyebrow-red { color: var(--red); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); line-height: 1.04; letter-spacing: -.045em; }
h1 { margin-bottom: 22px; color: white; font-size: clamp(3.35rem, 6vw, 5.6rem); font-weight: 800; }
h1 em, h2 em { color: var(--red); font-style: normal; }
.hero-description { max-width: 490px; margin-bottom: 32px; color: #e8ecf7; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button-primary { color: white; background: var(--red); }
.button-ghost { color: white; border: 1px solid rgba(255,255,255,.35); }
.button-ghost:hover { color: var(--blue); background: white; }

.hero-people { position: absolute; z-index: 2; right: 12%; bottom: 0; width: min(280px, 28vw); filter: drop-shadow(18px 8px 20px rgba(0,0,0,.25)); }
.hero-note { position: absolute; z-index: 3; right: 0; bottom: 78px; display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; color: var(--blue); background: var(--cream); transform: rotate(-3deg); box-shadow: 0 9px 18px rgba(0,0,0,.12); }
.hero-note span { color: var(--red); font-size: 21px; }
.hero-note p { margin: 0; font-size: 13px; font-weight: 800; line-height: 1.3; }

.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; align-items: end; }
.section-heading h2, .courses h2, .testimonials h2 { margin-bottom: 0; font-size: clamp(2.3rem, 4vw, 3.65rem); }
.intro-copy { max-width: 480px; margin: 0; color: var(--body); font-size: 18px; line-height: 1.75; }

.method { color: white; background: var(--blue); }
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9%; align-items: center; }
.method-image { position: relative; }
.method-image img { width: 100%; min-height: 470px; object-fit: cover; filter: saturate(.75); }
.image-label { position: absolute; right: -25px; bottom: 30px; padding: 18px 22px; color: var(--blue); background: var(--cream); font-size: 14px; font-weight: 800; line-height: 1.15; transform: rotate(-2deg); }
.method h2, .services h2, .contact h2 { margin-bottom: 25px; color: white; font-size: clamp(2.5rem, 4vw, 4rem); }
.method h2 em, .contact h2 em { color: #ff7d80; }
.method-copy > p:not(.eyebrow) { max-width: 510px; color: #dce5f2; font-size: 17px; }
.check-list { display: grid; gap: 13px; padding: 0; margin: 30px 0; list-style: none; color: white; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; }
.check-list li::before { flex: 0 0 21px; width: 21px; height: 21px; margin-top: 2px; content: "✓"; color: white; background: var(--red); border-radius: 50%; font-size: 13px; font-weight: 900; line-height: 21px; text-align: center; }
.text-link { color: white; font-size: 14px; font-weight: 800; text-decoration: none; }
.text-link span { margin-left: 8px; color: #ff7d80; font-size: 20px; vertical-align: -1px; }

.courses-header { display: flex; justify-content: space-between; gap: 48px; align-items: end; margin-bottom: 42px; }
.courses-header > p { max-width: 305px; margin: 0 0 5px; }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.course-card { display: flex; flex-direction: column; min-height: 330px; padding: 31px; border-radius: 3px; }
.course-card-blue { color: white; background: var(--blue); }
.course-card-red { color: white; background: var(--red); }
.course-card-sand { color: var(--blue); background: var(--cream); }
.course-number { margin-bottom: auto; opacity: .65; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.course-card h3 { margin-bottom: 13px; color: inherit; font-size: 29px; }
.course-card p { margin-bottom: 26px; line-height: 1.6; }
.course-card a { color: inherit; font-size: 14px; font-weight: 800; text-decoration: none; }
.course-card a span { margin-left: 8px; font-size: 19px; }

.services { color: white; background: var(--red); }
.services-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; padding-bottom: 38px; border-bottom: 1px solid rgba(255,255,255,.4); }
.services-heading h2 { margin: 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px; padding-top: 43px; }
.service-icon { display: grid; width: 47px; height: 47px; place-items: center; margin-bottom: 25px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; font-size: 20px; font-weight: 700; }
.service-grid h3 { margin-bottom: 10px; color: white; font-size: 24px; }
.service-grid p { margin-bottom: 0; color: #fff0f0; }

.testimonials-heading { margin-bottom: 40px; }
.testimonial-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 20px; align-items: stretch; }
.testimonial-featured, .testimonial-compact { margin: 0; padding: 42px; background: var(--cream); }
blockquote { margin: 0; color: var(--blue); font-size: clamp(1.38rem, 2.2vw, 2rem); font-weight: 700; line-height: 1.38; letter-spacing: -.025em; }
figcaption { display: flex; gap: 12px; align-items: center; margin-top: 30px; }
figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
figcaption span { display: grid; font-size: 13px; }
figcaption strong { color: var(--blue); }
figcaption small { color: #818998; }
.testimonial-compact { display: flex; flex-direction: column; justify-content: space-between; color: white; background: var(--blue-soft); }
.testimonial-compact blockquote, .testimonial-compact strong { color: white; }
.testimonial-compact small { color: #dce5f2; }

.contact { position: relative; overflow: hidden; color: white; background: var(--blue); text-align: center; }
.contact-pattern { position: absolute; inset: 0; opacity: .16; background-image: url("assets/fundo_wow.jpg"); background-size: auto 350px; mix-blend-mode: screen; }
.contact-content { position: relative; z-index: 1; }
.contact h2 { margin-bottom: 15px; }
.contact-content > p:not(.eyebrow) { margin-bottom: 29px; color: #e1e7f2; }
.button-light { color: var(--blue); background: white; }
.button-light:hover { color: white; background: var(--red); transform: translateY(-2px); }

.site-footer { padding: 34px 0; color: #d7e0ee; background: #101d3b; }
.footer-content { display: flex; justify-content: space-between; gap: 32px; align-items: center; }
.footer-brand img { width: 49px; height: 58px; object-fit: cover; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.footer-links a { color: white; font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: #ff7d80; }
.footer-content > p { margin: 0; font-size: 12px; line-height: 1.5; text-align: right; }
.footer-content p span { color: #ff7d80; }

@media (max-width: 800px) {
  .section { padding: 78px 0; }
  .desktop-menu { display: none; }
  .mobile-menu { position: relative; display: block; }
  .mobile-menu summary { display: grid; gap: 5px; width: 42px; padding: 10px 8px; cursor: pointer; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { height: 2px; background: var(--blue); }
  .mobile-menu nav { position: absolute; top: 59px; right: 0; display: grid; width: 235px; padding: 10px; background: white; box-shadow: 0 10px 24px rgba(12,23,46,.16); }
  .mobile-menu nav a { padding: 12px; color: var(--blue); font-weight: 700; text-decoration: none; }
  .hero, .hero-content { min-height: 600px; }
  .hero-content { padding-top: 84px; }
  .hero-copy { width: 68%; }
  .hero-people { right: -3%; width: 260px; }
  .hero-note { right: 4%; bottom: 42px; }
  .intro, .method-grid { grid-template-columns: 1fr; gap: 36px; }
  .intro-copy { max-width: 650px; }
  .method-grid { gap: 55px; }
  .method-image { max-width: 590px; }
  .method-image img { min-height: 350px; }
  .course-grid, .service-grid { gap: 14px; }
  .course-card { min-height: 290px; padding: 24px; }
  .service-grid { gap: 28px; }
  .testimonial-grid { grid-template-columns: 1fr; }
}

@media (max-width: 590px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .header-content { min-height: 72px; }
  .brand img { width: 52px; height: 58px; }
  .hero, .hero-content { min-height: 695px; }
  .hero::after { right: -220px; bottom: -60px; }
  .hero-content { padding-top: 64px; }
  .hero-copy { width: 100%; }
  h1 { font-size: 3.25rem; }
  .hero-description { max-width: 310px; font-size: 16px; }
  .hero-actions { max-width: 220px; }
  .button { width: 100%; }
  .hero-people { right: -35px; width: 225px; }
  .hero-note { right: auto; bottom: 32px; left: 0; }
  .section-heading h2, .courses h2, .testimonials h2 { font-size: 2.35rem; }
  .method h2, .services h2, .contact h2 { font-size: 2.65rem; }
  .method-image img { min-height: 300px; }
  .image-label { right: -8px; bottom: 18px; }
  .courses-header, .services-heading { display: block; }
  .courses-header > p { margin-top: 20px; }
  .course-grid, .service-grid { grid-template-columns: 1fr; }
  .course-card { min-height: 230px; }
  .services-heading { padding-bottom: 30px; }
  .service-grid { padding-top: 32px; }
  .service-icon { margin-bottom: 15px; }
  .testimonial-featured, .testimonial-compact { padding: 28px; }
  blockquote { font-size: 1.35rem; }
  .footer-content { display: grid; justify-items: center; text-align: center; }
  .footer-content > p { text-align: center; }
}

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