/* ==========================================================================
   SANTHA PEDRAS — FOLHA DE ESTILO
   Direção: fundo claro, cabeçalho grafite, dourado como acento.
   Tipografia: Manrope (títulos) + DM Sans (corpo).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FONTES
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Manrope";
  src: url("../fontes/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fontes/dm-sans.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. TOKENS
   -------------------------------------------------------------------------- */
:root {
  --brand-gold: #D6A02A;
  --brand-gold-dark: #A96F12;
  --brand-gold-soft: #F6EAD0;
  --brand-charcoal: #191919;
  --brand-charcoal-2: #111213;
  --icon-gold: #B88A3B;

  --text-primary: #202124;
  --text-secondary: #59616B;
  --surface: #FFFFFF;
  --surface-soft: #FAF9F6;
  --surface-cream: #FBF6EB;
  --border-soft: #E7E3DC;

  --font-display: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 7vw, 6rem);

  --radius: 18px;
  --radius-lg: 24px;
  --pill: 999px;

  --shadow-sm: 0 14px 34px -26px rgba(0, 0, 0, .45);
  --shadow: 0 26px 60px -34px rgba(0, 0, 0, .5);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.5s;

  --gold-grad: linear-gradient(180deg, #E2B248 0%, #C9901D 100%);
}

/* --------------------------------------------------------------------------
   3. RESET / BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }
iframe { border: 0; }

/* O atributo [hidden] deve sempre vencer regras de display dos componentes,
   evitando placeholders vazios (ex.: horários não confirmados) e elementos
   condicionais (WhatsApp, depoimentos, cookies) aparecendo indevidamente. */
[hidden] { display: none !important; }

