/* ==========================================================================
   GMS Sistemas — estilos
   Mobile-first. Breakpoints: 768px (tablet) e 1080px (desktop).
   ========================================================================== */

:root {
  --blue: #2348FF;       /* Azul Elétrico */
  --blue-dark: #1A36CC;  /* hover do azul */
  --night: #0A1330;      /* Azul Noite */
  --yellow: #FFD60A;     /* Amarelo Energia */
  --yellow-dark: #F0C800;
  --ice: #F2F4FA;        /* Cinza Gelo */
  --white: #FFFFFF;
  --muted: #475070;      /* texto secundário (contraste AA sobre branco e gelo) */
  --line: #DDE2EF;

  --font-title: "Exo 2", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;

  --header-h: 68px;
  --container: 1180px;
  --gutter: 20px;
}

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--night);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.12; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.on-blue :focus-visible, .on-night :focus-visible { outline-color: var(--yellow); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--yellow); color: var(--night); font-weight: 700;
  padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Placeholders (campos a preencher) ---------- */
.ph {
  display: inline;
  background: #FFF4B8;
  color: var(--night);
  border: 1px dashed #B89A00;
  border-radius: 6px;
  padding: 0 6px;
  font-weight: 700;
  font-size: .92em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: .75rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--yellow); }
.on-blue .eyebrow, .on-night .eyebrow { color: var(--white); }

.section { padding: 72px 0; }
.section--ice { background: var(--ice); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head h2 { font-weight: 800; font-size: clamp(1.9rem, 6vw, 2.9rem); margin-top: 12px; letter-spacing: -.01em; }
.section-head p { margin-top: 16px; font-size: 1.075rem; color: var(--muted); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 24px;
  border: 2px solid transparent; border-radius: var(--r-sm);
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--yellow); color: var(--night); }
.btn--primary:hover { background: var(--yellow-dark); }
.btn--secondary { background: var(--blue); color: var(--white); }
.btn--secondary:hover { background: var(--blue-dark); }
.btn--ghost { background: transparent; color: var(--night); border-color: var(--night); }
.btn--ghost:hover { background: var(--night); color: var(--white); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: .95rem; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--night); }
.logo__mark { width: 38px; height: 38px; flex: none; color: var(--blue); }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-title); font-weight: 800; font-size: 1.45rem; letter-spacing: .02em; }
.logo__sub { font-family: var(--font-title); font-weight: 500; font-size: .58rem; letter-spacing: .42em; margin-top: 3px; }
.logo--light { color: var(--white); }
.logo--light .logo__mark { color: var(--white); }

/* ---------- Header / menu ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(10, 19, 48, .06); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0;
  background: var(--ice); border: 0; border-radius: var(--r-sm); cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 22px; height: 2px; background: var(--night); transition: background-color .2s; }
.nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--night);
  transition: transform .25s;
}
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

.nav {
  position: fixed; top: var(--header-h); left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px rgba(10, 19, 48, .12);
  padding: 8px var(--gutter) 24px;
  display: none;
}
.nav.is-open { display: block; }
.nav__list a {
  display: block; padding: 14px 4px;
  font-weight: 700; font-size: 1.1rem; text-decoration: none;
  border-bottom: 1px solid var(--ice);
}
.nav__list a:hover { color: var(--blue); }
.nav__cta { margin-top: 20px; width: 100%; }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--header-h) + 40px) 0 72px; position: relative; overflow: hidden; }
.hero::before {
  /* malha geométrica sutil no fundo */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--ice) 1px, transparent 1px),
    linear-gradient(90deg, var(--ice) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; gap: 48px; align-items: center; }
