/* ==========================================================================
   FLIM-3D — Landing page
   Paleta: bronze, dourado, creme. Tipografia: Jost + Inter.
   ========================================================================== */

:root {
  --font-display: "Jost", "Century Gothic", "Trebuchet MS", sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --ink: #4a2c1a;
  --ink-soft: #6f5544;
  --ink-muted: #85705f;
  --bronze: #a5662f;
  --bronze-deep: #7c3f15;
  --bronze-light: #c8955c;
  --gold: #c18a4d;
  --gold-light: #e7c396;

  --cream: #fbf3e8;
  --cream-2: #f8efe5;
  --cream-3: #f3e4d2;
  --cream-4: #ecd8c1;
  --white-warm: #fdf8f1;

  --line: rgba(139, 86, 44, 0.18);
  --line-strong: rgba(139, 86, 44, 0.32);

  --shadow-sm: 0 8px 24px rgba(102, 62, 30, 0.06);
  --shadow-md: 0 20px 45px rgba(102, 62, 30, 0.12);
  --shadow-lg: 0 40px 80px rgba(70, 40, 15, 0.2);

  --container: 1360px;
  --gutter: 48px;
  --header-h: 92px;
  --radius: 16px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; height: auto; }

h1, h2, h3, h4, p { margin-top: 0; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

button, input, select, textarea { border-radius: 0; }

::selection { background: rgba(186, 122, 63, 0.28); color: #3a2110; }

:focus-visible {
  outline: 2px solid rgba(150, 86, 35, 0.75);
  outline-offset: 3px;
}

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--fill { fill: currentColor; stroke: none; }

section { scroll-margin-top: 92px; }

.container {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--bronze-deep);
  color: #fff6ea;
  font-size: 14px;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  padding: 22px 0;
  transition: padding 0.35s var(--ease), background 0.35s var(--ease),
    box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(249, 239, 227, 0.9);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  backdrop-filter: blur(18px) saturate(1.1);
  border-bottom-color: rgba(139, 86, 44, 0.14);
  box-shadow: 0 12px 34px rgba(96, 57, 24, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand { display: inline-flex; align-items: center; flex: none; opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0.35s; }
.is-scrolled .brand { opacity: 1; visibility: visible; }

.brand img {
  display: block;
  width: auto;
  height: 50px;
  transition: height 0.35s var(--ease);
}
.is-scrolled .brand img { height: 42px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
  margin-left: auto;
  margin-right: auto;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #58371f;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #b5763a, #8a4517);
  transform: translateX(-50%);
  transition: width 0.3s var(--ease);
}

.nav-link:hover { color: var(--bronze-deep); }
.nav-link:hover::after { width: 100%; }
.nav-link.is-active { color: var(--bronze-deep); }
.nav-link.is-active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  --btn-py: 15px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: var(--btn-py) 20px var(--btn-py) 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn .icon { width: 17px; height: 17px; }

.btn-circle {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: -8px -8px -8px 2px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fbf4e9, #f1e2d0);
  color: #82451a;
  transition: transform 0.3s var(--ease);
}
.btn-circle .icon { width: 16px; height: 16px; }

.btn-primary {
  border-color: rgba(255, 227, 192, 0.4);
  background: linear-gradient(160deg, #ab6a33 0%, #8d4c1d 48%, #71360f 100%);
  color: #fff6ea;
  box-shadow: 0 14px 30px rgba(113, 54, 15, 0.26), inset 0 1px 0 rgba(255, 236, 210, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(113, 54, 15, 0.32), inset 0 1px 0 rgba(255, 236, 210, 0.45);
}
.btn-primary:hover .btn-circle { transform: translateX(3px); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  padding-right: 28px;
  border-color: rgba(137, 79, 35, 0.42);
  background: rgba(255, 250, 244, 0.22);
  color: #7c3f15;
}
.btn-outline:hover {
  border-color: rgba(124, 63, 21, 0.75);
  background: rgba(255, 250, 244, 0.65);
  transform: translateY(-2px);
}

.btn-header {
  --btn-py: 9px;
  padding: 9px 9px 9px 22px;
  font-size: 11px;
  letter-spacing: 0.09em;
  gap: 10px;
}
.btn-header .btn-circle { width: 34px; height: 34px; margin: -5px -5px -5px 0; }

.btn-block { width: 100%; padding-inline: 24px; }

.btn-ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--bronze-deep);
}
.btn-ghost:hover { background: rgba(165, 102, 47, 0.08); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  padding-top: 96px;
  padding-bottom: 156px;
  background:
    radial-gradient(ellipse 55% 62% at 82% 30%, rgba(255, 230, 196, 0.7) 0%, rgba(255, 230, 196, 0) 70%),
    radial-gradient(ellipse 45% 55% at 12% 4%, rgba(255, 246, 235, 0.85) 0%, rgba(255, 246, 235, 0) 70%),
    linear-gradient(116deg, #f6e7d5 0%, #f2dec8 44%, #edd4b8 100%);
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}
.hero-glow--1 {
  width: 520px;
  height: 520px;
  left: -180px;
  bottom: -220px;
  background: radial-gradient(circle, rgba(198, 138, 74, 0.45), transparent 65%);
}
.hero-glow--2 {
  width: 480px;
  height: 480px;
  right: 12%;
  top: -180px;
  background: radial-gradient(circle, rgba(255, 214, 160, 0.5), transparent 68%);
}

.hero-ribbon { position: absolute; pointer-events: none; }
.hero-ribbon--top {
  display: none; /* o risco passava por trás do logo */
  top: 40px;
  left: -4%;
  width: 58%;
  height: 340px;
  opacity: 0.65;
  transform: rotate(-4deg);
}
.hero-ribbon--bottom {
  left: -8%;
  bottom: 96px;
  width: 66%;
  height: 220px;
  opacity: 0.55;
}

.hero-inner {
  position: relative;
  display: flex;
  align-items: flex-start;
}

.hero-copy {
  position: relative;
  /* sem z-index aqui: assim o logo consegue se misturar com o fundo da página */
  width: 47%;
  max-width: 640px;
}

.hero-brand {
  --brand-w: clamp(340px, 44vw, 700px);
  width: var(--brand-w);
  margin-left: calc(var(--brand-w) * -0.041); /* alinha a perna do F com o início do título */
}
.hero-logo {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: multiply; /* o fundo branco da imagem some e o logo assume a cor do site */
}

.hero-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  margin: 22px 0 0 0;
  --ls: 0.46em;
  font-family: var(--font-display);
  font-size: clamp(10px, 0.92vw, 13px);
  font-weight: 400;
  letter-spacing: var(--ls);
  text-transform: uppercase;
  color: #8a4a1f;
}
.hero-tagline span {
  display: block;
  width: clamp(38px, 5vw, 78px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 79, 33, 0.75));
}
.hero-tagline span:last-child {
  background: linear-gradient(90deg, rgba(139, 79, 33, 0.75), transparent);
  margin-left: calc(var(--ls) * -1); /* compensa o espaço depois da última letra, para centralizar */
}

.hero h1 {
  margin: 26px 0 16px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 2.55vw, 2.6rem);
  line-height: 1.14;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #b87c44;
  text-wrap: balance;
}

.hero h1 strong {
  display: block;
  margin-top: 2px;
  font-weight: 600;
  font-size: 1.16em;
  letter-spacing: 0.005em;
  background: linear-gradient(178deg, #bb7d42 0%, #9a5527 42%, #7c3f15 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  max-width: 540px;
  margin: 0;
  font-size: clamp(15px, 1.12vw, 17.5px);
  line-height: 1.7;
  color: #6b5140;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}
.hero-tagline,
.hero h1,
.hero-text,
.hero-actions {
  position: relative;
  z-index: 2;
}

.hero-media {
  position: absolute;
  top: 0;
  right: calc((100vw - 100%) / -2);
  z-index: 1;
  width: min(90vw, 1700px);
  pointer-events: none;
}
.hero-media picture { display: block; }
.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(1.03) contrast(1.01);
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 4;
  height: 140px;
  pointer-events: none;
}
.hero-wave svg { display: block; width: 100%; height: 100%; }

/* ==========================================================================
   Features
   ========================================================================== */

.features {
  position: relative;
  z-index: 5;
  padding: 6px 0 30px;
  background: var(--cream-2);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 18px 22px;
}

.feature + .feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: rgba(139, 86, 44, 0.18);
}

.feature-icon {
  width: 46px;
  height: 46px;
  color: #a4672f;
  stroke-width: 1.15;
}

.feature h3 {
  margin: 0 0 1px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5a3922;
}

.feature p {
  margin: 0;
  font-size: 12.5px;
  color: #7c6553;
}

/* ==========================================================================
   Section headings
   ========================================================================== */

.section { position: relative; }

.section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head--left {
  margin: 0 0 26px;
  text-align: left;
}

.eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #a46a34;
}