::selection { background: var(--brand-gold); color: #1b1b1b; }

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--brand-gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   4. ÍCONES
   -------------------------------------------------------------------------- */
.ico {
  width: 22px; height: 22px;
  flex: none;
  fill: none;
  stroke: var(--icon-gold);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico--lg { width: 28px; height: 28px; }
.ico--sm { width: 18px; height: 18px; }

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

.section { padding: var(--section-y) 0; }

.section--marble {
  background-color: var(--surface);
  background-image:
    linear-gradient(rgba(255, 255, 255, .89), rgba(255, 255, 255, .89)),
    url("../imagens/fotos/textura-marmore.webp");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

/* --------------------------------------------------------------------------
   6. TIPOGRAFIA
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.hl {
  background: linear-gradient(180deg, #D9A62E 0%, #A96F12 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  border: 1px solid rgba(214, 160, 42, .55);
  border-radius: var(--pill);
  background: rgba(255, 255, 255, .7);
  color: var(--brand-gold-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .5rem 1.15rem;
  margin-bottom: 1.15rem;
}
.tag::before, .tag::after {
  content: "";
  width: 5px; height: 5px;
  background: var(--brand-gold);
  transform: rotate(45deg);
  flex: none;
}

.section-head { text-align: center; max-width: 820px; margin-inline: auto; }
.section-head__title {
  font-size: clamp(1.85rem, 1.2rem + 2.4vw, 3rem);
  font-weight: 800;
}
.section-head__sub {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

/* --------------------------------------------------------------------------
   7. BOTÕES
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1;
  padding: .95rem 1.5rem;
  border-radius: var(--pill);
  border: 1.5px solid transparent;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
  cursor: pointer;
}
.btn .ico { stroke: currentColor; }

.btn--gold {
  background: var(--gold-grad);
  color: #fff;
  box-shadow: 0 16px 30px -18px rgba(169, 111, 18, .85);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -18px rgba(169, 111, 18, .95); }

.btn--outline {
  background: rgba(255, 255, 255, .85);
  border-color: var(--brand-gold);
  color: var(--brand-charcoal);
}
.btn--outline .ico { stroke: var(--brand-gold); }
.btn--outline:hover { background: #fff; transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  border-color: var(--border-soft);
  color: var(--text-primary);
}
.btn--ghost:hover { border-color: var(--brand-gold); color: var(--brand-gold-dark); }

.btn--lg { padding: 1.1rem 1.8rem; font-size: 1rem; }
.btn--sm { padding: .6rem 1.1rem; font-size: .85rem; }
.btn--block { width: 100%; }

.section-cta { text-align: center; margin-top: clamp(2rem, 4vw, 3rem); }

/* Chamada comercial curta exibida antes dos botões de orçamento */
.cta-call {
  color: var(--text-secondary);
  font-size: clamp(.95rem, 1vw, 1.05rem);
  line-height: 1.5;
  margin-bottom: .9rem;
}
.section-cta .cta-call { margin-bottom: .8rem; }

/* --------------------------------------------------------------------------
   8. TOPBAR
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--brand-charcoal-2);
  color: rgba(255, 255, 255, .82);
  font-size: .82rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 46px;
}
.topbar__info { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.topbar__info li { display: flex; align-items: center; gap: .5rem; }
.topbar__info .ico { stroke: var(--brand-gold); width: 16px; height: 16px; }
.topbar__muted { color: rgba(255, 255, 255, .45); }
.topbar__wa { display: inline-flex; align-items: center; gap: .5rem; color: var(--brand-gold); font-weight: 600; }
.topbar__wa .ico { stroke: var(--brand-gold); width: 17px; height: 17px; }
.topbar__wa:hover { color: #fff; }

/* --------------------------------------------------------------------------
   9. HEADER
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--brand-charcoal);
  transition: box-shadow var(--dur) var(--ease);
}
.header.is-scrolled { box-shadow: 0 12px 30px -18px rgba(0, 0, 0, .7); }
.header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 96px;
}
.header__logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.header__logo-symbol { height: 68px; width: auto; }
.header__logo-text { display: flex; flex-direction: column; justify-content: center; line-height: 1.08; }
.header__logo-line { font-family: var(--font-display); white-space: nowrap; }
.header__logo-line--top { color: #E6AD35; font-size: 20px; font-weight: 500; }
.header__logo-line--name { color: #E6AD35; font-size: 27px; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; }
.header__logo-line--tag { color: #FFFFFF; font-size: 14px; font-weight: 500; }

.nav { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 1.6rem; }
.nav__cta { padding: .85rem 1.3rem; font-size: .92rem; }
.nav__link {
  position: relative;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .96rem;
  padding: .4rem 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: color var(--dur) var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--brand-gold); }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: var(--brand-gold);
  border-radius: 2px;
}
.nav__caret { stroke: currentColor; width: 15px; height: 15px; transition: transform var(--dur) var(--ease); }

.nav__has-sub { position: relative; }
.nav__submenu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: .5rem;
  display: none;
  z-index: 90;
}
.nav__has-sub:hover .nav__submenu,
.nav__has-sub:focus-within .nav__submenu { display: block; }
.nav__has-sub:hover .nav__caret { transform: rotate(180deg); }
.nav__submenu a {
  display: block;
  padding: .62rem .85rem;
  border-radius: 9px;
  color: var(--text-primary);
  font-size: .9rem;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav__submenu a:hover { background: var(--brand-gold-soft); color: var(--brand-gold-dark); }

.nav__cta { color: #fff; }

.hamburger {
  display: none;
  width: 44px; height: 44px;
  flex: none;
  position: relative;
  z-index: 90;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-left: auto;
}
.hamburger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   10. DOBRA 1 — HERO
   -------------------------------------------------------------------------- */
.hero { position: relative; }
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 46% 54%;
  min-height: 600px;
  background-color: var(--surface);
  background-image:
    linear-gradient(rgba(255, 255, 255, .68), rgba(255, 255, 255, .68)),
    url("../imagens/fotos/textura-marmore.webp");
  background-size: cover, cover;
  background-position: center, center;
}
.hero__panel { display: flex; align-items: center; }
.hero__panel-inner { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.hero__title {
  font-size: clamp(2rem, 1rem + 3.3vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.hero__sub {
  margin-top: 1.25rem;
  max-width: 34rem;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}
.hero__benefits { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 1.9rem; }
.hero__benefits li {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .92rem;
  line-height: 1.2;
  color: var(--text-primary);
}
.hero__benefits li + li { border-left: 1px solid var(--border-soft); padding-left: 1.4rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.1rem; }

.hero__photo { position: relative; overflow: hidden; }
.hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  clip-path: polygon(11% 0, 100% 0, 100% 100%, 0 100%);
}

.hero__cats { position: relative; z-index: 5; margin-top: -74px; }
.hero__cats .container { padding-inline: var(--gutter); }
.hero__cats-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--brand-charcoal);
  border-radius: 22px;
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .75);
  overflow: hidden;
}
.hero__cats-list li { position: relative; }
.hero__cats-list li + li::before {
  content: "";
  position: absolute;
  left: 0; top: 22%; bottom: 22%;
  width: 1px;
  background: rgba(214, 160, 42, .35);
}
.hero__cats-list .hero__cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  padding: 1.3rem .5rem;
  text-align: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .88rem;
  line-height: 1.2;
}

