/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --verde:        #163B25;
  --verde-escuro: #0F2A1B;
  --verde-medio:  #1E5434;
  --lima:         #C0D200;
  --lima-escuro:  #9EAD00;
  --navy:         #1A3854;
  --texto:        #0E1C12;
  --texto-meio:   #3D4E44;
  --cinza:        #6E7D75;
  --fundo:        #F4F7F2;
  --borda:        #D5E2DA;
  --branco:       #FFFFFF;

  --fonte-titulo: 'Montserrat', sans-serif;
  --fonte-corpo:  'Inter', sans-serif;

  --max-w:    1200px;
  --radius:   8px;
  --shadow:   0 4px 24px rgba(0,0,0,.09);
  --shadow-lg:0 8px 40px rgba(0,0,0,.14);
  --trans:    .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--fonte-corpo);
  color: var(--texto);
  background: var(--branco);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

/* ===== UTILITIES ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section--cinza { background: var(--fundo); }
.section--verde { background: var(--verde); color: var(--branco); }
.section--navy  { background: var(--navy);  color: var(--branco); }

.section-tag {
  display: inline-block;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--lima-escuro); margin-bottom: .75rem;
}
.section-title {
  font-family: var(--fonte-titulo);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800; color: var(--verde);
  line-height: 1.2; margin-bottom: 1rem;
}
.section-sub {
  color: var(--texto-meio);
  font-size: 1.0625rem; line-height: 1.7;
}
.section--verde .section-title,
.section--navy  .section-title { color: var(--branco); }
.section--verde .section-tag,
.section--navy  .section-tag  { color: var(--lima); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .875rem 2rem; border-radius: 4px;
  font-family: var(--fonte-titulo); font-weight: 700;
  font-size: .9375rem; letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--trans), color var(--trans), border-color var(--trans), transform var(--trans);
  white-space: nowrap; line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn--lima    { background: var(--lima); color: var(--verde-escuro); }
.btn--lima:hover { background: var(--lima-escuro); }
.btn--verde   { background: var(--verde); color: var(--branco); border-color: var(--verde); }
.btn--verde:hover { background: var(--verde-medio); border-color: var(--verde-medio); }
.btn--outline-white { background: transparent; color: var(--branco); border-color: rgba(255,255,255,.7); }
.btn--outline-white:hover { background: var(--branco); color: var(--verde); border-color: var(--branco); }
.btn--outline-verde { background: transparent; color: var(--verde); border-color: var(--verde); }
.btn--outline-verde:hover { background: var(--verde); color: var(--branco); }
.btn--wa   { background: #22C55E; color: var(--branco); }
.btn--wa:hover { background: #16A34A; }
.btn--sm   { padding: .625rem 1.375rem; font-size: .875rem; }
.btn--full { width: 100%; justify-content: center; }

/* ===== HEADER / NAV ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--verde-escuro);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.35); }

.nav {
  display: flex; align-items: center; gap: 1.5rem;
  height: 72px;
}

.nav__logo img {
  height: 46px; width: auto;
  filter: brightness(0) invert(1);
}

.nav__list {
  display: flex; gap: 2rem;
  list-style: none; margin-left: auto;
}
.nav__list a {
  color: rgba(255,255,255,.82);
  text-decoration: none; font-size: .9375rem;
  font-weight: 500; transition: color .2s;
}
.nav__list a:hover { color: var(--lima); }

.nav__cta { margin-left: .5rem; }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 6px; margin-left: auto;
}
.nav__toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--branco); border-radius: 2px;
  transition: .3s;
}
.nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav__mobile {
  display: none;
  position: fixed; inset: 72px 0 0 0;
  background: var(--verde-escuro);
  padding: 2rem 1.5rem;
  flex-direction: column; gap: 1.5rem;
  z-index: 99; overflow-y: auto;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  color: rgba(255,255,255,.85); text-decoration: none;
  font-size: 1.1875rem; font-weight: 600; padding: .5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav__mobile a:hover { color: var(--lima); }
.nav__mobile .btn { margin-top: 1rem; justify-content: center; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 30%;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    110deg,
    rgba(12,32,19,.92) 0%,
    rgba(12,32,19,.78) 50%,
    rgba(12,32,19,.32) 100%
  );
}
.hero__content {
  position: relative; z-index: 1;
  padding-top: 5rem; padding-bottom: 3rem;
  max-width: 620px;
}
.hero__tag {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(192,210,0,.12);
  border: 1px solid rgba(192,210,0,.35);
  color: var(--lima); padding: .35rem .9rem; border-radius: 100px;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 1.5rem;
}
.hero__tag::before {
  content: ''; display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--lima);
}
.hero__title {
  font-family: var(--fonte-titulo);
  font-size: clamp(2.125rem, 5vw, 3.5rem);
  font-weight: 800; line-height: 1.15;
  color: var(--branco); margin-bottom: 1.375rem;
}
.hero__title em { color: var(--lima); font-style: normal; }
.hero__sub {
  color: rgba(255,255,255,.80); font-size: 1.125rem;
  max-width: 500px; margin-bottom: 2.5rem; line-height: 1.7;
}
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__ctas .btn { white-space: normal; text-align: center; }

/* ===== STRIP (números rápidos) ===== */
.strip {
  background: var(--verde);
  padding: 1.75rem 0;
}
.strip__inner {
  display: flex; justify-content: space-around;
  flex-wrap: wrap; gap: 1.5rem;
}
.strip__item { text-align: center; color: var(--branco); }
.strip__num {
  font-family: var(--fonte-titulo); font-weight: 800;
  font-size: 2rem; line-height: 1; color: var(--lima);
}
.strip__label { font-size: .875rem; opacity: .8; margin-top: .25rem; }

