/* =========================================================
   TH Ar Condicionado — Landing Page
   Paleta: #ffffff · #000000 · #c29744
   ========================================================= */

:root {
  --white: #ffffff;
  --black: #000000;
  --gold: #c29744;
  --gold-dark: #a87f32;
  --gold-soft: #f6efe1;
  --ink: #0d0d0d;
  --ink-2: #161616;
  --gray-1: #f5f4f1;
  --gray-2: #e8e6e1;
  --gray-text: #5c5a55;
  --radius-lg: 28px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .25);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: var(--font);
  --container: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
svg.ico-wa, .wa-float svg { fill: currentColor; stroke: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.section { padding: 110px 0; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 18px;
}
.eyebrow--light { color: var(--gold); }

.title {
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.08; font-weight: 700; letter-spacing: -.03em;
}
.title em, .hero__title em { font-style: normal; color: inherit; }
.lead { font-size: 17px; color: var(--gray-text); max-width: 520px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 17px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold); color: var(--black); box-shadow: 0 10px 30px -10px rgba(194, 151, 68, .7); }
.btn--gold:hover { background: #d1a854; }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: var(--gold); color: var(--black); }
.btn--glass { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.btn--glass:hover { background: var(--white); color: var(--black); }
.btn svg { width: 18px; height: 18px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px;
  color: var(--black); border-bottom: 2px solid var(--gold); padding-bottom: 2px;
  transition: gap .3s var(--ease), color .3s;
}
.link-arrow svg { width: 18px; height: 18px; }
.link-arrow:hover { gap: 14px; color: var(--gold-dark); }

/* ---------- Top bar ---------- */

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent; color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s;
}
.header.is-scrolled, .header.menu-open {
  background: var(--white); color: var(--black);
  border-color: var(--gray-2); box-shadow: 0 8px 30px -20px rgba(0,0,0,.25);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__img { display: block; height: 52px; width: auto; }
.header .logo__img--dark { display: none; }
.header.is-scrolled .logo__img--light, .header.menu-open .logo__img--light { display: none; }
.header.is-scrolled .logo__img--dark, .header.menu-open .logo__img--dark { display: block; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) { font-weight: 400; font-size: 15px; position: relative; padding: 6px 0; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav__cta { display: none; }

.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--gray-2); background: var(--white); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-toggle span { width: 18px; height: 2px; background: var(--black); border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 0; }
.hero__card {
  position: relative; overflow: hidden; width: 100%;
  min-height: min(900px, 100vh);
  display: flex; align-items: center; justify-content: center;
  background: var(--black);
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,.55) 0%, rgba(0,0,0,.78) 70%, rgba(0,0,0,.88) 100%);
}
.hero__content {
  position: relative; z-index: 2; width: 100%; max-width: 900px; margin: 0 auto;
  padding: 160px 24px 100px; color: var(--white); text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero__title {
  font-size: clamp(40px, 6.2vw, 82px); line-height: 1.02; font-weight: 700; letter-spacing: -.04em; margin-bottom: 24px;
}
.hero__title em { display: block; }
.hero__text { font-size: 18px; color: rgba(255,255,255,.82); max-width: 600px; margin: 0 auto 36px; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- Brands ---------- */
.brands { padding: 0; }
.brands__inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px 40px; text-align: center; border-bottom: 1px solid var(--gray-2); padding: 34px 24px; }
.brands__label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--gray-text); }
.brands__list { display: flex; align-items: center; gap: 28px; }
.brand { display: block; width: auto; }
.brand--centralar { height: clamp(26px, 3.2vw, 36px); }
.brand--leveros { height: clamp(20px, 2.6vw, 28px); }
.brand__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.brands__note { font-size: 15px; color: var(--gray-text); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.about__media { position: relative; }
.about__bento { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 1 / 1.05; }
.about__img { width: 100%; height: 100%; min-height: 0; border-radius: var(--radius-lg); object-fit: cover; }
.about__img--tall { grid-row: 1 / 3; object-position: 60% top; }
.about__bento img[src*="sobre-instalacao"] { object-position: center 30%; }
.about__content .lead { margin: 22px 0 36px; max-width: none; }

.diffs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.diff {
  padding: 18px; border-radius: var(--radius);
  border: 1px solid var(--gray-2); transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.diff:hover { border-color: var(--gold); box-shadow: 0 14px 30px -18px rgba(194,151,68,.6); transform: translateY(-3px); }
.diff__icon { display: inline-flex; color: var(--gold-dark); flex-shrink: 0; }
.diff__icon svg { width: 22px; height: 22px; }
.diff strong { display: flex; align-items: center; gap: 10px; font-size: 15.5px; margin-bottom: 6px; }
.diff p { font-size: 14px; color: var(--gray-text); line-height: 1.5; }

/* ---------- Section head ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; }
.section-head .title { max-width: 640px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .title { max-width: 760px; }
.section-head--light .title { color: var(--white); }
.section-head--light .lead { color: rgba(255,255,255,.7); }

/* ---------- Services ---------- */
.services { background: var(--gray-1); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.service:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service__img { position: relative; aspect-ratio: 4/3.2; overflow: hidden; }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service:hover .service__img img { transform: scale(1.07); }
.service__body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.service__body h3 { font-size: 24px; letter-spacing: -.02em; }
.service__body p { font-size: 15px; color: var(--gray-text); flex: 1; }
.service__body .link-arrow {
  align-self: stretch; justify-content: center; gap: 10px;
  margin: 10px -26px -26px; padding: 20px 12px;
  background: var(--gold); color: var(--black); border: 0; border-radius: 0;
  font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: gap .3s var(--ease), background-color .3s;
}
.service__body .link-arrow:hover { background: #d1a854; color: var(--black); gap: 10px; }

/* ---------- Projetos realizados ---------- */
.projects { background: var(--black); color: var(--white); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter {
  padding: 11px 22px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.2);
  background: transparent; color: var(--white); font-weight: 700; font-size: 15px; cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.filter:hover { border-color: var(--gold); }
.filter.is-active { background: var(--gold); border-color: var(--gold); color: var(--black); }

.projects__grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.project { position: relative; border-radius: var(--radius-lg); overflow: hidden; cursor: zoom-in; background: var(--ink-2); aspect-ratio: 4/5; }
.project.is-hidden { display: none; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0) 100%); transition: opacity .4s; }
.project:hover img { transform: scale(1.06); }
.project__info { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 20px; }
.project__tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background: var(--gold); color: var(--black); padding: 6px 12px; border-radius: 999px;
}
.project.is-in { animation: projIn .5s var(--ease); }
@keyframes projIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

.projects__cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.12); }
.projects__cta p { color: rgba(255,255,255,.75); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.92); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: 1100px; width: 100%; }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--radius); }
.lightbox figcaption { color: var(--white); text-align: center; margin-top: 14px; font-weight: 600; }
.lightbox__close {
  position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: var(--gold); color: var(--black); font-size: 28px; line-height: 1; cursor: pointer;
}

