/* ATMOS Greenville Residencial — paleta extraída das artes oficiais */
@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/outfit-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --laranja: #f7a912;
  --laranja-escuro: #d98e00;
  --verde: #0d4427;
  --verde-medio: #15512f;
  --verde-claro: #2f8a4f;
  --verde-titulo: #092b1a;
  --creme: #f6f8f4;
  --branco: #ffffff;
  --texto: #2c3a32;
  --texto-suave: #5b6b61;
  --raio: 18px;
  --sombra: 0 10px 30px rgba(9, 43, 26, .08);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--texto);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { color: var(--verde-titulo); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--verde); color: #fff; padding: .6rem 1rem; border-radius: 8px; }

:focus-visible { outline: 3px solid var(--laranja); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .8rem;
  font-weight: 500;
  color: var(--verde-medio);
  margin-bottom: .9rem;
}
.eyebrow--laranja { color: var(--laranja); }

.linha {
  display: block;
  width: 96px;
  height: 4px;
  border-radius: 4px;
  background: var(--laranja);
  margin: 1.1rem 0 1.4rem;
}
.destaque { color: var(--verde-claro); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn--laranja { background: var(--laranja); color: var(--verde-titulo); box-shadow: 0 8px 20px rgba(247, 169, 18, .35); }
.btn--laranja:hover { background: #ffb928; }
.btn--contorno { border-color: var(--verde); color: var(--verde); }
.btn--contorno:hover { background: var(--verde); color: #fff; }
.btn--grande { padding: 1.05rem 1.8rem; font-size: 1.05rem; word-break: break-all; }
.btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; flex: none; }

/* Topo */
.topo {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.topo.rolou { box-shadow: 0 6px 24px rgba(9, 43, 26, .08); border-color: rgba(13, 68, 39, .08); }
.topo__inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.topo__logo img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { text-decoration: none; font-weight: 500; color: var(--verde-titulo); position: relative; }
.nav a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--laranja); transition: width .25s ease;
}
.nav a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta { background: var(--verde); color: #fff !important; padding: .55rem 1.25rem; border-radius: 999px; }
.nav__cta:hover { background: var(--verde-medio); }

.topo__menu { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.topo__menu span { display: block; width: 26px; height: 2px; background: var(--verde); margin: 6px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }

/* Hero */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(6rem, 10vw, 9rem);
  background:
    radial-gradient(ellipse at 0% 20%, rgba(47, 138, 79, .14), transparent 55%),
    radial-gradient(ellipse at 100% 0%, rgba(247, 169, 18, .12), transparent 50%),
    var(--branco);
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
.hero__sub { font-size: 1.25rem; color: var(--texto-suave); max-width: 34ch; }
.hero__acoes { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero__foto { margin: 0; position: relative; }
.hero__foto::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--laranja) 0%, var(--laranja) 35%, var(--verde) 35%);
  z-index: 0;
}
.hero__foto img {
  position: relative; z-index: 1;
  width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 40%;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(9, 43, 26, .22);
}
.torres {
  list-style: none; padding: 0; margin: -1.4rem 0 0;
  display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem;
  position: relative; z-index: 2;
}
.torres li {
  background: var(--branco); color: var(--verde);
  border: 1px solid rgba(13, 68, 39, .15);
  padding: .35rem 1rem; border-radius: 999px;
  font-weight: 500; font-size: .95rem; letter-spacing: .04em;
  box-shadow: var(--sombra);
}
.onda { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.onda svg { width: 100%; height: clamp(40px, 6vw, 90px); }

/* Seções */
.secao { padding: clamp(4rem, 8vw, 7rem) 0; }
.secao--verde {
  background:
    radial-gradient(ellipse at 90% 10%, rgba(247, 169, 18, .12), transparent 45%),
    linear-gradient(160deg, var(--verde) 0%, #0a3820 100%);
  color: #e4efe8;
}
.secao--creme { background: var(--creme); }
.secao__cab { max-width: 760px; margin-bottom: 3rem; }
.secao__cab--claro h2 { color: #fff; }
.secao__intro { font-size: 1.15rem; color: var(--texto-suave); }
.secao--verde .secao__intro { color: #cfe1d6; }
.secao--verde strong { color: #fff; }

.numeros {
  list-style: none; padding: 0; margin: 0 0 3rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.numeros li {
  border-left: 3px solid var(--laranja);
  padding: .25rem 0 .25rem 1.1rem;
}
.numeros strong { display: block; color: var(--laranja); font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; line-height: 1.2; }
.numeros span { color: #cfe1d6; font-size: .95rem; }

/* Cards */
.cards { display: grid; gap: 1.5rem; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { border-radius: var(--raio); padding: 2rem 1.75rem; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); }
.card p { margin: 0; }
.card__icone {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 1.25rem;
}
.card__icone svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.card--vidro { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.card--vidro h3 { color: #fff; }
.card--vidro .card__icone { background: var(--laranja); color: var(--verde-titulo); }

.card--lazer { background: var(--branco); border: 1px solid rgba(13, 68, 39, .08); box-shadow: var(--sombra); position: relative; overflow: hidden; }
.card--lazer::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--verde), var(--laranja)); }
.card--lazer:hover { box-shadow: 0 18px 40px rgba(9, 43, 26, .14); }
.card--lazer .card__icone { background: rgba(47, 138, 79, .1); color: var(--verde); }

.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.tags li { position: relative; padding-left: 1.3rem; color: var(--texto-suave); }
.tags li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--laranja); }

/* Motivos */
.motivos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.motivos li {
  background: var(--branco); border-radius: var(--raio); padding: 2rem 1.75rem;
  box-shadow: var(--sombra); display: flex; flex-direction: column; gap: 1rem;
}
.motivos__n {
  font-size: 2.8rem; font-weight: 200; line-height: 1; color: var(--laranja);
}
.motivos p { color: var(--texto-suave); margin: 0; }

/* Contato */
.contato {
  background: linear-gradient(120deg, var(--verde) 0%, var(--verde-medio) 100%);
  color: #e4efe8;
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
}
.contato::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--laranja); }
.contato h2 { color: #fff; }
.contato__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.contato__inner > div { max-width: 560px; }
.contato p { margin: 0; color: #cfe1d6; }

/* Rodapé */
.rodape { background: #072414; color: #9fb8a9; padding: 3rem 0 2.5rem; text-align: center; font-size: .95rem; }
.rodape__inner { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.rodape img { width: 180px; height: auto; margin-bottom: 1rem; }
.rodape p { margin: 0; }
.rodape__copy { font-size: .85rem; opacity: .75; margin-top: .75rem !important; }

/* Animação de entrada */
.revelar { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.revelar.visivel { opacity: 1; transform: none; }

/* Responsivo */
@media (max-width: 1024px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .numeros { grid-template-columns: repeat(2, 1fr); row-gap: 1.75rem; }
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__foto { max-width: 560px; margin-inline: auto; width: calc(100% - 22px); }
  .cards--3, .motivos { grid-template-columns: 1fr; }

  .topo__menu { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: var(--branco); box-shadow: 0 16px 30px rgba(9, 43, 26, .1);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav a { padding: 1rem 1.5rem; border-top: 1px solid rgba(13, 68, 39, .07); }
  .nav a::after { display: none; }
  .nav__cta { border-radius: 0; text-align: center; }
  .topo.aberto .nav { max-height: 360px; }
  .topo.aberto .topo__menu span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .topo.aberto .topo__menu span:nth-child(2) { opacity: 0; }
  .topo.aberto .topo__menu span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .cards--4 { grid-template-columns: 1fr; }
  .topo__logo img { width: 124px; }
  .topo__inner { min-height: 72px; }
  .btn--grande { font-size: .95rem; padding: .95rem 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .revelar { opacity: 1; transform: none; }
}

/* Página 404 */
.pagina-erro { min-height: 80vh; display: grid; place-items: center; text-align: center; }
.pagina-erro img { margin: 0 auto 2rem; }