/* ===== SERVICES ===== */
.servicos__intro { text-align: center; max-width: 580px; margin: 0 auto 3.5rem; }

.servicos__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.servico-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--branco);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform var(--trans), box-shadow var(--trans);
}
.servico-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Destaque: faixa larga com o texto de um lado e a imagem do outro */
.servico-card--featured {
  grid-column: 1 / -1;
  flex-direction: row-reverse;
  align-items: stretch;
}

.servico-card__img {
  width: 100%; height: 240px;
  object-fit: cover; object-position: center;
}
.servico-card--featured .servico-card__img {
  width: 48%; height: auto; min-height: 280px;
}

.servico-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.servico-card--featured .servico-card__body { justify-content: center; padding: 2rem 2.25rem; }

.servico-card__label {
  font-size: .6875rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--lima-escuro); margin-bottom: .5rem;
}
.servico-card__title {
  font-family: var(--fonte-titulo); font-size: 1.1875rem;
  font-weight: 700; color: var(--verde); margin-bottom: .625rem;
}
.servico-card__text {
  color: var(--texto-meio); font-size: .9375rem;
  line-height: 1.65; flex: 1;
}
.servico-card__link {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: 1.25rem; color: var(--verde);
  font-weight: 600; font-size: .9375rem;
  text-decoration: none; transition: gap var(--trans);
}
.servico-card__link::after { content: '→'; }
.servico-card__link:hover { gap: .625rem; }

