:root {
  --marrom-950: #24120a;
  --marrom-900: #331a0c;
  --marrom-800: #46240f;
  --marrom-700: #5c3320;
  --ouro: #d2a447;
  --ouro-claro: #e9c77a;
  --creme: #f7f1e8;
  --areia: #ebdfcd;
  --texto: #2c1a10;
  --texto-suave: #6b5546;
  --raio: 14px;
  --sombra: 0 10px 30px rgba(52, 26, 12, .10);
  --serif: "Cinzel", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--sans); color: var(--texto); background: var(--creme); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.container { width: min(1320px, 100% - 64px); margin-inline: auto; }
.estreito { width: min(800px, 100% - 40px); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: transform .2s, background .2s, box-shadow .2s, color .2s;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn-ouro { background: linear-gradient(135deg, var(--ouro-claro), var(--ouro)); color: var(--marrom-950); box-shadow: 0 6px 20px rgba(210, 164, 71, .35); }
.btn-linha { border-color: rgba(233, 199, 122, .6); color: var(--ouro-claro); }
.btn-linha:hover { background: rgba(233, 199, 122, .1); }
.btn-marrom { background: var(--marrom-800); color: var(--creme); }
.btn-marrom:hover { background: var(--marrom-700); }
.btn-sm { padding: .6rem 1.2rem; font-size: .85rem; }
.btn-bloco { width: 100%; }

/* ---------- Barra de progresso ---------- */
.progresso { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 70; background: transparent; }
.progresso-barra {
  height: 100%; width: 0%; background: linear-gradient(90deg, var(--ouro), var(--ouro-claro));
  box-shadow: 0 0 8px rgba(233, 199, 122, .7), 0 0 16px rgba(210, 164, 71, .45);
}

/* ---------- Topo ---------- */
.topo {
  position: fixed; top: 22px; left: 0; right: 0; z-index: 50;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.topo.topo-rolado {
  background: rgba(70, 36, 15, .97); backdrop-filter: blur(8px);
  border-bottom-color: rgba(233, 199, 122, .15);
  box-shadow: 0 -22px 0 0 rgba(70, 36, 15, .97);
}
.topo-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.marca { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.marca img { width: 74px; height: auto; }
.marca-texto { display: flex; flex-direction: column; line-height: 1.1; }
.marca-texto strong { font-family: var(--sans); font-weight: 700; color: var(--areia); font-size: .80rem; letter-spacing: .03em; }
.marca-texto small { font-family: var(--sans); color: var(--ouro); font-size: .68rem; letter-spacing: .45em; text-transform: uppercase; }

.menu { display: flex; align-items: center; gap: 4.6rem; }
.menu a:not(.btn) { color: var(--areia); text-decoration: none; font-size: .92rem; font-weight: 500; position: relative; }
.menu a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 10px; background: var(--ouro); transition: width .25s; }
.menu a:not(.btn):hover::after { width: 100%; }

.menu-btn { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--areia); margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(ellipse at 75% 50%, #5a321c 0%, var(--marrom-800) 45%, var(--marrom-950) 100%);
  color: var(--creme); overflow: hidden;
}
.hero-inner { display: flex; flex-direction: column; justify-content: center; min-height: 100vh; padding: calc(4rem + 72px) 0 4rem; }
.hero-texto { position: relative; z-index: 2; max-width: 700px; }
.selo { display: inline-block; padding: .35rem .9rem; border: 1px solid rgba(233, 199, 126, .45); border-radius: 999px; color: var(--ouro-claro); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 2.2rem; }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4.3vw, 3.3rem); line-height: 1.25; margin-bottom: 2.1rem; }
.hero h1 em { font-style: normal; color: var(--ouro-claro); }
.hero p { font-size: 1.08rem; color: #e7d9c6; max-width: 34rem; margin-bottom: 2.6rem; }
.hero-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem; padding: .9rem 1.5rem;
  border-radius: 999px; background: rgba(255, 255, 255, .06); border: 2px solid rgba(233, 199, 126, .2);
  color: #d9c7b0; font-size: .95rem; font-weight: 500;
}
.hero-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--ouro); flex: none; box-shadow: 0 0 8px rgba(210, 164, 71, .8); }
.hero-foto { position: absolute; z-index: 1; right: 0%; bottom: -10px; top: -50px; display: flex; align-items: flex-end; pointer-events: none; }
.hero-foto::before {
  content: ""; position: absolute; z-index: -1; inset: -10% 10% -6% -70%;
  background: radial-gradient(ellipse 55% 60% at 75% 48%, rgba(233, 199, 126, .42), transparent 72%);
  filter: blur(60px);
}
.hero-foto img { display: block; height: 80%; width: auto; max-width: none; }

@media (max-width: 1500px) {
  .hero-foto { right: -2%; }
  .hero-foto img { height: 68%; }
}
@media (max-width: 1150px) and (min-width: 981px) {
  .hero-foto { right: -4%; }
  .hero-foto img { height: 58%; }
}

