/* ============================================================
   MARMORARIA AMARANTES — Caraguatatuba/SP
   main.css — Sistema de design (paleta, tipografia, layout,
   header/menu, curvas, cards com movimento, seções, footer,
   responsivo mobile-first, acessibilidade)
   ============================================================ */

/* 1. VARIÁVEIS / TOKENS */
:root {
  /* Paleta principal */
  --grafite: #2F2F2F;
  --grafite-900: #1f1f1f;
  --grafite-700: #3a3a3a;
  --bege: #D9C7A0;
  --bege-claro: #efe6d3;
  --esmeralda: #046D5D;
  --esmeralda-escuro: #034a40;
  --dourado: #C9A646;
  --dourado-claro: #e0c877;
  --vinho: #6A1B1A;

  /* Neutros */
  --branco: #ffffff;
  --off-white: #fbf9f5;
  --cinza-suave: #f4f1ea;
  --texto: #2F2F2F;
  --texto-suave: #5b5b5b;
  --borda: rgba(47, 47, 47, 0.12);

  /* Overlays (aplicados via CSS sobre imagens de IA) */
  --overlay-servico: rgba(4, 109, 93, 0.70);   /* #046D5D 70% */
  --overlay-pedra: rgba(217, 199, 160, 0.70);   /* #D9C7A0 70% */

  /* Tipografia */
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Escala tipográfica base */
  --h1: 38px;
  --h2: 28px;
  --h3: 22px;

  /* Espaçamento e curvas */
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 42px;
  --curve: 60px;

  /* Sombras */
  --shadow-sm: 0 4px 14px rgba(31, 31, 31, 0.08);
  --shadow: 0 14px 40px rgba(31, 31, 31, 0.14);
  --shadow-lg: 0 26px 60px rgba(31, 31, 31, 0.22);
  --shadow-gold: 0 18px 40px rgba(201, 166, 70, 0.28);

  /* Layout */
  --container: 1180px;
  --header-h: 92px;

  /* Transições */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.45s var(--ease);
}

/* 2. RESET / BASE */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--texto);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }
:focus-visible {
  outline: 3px solid var(--dourado);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--esmeralda); color: #fff; }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--grafite);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

/* 3. TIPOGRAFIA */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--grafite);
  letter-spacing: -0.01em;
}
h1 { font-size: var(--h1); font-weight: 700; }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
h4 { font-size: 19px; font-family: var(--font-sans); font-weight: 600; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--grafite); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--esmeralda);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--dourado);
  display: inline-block;
}
.eyebrow--light { color: var(--dourado-claro); }
.eyebrow--center { justify-content: center; }

.section-title { margin-bottom: 12px; }
.section-title .accent { color: var(--esmeralda); font-style: italic; }
.lead {
  font-size: 20px;
  color: var(--texto-suave);
  max-width: 60ch;
}
.text-serif-italic { font-family: var(--font-serif); font-style: italic; }

/* 4. LAYOUT / CONTAINERS / UTILITÁRIOS */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--wide { max-width: 1320px; }
.container--narrow { max-width: 820px; }