/* --------------------------------------------------------------------------
   11. DOBRA 2 — PRODUTOS
   -------------------------------------------------------------------------- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.prod-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.prod-card__media img { width: 100%; height: 180px; object-fit: cover; }
.prod-card__body { display: flex; align-items: center; gap: 1rem; padding: 1.05rem 1.15rem; }
.prod-card__icon {
  flex: none;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--brand-gold-soft);
}
.prod-card__text h3 { font-size: 1.06rem; font-weight: 700; }
.prod-card__text p { font-size: .88rem; color: var(--text-secondary); line-height: 1.45; margin-top: .15rem; }
.prod-card__arrow {
  flex: none;
  margin-left: auto;
  width: 40px; height: 40px;
  border-radius: var(--pill);
  background: var(--gold-grad);
  display: grid; place-items: center;
  transition: transform var(--dur) var(--ease);
}
.prod-card__arrow .ico { stroke: #fff; }
.prod-card:hover .prod-card__arrow { transform: translateX(3px); }
.prod-card__link { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }

/* --------------------------------------------------------------------------
   12. DOBRA 3 — SOBRE
   -------------------------------------------------------------------------- */
.sobre__grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.sobre__photo img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow);
}
.sobre__lead { margin: 1rem 0 1.6rem; color: var(--text-secondary); font-size: clamp(1rem, 1.4vw, 1.1rem); }
.sobre__features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.7rem 2rem; margin-bottom: 2rem; }
.feature { display: flex; gap: .9rem; align-items: flex-start; }
.feature h3 { font-size: 1.04rem; font-weight: 700; }
.feature p { font-size: .88rem; color: var(--text-secondary); margin-top: .15rem; }

/* --------------------------------------------------------------------------
   13. CARROSSEL (materiais / projetos)
   -------------------------------------------------------------------------- */
.carousel { margin-top: clamp(2rem, 4vw, 3rem); }
.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 1.4rem) / 4);
  gap: 1.4rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: .25rem;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item { scroll-snap-align: start; }

.mat-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.mat-card__media img { width: 100%; height: 190px; object-fit: cover; }
.mat-card__title { text-align: center; font-size: 1rem; font-weight: 700; padding: 1rem .8rem 1.15rem; }

