/* ==========================================================================
   HS Desentope — azul como cor principal (gota da Hidra), branco e o amarelo
   do "Entupiu aí?" do cartão como destaque.
   ========================================================================== */
:root {
  --red: #1559b8; /* cor principal: azul */
  --red-dk: #0f4691;
  --yellow: #ffc928;
  --blue: #0d3f86;
  --ink: #161412;
  --ink-2: #2a2622;
  --muted: #5d5750;
  --paper: #faf7f2;
  --paper-2: #f1ebe2;
  --white: #ffffff;
  --m: clamp(20px, 5vw, 72px);
  --gap: clamp(88px, 10vw, 150px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-head: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-stretch: 80%; font-weight: 900; line-height: 1; letter-spacing: -0.01em; margin: 0; text-wrap: balance; text-transform: uppercase; }
h2 { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.6rem); }
h3 { font-size: 1.45rem; font-stretch: 85%; }
p { margin: 0; }
section { padding: var(--gap) var(--m) 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }

/* Botões: retângulos de canto vivo */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 56px; padding: 0 26px; font-family: var(--font-head); font-stretch: 90%; font-weight: 800; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .02em; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn .ph { font-size: 1.35em; }
.btn--red { background: var(--red); color: #fff; } .btn--red:hover { background: var(--red-dk); }
.btn--dark { background: var(--ink); color: #fff; } .btn--dark:hover { background: var(--ink-2); }
.btn--yellow { background: var(--yellow); color: var(--ink); } .btn--yellow:hover { background: #ffd65c; }
.btn--outline { color: #fff; border-color: rgba(255,255,255,.8); } .btn--outline:hover { background: #fff; color: var(--ink); }

/* Marca em texto */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo__img { display: block; height: 50px; width: auto; }
.logo--light .logo__img { height: 72px; background: #fff; padding: 8px 12px; border-radius: 12px; box-sizing: content-box; }

/* Topo branco fixo */
.top { position: sticky; top: 0; z-index: 100; background: var(--white); }
.top__bar { display: flex; align-items: center; gap: 28px; padding: 12px var(--m); min-height: 72px; }
.top .logo { margin-right: auto; }
.nav { display: flex; gap: 26px; }
.nav a { position: relative; font-weight: 600; text-decoration: none; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.top__call { display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: #fff; text-decoration: none; font-family: var(--font-head); font-stretch: 85%; font-weight: 800; font-size: 1.1rem; padding: 10px 18px; }
.top__call:hover { background: var(--red-dk); }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: var(--ink); color: #fff; cursor: pointer; }
.nav-toggle .ph { font-size: 1.6rem; }

/* Hero: foto de ponta a ponta */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: calc(100svh - 72px); display: flex; flex-direction: column; color: #fff; padding: 0; }
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(22,20,18,.88) 0%, rgba(22,20,18,.6) 50%, rgba(22,20,18,.2) 100%); } /* taste-skill-ignore: escurecimento da hero */
.hero__content { margin-top: auto; padding: 64px var(--m) 48px; max-width: 1240px; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; background: var(--red); padding: 6px 14px; font-weight: 700; margin-bottom: 26px; }
.hero h1 { font-size: clamp(2.3rem, 1rem + 6vw, 6.4rem); line-height: .92; }
.hero h1 mark { background: none; color: var(--yellow); }
.hero__lead { margin-top: 24px; max-width: 52ch; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: rgba(255,255,255,.9); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); color: var(--ink); }
.hero__strip li { display: flex; align-items: center; gap: 14px; padding: 22px var(--m); }
.hero__strip li + li { background: var(--paper-2); }
.hero__strip li:last-child { background: var(--yellow); }
.hero__strip .ph { font-size: 2rem; color: var(--red); }
.hero__strip li:last-child .ph { color: var(--ink); }
.hero__strip b { display: block; font-family: var(--font-head); font-stretch: 85%; font-weight: 900; text-transform: uppercase; font-size: 1.15rem; line-height: 1.1; }
.hero__strip span span, .hero__strip li > span { font-size: .95rem; color: var(--muted); }
.hero__strip li:last-child > span { color: var(--ink); }

/* Sinais */
.signs { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.signs__pic { margin: 0; }
.signs__pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.signs__copy { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 1.08rem; }
.checks .ph { color: var(--red); font-size: 1.3rem; flex: none; margin-top: 3px; }

/* Serviços */
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: 44px; }
.head p { color: var(--muted); max-width: 46ch; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--white); display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body p { color: var(--muted); }
.card__body a { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--red); text-decoration: none; }
.card__body a:hover .ph { transform: translateX(4px); }
.card__body a .ph { transition: transform .2s var(--ease); }
.card--cta { background: var(--red); color: #fff; text-decoration: none; padding: 28px; justify-content: flex-end; gap: 10px; min-height: 280px; transition: background-color .2s; }
.card--cta:hover { background: var(--red-dk); }
.card--cta .ph { font-size: 2.6rem; margin-bottom: auto; }
.card--cta__t { font-family: var(--font-head); font-stretch: 80%; font-weight: 900; font-size: 1.9rem; text-transform: uppercase; line-height: 1; }

/* Inspeção em vídeo */
.video { margin-top: var(--gap); padding-top: clamp(64px, 8vw, 110px); padding-bottom: clamp(64px, 8vw, 110px); background: var(--ink); color: #fff; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.video__copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.new { color: var(--yellow); }
.video__copy > p { color: rgba(255,255,255,.8); max-width: 50ch; font-size: 1.15rem; }
.video__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.video__list li { display: flex; gap: 10px; align-items: center; }
.video__list .ph { color: var(--yellow); font-size: 1.3rem; }
.video__screen { position: relative; margin: 0; background: #000; padding: 14px; }
.video__screen img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(.4) contrast(1.1); }
.video__rec { position: absolute; top: 28px; left: 28px; display: inline-flex; align-items: center; gap: 6px; color: #fff; font-family: var(--font-head); font-weight: 800; letter-spacing: .1em; }
.video__rec .ph { color: var(--red); }
.video__cross { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; opacity: .7; }
.video__cross::before, .video__cross::after { content: ""; position: absolute; background: #fff; }
.video__cross::before { left: 31px; top: 0; width: 2px; height: 100%; }
.video__cross::after { top: 31px; left: 0; height: 2px; width: 100%; }

/* Faixa de plantão */
.alert { background: var(--yellow); display: grid; grid-template-columns: auto 1fr auto; gap: 24px 40px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.alert__icon { font-size: 4rem; color: var(--red); }
.alert h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); }
.alert p { margin-top: 6px; max-width: 54ch; }
.alert__phone { font-family: var(--font-head); font-stretch: 80%; font-weight: 900; font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); text-decoration: none; color: var(--ink); white-space: nowrap; }
.alert__phone:hover { color: var(--red); }

/* Como funciona: linha do tempo */
.how h2 { margin-bottom: 48px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 32px; right: 32px; top: 32px; height: 4px; background: var(--red); } /* taste-skill-ignore: trilho da linha do tempo */
.timeline li { position: relative; display: flex; flex-direction: column; gap: 10px; }
.timeline .ph { width: 64px; height: 64px; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 1.9rem; border-radius: 50%; margin-bottom: 10px; }
.timeline p { color: var(--muted); }

/* Galeria */
.gallery .head p { font-size: .95rem; }
.masonry { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 16px; }
.masonry figure { margin: 0; overflow: hidden; }
.masonry img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.masonry figure:hover img { transform: scale(1.04); }
.m-tall { grid-row: span 2; }
.m-wide { grid-column: span 2; }

/* Contato */
.contact { margin-top: var(--gap); padding-top: clamp(64px, 8vw, 110px); padding-bottom: clamp(64px, 8vw, 110px); background: var(--red); color: #fff; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 22px; }
.contact__phone { font-family: var(--font-head); font-stretch: 75%; font-weight: 900; font-size: clamp(2.3rem, 1.2rem + 3.4vw, 4.4rem); text-decoration: none; line-height: 1; white-space: nowrap; }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact__list li { display: flex; gap: 12px; align-items: flex-start; }
.contact__list .ph { font-size: 1.4rem; color: var(--yellow); margin-top: 2px; }
.contact__list a { color: #fff; font-weight: 700; }
.form { background: var(--white); color: var(--ink); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 16px; }
.form h3 { font-size: 1.8rem; }
.form__lead { color: var(--muted); font-size: .95rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 700; font-size: .95rem; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; font: 1rem var(--font-body); color: var(--ink); padding: 13px 14px; border: 0; background: var(--paper-2); border-bottom: 3px solid transparent; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--red); background: #ebe3d6; }
.field textarea { resize: vertical; min-height: 110px; }
.form .btn { width: 100%; }

/* Dúvidas */
.faq { max-width: 980px; margin: 0 auto; }
.faq h2 { margin-bottom: 32px; }
.faq__list { display: grid; gap: 10px; }
.faq details { background: var(--white); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 1.1rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-head); font-weight: 900; font-size: 1.8rem; color: var(--red); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); max-width: 70ch; }

/* Mapa */
.where { position: relative; padding: var(--gap) 0 0; }
.where__map { display: block; width: 100%; height: 520px; border: 0; }
.where__card { position: absolute; left: var(--m); bottom: 40px; background: var(--white); padding: 28px; max-width: 380px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.where__card h2 { font-size: 2.2rem; }
.where__card p { color: var(--muted); }

/* Rodapé */
.foot { background: var(--ink); color: rgba(255,255,255,.75); padding: 64px var(--m) 28px; }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot__grid p { margin-top: 14px; max-width: 44ch; }
.foot h4 { font-family: var(--font-head); font-stretch: 85%; text-transform: uppercase; color: #fff; margin: 0 0 12px; font-size: 1rem; letter-spacing: .04em; }
.foot nav a, .foot__grid > div > a { display: block; text-decoration: none; margin-bottom: 8px; }
.foot a:hover { color: #fff; }
.foot__legal { margin-top: 44px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-right: 80px; font-size: .9rem; }
.foot__legal a { color: #fff; }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: calc(18px + env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; text-decoration: none; box-shadow: 0 10px 28px rgba(0,0,0,.25); transition: transform .18s; } /* taste-skill-ignore: botão flutuante */
.wa-float:hover { transform: scale(1.08); }
.wa-float .ph { font-size: 2rem; }

/* Entradas */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  * { transition-duration: .01ms !important; }
}

/* Responsivo */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .timeline::before { display: none; }
}
@media (max-width: 900px) {
  .top__call span { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--white); padding: 8px var(--m) 20px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; font-size: 1.15rem; }
  .nav a::after { display: none; }
  .hero__strip { grid-template-columns: 1fr; }
  .hero__strip li { padding: 16px var(--m); }
  .signs, .video, .contact { grid-template-columns: 1fr; }
  .signs__pic img { aspect-ratio: 16 / 10; }
  .alert { grid-template-columns: 1fr; gap: 12px; }
  .alert__icon { font-size: 3rem; }
  .where__map { height: 380px; }
  .where__card { position: static; max-width: none; margin: 0 var(--m); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .logo__img { height: 42px; }
  .hero h1 { font-size: 2.25rem; font-stretch: 75%; }
  .checks, .cards, .timeline, .form__row { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .masonry { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .m-wide { grid-column: span 2; }
  .foot__grid { grid-template-columns: 1fr; }
}
