/* Reset e variáveis */
:root {
  --color-primary: #059bd0;
  --color-whatsapp: #008138;
  --color-hover: #00bbff;
  --color-heading: #222222;
  --color-text: #444444;
  --color-bg: #ffffff;
  --color-bg-alt: #f6f9fe;
  --color-border: #e2eefd;
  --color-white: #ffffff;
  --shadow-soft: 0 4px 18px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 10px 28px rgba(25, 79, 120, 0.10);
  --container: 1060px;
  --font-main: Arial, Helvetica, sans-serif;
}
.bi-whatsapp::before {
    content: "\f618";
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  font-size: 15px;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-hover); }
ul { list-style: none; }

/* Base */
.container { width: min(100% - 36px, var(--container)); margin-inline: auto; }
.section { padding: 64px 0; }
.section--light { background: var(--color-bg-alt); }
.section-title { text-align: center; margin-bottom: 36px; }
.section-title span {
  display: inline-block;
  color: var(--color-hover);
  background: rgba(0, 187, 255, 0.10);
  font-size: 13px;
  font-weight: bold;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.section-title h2 { color: var(--color-heading); font-size: 32px; line-height: 1.25; font-weight: 800; }
.section-title h2 strong { color: var(--color-primary); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 0;
  border-radius: 5px;
  padding: 15px 30px;
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1;
  cursor: pointer;
}
.btn--primary { background: var(--color-primary); }
.btn--primary:hover { background: var(--color-hover); color: var(--color-white); }
.btn--whatsapp { background: var(--color-whatsapp); color: var(--color-white); }
.btn--whatsapp:hover { background: var(--color-hover); color: var(--color-white) !important; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* Topbar */
.topbar { background: var(--color-primary); color: var(--color-white); height: 40px; font-size: 18px; }
.topbar__inner { height: 28px; display: flex; align-items: center; justify-content: space-between; padding-top: 12px; }
.topbar a { color: var(--color-white); font-weight: 700; font-size: 18px; }
.topbar__social { display: flex; align-items: center; gap: 13px; font-size: 18px; font-weight: 700; }

/* Header */
.header { height: 100px; background: var(--color-white); box-shadow: var(--shadow-soft); position: sticky; top: 0; z-index: 50; }
.header__inner { height: 100px; display: flex; align-items: center; justify-content: space-between; }
.logo img { width: 200px; height: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--color-heading); font-size: 16px; font-weight: 600; }
.nav a:hover { color: var(--color-primary); }
.nav .nav__whatsapp { color: var(--color-white); margin-left: 12px; font-size: 14px; padding: 15px 30px; border-radius: 5px; }
.nav-check { display: none; }
.nav-toggle { display: none; width: 38px; height: 38px; border: 1px solid var(--color-border); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--color-heading); position: relative;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }

/* Hero */
.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.86) 48%, rgba(255,255,255,.32) 100%), url('../img/manutencao-e-instalacao-de-ar-condicionado.jpg') center right/cover no-repeat;
  overflow: hidden;
}
.hero h1 span {
    color: var(--color-primary);
}
.hero__content { position: relative; z-index: 2; padding: 64px 0 92px; max-width: 1060px; }
.hero h1 { max-width: 520px; color: var(--color-heading); font-size: 48px; line-height: 56px; font-weight: 800; margin-bottom: 14px; }
.hero h1::after { content: ""; display: inline-block; width: 0; }
.hero h1 { text-wrap: balance; }
.hero p { max-width: 575px; color: #353535; font-size: 18px; line-height: 1.45; margin-bottom: 18px; }

/* Diferenciais */
.features { position: relative; z-index: 5; margin-top: -48px; padding-bottom: 48px; }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-card {
  min-height: 205px;
  background: var(--color-white);
  border-radius: 4px;
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(5,155,208,.08);
}
.feature-card img { width: 70px; object-fit: contain; margin-bottom: 16px; }
.feature-card h3 { color: var(--color-primary); font-size: 22px; line-height: 1.25; margin-bottom: 10px; }
.feature-card p { font-size: 18px; color: #636363; }

/* Sobre */
.about { padding-top: 50px; }
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 54px; align-items: center; }
.about__image img { width: 100%; aspect-ratio: 1.28/1; object-fit: cover; }
.about__content h3 { color: var(--color-heading); font-size: 26px; line-height: 1.25; margin-bottom: 14px; }
.about__content p { color: var(--color-text); font-size: 18px; margin-bottom: 12px; }

/* Marcas */
.brands { padding: 32px 0; background: var(--color-white); }
.brands__grid { display: grid; grid-template-columns: repeat(6, 1fr); align-items: center; gap: 42px; }
.brands__grid img { max-width: 120px; object-fit: contain; margin-inline: auto; }

/* CTA */
.cta { position: relative; padding: 65px 0; text-align: center; color: var(--color-white); background-position: center; background-size: cover; background-repeat: no-repeat; }
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.56); }
.cta__content { position: relative; z-index: 2; }
.cta h2 { color: var(--color-white); font-size: 24px; line-height: 1.25; font-weight: 800; margin-bottom: 5px; }
.cta p { max-width: 650px; margin: 0 auto 13px; color: var(--color-white); font-size: 18px; }
.cta--one { background-image: url('../img/cta-bg-1.jpg'); }
.cta--two { background-image: url('../img/cta-bg-2.jpg'); }
.cta--three { background-image: url('../img/cta-bg-3.jpg'); }

