@import url('../fonts/fonts.css');

/* ==========================================================================
   ISOLAND — Sistema de design
   1. Tokens
   2. Base e tipografia
   3. Layout
   4. Componentes (botões, etiquetas, cabeçalhos de secção)
   5. Cabeçalho e navegação
   6. Hero
   7. Faixa de parceiros
   8. Valores
   9. Serviços
   10. Sobre
   11. Processo e garantias
   12. Obras
   13. Testemunhos
   14. Zonas
   15. FAQ
   16. Contacto e formulário
   17. Rodapé
   18. Lightbox, barra móvel, animações
   19. Páginas legais
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Marca */
  --teal: #00bcce;
  --teal-ink: #007e8a;
  --charcoal: #393b36;

  /* Neutros */
  --ink: #191b16;
  --ink-soft: #33362f;
  --muted: #62665c;
  --paper: #f8f8f4;
  --paper-2: #eeeee7;
  --white: #ffffff;
  --line: rgba(25, 27, 22, 0.13);
  --line-soft: rgba(25, 27, 22, 0.07);
  --line-dark: rgba(255, 255, 255, 0.14);

  /* Ação — verde exclusivo dos call-to-action */
  --green: #0c7c46;
  --green-hover: #0a6839;

  /* Tipografia */
  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --fs-display: clamp(2.05rem, 6.2vw, 4.6rem);
  --fs-h2: clamp(1.95rem, 3.4vw, 3rem);
  --fs-h3: clamp(1.3rem, 1.9vw, 1.65rem);
  --fs-lead: clamp(1.06rem, 1.5vw, 1.28rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-xs: 0.8125rem;

  /* Espaço */
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section: clamp(4.25rem, 8vw, 7.5rem);
  --max: 1240px;
  --radius: 4px;
  --radius-lg: 8px;

  --shadow-sm: 0 1px 2px rgba(25, 27, 22, 0.06), 0 8px 24px -16px rgba(25, 27, 22, 0.3);
  --shadow-md: 0 24px 60px -32px rgba(25, 27, 22, 0.45);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 2. Base e tipografia ---------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: var(--fs-display); letter-spacing: -0.035em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.015em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0; padding: 0; list-style: none; }

strong { font-weight: 600; }

::selection { background: var(--teal); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--teal-ink);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 200;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* 3. Layout --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--sand { background: var(--paper-2); }

.section--dark {
  background: var(--ink);
  color: #e9ece4;
  position: relative;
  isolation: isolate;
}

/* Textura diagonal — eco do traço do logotipo */
.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(
    -55deg,
    rgba(255, 255, 255, 0.035) 0 1px,
    transparent 1px 14px
  );
  pointer-events: none;
}

.grid { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); }

/* 4. Componentes ---------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-ink);
  margin: 0 0 1.15rem;
}

.eyebrow::before {
  content: '';
  width: 1.5rem;
  height: 2px;
  background: var(--teal);
  transform: skewX(-32deg);
  flex: none;
}

.section--dark .eyebrow { color: var(--teal); }

.section-head { max-width: 46rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p {
  margin-top: 1.1rem;
  font-size: var(--fs-lead);
  color: var(--muted);
  line-height: 1.55;
}
.section--dark .section-head p { color: rgba(233, 236, 228, 0.72); }

.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
}

/* Botões */
.btn {
  --btn-bg: var(--green);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 1.05rem 1.6rem;
  min-height: 3.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:hover { background: var(--green-hover); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn svg { flex: none; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: rgba(25, 27, 22, 0.28);
}
.btn--ghost:hover { background: rgba(25, 27, 22, 0.05); border-color: var(--ink); }

.section--dark .btn--ghost,
.hero .btn--ghost {
  --btn-fg: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.06);
}
.section--dark .btn--ghost:hover,
.hero .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--white);
}

.btn--sm { padding: 0.8rem 1.15rem; min-height: 2.75rem; font-size: 0.9rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--teal-ink);
  border-bottom: 1px solid transparent;
  transition: gap 0.2s var(--ease), border-color 0.2s var(--ease);
}
.link-arrow:hover { gap: 0.8rem; border-color: currentColor; }
.link-arrow svg { transition: transform 0.2s var(--ease); }

/* 5. Cabeçalho ------------------------------------------------------------ */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-xs);
  letter-spacing: 0.02em;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 2.6rem;
}
.topbar__list { display: flex; align-items: center; gap: 1.5rem; }
.topbar__item { display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar__item svg { color: var(--teal); flex: none; }
.topbar a:hover { color: var(--white); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(248, 248, 244, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 10px 30px -24px rgba(25, 27, 22, 0.6); }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  min-height: 4.75rem;
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img,
.brand svg { height: 2.1rem; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 1.85rem);
  margin-left: auto;
}

.nav__link {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding-block: 0.4rem;
  transition: color 0.2s var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 0.9rem; }

.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  white-space: nowrap;
}
.nav__phone svg { color: var(--teal-ink); }
.nav__phone:hover { color: var(--teal-ink); }