/* ===== SOLAR SECTION ===== */
.solar { background: var(--verde); }
.solar__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  grid-template-areas: "head imgs" "body imgs";
  grid-template-rows: min-content 1fr;
  gap: 0 4.5rem; align-items: start;
}
.solar__head { grid-area: head; }
.solar__body { grid-area: body; }
.solar__tag {
  display: inline-block;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--lima);
  background: rgba(192,210,0,.12); border: 1px solid rgba(192,210,0,.3);
  padding: .3rem .85rem; border-radius: 100px; margin-bottom: 1.25rem;
}
.solar__title {
  font-family: var(--fonte-titulo);
  font-size: clamp(1.875rem, 3vw, 2.75rem);
  font-weight: 800; color: var(--branco);
  line-height: 1.2; margin-bottom: 1.125rem;
}
.solar__text {
  color: rgba(255,255,255,.82);
  font-size: 1.0625rem; line-height: 1.7; margin-bottom: 1.875rem;
}
.solar__feats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: .75rem 1.5rem; margin-bottom: 2.25rem;
}
.solar__feat {
  display: flex; align-items: flex-start; gap: .625rem;
  font-size: .9375rem; color: rgba(255,255,255,.88);
}
.solar__feat-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lima); flex-shrink: 0; margin-top: .35rem;
}
.solar__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.solar__imgs { grid-area: imgs; align-self: start; display: flex; flex-direction: column; gap: 1rem; }
.solar__img-main {
  width: 100%; height: 320px;
  object-fit: cover; border-radius: var(--radius);
}
.solar__img-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.solar__img-sm {
  width: 100%; height: 175px;
  object-fit: cover; border-radius: var(--radius);
}

/* ===== GALLERY ===== */
.galeria__header { text-align: center; margin-bottom: 2.5rem; }
.galeria__filters {
  display: flex; gap: .5rem; justify-content: center;
  flex-wrap: wrap; margin-top: 1.5rem;
}
.filter-btn {
  padding: .5rem 1.25rem; border-radius: 100px;
  border: 2px solid var(--borda);
  background: transparent; color: var(--texto-meio);
  font-family: var(--fonte-corpo);
  font-size: .875rem; font-weight: 600;
  cursor: pointer; transition: .2s;
}
.filter-btn.active,
.filter-btn:hover {
  border-color: var(--verde); background: var(--verde); color: var(--branco);
}

.galeria__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.galeria__item {
  border-radius: var(--radius);
  overflow: hidden; aspect-ratio: 4/3;
  cursor: pointer;
}
.galeria__item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .4s ease;
}
.galeria__item:hover img { transform: scale(1.07); }
.galeria__item.hidden { display: none; }

/* ===== CIDADES ATENDIDAS ===== */
.cidades__header { text-align: center; margin-bottom: 2.5rem; }
.cidades__grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .625rem; list-style: none;
}
.cidade-chip {
  padding: .5rem 1.25rem; border-radius: 100px;
  background: var(--branco); border: 1px solid var(--borda);
  color: var(--texto-meio); font-size: .9375rem; font-weight: 600;
  transition: border-color var(--trans), color var(--trans), background var(--trans);
}
.cidade-chip:hover { border-color: var(--lima-escuro); color: var(--verde); background: var(--fundo); }
.cidades__nota {
  text-align: center; margin-top: 2rem;
  color: var(--texto-meio); font-size: .9375rem;
}
.cidades__nota a { color: var(--lima-escuro); font-weight: 600; text-decoration: underline; }

/* ===== DIFERENCIAIS ===== */
.diferenciais { background: var(--verde-escuro); }
.diferenciais__header { text-align: center; margin-bottom: 3.5rem; }
.diferenciais__header .section-tag { color: var(--lima); }
.diferenciais__header .section-title { color: var(--branco); }
.diferenciais__header .section-sub { color: rgba(255,255,255,.7); }

.diferenciais__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.diferencial {
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  transition: background var(--trans), border-color var(--trans);
}
.diferencial:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(192,210,0,.3);
}
.diferencial__num {
  font-family: var(--fonte-titulo); font-weight: 800;
  font-size: 2.375rem; color: var(--lima); line-height: 1; margin-bottom: .75rem;
}
.diferencial__title {
  font-family: var(--fonte-titulo); font-size: 1.0625rem;
  font-weight: 700; color: var(--branco); margin-bottom: .5rem;
}
.diferencial__text { font-size: .9rem; color: rgba(255,255,255,.68); line-height: 1.6; }

