/* Finos Mobile - landing page
   Paleta "preto e tan", tirada do logo e dos destaques do Instagram.
   Raio: 14px para fotos e blocos, pílula para botões. */

:root {
  --fundo: #f3f3f1;
  --fundo-2: #e9e9e6;
  --superficie: #ffffff;
  --texto: #16181c;
  --texto-2: #4a4d54;
  --linha: rgb(22 24 28 / .12);
  --acento: #82653f;
  --acento-txt: #ffffff;
  --escuro: #14161a;
  --escuro-txt: #ecebe8;
  --sombra: 0 18px 40px -18px rgb(22 24 28 / .28);
  --raio: 14px;
  --larg: 1240px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fundo: #111317;
    --fundo-2: #171a1f;
    --superficie: #1c1f25;
    --texto: #ecebe8;
    --texto-2: #a9abb1;
    --linha: rgb(236 235 232 / .12);
    --acento: #cfae7a;
    --acento-txt: #15171b;
    --escuro: #08090b;
    --escuro-txt: #ecebe8;
    --sombra: 0 18px 40px -18px rgb(0 0 0 / .6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.025em; line-height: 1.08; }
p { margin: 0; }
em { font-style: italic; font-weight: 300; }

.larg { width: 100%; max-width: var(--larg); margin: 0 auto; padding: 0 24px; }
@media (max-width: 767px) { .larg { padding: 0 16px; } }

.pular { position: absolute; left: -9999px; }
.pular:focus { left: 16px; top: 16px; z-index: 100; background: var(--acento); color: var(--acento-txt); padding: 8px 14px; border-radius: 8px; }

:focus-visible { outline: 2px solid var(--acento); outline-offset: 3px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: 14px 26px; border-radius: 999px;
  font: 500 16px/1 "Outfit", sans-serif; text-decoration: none; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn i { font-size: 1.25em; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--cheio { background: var(--acento); color: var(--acento-txt); }
.btn--cheio:hover { transform: translateY(-2px); }
.btn--linha { border: 1px solid var(--linha); color: var(--texto); }
.btn--linha:hover { border-color: var(--acento); }
.btn--p { padding: 10px 18px; font-size: 15px; }
.btn--g { padding: 18px 34px; font-size: 18px; }

/* Topo */
.topo {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--fundo) 86%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.topo.rolou { border-bottom-color: var(--linha); }
.topo__in { max-width: var(--larg); margin: 0 auto; padding: 12px 24px; height: 68px; display: flex; align-items: center; gap: 32px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -.01em; }
.marca img { width: 40px; height: 40px; border-radius: 50%; }
.menu { display: flex; gap: 28px; margin-left: auto; }
.menu a { text-decoration: none; color: var(--texto-2); font-size: 15px; transition: color .2s; }
.menu a:hover { color: var(--texto); }
@media (max-width: 767px) {
  .topo__in { padding: 10px 16px; height: 62px; gap: 12px; }
  .menu { display: none; }
  .topo .btn { margin-left: auto; }
}
@media (max-width: 380px) { .marca span { display: none; } }

/* Hero */
.hero {
  max-width: var(--larg); margin: 0 auto;
  padding: 56px 24px 88px;
  min-height: calc(100dvh - 68px);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.sobre { color: var(--acento); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 22px; }
.hero h1 { font-size: clamp(44px, 6.2vw, 84px); line-height: 1.02; }
.hero h1 em { display: inline-block; color: var(--acento); padding-bottom: .06em; }
.hero__sub { margin-top: 24px; max-width: 34ch; font-size: 19px; color: var(--texto-2); }
.hero__acoes { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero__fotos { position: relative; height: min(640px, 72dvh); }
.hero__fotos figure { position: absolute; overflow: hidden; border-radius: var(--raio); box-shadow: var(--sombra); }
.hero__fotos img { width: 100%; height: 100%; object-fit: cover; }
.hero__f1 { right: 0; top: 0; width: 70%; height: 88%; }
.hero__f2 { left: 0; bottom: 0; width: 42%; height: 62%; border: 6px solid var(--fundo); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; padding: 36px 16px 64px; gap: 40px; }
  .hero__fotos { height: 460px; }
  .hero__sub { font-size: 17px; }
}
@media (max-width: 480px) { .hero__fotos { height: 380px; } }

/* Títulos de seção */
.titulo { font-size: clamp(32px, 4.2vw, 52px); max-width: 20ch; }

/* Ambientes - bento */
.ambientes { padding: 96px 0; background: var(--fundo-2); }
.bento {
  margin-top: 48px;
  display: grid; gap: 16px;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 300px 300px;
}
.cel { position: relative; border-radius: var(--raio); overflow: hidden; background: var(--superficie); display: flex; flex-direction: column; }
.cel__img { flex: 1; overflow: hidden; min-height: 0; }
.cel__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cel:hover .cel__img img { transform: scale(1.04); }
.cel figcaption { padding: 14px 18px 16px; font-size: 15px; color: var(--texto-2); }
.cel figcaption strong { display: block; color: var(--texto); font-weight: 600; font-size: 17px; }
.cel--a { grid-column: 1 / span 5; grid-row: 1 / span 2; }
.cel--b { grid-column: 6 / span 4; grid-row: 1; }
.cel--texto { grid-column: 10 / span 3; grid-row: 1; background: var(--acento); color: var(--acento-txt); padding: 26px; justify-content: space-between; }
.cel--texto p { font-size: 22px; line-height: 1.25; font-weight: 500; letter-spacing: -.01em; }
.cel--c { grid-column: 6 / span 3; grid-row: 2; }
.cel--d { grid-column: 9 / span 4; grid-row: 2; }
.link-seta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.link-seta i { transition: transform .3s var(--ease); }
.link-seta:hover i { transform: translateX(4px); }

@media (max-width: 900px) {
  .ambientes { padding: 72px 0; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: auto; }
  .cel--a, .cel--b, .cel--c, .cel--d, .cel--texto { grid-column: auto; grid-row: auto; }
  .cel--a { grid-column: 1 / -1; }
  .cel--a .cel__img { aspect-ratio: 4 / 4.2; }
  .cel--b .cel__img, .cel--c .cel__img, .cel--d .cel__img { aspect-ratio: 3 / 4; }
  .cel--texto { grid-column: 1 / -1; gap: 24px; }
}
@media (max-width: 520px) {
  .bento { grid-template-columns: 1fr; }
  .cel--b .cel__img, .cel--c .cel__img, .cel--d .cel__img { aspect-ratio: 4 / 3.6; }
}

/* Processo */
.processo { padding: 104px 0; }
.processo__grade { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.processo__cab { position: sticky; top: 108px; }
.processo__cab p { margin-top: 20px; max-width: 36ch; color: var(--texto-2); font-size: 18px; }
.etapas { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.etapa { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center; padding: 18px; border-radius: var(--raio); background: var(--superficie); }
.etapa img { width: 200px; height: 170px; object-fit: cover; border-radius: 10px; }
.etapa h3 { font-size: 24px; margin-bottom: 8px; }
.etapa p { color: var(--texto-2); }
.etapa:nth-child(2) { margin-left: 40px; }
@media (max-width: 900px) {
  .processo { padding: 72px 0; }
  .processo__grade { grid-template-columns: 1fr; gap: 36px; }
  .processo__cab { position: static; }
  .etapa:nth-child(2) { margin-left: 0; }
}
@media (max-width: 560px) {
  .etapa { grid-template-columns: 1fr; gap: 16px; }
  .etapa img { width: 100%; height: 200px; }
}

/* Frase */
.frase { background: var(--escuro); color: var(--escuro-txt); padding: 112px 0; }
.frase blockquote { margin: 0; }
.frase blockquote p { max-width: 24ch; font-size: clamp(30px, 4.4vw, 58px); line-height: 1.12; font-weight: 300; letter-spacing: -.02em; }
.frase footer { margin-top: 28px; color: #cfae7a; font-weight: 500; }
@media (max-width: 767px) { .frase { padding: 80px 0; } }

/* Obra */
.obra { padding: 104px 0; }
.obra__grade { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; }
.obra__fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.obra__fotos figure:last-child { margin-top: 48px; }
.obra__fotos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--raio); box-shadow: var(--sombra); }
.obra__fotos figcaption { margin-top: 10px; font-size: 14px; color: var(--texto-2); }
.obra__texto p { margin: 22px 0 32px; max-width: 46ch; color: var(--texto-2); font-size: 18px; }
@media (max-width: 900px) {
  .obra { padding: 72px 0; }
  .obra__grade { grid-template-columns: 1fr; gap: 36px; }
  .obra__fotos figure:last-child { margin-top: 0; }
}

/* Dúvidas */
.duvidas { padding: 96px 0; background: var(--fundo-2); }
.duvidas__in { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; }
.acordeao details { border-top: 1px solid var(--linha); }
.acordeao details:last-child { border-bottom: 1px solid var(--linha); }
.acordeao summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; font-size: 19px; font-weight: 500;
}
.acordeao summary::-webkit-details-marker { display: none; }
.acordeao summary i { color: var(--acento); font-size: 20px; transition: transform .3s var(--ease); flex-shrink: 0; }
.acordeao details[open] summary i { transform: rotate(45deg); }
.acordeao details p { padding: 0 40px 24px 0; color: var(--texto-2); max-width: 62ch; }
@media (max-width: 900px) {
  .duvidas { padding: 72px 0; }
  .duvidas__in { grid-template-columns: 1fr; gap: 28px; }
  .acordeao details p { padding-right: 0; }
}

/* Final */
.final { padding: 120px 0; text-align: center; }
.final__in { display: flex; flex-direction: column; align-items: center; }
.final h2 { font-size: clamp(40px, 6vw, 76px); line-height: 1.04; }
.final h2 em { color: var(--acento); display: inline-block; padding-bottom: .06em; }
.final__in > p { margin: 20px 0 36px; color: var(--texto-2); font-size: 19px; }
.final .final__tel { margin: 20px 0 0; font-size: 15px; }
@media (max-width: 767px) { .final { padding: 80px 0; } }

/* Rodapé */
.rodape { background: var(--escuro); color: var(--escuro-txt); padding: 56px 0 96px; }
.rodape__in { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.rodape__marca { display: flex; align-items: center; gap: 16px; }
.rodape__marca img { width: 56px; height: 56px; border-radius: 50%; }
.rodape__marca p { font-weight: 600; font-size: 18px; line-height: 1.3; }
.rodape__marca span { font-weight: 400; font-size: 14px; color: #a9abb1; }
.rodape__links { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; flex-wrap: wrap; }
.rodape__links a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--escuro-txt); }
.rodape__links a:hover { color: #cfae7a; }
.rodape__links i { font-size: 20px; color: #cfae7a; }
.rodape__base { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgb(236 235 232 / .12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: #a9abb1; }
.rodape__credito a { color: #cfae7a; }

/* Botão flutuante */
.wa-flutua {
  position: fixed; right: 20px; bottom: 20px; z-index: 30;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--acento); color: var(--acento-txt);
  box-shadow: var(--sombra); text-decoration: none; font-size: 28px;
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.wa-flutua.ativo { opacity: 1; transform: none; pointer-events: auto; }
.wa-flutua:active { transform: scale(.96); }

/* Movimento: entrada do hero e revelação ao rolar */
@media (prefers-reduced-motion: no-preference) {
  .hero__texto > * { opacity: 0; transform: translateY(18px); animation: sobe .9s var(--ease) forwards; }
  .hero__texto > *:nth-child(2) { animation-delay: .08s; }
  .hero__texto > *:nth-child(3) { animation-delay: .16s; }
  .hero__texto > *:nth-child(4) { animation-delay: .24s; }
  .hero__f1 { opacity: 0; transform: translateY(24px); animation: sobe 1.1s var(--ease) .15s forwards; }
  .hero__f2 { opacity: 0; transform: translateY(32px); animation: sobe 1.1s var(--ease) .35s forwards; }
  .js .revela { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .revela.visivel { opacity: 1; transform: none; }
}
@keyframes sobe { to { opacity: 1; transform: none; } }
