/* ============================================================
   IGAS QUALIFICA RS — Landing Page
   Stack: vanilla HTML/CSS, no framework, no build step
   ============================================================ */

/* ── Modern Reset ────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
body {
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  background: var(--creme);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--azul);
}
img, svg { display: block; max-width: 100%; }
ul, ol   { list-style: none; }
a        { text-decoration: none; color: inherit; }
button   { border: none; background: none; cursor: pointer; font: inherit; }

/* ── Design Tokens ───────────────────────────────────────── */
:root {
  /* Colors */
  --vermelho: #E52421;
  --azul:     #1C355E;
  --creme:    #F0EEE9;
  --branco:   #FFFFFF;

  /* Typography */
  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;

  /* Spacing (4px base) */
  --sp-1:  .25rem;   /* 4px  */
  --sp-2:  .5rem;    /* 8px  */
  --sp-3:  .75rem;   /* 12px */
  --sp-4:  1rem;     /* 16px */
  --sp-5:  1.25rem;  /* 20px */
  --sp-6:  1.5rem;   /* 24px */
  --sp-8:  2rem;     /* 32px */
  --sp-10: 2.5rem;   /* 40px */
  --sp-12: 3rem;     /* 48px */
  --sp-14: 3.5rem;   /* 56px */
  --sp-16: 4rem;     /* 64px */
  --sp-20: 5rem;     /* 80px */
  --sp-24: 6rem;     /* 96px */

  /* Radius */
  --r-sm: .375rem;
  --r-md: .5rem;
  --r-lg: .75rem;
  --r-xl: .75rem;

  /* Shadows */
  --shadow-card: 0 24px 48px rgba(0,0,0,.08);
  --shadow-btn:  0 8px 24px rgba(229,36,33,.35);
  --shadow-btn-inv: 0 12px 32px rgba(0,0,0,.18);

  /* Layout */
  --max-w: 80rem;      /* 1280px container */
  --max-w-md: 45rem;   /* 720px narrow container */
  --max-w-lg: 50rem;   /* 800px medium container */
  --px: 1.25rem;       /* horizontal padding mobile */

  /* Header */
  --header-h: 56px;
}

/* ── Accessibility ───────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -120%;
  left: var(--sp-4);
  padding: var(--sp-2) var(--sp-5);
  background: var(--vermelho);
  color: var(--branco);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .875rem;
  border-radius: var(--r-md);
  z-index: 9999;
  transition: top .2s ease;
  text-decoration: underline;
}
.skip-link:focus {
  top: var(--sp-4);
  outline: 2px solid var(--branco);
  outline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--vermelho);
  outline-offset: 3px;
}

/* ── Container ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

/* ============================================================
   HEADER STICKY
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  background: var(--branco);
  border-bottom: 1px solid rgba(28,53,94,.08);
  display: flex;
  align-items: center;
  transition: box-shadow .25s ease;
}
.header--scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}

.header__logos {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-shrink: 0;
}

.header__logo-qualifica {
  height: 35px;
  width: auto;
}

.header__logo-igas {
  display: none;
  height: 39px;
  width: auto;
}

.header__divider {
  display: none;
  width: 1px;
  height: 39px;
  background: rgba(28,53,94,.20);
  flex-shrink: 0;
}

.header__nav {
  display: none;
  align-items: center;
  gap: var(--sp-8);
}

.header__nav a {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .875rem;
  color: var(--azul);
  transition: color .2s;
  white-space: nowrap;
}
.header__nav a:hover,
.header__nav a.is-active { color: var(--vermelho); }

.header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding-inline: var(--sp-5);
  background: var(--azul);
  color: var(--branco);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .875rem;
  border-radius: var(--r-md);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s ease, transform .15s ease;
}
.header__cta:hover  { background: #152a4a; transform: translateY(-1px); }
.header__cta:active { transform: translateY(0); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--vermelho);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -6%;
  z-index: -1;
  background-image: url("assets/img/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  animation: heroBgDrift 18s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes heroBgDrift {
  0%   { transform: scale(1.04) translate(0, 0); }
  50%  { transform: scale(1.08) translate(-1.2%, .8%); }
  100% { transform: scale(1.04) translate(1.2%, -.8%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; transform: none; }
}

/* Mobile: stacked layout */
.hero__layout {
  display: flex;
  flex-direction: column;
}