/* ===== ORCAMENTO ===== */
.orcamento { background: var(--fundo); }
.orcamento__inner {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 5rem; align-items: start;
}
.orcamento__inner > * { min-width: 0; }
.contato-item__value { overflow-wrap: anywhere; }
.orcamento__titulo {
  font-family: var(--fonte-titulo);
  font-size: clamp(1.625rem, 2.5vw, 2.25rem);
  font-weight: 800; color: var(--verde); margin-bottom: .875rem;
}
.orcamento__sub {
  color: var(--texto-meio); font-size: 1.0625rem;
  line-height: 1.65; margin-bottom: 2rem;
}
.contatos-list { display: flex; flex-direction: column; gap: .875rem; }

.contato-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--branco); border-radius: var(--radius);
  border: 1px solid var(--borda); text-decoration: none;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.contato-item:hover { border-color: var(--verde); box-shadow: var(--shadow); }

.contato-item__icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(22,59,37,.1);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contato-item__icon svg { width: 20px; height: 20px; }

.contato-item__label {
  font-size: .6875rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--cinza); display: block;
}
.contato-item__value {
  font-size: .9375rem; font-weight: 600; color: var(--texto); display: block;
}
.contato-item__value a {
  color: inherit; text-decoration: none; transition: color .2s ease;
}
.contato-item__value a:hover { color: var(--verde, #163B25); }

/* FORM */
.form {
  background: var(--branco);
  padding: 2rem 2rem 2.25rem;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.form__group { margin-bottom: 1.25rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__label {
  display: block; font-size: .875rem; font-weight: 600;
  color: var(--texto); margin-bottom: .375rem;
}
.form__input,
.form__select,
.form__textarea {
  width: 100%; padding: .875rem 1rem;
  border: 1.5px solid var(--borda); border-radius: 4px;
  font-family: var(--fonte-corpo); font-size: .9375rem;
  color: var(--texto); background: var(--branco);
  transition: border-color .2s;
  -webkit-appearance: none; appearance: none;
}
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none; border-color: var(--verde);
}
.form__input::placeholder, .form__textarea::placeholder { color: #A0ADA5; }
.form__textarea { resize: vertical; min-height: 96px; }

.form__select-wrap { position: relative; }
.form__select-wrap::after {
  content: '▾'; position: absolute; right: 1rem; top: 50%;
  transform: translateY(-50%); pointer-events: none;
  color: var(--cinza); font-size: .875rem;
}
.form__note {
  font-size: .8125rem; color: var(--cinza);
  margin-bottom: 1.25rem; line-height: 1.5;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--verde-escuro);
  color: rgba(255,255,255,.72);
  padding: 4rem 0 2rem;
}
.footer__inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__logo img {
  height: 44px; width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1.125rem;
}
.footer__desc { font-size: .9375rem; line-height: 1.7; max-width: 300px; }
.footer__cnpj { font-size: .8125rem; opacity: .5; margin-top: .75rem; }
.footer__heading {
  font-family: var(--fonte-titulo); font-weight: 700;
  color: var(--branco); font-size: .9375rem; margin-bottom: 1.125rem;
}
.footer__list { list-style: none; display: flex; flex-direction: column; gap: .625rem; }
.footer__list a {
  color: rgba(255,255,255,.68); text-decoration: none;
  font-size: .9375rem; transition: color .2s;
}
.footer__list a:hover { color: var(--lima); }
.footer__list li { font-size: .9375rem; }
.footer__confirmar { opacity: .45; font-size: .875rem; font-style: italic; }

.footer__bottom {
  display: flex; justify-content: space-between;
  align-items: center; gap: 1rem; flex-wrap: wrap;
  font-size: .875rem; opacity: .55;
}
.footer__bottom a { color: inherit; text-decoration: none; }
.footer__bottom a:hover { opacity: .8; }
.footer__dev { display: flex; align-items: center; gap: .4rem; }
.footer__dev-logo { height: 22px; width: auto; display: block; opacity: .85; transition: opacity .2s; }
.footer__dev a:hover .footer__dev-logo { opacity: 1; }

/* ===== FLOATING WHATSAPP ===== */
.wap-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50;
  width: 58px; height: 58px; border-radius: 50%;
  background: #22C55E;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}
.wap-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(0,0,0,.4); }
.wap-float svg { width: 30px; height: 30px; fill: var(--branco); }

/* ===== SHARED SERVICE DETAIL SECTIONS ===== */
.sec-detail__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  grid-template-areas: "head imgs" "body imgs";
  grid-template-rows: min-content 1fr;
  gap: 0 4.5rem; align-items: start;
}
.sec-detail__head { grid-area: head; }
.sec-detail__body { grid-area: body; }
/* Seções com imagens à esquerda no desktop (zigue-zague) */
.clima-sec .sec-detail__inner,
.eletrica-sec .sec-detail__inner {
  grid-template-areas: "imgs head" "imgs body";
}
.sec-detail__imgs { grid-area: imgs; align-self: start; display: flex; flex-direction: column; gap: 1rem; }
.sec-detail__img-main {
  width: 100%; height: 320px;
  object-fit: cover; border-radius: var(--radius);
}
.sec-detail__img-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.sec-detail__img-sm {
  width: 100%; height: 175px;
  object-fit: cover; border-radius: var(--radius);
}
.sec-detail__tag {
  display: inline-block;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--lima); background: rgba(192,210,0,.12); border: 1px solid rgba(192,210,0,.3);
  padding: .3rem .85rem; border-radius: 100px; margin-bottom: 1.25rem;
}
.sec-detail__title {
  font-family: var(--fonte-titulo);
  font-size: clamp(1.875rem, 3vw, 2.75rem);
  font-weight: 800; color: var(--branco);
  line-height: 1.2; margin-bottom: 1.125rem;
}
.sec-detail__text {
  color: rgba(255,255,255,.82);
  font-size: 1.0625rem; line-height: 1.7; margin-bottom: 1.875rem;
}
.sec-detail__feats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: .75rem 1.5rem; margin-bottom: 2.25rem;
}
.sec-detail__feat {
  display: flex; align-items: flex-start; gap: .625rem;
  font-size: .9375rem; color: rgba(255,255,255,.88);
}
.sec-detail__feat-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lima); flex-shrink: 0; margin-top: .35rem;
}
.sec-detail__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.clima-sec { background: var(--fundo); }
.clima-sec .sec-detail__tag {
  color: var(--lima-escuro); background: rgba(22,59,37,.08); border-color: rgba(22,59,37,.2);
}
.clima-sec .sec-detail__title { color: var(--verde); }
.clima-sec .sec-detail__text { color: var(--texto-meio); }
.clima-sec .sec-detail__feat { color: var(--texto-meio); }
.clima-sec .sec-detail__feat-dot { background: var(--verde-medio); }