.section { position: relative; padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--grafite { background: var(--grafite); color: #e9e6df; }
.section--grafite h1, .section--grafite h2, .section--grafite h3 { color: #fff; }
.section--bege { background: var(--bege-claro); }
.section--cream { background: var(--cinza-suave); }
.bg-pattern { position: relative; }

.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* Centraliza os itens órfãos da última linha (ex.: 5 pedras em 3 colunas) */
.grid--center { display: flex; flex-wrap: wrap; justify-content: center; }
.grid--center > * { flex: 0 1 calc((100% - 56px) / 3); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.header-block { max-width: 720px; margin-bottom: 48px; }
.header-block--center { margin-inline: auto; text-align: center; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.40s; }

/* 5. ELEMENTOS DECORATIVOS (curvas, blobs, divisores) */
.blob {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 46% 54% 62% 38% / 52% 44% 56% 48%;
  filter: blur(2px);
  opacity: 0.5;
  animation: blobFloat 16s var(--ease) infinite alternate;
}
.blob--gold { background: radial-gradient(circle at 30% 30%, var(--dourado-claro), transparent 70%); }
.blob--green { background: radial-gradient(circle at 30% 30%, var(--esmeralda), transparent 72%); }
.blob--sand { background: radial-gradient(circle at 30% 30%, var(--bege), transparent 72%); }
@keyframes blobFloat {
  0% { transform: translate(0,0) rotate(0deg) scale(1); border-radius: 46% 54% 62% 38% / 52% 44% 56% 48%; }
  100% { transform: translate(24px,-30px) rotate(18deg) scale(1.08); border-radius: 58% 42% 40% 60% / 44% 58% 42% 56%; }
}

/* Divisor de onda (curvas entre seções) */
.wave-divider { position: relative; line-height: 0; z-index: 1; }
.wave-divider svg { width: 100%; height: clamp(48px, 7vw, 92px); display: block; }
.wave-top { margin-bottom: -1px; }
.wave-bottom { margin-top: -1px; }

/* Cantos com curva pronunciada em blocos */
.curvy { border-radius: var(--radius-lg); overflow: hidden; }
.curvy-xl { border-radius: var(--radius-xl); overflow: hidden; }
.curvy-organic { border-radius: 44% 56% 70% 30% / 44% 42% 58% 56%; overflow: hidden; }

/* Selo "Desde 2014" inspirado no banner */
.badge-since {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--vinho);
  color: #fff;
  border: 3px solid var(--dourado);
  box-shadow: var(--shadow);
  font-family: var(--font-sans);
  text-align: center;
  line-height: 1;
}
.badge-since span:first-child { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.85; }
.badge-since span:nth-child(2) { font-size: 26px; font-weight: 700; }
.badge-since span:last-child { font-size: 11px; color: var(--dourado-claro); letter-spacing: 2px; }

hr.rule {
  border: none;
  height: 3px;
  width: 66px;
  background: linear-gradient(90deg, var(--dourado), var(--esmeralda));
  border-radius: 3px;
  margin: 18px 0;
}
.rule--center { margin-inline: auto; }

/* 6. BOTÕES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 15px 30px;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  will-change: transform;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn--primary { background: var(--esmeralda); color: #fff; box-shadow: 0 12px 28px rgba(4,109,93,0.30); }
.btn--primary:hover { background: var(--esmeralda-escuro); box-shadow: 0 18px 40px rgba(4,109,93,0.42); }

.btn--gold { background: var(--dourado); color: var(--grafite-900); box-shadow: var(--shadow-gold); }
.btn--gold:hover { background: var(--dourado-claro); }

.btn--whats { background: #25D366; color: #073b25; box-shadow: 0 12px 28px rgba(37,211,102,0.34); }
.btn--whats:hover { background: #1eb958; }

.btn--outline { background: transparent; color: var(--grafite); border: 2px solid var(--grafite); }
.btn--outline:hover { background: var(--grafite); color: #fff; }

.btn--ghost-light { background: rgba(255,255,255,0.12); color: #fff; border: 1.5px solid rgba(255,255,255,0.5); backdrop-filter: blur(4px); }
.btn--ghost-light:hover { background: #fff; color: var(--grafite); }

.btn--lg { padding: 18px 40px; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row--center { justify-content: center; }

/* 7. TOPBAR + HEADER + NAV + SUBMENU */

/* Topbar informativa */
.topbar {
  background: var(--grafite-900);
  color: #d9d4c9;
  font-family: var(--font-sans);
  font-size: 13px;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 40px;
  padding-block: 6px;
}
.topbar a { display: inline-flex; align-items: center; gap: 7px; transition: color 0.3s; }
.topbar a:hover { color: var(--dourado-claro); }
.topbar svg { width: 15px; height: 15px; color: var(--dourado); flex-shrink: 0; }
.topbar__group { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__socials { display: flex; gap: 12px; }
.topbar__socials a { color: #d9d4c9; }

/* Header principal */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251, 249, 245, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--borda);
  transition: box-shadow 0.4s, background 0.4s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); background: rgba(251,249,245,0.96); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 58px; height: 58px; border-radius: 50%; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-serif); font-weight: 700; font-size: 21px; color: var(--grafite); letter-spacing: 0.02em; }
.brand__tag { font-family: var(--font-sans); font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--esmeralda); }