/* Hero card (left col) */
.hero__card-wrap {
  padding: var(--sp-10) var(--px) var(--sp-6);
}

.hero__card {
  background: var(--creme);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-card);
}

.hero__selo {
  position: absolute;
  z-index: 4;
  width: 104px;
  height: 104px;
  top: 55%;
  left: 65%;
  transform: translateX(-50%);
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.25));
  pointer-events: none;
}

.hero__h1-nowrap {
  white-space: nowrap;
}

.hero__h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.75rem, 5.2vw, 2.625rem);
  line-height: 1.05;
  color: var(--azul);
  text-transform: uppercase;
  letter-spacing: -.02em;
  margin-bottom: var(--sp-4);
}

.hero__rule {
  width: 48px;
  height: 3px;
  background: var(--vermelho);
  border-radius: 2px;
  margin-bottom: var(--sp-5);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(.9375rem, 2.5vw, 1.125rem);
  line-height: 1.4;
  color: rgba(28,53,94,.80);
  margin-bottom: var(--sp-5);
}

.hero__bullets {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}

.hero__bullet {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--azul);
  line-height: 1.5;
}

.hero__bullet-dot {
  color: var(--vermelho);
  font-weight: 900;
  flex-shrink: 0;
  margin-top: .1em;
  font-size: 1.1em;
  line-height: 1.45;
}

.hero__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  background: var(--vermelho);
  color: var(--branco);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-btn);
  margin-bottom: var(--sp-3);
  transition: background .2s, transform .15s, box-shadow .2s;
  border: 2px solid rgba(255,255,255,.2);
}
.hero__btn:hover {
  background: #c91e1b;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(229,36,33,.5);
}
.hero__btn:active { transform: translateY(0); }

.hero__urgency {
  font-family: var(--font-body);
  font-size: .8125rem;
  color: rgba(28,53,94,.60);
  text-align: left;
  line-height: 1.5;
}

/* Hero visual (right col) */
.hero__visual-wrap {
  position: relative;
  height: 480px;
  overflow: hidden;
}

.hero__decorativo {
  display: none;
}

.hero__mulher {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 96%;
  width: auto;
  object-fit: contain;
  z-index: 2;
  max-width: none; /* override img reset */
}

/* Hero floating icons */
.hero__icon {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

/* Mobile positions — match reference */
.hero__icon--notebook { width: 72px; height: 72px; top: 30%;  left: 14%; }
.hero__icon--baloes   { width: 53px; height: 53px; top: 18%;  right: 16%; }
.hero__icon--fone     { width: 53px; height: 53px; top: 55%;  left: 14%; }
.hero__icon--lampada  { width: 43px; height: 43px; top: 70%;  right: 14%; }
.hero__icon--mouse    { display: none; }

/* Float keyframes */
@keyframes float {
  0%, 100% { transform: translateY(0);    }
  50%       { transform: translateY(-6px); }
}

.hero__icon--baloes   { animation: float 4s ease-in-out 0.0s infinite; }
.hero__icon--lampada  { animation: float 4s ease-in-out 0.6s infinite; }
.hero__icon--notebook { animation: float 4s ease-in-out 1.2s infinite; }
.hero__icon--fone     { animation: float 4s ease-in-out 1.8s infinite; }
.hero__icon--mouse    { animation: float 4s ease-in-out 2.4s infinite; }

@media (prefers-reduced-motion: reduce) {
  .hero__icon { animation: none !important; }
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section-pad {
  padding-block: var(--sp-14);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1.15;
  color: var(--azul);
  text-align: center;
  margin-bottom: var(--sp-10);
}

/* ============================================================
   PARA QUEM É
   ============================================================ */
.para-quem {
  background: var(--creme);
}

/* "É para você" — bento grid */
.pq-sim {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-10);
}

.pq-item {
  background: var(--branco);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  box-shadow: 0 1px 0 rgba(28,53,94,.06);
}

.pq-item__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.75rem;
  color: var(--vermelho);
  line-height: 1;
  letter-spacing: -.02em;
}

.pq-item__lead-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9375rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--azul);
  line-height: 1.3;
  margin: 0;
}

.pq-item__rule {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--vermelho);
  border-radius: 2px;
}

.pq-item__sub {
  font-family: var(--font-body);
  font-size: .9375rem;
  color: rgba(28,53,94,.72);
  line-height: 1.55;
  margin: 0;
}