.eyebrow--left { text-align: left; }

.section-title {
  position: relative;
  margin: 0;
  padding-bottom: 18px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.35vw, 2.35rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: #b1804f;
  text-wrap: balance;
}

.section-title strong {
  font-weight: 600;
  background: linear-gradient(178deg, #b1723a 0%, #8e4c1f 55%, #71360f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 46px;
  height: 2px;
  background: linear-gradient(90deg, rgba(165, 102, 47, 0), #a5662f 45%, rgba(165, 102, 47, 0));
  transform: translateX(-50%);
}

.section-head--left .section-title::after {
  left: 0;
  transform: none;
  background: linear-gradient(90deg, #a5662f, rgba(165, 102, 47, 0));
}

.section-sub {
  max-width: 580px;
  margin: 8px auto 0;
  font-size: 14.5px;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.section-head--left .section-sub { margin-left: 0; }

/* ==========================================================================
   Products
   ========================================================================== */

.products {
  padding: 78px 0 92px;
  background: linear-gradient(180deg, #f7eee4 0%, #f4e8da 100%);
}

.products .section-head { margin-bottom: 42px; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  text-align: left;
  border: 1px solid rgba(139, 86, 44, 0.16);
  border-radius: 14px;
  background: var(--white-warm);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.product-card .thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e8d8c6;
}

.product-card .thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.product-card .thumb--full-image img {
  object-fit: contain;
  background: #fff;
}

.product-card:hover {
  transform: translateY(-7px);
  border-color: rgba(165, 102, 47, 0.42);
  box-shadow: var(--shadow-md);
}
.product-card:hover .thumb img { transform: scale(1.06); }
.product-card:hover .thumb--full-image img { transform: none; }

.product-body {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 16px 16px 19px;
}

.product-body > .icon {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: #a5662f;
  stroke-width: 1.4;
}

.product-title {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-transform: uppercase;
  color: #57361f;
}

.product-desc {
  display: block;
  font-size: 11.8px;
  line-height: 1.45;
  color: #7c6553;
}

/* ==========================================================================
   About
   ========================================================================== */

.about {
  padding: 112px 0 118px;
  background: var(--cream-2);
  overflow: hidden;
}

.about-glow {
  position: absolute;
  width: 620px;
  height: 620px;
  left: -260px;
  top: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 144, 85, 0.16), transparent 68%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1fr);
  gap: clamp(50px, 7vw, 100px);
  align-items: center;
}

.about-media {
  position: relative;
  padding: 0 30px 40px 0;
}

.about-media-main {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  background: #e7d5c1;
}
.about-media-main img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-media-inset {
  position: absolute;
  right: -12px;
  bottom: 0;
  width: 47%;
  overflow: hidden;
  border: 7px solid var(--cream-2);
  border-radius: 18px;
  background: var(--cream-2);
  box-shadow: var(--shadow-md);
}
.about-media-inset img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 11px;
}
.about-media-inset span {
  display: block;
  padding: 9px 4px 4px;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a5a32;
}

.about-badge {
  position: absolute;
  top: 26px;
  left: -24px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 14px 16px;
  border: 1px solid rgba(139, 86, 44, 0.18);
  border-radius: 14px;
  background: rgba(253, 248, 241, 0.94);
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.about-badge-num {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 600;
  line-height: 1;
  color: #9a5527;
}
.about-badge-label {
  font-size: 10.5px;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: #7c6553;
}

.about-copy > p {
  max-width: 570px;
  margin: 0 0 15px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13.8px;
  line-height: 1.5;
  color: #5f4532;
}

.check-list .icon {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  color: #a5662f;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 36px 0 32px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.stat-value {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2vw, 1.95rem);
  font-weight: 500;
  line-height: 1.1;
  color: #8e4c1f;
}
.stat-star {
  width: 15px;
  height: 15px;
  margin-left: 1px;
  color: #c08a4b;
  fill: currentColor;
  stroke-width: 1;
}
.stat-label {
  display: block;
  margin-top: 5px;
  font-size: 10.8px;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: #85705f;
}

.about-cta { margin-top: 4px; }

/* ==========================================================================
   Process
   ========================================================================== */

.process {
  padding: 108px 0 116px;
  background:
    radial-gradient(ellipse 55% 60% at 50% 0%, rgba(255, 244, 230, 0.9), transparent 70%),
    linear-gradient(180deg, #f3e4d2 0%, #f7eee4 100%);
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 58px;
}

.steps::before {
  content: "";
  position: absolute;
  top: 43px;
  left: 9%;
  right: 9%;
  border-top: 1px dashed rgba(150, 95, 50, 0.32);
}

.step {
  position: relative;
  z-index: 1;
  padding: 0 8px;
  text-align: center;
}

.step-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
  border: 1px solid rgba(139, 86, 44, 0.2);
  border-radius: 50%;
  background: linear-gradient(165deg, #fdf8f1, #f6ead9);
  box-shadow: 0 14px 34px rgba(110, 66, 30, 0.1), inset 0 1px 0 #fff;
  color: #a5662f;
}
.step-icon > .icon { width: 32px; height: 32px; stroke-width: 1.25; }

.step-num {
  position: absolute;
  right: -8px;
  bottom: -4px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(160deg, #a86a34, #7c3f15);
  color: #fbf2e5;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 14px rgba(113, 54, 15, 0.25);
}

.step h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #57361f;
}

.step p {
  max-width: 270px;
  margin: 0 auto;
  font-size: 13.2px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.process-cta { margin-top: 52px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery {
  padding: 108px 0 116px;
  background: var(--cream-2);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin: -10px 0 34px;
}

.filter {
  padding: 9px 18px;
  border: 1px solid rgba(139, 86, 44, 0.26);
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #714a2d;
  transition: all 0.25s var(--ease);
}
.filter:hover { border-color: rgba(139, 86, 44, 0.55); background: rgba(255, 250, 243, 0.6); }
.filter.is-active {
  border-color: transparent;
  background: linear-gradient(160deg, #a86a34, #7c3f15);
  color: #fdf6ec;
  box-shadow: 0 8px 18px rgba(113, 54, 15, 0.2);
}

.gallery-grid { columns: 4; column-gap: 18px; transition: opacity 0.16s ease; }
.gallery-grid.is-updating { opacity: 0.42; }

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
  overflow: hidden;
  break-inside: avoid;
  border: 1px solid rgba(139, 86, 44, 0.12);
  border-radius: 14px;
  background: #e8d8c6;
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.gallery-item.is-hidden { display: none; }
.gallery-item img {
  display: block;
  width: 100%;
  transition: transform 0.8s var(--ease), filter 0.4s var(--ease);
}
.gallery-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.gallery-item:hover img { transform: scale(1.03); filter: brightness(0.92); }

.gallery-collection { cursor: pointer; }
.collection-mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 3px;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #ead8c2;
}
.collection-mosaic img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  background: #ead8c2;
}
.collection-count {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 9px;
  border: 1px solid rgba(255, 245, 232, 0.28);
  border-radius: 999px;
  background: rgba(54, 34, 20, 0.62);
  color: #fff7ec;
  font-size: 10px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(5px);
}
.gallery-collection .gallery-caption { gap: 5px; }
.gallery-collection .gallery-caption strong { max-width: 26ch; }
.gallery-collection-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
  color: #f1d2a8;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.gallery-collection:hover .gallery-collection-cta,
.gallery-collection:focus-visible .gallery-collection-cta { opacity: 1; transform: none; }
.gallery-collection::after { content: none; }

.gallery-caption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 46px 16px 15px;
  background: linear-gradient(transparent, rgba(43, 24, 11, 0.82));
  color: #fdf6ec;
  text-align: left;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.gallery-item:hover .gallery-caption,
.gallery-item:focus-visible .gallery-caption { opacity: 1; transform: none; }
.gallery-item::after { content:"⌕"; position:absolute; right:12px; top:12px; width:34px; height:34px; display:grid; place-items:center; border-radius:50%; background:rgba(38,25,14,.58); color:#fff; font-size:23px; opacity:0; transition:opacity .22s ease; }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity:1; }
.gallery-more-wrap { display:flex; justify-content:center; margin-top:24px; }
.gallery-more-wrap [hidden] { display:none; }
@media (hover:none) {
  .gallery-caption { opacity:1; transform:none; padding-top:34px; }
  .gallery-item::after { opacity:1; width:28px; height:28px; }
  .gallery-collection .gallery-collection-cta { opacity:1; transform:none; }
}

.gallery-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e7c396;
}
.gallery-caption strong {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.gallery-empty {
  margin: 30px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
}

/* Touch devices: show captions */
@media (hover: none) {
  .gallery-caption { opacity: 1; transform: none; }
}

/* ==========================================================================
   Vídeos
   ========================================================================== */

.videos {
  padding: 108px 0 116px;
  background:
    radial-gradient(circle at 12% 8%, rgba(193, 138, 77, 0.1), transparent 42%),
    var(--cream);
}

.video-grid {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  border-radius: var(--radius);
  scrollbar-width: none;
}
.video-grid::-webkit-scrollbar { display: none; }

.video-card {
  flex: none;
  display: flex;
  flex-direction: column;
  width: min(340px, 78vw);
  padding: 0;
  overflow: hidden;
  scroll-snap-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white-warm);
  box-shadow: var(--shadow-sm);
  text-align: left;
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.video-card:hover,
.video-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.video-thumb {
  position: relative;
  display: block;
  aspect-ratio: 9 / 13;
  overflow: hidden;
  background: #2b180b;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), opacity 0.4s var(--ease);
}
.video-card:hover .video-thumb img,
.video-card:focus-visible .video-thumb img {
  transform: scale(1.05);
  opacity: 0.82;
}

.video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 14, 5, 0) 45%, rgba(26, 14, 5, 0.55));
  pointer-events: none;
}

.video-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(253, 246, 236, 0.92);
  color: var(--bronze-deep);
  transform: translate(-50%, -50%);
  box-shadow: 0 14px 30px rgba(26, 14, 5, 0.35);
  transition: transform 0.35s var(--ease), background 0.3s var(--ease);
}
.video-play .icon { width: 24px; height: 24px; margin-left: 3px; }
.video-card:hover .video-play,
.video-card:focus-visible .video-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: #fdf6ec;
}

.video-tag {
  position: absolute;
  z-index: 2;
  left: 16px;
  bottom: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(26, 14, 5, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #f3ddc2;
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.video-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px 20px;
}
.video-info strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.video-info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
  white-space: nowrap;
}
.video-info .icon { width: 14px; height: 14px; }

.videos-note {
  margin: 34px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
}
.videos-note a {
  color: var(--bronze-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Navegação do carrossel */
.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}

.carousel-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--bronze-deep);
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.carousel-btn:hover { background: rgba(255, 250, 243, 0.7); transform: scale(1.05); }
.carousel-btn:disabled { opacity: 0.3; pointer-events: none; }
.carousel-btn .icon { width: 18px; height: 18px; }

.carousel-dots { display: flex; align-items: center; gap: 7px; }

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(139, 86, 44, 0.26);
  cursor: pointer;
  transition: background 0.3s var(--ease), width 0.3s var(--ease);
}
.carousel-dot.is-active {
  width: 24px;
  background: linear-gradient(160deg, #a86a34, #7c3f15);
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  padding: 112px 0 104px;
  background:
    radial-gradient(ellipse 45% 50% at 88% 10%, rgba(255, 240, 220, 0.75), transparent 70%),
    linear-gradient(180deg, var(--cream-2) 0%, #f2e1ce 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(48px, 6vw, 86px);
  align-items: start;
}

.contact-copy > p {
  max-width: 510px;
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border: 1px solid rgba(139, 86, 44, 0.16);
  border-radius: 14px;
  background: rgba(255, 250, 243, 0.55);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease),
    transform 0.3s var(--ease);
}
a.contact-card:hover {
  border-color: rgba(165, 102, 47, 0.45);
  background: rgba(255, 250, 243, 0.9);
  transform: translateY(-2px);
}

.contact-card-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(160deg, rgba(193, 138, 77, 0.22), rgba(165, 102, 47, 0.08));
  color: #9a5527;
}
.contact-card-icon .icon { width: 19px; height: 19px; }
.contact-card > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.contact-card strong {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #704527;
}
.contact-card span span {
  font-size: 12.8px;
  color: #7c6553;
  overflow-wrap: anywhere;
}