/* Navegação desktop */
.nav { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 14px;            /* menu desktop 14px condensada */
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-stretch: 90%;
  color: var(--grafite);
  padding: 12px 15px;
  border-radius: 999px;
  transition: color 0.3s, background 0.3s;
}
.nav__link:hover, .nav__item:hover > .nav__link, .nav__link[aria-current="page"] { color: var(--esmeralda); }
.nav__link[aria-current="page"] { background: rgba(4,109,93,0.08); }
.nav__link .caret { width: 14px; height: 14px; transition: transform 0.35s var(--ease); }
.nav__item:hover .nav__link .caret, .nav__item:focus-within .nav__link .caret { transform: rotate(180deg); }

/* Indicador (sublinhado dourado animado) */
.nav__link::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 6px;
  height: 2px;
  background: var(--dourado);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
  border-radius: 2px;
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.has-submenu > .nav__link::after { display: none; }

/* Submenu vertical com ícones */
.submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  min-width: 300px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--borda);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  z-index: 1200;
}
.submenu::before {
  content: "";
  position: absolute;
  top: -7px; left: 50%;
  width: 14px; height: 14px;
  background: #fff;
  border-left: 1px solid var(--borda);
  border-top: 1px solid var(--borda);
  transform: translateX(-50%) rotate(45deg);
}
.nav__item:hover > .submenu,
.nav__item:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.submenu__link {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 14px;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--grafite);
  transition: background 0.28s, color 0.28s, transform 0.28s;
}
.submenu__link:hover { background: var(--cinza-suave); color: var(--esmeralda); transform: translateX(5px); }
.submenu__icon {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: rgba(4,109,93,0.10);
  color: var(--esmeralda);
  flex-shrink: 0;
  transition: background 0.28s, color 0.28s;
}
.submenu--pedras .submenu__icon { background: rgba(201,166,70,0.16); color: var(--dourado); }
.submenu__link:hover .submenu__icon { background: var(--esmeralda); color: #fff; }
.submenu--pedras .submenu__link:hover .submenu__icon { background: var(--dourado); color: #fff; }
.submenu__icon svg { width: 20px; height: 20px; }
.submenu__label { display: flex; flex-direction: column; line-height: 1.2; }
.submenu__label small { font-size: 11.5px; color: var(--texto-suave); font-weight: 400; text-transform: none; letter-spacing: 0; }
.submenu__heading {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--texto-suave);
  padding: 6px 14px 8px;
}

/* Botão hambúrguer */
.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--grafite);
  position: relative;
  z-index: 1300;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 22px; height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.nav-toggle span { transform: translate(-50%,-50%); }
.nav-toggle span::before { transform: translate(-50%,-8px); left: 50%; }
.nav-toggle span::after { transform: translate(-50%,8px); left: 50%; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translate(-50%,0) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translate(-50%,0) rotate(-45deg); }

.nav-cta { margin-left: 8px; }

/* 8. HERO / BANNERS */

/* Hero da Home — usa os banners fornecidos (com texto), sem sobreposição */
.hero-banner { position: relative; background: var(--grafite); }
.hero-banner picture, .hero-banner img { width: 100%; height: auto; display: block; }
/* Banner desktop x mobile controlados por <picture> (art direction) */