/* "Não é para você" card */
.pq-nao {
  background: transparent;
  padding: 0;
}

.pq-nao-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--azul);
  margin-bottom: var(--sp-5);
}

.pq-nao-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

.pq-nao-card {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: 1.5rem 1.25rem;
  border-radius: var(--r-lg);
  min-height: 100%;
}

.pq-nao-card--1 { background: #1C355E; }
.pq-nao-card--2 { background: #243F6D; }
.pq-nao-card--3 { background: #15294A; }

.pq-nao-card__x {
  color: var(--vermelho);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1.35;
}

.pq-nao-card__text {
  font-family: var(--font-body);
  font-size: .9375rem;
  color: rgba(240,238,233,.88);
  line-height: 1.55;
}

/* ============================================================
   BENEFÍCIOS
   ============================================================ */
.beneficios {
  background: var(--azul);
}

.beneficios .section-title { color: var(--branco); }

.beneficios__subtitle {
  text-align: center;
  font-family: var(--font-body);
  font-size: .9375rem;
  color: rgba(240,238,233,.75);
  margin-top: calc(-1 * var(--sp-6));
  margin-bottom: var(--sp-10);
  line-height: 1.5;
}

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

.ben-card {
  background: var(--creme);
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.ben-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.ben-card__icon--rh         { background-image: url("assets/icons/rh.svg"); }
.ben-card__icon--financeiro { background-image: url("assets/icons/financeiro.svg"); }
.ben-card__icon--juridico   { background-image: url("assets/icons/juridico.svg"); }
.ben-card__icon--marketing  { background-image: url("assets/icons/marketing.svg"); }
.ben-card__icon--suprimentos{ background-image: url("assets/icons/suprimentos.svg"); }
.ben-card__icon--ti         { background-image: url("assets/icons/ti.svg"); }
.ben-card__icon--inovacao   { background-image: url("assets/icons/inovacao.svg"); }

.ben-card__h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.3;
  color: var(--azul);
}

.ben-card__body {
  font-family: var(--font-body);
  font-size: .9375rem;
  color: rgba(28,53,94,.75);
  line-height: 1.7;
}

/* ============================================================
   COMO FUNCIONA
   ============================================================ */
.como-funciona {
  background: var(--creme);
}

/* 4 steps */
.steps {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  margin-bottom: var(--sp-12);
  position: relative;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}

.step__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--azul);
  color: var(--branco);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.step:hover .step__num {
  background: var(--vermelho);
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(229,36,33,.35);
}
@media (prefers-reduced-motion: reduce) {
  .step__num { transition: none; }
  .step:hover .step__num { transform: none; }
}

.step__h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--azul);
  margin-bottom: var(--sp-2);
}

.step__body {
  font-family: var(--font-body);
  font-size: .9375rem;
  color: rgba(28,53,94,.70);
  line-height: 1.65;
}

/* Attributes table */
/* Modules — bento grid em fundo vermelho */
.modules-wrap {
  background: var(--vermelho);
  border-radius: var(--r-lg);
  padding: var(--sp-10) var(--sp-6);
  margin-bottom: var(--sp-12);
}

.modules-h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--branco);
  text-align: center;
  margin-bottom: var(--sp-8);
}

.mod-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

.mod-card {
  background: var(--creme);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "icon  num   hours"
    "icon  title title"
    "aulas aulas aulas";
  column-gap: var(--sp-3);
  row-gap: var(--sp-2);
  align-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
  transition: transform .25s ease, box-shadow .25s ease;
  will-change: transform;
}
.mod-card:hover {
  transform: scale(1.05);
  box-shadow: 0 14px 32px rgba(0,0,0,.20);
  z-index: 2;
}
@media (prefers-reduced-motion: reduce) {
  .mod-card { transition: none; }
  .mod-card:hover { transform: none; }
}