.cameras-sec { background: var(--navy); }
.eletrica-sec { background: var(--verde-escuro); }

/* ===== WHATSAPP MENU ===== */
.wa-menu { position: relative; display: inline-block; }
.wa-menu__btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .875rem 2rem; border-radius: 4px;
  font-family: var(--fonte-titulo); font-weight: 700;
  font-size: .9375rem; letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--trans), color var(--trans), transform var(--trans);
  white-space: nowrap; line-height: 1;
}
.wa-menu__btn:hover { transform: translateY(-1px); }
.wa-menu__btn--lima { background: var(--lima); color: var(--verde-escuro); }
.wa-menu__btn--lima:hover { background: var(--lima-escuro); }
.wa-menu__btn--outline-white { background: transparent; color: var(--branco); border-color: rgba(255,255,255,.7); }
.wa-menu__btn--outline-white:hover { background: var(--branco); color: var(--verde); }
.wa-menu__btn--outline-verde { background: transparent; color: var(--verde); border-color: var(--verde); }
.wa-menu__btn--outline-verde:hover { background: var(--verde); color: var(--branco); }
.wa-menu__btn--sm { padding: .625rem 1.375rem; font-size: .875rem; }

.wa-menu__dropdown {
  display: none;
  position: absolute; bottom: calc(100% + .5rem); left: 0;
  background: var(--branco);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid var(--borda);
  min-width: 230px; z-index: 200;
  overflow: hidden;
}
.wa-menu.open .wa-menu__dropdown { display: block; }
.wa-menu__dropdown a {
  display: flex; align-items: center; gap: .75rem;
  padding: .875rem 1.125rem;
  color: var(--texto); text-decoration: none; font-size: .9375rem;
  font-weight: 500; transition: background .15s, color .15s;
  border-bottom: 1px solid var(--borda);
}
.wa-menu__dropdown a:last-child { border-bottom: none; }
.wa-menu__dropdown a:hover { background: var(--fundo); color: var(--verde); }
.wa-menu__dropdown a svg { flex-shrink: 0; }