/* ---------- Numbers ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius-lg); background: var(--gold); overflow: hidden;
}
.stat { padding: 36px 28px; text-align: center; border-right: 1px solid rgba(0,0,0,.15); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: clamp(36px, 4vw, 52px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.stat small { font-size: 15px; font-weight: 600; color: rgba(0,0,0,.7); }

/* ---------- Fresh ---------- */
.fresh__card { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--gold-soft); }
.fresh__media img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.fresh__content { padding: 64px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.fresh__content p { color: var(--gray-text); margin: 18px 0 24px; font-size: 17px; }
.checks { display: grid; gap: 12px; margin-bottom: 32px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.checks li::before {
  content: ""; width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: var(--black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c29744' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ---------- FAQ ---------- */
.faq { padding-top: 0; }
.faq__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.faq__intro { position: sticky; top: 120px; }
.faq__intro .lead { margin: 20px 0 30px; }
.faq__list { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--gray-2); border-radius: var(--radius); background: var(--white); transition: border-color .3s, background .3s; }
.faq__item[open] { border-color: var(--gold); background: #fffdf8; }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 22px 64px 22px 24px; font-weight: 700; font-size: 17px; position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gray-1); font-size: 20px; font-weight: 500; transition: transform .3s, background .3s, color .3s;
}
.faq__item[open] summary::after { content: "–"; background: var(--black); color: var(--gold); }
.faq__item p { padding: 0 24px 22px; color: var(--gray-text); }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: rgba(255,255,255,.7); margin-top: 16px; padding: 90px 0 30px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand p { margin: 20px 0 24px; max-width: 340px; font-size: 15px; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); color: var(--white); transition: all .3s; }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer__col h4 { color: var(--white); font-size: 15px; margin-bottom: 6px; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.5); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: var(--white);
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.7); transition: transform .3s var(--ease);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2.2s ease-out infinite; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { gap: 50px; }
  .diffs { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  .section { padding: 80px 0; }
  .header__cta { display: none; }
  .menu-toggle { display: flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 10px 24px 24px; border-bottom: 1px solid var(--gray-2);
    box-shadow: 0 20px 30px -20px rgba(0,0,0,.25);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all .3s var(--ease);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--gray-1); font-size: 17px; color: var(--black); }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { display: inline-flex; margin-top: 18px; }

  .hero__card { min-height: 600px; }
  .hero__content { padding: 130px 24px 80px; }

  .about__grid, .faq__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .faq__intro { position: static; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 40px; }
  .section-head--center { align-items: center; }
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(0,0,0,.15); }
  .fresh__card { grid-template-columns: 1fr; }
  .fresh__media img { min-height: 280px; max-height: 360px; }
  .fresh__content { padding: 40px 28px; }
}

@media (max-width: 600px) {
  .projects__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .project__info { padding: 14px; }
  .project__tag { font-size: 10px; padding: 5px 9px; }
  .filter { padding: 10px 16px; font-size: 14px; }
  .projects__cta .btn { width: 100%; }
  .container { padding: 0 16px; }
  .header__inner { height: 68px; }
  .logo__img { height: 46px; }
  .hero__content { padding: 110px 16px 64px; }
  .hero__text { font-size: 16px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .brands__list { gap: 18px; }
  .brands__inner { padding: 28px 16px; }
  .about__bento { gap: 8px; }
  .services__grid { grid-template-columns: 1fr; }
  .stat { padding: 26px 14px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}