.mod-card__icon {
  grid-area: icon;
  width: 3rem;
  height: 3rem;
  align-self: start;
  background-color: var(--vermelho);
  border-radius: var(--r-md);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 65%;
}
.mod-card__icon--rh         { background-image: url("assets/icons-creme/rh.svg"); }
.mod-card__icon--financeiro { background-image: url("assets/icons-creme/financeiro.svg"); }
.mod-card__icon--juridico   { background-image: url("assets/icons-creme/juridico.svg"); }
.mod-card__icon--marketing  { background-image: url("assets/icons-creme/marketing.svg"); }
.mod-card__icon--suprimentos{ background-image: url("assets/icons-creme/suprimentos.svg"); }
.mod-card__icon--ti         { background-image: url("assets/icons-creme/ti.svg"); }
.mod-card__icon--inovacao   { background-image: url("assets/icons-creme/inovacao.svg"); }

.mod-card__num {
  grid-area: num;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  color: var(--vermelho);
  letter-spacing: .04em;
}

.mod-card__hours {
  grid-area: hours;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .8125rem;
  color: rgba(28,53,94,.55);
  letter-spacing: .04em;
}

.mod-card__title {
  grid-area: title;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--azul);
  line-height: 1.25;
}

.mod-card__aulas {
  grid-area: aulas;
  margin-top: var(--sp-2);
  padding-top: var(--sp-3);
  border-top: 1px solid rgba(28,53,94,.12);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  font-family: var(--font-body);
  font-size: .875rem;
  color: rgba(28,53,94,.78);
  line-height: 1.55;
}
.mod-card__aulas li {
  position: relative;
  padding-left: 1rem;
}
.mod-card__aulas li::before {
  content: "·";
  position: absolute;
  left: .25rem;
  top: -.05em;
  color: var(--vermelho);
  font-weight: 900;
  font-size: 1.1em;
  line-height: 1;
}

/* CTA intermediário */
.como-funciona--no-pad-bottom { padding-bottom: 0 !important; }

.cta-mid {
  background: linear-gradient(135deg, #5B7FB8 0%, #34568B 30%, #1C355E 65%, #15294A 100%);
  background-size: 220% 220%;
  animation: ctaGradient 16s ease-in-out infinite;
  padding: 0;
  width: 100%;
  overflow: hidden;
}

@keyframes ctaGradient {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .cta-mid { animation: none; }
}

.cta-mid__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 0 var(--px);
}

.cta-mid__media {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-top: var(--sp-10);
}
.cta-mid__media img {
  display: block;
  width: auto;
  max-height: 360px;
  object-fit: contain;
}

.cta-mid__body {
  padding: var(--sp-10) 0 var(--sp-12);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-5);
  text-align: left;
}

.cta-mid__h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.375rem, 3.5vw, 2rem);
  color: var(--creme);
  margin: 0;
  line-height: 1.2;
}

/* Shared CTA button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(360px, 100%);
  height: 56px;
  padding-inline: var(--sp-8);
  background: var(--vermelho);
  color: var(--branco);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  border-radius: var(--r-md);
  margin-bottom: var(--sp-4);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-primary:hover {
  background: #c91e1b;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(229,36,33,.4);
}
.btn-primary:active { transform: translateY(0); }

.cta-mid__nota {
  font-family: var(--font-body);
  font-size: .8125rem;
  color: rgba(240,238,233,.65);
  line-height: 1.5;
  margin: 0;
}

.cta-mid .btn-primary { margin-bottom: 0; }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: var(--branco);
}

.faq__list {
  max-width: var(--max-w-lg);
  margin-inline: auto;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(28,53,94,.10);
}

.faq__item {
  border-bottom: 1px solid rgba(28,53,94,.10);
}
.faq__item:last-child { border-bottom: none; }

.faq__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 1.25rem var(--sp-6);
  text-align: left;
  background: transparent;
  cursor: pointer;
  min-height: 64px;
  transition: background .15s;
}
.faq__btn:hover { background: rgba(28,53,94,.03); }

.faq__q {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .9375rem;
  color: var(--azul);
  line-height: 1.45;
}

.faq__chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--vermelho);
  transition: transform .22s ease;
}

.faq__item[data-open="true"] .faq__chevron {
  transform: rotate(90deg);
}

.faq__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .32s ease;
}

.faq__panel-inner {
  padding: 0 var(--sp-6) var(--sp-6);
  font-family: var(--font-body);
  font-size: .9375rem;
  color: rgba(28,53,94,.80);
  line-height: 1.75;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  background: var(--vermelho);
  padding-block: var(--sp-16);
  text-align: center;
}

.cta-final__inner {
  max-width: var(--max-w-lg);
  margin-inline: auto;
}

.cta-final__h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.1;
  color: var(--creme);
  margin-bottom: var(--sp-6);
}

.cta-final__lead {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(240,238,233,.90);
  margin-bottom: var(--sp-5);
  line-height: 1.5;
}

.cta-final__p {
  font-family: var(--font-body);
  font-size: clamp(.9375rem, 2vw, 1.125rem);
  color: rgba(240,238,233,.80);
  margin-bottom: var(--sp-8);
  line-height: 1.65;
}

/* Inverted button */
.btn-invertido {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(400px, 100%);
  height: 60px;
  padding-inline: var(--sp-8);
  background: var(--creme);
  color: var(--azul);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-btn-inv);
  margin-bottom: var(--sp-5);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-invertido:hover {
  background: #e5e3de;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,0,0,.24);
}
.btn-invertido:active { transform: translateY(0); }

