/* =========================================================
   Roma I — 7G Incorporadora
   Base 1920px (Figma). Container de conteúdo: 1120px.
   ========================================================= */

:root {
  --red: #af0000;
  --red-90: rgba(175, 0, 0, 0.9);
  --red-dark: #780000;
  --white: #ffffff;
  --text: #1e1e1e;

  --container: 1120px;
  --gutter: 32px;
  --nav-h: 78px;

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

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

ul {
  list-style: none;
}

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

.container {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 68px;
  border-radius: 54.287px;
  font-weight: 700;
  font-size: 15.938px;
  line-height: normal;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn img {
  width: 29.883px;
  height: 29.883px;
  flex-shrink: 0;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.btn--red {
  background: var(--red);
  color: var(--white);
}

.btn--red:hover {
  background: #c40000;
}

.btn--white {
  background: var(--white);
  color: var(--red);
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  pointer-events: none;
}

.nav {
  position: relative;
  pointer-events: auto;
  display: flex;
  align-items: center;
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  height: var(--nav-h);
  margin-inline: auto;
  padding: 0 53px 0 96px;
  background: var(--red-90);
  border-radius: 0 0 12px 12px;
  transition: box-shadow 0.3s ease;
}

.header.is-scrolled .nav {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.nav__logo img {
  width: 96px;
  height: 34px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 49px;
  margin-left: auto;
  margin-right: 65.5px;
}

.nav__link {
  position: relative;
  display: block;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: var(--white);
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.nav__link.is-active {
  font-weight: 600;
}

.nav__link:hover {
  opacity: 0.8;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 149px;
  height: 49.883px;
  padding: 10px;
  background: var(--white);
  border-radius: 12px;
  color: var(--red);
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
  transition: transform 0.2s ease;
}

.nav__cta img {
  width: 29.883px;
  height: 29.883px;
}

.nav__cta:hover {
  transform: translateY(-1px);
}

.nav__menu-cta {
  display: none;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: 12px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   SEÇÃO 1 — HERO
   Arte (foto + arco + recorte do casal) em coordenadas do Figma:
   2094 x 1055.5px, posicionada em x=-70.5 / y=-5.4 no frame de 1920.
   --s = escala da arte; --fx = ponto da arte que fica alinhado ao
   centro da viewport (em px da arte).
   ========================================================= */
.hero {
  --s: 1;
  --fx: 1030.5px;
  --media-h: 864px;
  position: relative;
  min-height: 941px;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0 0 auto 0;
  height: var(--media-h);
  overflow: hidden;
}

.hero__art {
  position: absolute;
  top: calc(-5.4px * var(--s));
  left: calc(50% - var(--fx) * var(--s));
  width: calc(2094px * var(--s));
  height: calc(1055.5px * var(--s));
}

.hero__bg,
.hero__cutout {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}

/* Arco vermelho — atrás do casal */
.hero__arc {
  position: absolute;
  left: 80.16%;
  top: 0.51%;
  width: 14.92%;
  height: auto;
  max-width: none;
}

/* Recorte do casal sobre o arco (Rectangle 42 do Figma) */
.hero__cutout {
  clip-path: inset(8.22% 16.69% 17.61% 47.16%);
}

.hero__shade {
  display: none;
  position: absolute;
  inset: 0;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 147px;
  color: var(--white);
}

.hero__logo {
  width: 257px;
  height: auto;
  margin-left: 2px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  height: 53.105px;
  margin-top: 28.9px;
  margin-left: 2px;
  padding: 0 17.93px;
  background: var(--red);
  font-size: 15.938px;
  font-weight: 400;
  line-height: normal;
  white-space: nowrap;
}

.hero__title {
  display: flex;
  flex-direction: column;
  gap: 3.6px;
  margin-top: 44.6px;
  font-weight: 400;
  line-height: normal;
}

.hero__title-1,
.hero__title-3 {
  font-size: 43.828px;
}

.hero__title-1 {
  font-weight: 400;
  margin-left: 0.31px;
}

.hero__title-2 {
  font-size: 61.758px;
  font-weight: 700;
}

.hero__title-3 {
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 70px;
  margin-top: 44px;
}

.hero__actions .btn--red {
  width: 204px;
}

.hero__actions .btn--white {
  width: 219px;
}

/* Faixa inferior vinho */
.hero__bar {
  position: absolute;
  z-index: 3;
  top: 787px;
  left: calc(50% + 16px);
  right: 0;
  display: flex;
  align-items: center;
  height: 154px;
  padding-left: 63px;
  background: var(--red-dark);
  border-radius: 77px 0 0 77px;
  color: var(--white);
  line-height: normal;
  white-space: nowrap;
}

.hero__bar-area,
.hero__bar-dorms strong {
  font-size: 42px;
  font-weight: 700;
}

.hero__bar-dorms {
  font-size: 43.828px;
  font-weight: 400;
}

.hero__bar-dorms small {
  font-size: 24px;
}

.hero__bar-sep {
  width: 1px;
  height: 38px;
  margin: 0 30px 0 25px;
  background: var(--white);
  flex-shrink: 0;
}

.hero__bar-sep--last {
  margin: 0 26px 0 25px;
}

.hero__mcmv {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 93px;
  gap: 3px;
  flex-shrink: 0;
}

.hero__mcmv-icon {
  display: block;
  width: 93px;
  height: 49px;
  overflow: hidden;
}

.hero__mcmv-icon img {
  width: 100%;
  height: auto;
  margin-top: -0.2px;
}

.hero__mcmv-text {
  width: 91px;
  height: auto;
  margin-left: 1px;
}

/* =========================================================
   CABEÇALHO DE SEÇÃO (reutilizável)
   ========================================================= */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 21px;
}

.eyebrow {
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  color: #7d7d7d;
}

.eyebrow strong {
  font-weight: 600;
  color: var(--red);
}

.section-title {
  font-size: 32px;
  font-weight: 500;
  line-height: normal;
  color: var(--red);
}

.section-title b {
  font-weight: 700;
  text-transform: uppercase;
}

.title-line {
  display: block;
  width: 288px;
  max-width: 100%;
  height: 3px;
  background: var(--red-90);
}

/* =========================================================
   SEÇÃO 2 — SOBRE
   ========================================================= */
.sobre {
  position: relative;
  padding-bottom: 116px;
  overflow-x: clip;
}

/* Arcos rosados à esquerda (vazam para a seção seguinte) */
.sobre__deco {
  position: absolute;
  z-index: 0;
  left: 0;
  top: 353px;
  width: 298.5px;
  height: auto;
  pointer-events: none;
}

.sobre__inner {
  position: relative;
  z-index: 1;
}

.sobre__text {
  max-width: 640px;
  margin-top: 30px;
  font-size: 24px;
  font-weight: 400;
  line-height: normal;
  color: var(--text);
}

.sobre__text strong {
  font-weight: 700;
}

.sobre__gallery {
  display: grid;
  grid-template-columns: 352fr 742fr;
  gap: 31.56px;
  align-items: start;
  width: calc(100% + 9.56px);
  margin-top: 44px;
  padding-left: 4px;
}

.sobre__photo {
  position: relative;
}

.sobre__photo--predio,
.sobre__photo-frame {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.sobre__photo--predio {
  aspect-ratio: 352 / 443.93;
}

.sobre__photo-frame {
  aspect-ratio: 742 / 444;
}

/* Enquadramento idêntico ao do Figma */
.sobre__photo--predio > img {
  position: absolute;
  left: -29.27%;
  top: -47.32%;
  width: 142.05%;
  height: 149.4%;
  max-width: none;
}

.sobre__photo-frame img {
  position: absolute;
  left: -3.53%;
  top: -0.06%;
  width: 106.36%;
  height: 99.98%;
  max-width: none;
}

/* Arco vermelho atrás da foto da piscina */
.sobre__arc {
  position: absolute;
  left: 75.19%;
  top: 0;
  width: 39.76%;
  height: auto;
  max-width: none;
  transform: translateY(-50.37%);
  pointer-events: none;
}

.sobre__photo-frame {
  z-index: 1;
}

/* =========================================================
   SEÇÃO 3 — GALERIA DE IMAGENS
   ========================================================= */
.galeria {
  position: relative;
  z-index: 1;
  padding-bottom: 116px;
}

.galeria__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.galeria__tabs {
  display: flex;
  gap: 9px;
  width: 520px;
  height: 60px;
  padding: 8px 11px 7px;
  background: rgba(120, 0, 0, 0.37);
  border-radius: 2px;
  flex-shrink: 0;
}

.galeria__tab {
  flex: 1 1 0;
  height: 45px;
  background: var(--white);
  border-radius: 2px;
  color: var(--red);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.galeria__tab:hover {
  background: #fbeaea;
}

.galeria__tab.is-active {
  background: var(--red);
  color: var(--white);
  font-weight: 600;
}

.galeria__viewport {
  margin-top: 30px;
}

.galeria__track {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.galeria__track::-webkit-scrollbar {
  display: none;
}

.galeria__slide {
  position: relative;
  flex: 0 0 calc((100% - 32px) / 2);
  aspect-ratio: 544 / 479;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
}

.galeria__slide[hidden] {
  display: none;
}

.galeria__slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.galeria__slide:hover > img {
  transform: scale(1.03);
}

.galeria__tag {
  position: absolute;
  top: 29px;
  left: 0;
  display: flex;
  align-items: center;
  width: var(--tag-w, auto);
  min-width: 193px;
  max-width: calc(100% - 90px);
  height: 43px;
  padding: 0 40px 0 32px;
  background: var(--red);
  border-radius: 0 21.5px 21.5px 0;
  color: var(--white);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  white-space: nowrap;
}

.galeria__expand {
  position: absolute;
  top: 27px;
  right: 27px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.galeria__expand img {
  width: 30px;
  height: 30px;
}

.galeria__expand:hover {
  transform: scale(1.08);
}

.galeria__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
  margin-top: 30px;
  padding-left: 14px;
}

.galeria__features {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
}

.galeria__feature {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--red);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  white-space: nowrap;
}

.galeria__feature img {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.galeria__feature:not(:last-child)::after {
  content: "";
  width: 2px;
  height: 31px;
  background: var(--red);
}

.galeria__arrows {
  display: flex;
  gap: 46px;
  flex-shrink: 0;
}

.galeria__arrow {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid var(--red);
  border-radius: 2px;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.galeria__arrow img {
  width: 30px;
  height: 30px;
}

.galeria__arrow--prev img {
  transform: rotate(90deg);
}

.galeria__arrow--next img {
  transform: rotate(-90deg);
}

.galeria__arrow:hover:not(:disabled) {
  background: #fbeaea;
}

.galeria__arrow:disabled {
  cursor: default;
}

/* Larguras de texto do Figma (alinha os separadores) */
.galeria__feature:nth-child(1) span { min-width: 60px; }
.galeria__feature:nth-child(2) span { min-width: 116px; }
.galeria__feature:nth-child(3) span { min-width: 143px; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.85);
  animation: fadeIn 0.25s ease;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__img {
  max-width: min(1400px, 100%);
  max-height: calc(100vh - 96px);
  border-radius: 12px;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 48px;
  height: 48px;
  color: var(--white);
  font-size: 40px;
  line-height: 1;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* =========================================================
   SEÇÃO 4 — PLANTA HUMANIZADA
   ========================================================= */
/* Vermelho com textura de ruído (como no Figma) */
.texture-red {
  background-color: #b41818;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.eyebrow--light {
  color: #c7c7c7;
}

.eyebrow--light strong {
  color: var(--white);
}

.title-line--light {
  background: rgba(255, 255, 255, 0.9);
}

.planta {
  position: relative;
  padding: 130px 0 122px;
  color: var(--white);
}

.planta__inner {
  width: min(1123px, calc(100% - var(--gutter) * 2));
  margin-left: max(var(--gutter), calc(50% - 551px));
}

.planta__eyebrow {
  text-align: center;
}

.planta__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 13px;
}

.planta__title {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 8.6px -9px;
}

.planta__title h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: normal;
}

.planta__card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
  width: 342px;
  height: 99px;
  margin-bottom: -1.4px;
  padding: 15px 12px 0 16px;
  background: var(--white);
  box-shadow: 9px 9px 9.5px rgba(0, 0, 0, 0.3);
  color: var(--red);
  flex-shrink: 0;
}

.planta__card p {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  font-size: 32px;
  font-weight: 400;
  line-height: normal;
  white-space: nowrap;
}

.planta__card strong {
  font-weight: 700;
}

.planta__card-sep {
  width: 3px;
  height: 33.784px;
  background: var(--red);
}

.planta__card-line {
  width: 204.6px;
  height: 3.378px;
  background: var(--red);
}

.planta__plan {
  display: block;
  width: 100%;
  cursor: zoom-in;
  box-shadow: 9px 9px 9.5px rgba(0, 0, 0, 0.3);
}

.planta__plan img {
  width: 100%;
  height: auto;
}

.planta__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-top: 44px;
}

.planta__text {
  max-width: 384px;
  margin-left: 2px;
  font-size: 24px;
  font-weight: 400;
  line-height: normal;
}

.planta__text strong {
  font-weight: 700;
}

.planta__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 52px;
  width: 420px;
  flex-shrink: 0;
}

.planta__features li {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}

.planta__features li span:not(.planta__icon) {
  white-space: nowrap;
}

.planta__features li span.planta__feature-text {
  max-width: 7.4em;
  white-space: normal;
}

.planta__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 2px;
  flex-shrink: 0;
}

.planta__icon img {
  width: 30px;
  height: 30px;
}

/* =========================================================
   SEÇÃO 5 — LOCALIZAÇÃO
   ========================================================= */
.local {
  position: relative;
  padding-top: 120px;
  background: #f7f7f7 url("../assets/img/bg-textura-clara.jpg") no-repeat center -223.6px / 5368px auto;
  overflow-x: clip;
}

.local__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  text-align: center;
}

.local__address {
  font-size: 32px;
  font-weight: 700;
  line-height: normal;
  color: var(--red);
}

.local__address span {
  display: block;
  font-size: 24px;
  font-weight: 300;
  color: #7d7d7d;
}

.local__map {
  position: relative;
  margin-top: 10px;
  aspect-ratio: 1120 / 555;
  border-radius: 12px;
  overflow: hidden;
}

.local__map > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.local__map-btn {
  position: absolute;
  top: 23px;
  right: 23px;
  display: grid;
  place-items: center;
  width: 174px;
  height: 48px;
  background: var(--white);
  border-radius: 2px;
  color: var(--red);
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.local__map-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.local__regiao {
  position: relative;
  min-height: 393px;
  margin-top: 119px;
}

.local__regiao-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  width: 384px;
}

.local__regiao-desc {
  display: flex;
  flex-direction: column;
  gap: 19.5px;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  color: var(--text);
}

/* Foto sangrando até a borda direita da tela */
.local__regiao-photo {
  position: absolute;
  top: 0;
  left: 453px;
  width: calc(100% - 453px + (100vw - 100%) / 2);
  height: 393px;
  border-radius: 12px 0 0 12px;
  overflow: hidden;
}

.local__regiao-photo img {
  position: absolute;
  top: -37.99%;
  left: -0.14%;
  height: 186.49%;
  width: auto;
  min-width: 100%;
  max-width: none;
  object-fit: cover;
  object-position: left center;
}

.local__divider {
  display: block;
  height: 3px;
  margin-top: 72px;
  background: var(--red-90);
}

/* =========================================================
   SEÇÃO 6 — CONTATO
   ========================================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-title b.no-upper {
  text-transform: none;
}

.contato {
  position: relative;
  padding: 119px 0;
  overflow: hidden;
}

/* Arcos rosados à esquerda (começam atrás da seção anterior) */
.contato__deco {
  position: absolute;
  z-index: 0;
  left: 0;
  top: -239px;
  width: 298px;
  height: auto;
  pointer-events: none;
}

.contato__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.contato__info {
  width: 400px;
  flex-shrink: 0;
}

.contato__text {
  display: flex;
  flex-direction: column;
  gap: 19.5px;
  max-width: 384px;
  margin-top: 37px;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  color: var(--text);
}

.contato__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 43px;
}

.contato__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 192px;
  height: 45px;
  border-radius: 22.5px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.contato__btn img {
  width: 16.67px;
  height: 19.14px;
}

.contato__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  filter: brightness(1.08);
}

.contato__btn--wpp {
  gap: 15px;
  background: #00af14;
}

.contato__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 544px;
  min-height: 516px;
  padding: 34px 54px;
  background: var(--red-dark);
  border-radius: 15px;
  color: var(--white);
  flex-shrink: 0;
}