/* Float WA menu (bottom-right) */
.wap-float-wrap { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50; }
.wap-float-wrap .wa-menu__dropdown {
  bottom: calc(100% + .75rem); left: auto; right: 0;
}
.nav__wa-menu .wa-menu__dropdown {
  top: calc(100% + .5rem); bottom: auto; left: 0;
}
.wap-float-btn {
  width: 58px; height: 58px; border-radius: 50%;
  background: #22C55E;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none; cursor: pointer; border: none;
}
.wap-float-btn:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(0,0,0,.4); }
.wap-float-btn svg { width: 30px; height: 30px; fill: var(--branco); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .servicos__grid { grid-template-columns: repeat(2, 1fr); }
  .servico-card--featured { grid-column: 1 / -1; }
  .galeria__grid { grid-template-columns: repeat(3, 1fr); }
  .diferenciais__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / 3; }
}

@media (max-width: 768px) {
  .nav__list, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .servico-card--featured { flex-direction: column; }
  .servico-card--featured .servico-card__img { width: 100%; height: 240px; min-height: 0; }
  .servico-card--featured .servico-card__body { padding: 1.5rem; }
  .solar__inner, .sec-detail__inner {
    display: flex; flex-direction: column; gap: 1.75rem;
  }
  .solar__head, .sec-detail__head { order: 1; }
  .solar__imgs, .sec-detail__imgs { order: 2; }
  .solar__body, .sec-detail__body { order: 3; }
  .solar__title, .sec-detail__title { margin-bottom: 0; }
  .solar__img-row, .sec-detail__img-row { grid-template-columns: 1fr 1fr; }
  .orcamento__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .galeria__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
  .strip__item { min-width: 40%; }
}