.hero h1 {
  font-weight: 800;
  font-size: clamp(2.4rem, 10vw, 4.1rem);
  letter-spacing: -.02em;
  margin-top: 16px;
}
.hero h1 .hl { color: var(--blue); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .16em;
  background: var(--yellow); z-index: -1;
}
.hero__lead { margin-top: 20px; font-size: 1.125rem; color: var(--muted); max-width: 560px; }
.hero__actions { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.hero__note { margin-top: 18px; font-size: .9rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero__note svg { width: 18px; height: 18px; color: var(--blue); flex: none; }

/* Painel ilustrado */
.panel {
  position: relative;
  background: var(--night);
  border-radius: var(--r-lg);
  padding: 14px;
  box-shadow: 0 30px 60px -20px rgba(10, 19, 48, .45);
}
.panel__bar { display: flex; align-items: center; gap: 6px; padding: 2px 4px 12px; }
.panel__bar i { width: 10px; height: 10px; border-radius: 50%; background: #26315A; }
.panel__bar i:first-child { background: var(--yellow); }
.panel__bar span { margin-left: auto; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #8C96B8; font-weight: 700; }
.panel__body { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pcard { background: var(--white); border-radius: var(--r-sm); padding: 14px; }
.pcard--wide { grid-column: 1 / -1; }
.pcard--blue { background: var(--blue); color: var(--white); }
.pcard__label { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pcard--blue .pcard__label { color: rgba(255, 255, 255, .8); }
.pcard__title { font-family: var(--font-title); font-weight: 800; font-size: 1.05rem; margin-top: 4px; }
.pcard__check { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .8rem; font-weight: 700; }
.pcard__check svg { width: 22px; height: 22px; padding: 4px; border-radius: 6px; background: var(--yellow); color: var(--night); }
.stock { margin-top: 10px; display: grid; gap: 8px; }
.stock__row { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 10px; font-size: .74rem; font-weight: 700; }
.stock__track { height: 8px; border-radius: 4px; background: var(--ice); overflow: hidden; }
.stock__fill { height: 100%; border-radius: 4px; background: var(--blue); }
.stock__fill--low { background: var(--yellow); }
.chart { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: 12px; }
.chart span { flex: 1; border-radius: 4px 4px 0 0; background: #DCE2FF; }
.chart span.is-hi { background: var(--blue); }
.chart span.is-top { background: var(--yellow); }
.panel__chip {
  position: absolute; right: -6px; bottom: -18px;
  display: flex; align-items: center; gap: 8px;
  background: var(--yellow); color: var(--night);
  padding: 10px 14px; border-radius: var(--r-sm);
  font-weight: 700; font-size: .82rem;
  box-shadow: 0 12px 24px -8px rgba(10, 19, 48, .35);
}
.panel__chip svg { width: 18px; height: 18px; }

/* ---------- Dor ---------- */
.pains { display: grid; gap: 16px; }
.pain {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border-radius: var(--r-md); padding: 22px;
  border: 1px solid var(--line);
}
.pain__icon {
  flex: none; width: 48px; height: 48px; border-radius: var(--r-sm);
  display: grid; place-items: center;
  background: var(--ice); color: var(--night);
}
.pain__icon svg { width: 24px; height: 24px; }
.pain h3 { font-weight: 700; font-size: 1.15rem; }
.pain p { margin-top: 6px; color: var(--muted); font-size: .97rem; }

.turn {
  margin-top: 32px;
  background: var(--blue); color: var(--white);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  display: grid; gap: 20px;
  position: relative; overflow: hidden;
}
.turn::after {
  content: ""; position: absolute; right: -50px; bottom: -60px; width: 200px; height: 200px;
  background: rgba(255, 255, 255, .08);
  clip-path: polygon(30% 0, 100% 0, 100% 70%, 70% 100%, 0 100%, 0 30%);
}
.turn h3 { font-weight: 800; font-size: clamp(1.7rem, 6vw, 2.3rem); position: relative; }
.turn h3 span { color: var(--yellow); }
.turn p { font-size: 1.05rem; color: rgba(255, 255, 255, .92); max-width: 560px; position: relative; }
.turn .btn { position: relative; justify-self: start; }

/* ---------- Serviços ---------- */
.services { display: grid; gap: 16px; }
.service {
  background: var(--ice); border-radius: var(--r-lg); padding: 28px 24px;
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.service:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(10, 19, 48, .35); }
.service--featured { background: var(--blue); color: var(--white); }
.service__icon {
  width: 52px; height: 52px; border-radius: var(--r-sm);
  display: grid; place-items: center;
  background: var(--blue); color: var(--white);
}
.service--featured .service__icon { background: var(--white); color: var(--blue); }
.service__icon svg { width: 26px; height: 26px; }
.service h3 { margin-top: 20px; font-weight: 700; font-size: 1.3rem; }
.service p { margin-top: 10px; color: var(--muted); }
.service--featured p { color: rgba(255, 255, 255, .9); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags li {
  font-size: .78rem; font-weight: 700; padding: 6px 10px; border-radius: 8px;
  background: var(--white); color: var(--night);
}
.service--featured .tags li { background: rgba(255, 255, 255, .14); color: var(--white); }

/* ---------- Como funciona ---------- */
.how { background: var(--night); color: var(--white); }
.how .section-head p { color: #B8C0DC; }
.steps { display: grid; gap: 16px; counter-reset: step; }
.step {
  position: relative;
  background: #121D45; border: 1px solid #1F2B5C;
  border-radius: var(--r-lg); padding: 26px 24px;
}
.step__num {
  font-family: var(--font-title); font-weight: 800; font-size: 2.6rem; line-height: 1;
  color: var(--yellow);
}
.step h3 { margin-top: 14px; font-weight: 700; font-size: 1.3rem; }
.step__sub { margin-top: 4px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8FA2FF; }
.step p { margin-top: 10px; color: #C3CAE3; }

/* ---------- Portfólio ---------- */
.cases { display: grid; gap: 24px; }
.case {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
}
.case__media {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background-color: var(--blue);
  background-image:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 28px 28px;
  display: grid; place-items: center;
}
.case__media--night { background-color: var(--night); }
.case__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case__ph { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--white); text-align: center; }
.case__initials {
  font-family: var(--font-title); font-weight: 800; font-size: 2.6rem; line-height: 1;
  width: 96px; height: 96px; display: grid; place-items: center;
  border: 3px solid var(--white);
  clip-path: polygon(22% 0, 100% 0, 100% 78%, 78% 100%, 0 100%, 0 22%);
  position: relative;
}
.case__ph small { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; opacity: .8; }
.case__dot { position: absolute; top: 18px; right: 18px; width: 14px; height: 14px; background: var(--yellow); }
.case__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.tag {
  align-self: flex-start;
  font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background: var(--ice); color: var(--blue); padding: 6px 10px; border-radius: 8px;
}
.case h3 { margin-top: 14px; font-weight: 800; font-size: 1.5rem; }
.case__problem { margin-top: 8px; color: var(--muted); }
.case__label { margin-top: 18px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--night); }
.checklist { margin-top: 10px; display: grid; gap: 8px; }
.checklist li { position: relative; padding-left: 26px; font-size: .96rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px;
  background: var(--blue);
  clip-path: polygon(30% 0, 100% 0, 100% 70%, 70% 100%, 0 100%, 0 30%);
}
.case__result { margin-top: 16px; font-size: .96rem; }
.case__result strong { font-weight: 700; }
.quote {
  margin: 20px 0 0; padding: 18px 18px 18px 20px;
  background: var(--ice); border-radius: var(--r-sm);
  border-left: 4px solid var(--yellow);
  font-size: .95rem;
}
.quote p { font-style: italic; }
.quote footer { margin-top: 8px; font-size: .85rem; font-weight: 700; color: var(--muted); }
.case__spacer { flex: 1; }
.case__media--wide { display: block; aspect-ratio: auto; background: var(--night); }
.case__media--wide img { position: static; width: 100%; height: auto; }
.case__aside { display: flex; flex-direction: column; }
.case__aside .case__result { margin-top: 0; }
.case__body--split > div:first-child + .case__aside { margin-top: 20px; }
.case__pdf { margin-top: 20px; align-self: flex-start; }

/* ---------- Sobre ---------- */
.about__grid { display: grid; gap: 40px; align-items: center; }
.about__photo {
  position: relative; max-width: 420px; aspect-ratio: 4 / 5;
  background: var(--blue);
  clip-path: polygon(14% 0, 100% 0, 100% 86%, 86% 100%, 0 100%, 0 14%);
  display: grid; place-items: center; overflow: hidden;
}
.about__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about__photo-ph { color: var(--white); text-align: center; padding: 20px; }
.about__photo-ph svg { width: 72px; height: 72px; margin: 0 auto 12px; opacity: .9; }
.about__wrap { position: relative; justify-self: center; width: 100%; max-width: 420px; }
.about__wrap::after {
  content: ""; position: absolute; right: -12px; bottom: -12px; width: 64px; height: 64px;
  background: var(--yellow); z-index: -1;
}
.about__text h2 { font-weight: 800; font-size: clamp(1.9rem, 6vw, 2.7rem); margin-top: 12px; }
.about__text p { margin-top: 16px; font-size: 1.06rem; color: var(--muted); }
.about__text p strong { color: var(--night); }
.about__sign { margin-top: 24px; display: flex; flex-direction: column; }
.about__sign strong { font-family: var(--font-title); font-weight: 800; font-size: 1.2rem; }
.about__sign span { font-size: .9rem; color: var(--muted); }
.biz { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.biz li { font-size: .8rem; font-weight: 700; padding: 8px 12px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item { background: var(--white); border-radius: var(--r-md); border: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px;
  font-family: var(--font-title); font-weight: 700; font-size: 1.12rem;
  border-radius: var(--r-md);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  flex: none; width: 32px; height: 32px; border-radius: 8px;
  background: var(--white); position: relative;
  transition: background-color .2s;
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px;
  background: var(--night); transform: translate(-50%, -50%); transition: transform .25s;
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--yellow); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__answer { padding: 0 22px 22px; color: var(--muted); }

/* ---------- CTA final ---------- */
.cta { background: var(--blue); color: var(--white); padding: 72px 0; position: relative; overflow: hidden; }
.cta::before, .cta::after {
  content: ""; position: absolute; background: rgba(255, 255, 255, .08);
  clip-path: polygon(30% 0, 100% 0, 100% 70%, 70% 100%, 0 100%, 0 30%);
}
.cta::before { width: 240px; height: 240px; left: -80px; top: -80px; }
.cta::after { width: 56px; height: 56px; right: 8%; bottom: 48px; background: var(--yellow); clip-path: none; }
.cta__inner { position: relative; text-align: center; max-width: 760px; margin: 0 auto; }
.cta h2 { font-weight: 800; font-size: clamp(2rem, 7vw, 3.2rem); letter-spacing: -.01em; }
.cta p { margin-top: 16px; font-size: 1.1rem; color: rgba(255, 255, 255, .92); }
.cta .btn { margin-top: 32px; }

/* ---------- Rodapé ---------- */
.footer { background: var(--night); color: #C3CAE3; padding: 56px 0 28px; }
.footer__grid { display: grid; gap: 36px; }
.footer__slogan { margin-top: 16px; font-family: var(--font-title); font-weight: 700; font-size: 1.1rem; color: var(--white); }
.footer__tag { margin-top: 4px; font-size: .95rem; }
.footer h3 { font-family: var(--font-body); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--white); }
.footer__list { margin-top: 14px; display: grid; gap: 10px; }
.footer__list a { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.footer__list a:hover { color: var(--yellow); }
.footer__list svg { width: 18px; height: 18px; flex: none; }
.footer__bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid #1F2B5C;
  display: flex; flex-direction: column; gap: 8px; font-size: .85rem;
}
.footer__bottom a:hover { color: var(--yellow); }

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--yellow); color: var(--night);
  box-shadow: 0 12px 28px -8px rgba(10, 19, 48, .5);
  transition: transform .2s;
}
.whats-float:hover { transform: translateY(-3px); }
.whats-float svg { width: 30px; height: 30px; }

/* ---------- Página interna (privacidade) ---------- */
.page { padding: calc(var(--header-h) + 48px) 0 72px; }
.page__content { max-width: 760px; }
.page__content h1 { font-weight: 800; font-size: clamp(2rem, 7vw, 2.8rem); margin-top: 12px; }
.page__content h2 { font-weight: 700; font-size: 1.35rem; margin-top: 36px; }
.page__content p, .page__content li { margin-top: 12px; color: var(--muted); }
.page__content ul { list-style: disc; padding-left: 22px; }
.page__updated { margin-top: 12px; font-size: .9rem; color: var(--muted); }

/* ---------- Animação ao rolar ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover, .service:hover, .whats-float:hover { transform: none; }
}

/* ==========================================================================
   Tablet ≥ 768px
   ========================================================================== */
@media (min-width: 768px) {
  :root { --gutter: 32px; }
  .section { padding: 96px 0; }
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .pains { grid-template-columns: 1fr 1fr; }
  .turn { grid-template-columns: 1fr auto; align-items: center; padding: 40px; }
  .turn h3, .turn p { grid-column: 1; }
  .turn .btn { grid-column: 2; grid-row: 1 / span 2; }
  .services { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cases { grid-template-columns: 1fr 1fr; }
  .case--featured { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__bottom { flex-direction: row; justify-content: space-between; }
  .cta { padding: 96px 0; }
}

/* ==========================================================================
   Desktop ≥ 1080px
   ========================================================================== */
@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .nav {
    position: static; display: flex; align-items: center; gap: 28px;
    background: none; border: 0; box-shadow: none; padding: 0;
  }
  .nav__list { display: flex; gap: 26px; }
  .nav__list a { padding: 8px 0; border: 0; font-size: .97rem; position: relative; }
  .nav__list a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
    background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .2s;
  }
  .nav__list a:hover { color: var(--night); }
  .nav__list a:hover::after { transform: scaleX(1); }
  .nav__cta { margin: 0; width: auto; }

  .hero { padding: calc(var(--header-h) + 72px) 0 112px; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 64px; }
  .panel { padding: 18px; transform: rotate(-1.5deg); }
  .pcard { padding: 18px; }

  .services { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 46px; right: -17px; width: 18px; height: 2px; background: var(--yellow);
  }
  .cases { grid-template-columns: repeat(2, 1fr); }
  .case__body--split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; padding: 32px; }
  .case__body--split > div:first-child + .case__aside { margin-top: 0; padding-top: 44px; }
  .about__grid { grid-template-columns: .85fr 1.15fr; gap: 80px; }
  .faq__item summary { padding: 22px 26px; }
  .faq__answer { padding: 0 26px 24px; }
}