.nav__toggle {
  display: none;
  width: 2.9rem; height: 2.9rem;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--ink);
}

.nav__back {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  border-bottom: 1px solid var(--teal);
  padding-bottom: 0.1rem;
}
.nav__back:hover { color: var(--teal-ink); }

.nav__toggle-bars { position: relative; width: 18px; height: 12px; }
.nav__toggle-bars span {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav__toggle-bars span:nth-child(1) { top: 0; }
.nav__toggle-bars span:nth-child(2) { top: 5px; }
.nav__toggle-bars span:nth-child(3) { top: 10px; }
.nav.is-open .nav__toggle-bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav.is-open .nav__toggle-bars span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle-bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line-soft);
  background: var(--paper);
  padding: 1rem var(--gutter) 1.75rem;
}
.mobile-menu.is-open { display: block; }
.mobile-menu ul { display: grid; gap: 0.15rem; }
.mobile-menu a {
  display: block;
  padding: 0.9rem 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu .btn { margin-top: 1.25rem; }

/* 6. Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  color: var(--white);
  overflow: hidden;
  background: var(--ink);
}

.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(10, 12, 9, 0.93) 0%, rgba(10, 12, 9, 0.82) 42%, rgba(10, 12, 9, 0.42) 72%, rgba(10, 12, 9, 0.55) 100%),
    linear-gradient(to top, rgba(10, 12, 9, 0.85), transparent 55%);
}

.hero__inner {
  padding-top: clamp(4rem, 9vw, 7.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  max-width: 54rem;
}

.hero h1 { margin-bottom: 1.35rem; }
.hero h1 em {
  font-style: normal;
  color: var(--teal);
}

.hero__lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.84);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.78);
}
.hero__points li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero__points svg { color: var(--teal); flex: none; }

.hero__strip {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 10, 7, 0.42);
  backdrop-filter: blur(10px);
}
.hero__strip ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.hero__strip li {
  padding: 1.5rem 1.25rem 1.5rem 0;
  display: grid;
  gap: 0.15rem;
}
.hero__strip li + li {
  padding-left: 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.hero__strip .num {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--white);
}
.hero__strip .num span { color: var(--teal); }
.hero__strip .lbl {
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

/* 7. Parceiros ------------------------------------------------------------ */
.partners { background: var(--white); border-bottom: 1px solid var(--line-soft); }
.partners__inner {
  display: block;
}
.partners__label {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 clamp(1.35rem, 2.5vw, 1.9rem);
  line-height: 1.6;
}
.partners__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 3vw, 2.75rem);
}
.partners__list li { display: flex; align-items: center; }
.partners__list .logo {
  height: auto;
  width: auto;
  max-width: 100%;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.58;
  transition: opacity 0.25s var(--ease), filter 0.25s var(--ease);
}
.partners__list .logo:hover { opacity: 1; filter: none; }
.logo--lg { height: 3.1rem !important; }
.logo--md { height: 2.6rem !important; }
.logo--sm { height: 1.75rem !important; }
.logo--xs { height: 1.1rem !important; }

/* 8. Valores -------------------------------------------------------------- */
.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.value {
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.25rem, 2.5vw, 2.25rem) 0 0;
  position: relative;
}
.value + .value {
  padding-left: clamp(1.25rem, 2.5vw, 2.25rem);
  border-left: 1px solid var(--line);
}
.value__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem; height: 2.9rem;
  margin-bottom: 1.25rem;
  border-radius: var(--radius);
  background: rgba(0, 188, 206, 0.1);
  color: var(--teal-ink);
}
.value h3 { margin-bottom: 0.6rem; font-size: 1.2rem; }
.value p { color: var(--muted); font-size: var(--fs-small); margin: 0; }

/* 9. Serviços ------------------------------------------------------------- */
.services { display: grid; gap: clamp(3.5rem, 7vw, 6rem); }

.service {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.75rem, 4.5vw, 4rem);
  align-items: center;
}

.service:nth-child(even) .service__body { order: 2; }
.service:nth-child(even) .service__media { order: 1; }

.service__index {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.service__num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--teal-ink);
}
.service__rule { flex: 1; height: 1px; background: var(--line); }