.proj-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.proj-card__media img { width: 100%; height: 230px; object-fit: cover; }
.proj-card__body { display: flex; align-items: center; gap: .65rem; padding: .85rem 1rem; }
.proj-card__body h3 { font-size: .98rem; font-weight: 700; }
.proj-card__arrow {
  margin-left: auto;
  width: 34px; height: 34px;
  border-radius: var(--pill);
  background: var(--gold-grad);
  display: grid; place-items: center;
}
.proj-card__arrow .ico { stroke: #fff; }

.carousel__dots { display: flex; justify-content: center; align-items: center; gap: .55rem; margin-top: 1.8rem; }
.dot {
  width: 11px; height: 11px;
  border-radius: var(--pill);
  background: #d8d3c6;
  transition: width var(--dur) var(--ease), background var(--dur) var(--ease);
}
.dot.is-active { width: 26px; background: var(--brand-gold); }

.materiais__note { text-align: center; margin-top: 1.6rem; font-size: .82rem; color: var(--text-secondary); }

/* --------------------------------------------------------------------------
   14. DOBRA 6 — DEPOIMENTOS
   -------------------------------------------------------------------------- */
.depo__grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
.depo__stats { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2rem; }
.stat { display: flex; align-items: flex-start; gap: .7rem; }
.stat__value { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1; color: var(--text-primary); }
.stat__label { display: block; font-size: .82rem; color: var(--text-secondary); margin-top: .25rem; }
.stat .ico { margin-top: .1rem; }

.depo__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.depo__photo img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.depo__body { padding: 1.6rem; display: flex; align-items: center; }
.depo__placeholder { text-align: center; color: var(--text-secondary); }
.depo__placeholder .ico { margin: 0 auto .7rem; }
.depo__placeholder p { font-size: .95rem; color: var(--text-primary); font-weight: 500; }
.depo__placeholder small { display: block; margin-top: .5rem; font-size: .8rem; color: var(--text-secondary); }

.depo__nav { display: flex; gap: .6rem; justify-content: flex-end; margin-top: 1rem; }
.depo__arrow {
  width: 44px; height: 44px;
  border-radius: var(--pill);
  border: 1px solid var(--border-soft);
  background: #fff;
  display: grid; place-items: center;
  transition: background var(--dur) var(--ease);
}
.depo__arrow:hover { background: var(--brand-gold); border-color: var(--brand-gold); }
.depo__arrow:hover .ico { stroke: #fff; }

/* Banner escuro */
.banner {
  display: grid;
  grid-template-columns: 250px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  background: var(--brand-charcoal);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.banner__photo img { width: 100%; height: 100%; min-height: 150px; object-fit: cover; }
.banner__content { display: flex; align-items: center; gap: 1.1rem; padding: 1.5rem .5rem; color: #fff; }
.banner__icon { flex: none; width: 52px; height: 52px; border-radius: 14px; background: rgba(214, 160, 42, .14); display: grid; place-items: center; }
.banner__content h3 { color: #fff; font-size: 1.35rem; font-weight: 700; }
.banner__content p { color: rgba(255, 255, 255, .72); font-size: .92rem; margin-top: .25rem; max-width: 46ch; }
.banner__cta { margin-right: 1.5rem; }

/* --------------------------------------------------------------------------
   14b. DOBRA 6B — AVALIAÇÕES REAIS (PROVA SOCIAL)
   -------------------------------------------------------------------------- */
.avaliacoes .section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }

.aval-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
/* Centraliza o último card quando a última linha fica incompleta (desktop) */
.aval-card:last-child:nth-child(3n + 1) { grid-column: 2; }

.aval-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.aval-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-grad);
}
.aval-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.aval-card__stars {
  color: var(--brand-gold);
  font-size: 1.05rem;
  letter-spacing: .18em;
  line-height: 1;
}

.aval-card__text {
  flex: 1;
  color: var(--text-secondary);
  font-size: .95rem;
  line-height: 1.62;
}

.aval-card__author {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft);
}
.aval-card__avatar {
  flex: none;
  width: 42px; height: 42px;
  border-radius: var(--pill);
  background: var(--gold-grad);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  display: grid; place-items: center;
}
.aval-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   14c. GALERIA DE PROJETOS (HOME) — filtro por categoria + grade masonry
   -------------------------------------------------------------------------- */
.galeria-projetos .section-head { margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }

/* Filtros de categoria (pílulas) */
.gp-filtros {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.gp-filtro {
  display: inline-flex;
  align-items: center;
  padding: .62rem 1.25rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--pill);
  background: #fff;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9rem;
  line-height: 1;
  white-space: nowrap;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease),
    border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.gp-filtro:hover { border-color: rgba(214, 160, 42, .55); color: var(--brand-gold-dark); }
.gp-filtro.is-active {
  background: var(--gold-grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 14px 28px -18px rgba(169, 111, 18, .9);
}

/* Grade masonry — preserva a proporção natural das fotos (sem cortes agressivos) */
.gp-galeria {
  columns: 3;
  column-gap: 1.3rem;
}
.gp-foto {
  display: block;
  width: 100%;
  break-inside: avoid;
  margin: 0 0 1.3rem;
  padding: 0;
  border: 0;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.gp-foto img {
  width: 100%;
  height: auto;
  transition: transform .6s var(--ease);
}
.gp-foto:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gp-foto:hover img { transform: scale(1.03); }
.gp-foto:focus-visible { outline: 2px solid var(--brand-gold); outline-offset: 3px; }

/* Visualizador de imagem (lightbox) — compartilhado home + páginas internas */
.gp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(12, 12, 12, .92);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.gp-lightbox.is-active { display: flex; }
.gp-lightbox.is-open { opacity: 1; }
.gp-lightbox__figure {
  width: min(1000px, 92vw);
  height: min(78vh, 720px);
}
.gp-lightbox__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9);
}
.gp-lightbox--contain .gp-lightbox__figure img { object-fit: contain; }
.gp-lightbox__close {
  position: absolute;
  top: 1rem; right: 1.2rem;
  width: 48px; height: 48px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  display: grid; place-items: center;
  transition: background var(--dur) var(--ease);
}
.gp-lightbox__close:hover { background: rgba(255, 255, 255, .22); }
.gp-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, .1);
  display: grid; place-items: center;
  transition: background var(--dur) var(--ease);
}
.gp-lightbox__nav:hover { background: var(--brand-gold); }
.gp-lightbox__nav .ico { stroke: #fff; }
.gp-lightbox__nav--prev { left: clamp(.6rem, 3vw, 2rem); }
.gp-lightbox__nav--next { right: clamp(.6rem, 3vw, 2rem); }

@media (max-width: 1100px) {
  .gp-galeria { columns: 2; }
}
@media (max-width: 680px) {
  .gp-galeria { columns: 1; }
  .gp-foto { margin-bottom: 1rem; }
  .gp-filtros {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    padding-bottom: .4rem;
  }
  .gp-filtros::-webkit-scrollbar { display: none; }
  .gp-lightbox__nav { width: 44px; height: 44px; }
  .gp-lightbox__close { width: 42px; height: 42px; font-size: 1.7rem; }
}

/* --------------------------------------------------------------------------
   15. DOBRA 7 — CONTATO
   -------------------------------------------------------------------------- */
.contato__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: stretch;
}
.contato__right { display: flex; flex-direction: column; }
.contato__benefits { display: flex; flex-direction: column; gap: 1.1rem; margin: 1.8rem 0 2rem; }
.contato__benefits li { display: flex; align-items: center; gap: 1rem; font-family: var(--font-display); font-weight: 700; color: var(--text-primary); line-height: 1.25; }
.contato__benefits li + li { border-top: 1px solid var(--border-soft); padding-top: 1.1rem; }