.cta-final__nota {
  font-family: var(--font-body);
  font-size: .875rem;
  color: rgba(240,238,233,.70);
  margin-bottom: var(--sp-12);
  letter-spacing: .01em;
}

.cta-final__nota .sep { margin-inline: var(--sp-2); opacity: .6; }

.cta-final__selo {
  width: 72px;
  height: auto;
  margin-inline: auto;
  opacity: .92;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--azul);
  padding-block: var(--sp-8);
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-5);
  text-align: center;
}

.footer__logos {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  flex-wrap: wrap;
  justify-content: center;
}

.footer__logo {
  height: 38px;
  width: auto;
}

.footer__copy {
  font-family: var(--font-body);
  font-size: .8125rem;
  color: rgba(240,238,233,.50);
  line-height: 1.5;
}

.footer__nav {
  display: flex;
  gap: var(--sp-6);
}

.footer__link {
  font-family: var(--font-body);
  font-size: .8125rem;
  color: rgba(240,238,233,.70);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.footer__link:hover { color: var(--creme); }

/* ============================================================
   RESPONSIVE — TABLET ≥ 768px
   ============================================================ */
@media (min-width: 48rem) {

  :root { --header-h: 72px; }

  /* Hero: side-by-side */
  .hero__layout {
    flex-direction: row;
    min-height: 540px;
  }

  .hero__card-wrap {
    width: 50%;
    display: flex;
    align-items: center;
    padding: var(--sp-12) var(--sp-8) var(--sp-12) var(--px);
  }

  .hero__card { padding: 2.5rem 2rem; }

  .hero__visual-wrap {
    width: 50%;
    height: auto;
    min-height: 480px;
    overflow: hidden;
  }

  .hero__mulher { height: 96%; }

  .hero__selo { width: 116px; height: 116px; top: 52%; left: 65%; transform: translateX(-50%); }

  .hero__icon--notebook { width: 89px; height: 89px; top: 30%; left: 16%; }
  .hero__icon--baloes   { width: 65px; height: 65px; top: 18%; right: 18%; }
  .hero__icon--fone     { width: 62px; height: 62px; top: 55%; left: 16%; }
  .hero__icon--lampada  { width: 50px; height: 50px; top: 70%; right: 16%; }
  .hero__icon--mouse    { display: none; }

  /* CTA mid — image left, text right (centralizado na LP) */
  .cta-mid__inner {
    grid-template-columns: auto auto;
    justify-content: center;
    align-items: center;
    column-gap: 4.6rem; /* +15% sobre 4rem baseline */
  }
  .cta-mid__media {
    padding: 0;
    align-items: flex-end;
    justify-content: flex-end;
  }
  .cta-mid__media img { max-height: 520px; height: 100%; }
  .cta-mid__body {
    padding: var(--sp-12) 0;
    justify-content: center;
  }

  /* Módulos — bento 2-col */
  .mod-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-5);
  }

  /* Para quem é — bento 6-col */
  .pq-sim {
    grid-template-columns: repeat(6, 1fr);
    gap: var(--sp-5);
  }
  .pq-item--1 { grid-column: span 2; }
  .pq-item--2 { grid-column: span 2; }
  .pq-item--3 { grid-column: span 2; }
  .pq-item--4 { grid-column: span 3; }
  .pq-item--5 { grid-column: span 3; }
  .pq-item { padding: 1.75rem 1.5rem; }
  .pq-item__num { font-size: 2rem; }

  .pq-nao-grid { grid-template-columns: repeat(3, 1fr); }

  /* Benefícios 2-col */
  .ben-grid { grid-template-columns: repeat(2, 1fr); }

  /* Steps horizontal */
  .steps {
    flex-direction: row;
    gap: var(--sp-12);
    align-items: flex-start;
  }

  .step {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    flex: 1;
    gap: var(--sp-3);
  }

  /* Connector line between numbers */
  .steps {
    position: relative;
  }
  .steps::before {
    content: '';
    position: absolute;
    top: 23px; /* center of 48px circle */
    left: calc(48px / 2 + 4%);
    right: calc(48px / 2 + 4%);
    height: 1px;
    background: rgba(28,53,94,.20);
    z-index: 0;
    pointer-events: none;
  }

}