/* Serviços */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  min-height: 260px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 38px 24px;
  text-align: center;
}
.service-card img { width: 82px; object-fit: contain; margin: 0 auto 16px; }
.service-card h3 { color: var(--color-heading); font-size: 20px; line-height: 1.22; margin-bottom: 12px; }
.service-card p { color: #666; font-size: 18px; }

/* Portfolio */
.portfolio { background: var(--color-white); }
.portfolio__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.portfolio__item { position: relative; overflow: hidden; background: #f2f2f2; }
.portfolio__item img { width: 100%; height: 235px; object-fit: cover; }
.portfolio__item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px;
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  opacity: 0;
}
.portfolio__item figcaption small { font-weight: 400; }
.portfolio__item:hover figcaption { opacity: 1; }

/* FAQ */
.faq__list { max-width: 860px; margin: 0 auto; }
.faq__item { background: var(--color-white); border: 1px solid var(--color-border); margin-bottom: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.03); }
.faq__item summary { cursor: pointer; color: var(--color-heading); font-size: 20px; font-weight: 700; padding: 15px 44px 15px 18px; list-style: none; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: #9aa; position: absolute; right: 18px; top: 13px; font-size: 20px; line-height: 1; }
.faq__item[open] summary { background: var(--color-primary); color: var(--color-white); }
.faq__item[open] summary::after { content: "−"; color: var(--color-white); }
.faq__item p { padding: 0 18px 18px; font-size: 18px; color: #555; }
.faq__item[open] p { background: var(--color-primary); color: var(--color-white); padding-top: 0; }

/* Contato */
.contact { background: var(--color-white); }
.contact__grid { display: grid; grid-template-columns: .92fr 1.6fr; gap: 24px; align-items: stretch; }
.contact__info, .contact__form { background: var(--color-white); box-shadow: var(--shadow-card); border: 1px solid rgba(5,155,208,.06); padding: 26px; }
.contact__row { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; margin-bottom: 18px; }
.contact__icon { width: 34px; height: 34px; border-radius: 50%; background: rgba(5,155,208,.12); color: var(--color-primary); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.contact__row h3 { color: var(--color-heading); font-size: 15px; margin-bottom: 3px; }
.contact__row p, .contact__row a { font-size: 12px; color: var(--color-text); overflow-wrap: anywhere; }
.contact__map { width: 100%; height: 235px; border: 0; margin-top: 6px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__full { grid-column: 1 / -1; }
input, textarea { width: 100%; border: 1px solid #e2e2e2; min-height: 42px; padding: 11px 12px; color: var(--color-text); font: inherit; font-size: 13px;}
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus { outline: 2px solid rgba(0,187,255,.16); border-color: var(--color-hover); }
.form__status { text-align: left; color: #777; font-size: 12px; margin: 12px 0; }
.contact__form .btn { display: flex; margin: 16px auto 0; min-width: 145px; }
.button2 { color: var(--color-white); background: var(--color-primary); border: 0; padding: 10px 30px; transition: 0.4s; border-radius: 5px; text-transform: uppercase; cursor: pointer; font-weight: bold; font-size: 16px; }
.button2:hover { background: color-mix(in srgb, var(--color-hover), transparent 25%);
}

/* Footer */
.footer { background: var(--color-bg-alt); padding-top: 42px; color: var(--color-text); }
.footer__grid { display: grid; grid-template-columns: 1.4fr .75fr 1fr; gap: 44px; }
.footer .logo img { width: 145px; margin-bottom: 10px; }
.footer p, .footer li, .footer a { font-size: 15px; color: var(--color-text); }
.footer p { margin-bottom: 5px; }
.footer h3 { color: var(--color-heading); font-size: 15px; margin-bottom: 11px; }
.footer li { margin-bottom: 6px; }
.footer a:hover { color: var(--color-hover); }
.footer__social { display: flex; gap: 10px; margin-top: 12px; }
.footer__social a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--color-border); color: var(--color-primary); background: var(--color-white); }
.footer__bottom { text-align: center; padding: 28px 18px 36px; }
.footer__bottom p { margin-bottom: 4px; }

/* Botão WhatsApp */
.whatsapp-float { position: fixed; right: 18px; bottom: 18px; z-index: 100; width: 50px; height: 50px; border-radius: 50%; background: var(--color-whatsapp); color: var(--color-white); display: flex; align-items: center; justify-content: center; box-shadow: 0 7px 20px rgba(0,0,0,.22); font-size: 24px; }
.whatsapp-float:hover { background: var(--color-hover); color: var(--color-white); }

/* Responsivo */
@media (max-width: 1024px) {
  :root { --container: 900px; }
  .hero h1 { font-size: 34px; }
  .brands__grid { gap: 24px; }
  .portfolio__item img { height: 220px; }
  .portfolio__item--tall img { height: 360px; }
}

@media (max-width: 860px) {
  .topbar__social { display: none; }
  .header, .header__inner { height: 72px; }
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 74px;
    background: var(--color-white);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
  }
  .nav a { padding: 12px; }
  .nav .nav__whatsapp { margin: 8px 0 0; text-align: center; justify-content: center; }
  .nav-check:checked ~ .nav { display: flex; }
  .hero { min-height: 380px; }
  .hero__content { padding: 55px 0 76px; }
  .hero h1 { font-size: 31px; }
  .features { margin-top: -34px; }
  .features__grid, .services__grid { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; gap: 28px; }
  .brands__grid { grid-template-columns: repeat(3, 1fr); }
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio__item img, .portfolio__item--tall img { height: 270px; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 48px 0; }
  .section-title h2 { font-size: 22px; }
  .hero { min-height: auto; background-position: center; }
  .hero__content { padding: 46px 0 62px; }
  .hero h1 { font-size: 32px; line-height: 1.13; }
  .hero p { font-size: 18px; }
  .features { margin-top: 0; padding: 30px 0; }
  .feature-card { min-height: auto; }
  .brands__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .cta { padding: 52px 0; }
  .portfolio__grid { grid-template-columns: 1fr; }
  .portfolio__item img, .portfolio__item--tall img { height: auto; aspect-ratio: 4 / 3; }
  .portfolio__item figcaption { opacity: 1; }
  .form__grid { grid-template-columns: 1fr; }
  .btn { width: 100%; max-width: 290px; }
  .contact__form .btn { width: auto; }
  .logo img { width: 160px !important;}
  .about__content h3 {font-size: 22px !important;}
}