.service h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  margin-bottom: 0.9rem;
}
.service p { color: var(--muted); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.35rem 0 1.6rem;
}
.chips li {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  padding: 0.4rem 0.7rem;
  border-radius: 100px;
  white-space: nowrap;
}

.service__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.service__media {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  aspect-ratio: 4 / 3;
}

.service__media button {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  background: var(--paper-2);
  overflow: hidden;
  cursor: zoom-in;
  border-radius: var(--radius);
}
.service__media button:first-child {
  grid-row: span 2;
  border-top-left-radius: var(--radius);
}
.service__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
}
.service__media button:hover img { transform: scale(1.045); }
.service__media button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 9, 0.16);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.service__media button:hover::after { opacity: 1; }

.service__count {
  position: absolute;
  left: 0.6rem; bottom: 0.6rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  padding: 0.3rem 0.55rem;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

/* 10. Sobre --------------------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: stretch;
}
.about__media { position: relative; }
.about__media img {
  width: 100%;
  height: 100%;
  min-height: 24rem;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  border-radius: var(--radius);
}
.about__badge {
  position: absolute;
  right: -0.5rem;
  bottom: -1.5rem;
  background: var(--teal);
  color: var(--ink);
  padding: 1.15rem 1.4rem;
  border-radius: var(--radius);
  max-width: 12.5rem;
  box-shadow: var(--shadow-md);
}
.about__badge .num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  display: block;
}
.about__badge .lbl {
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.35;
  display: block;
  margin-top: 0.35rem;
}

.about__body p { color: rgba(233, 236, 228, 0.78); }
.about__body h2 { margin-bottom: 1.35rem; }

.about__list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.9rem;
  padding-top: 1.9rem;
  border-top: 1px solid var(--line-dark);
}
.about__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: var(--fs-small);
  color: rgba(233, 236, 228, 0.9);
}
.about__list svg { color: var(--teal); flex: none; margin-top: 0.25rem; }

/* 11. Processo e garantias ------------------------------------------------ */
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  counter-reset: step;
}
.step { position: relative; padding-top: 1.9rem; border-top: 2px solid var(--line); }
.step::before {
  counter-increment: step;
  content: '0' counter(step);
  position: absolute;
  top: 1.15rem; left: 0;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--teal-ink);
}
.step h3 { font-size: 1.1rem; margin: 0.5rem 0 0.5rem; }
.step p { font-size: var(--fs-small); color: var(--muted); margin: 0; }

.guarantees {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.guarantee {
  background: var(--ink);
  padding: clamp(1.4rem, 2.6vw, 2rem);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.guarantee svg { color: var(--teal); flex: none; margin-top: 0.15rem; }
.guarantee h3 { font-size: 1.02rem; margin-bottom: 0.3rem; color: var(--white); }
.guarantee p { font-size: var(--fs-small); color: rgba(233, 236, 228, 0.7); margin: 0; }

/* 12. Obras --------------------------------------------------------------- */
.obras {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.obra {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-soft);
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  padding: 0; border: 0;
}
.obra img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.obra:hover img { transform: scale(1.05); }
.obra figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1rem 0.9rem;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--white);
  text-align: left;
  background: linear-gradient(to top, rgba(10, 12, 9, 0.82), transparent);
}
.obra--wide { grid-column: span 2; aspect-ratio: 8 / 3.05; }

/* 13. Testemunhos --------------------------------------------------------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.quote {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.6vw, 2rem);
  box-shadow: var(--shadow-sm);
}
.quote__stars {
  display: flex;
  gap: 0.15rem;
  color: #f2a900;
}
.quote__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  margin: 0;
}
.quote__title::first-letter { text-transform: uppercase; }
.quote blockquote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  flex: 1;
}
.quote figcaption {
  font-size: var(--fs-small);
  color: var(--muted);
  padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
}
.quote figcaption strong { color: var(--ink); font-weight: 600; }

/* 14. Zonas --------------------------------------------------------------- */
.zonas {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.zonas__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.zonas__list li {
  font-family: var(--font-display);
  font-size: var(--fs-small);
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink-soft);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.zonas__list li:hover { border-color: var(--teal); color: var(--teal-ink); }

/* 15. FAQ ----------------------------------------------------------------- */
.faq { max-width: 56rem; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  flex: none;
  width: 1.5rem; height: 1.5rem;
  position: relative;
  margin-top: 0.1rem;
  color: var(--teal-ink);
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  inset: 50% 0 auto 0;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__answer {
  padding: 0 0 1.5rem;
  color: var(--muted);
  max-width: 46rem;
}

/* 16. Contacto ------------------------------------------------------------ */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.contact__info { display: grid; gap: 1.5rem; }
.contact__block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-dark);
}
.contact__block:last-child { border-bottom: 0; padding-bottom: 0; }
.contact__icon {
  flex: none;
  width: 2.5rem; height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(0, 188, 206, 0.12);
  color: var(--teal);
}
.contact__block h3 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(233, 236, 228, 0.55);
  margin-bottom: 0.4rem;
}
.contact__block p,
.contact__block a {
  color: var(--white);
  font-size: 1.02rem;
  line-height: 1.5;
  margin: 0;
}
.contact__block a:hover { color: var(--teal); }
.contact__block .note {
  display: block;
  font-size: var(--fs-xs);
  color: rgba(233, 236, 228, 0.5);
  margin-top: 0.15rem;
}