@media (max-width: 540px) {
  .servicos__grid { grid-template-columns: 1fr; }
  .servico-card--featured { grid-column: auto; }
  .form__row { grid-template-columns: 1fr; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { justify-content: center; }
  .solar__ctas { flex-direction: column; }
  .solar__ctas .btn { justify-content: center; }
  .solar__img-row { grid-template-columns: 1fr; }
  .sec-detail__ctas { flex-direction: column; }
  .sec-detail__ctas .btn { justify-content: center; }
  .sec-detail__img-row { grid-template-columns: 1fr; }
  /* botão secundário de WhatsApp ocupa a largura toda, igual ao primário */
  .hero__ctas .wa-menu,
  .solar__ctas .wa-menu,
  .sec-detail__ctas .wa-menu { width: 100%; }
  .hero__ctas .wa-menu__btn,
  .solar__ctas .wa-menu__btn,
  .sec-detail__ctas .wa-menu__btn { width: 100%; justify-content: center; }
  .diferenciais__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 360px) {
  .galeria__grid { grid-template-columns: 1fr; }
  .diferenciais__grid { grid-template-columns: 1fr; }
}

/* ===== PÁGINAS DE CIDADE ===== */
.hero--interna { min-height: 62vh; }
.strip--interna .strip__num { font-size: 1.375rem; }

.prose-cidade { max-width: 780px; }
.prose-cidade > p { color: var(--texto-meio); font-size: 1.0625rem; line-height: 1.75; margin-top: 1.125rem; }
.prose-cidade strong { color: var(--texto); }
.prose-cidade .section-title { margin-bottom: .5rem; }
.prose-cidade__h3 {
  font-family: var(--fonte-titulo); font-weight: 700;
  font-size: 1.375rem; color: var(--verde);
  margin-top: 2.5rem; margin-bottom: 1rem;
}
.lista-servicos { list-style: none; display: grid; gap: .75rem; }
.lista-servicos li {
  position: relative; padding-left: 1.75rem;
  color: var(--texto-meio); line-height: 1.6;
}
.lista-servicos li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--lima-escuro); font-weight: 800;
}

.cta-cidade { max-width: 760px; text-align: center; }
.cta-cidade__sub { color: rgba(255,255,255,.85); font-size: 1.0625rem; margin: 1rem auto 2rem; max-width: 560px; }
.cta-cidade__ctas { justify-content: center; }

.faq-lista { display: grid; gap: 1rem; margin-top: 1.5rem; }
.faq-item {
  border: 1px solid var(--borda); border-radius: var(--radius);
  background: var(--branco); padding: 0 1.25rem;
}
.faq-item summary {
  cursor: pointer; list-style: none;
  font-family: var(--fonte-titulo); font-weight: 600;
  color: var(--verde); padding: 1.125rem 0;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.5rem; color: var(--lima-escuro);
  font-weight: 400; line-height: 1; flex-shrink: 0;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item p { color: var(--texto-meio); padding-bottom: 1.25rem; line-height: 1.7; }

a.cidade-chip { text-decoration: none; }

/* blocos de serviço por cidade (imagem + texto alternados) */
.serv-cidade { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; margin-top: 3rem; }
.serv-cidade__item {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem; align-items: center; min-width: 0;
}
.serv-cidade__img {
  width: 100%; height: 340px; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.serv-cidade__item:nth-child(even) .serv-cidade__img { order: 2; }
.serv-cidade__item:nth-child(even) .serv-cidade__body { order: 1; }
.serv-cidade__title {
  font-family: var(--fonte-titulo); font-weight: 700;
  font-size: 1.5rem; color: var(--verde);
  margin: .35rem 0 .875rem;
}
.serv-cidade__body > p { color: var(--texto-meio); line-height: 1.75; margin-bottom: 1.125rem; }
.serv-cidade__body .lista-servicos { margin-bottom: 1.5rem; }
/* rótulos longos podem quebrar linha em telas estreitas (evita overflow) */
.serv-cidade__body .btn { white-space: normal; text-align: center; }

/* diferenciais compactos */
.dif-cidade {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem; margin-top: 2rem;
}
.dif-cidade__item {
  background: var(--branco); border: 1px solid var(--borda);
  border-radius: var(--radius); padding: 1.25rem;
  display: flex; flex-direction: column; gap: .35rem;
}
.dif-cidade__item strong {
  font-family: var(--fonte-titulo); color: var(--verde); font-size: 1.0625rem;
}
.dif-cidade__item span { color: var(--texto-meio); font-size: .9375rem; }

@media (max-width: 860px) {
  .serv-cidade__item { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .serv-cidade__img { height: 240px; order: 0 !important; }
  .serv-cidade__body { order: 0 !important; }
  .dif-cidade { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .dif-cidade { grid-template-columns: 1fr; }
}
