/* Máxima Computadores · institucional */
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --ink: #111e34;
  --navy: #0b1b30;
  --navy-soft: #142a42;
  --muted: #526073;
  --line: #d9e2e8;
  --paper: #f2f6f8;
  --white: #fff;
  --mint: #72edc9;
  --teal: #086c61;
  --ice: #b1e8f3;
  --on-dark: #c5d3de;
  --focus: #0875ba;
  --gutter: clamp(1.2rem, 4.8vw, 5rem);
  --section-space: clamp(3.75rem, 6.5vw, 6.75rem);
  --gap: clamp(1rem, 1.8vw, 1.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; font: 400 1rem/1.58 "DM Sans", "Segoe UI", Arial, sans-serif; color: var(--ink); background: var(--white); }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.12; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.hero :focus-visible, .process :focus-visible, .footer :focus-visible { outline-color: var(--mint); }
.container { width: min(100% - var(--gutter) * 2, 78rem); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.center { text-align: center; }
.section__head { margin-bottom: clamp(1.6rem, 3vw, 3rem); }
.section__title { font-size: clamp(2rem, 3.65vw, 3.65rem); font-weight: 620; letter-spacing: -.055em; }
.eyebrow { display: inline-flex; align-items: center; gap: .65rem; margin: 0 0 .85rem; color: var(--teal); font-size: .8rem; font-weight: 720; letter-spacing: .105em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico, .ico-wpp { width: 1.3em; height: 1.3em; flex: none; }
.ico { fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.ico-wpp { fill: currentColor; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip:focus { position: fixed; z-index: 100; background: white; padding: .8rem 1.25rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .85rem 1.35rem; border-radius: 10px; font-weight: 680; font-size: 1rem; line-height: 1.35; text-align: center; transition: background-color .18s, border-color .18s; }
.btn--yellow { background: var(--mint); color: #082924; }
.btn--yellow:hover { background: #a1f5db; }
.btn--outline { color: var(--white); border: 1px solid #78909d; background: rgba(12,29,45,.52); }
.btn--outline:hover { background: #273e51; border-color: white; }
.btn--sm { min-height: 42px; font-size: .92rem; padding: .65rem 1rem; }

/* Cabeçalho, abertura e faixa de informações */
.header { position: sticky; z-index: 40; top: 0; background: white; border-bottom: 1px solid var(--line); }
.header.is-stuck { box-shadow: 0 3px 15px #0e223209; }
.header__inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { display: inline-flex; align-items: center; flex: none; }
.wordmark { width: 145px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(.75rem, 1.9vw, 1.8rem); }
.nav__link { position: relative; padding-block: 13px; color: #415062; font-size: .9rem; font-weight: 570; }
.nav__link::after { content: ""; position: absolute; inset: auto 0 5px; height: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .18s; }
.nav__link:is(:hover,.is-active)::after { transform: scaleX(1); }
.nav__link:is(:hover,.is-active) { color: var(--ink); }
.header__cta { color: white; background: var(--navy); }
.header__cta:hover { background: #254158; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: white; border-radius: 9px; }
.burger span { width: 19px; height: 1.7px; border-radius: 2px; background: var(--ink); transition: transform .15s; }
.burger.is-open span:first-child { transform: translateY(5.7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:last-child { transform: translateY(-5.7px) rotate(-45deg); }

.hero { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: clamp(470px, 39vw, 660px); background: #071321; color: white; }
.hero__media, .hero__overlay { position: absolute; inset: 0; }
.hero__media { z-index: -1; }
.hero__media picture, .hero__media img { display: block; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: center; }
.hero__overlay { background: linear-gradient(90deg, rgba(5,15,29,.88), rgba(5,15,29,.73) 33%, rgba(5,15,29,.12) 58%, transparent 79%); }
.hero__content { padding-block: clamp(3.5rem, 5.5vw, 5.7rem); max-width: 54%; }
.hero__eyebrow { color: #c0e6e5; margin-bottom: 1.3rem; }
.hero__eyebrow::before { display: none; }
.hero__eyebrow .ico { color: var(--mint); width: 17px; height: 17px; }
.hero__title { font-size: clamp(3.2rem, 5.5vw, 5.65rem); line-height: .995; letter-spacing: -.067em; font-weight: 650; }
.hero__title span { color: #98ecd8; }
.hero__text { max-width: 43ch; margin-block: 1.3rem 1.7rem; color: #deeaee; font-size: clamp(1rem, 1.22vw, 1.13rem); }
.hero__actions { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.hero__actions .btn--outline { padding-inline: .9rem; font-size: .93rem; }
.stats { background: #eff6f5; border-bottom: 1px solid #d1e2df; }
.stats__list { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: clamp(1.35rem, 2.3vw, 2.25rem); }
.stats__list li { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 1rem; padding-inline: clamp(.75rem, 2vw, 2rem); border-left: 1px solid #c9dcd8; }
.stats__list li:first-child { border: 0; padding-left: 0; }
.stats__list .ico { grid-row: span 2; color: var(--teal); width: 1.9rem; height: 1.9rem; }
.stats__num { font-weight: 640; font-size: clamp(1.35rem, 2.5vw, 2.35rem); letter-spacing: -.055em; line-height: 1.1; }
.stats__label { margin-top: .2rem; color: #445d61; font-size: .91rem; }

/* Cards por situação e diferenciais */
.services .section__head, .works .section__head, .reviews .section__head { text-align: left; }
.services__grid, .reviews__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--gap); }
.service { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 1.15rem; box-shadow: 0 5px 22px #18324e09; background: white; }
.service__media { position: relative; }
.service__photo { aspect-ratio: 2 / 1; background: #dce6ec; overflow: hidden; }
.service__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.service:focus-within .service__photo img { transform: scale(1.035); }
.service__icon { position: absolute; left: 1.3rem; bottom: -15px; border: 2px solid white; display: grid; place-items: center; width: 39px; height: 39px; border-radius: 11px; color: #235d66; background: #e8f8f3; }
.service__body { display: flex; flex: 1; flex-direction: column; padding: 1.9rem clamp(1.15rem,1.8vw,1.65rem) 1.15rem; }
.service h3, .why__item h3 { font-size: clamp(1.15rem,1.48vw,1.45rem); font-weight: 650; letter-spacing: -.035em; }
.service__body p, .why__item p { color: var(--muted); margin-top: .6rem; }
.case-link { display: inline-flex; align-items: center; align-self: flex-start; gap: .5rem; padding: 1rem 0 .1rem; min-height: 44px; margin-top: auto; color: var(--teal); font-weight: 680; }
.case-link:hover, .review-link a:hover, .footer__col a:hover { text-decoration: underline; text-underline-offset: .24em; }
.why { background: var(--paper); }
.why .container { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.45fr); gap: clamp(2rem,5vw,5rem); align-items: start; }
.why .section__head { text-align: left; margin: 0; }
.why__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 2rem; }
.why__item { padding: 1.4rem 0 1.6rem; border-top: 1px solid #c7d5dc; }
.why__icon { display: inline-flex; color: var(--teal); margin-bottom: .8rem; }
.why__icon .ico { width: 26px; height: 26px; }
.why__item h3 { font-size: 1.14rem; }

/* Galeria */
.works { background: var(--navy); color: white; }
.works .eyebrow, .process .eyebrow { color: var(--mint); }
.works__grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); grid-auto-rows: clamp(160px,17vw,240px); gap: .8rem; }
.work { position: relative; grid-column: span 3; overflow: hidden; isolation: isolate; border-radius: .85rem; background: #21344b; }
.work:first-child, .work:last-child { grid-column: span 6; }
.work img { width: 100%; height: 100%; object-fit: cover; }
.work::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(0deg,rgba(4,16,29,.82),transparent); }
.work figcaption { position: absolute; z-index: 1; bottom: 1rem; left: 1.15rem; right: 1rem; color: white; font-size: .98rem; font-weight: 600; }

/* Depoimentos, etapas e perguntas */
.reviews .container { display: grid; grid-template-columns: 1fr auto; align-items: end; }
.reviews__grid { grid-column: 1/-1; }
.review-link { grid-column: 2; grid-row: 1; margin-bottom: clamp(1.6rem,3vw,3rem); }
.review-link a { display: inline-flex; align-items: center; min-height: 44px; color: var(--teal); font-weight: 650; }
.review { display: flex; flex-direction: column; gap: .85rem; padding: clamp(1.3rem,2.4vw,2.1rem); border: 1px solid var(--line); border-radius: 1.15rem; background: #f8fafb; }
.review:first-child { background: #ecf6f3; border-color: #d2e4df; }
.quote-mark { color: var(--teal); font: 3.9rem/.95 Georgia,serif; height: 30px; }
.review p { color: #334856; font-size: 1.03rem; }
.review footer { display: flex; align-items: center; gap: .7rem; padding-top: 1rem; margin-top: auto; font-size: .94rem; }
.initials { display: grid; place-items: center; width: 2.15rem; height: 2.15rem; border-radius: 50%; background: #d8e9e8; color: #285656; font-size: .74rem; font-weight: 700; }
.process { background: #142b40; color: white; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--gap); margin-bottom: 2.25rem; }
.step { display: grid; grid-template-columns: 1fr auto; align-content: start; align-items: center; gap: .65rem; padding: 1.2rem 0 .5rem; border-top: 1px solid #466076; }
.step__num { color: var(--ice); font-size: .96rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.step__icon { color: var(--ice); display: flex; }
.step h3, .step p { grid-column: 1/-1; }
.step h3 { font-weight: 600; margin-top: .35rem; font-size: 1.15rem; letter-spacing: -.025em; }
.step p { color: #d1dce5; max-width: 28ch; }
.faq { background: var(--paper); }
.container--narrow { max-width: 54rem; }
.accordion { border-top: 1px solid #c2d2da; }
.acc { border-bottom: 1px solid #c2d2da; }
.acc summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem .25rem; cursor: pointer; list-style: none; font-weight: 640; font-size: 1.08rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc__chev { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: #e0eeeb; color: var(--teal); }
.acc__chev::after { content: "+"; font-size: 1.2rem; line-height: 1; }
.acc[open] .acc__chev::after { content: "−"; }
.acc__body { padding: 0 2.5rem 1.25rem .25rem; color: var(--muted); }
.faq__help { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.8rem; padding: 1.3rem 1.45rem; border-radius: .85rem; background: white; border: 1px solid var(--line); }
.faq__help-text { display: flex; align-items: center; gap: .8rem; }
.faq__help-icon { color: var(--teal); display: flex; }
.faq__help .btn { flex: none; }

/* Contato */
.footer { padding: 3.5rem 0 0; background: var(--navy); color: var(--on-dark); }
.footer__grid { display: grid; grid-template-columns: 1.15fr 1fr 1.45fr 1.12fr .85fr; gap: clamp(1rem,2.3vw,2.3rem); margin-bottom: 2.9rem; }
.footer__brand p, .footer__col { font-size: .92rem; }
.logo--footer { padding: 7px 11px; border-radius: 7px; background: white; margin-bottom: 1rem; }
.logo--footer .wordmark { width: 117px; }
.footer__social a { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-top: .45rem; }
.footer__social svg { width: 20px; height: 20px; }
.footer__col { min-width: 0; overflow-wrap: anywhere; }
.footer__col h4 { margin-bottom: 1rem; color: white; font-size: 1rem; font-weight: 650; }
.footer__col p + p { margin-top: .5rem; }
.footer__col a { text-decoration: underline; text-decoration-color: #617787; text-underline-offset: .22em; }
.footer__col a:hover { color: var(--mint); }
.footer__bottom { padding: 1.15rem 0; border-top: 1px solid #34485b; color: #abbdca; font-size: .83rem; }
.wpp-float { position: fixed; right: max(1rem,env(safe-area-inset-right)); bottom: max(1rem,env(safe-area-inset-bottom)); z-index: 30; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--mint); color: #073b31; border: 1px solid #3ab993; box-shadow: 0 6px 20px #092c3929; }
.wpp-float svg { width: 26px; height: 26px; }
.wpp-float:hover { background: #9af4d9; }
.not-found { padding-block: 12vh; }
.not-found img { width: 145px; margin-bottom: 2rem; }
.not-found p { margin-block: 1rem; }
.not-found a { color: var(--teal); text-decoration: underline; }

@media (hover:hover) {
  .service:hover .service__photo img { transform: scale(1.035); }
}
@media (max-width: 1040px) {
  .header__inner { gap: .7rem; }
  .wordmark { width: 126px; }
  .nav { gap: 1rem; }
  .why .container { grid-template-columns: .68fr 1.4fr; gap: 2rem; }
  .footer__grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 940px) {
  .header__inner { min-height: 66px; }
  .header__cta { margin-left: auto; }
  .burger { display: flex; align-items: center; justify-content: center; gap: 4px; flex-direction: column; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: .55rem var(--gutter) 1.1rem; background: white; border-bottom: 1px solid var(--line); }
  .nav.is-open { display: grid; gap: 0; box-shadow: 0 8px 20px #09283b12; max-height: calc(100dvh - 66px); overflow: auto; }
  .nav__link { font-size: 1rem; padding: .7rem .2rem; }
  .nav__link::after { display: none; }
  .nav__link.is-active { color: var(--teal); }
  .stats__list li { column-gap: .65rem; }
  .stats__list .ico { width: 1.5rem; height: 1.5rem; }
  .stats__label { font-size: .84rem; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 5rem; }
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .hero__inner { order: -1; }
  .hero__media { position: relative; inset: auto; z-index: 0; aspect-ratio: 2.25; }
  .hero__overlay { background: linear-gradient(180deg,#071321 0,rgba(7,19,33,.36) 12%,transparent 37%); }
  .hero__media img { object-position: center 61%; }
  .hero__content { max-width: 100%; padding: 2.4rem 0 .45rem; }
  .hero__title { font-size: clamp(2.9rem,9.7vw,4rem); }
  .hero__eyebrow { margin-bottom: .85rem; }
  .hero__text { margin-block: 1rem 1.25rem; }
  .hero__actions { gap: .45rem; }
  .stats__list { grid-template-columns: 1fr 1fr; padding-block: 1.05rem; row-gap: 1.05rem; }
  .stats__list li { padding-left: 1rem; }
  .stats__list li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stats__num { font-size: 1.5rem; }
  .services__grid, .reviews__grid { grid-template-columns: 1fr; }
  .services .section__title br { display: none; }
  .why .container { display: block; }
  .why .section__head { margin-bottom: 1.6rem; }
  .why__grid { gap: 0 1.25rem; }
  .works__grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: clamp(130px,29vw,205px); gap: .55rem; }
  .work, .work:first-child, .work:last-child { grid-column: auto; }
  .work:first-child, .work:last-child { grid-column: span 2; }
  .work figcaption { bottom: .65rem; left: .75rem; }
  .reviews .container { display: block; }
  .review-link { margin: 1rem 0 0; text-align: left; }
  .steps { grid-template-columns: 1fr 1fr; }
  .faq__help { align-items: flex-start; flex-direction: column; }
  .footer__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .wpp-float { display: none; }
}
@media (max-width: 480px) {
  .header__inner { gap: .5rem; }
  .header__cta { padding: .5rem .75rem; font-size: .82rem; }
  .wordmark { width: 107px; }
  .hero__actions .btn--yellow { width: 100%; }
  .hero__actions .btn--outline { min-height: 42px; padding: .5rem .8rem; margin-top: .15rem; }
  .why__grid { grid-template-columns: 1fr; }
  .why__item { display: grid; grid-template-columns: 28px 1fr; gap: 0 .85rem; padding: 1.1rem 0; }
  .why__icon { grid-row: span 2; margin-bottom: 0; }
  .why__item p { grid-column: 2; }
  .steps { grid-template-columns: 1fr; }
  .step { grid-template-columns: 26px 1fr 26px; gap: .2rem .6rem; padding: 1rem 0 .2rem; }
  .step__icon { grid-column: 3; grid-row: 1; }
  .step h3 { grid-column: 2; grid-row: 1; margin: 0; }
  .step p { grid-column: 2/-1; max-width: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer__col h4 { margin-bottom: .55rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}


/* Topo no celular — versão 1 "Foto de fundo inteira", escolhida pelo Wemerson em 01/12/2026
   (as outras ficaram em clientes/maxima-computadores/versoes-hero/). Só vale até 760px. */
@media (max-width: 760px) {
  .hero { display: grid; min-height: min(calc(100svh - 66px), 720px); align-items: end; background: #071321; }
  .hero__media { position: absolute; inset: 0 0 auto; height: 64%; aspect-ratio: auto; z-index: -1; }
  .hero__media img { object-position: 66% 40%; }
  .hero__overlay { background: linear-gradient(180deg, rgba(7,19,33,.1) 0%, rgba(7,19,33,0) 35%, rgba(7,19,33,.75) 78%, #071321 100%); }
  .hero__inner { order: 0; }
  .hero__content { padding: 0 0 1.75rem; }
  .hero__title { font-size: 2.85rem; }
  .hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
  .hero__actions .btn--yellow { grid-column: 1 / -1; width: 100%; }
  .hero__actions .btn--outline { width: 100%; margin: 0; }
}