.form-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-md);
}
.form-card h3 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.form-card > p { font-size: var(--fs-small); color: var(--muted); margin-bottom: 1.5rem; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}
.field { display: grid; gap: 0.35rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  width: 100%;
  min-height: 3rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}
.field textarea { min-height: 6.5rem; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2362665c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.4rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 188, 206, 0.16);
}
.field input[aria-invalid='true'],
.field textarea[aria-invalid='true'] {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}
.field__error {
  font-size: var(--fs-xs);
  color: #a93226;
  min-height: 0;
}

.consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 1rem 0 1.25rem;
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--muted);
}
.consent input {
  flex: none;
  width: 1.15rem; height: 1.15rem;
  margin-top: 0.1rem;
  accent-color: var(--green);
}
.consent a { color: var(--teal-ink); text-decoration: underline; text-underline-offset: 2px; }

.form-note {
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-top: 0.9rem;
  text-align: center;
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  font-size: var(--fs-small);
}
.form-status.is-visible { display: block; }
.form-status.is-success {
  background: rgba(12, 124, 70, 0.09);
  border: 1px solid rgba(12, 124, 70, 0.28);
  color: #0a5f37;
}
.form-status.is-error {
  background: rgba(192, 57, 43, 0.07);
  border: 1px solid rgba(192, 57, 43, 0.28);
  color: #8e2b21;
}

/* 17. Rodapé -------------------------------------------------------------- */
.site-footer {
  background: #101208;
  color: rgba(255, 255, 255, 0.66);
  font-size: var(--fs-small);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 0.75fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__brand img,
.footer__brand svg { height: 2.35rem; width: auto; margin-bottom: 1.15rem; }
.footer__brand p { max-width: 22rem; line-height: 1.7; margin: 0; }

.footer__col h3 {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer__col ul { display: grid; gap: 0.55rem; }
.footer__col a:hover { color: var(--teal); }

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
}
.footer__legal ul { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer__legal a { display: inline-flex; align-items: center; gap: 0.35rem; }
.footer__legal a:hover { color: var(--white); }

.footer__reclamacoes {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 0.55rem 0.85rem;
  color: var(--white) !important;
  font-weight: 500;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.footer__reclamacoes:hover { border-color: var(--teal); background: rgba(0, 188, 206, 0.1); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.15rem 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.42);
}
.footer__bottom a { color: rgba(255, 255, 255, 0.66); }
.footer__bottom a:hover { color: var(--white); }

/* 18. Lightbox, barra móvel, animações ------------------------------------ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  background: rgba(8, 10, 7, 0.94);
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.is-open { display: grid; }
.lightbox__figure {
  margin: 0;
  max-width: min(1100px, 100%);
  display: grid;
  gap: 0.9rem;
  justify-items: center;
}
.lightbox__figure img {
  max-height: 78vh;
  width: auto;
  border-radius: var(--radius);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.lightbox__caption {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--fs-small);
  text-align: center;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.16); border-color: var(--white); }
.lightbox__close { top: 1.25rem; right: 1.25rem; }
.lightbox__nav--prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox__counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
}

.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  display: none;
  gap: 0.6rem;
  padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(16, 18, 8, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  transform: translateY(110%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.32s var(--ease), opacity 0.28s var(--ease), visibility 0.32s;
}
.mobile-bar.is-visible {
  transform: none;
  opacity: 1;
  visibility: visible;
}
.mobile-bar .btn { flex: 1; min-height: 2.9rem; padding: 0.7rem 0.8rem; font-size: 0.9rem; }
.mobile-bar .btn--ghost {
  flex: 0 0 auto;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

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

/* 19. Páginas legais ------------------------------------------------------ */
.legal-hero {
  background: var(--ink);
  color: var(--white);
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  position: relative;
  isolation: isolate;
}
.legal-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(-55deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 14px);
}
.legal-hero h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); margin-bottom: 0.9rem; }
.legal-hero p { color: rgba(255, 255, 255, 0.68); max-width: 44rem; margin: 0; }