.contact-location {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #8a5a32;
}
.contact-location > .icon { width: 22px; height: 22px; }
.contact-location > span { display: flex; flex-direction: column; }
.contact-location strong {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #63402a;
}
.contact-location span span { font-size: 12.5px; color: var(--ink-muted); }

/* Forms */
.form-panel {
  padding: 34px;
  border: 1px solid rgba(139, 86, 44, 0.17);
  border-radius: 22px;
  background: var(--white-warm);
  box-shadow: 0 30px 70px rgba(94, 56, 24, 0.11);
}

.form-title {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #57361f;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
}

.field { display: flex; flex-direction: column; margin-bottom: 15px; }

.field label {
  margin-bottom: 7px;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #704a2e;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(139, 86, 44, 0.24);
  border-radius: 10px;
  background: #fffaf4;
  color: #4a2c1a;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field textarea { resize: vertical; min-height: 96px; }

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a5a32' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 38px;
  cursor: pointer;
}

.field input::placeholder,
.field textarea::placeholder { color: #a99584; }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(139, 86, 44, 0.4); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #a5662f;
  background: #fffdf9;
  box-shadow: 0 0 0 3px rgba(165, 102, 47, 0.14);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #b3452c;
  background: #fff8f5;
}

.field-error {
  display: none;
  margin-top: 6px;
  font-size: 11.5px;
  line-height: 1.4;
  color: #a4381f;
}
.field.has-error .field-error { display: block; }
.field-error.is-visible { display: block; }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 2px 0 6px;
  font-size: 12.2px;
  line-height: 1.45;
  color: var(--ink-soft);
  cursor: pointer;
}
.checkbox input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: #a5662f;
  flex: none;
}
.checkbox-error { margin: -2px 0 8px 26px; }