/* Hero interno (páginas) — curvo, com título */
.page-hero {
  position: relative;
  padding-block: clamp(56px, 9vw, 116px);
  background: var(--grafite);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(4,109,93,0.55), transparent 46%),
    radial-gradient(circle at 12% 92%, rgba(106,27,26,0.42), transparent 42%);
  z-index: -1;
}
.page-hero .blob { opacity: 0.32; }
.page-hero__inner { max-width: 760px; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 5vw, 46px); }
.page-hero p { color: rgba(255,255,255,0.82); font-size: 19px; margin-top: 12px; }

/* Onda dourada na base do hero interno */
.page-hero .wave-bottom { position: absolute; left: 0; right: 0; bottom: 0; }

/* Home hero fallback content strip abaixo do banner */
.hero-strip {
  background: linear-gradient(90deg, var(--esmeralda), var(--esmeralda-escuro));
  color: #fff;
}
.hero-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-block: 16px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
}
.hero-strip__inner strong { color: var(--dourado-claro); font-style: normal; }

/* 9. CARDS (com efeito de movimento no hover) */

/* Card de imagem (serviço / pedra) com overlay colorido */
.tile {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--grafite);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
  isolation: isolate;
  transition: transform var(--transition), box-shadow var(--transition);
  will-change: transform;
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
  z-index: 0;
}
/* Overlay de cor: serviços (verde 70%), pedras (bege 70%) */
.tile__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: opacity var(--transition);
}
.tile--servico .tile__overlay {
  background: linear-gradient(180deg, rgba(4,109,93,0.55), var(--overlay-servico));
}
.tile--pedra .tile__overlay {
  background: linear-gradient(180deg, rgba(217,199,160,0.55), var(--overlay-pedra));
}
.tile__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #fff;
}
.tile--pedra .tile__content { color: var(--grafite-900); }
.tile__icon {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 14px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(3px);
  margin-bottom: auto;
  transition: transform var(--transition), background var(--transition);
}
.tile--pedra .tile__icon { background: rgba(47,47,47,0.14); }
.tile__icon svg { width: 26px; height: 26px; }
.tile__title { font-family: var(--font-serif); font-size: 25px; font-weight: 600; margin-bottom: 4px; }
.tile__desc { font-family: var(--font-sans); font-size: 14px; opacity: 0.92; max-width: 34ch; }
.tile__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 14px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition);
}
.tile__cta svg { width: 16px; height: 16px; transition: transform 0.3s; }

/* Movimento no hover */
.tile:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.tile:hover img { transform: scale(1.08); }
.tile:hover .tile__overlay { opacity: 0.9; }
.tile:hover .tile__icon { transform: translateY(-4px) rotate(-6deg); background: var(--dourado); color: var(--grafite-900); }
.tile:hover .tile__cta { opacity: 1; transform: none; }
.tile:hover .tile__cta svg { transform: translateX(4px); }

/* Card de conteúdo (diferenciais / info) com tilt 3D suave via JS */
.card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--borda);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  will-change: transform;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--esmeralda), var(--dourado));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(4,109,93,0.12), rgba(201,166,70,0.14));
  color: var(--esmeralda);
  margin-bottom: 18px;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}