.legal-body { padding-block: clamp(2.5rem, 5vw, 4rem); }
.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.legal-nav {
  position: sticky;
  top: 6rem;
  font-size: var(--fs-small);
  border-left: 1px solid var(--line);
  padding-left: 1.25rem;
}
.legal-nav p {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
}
.legal-nav ul { display: grid; gap: 0.45rem; }
.legal-nav a { color: var(--muted); }
.legal-nav a:hover { color: var(--teal-ink); }

.prose { max-width: 46rem; }
.prose h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  margin: 2.5rem 0 0.9rem;
  scroll-margin-top: 6rem;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.08rem; margin: 1.75rem 0 0.6rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { list-style: none; display: grid; gap: 0.5rem; margin: 0 0 1.1rem; }
.prose ul li {
  position: relative;
  padding-left: 1.1rem;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.68em;
  width: 6px; height: 2px;
  background: var(--teal);
  transform: skewX(-32deg);
}
.prose a { color: var(--teal-ink); text-decoration: underline; text-underline-offset: 2px; }
.prose a.btn {
  color: var(--btn-fg);
  text-decoration: none;
  border-bottom: 0;
}
.prose a.btn:hover { color: var(--btn-fg); }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: var(--fs-small); }
.prose th, .prose td { text-align: left; padding: 0.65rem 0.5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; color: var(--ink); }
.legal-note {
  background: var(--paper-2);
  border-left: 2px solid var(--teal);
  padding: 1rem 1.25rem;
  font-size: var(--fs-small);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1080px) {
  .nav__phone { display: none; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__actions .btn { display: none; }
  .nav__back { display: inline-flex; }
  .nav__actions { margin-left: auto; }
  .brand img,
  .brand svg { height: 1.6rem; }
  .nav { min-height: 4.1rem; }

  .section-head--split { grid-template-columns: 1fr; align-items: start; gap: 1rem; }

  .hero__strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__strip li:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__strip li:nth-child(3),
  .hero__strip li:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, 0.14); }

  .partners__inner { grid-template-columns: 1fr; gap: 1.25rem; }
  .partners__label { max-width: none; }
  .partners__list { justify-content: center; gap: 1.35rem 1.9rem; }
  .partners__list .logo,
  .partners__list .logo:hover { filter: none; opacity: 1; }

  .values { grid-template-columns: 1fr; border-top: 0; }
  .value { padding: 1.5rem 0; border-top: 1px solid var(--line); }
  .value + .value { padding-left: 0; border-left: 0; }

  .service,
  .about,
  .zonas,
  .contact { grid-template-columns: 1fr; }
  .service:nth-child(even) .service__body { order: 0; }
  .service:nth-child(even) .service__media { order: 0; }
  .service__media { aspect-ratio: 16 / 11; }

  .about__media { max-width: 34rem; }
  .about__badge { right: 0; bottom: -1.25rem; }

  .obras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .obra--wide { grid-column: span 2; aspect-ratio: 2 / 1; }

  .quotes { grid-template-columns: 1fr; }

  .guarantees { grid-template-columns: 1fr; }

  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }

  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1.25rem; }
  .legal-nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4rem 1rem; }

  .mobile-bar { display: flex; }
  body.has-bar .site-footer { padding-bottom: 4.9rem; }
}

@media (max-width: 620px) {
  :root { --fs-body: 1rem; }
  .nav { min-height: 3.5rem; }
  .brand img,
  .brand svg { height: 1.35rem; }
  .topbar .container { min-height: 2.15rem; }
  .partners__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: center;
    gap: 1.5rem 1rem;
  }
  .nav__toggle { width: 2.5rem; height: 2.5rem; }
  .hero .eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.11em;
    gap: 0.55rem;
    margin-bottom: 0.95rem;
    text-wrap: balance;
    max-width: 20rem;
  }
  .hero .eyebrow::before { width: 1.15rem; }
  .topbar__list:first-child { display: none; }
  .topbar__list:last-child li:not(:first-child) { display: none; }
  .topbar .container { justify-content: center; }
  .form-grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .hero__strip li { padding-right: 0.75rem; }
  .process { grid-template-columns: 1fr; }
  .obras { grid-template-columns: 1fr; }
  .obra--wide { grid-column: span 1; aspect-ratio: 4 / 3; }
  .footer__legal { flex-direction: column; align-items: flex-start; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .service__media { aspect-ratio: 4 / 3.4; }
  .about__badge { position: static; margin-top: -2rem; margin-left: 1rem; }
}
