:root {
  --ink: #163247;
  --blue: #4f789f;
  --sky: #f1f8fc;
  --aqua: #e6f5f7;
  --pink: #fff3f7;
  --rose: #c3839e;
  --orange: #d97852;
  --cream: #fffdfb;
  --line: #d9e6eb;
  --muted: #5f7683;
}

body { background: #fffdfc; }
a, button, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid #5a8fb8;
  outline-offset: 3px;
}

.topbar {
  height: 38px;
  background: #e8f4fa;
  color: var(--ink);
  border-bottom: 1px solid #d3e6ef;
}
.topbar a { color: var(--blue); font-weight: 700; }

.header {
  min-height: 92px;
  height: auto;
  background: rgba(255,255,255,.97);
  box-shadow: 0 8px 28px rgba(25, 58, 76, .06);
}
.header .brand-logo { width: 188px; height: 76px; overflow: hidden; }
.header .brand-logo img {
  width: 188px;
  height: 82px;
  object-fit: contain;
  object-position: center;
  transform: none;
}
.nav { gap: 1.25rem; align-items: center; }
.nav a { font-weight: 600; }
.nav a:hover { color: var(--rose); }
.header-actions .button-dark, .cart-button { border-radius: 999px; min-height: 44px; }
.cart-button { padding: 0 14px; background: #f0f6f9; font-size: .82rem; }
.button { border-radius: 12px; min-height: 48px; }
.button-accent { background: var(--rose); box-shadow: 0 10px 25px rgba(195, 131, 158, .22); }
.button-dark { background: var(--ink); }

.hero { background: #fffdfc; min-height: 625px; }
.hero::before {
  display: none;
}
.hero .lead { max-width: 620px; }
.hero-art {
  border: 1px solid #d8e7ed;
  border-radius: 28px;
  min-height: 390px;
  background: linear-gradient(145deg, #eef8fc 0%, #fff4f8 100%);
  overflow: hidden;
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: 13%;
  background: url("assets/logo-cabecalho.png") center / contain no-repeat;
  opacity: .18;
}
.hero-art .air-unit, .hero-art .hero-orb { display: none; }
.hero-art .service-tag {
  right: 28px;
  bottom: 28px;
  border-radius: 14px;
  box-shadow: 0 16px 30px rgba(22,50,71,.16);
}
.trust-row { gap: 18px; }
.trust-row > div { flex: 1; }

.credentials-banner { background: var(--sky); }
.credentials-banner-inner { max-width: 1220px; margin: 0 auto; }
.credentials-banner figure { border-radius: 24px; overflow: hidden; box-shadow: 0 18px 35px rgba(22,50,71,.10); }
.credentials-banner figure img { display: block; width: 100%; height: auto; border-radius: 24px; }

.services { background: var(--pink); }
.service-grid { gap: 18px; background: transparent; }
.service-grid article {
  border: 1px solid #eadfe4;
  border-radius: 20px;
  box-shadow: 0 14px 32px rgba(80, 72, 78, .06);
}
.service-grid button, .project-details-button { min-height: 44px; }

.about { background: #fffdfc; }
.about-visual {
  height: clamp(390px, 38vw, 520px);
  margin: 0;
  padding-top: 0;
  border-radius: 26px;
  background: var(--sky);
  overflow: hidden;
  box-shadow: 0 22px 48px rgba(22,50,71,.12);
}
.about-visual::before,
.about-visual::after { display: none !important; }
.about-visual > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.about-visual .about-card {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: auto;
  top: auto;
  bottom: 24px;
  width: min(330px, calc(100% - 48px));
  min-height: 0;
  padding: 20px 22px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 32px rgba(22,50,71,.14);
  backdrop-filter: blur(10px);
  color: var(--ink);
  text-align: left;
  align-items: flex-start;
  justify-content: flex-start;
}
.about-visual .about-card b { max-width: none; font-size: 1rem; line-height: 1.45; }
.about-visual .about-card span { color: var(--blue); font-weight: 600; }

.portfolio { background: var(--sky); color: var(--ink); }
.portfolio .eyebrow { color: var(--blue); }
.portfolio .button-outline { border-color: var(--ink); color: var(--ink); }
.project-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project {
  --card-accent: #2f7897;
  --card-soft: #dceff5;
  isolation: isolate;
  border-radius: 22px;
  min-height: 390px;
  height: auto;
  padding: 28px;
  border: 1px solid rgba(77,120,152,.18);
  background: rgba(255,255,255,.9) !important;
  box-shadow: 0 18px 42px rgba(22,50,71,.09);
  color: var(--ink);
  justify-content: flex-start;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.project:hover {
  transform: translateY(-7px);
  border-color: color-mix(in srgb, var(--card-accent) 45%, white);
  box-shadow: 0 25px 55px rgba(22,50,71,.15);
}
.project::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 190px;
  height: 190px;
  top: -90px;
  right: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--card-soft) 0 57%, transparent 58%);
  opacity: .9;
}
.project::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: var(--card-accent);
}
.project > * { position: relative; z-index: 1; }
.project.p2 { --card-accent: #4f8290; --card-soft: #e0f1f0; }
.project.p3 { --card-accent: #ad6c88; --card-soft: #f8e6ee; }
.project-index {
  position: absolute;
  top: 24px;
  right: 26px;
  color: var(--card-accent) !important;
  font: 800 .78rem Manrope, sans-serif;
  letter-spacing: .16em;
}
.project-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-bottom: 32px;
  border-radius: 20px;
  background: var(--card-soft);
  color: var(--card-accent) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
}
.project-icon svg {
  width: 35px;
  height: 35px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.project-label {
  margin: 0 0 10px;
  color: var(--card-accent);
  font-size: .71rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.project > h3 {
  width: 100%;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.18;
  text-align: left;
}
.project-summary {
  margin: 15px 0 24px;
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.6;
}
.project-brand { background-image: none !important; }
.project-details-button {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  padding: 14px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font: 700 .9rem "DM Sans", sans-serif;
  text-align: left;
  cursor: pointer;
}
.project-details-button b {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--card-soft);
  color: var(--card-accent);
  font-size: 1.15rem;
  transition: transform .2s ease;
}
.project:hover .project-details-button b { transform: translateX(3px); }

.shop { background: var(--pink); }
.shop::before { display: none !important; }
.section-support { margin: 18px 0 0; color: var(--muted); max-width: 650px; line-height: 1.65; }
.shop-tab, .shop-subtab { min-height: 46px; border-radius: 12px; }
.product { border: 1px solid #eadfe4; border-radius: 20px; overflow: hidden; box-shadow: 0 14px 32px rgba(80,72,78,.06); }
.product-image { border-radius: 14px; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: contain; }
.product button { min-height: 46px; border-radius: 10px; }

.pmoc { background: var(--aqua); }
.pmoc .button { margin-top: 12px; }

.faq { background: #fffdfc; }
.faq-list { max-width: 980px; display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 0 22px; }
.faq-list summary { cursor: pointer; list-style: none; min-height: 64px; display: flex; align-items: center; justify-content: space-between; font: 700 1rem Manrope; }
.faq-list summary::after { content: "+"; color: var(--blue); font-size: 1.4rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { color: var(--muted); line-height: 1.7; padding: 0 0 22px; margin: 0; }

.contact { background: var(--pink); }
.lead-form { background: rgba(255,255,255,.78); border: 1px solid #eadfe4; border-radius: 22px; padding: 30px; box-shadow: 0 18px 38px rgba(80,72,78,.06); }
.form-intro { color: var(--muted); line-height: 1.55; font-size: .86rem; }
.form-intro a, .form-note a { color: var(--blue); font-weight: 700; }
.optional { color: var(--muted); font-weight: 500; }
.form-consent { flex-direction: row !important; align-items: flex-start; line-height: 1.5; }
.form-consent input { width: 20px; height: 20px; flex: 0 0 20px; margin: 0; }

footer { background: #fff4f8; color: var(--muted); border-top: 1px solid #efdfe6; }
footer .footer-logo { background: transparent; }
footer .footer-social { gap: 18px; flex-wrap: wrap; }
footer a { color: var(--ink); }

.floating-whatsapp {
  position: fixed;
  z-index: 40;
  right: 22px;
  bottom: 22px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  border-radius: 999px;
  color: #fff;
  background: #278b55;
  box-shadow: 0 14px 30px rgba(39,139,85,.28);
  text-decoration: none;
  font-weight: 700;
}

dialog { border-radius: 22px; }
.drawer { border-radius: 22px 0 0 22px; }

@media (max-width: 1100px) {
  .nav { gap: .8rem; }
  .nav a { font-size: .78rem; }
  .header .brand-logo, .header .brand-logo img { width: 150px; }
}

@media (max-width: 850px) {
  .header { min-height: 78px; }
  .header .brand-logo, .header .brand-logo img { width: 150px; height: 66px; }
  .menu-toggle { min-width: 54px; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; font-size: .8rem; font-weight: 700; color: var(--ink); }
  .nav.open { background: rgba(255,255,255,.99); border: 1px solid var(--line); border-radius: 0 0 18px 18px; box-shadow: 0 18px 35px rgba(22,50,71,.12); }
  .nav.open a { min-height: 46px; display: flex; align-items: center; padding-inline: 20px; }
  .hero { padding-top: 54px; }
  .hero-art { min-height: 300px; }
  .project-grid { grid-template-columns: 1fr; }
  .project { min-height: 250px; }
  .quick-request-form { padding: 24px; }
}

@media (max-width: 560px) {
  .header-actions .cart-button { display: none; }
  .header { gap: 12px; }
  .header .brand-logo, .header .brand-logo img { width: 145px; height: 62px; }
  .hero-art { min-height: 245px; }
  .hero-art .service-tag { right: 16px; bottom: 16px; }
  .trust-row { display: grid; grid-template-columns: repeat(3, 1fr); }
  .trust-row span { line-height: 1.3; }
  .floating-whatsapp { right: 14px; bottom: 14px; min-height: 46px; padding: 0 16px; font-size: .82rem; }
  .faq-list details { padding: 0 17px; }
  .faq-list summary { min-height: 58px; font-size: .92rem; }
  .lead-form { padding: 22px 18px; }
  .about-visual { height: 340px; padding-top: 0; }
  .about-visual .about-card { left: 16px; right: 16px; bottom: 16px; width: auto; padding: 17px 18px; }
}