.card:hover .card__icon { transform: rotate(-8deg) scale(1.06); background: var(--esmeralda); color: #fff; }
.card__icon svg { width: 30px; height: 30px; }
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card p { font-size: 15.5px; color: var(--texto-suave); }

/* Card com brilho que segue o mouse (glow) */
.card--glow { --mx: 50%; --my: 50%; }
.card--glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(220px circle at var(--mx) var(--my), rgba(201,166,70,0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.card--glow:hover::after { opacity: 1; }

/* Grade de miniaturas (galeria) */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.gallery__item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.gallery__item:hover img { transform: scale(1.1); }

/* 10. SEÇÕES DE CONTEÚDO */
.media-figure {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.media-figure img { width: 100%; height: 100%; object-fit: cover; }
.media-figure--framed { border: 6px solid #fff; }
.media-figure .badge-since { position: absolute; top: 20px; left: 20px; z-index: 3; }

.stat-row { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 8px; }
.stat { flex: 1 1 120px; }
.stat__num { font-family: var(--font-serif); font-size: 46px; font-weight: 700; color: var(--esmeralda); line-height: 1; }
.stat__num .plus { color: var(--dourado); }
.stat__label { font-family: var(--font-sans); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--texto-suave); margin-top: 6px; }

/* Barras de progresso (Qualidade 100% etc.) */
.progress-list { display: grid; gap: 18px; margin-top: 8px; }
.progress__head { display: flex; justify-content: space-between; font-family: var(--font-sans); font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 7px; }
.progress__track { height: 9px; background: rgba(47,47,47,0.10); border-radius: 999px; overflow: hidden; }
.section--grafite .progress__track { background: rgba(255,255,255,0.14); }
.progress__fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--esmeralda), var(--dourado)); transition: width 1.4s var(--ease); }

/* Lista de checagem/benefícios */
.check-list { display: grid; gap: 14px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; }
.check-list .ic {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(4,109,93,0.12);
  color: var(--esmeralda);
  margin-top: 3px;
}
.check-list .ic svg { width: 15px; height: 15px; }

/* Faixa CTA */
.cta-band {
  position: relative;
  background: linear-gradient(120deg, var(--grafite-900), var(--esmeralda-escuro));
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(36px, 6vw, 64px);
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(201,166,70,0.30), transparent 45%);
  z-index: -1;
}
.cta-band h2 { color: #fff; font-size: clamp(26px, 4vw, 38px); }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 56ch; margin-inline: auto; }

/* 11. DIFERENCIAIS */
.diferenciais { position: relative; }
.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.diff {
  position: relative;
  text-align: center;
  padding: 34px 22px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--borda);
  transition: transform var(--transition), box-shadow var(--transition);
}
.diff:hover { transform: translateY(-8px) scale(1.02); box-shadow: var(--shadow); }
.diff__ring {
  position: relative;
  display: grid; place-items: center;
  width: 76px; height: 76px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--cinza-suave);
  color: var(--esmeralda);
  transition: transform var(--transition), background var(--transition), color var(--transition);
}
.diff__ring::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed var(--dourado);
  opacity: 0;
  transition: opacity var(--transition), transform 0.8s var(--ease);
}
.diff:hover .diff__ring { background: var(--esmeralda); color: #fff; transform: rotate(6deg); }
.diff:hover .diff__ring::before { opacity: 1; transform: rotate(120deg); }
.diff__ring svg { width: 34px; height: 34px; }
.diff h3 { font-size: 20px; margin-bottom: 6px; }
.diff p { font-size: 14.5px; color: var(--texto-suave); }

/* 12. FLUXO DE ATENDIMENTO (timeline) */
.flow { position: relative; display: grid; gap: 26px; }
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.flow-step {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  border: 1px solid var(--borda);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
}
.flow-step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.flow-step__num {
  font-family: var(--font-serif);
  font-size: 58px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--dourado);
  opacity: 0.7;
  position: absolute;
  top: 14px; right: 20px;
}
.flow-step__badge {
  display: grid; place-items: center;
  width: 54px; height: 54px;
  border-radius: 15px;
  background: rgba(4,109,93,0.10);
  color: var(--esmeralda);
  margin-bottom: 16px;
  transition: transform var(--transition);
}
.flow-step:hover .flow-step__badge { transform: rotate(-8deg) scale(1.05); }
.flow-step__badge svg { width: 27px; height: 27px; }
.flow-step h3 { font-size: 20px; margin-bottom: 6px; }
.flow-step p { font-size: 14.5px; color: var(--texto-suave); }