.contato__form-intro {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.contato__fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contato__input {
  display: block;
  width: 100%;
  height: 56px;
  padding: 8px 8px 11px 22px;
  background: #e9eef1;
  border: 2px solid transparent;
  border-radius: 4px;
  color: var(--red);
  font: 400 14px / 1.5 var(--font);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contato__input::placeholder {
  color: var(--red);
  opacity: 1;
}

.contato__input:focus {
  border-color: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.contato__input.is-invalid {
  border-color: #ffb3b3;
  background: #fff1f1;
}

.contato__input--short {
  height: 44px;
}

.contato__input--area {
  height: 96px;
  padding-top: 22px;
  resize: none;
}

.contato__submit {
  height: 56px;
  background: var(--white);
  border-radius: 6px;
  color: var(--red);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.contato__submit:hover {
  background: #fbeaea;
}

.contato__submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.contato__feedback {
  min-height: 0;
  font-size: 14px;
  line-height: 1.4;
}

.contato__feedback:empty {
  display: none;
}

/* =========================================================
   SEÇÃO 7 — 7G INCORPORAÇÕES
   Fundo laranja com andaimes ancorados à direita da tela.
   ========================================================= */
.empresa {
  position: relative;
  min-height: 667px; /* 592 + 75 sob o canto arredondado do rodapé */
  padding: 135px 0 155px;
  background: #ef7b23 url("../assets/img/bg-laranja.jpg") no-repeat right -770.4px top 0 / 2692.4px auto;
  overflow: hidden;
}

.empresa__inner {
  display: grid;
  grid-template-columns: 450px 1fr;
  align-items: start;
}

.empresa__logo {
  width: 450px;
  height: auto;
  margin: 142px 0 0 -19px;
}

.empresa__text {
  margin-left: 220px;
  width: 501px;
}

.empresa__mission {
  max-width: 442px;
  margin-bottom: 36px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--red);
}

.empresa__desc {
  display: flex;
  flex-direction: column;
  gap: 19.5px;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  color: var(--text);
}

/* =========================================================
   RODAPÉ
   ========================================================= */
.footer {
  position: relative;
  z-index: 1;
  margin-top: -75px;
  padding: 52px 0 86px;
  background: var(--red);
  border-radius: 0 75px 0 0;
  color: var(--white);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 47px;
  width: min(1312.45px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 47px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.footer__logo img {
  width: 188px;
  height: auto;
}

.footer__address {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: "Poppins", var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  opacity: 0.8;
}

.footer__address img {
  width: 14.95px;
  height: 17.5px;
  margin: -0.75px;
  flex-shrink: 0;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: "Inter", var(--font);
  font-size: 16px;
  line-height: 1.25;
}

.footer__copy a:hover {
  text-decoration: underline;
}

.footer__credit {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  white-space: nowrap;
}

.footer__credit img {
  width: 93px;
  height: auto;
}

.footer__credit-link {
  display: block;
  transition: opacity 0.2s ease;
}

.footer__credit-link:hover {
  opacity: 0.8;
}

/* =========================================================
   RESPONSIVO
   ========================================================= */

/* Notebooks */
@media (max-width: 1279px) {
  .nav {
    padding: 0 24px 0 40px;
  }

  .nav__links {
    gap: 32px;
    margin-right: 32px;
  }

  .hero__bar {
    left: auto;
    padding: 0 48px 0 56px;
    height: 130px;
    top: 799px;
    border-radius: 65px 0 0 65px;
  }

  .hero__bar-area,
  .hero__bar-dorms strong {
    font-size: 36px;
  }

  .hero__bar-dorms {
    font-size: 36px;
  }

  .hero__bar-dorms small {
    font-size: 20px;
  }

  /* Sobre */
  .sobre__gallery {
    width: 100%;
    padding-left: 0;
  }

  /* Planta */
  .planta__inner {
    margin-inline: auto;
  }

  .planta__title {
    margin-left: 0;
  }

  /* Contato */
  .contato__form {
    width: min(544px, 52%);
    padding-inline: 40px;
  }

  /* 7G */
  .empresa__inner {
    grid-template-columns: minmax(0, 400px) 1fr;
    gap: 48px;
  }

  .empresa__logo {
    width: 100%;
    margin-left: 0;
  }

  .empresa__text {
    width: auto;
    max-width: 501px;
    margin-left: auto;
  }
}

/* Tablets */
@media (max-width: 1023px) {
  :root {
    --nav-h: 68px;
    --gutter: 24px;
  }

  .nav {
    padding: 0 12px 0 24px;
  }

  /* Botão Contato vai para dentro do menu */
  .nav__cta--bar {
    display: none;
  }

  .nav__toggle {
    display: flex;
    margin-left: auto;
  }

  .nav__menu-cta {
    display: block;
    padding-top: 16px;
  }

  .nav__cta--menu {
    width: 100%;
    height: 50px;
  }

  .nav__links {
    position: absolute;
    top: calc(100% - 12px);
    left: 0;
    right: 0;
    z-index: -1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 24px 24px 16px;
    background: var(--red);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .nav__links.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__link {
    padding: 14px 4px;
    font-size: 17px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .nav__links li:last-child .nav__link {
    border-bottom: 0;
  }

  .hero {
    --media-h: 900px;
    min-height: 960px;
  }

  /* rostos do casal em ~72% da tela */
  .hero__art {
    left: calc(72% - 1322px * var(--s));
  }

  .hero__shade {
    display: block;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0) 75%);
  }

  .hero__content {
    padding-top: 140px;
  }

  .hero__bar {
    top: 840px;
    height: 120px;
  }

  /* Sobre */
  .sobre {
    padding-top: 56px;
    padding-bottom: 96px;
  }

  .sobre__text {
    font-size: 21px;
  }

  .sobre__gallery {
    gap: 20px;
    margin-top: 40px;
  }

  .sobre__deco {
    width: 200px;
    top: 420px;
  }

  /* Galeria */
  .galeria {
    padding-bottom: 96px;
  }

  .galeria__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .galeria__tabs {
    width: 100%;
    max-width: 520px;
  }

  .galeria__bottom {
    padding-left: 0;
  }

  .galeria__features {
    gap: 12px 20px;
  }

  .galeria__feature {
    gap: 14px;
  }

  .galeria__arrows {
    gap: 16px;
  }

  /* Planta */
  .planta {
    padding: 96px 0;
  }

  .planta__title h2 {
    font-size: 28px;
  }

  .planta__card {
    width: auto;
    height: auto;
    gap: 10px;
    padding: 14px 16px 16px 20px;
  }

  .planta__card p {
    gap: 12px;
    font-size: 26px;
  }

  .planta__card-sep {
    height: 28px;
  }

  .planta__card-line {
    width: 60%;
  }

  .planta__bottom {
    flex-direction: column;
    gap: 32px;
    margin-top: 36px;
  }

  .planta__text {
    max-width: 520px;
    font-size: 21px;
  }

  .planta__features {
    width: 100%;
    max-width: 520px;
    gap: 24px 32px;
  }

  /* Localização */
  .local {
    padding-top: 96px;
  }

  .local__address {
    font-size: 28px;
  }

  .local__address span {
    font-size: 21px;
  }

  .local__regiao {
    min-height: 0;
    margin-top: 96px;
  }

  .local__regiao-text {
    width: 100%;
    max-width: 600px;
  }

  .local__regiao-photo {
    position: relative;
    left: auto;
    width: calc(100% + var(--gutter));
    height: auto;
    aspect-ratio: 1154 / 450;
    margin-top: 40px;
  }

  .local__regiao-photo img {
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: 0;
    object-position: center 45%;
  }

  .local__divider {
    margin-top: 72px;
  }

  /* Contato */
  .contato {
    padding: 96px 0;
  }

  .contato__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 48px;
  }

  .contato__info {
    width: 100%;
  }

  .contato__form {
    width: 100%;
    max-width: 640px;
    min-height: 0;
  }

  .contato__deco {
    width: 200px;
    top: -160px;
  }

  /* 7G */
  .empresa {
    min-height: 0;
    padding: 96px 0 300px;
    background-size: 1600px auto;
    background-position: right -320px bottom 0;
  }

  .empresa__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .empresa__logo {
    width: min(400px, 100%);
    margin: 0;
  }

  .empresa__text {
    margin-left: 0;
    max-width: 560px;
  }

  .br-desk {
    display: none;
  }

  /* Rodapé */
  .footer {
    border-radius: 0 48px 0 0;
    margin-top: -48px;
  }

  .footer__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__address {
    gap: 14px;
  }
}

/* Celulares */
@media (max-width: 767px) {
  :root {
    --nav-h: 64px;
    --gutter: 16px;
  }

  .nav {
    padding: 0 6px 0 16px;
  }

  .nav__logo img {
    width: 84px;
    height: auto;
  }

  .hero {
    --s: 0.82;
    --media-h: 820px;
    min-height: auto;
    display: flex;
    flex-direction: column;
  }

  .hero__media {
    position: absolute;
  }

  .hero__art {
    left: calc(52% - 1322px * var(--s));
  }

  .hero__shade {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 32%, rgba(0, 0, 0, 0.55) 62%, rgba(0, 0, 0, 0.7) 100%);
  }

  .hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    min-height: var(--media-h);
    padding: 120px 0 88px;
  }

  .hero__logo {
    width: 170px;
  }

  .hero__badge {
    height: 40px;
    margin-top: 20px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero__title {
    margin-top: 24px;
  }

  .hero__title-1,
  .hero__title-3 {
    font-size: clamp(26px, 7.6vw, 34px);
  }

  .hero__title-2 {
    font-size: clamp(38px, 11vw, 48px);
  }

  .hero__actions {
    gap: 12px;
    margin-top: 28px;
    width: 100%;
  }

  .hero__actions .btn {
    flex: 1 1 150px;
    width: auto;
    height: 54px;
    padding: 0 18px;
    font-size: 14px;
  }

  .hero__actions .btn img {
    width: 24px;
    height: 24px;
  }

  .hero__bar {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    align-self: flex-end;
    width: calc(100% - var(--gutter));
    height: auto;
    min-height: 92px;
    margin-top: -46px;
    padding: 14px 16px 14px 28px;
    border-radius: 46px 0 0 46px;
    justify-content: space-between;
  }

  .hero__bar-area,
  .hero__bar-dorms strong,
  .hero__bar-dorms {
    font-size: clamp(18px, 5.6vw, 26px);
  }

  .hero__bar-dorms small {
    font-size: clamp(11px, 3.4vw, 15px);
  }

  .hero__bar-sep,
  .hero__bar-sep--last {
    height: 28px;
    margin: 0 clamp(8px, 2.8vw, 16px);
  }

  .hero__mcmv {
    width: clamp(52px, 15vw, 70px);
  }

  .hero__mcmv-icon {
    width: 100%;
    height: auto;
    aspect-ratio: 93 / 49;
  }

  .hero__mcmv-text {
    width: 98%;
  }

  /* Sobre */
  .sobre {
    padding-top: 48px;
    padding-bottom: 72px;
  }

  .section-head {
    gap: 16px;
  }

  .section-title {
    font-size: 26px;
  }

  .title-line {
    width: 200px;
  }

  .sobre__text {
    margin-top: 24px;
    font-size: 18px;
  }

  .sobre__gallery {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }

  .sobre__photo--piscina {
    margin-top: 24px;
  }

  .sobre__arc {
    width: 34%;
    left: 72%;
  }

  .sobre__deco {
    width: 150px;
    top: 520px;
  }

  /* Galeria */
  .galeria {
    padding-bottom: 72px;
  }

  .galeria__top {
    gap: 24px;
  }

  .galeria__tabs {
    height: 52px;
    padding: 6px;
    gap: 6px;
  }

  .galeria__tab {
    height: 40px;
    font-size: 14px;
  }

  .galeria__viewport {
    margin-top: 24px;
    margin-right: calc(var(--gutter) * -1);
  }

  .galeria__track {
    gap: 16px;
    padding-right: var(--gutter);
    scroll-padding-left: 0;
  }

  .galeria__slide {
    flex-basis: 86%;
    aspect-ratio: 4 / 4.2;
  }

  .galeria__tag {
    top: 16px;
    height: 36px;
    padding: 0 18px 0 20px;
    width: auto;
    min-width: 0;
    font-size: 14px;
  }

  .galeria__expand {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
  }

  .galeria__expand img {
    width: 24px;
    height: 24px;
  }

  .galeria__bottom {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 24px;
    margin-top: 20px;
  }

  .galeria__arrows {
    justify-content: flex-end;
  }

  .galeria__arrow {
    width: 44px;
    height: 44px;
  }

  /* Faixa de lazer: 3 colunas iguais com divisórias */
  .galeria__features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 18px 0;
    border-top: 1px solid rgba(175, 0, 0, 0.15);
    border-bottom: 1px solid rgba(175, 0, 0, 0.15);
  }

  .galeria__feature {
    position: relative;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    padding: 0 6px;
    font-size: 13px;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
  }

  .galeria__feature img {
    width: 38px;
    height: 38px;
  }

  .galeria__feature:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    right: 0;
    width: 1px;
    height: auto;
    background: rgba(175, 0, 0, 0.25);
  }

  .galeria__feature span {
    min-width: 0 !important;
  }

  /* Planta */
  .planta {
    padding: 72px 0;
  }

  .planta__eyebrow {
    text-align: left;
  }

  .planta__head {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    margin-top: 16px;
  }

  .planta__title {
    margin-bottom: 0;
  }

  .planta__title h2 {
    font-size: 24px;
  }

  .planta__card {
    align-self: flex-end;
    margin-bottom: 0;
    padding: 10px 14px 12px 16px;
  }

  .planta__card p {
    font-size: clamp(20px, 6vw, 24px);
  }

  .planta__card-sep {
    height: 22px;
  }

  .planta__text {
    font-size: 18px;
  }

  .planta__features {
    gap: 20px 16px;
  }

  .planta__features li {
    gap: 12px;
    font-size: 14px;
  }

  .planta__features li:last-child {
    grid-column: 1 / -1;
  }

  /* Localização */
  .local {
    padding-top: 72px;
  }

  .local__address {
    font-size: 22px;
  }

  .local__address span {
    margin-top: 4px;
    font-size: 16px;
  }

  .local__map {
    margin-top: 24px;
    aspect-ratio: 4 / 3.4;
  }

  .local__map > img {
    object-position: 38% center;
  }

  .local__map-btn {
    top: 12px;
    right: 12px;
    width: auto;
    height: 40px;
    padding: 0 16px;
    font-size: 14px;
  }

  .local__regiao {
    margin-top: 64px;
  }

  .local__regiao-text {
    gap: 22px;
  }

  .local__regiao-photo {
    aspect-ratio: 4 / 3;
    margin-top: 32px;
  }

  .local__divider {
    margin-top: 56px;
  }

  /* Contato */
  .contato {
    padding: 72px 0;
  }

  .contato__text {
    margin-top: 24px;
  }

  .contato__actions {
    gap: 12px;
    margin-top: 28px;
  }

  .contato__btn {
    flex: 1 1 140px;
    width: auto;
  }

  .contato__form {
    padding: 24px 20px;
    border-radius: 12px;
  }

  .contato__form-intro {
    font-size: 15px;
  }

  .contato__fields {
    gap: 12px;
  }

  .contato__input {
    height: 50px;
    font-size: 16px; /* evita zoom no iOS */
  }

  .contato__input--short {
    height: 50px;
  }

  .contato__input--area {
    height: 110px;
    padding-top: 12px;
  }

  .contato__submit {
    height: 52px;
    font-size: 17px;
  }

  .contato__deco {
    width: 150px;
    top: -100px;
  }

  /* 7G */
  .empresa {
    padding: 72px 0 210px;
    background-size: 900px auto;
    background-position: right -170px bottom 0;
  }

  .empresa__inner {
    gap: 36px;
  }

  .empresa__logo {
    width: min(320px, 100%);
  }

  .empresa__mission {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .empresa__desc {
    font-size: 15px;
  }

  /* Rodapé */
  .footer {
    padding: 44px 0 40px;
    border-radius: 0 36px 0 0;
    margin-top: -36px;
  }

  .footer__inner {
    gap: 28px;
  }

  .footer__top {
    padding-bottom: 28px;
  }

  .footer__logo img {
    width: 150px;
  }

  .footer__address {
    align-items: flex-start;
    font-size: 14px;
  }

  .footer__address img {
    margin-top: 2px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