/* ============================================================
   RESPONSIVE — DESKTOP ≥ 1280px
   ============================================================ */
@media (min-width: 80rem) {

  /* Header */
  .header__logo-qualifica { height: 35px; }
  .header__logo-igas  { display: block; height: 35px; }
  .header__divider    { display: block; height: 35px; }
  .header__nav        { display: flex; }
  .header__cta { height: 44px; font-size: .9375rem; padding-inline: var(--sp-6); }

  /* Hero */
  .hero__layout {
    max-height: 720px;
    min-height: calc(100vh - var(--header-h));
  }

  .hero__card-wrap {
    padding: var(--sp-20) var(--sp-12) var(--sp-20) 2rem;
    align-items: center;
  }

  .hero__card { padding: 3.5rem 3rem; }

  .hero__h1 { font-size: 2.75rem; }

  .hero__btn {
    width: 280px;
    height: 56px;
    font-size: 1.0625rem;
  }

  .hero__visual-wrap { min-height: 640px; }
  .hero__mulher { height: 96%; }

  .hero__selo { width: 136px; height: 136px; top: 52%; left: 65%; transform: translateX(-50%); }

  .hero__icon--notebook { width: 110px; height: 110px; top: 30%; left: 18%; }
  .hero__icon--baloes   { width: 82px; height: 82px; top: 18%; right: 20%; }
  .hero__icon--fone     { width: 77px; height: 77px; top: 55%; left: 18%; }
  .hero__icon--lampada  { width: 62px; height: 62px; top: 70%; right: 18%; }
  .hero__icon--mouse    { display: none; }

  /* Sections */
  .section-pad  { padding-block: var(--sp-20); }
  .para-quem    { padding-block: var(--sp-20); }
  .beneficios   { padding-block: var(--sp-20); }
  .como-funciona{ padding-block: var(--sp-20); }
  .faq          { padding-block: var(--sp-20); }
  .cta-final    { padding-block: var(--sp-24); }

  /* Para quem é — desktop bento */
  .pq-sim { gap: var(--sp-6); }
  .pq-item { padding: 2rem 1.75rem; }
  .pq-item__num { font-size: 2.5rem; }
  .pq-item__lead-text { font-size: 1rem; }
  .pq-item__sub { font-size: .9375rem; }

  /* CTA mid — desktop refinements */
  .cta-mid__inner { column-gap: 5.5rem; }
  .cta-mid__media img { max-height: 620px; }
  .cta-mid__body { padding: var(--sp-16) 0; }

  /* Módulos — desktop bento 3-col, último span 3 */
  .modules-wrap { padding: var(--sp-12) var(--sp-10); }
  .mod-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-6);
  }
  .mod-card--7 { grid-column: 1 / -1; }
  .mod-card--7 .mod-card__aulas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: var(--sp-6);
  }

  /* Benefícios — bento 2 de cada lado */
  .ben-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .ben-card:nth-child(1),
  .ben-card:nth-child(2),
  .ben-card:nth-child(3),
  .ben-card:nth-child(4),
  .ben-card:nth-child(5),
  .ben-card:nth-child(6) { grid-column: auto; }
  .ben-card:nth-child(7) { grid-column: 1 / -1; }

}

/* ============================================================
   HERO LAYOUT — container centering
   The hero__layout sits inside .hero, NOT inside a .container,
   so we apply max-width directly here.
   ============================================================ */
.hero__layout {
  max-width: var(--max-w);
  margin-inline: auto;
  width: 100%;
}

/* hero card-wrap tablet padding already set in main tablet block */

/* hero layout — desktop padding already set above */