/* 13. DEPOIMENTOS */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 28px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--borda);
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.testimonial__quote {
  font-family: var(--font-serif);
  font-size: 64px;
  line-height: 0.6;
  color: var(--dourado);
  opacity: 0.45;
  height: 30px;
}
.testimonial__stars { display: flex; gap: 3px; color: var(--dourado); margin-bottom: 12px; }
.testimonial__stars svg { width: 18px; height: 18px; }
.testimonial p { font-size: 16px; color: var(--texto); font-style: italic; }
.testimonial__author { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.testimonial__avatar {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--esmeralda), var(--dourado));
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 17px;
  flex-shrink: 0;
}
.testimonial__meta strong { display: block; font-family: var(--font-sans); font-size: 15px; }
.testimonial__meta small { color: var(--texto-suave); font-size: 13px; }

/* 14. BREADCRUMB */
.breadcrumb {
  font-family: var(--font-sans);
  font-size: 13.5px;
}
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb a { color: rgba(255,255,255,0.72); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--dourado-claro); }
.breadcrumb .sep { color: rgba(255,255,255,0.4); }
.breadcrumb [aria-current="page"] { color: #fff; font-weight: 500; }
/* Variante clara (sobre fundo claro) */
.breadcrumb--dark a { color: var(--texto-suave); }
.breadcrumb--dark a:hover { color: var(--esmeralda); }
.breadcrumb--dark .sep { color: var(--borda); }
.breadcrumb--dark [aria-current="page"] { color: var(--grafite); }

/* 15. PÁGINA DE DETALHE (serviço/pedra) COM OVERLAY */
.detail-hero {
  position: relative;
  min-height: clamp(320px, 46vw, 480px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
.detail-hero__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
/* Overlay de transparência: serviços 70% #046D5D, pedras 70% #D9C7A0 */
.detail-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.detail-hero--servico .detail-hero__overlay {
  background: linear-gradient(180deg, rgba(4,109,93,0.62) 0%, var(--overlay-servico) 55%, rgba(3,74,64,0.86) 100%);
}
.detail-hero--pedra .detail-hero__overlay {
  background: linear-gradient(180deg, rgba(217,199,160,0.60) 0%, var(--overlay-pedra) 55%, rgba(47,47,47,0.55) 100%);
}
.detail-hero--pedra { color: var(--grafite-900); }
.detail-hero__inner { padding-block: clamp(36px, 6vw, 60px); width: 100%; }
.detail-hero h1 { color: inherit; font-size: clamp(30px, 5vw, 46px); }
.detail-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.28);
  padding: 7px 16px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.detail-hero--pedra .detail-hero__tag { background: rgba(47,47,47,0.14); border-color: rgba(47,47,47,0.2); }
.detail-hero__tag svg { width: 16px; height: 16px; }

/* Corpo do artigo */
.prose { font-size: 17px; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; font-family: var(--font-sans); font-weight: 600; font-size: 20px; }
.prose ul { display: grid; gap: 10px; margin: 1rem 0; }
.prose ul li { position: relative; padding-left: 30px; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 16px; height: 16px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--esmeralda), var(--dourado));
}
.prose a { color: var(--esmeralda); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--esmeralda-escuro); }

