:root {
  color-scheme: dark;
  --bg: #101010;
  --panel: #202124;
  --accent: #ff6b00;
  --text: #f5f5f5;
  --muted: #ccc;
  --line: #424247;
  --gutter: clamp(1rem, 4vw, 3.5rem);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1rem/1.6 system-ui, sans-serif; }
a { color: var(--accent); text-underline-offset: .22em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.85rem, 4vw, 3.25rem); letter-spacing: -.04em; line-height: 1.08; }
h3 { font-size: 1.25rem; line-height: 1.25; }
p, dd { color: var(--muted); }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 5; padding: .75rem; background: var(--bg); translate: 0 -180%; }
.skip-link:focus { translate: 0; }

.site-header, .site-footer { background: var(--bg); }
.site-header { border-bottom: 1px solid var(--line); }
.head, .content, .hero-inner { width: min(100%, 83rem); margin-inline: auto; padding-inline: var(--gutter); }
.head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 4.5rem; padding-block: .65rem; }
.brand { color: var(--text); text-decoration: none; display: inline-flex; align-items: center; min-width: 0; }
.brand-text { font-weight: 850; font-size: 1.2rem; line-height: 1.1; }
.brand-text b { color: var(--accent); }
.brand small { display: block; margin-top: .25rem; font-size: .58rem; letter-spacing: .07em; color: var(--muted); }
.logo { display: block; width: clamp(6.5rem, 14vw, 11rem); height: 3rem; object-fit: contain; object-position: left center; }
nav, .actions, .social-links { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1rem; }
nav a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--text); text-decoration: none; font-size: .92rem; font-weight: 650; }
nav a:hover, .site-footer a:hover { text-decoration: underline; }
.btn, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 2.75rem;
  padding: .65rem 1.05rem;
  background: var(--accent);
  color: var(--bg);
  border: 1px solid transparent;
  border-radius: .25rem;
  text-decoration: none;
  font: inherit;
  font-weight: 780;
  cursor: pointer;
  transition: background-color .18s, border-color .18s;
}
.btn:hover, button:hover { background-color: #ff9040; }
.secondary { background: var(--bg); border-color: #777; color: var(--text); }
.secondary:hover { background-color: var(--panel); border-color: var(--text); }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(30rem, 70vh, 48rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(100deg, #101010 15%, #10101080 57%, transparent),
    repeating-linear-gradient(137deg, transparent 0 48px, #f5f5f519 49px 50px, #101010a0 51px 53px),
    radial-gradient(ellipse at 82% 47%, #c65316 0, #6d3422 20%, #202124 44%, #101010 72%);
}
.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, #101010 4%, #101010ee 35%, #10101070 80%), linear-gradient(0deg, #10101080, transparent 65%);
}
.hero-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-inner { padding-block: clamp(4.5rem, 12vh, 9rem); }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .13em; font-weight: 800; font-size: .76rem; margin-bottom: .85rem; }
.hero h1 { max-width: 13ch; font-size: clamp(2.8rem, 7.6vw, 7rem); line-height: .99; letter-spacing: -.06em; }
.hero-description { font-size: clamp(1.06rem, 2vw, 1.32rem); max-width: 37ch; margin-top: 1.35rem; color: var(--text); }
.hero .actions { margin-top: 1.85rem; }

.content { padding-block: clamp(3rem, 7vw, 6rem); }
.section-heading { margin-bottom: 1.75rem; }
.section-heading > p:not(.eyebrow) { margin-top: .75rem; }
.grid, .strengths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.card, .testimonial, .faq details, .booking-side { background: var(--panel); border: 1px solid var(--line); border-radius: .35rem; }
.card { overflow: hidden; display: flex; flex-direction: column; transition: border-color .18s; }
.card:hover, .card:focus-within { border-color: var(--accent); }
.service-visual {
  aspect-ratio: 2.5;
  background: repeating-linear-gradient(var(--angle, 135deg), transparent 0 18px, #ff6b003d 19px 20px),
              linear-gradient(115deg, var(--bg), #61301b);
  border-bottom: 1px solid var(--line);
}
.service-solar { --angle: 65deg; }
.service-cftv { --angle: 155deg; }
.service-automacao { --angle: 95deg; }
.service-carregador { --angle: 40deg; }
.service-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-copy { padding: 1.2rem; display: flex; flex-direction: column; flex: 1; gap: .65rem; }
.card-copy a { margin-top: auto; padding-block: .35rem; font-weight: 720; }
.section-band { background: #171717; border-block: 1px solid var(--line); }
.strengths { margin: 1.65rem 0 0; }
.strengths div { padding: .9rem 0; border-top: 2px solid var(--accent); }
.strengths dt { font-size: 1.2rem; font-weight: 800; }
.strengths dd { margin: .35rem 0 0; }
.company { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 6rem); }
.company section { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.company h2 { margin-bottom: 1rem; }
.company section > div:not(.actions), .company .actions, .social-links { margin-top: 1rem; overflow-wrap: anywhere; }
.social-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; }
.testimonial { margin: 0; padding: 1.2rem; }
.testimonial footer { margin-top: .7rem; display: grid; }
.faq details { padding: .85rem 1rem; margin-bottom: .6rem; }
.faq summary { cursor: pointer; font-weight: 750; }
.faq details p { margin-top: .6rem; }

.booking-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(1rem, 4vw, 3rem); align-items: start; }
.booking-side { padding: 1.2rem; }
.booking-side p { margin-block: .65rem; }
.booking-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.booking-form label { display: block; min-width: 0; font-size: .92rem; font-weight: 650; }
.booking-form input, .booking-form select, .booking-form textarea {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: .35rem;
  padding: .68rem;
  border: 1px solid #757575;
  border-radius: .25rem;
  background: var(--panel);
  color: var(--text);
  font: inherit;
}
.booking-form textarea { min-height: 6rem; }
.booking-form .consent { display: flex; align-items: flex-start; gap: .65rem; }
.booking-form .consent input { width: 1rem; height: 1rem; flex: none; accent-color: var(--accent); }
.booking-form .trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.calendar-field, .consent, .booking-review, .booking-note, .booking-form button[type="submit"] { grid-column: 1 / -1; }
.booking-form button[type="submit"] { justify-self: start; }
.booking-review, .calendar-widget { padding: .75rem; border: 1px solid var(--line); border-radius: .25rem; background: var(--bg); }
.booking-review strong { color: var(--accent); }
.calendar-widget { margin-block: .4rem; max-width: 32rem; }
.cal-head { display: flex; justify-content: space-between; align-items: center; gap: .35rem; margin-bottom: .55rem; text-align: center; }
.cal-head button { padding: .25rem .7rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .2rem; text-align: center; }
.cal-grid button { padding: 0; min-height: 2rem; background: var(--panel); color: var(--text); }
.cal-grid button:disabled { color: #919191; cursor: default; }
.cal-grid button[aria-pressed="true"] { background: var(--accent); color: var(--bg); }
.site-footer { padding-bottom: 3rem; }
.site-footer a { color: var(--muted); }
.floating-whatsapp {
  position: fixed;
  z-index: 2;
  bottom: .75rem;
  right: .75rem;
  border: 1px solid #739f83;
  border-radius: .3rem;
  padding: .6rem .9rem;
  background: var(--bg);
  color: #cff1db;
  text-decoration: none;
  font-size: .9rem;
}
.floating-whatsapp:hover { text-decoration: underline; }

@media (max-width: 60rem) {
  .grid, .strengths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 42rem) {
  .head { flex-wrap: wrap; gap: .35rem .65rem; }
  nav { order: 1; width: 100%; gap: 1rem; }
  .header-cta { padding-inline: .6rem; font-size: .83rem; }
  .hero::before { background: linear-gradient(90deg, #101010ef, #1010108c); }
  .company, .booking-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 32rem) {
  .grid, .booking-form { grid-template-columns: minmax(0, 1fr); }
  .actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