.form-panel .btn-block,
.quote-form .btn-block { margin-top: 14px; }

.form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 13px 0 0;
  font-size: 11px;
  color: #99826f;
  text-align: center;
}
.form-note .icon { width: 13px; height: 13px; }

/* Success states */
.form-success { padding: 12px 0 4px; text-align: center; }
.form-success h3 {
  margin: 16px 0 8px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: #57361f;
}
.form-success p {
  max-width: 430px;
  margin: 0 auto 22px;
  font-size: 13.8px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.success-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(160deg, #ab6a33, #7c3f15);
  color: #fdf5e9;
  box-shadow: 0 14px 30px rgba(113, 54, 15, 0.25);
  animation: pop 0.45s var(--ease) both;
}
.success-icon .icon { width: 28px; height: 28px; stroke-width: 2; }
@keyframes pop {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.success-small { margin: 14px 0 0 !important; font-size: 12px !important; }
.success-small a { color: #8a4517; text-decoration: underline; text-underline-offset: 2px; }

.link-button {
  margin-top: 18px;
  padding: 4px;
  border: 0;
  background: none;
  font-size: 12.5px;
  color: #8a5a32;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-button:hover { color: #7c3f15; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  position: relative;
  z-index: 2;
  padding-top: 52px;
  background: #3e1f0b;
  color: #ead9c5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 1.15fr;
  gap: clamp(30px, 4vw, 64px);
  padding-bottom: 34px;
}

.footer-brand {
  background: transparent;
  padding: 0;
}

.footer-brand img {
  display: block;
  width: 230px;
  height: auto;
  margin-bottom: 18px;
}
.footer-brand p {
  max-width: 330px;
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: #dcc6b0;
}

.socials { display: flex; gap: 9px; margin-top: 22px; }
.socials a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 235, 210, 0.18);
  border-radius: 50%;
  color: #e8d3bd;
  transition: all 0.25s var(--ease);
}
.socials a:hover {
  border-color: rgba(255, 235, 210, 0.45);
  background: rgba(255, 235, 210, 0.08);
  color: #fff4e6;
  transform: translateY(-2px);
}
.socials .icon { width: 17px; height: 17px; }

.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-col h4 {
  margin: 4px 0 10px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #d9b48c;
}
.footer-col a,
.footer-col button {
  padding: 0;
  border: 0;
  background: none;
  font-size: 13px;
  line-height: 1.5;
  color: #c2ab97;
  text-align: left;
  transition: color 0.2s ease;
}
.footer-col a:hover,
.footer-col button:hover { color: #f3e3d1; }

.footer-contact span,
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.8px;
}
.footer-contact .icon { width: 15px; height: 15px; color: #c08a54; }

.footer-quote {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 9px 16px !important;
  border: 1px solid rgba(231, 195, 150, 0.35) !important;
  border-radius: 999px;
  color: #e7c396 !important;
  font-family: var(--font-display);
  font-size: 10.5px !important;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.25s var(--ease);
}
.footer-quote:hover {
  border-color: rgba(231, 195, 150, 0.7) !important;
  background: rgba(231, 195, 150, 0.08);
  transform: translateY(-2px);
}
.footer-quote .icon { width: 13px; height: 13px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 18px;
  border-top: 1px solid rgba(255, 236, 212, 0.1);
}
.footer-bottom p { margin: 0; font-size: 11.8px; color: #a48b75; }
.footer-tag { display: flex; align-items: center; gap: 7px; letter-spacing: 0.04em; }
.footer-tag .icon { width: 14px; height: 14px; color: #c08a54; }

.footer-bottom .footer-credit { text-align: center; letter-spacing: 0.04em; color: #8f7863; }
.footer-credit a { color: #d9b384; font-weight: 500; transition: color 0.25s var(--ease); }
.footer-credit a:hover { color: #f1d3a8; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .footer-bottom { flex-direction: column; align-items: center; gap: 8px; text-align: center; }
}

/* ==========================================================================
   Mobile menu
   ========================================================================== */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid rgba(139, 86, 44, 0.25);
  border-radius: 50%;
  background: rgba(255, 250, 243, 0.5);
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.6px;
  border-radius: 2px;
  background: #6e4327;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; }

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(40, 22, 8, 0.5);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(390px, 90vw);
  padding: 22px 26px 30px;
  overflow-y: auto;
  background: linear-gradient(170deg, #fbf3e8, #f4e5d4);
  box-shadow: -30px 0 70px rgba(40, 22, 8, 0.3);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}
.mobile-menu.is-open .mobile-menu-panel { transform: none; }

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu-head img { width: auto; height: 40px; }

.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 250, 243, 0.6);
  color: #714a2d;
  transition: background 0.2s ease;
}
.icon-button:hover { background: #fffaf3; }
.icon-button .icon { width: 18px; height: 18px; }

.mobile-nav { display: flex; flex-direction: column; padding: 14px 0 22px; }
.mobile-nav a {
  padding: 12px 2px;
  border-bottom: 1px solid rgba(139, 86, 44, 0.1);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #58371f;
  transition: color 0.2s ease, padding-left 0.25s var(--ease);
}
.mobile-nav a:hover { color: #a5662f; padding-left: 6px; }

.mobile-menu-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.mobile-menu-contact a,
.mobile-menu-contact span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  color: var(--ink-soft);
}
.mobile-menu-contact .icon { width: 15px; height: 15px; color: #a5662f; }
.mobile-menu-contact .icon use[href="#i-whatsapp"] { fill: currentColor; stroke: none; }

.mobile-menu-tagline {
  margin: auto 0 0;
  padding-top: 28px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #a68a72;
}

/* ==========================================================================
   Modals
   ========================================================================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 22px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.28s var(--ease), visibility 0.28s;
}
.modal.is-open { visibility: visible; opacity: 1; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(35, 19, 8, 0.66);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.modal-panel {
  position: relative;
  width: min(640px, 100%);
  max-height: calc(100vh - 44px);
  max-height: calc(100dvh - 44px);
  padding: 34px 34px 30px;
  overflow-y: auto;
  border: 1px solid rgba(255, 240, 220, 0.5);
  border-radius: 22px;
  background: linear-gradient(170deg, #fdf8f1 0%, #f9efe3 100%);
  box-shadow: var(--shadow-lg);
  transform: translateY(18px) scale(0.985);
  transition: transform 0.32s var(--ease);
  scrollbar-width: thin;
  scrollbar-color: #c8a27b transparent;
}
.modal.is-open .modal-panel { transform: none; }

.modal-panel--wide { width: min(920px, 100%); padding: 0; overflow: hidden auto; }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(139, 86, 44, 0.2);
  border-radius: 50%;
  background: rgba(255, 250, 243, 0.85);
  color: #714a2d;
  transition: background 0.2s ease, transform 0.2s ease;
}
.modal-close:hover { background: #fff; transform: rotate(90deg); }
.modal-close .icon { width: 18px; height: 18px; }

.modal-head { padding-right: 36px; }
.modal-head h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #9a5527;
}
.modal-head h2 strong {
  font-weight: 600;
  background: linear-gradient(178deg, #b1723a, #71360f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.modal-head p:last-child {
  margin: 0 0 22px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* Quote form inside modal */
.quote-form .field { margin-bottom: 14px; }
.quote-form .checkbox { margin-bottom: 4px; }

/* Product modal */
.product-modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.product-modal-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 26px 22px;
  background: #f6ede2;
}
.product-modal-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 14px 34px rgba(87, 54, 31, 0.14);
}
.product-modal-tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(38, 20, 8, 0.72);
  color: #f2dfc6;
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.product-modal-body { padding: 38px 34px 32px; }
.product-modal-body h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 500;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: #57361f;
}
.product-modal-desc {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.check-list--sm { gap: 8px; margin-top: 0; }
.check-list--sm li { font-size: 13px; }

.product-modal-info {
  display: grid;
  gap: 8px;
  margin: 22px 0;
  padding: 15px 16px;
  border: 1px solid rgba(139, 86, 44, 0.15);
  border-radius: 12px;
  background: rgba(255, 250, 243, 0.6);
  font-size: 12.5px;
  color: #6f5544;
}
.product-modal-info span { display: flex; align-items: center; gap: 8px; }
.product-modal-info .icon { width: 16px; height: 16px; color: #a5662f; }
.product-modal-info strong { font-weight: 600; color: #57361f; }

.product-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   Lightbox
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 84px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.lightbox.is-open { visibility: visible; opacity: 1; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 14, 5, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.lightbox-figure {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
}

.lightbox-figure img {
  display: block;
  max-width: min(1000px, 100%);
  max-height: calc(100vh - 190px);
  max-height: calc(100dvh - 190px);
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
  transition: opacity 0.2s ease;
}
.lightbox-figure img.is-loading { opacity: 0.25; }
.lightbox.has-thumbnails .lightbox-figure img { max-height: calc(100dvh - 300px); }

.lightbox-figure figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  color: #f0e0cd;
}
.lightbox-figure figcaption strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.lightbox-figure figcaption > span#lightboxDescription { flex-basis:100%; color:rgba(255,255,255,.76); font-size:13px; }
.lightbox-quote { position:fixed; left:50%; bottom:22px; z-index:3; transform:translateX(-50%); padding:11px 18px; border:1px solid rgba(231,195,150,.5); border-radius:999px; background:#9a5527; color:#fff8ef; font-size:12px; font-weight:600; }
.lightbox-count {
  margin-left: 6px;
  padding-left: 14px;
  border-left: 1px solid rgba(240, 224, 205, 0.25);
  font-size: 11.5px;
  color: #b9a28c;
}

.lightbox-thumbnails {
  position: absolute;
  left: 50%;
  bottom: 76px;
  z-index: 4;
  display: flex;
  gap: 8px;
  width: min(760px, calc(100vw - 150px));
  padding: 8px 4px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  transform: translateX(-50%);
  scrollbar-width: thin;
  scrollbar-color: rgba(231, 195, 150, 0.65) transparent;
}
.lightbox-thumbnails[hidden] { display: none; }
.lightbox-thumbnail {
  flex: 0 0 56px;
  width: 56px;
  height: 70px;
  padding: 3px;
  overflow: hidden;
  border: 1px solid rgba(242, 223, 200, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0.62;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.lightbox-thumbnail img { display: block; width: 100%; height: 100%; object-fit: contain; }
.lightbox-thumbnail[aria-current="true"] { border-color: #e7c396; opacity: 1; transform: translateY(-2px); }
.lightbox-thumbnail:hover { opacity: 1; }

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 24px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(242, 223, 200, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #f5e7d5;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.14); transform: rotate(90deg); }
.lightbox-close .icon { width: 20px; height: 20px; }

.lightbox-nav {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: none;
  border: 1px solid rgba(242, 223, 200, 0.25);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #f5e7d5;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.13); }
.lightbox-nav .icon { width: 22px; height: 22px; }
.lightbox-prev { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-next { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) translateX(-3px); }
.lightbox-next:hover { transform: translateY(-50%) translateX(3px); }

/* ==========================================================================
   Vídeo (modal)
   ========================================================================== */

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 32px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.video-modal.is-open { visibility: visible; opacity: 1; }

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 14, 5, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.video-modal-panel {
  position: relative;
  z-index: 2;
  width: min(960px, 100%);
  overflow: hidden;
  border-radius: 18px;
  background: #1a0e05;
  box-shadow: var(--shadow-lg);
}

.video-modal-player {
  position: relative;
  width: 100%;
  max-height: 76vh;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.video-modal-player video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.video-modal-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Vídeos gravados na vertical (celular): painel mais estreito e alto */
.video-modal-panel.is-portrait { width: min(520px, 100%); }
.video-modal-panel.is-portrait .video-modal-player { aspect-ratio: 9 / 14; }

@media (max-height: 820px) {
  .video-modal-panel.is-portrait { width: min(420px, 100%); }
}

.video-modal-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px 18px;
  color: #f0e0cd;
}
.video-modal-caption strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.video-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(242, 223, 200, 0.25);
  border-radius: 50%;
  background: rgba(26, 14, 5, 0.55);
  color: #f5e7d5;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, transform 0.2s ease;
}
.video-modal-close:hover { background: rgba(255, 255, 255, 0.16); transform: rotate(90deg); }
.video-modal-close .icon { width: 20px; height: 20px; }

@media (max-width: 760px) {
  .videos { padding: 84px 0 92px; }
  .video-modal { padding: 20px 14px; }
  .video-modal-caption { padding: 12px 14px 14px; }
  .video-grid { gap: 16px; }
  .video-card { width: min(240px, 74vw); }
}

/* ==========================================================================
   To top + toast
   ========================================================================== */

.to-top {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 235, 210, 0.25);
  border-radius: 50%;
  background: linear-gradient(160deg, #a5662f, #71360f);
  color: #fdf3e6;
  box-shadow: 0 12px 28px rgba(80, 42, 14, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), visibility 0.3s, transform 0.3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); }
.to-top .icon { width: 19px; height: 19px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 400;
  max-width: min(440px, calc(100% - 40px));
  padding: 13px 20px;
  border: 1px solid rgba(255, 236, 212, 0.25);
  border-radius: 12px;
  background: rgba(48, 27, 11, 0.96);
  color: #f6e7d4;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
  box-shadow: 0 18px 40px rgba(20, 10, 2, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 16px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ==========================================================================
   Reveal animations
   ========================================================================== */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* stagger inside grids */
.products-grid .reveal:nth-child(1) { transition-delay: 0.02s; }
.products-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.products-grid .reveal:nth-child(3) { transition-delay: 0.14s; }
.products-grid .reveal:nth-child(4) { transition-delay: 0.2s; }
.products-grid .reveal:nth-child(5) { transition-delay: 0.26s; }
.steps .reveal:nth-child(1) { transition-delay: 0.02s; }
.steps .reveal:nth-child(2) { transition-delay: 0.1s; }
.steps .reveal:nth-child(3) { transition-delay: 0.18s; }
.steps .reveal:nth-child(4) { transition-delay: 0.26s; }
.features .reveal:nth-child(2) { transition-delay: 0.06s; }
.features .reveal:nth-child(3) { transition-delay: 0.12s; }
.features .reveal:nth-child(4) { transition-delay: 0.18s; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1240px) {
  :root { --gutter: 38px; }
  .main-nav { gap: 20px; }
  .hero-brand { --brand-w: clamp(340px, 46vw, 640px); }
  .hero-media { width: 56%; }
  .hero h1 { font-size: clamp(1.85rem, 2.55vw, 2.4rem); }
  .product-title { font-size: 11.6px; }
  .product-desc { font-size: 11.2px; }
}

/* Em notebooks, mantenha a fotografia no lado direito sem atravessar o bloco de texto. */
@media (min-width: 1081px) and (max-width: 1799px) {
  .hero-copy { width: 44%; }
  .hero-brand { --brand-w: clamp(320px, 42vw, 560px); }
  .hero-media {
    width: min(70vw, 1120px);
    right: calc((100vw - 100%) / -2);
  }
  .hero h1 { font-size: clamp(1.8rem, 2.35vw, 2.35rem); }
  .hero-actions { gap: 12px; }
}

@media (min-width: 1800px) {
  .hero-media {
    width: min(70vw, 1344px);
    right: calc((100vw - 100%) / -2);
  }
}

@media (max-width: 1080px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { display: block; }
  .hero-copy { width: 100%; max-width: 620px; }
  .hero-media {
    position: relative;
    top: auto;
    bottom: auto;
    right: auto;
    width: min(640px, 100%);
    height: auto;
    overflow: visible;
    margin: 34px 0 0 auto;
  }
  .hero-media picture { height: auto; }
  .hero-media img {
    width: 100%;
    height: auto;
    max-width: 100%;
    margin-left: 0;
  }
  .hero-brand { --brand-w: min(620px, 94%); }
  .hero-tagline { --ls: 0.32em; }
  .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .about-grid { gap: 54px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 10px; }
}

@media (max-width: 900px) {
  :root { --gutter: 28px; }

  .site-header { padding: 16px 0; }
  .site-header.is-scrolled { padding: 10px 0; }
  .brand img { height: 44px; }
  .is-scrolled .brand img { height: 38px; }
  .btn-header { display: none; }

  .hero { padding-top: 118px; padding-bottom: 120px; }
  .hero-brand { --brand-w: min(520px, 94%); }
  .hero-tagline { margin-top: 18px; font-size: 10px; --ls: 0.32em; gap: 12px; }
  .hero h1 { font-size: clamp(1.85rem, 5vw, 2.5rem); }
  .hero-text { font-size: 15.5px; max-width: 520px; }
  .hero-actions { margin-top: 26px; }
  .hero-ribbon--top { opacity: 0.4; }
  .hero-ribbon--bottom { display: none; }
  .hero-wave { height: 100px; }

  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 0; }
  .feature { justify-content: flex-start; padding: 14px 16px; }
  .feature:nth-child(2n)::before { display: block; }
  .feature:nth-child(2n+1)::before { display: none; }
  .feature:nth-child(n+3) { border-top: 1px solid rgba(139, 86, 44, 0.12); }

  .products { padding: 64px 0 74px; }
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-body { padding: 14px 14px 17px; }

  .about { padding: 82px 0 90px; }
  .about-grid { grid-template-columns: 1fr; gap: 64px; }
  .about-media { max-width: 500px; width: 100%; margin-inline: auto; padding-right: 26px; }
  .about-copy { max-width: 620px; }
  .about-badge { left: -14px; }

  .process { padding: 82px 0 90px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px 20px; margin-top: 46px; }
  .steps::before { display: none; }
  .step p { max-width: 300px; }

  .gallery { padding: 82px 0 90px; }
  .gallery-grid { columns: 3; }

  .contact { padding: 82px 0 84px; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-cards { max-width: 560px; }
  .form-panel { padding: 28px; }

  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
  .footer-contact { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
  .footer-contact h4 { width: 100%; margin-bottom: 2px; }
  .footer-contact .footer-quote { margin-left: auto; }

}

@media (max-width: 720px) {
  .section-head { margin-bottom: 38px; }
  .section-title { font-size: clamp(1.5rem, 4.6vw, 1.9rem); }
  .section-sub { font-size: 13.5px; }

  .products-grid { gap: 14px; }
  .product-title { font-size: 11.8px; }
  .product-desc { font-size: 11.5px; }

  .steps { grid-template-columns: 1fr; gap: 32px; }
  /* icone a esquerda; titulo e texto empilhados a direita */
  .step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "icon title" "icon text";
    align-items: start;
    column-gap: 18px;
    row-gap: 6px;
    text-align: left;
    padding: 0;
  }
  .step-icon { grid-area: icon; width: 68px; height: 68px; margin: 0; flex: none; }
  .step-icon > .icon { width: 26px; height: 26px; }
  .step h3 { grid-area: title; margin: 0; }
  .step p { grid-area: text; margin: 0; max-width: none; }

  .gallery-grid { columns: 1; column-gap: 14px; }
  .gallery-item { margin-bottom: 14px; }
  .filters { gap: 7px; margin-bottom: 26px; }
  .filter { padding: 8px 14px; font-size: 10.5px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { flex-direction: column; align-items: flex-start; gap: 9px; }
  .footer-contact .footer-quote { margin-left: 0; margin-top: 6px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  .modal { padding: 14px; }
  .modal-panel { padding: 28px 22px 24px; border-radius: 18px; max-height: calc(100dvh - 28px); }
  .modal-close { top: 12px; right: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .product-modal-grid { grid-template-columns: minmax(0, 1fr); }
  .product-modal-media { padding: 18px 16px; min-width: 0; }
  .product-modal-body { padding: 26px 22px 24px; min-width: 0; }
  .product-modal-media img { max-width: 100%; }
  /* Botoes dos popups: tamanho normal, centralizados e empilhados */
  .product-modal-actions { flex-direction: column; align-items: center; gap: 12px; }
  .product-modal-actions .btn {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    padding: 12px 14px;
    font-size: 10.5px;
    letter-spacing: 0.03em;
    gap: 8px;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }
  .product-modal-actions .btn-circle { display: none; }
  #quoteModal .btn-block { width: auto; max-width: 100%; margin-inline: auto; }
  .success-actions { flex-direction: column; align-items: center; }
  .success-actions .btn { flex: 0 0 auto; width: auto; max-width: 100%; }

  .lightbox { padding: 70px 16px 96px; }
  .lightbox-figure img { max-height: calc(100dvh - 210px); }
  .lightbox.has-thumbnails { padding-bottom: 160px; }
  .lightbox.has-thumbnails .lightbox-figure img { max-height: calc(100dvh - 290px); }
  .lightbox-thumbnails { bottom: 74px; width: calc(100vw - 28px); gap: 7px; padding-inline: 2px; }
  .lightbox-thumbnail { flex-basis: 48px; width: 48px; height: 60px; }
  .lightbox-prev { left: 10px; top: auto; bottom: 24px; transform: none; }
  .lightbox-next { right: 10px; top: auto; bottom: 24px; transform: none; }
  .lightbox-prev:hover, .lightbox-next:hover { transform: none; }
  .lightbox-figure figcaption { flex-wrap: wrap; justify-content: center; margin-top: 12px; }
  .lightbox-count { border-left: 0; margin-left: 0; padding-left: 0; }
  .lightbox-close { top: 14px; right: 14px; }

  /* Botao "Solicitar algo semelhante": compacto, 1 linha e centralizado */
  .lightbox-quote {
    bottom: 26px;
    width: max-content;
    max-width: calc(100vw - 132px);
    padding: 10px 16px;
    font-size: 10.5px;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-align: center;
    white-space: normal;
  }
}

@media (max-width: 560px) {
  :root { --gutter: 20px; }

  .hero { padding-top: 106px; padding-bottom: 100px; }
  .hero-brand { --brand-w: min(400px, 96%); }
  .hero-tagline { font-size: 8.4px; --ls: 0.24em; gap: 9px; }
  .hero-tagline span { width: 30px; }
  .hero h1 { font-size: clamp(1.65rem, 7.4vw, 2rem); margin-top: 22px; }
  .hero-text { font-size: 14.5px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn {
    flex: 1 1 100%;
    min-width: 0;
    max-width: 100%;
    gap: 10px;
    padding-inline: 16px 12px;
    font-size: clamp(9px, 2.8vw, 11.5px);
    letter-spacing: 0.07em;
    white-space: normal;
  }
  .hero-actions .btn-circle { flex: 0 0 34px; }
  .hero-media { margin-top: 28px; margin-bottom: -20px; }
  .hero-wave { height: 74px; }

  /* Celular: logo -> foto -> texto -> botoes (as versoes maiores seguem iguais) */
  .hero-inner { display: flex; flex-direction: column; }
  .hero-copy { display: contents; }
  .hero-brand { order: 1; }
  .hero-media { order: 2; margin-top: 22px; margin-bottom: 0; }
  .hero-copy h1 { order: 3; }
  .hero-text { order: 4; }
  .hero-actions { order: 5; margin-top: 24px; }

  .features-grid { grid-template-columns: 1fr; }
  .feature { justify-content: flex-start; padding: 13px 4px; }
  .feature + .feature::before { left: 4px; right: 4px; top: 0; bottom: auto; width: auto; height: 1px; }
  .feature:nth-child(2n+1)::before { display: block; }
  .feature:nth-child(2n)::before { display: block; }
  .feature:nth-child(n+3) { border-top: 0; }
  .feature-icon { width: 38px; height: 38px; }

  .products-grid { grid-template-columns: 1fr; }
  .products-grid .product-card { display: grid; grid-template-columns: 40% 1fr; }
  .products-grid .thumb { aspect-ratio: auto; min-height: 120px; }
  .product-body { align-items: center; padding: 14px 16px; }
  .product-title { font-size: 12px; }
  .product-desc { font-size: 11.5px; }

  .about { padding: 66px 0 72px; }
  .about-grid { gap: 52px; }
  /* Paragrafos do Sobre: quebra natural (sem linhas de tamanhos irregulares) */
  .about-copy > p { text-wrap: auto; }
  .about-media { padding: 0 18px 36px 0; }
  .about-media-inset { width: 52%; right: 0; }
  .about-badge { left: -8px; padding: 11px 14px; }
  .about-badge-num { font-size: 22px; }
  .about-badge-label { font-size: 9.5px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .about-cta { width: auto; margin-top: 22px; }

  .process, .gallery, .contact { padding: 66px 0 72px; }
  .step { column-gap: 14px; }
  .step-icon { width: 58px; height: 58px; }
  .step-icon > .icon { width: 22px; height: 22px; }
  .step-num { width: 24px; height: 24px; font-size: 9px; }

  .gallery-caption { opacity: 1; transform: none; }

  /* "Quer ver seu projeto virando video?" com o link virando botao abaixo */
  .videos-note {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 26px;
    font-size: 13.5px;
    line-height: 1.6;
  }
  .videos-note a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border: 1px solid rgba(137, 79, 35, 0.42);
    border-radius: 999px;
    background: rgba(255, 250, 244, 0.35);
    font-family: var(--font-display);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
  }
  .videos-note-dot { display: none; }

  .contact-cards { grid-template-columns: 1fr; }
  .form-panel { padding: 22px 18px; border-radius: 18px; }
  .form-title { font-size: 18px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { text-align: left; }

  .success-actions .btn { width: auto; }
}

/* ==========================================================================
   Reduced motion / print
   ========================================================================== */

@media (max-width: 400px) {
  .gallery-grid { columns: 1; }

  /* botao longo do "Como funciona" caber em telas de 360px */
  .process-cta .btn {
    width: 100%;
    padding-left: 16px;
    padding-right: 10px;
    font-size: 11.5px;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery-grid { transition: none; }
  .gallery-grid.is-updating { opacity: 1; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero-ribbon { display: none; }
}

@media print {
  .site-header, .mobile-menu, .to-top, .modal, .lightbox, .toast, .hero-media, .hero-bg { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .products, .about, .process, .gallery, .contact, .features { background: #fff !important; padding: 20px 0; }
  .js .reveal { opacity: 1; transform: none; }
  a { text-decoration: underline; }
}

/* ==========================================================================
   Botão flutuante do WhatsApp
   ========================================================================== */

.whats-chat { position:fixed; right:22px; bottom:96px; z-index:91; width:min(360px,calc(100vw - 32px)); overflow:hidden; border:1px solid rgba(47,209,107,.3); border-radius:16px; background:#fff; box-shadow:0 18px 48px rgba(28,47,35,.2); }
.whats-chat[hidden] { display:none; }
.whats-chat-head { display:flex; align-items:center; gap:12px; padding:14px; border-top:5px solid #20bf5a; border-bottom:1px solid #e5f4e9; }
.whats-chat-head img { width:42px; height:28px; object-fit:contain; }
.whats-chat-head div { display:grid; gap:3px; flex:1; color:#283c33; }
.whats-chat-head strong { font-size:14px; }
.whats-chat-head span { color:#23944d; font-size:12px; }
.whats-chat-close { border:0; background:transparent; color:#728078; font-size:24px; cursor:pointer; }
.whats-chat-body { padding:14px; background:#f5fbf7; }
.whats-bubble { margin:0 0 10px; padding:12px; max-width:92%; border-radius:12px; background:#eaf7ee; color:#3e5948; font-size:14px; line-height:1.45; }
.whats-typing { display:flex; align-items:center; gap:5px; margin:0; color:#83988a; font-size:12px; }
.whats-typing i { width:6px; height:6px; border-radius:50%; background:#7bd99b; }
.whats-chat-cta { display:block; padding:14px; background:#20bf5a; color:white; text-align:center; font-weight:600; }
.whats-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(160deg, #2fd16b, #1da851);
  color: #fff;
  box-shadow: none;
  filter: none;
  transition: transform 0.3s var(--ease);
}
.whats-float::before,
.whats-float::after { content: none; display: none; }
.whats-float:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: -5px;
}
.whats-float:hover { transform: translateY(-3px) scale(1.05); }
.whats-float .icon { width: 32px; height: 32px; fill: currentColor; stroke: none; }
.whats-float use { fill: currentColor; stroke: none; }

@keyframes whats-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .whats-float::after { animation: none; } }
@media (max-width: 640px) {
  .whats-chat { right:16px; bottom:84px; }
  .whats-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .to-top { left: 16px; bottom: 16px; }
}

@media (max-width: 390px) {
  #sobre { scroll-margin-top: 78px; }
  .about .check-list { padding-inline: 0 68px; }
  .about-copy { margin-top: 28px; padding-bottom: 96px; }
  .to-top { left: auto; right: 16px; bottom: 82px; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq {
  padding: 100px 0 108px;
  background: linear-gradient(180deg, #f9f1e6 0%, var(--cream-2) 100%);
}

.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(253, 248, 241, 0.85);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.faq-item[open] { border-color: var(--line-strong); box-shadow: var(--shadow-md); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; border-radius: 14px; }

.faq-icon {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 1.5px;
  background: var(--bronze);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-answer { padding: 0 22px 20px; }
.faq-answer p { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--ink-soft); }

.faq-cta { margin-top: 34px; text-align: center; }
.faq-cta p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.faq-cta a {
  color: var(--bronze-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(139, 86, 44, 0.38);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.faq-cta a:hover { color: #a5662f; text-decoration-color: currentColor; }
.faq-cta a:focus-visible { outline: 2px solid #a5662f; outline-offset: 3px; border-radius: 2px; }

@media (max-width: 640px) {
  .faq { padding: 72px 0 80px; }
  .faq-item summary { padding: 16px 18px; font-size: 14.5px; }
  .faq-answer { padding: 0 18px 18px; }
}