/* ---------- Seções ---------- */
.secao { padding: 5.5rem 0; }
.secao-areia { background: var(--areia); }
.secao-escura { background: var(--marrom-900); color: var(--creme); }
.secao-topo { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.sobretitulo { display: block; color: var(--ouro); font-size: .78rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; margin-bottom: .7rem; }
.sobretitulo-grande { font-size: 1.15rem; letter-spacing: .34em; margin-bottom: 1.1rem; }
.secao h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.25; color: var(--marrom-800); }
.secao-escura h2 { color: var(--creme); }
.secao-escura .secao-topo p { color: #d9c7b0; }
.secao-topo p { margin-top: 1rem; color: var(--texto-suave); }

/* Cards de serviço — foto grande no topo (estilo "character card"), corpo escuro */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; max-width: 1100px; margin: 0 auto; }
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(160deg, var(--marrom-900) 0%, var(--marrom-950) 100%);
  border: 1px solid rgba(210, 164, 71, .22);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--ouro), transparent);
  opacity: 0; transition: opacity .3s;
}
.card::after {
  content: ""; position: absolute; bottom: 0; right: 0; width: 22px; height: 22px; z-index: 2;
  border-right: 1px solid rgba(210, 164, 71, .6); border-top: 1px solid rgba(210, 164, 71, .6);
  transform: translate(1px, -1px) rotate(90deg); transform-origin: bottom right;
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, .45), 0 0 24px rgba(210, 164, 71, .18);
  border-color: rgba(210, 164, 71, .5);
}
.card:hover::before { opacity: 1; }
.card-capa { aspect-ratio: 1; overflow: hidden; }
.card-capa img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .45s;
}
.card:hover .card-capa img { transform: scale(1.07); }
.card-num {
  display: block; font-family: var(--sans); font-weight: 700; font-size: .7rem; letter-spacing: .16em;
  color: var(--ouro-claro); text-transform: uppercase; user-select: none; margin-bottom: .6rem;
  text-shadow: 0 0 14px rgba(210, 164, 71, .5);
}
.card-corpo { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 1.3rem; }
.card h3 { font-size: .98rem; line-height: 1.3; color: var(--creme); margin-bottom: .5rem; }
.card p { color: #c7b39d; font-size: .83rem; flex: 1; }
.card-link {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1rem; color: var(--ouro-claro); font-weight: 700; font-size: .8rem; text-decoration: none;
}
.card-link:hover { color: var(--ouro); }

@media (max-width: 860px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
.card-link svg { width: 16px; height: 16px; fill: currentColor; transition: transform .2s; }
.card-link:hover { color: var(--ouro); }
.card-link:hover svg { transform: translateX(4px); }

@media (max-width: 700px) {
  .cards { grid-template-columns: 1fr; }
}

/* Diferenciais */
.diferenciais { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.dif { padding: 1.8rem; border: 1px solid rgba(233, 199, 122, .2); border-radius: var(--raio); background: rgba(255, 255, 255, .03); }
.dif-num { font-family: var(--serif); font-size: 2rem; color: var(--ouro); line-height: 1; }
.dif h3 { font-size: 1.05rem; margin: .8rem 0 .5rem; }
.dif p { font-size: .93rem; color: #d9c7b0; }

/* Números */
.numeros { display: flex; flex-wrap: wrap; justify-content: center; gap: 3rem; margin-top: 3.5rem; padding-top: 3rem; border-top: 1px solid rgba(233, 199, 122, .15); }
.numero-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.numero-linha { display: flex; align-items: baseline; gap: .1rem; }
.numero, .numero-sufixo { font-family: var(--serif); font-weight: 700; color: var(--ouro); line-height: 1; }
.numero { font-size: 2.8rem; }
.numero-sufixo { font-size: 1.8rem; }
.numero-item small { margin-top: .5rem; color: #d9c7b0; font-size: .88rem; }

/* Público — esteira contínua */
.publico-esteira {
  overflow: hidden; width: 100%; margin-top: 1rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.publico { list-style: none; display: flex; flex-wrap: nowrap; width: max-content; gap: .8rem; animation: esteira 26s linear infinite; }
.publico-esteira:hover .publico { animation-play-state: paused; }
.publico li { flex: none; white-space: nowrap; padding: .7rem 1.4rem; border-radius: 999px; background: #fff; border: 1px solid var(--areia); color: var(--marrom-800); font-weight: 600; font-size: .92rem; box-shadow: 0 3px 10px rgba(52, 26, 12, .05); }
@keyframes esteira { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Sobre */
.sobre { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: center; }
.sobre-foto { position: relative; isolation: isolate; }
.sobre-foto img { display: block; border-radius: var(--raio); aspect-ratio: 1; object-fit: cover; object-position: 50% 20%; width: 100%; box-shadow: 0 16px 36px rgba(52, 26, 12, .22); outline: 1.5px solid var(--ouro); outline-offset: 10px; filter: saturate(1.05) contrast(1.03); transition: transform .4s ease; }
.sobre-foto:hover img { transform: scale(1.015); }
.sobre-texto h2 { margin-bottom: 1.2rem; }
.sobre-texto p { color: var(--texto-suave); margin-bottom: 1rem; }
.sobre-texto .btn { margin-top: .8rem; }

/* FAQ */
.faq details { background: #fff; border-radius: var(--raio); margin-bottom: .9rem; box-shadow: 0 3px 12px rgba(52, 26, 12, .06); overflow: hidden; }
.faq summary { padding: 1.2rem 3rem 1.2rem 1.5rem; font-weight: 600; color: var(--marrom-800); cursor: pointer; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.4rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--ouro); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 1.5rem 1.3rem; color: var(--texto-suave); }

/* Contato */
.contato { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contato-info > p { color: #d9c7b0; margin: 1rem 0 2rem; }
.contato-lista { list-style: none; display: grid; gap: 1.2rem; }
.contato-lista li { display: flex; gap: 1rem; align-items: flex-start; }
.contato-lista svg { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: rgba(233, 199, 122, .12); fill: var(--ouro-claro); }
.contato-lista a, .contato-lista span { color: var(--creme); text-decoration: none; padding-top: .45rem; word-break: break-word; }
.contato-lista a:hover { color: var(--ouro-claro); }

.form { background: var(--creme); color: var(--texto); border-radius: var(--raio); padding: 2.2rem; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.form h3 { font-family: var(--serif); font-size: 1.4rem; color: var(--marrom-800); }
.form-sub { color: var(--texto-suave); font-size: .9rem; margin-bottom: 1.4rem; }
.form label { display: block; font-size: .85rem; font-weight: 600; color: var(--marrom-800); margin-bottom: 1rem; }
.form input, .form select, .form textarea {
  display: block; width: 100%; margin-top: .4rem; padding: .8rem 1rem; font: inherit; font-weight: 400;
  border: 1px solid #d8c8b3; border-radius: 10px; background: #fff; color: var(--texto); transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ouro); box-shadow: 0 0 0 3px rgba(210, 164, 71, .25); }
.form .erro { border-color: #b3261e; }

.mapa { margin-top: 4rem; }
.mapa iframe { width: 100%; height: 340px; border: 0; border-radius: var(--raio); filter: sepia(.25) saturate(.9); }

/* Rodapé */
.rodape { background: var(--marrom-950); color: #bfa992; padding: 2.5rem 0; text-align: center; font-size: .88rem; }
.rodape-inner { display: grid; justify-items: center; gap: .6rem; }
.rodape img { width: 64px; }
.rodape-copy { font-size: .78rem; opacity: .7; }

/* WhatsApp flutuante */
.whats-flutuante {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: transform .2s;
}
.whats-flutuante:hover { transform: scale(1.08); }
.whats-flutuante svg { width: 32px; height: 32px; fill: #fff; }

/* Animação de entrada */
.revelar { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.revelar.visivel { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .revelar { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .diferenciais { grid-template-columns: repeat(2, 1fr); }
  .hero { display: block; min-height: 100vh; }
  .hero-foto {
    position: absolute; z-index: 0; top: 0; left: 0; right: 0; bottom: auto;
    height: 50vh; width: 100%; margin: 0; overflow: hidden;
    display: flex; align-items: flex-start; justify-content: center;
  }
  .hero-foto img { width: 100%; height: auto; max-width: none; margin-top: 30%; }
  .hero-inner {
    display: block; position: relative; z-index: 1; text-align: center; min-height: calc(100vh - 38vh);
    margin-top: 38vh; padding: 0rem 0 1.6rem;
  }
  .hero-inner::before {
    content: ""; position: absolute; z-index: -1; top: 0; left: 50%; width: 100vw; height: 100%;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, transparent, var(--marrom-900) 80px, var(--marrom-900) 100%);
  }
  .hero-texto { max-width: none; }
  .selo { font-size: .7rem; padding: .3rem .8rem; margin-bottom: .9rem; }
  .hero h1 { font-size: 1.5rem; margin-bottom: .7rem; }
  .hero p { font-size: .88rem; margin-bottom: 1.1rem; margin-inline: auto; }
  .hero-acoes { gap: .6rem; justify-content: center; }
  .hero-acoes .btn { padding: .65rem 1.3rem; font-size: .85rem; }
  .hero-badge { font-size: .8rem; padding: .7rem 1.1rem; }
  .sobre, .contato { grid-template-columns: 1fr; gap: 3rem; }
  .sobre-foto { max-width: 420px; margin-inline: auto; }
}

@media (max-width: 820px) {
  .menu-btn { display: block; }
  .menu {
    position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 1rem 20px 1.5rem;
    background: var(--marrom-800); border-bottom: 1px solid rgba(233, 199, 122, .2);
    transform: translateY(-120%); transition: transform .3s; z-index: -1;
  }
  .menu.aberto { transform: none; }
  .menu a:not(.btn) { width: 100%; padding: .9rem 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .menu .btn { margin-top: 1rem; width: 100%; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 560px) {
  .secao { padding: 4rem 0; }
  .diferenciais { grid-template-columns: 1fr; }
  .marca-texto strong { font-size: .72rem; }
  .hero-acoes .btn { width: 100%; }
  .form { padding: 1.6rem; }
  .mapa iframe { height: 260px; }
}