/* Layout com sidebar */
.detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 22px; }
.sidebar-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--borda);
}
.sidebar-card--dark { background: var(--grafite); color: #e9e6df; }
.sidebar-card--dark h3 { color: #fff; }
.sidebar-card h3 { font-size: 19px; margin-bottom: 14px; font-family: var(--font-sans); }
.sidebar-nav { display: grid; gap: 4px; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px;
  border-radius: 11px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--texto);
  transition: background 0.28s, color 0.28s, transform 0.28s;
}
.sidebar-nav a svg { width: 18px; height: 18px; color: var(--esmeralda); transition: transform 0.28s; }
.sidebar-nav a:hover { background: var(--cinza-suave); color: var(--esmeralda); transform: translateX(4px); }
.sidebar-nav a[aria-current="page"] { background: rgba(4,109,93,0.10); color: var(--esmeralda); font-weight: 600; }

/* Chips de aplicações/materiais */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--cinza-suave);
  border: 1px solid var(--borda);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 500;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.chip:hover { background: var(--esmeralda); color: #fff; transform: translateY(-2px); }
.chip svg { width: 15px; height: 15px; }

/* 16. CONTATO / FORM */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.info-list { display: grid; gap: 18px; }
.info-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 22px;
  border: 1px solid var(--borda);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.info-item:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.info-item__ic {
  flex-shrink: 0;
  display: grid; place-items: center;
  width: 50px; height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--esmeralda), var(--esmeralda-escuro));
  color: #fff;
}
.info-item__ic svg { width: 24px; height: 24px; }
.info-item strong { display: block; font-family: var(--font-sans); font-size: 15px; margin-bottom: 2px; }
.info-item a, .info-item span { color: var(--texto-suave); font-size: 15px; }
.info-item a:hover { color: var(--esmeralda); }

.form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: var(--shadow);
  border: 1px solid var(--borda);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--grafite);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--borda);
  border-radius: 12px;
  background: var(--off-white);
  color: var(--texto);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--esmeralda);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(4,109,93,0.10);
}
.form__note { font-size: 13px; color: var(--texto-suave); margin-top: 10px; }
.form-status { margin-top: 14px; font-size: 14.5px; font-weight: 600; }
.form-status.ok { color: var(--esmeralda); }
.form-status.err { color: var(--vinho); }

/* Mapa */
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 6px solid #fff;
}
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }
.hours-table { width: 100%; font-family: var(--font-sans); font-size: 15px; }
.hours-table td { padding: 8px 0; border-bottom: 1px dashed var(--borda); }
.hours-table td:last-child { text-align: right; font-weight: 600; }