.form-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 2.5vw, 1.8rem);
  box-shadow: var(--shadow);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__field { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1rem; }
.form__field label { font-family: var(--font-display); font-weight: 700; font-size: .85rem; }
.form__field label span { color: var(--brand-gold-dark); }
.form__field input,
.form__field select,
.form__field textarea {
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: .8rem .9rem;
  background: #fff;
  font-size: .95rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.form__field input::placeholder,
.form__field textarea::placeholder { color: #9aa0a6; }
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 3px rgba(214, 160, 42, .18);
}
.form__field textarea { resize: vertical; min-height: 110px; }
.is-invalid { border-color: #d9534f !important; box-shadow: 0 0 0 3px rgba(217, 83, 79, .15) !important; }

.form__consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .8rem; color: var(--text-secondary); margin: .2rem 0 1.1rem; }
.form__consent input { margin-top: .2rem; accent-color: var(--brand-gold); }
.form__consent a { color: var(--brand-gold-dark); text-decoration: underline; }
.form__status { font-size: .85rem; margin-top: .7rem; min-height: 1.1rem; }
.form__status.is-error { color: #c0392b; }
.form__status.is-ok { color: #1e8e5a; }

.contato__facade { display: none; }
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-top: 1.2rem;
  background: var(--surface-cream);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
}
.info-card { display: flex; gap: .7rem; align-items: flex-start; padding: 1.05rem 1rem; }
.info-card + .info-card { border-left: 1px solid var(--border-soft); }
.info-card__label { display: block; font-family: var(--font-display); font-weight: 700; font-size: .88rem; }
.info-card__value { display: block; font-size: .84rem; color: var(--text-secondary); margin-top: .15rem; }
.contato__map { margin-top: 1.2rem; border-radius: var(--radius); overflow: hidden; }
.contato__map iframe { width: 100%; height: 280px; }

/* --------------------------------------------------------------------------
   16. DOBRA 8 — COMO FUNCIONA
   -------------------------------------------------------------------------- */
.como__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.step-card__media img { width: 100%; height: 150px; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.step-card__body { padding: 1.15rem; }
.step-card__head { display: flex; align-items: center; gap: .65rem; margin-bottom: .55rem; flex-wrap: wrap; }
.step-card__num {
  width: 34px; height: 34px;
  border-radius: var(--pill);
  background: var(--gold-grad);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .95rem;
  display: grid; place-items: center;
  flex: none;
}
.step-card__head h3 { font-size: .98rem; font-weight: 700; }
.step-card__body p { font-size: .87rem; color: var(--text-secondary); }
.step-card__arrow {
  position: absolute;
  right: -17px; top: 46%;
  width: 34px; height: 34px;
  border-radius: var(--pill);
  background: var(--gold-grad);
  display: grid; place-items: center;
  z-index: 2;
  box-shadow: 0 10px 20px -12px rgba(169, 111, 18, .9);
}
.step-card__arrow .ico { stroke: #fff; }
.step-card:last-child .step-card__arrow { display: none; }

/* --------------------------------------------------------------------------
   17. DOBRA 9 — FAQ
   -------------------------------------------------------------------------- */
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.faq__photo img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; box-shadow: var(--shadow); }

.accordion { display: flex; flex-direction: column; gap: .85rem; }
.acc-item { background: #fff; border: 1px solid var(--border-soft); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); }
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1.05rem 1.1rem;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .98rem;
  color: var(--text-primary);
}
.acc-head span { flex: 1; }
.acc-caret { stroke: var(--brand-gold-dark); transition: transform var(--dur) var(--ease); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.acc-body p { padding: 0 1.1rem 1.15rem 3.15rem; font-size: .9rem; color: var(--text-secondary); }
.acc-item.is-open .acc-head { background: var(--surface-cream); }
.acc-item.is-open .acc-body { background: var(--surface-cream); }
.acc-item.is-open .acc-caret { transform: rotate(180deg); }

/* --------------------------------------------------------------------------
   18. FOOTER (conversão)
   -------------------------------------------------------------------------- */
.footer {
  background: var(--brand-charcoal);
  color: rgba(255, 255, 255, .68);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

/* Esquerda — marca */
.footer__brand img { height: 92px; width: auto; margin-bottom: .9rem; }
.footer__brand p { font-size: .92rem; line-height: 1.6; max-width: 30ch; }

/* Centro — CTA principal (integrado ao fundo, sem card) */
.footer__cta { text-align: center; }
.footer__cta-title { color: #fff; font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 800; }
.footer__cta-text { color: rgba(255, 255, 255, .68); font-size: .92rem; margin: .45rem 0 1.4rem; }
.footer__cta-btn {
  width: 100%;
  max-width: 380px;
  margin-inline: auto;
  padding: .9rem 1.5rem;
  font-size: .92rem;
}

/* Direita — benefícios */
.footer__benefits { display: flex; flex-direction: column; gap: 1.05rem; }
.footer__benefit {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  color: #fff;
}
.footer__benefit .ico { stroke: var(--brand-gold); }

/* Parte inferior */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 1.3rem 0;
  text-align: center;
  font-size: .82rem;
}
.footer__copy { color: rgba(255, 255, 255, .6); }
.footer__privacy {
  display: inline-block;
  margin-top: .4rem;
  color: rgba(255, 255, 255, .5);
  font-size: .78rem;
  text-decoration: underline;
  transition: color var(--dur) var(--ease);
}
.footer__privacy:hover { color: var(--brand-gold); }

/* --------------------------------------------------------------------------
   19. WHATSAPP FLUTUANTE
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: 1.2rem; bottom: 1.2rem;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 16px 32px -12px rgba(37, 211, 102, .75);
  transition: transform var(--dur) var(--ease), bottom .3s var(--ease);
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.wa-float img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Enquanto o banner de cookies estiver visível, sobe o botão flutuante
   para não ficar coberto/bloqueado por ele. */
body.cookie-open .wa-float { bottom: calc(1.2rem + var(--cookie-h, 0px) + .5rem); }

/* --------------------------------------------------------------------------
   20. COOKIES / MODAL
   -------------------------------------------------------------------------- */
.cookie {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 90;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.cookie__inner {
  max-width: 720px;
  width: 100%;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  pointer-events: auto;
}
.cookie__inner p { flex: 1 1 320px; font-size: .86rem; color: var(--text-secondary); }
.cookie__actions { display: flex; gap: .6rem; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(15, 15, 15, .6);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.modal.is-open { display: flex; opacity: 1; }
.modal__box {
  position: relative;
  max-width: 640px;
  max-height: 82vh;
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
}
.modal__box h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.modal__box h3 { font-size: 1.05rem; margin: 1.1rem 0 .4rem; }
.modal__box p { color: var(--text-secondary); font-size: .92rem; }
.modal__note { margin-top: 1.2rem; font-style: italic; font-size: .82rem; }
.modal__close { position: absolute; top: .6rem; right: .9rem; font-size: 1.8rem; line-height: 1; color: var(--text-secondary); }

/* --------------------------------------------------------------------------
   21. REVEAL
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   22. RESPONSIVO
   -------------------------------------------------------------------------- */
@media (max-width: 1210px) {
  .header__logo { gap: 10px; }
  .header__logo-symbol { height: 58px; }
  .header__logo-line--top { font-size: 17px; }
  .header__logo-line--name { font-size: 23px; }
  .header__logo-line--tag { font-size: 12px; }
  .nav { gap: 1.1rem; }
  .nav__list { gap: 1.1rem; }
  .nav__cta { padding: .8rem 1.05rem; font-size: .88rem; }
}

@media (max-width: 1100px) {
  .nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(86vw, 360px);
    background: var(--brand-charcoal);
    flex-direction: column;
    align-items: stretch;
    gap: .3rem;
    padding: 5.5rem 1.6rem 2rem;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    overflow-y: auto;
    z-index: 80;
  }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav__link { width: 100%; padding: .9rem 0; border-bottom: 1px solid rgba(255, 255, 255, .09); font-size: 1.05rem; }
  .nav__link.is-active::after { display: none; }
  .nav__submenu {
    position: static;
    transform: none;
    display: none;
    min-width: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: .2rem 0 .5rem 1rem;
  }
  .nav__submenu.is-open { display: block; }
  .nav__submenu a { color: rgba(255, 255, 255, .8); padding: .5rem 0; }
  .nav__submenu a:hover { background: transparent; color: var(--brand-gold); }
  .nav__cta { margin-top: 1.2rem; width: 100%; }
  .hamburger { display: flex; }

  .header__logo { gap: 11px; }
  .header__logo-symbol { height: 60px; }
  .header__logo-line--top { font-size: 18px; }
  .header__logo-line--name { font-size: 24px; }
  .header__logo-line--tag { font-size: 13px; }

  .hero__inner { grid-template-columns: 1fr; min-height: 0; }
  .hero__photo { order: -1; height: 340px; }
  .hero__photo img { clip-path: none; }
  .hero__panel-inner { padding-block: 2.5rem; }

  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .sobre__grid { grid-template-columns: 1fr; }
  .sobre__photo { order: -1; max-width: 640px; }
  .depo__grid { grid-template-columns: 1fr; }
  .como__grid { grid-template-columns: repeat(2, 1fr); }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__photo { max-width: 640px; }
  .footer__grid { grid-template-columns: 1fr; }
  .banner { grid-template-columns: 200px 1fr; }
  .banner__cta { grid-column: 1 / -1; margin: 0 1.5rem 1.5rem; }
  .carousel__track { grid-auto-columns: calc((100% - 1.4rem) / 2); }
  .aval-grid { grid-template-columns: repeat(2, 1fr); }
  .aval-card:last-child:nth-child(3n + 1) { grid-column: auto; }
  /* Centraliza o card órfão quando a última linha fica incompleta (2 colunas) */
  .aval-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - .75rem);
  }
}

@media (max-width: 680px) {
  .topbar__info { gap: 1rem; font-size: .78rem; }
  .topbar__info li:nth-child(2) { display: none; }

  .header__logo { gap: 9px; }
  .header__logo-symbol { height: 52px; }
  .header__logo-line--top { font-size: 16px; }
  .header__logo-line--name { font-size: 21px; }
  .header__logo-line--tag { font-size: 12px; }

  .hero__cats { margin-top: -40px; }
  .hero__cats-list {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .hero__cats-list::-webkit-scrollbar { display: none; }
  .hero__cats-list li { min-width: 42%; scroll-snap-align: start; }
  .hero__cats-list li + li::before { display: none; }
  .hero__cats-list .hero__cat { font-size: .82rem; }

  .prod-grid { grid-template-columns: 1fr; }
  .sobre__features { grid-template-columns: 1fr; }
  .como__grid { grid-template-columns: 1fr; }
  .step-card__arrow { right: auto; left: 50%; top: auto; bottom: -17px; transform: translateX(-50%) rotate(90deg); }
  .depo__card { grid-template-columns: 1fr; }
  .depo__photo img { min-height: 220px; }
  .banner { grid-template-columns: 1fr; }
  .banner__photo img { min-height: 160px; }
  .banner__content { padding: 1.4rem; }
  .banner__cta { margin: 0 1.4rem 1.4rem; }
  .form__row { grid-template-columns: 1fr; }
  .contato__grid { grid-template-columns: 1fr; }
  .info-cards { grid-template-columns: 1fr; }
  .info-card + .info-card { border-left: none; border-top: 1px solid var(--border-soft); }
  .carousel__track { grid-auto-columns: 82%; }
  .aval-grid { grid-template-columns: 1fr; }
  .aval-card:last-child:nth-child(odd) { grid-column: auto; justify-self: stretch; width: auto; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { text-align: center; }
  .footer__brand p { margin-inline: auto; }
  .footer__benefits { align-items: center; }
  .hero__benefits li + li { border-left: none; padding-left: 0; }

  .wa-float__label { display: none; }
  .wa-float { width: 54px; height: 54px; }
}

/* Telas muito estreitas (ex.: 320px): evita que o hambúrguer encolha
   e mantém a marca em uma única linha sem sobreposição. */
@media (max-width: 380px) {
  .header__inner { gap: 1rem; }
  .header__logo { gap: 8px; }
  .header__logo-symbol { height: 46px; }
  .header__logo-line--top { font-size: 15px; }
  .header__logo-line--name { font-size: 19px; }
  .header__logo-line--tag { font-size: 11px; }
}