/* 17. FOOTER */
.site-footer { position: relative; background: var(--grafite-900); color: #c9c4ba; overflow: hidden; }
.site-footer::before {
  content: "";
  position: absolute;
  top: -80px; right: -60px;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(4,109,93,0.32), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.footer-main { padding-block: clamp(48px, 7vw, 80px); position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand__logo img { width: 56px; height: 56px; border-radius: 50%; background: #fff; padding: 3px; }
.footer-brand__logo span { font-family: var(--font-serif); font-size: 22px; font-weight: 700; color: #fff; }
.footer-brand p { font-size: 15px; max-width: 34ch; }
.footer-col h4 { color: #fff; font-family: var(--font-sans); font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; background: var(--dourado); }
.footer-links { display: grid; gap: 11px; }
.footer-links a { font-size: 14.5px; color: #c9c4ba; transition: color 0.3s, padding-left 0.3s; }
.footer-links a:hover { color: var(--dourado-claro); padding-left: 6px; }
.footer-contact { display: grid; gap: 13px; }
.footer-contact a, .footer-contact span { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: #c9c4ba; }
.footer-contact svg { width: 18px; height: 18px; color: var(--dourado); flex-shrink: 0; margin-top: 2px; }
.footer-contact a:hover { color: var(--dourado-claro); }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  transition: background 0.3s, transform 0.3s, color 0.3s;
}
.footer-social a:hover { background: var(--dourado); color: var(--grafite-900); transform: translateY(-4px); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-block: 22px;
  position: relative; z-index: 1;
}
.footer-bottom__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
.footer-bottom a:hover { color: var(--dourado-claro); }

/* 18. BOTÃO WHATSAPP FLUTUANTE + VOLTAR AO TOPO */
.float-wa {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 900;
  display: grid; place-items: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 12px 30px rgba(37,211,102,0.45);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.float-wa::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: waPulse 2.4s var(--ease) infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.7); opacity: 0; }
}
.float-wa:hover { transform: scale(1.1); }
.float-wa svg { width: 32px; height: 32px; position: relative; z-index: 1; }

.to-top {
  position: fixed;
  right: 24px; bottom: 92px;
  z-index: 899;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--grafite);
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.35s, transform 0.35s, visibility 0.35s, background 0.3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--esmeralda); }
.to-top svg { width: 22px; height: 22px; }

/* 19. COOKIES / LGPD */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 1500;
  max-width: 720px;
  margin-inline: auto;
  background: var(--grafite-900);
  color: #e9e6df;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  transform: translateY(140%);
  transition: transform 0.5s var(--ease);
}
.cookie-banner.is-visible { transform: none; }
.cookie-banner__text { flex: 1 1 320px; font-size: 14px; line-height: 1.6; }
.cookie-banner__text strong { color: #fff; }
.cookie-banner__text a { color: var(--dourado-claro); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-banner .btn { padding: 12px 22px; font-size: 14px; }

/* 20. 404 */
.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.error-code {
  font-family: var(--font-serif);
  font-size: clamp(120px, 22vw, 220px);
  font-weight: 700;
  line-height: 0.9;
  background: linear-gradient(135deg, var(--esmeralda), var(--dourado));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.error-page p { max-width: 46ch; margin-inline: auto; color: var(--texto-suave); }

/* 21. RESPONSIVO */

/* Tablet */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile: menu vira drawer */
@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .nav-toggle { display: block; }
  .brand img { width: 50px; height: 50px; }
  .brand__name { font-size: 18px; }

  .nav {
    position: fixed;
    top: 0; right: 0;
    width: min(360px, 86vw);
    height: 100dvh;
    background: var(--off-white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: calc(var(--header-h) + 20px) 22px 40px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    overflow-y: auto;
    z-index: 1250;
  }
  body.nav-open .nav { transform: none; }
  body.nav-open { overflow: hidden; }

  .nav__item { width: 100%; }
  .nav__link {
    width: 100%;
    justify-content: space-between;
    font-size: 16px;
    padding: 15px 14px;
    border-radius: 12px;
    border-bottom: 1px solid var(--borda);
    text-transform: none;
    letter-spacing: 0.02em;
  }
  .nav__link::after { display: none; }
  .nav__link .caret { transition: transform 0.35s var(--ease); }

  /* Submenu vira acordeão vertical */
  .submenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 4px 0 8px 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
  }
  .submenu::before { display: none; }
  .nav__item.is-open > .submenu { max-height: 640px; }
  .nav__item.is-open > .nav__link .caret { transform: rotate(180deg); }
  .submenu__heading { padding-left: 6px; }

  .nav-cta { margin: 16px 0 0; }
  .nav-cta .btn { width: 100%; }

  /* Menu overlay backdrop */
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(31,31,31,0.5);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
    z-index: 1240;
  }
  body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }

  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .topbar__group--left { display: none; }
}

/* Mobile pequeno */
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --h1: 30px; --h2: 24px; --h3: 20px; }
  .container { padding-inline: 18px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid--center > * { flex-basis: 100%; }
  .diff-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .lead { font-size: 18px; }
  .hero-strip__inner { font-size: 18px; }
  .cookie-banner { padding: 18px; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1; }
  .btn { width: 100%; }
  .btn-row .btn { width: auto; }
  .to-top { bottom: 84px; right: 18px; }
  .float-wa { right: 18px; bottom: 18px; }
}

/* 22. ACESSIBILIDADE / MOVIMENTO REDUZIDO / IMPRESSÃO */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
[hidden] { display: none !important; }

/* Respeita preferência por menos movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .blob { animation: none; }
}

@media print {
  .site-header, .topbar, .float-wa, .to-top, .cookie-banner, .site-footer, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 12px; }
  a::after { content: " (" attr(href) ")"; font-size: 11px; color: #555; }
}
