/* ==================================================================
   FRAMI BANQUETES — HOME
   Estrutura do arquivo:
   01. Tokens (cores, fontes, medidas)
   02. Base e tipografia
   03. Utilitários (container, botões, ícones, links)
   04. Placeholders de imagem e molduras
   05. Animações de entrada
   06. Cabeçalho e menu
   07. Hero
   08. Serviços
   09. Linha do tempo (fases da família)
   10. Como pedir orçamento
   11. Sobre
   12. Diferenciais
   13. Galeria e lightbox
   14. Localização
   15. FAQ
   16. Contato
   17. Rodapé
   18. WhatsApp flutuante e cookies
   19. Movimento reduzido
   Abordagem mobile-first: estilos base = celular; media queries ampliam.
   ================================================================== */

/* ---------- 01. TOKENS ---------- */
:root {
  --bordo: #5F1B1C;
  --bordo-deep: #4A1415;
  --bordo-ink: #330D0E;
  --olive: #A2A166;
  --olive-deep: #5E5D2C;      /* versão escura do oliva para textos (contraste AA) */
  --olive-soft: #ECEBDD;
  --white: #FFFFFF;
  --paper: #FBFAF8;           /* fundo principal */
  --mist: #F3F1EE;            /* neutro claro para seções alternadas */
  --line: #E3DEDA;
  --ink: #2A2122;             /* texto principal */
  --muted: #5D5354;           /* texto secundário */

  --f-display: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --f-serif: "Cormorant Garamond", "Garamond", Georgia, serif;
  --f-script: "Italianno", "Brush Script MT", cursive;
  --f-sans: "Montserrat", "Segoe UI", Arial, sans-serif;

  --header-h: 72px;
  --gutter: clamp(20px, 5vw, 48px);
  --container: 1240px;
  --section-y: clamp(64px, 8vw, 112px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --shadow: 0 24px 60px -30px rgba(51, 13, 14, .35);
}
@media (min-width: 1024px) { :root { --header-h: 88px; } }

/* ---------- 02. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;           /* fallback */
  overflow-x: clip;             /* evita rolagem horizontal sem quebrar position: sticky */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
::selection { background: var(--bordo); color: var(--white); }
:focus-visible { outline: 2px solid var(--olive-deep); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { margin: 0; font-weight: 500; color: var(--bordo); }
h1, h2 {
  font-family: var(--f-display);
  font-optical-sizing: auto;
  line-height: 1.12;
  letter-spacing: -.012em;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.3rem); }
h3 {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: clamp(1.45rem, 1.25rem + .8vw, 1.85rem);
  line-height: 1.22;
  text-wrap: balance;
}
.lead { font-family: var(--f-serif); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); line-height: 1.5; color: var(--ink); }
.script { font-family: var(--f-script); font-weight: 400; line-height: 1; color: var(--olive-deep); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--bordo); color: var(--white); padding: 12px 18px; border-radius: var(--radius);
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- 03. UTILITÁRIOS ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }

.ico { width: 1.25em; height: 1.25em; flex: none; }
.ico--sm { width: 1em; height: 1em; }

.ornament { width: 30px; height: 38px; color: var(--olive); margin-bottom: 22px; }
.ornament--light { color: var(--olive); margin-inline: auto; }

.section-head { margin-bottom: clamp(48px, 7vw, 88px); }
.section-head__intro { color: var(--muted); font-size: 1.05rem; max-width: 60ch; margin-top: 20px; }
.section-head--center { text-align: center; max-width: 880px; margin-inline: auto; }
.section-head--center .section-head__intro { margin-inline: auto; }
@media (min-width: 900px) {
  .section-head--split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: end; }
  .section-head--split .section-head__intro { margin-top: 0; }
}

/* Botões --------------------------------------------------------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--bordo); --btn-hover: var(--bordo); --btn-hover-fg: var(--white);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  min-height: 52px; padding: .85em 1.6em;
  font-family: var(--f-sans); font-weight: 600; font-size: .92rem; letter-spacing: .02em; line-height: 1.3;
  text-align: center; text-decoration: none;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid transparent; border-radius: 999px;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .25s var(--ease), box-shadow .45s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
/* camada de preenchimento que sobe no hover */
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1;
  background: var(--btn-hover); border-radius: inherit;
  transform: translateY(102%); transition: transform .5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--btn-hover-fg); }
.btn:active { transform: scale(.97); }
.btn .ico--arrow { transition: transform .4s var(--ease); }
.btn:hover .ico--arrow { transform: translateX(4px); }
.btn:hover .ico:not(.ico--arrow) { animation: wiggle .6s var(--ease); }

.btn--primary { --btn-bg: var(--bordo); --btn-fg: var(--white); --btn-hover: var(--bordo-ink); box-shadow: 0 14px 30px -16px rgba(95, 27, 28, .7); }
.btn--ghost { border-color: var(--bordo); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--bordo); --btn-hover: var(--olive); --btn-hover-fg: var(--bordo-ink); }
.btn--sm { min-height: 44px; padding: .6em 1.2em; font-size: .85rem; }
.btn--lg { min-height: 58px; padding: 1em 1.9em; font-size: .95rem; }
.btn--block { width: 100%; }

@keyframes wiggle { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-12deg); } 60% { transform: rotate(8deg); } }

/* Link com seta -------------------------------------------------- */
.link-arrow {
  display: inline-flex; align-items: center; gap: .6em; padding-block: 6px;
  font-weight: 600; font-size: .92rem; color: var(--bordo); text-decoration: none;
  background: linear-gradient(var(--olive), var(--olive)) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease), color .3s;
}
.link-arrow .ico { transition: transform .4s var(--ease); }
.link-arrow:hover { background-size: 100% 1px; color: var(--bordo-ink); }
.link-arrow:hover .ico { transform: translateX(5px); }

.rule { display: block; width: 56px; height: 1px; background: var(--olive); margin-bottom: 22px; transition: width .6s var(--ease); }

/* ---------- 04. PLACEHOLDERS E MOLDURAS ----------
   Cada foto fica dentro de .ph. Enquanto o arquivo real não existir,
   o JavaScript marca a <img> como .is-missing e o placeholder aparece
   com o nome do arquivo esperado. Ao subir a foto com o mesmo nome,
   ela aparece automaticamente — nenhuma alteração de código é necessária. */
.media { margin: 0; position: relative; }
.ph {
  position: relative; display: block; width: 100%; height: 100%; overflow: hidden;
  background-color: var(--mist);
  background-image:
    repeating-linear-gradient(135deg, rgba(162, 161, 102, .09) 0 1px, transparent 1px 14px);
}
.ph::before { /* alcachofra discreta ao centro */
  content: ""; position: absolute; left: 50%; top: 50%; width: 34px; height: 42px;
  transform: translate(-50%, -80%); opacity: .45;
  background: var(--olive);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 80'%3E%3Cpath d='M32 3c6 8 8 16 0 25-8-9-6-17 0-25ZM19 15c8 3 11 13 4 22-9-4-11-14-4-22ZM45 15c-8 3-11 13-4 22 9-4 11-14 4-22ZM32 30c7 6 8 16 0 23-8-7-7-17 0-23ZM11 29c8 2 12 12 6 21-9-3-12-13-6-21ZM53 29c-8 2-12 12-6 21 9-3 12-13 6-21ZM8 50c9-1 18 3 22 10-11 3-19-1-22-10ZM56 50c-9-1-18 3-22 10 11 3 19-1 22-10ZM28.6 61h1.8l-.6 17h-1.4zM31.1 61h1.8l.2 17h-2.2zM33.6 61h1.8l1 17h-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 80'%3E%3Cpath d='M32 3c6 8 8 16 0 25-8-9-6-17 0-25ZM19 15c8 3 11 13 4 22-9-4-11-14-4-22ZM45 15c-8 3-11 13-4 22 9-4 11-14 4-22ZM32 30c7 6 8 16 0 23-8-7-7-17 0-23ZM11 29c8 2 12 12 6 21-9-3-12-13-6-21ZM53 29c-8 2-12 12-6 21 9-3 12-13 6-21ZM8 50c9-1 18 3 22 10-11 3-19-1-22-10ZM56 50c-9-1-18 3-22 10 11 3 19-1 22-10ZM28.6 61h1.8l-.6 17h-1.4zM31.1 61h1.8l.2 17h-2.2zM33.6 61h1.8l1 17h-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ph::after { /* identificação do arquivo esperado */
  content: "Foto: " attr(data-ph) "\A" attr(data-ratio);
  white-space: pre-wrap; position: absolute; left: 50%; top: 50%; width: 86%;
  transform: translate(-50%, 8px); text-align: center;
  font: 500 .7rem/1.5 var(--f-sans); letter-spacing: .02em; color: var(--muted); word-break: break-word;
}
.ph--compact::after { content: "Foto"; }
.ph > img {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
  object-fit: cover; color: transparent; font-size: 0; /* esconde o texto ALT de imagem ausente */
  background: var(--mist);
}
.ph > img.is-missing { visibility: hidden; }
.ph > img[data-parallax] { height: 118%; top: -9%; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }

/* Formas das molduras */
.media--arch .ph { border-radius: 1000px 1000px 0 0; }
.media--round .ph { border-radius: 50%; }
.media--frame::before, .media--frame-left::before { /* contorno oliva deslocado */
  content: ""; position: absolute; inset: 0; border: 1px solid var(--olive);
  transform: translate(14px, 14px); pointer-events: none; transition: transform .8s var(--ease);
}
.media--frame-left::before { transform: translate(-14px, 14px); }
.media--frame:hover::before { transform: translate(8px, 8px); }
.media--ring::after {
  content: ""; position: absolute; width: 38%; aspect-ratio: 1; right: -8%; bottom: -6%;
  border: 1px solid var(--olive); border-radius: 50%; pointer-events: none;
  animation: float 9s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- 05. ANIMAÇÕES DE ENTRADA ----------
   Só ocultamos elementos quando há JavaScript (classe .js no <html>). */
.js [data-reveal]:not([data-reveal="img"]) {
  opacity: 0; transform: translate3d(0, 26px, 0);
  transition: opacity 1s var(--ease-soft), transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal="img"] .ph { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="img"] .ph > img { transform: scale(1.12); transition: transform 1.8s var(--ease); }
.js [data-reveal="img"] .ph > img[data-parallax] { transform: translate3d(0, var(--py, 0px), 0) scale(1.08); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal="img"].is-visible .ph { clip-path: inset(0 0 0 0); }
.js [data-reveal="img"].is-visible .ph > img:not([data-parallax]) { transform: none; }
.js [data-reveal="img"].is-visible .ph > img[data-parallax] { transform: translate3d(0, var(--py, 0px), 0); transition: none; }

/* ---------- 06. CABEÇALHO E MENU ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(251, 250, 248, .0);
  transition: background .4s, box-shadow .4s, height .4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(251, 250, 248, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { flex: none; display: block; margin-right: auto; position: relative; z-index: 2; }
.brand img { height: 46px; width: auto; transition: height .4s var(--ease); }
@media (min-width: 1024px) { .brand img { height: 60px; } .site-header.is-scrolled .brand img { height: 52px; } }

.header__cta { display: none; }
@media (min-width: 640px) { .header__cta { display: inline-flex; } }

/* Botão hambúrguer */
.burger {
  position: relative; z-index: 2; width: 48px; height: 48px; flex: none;
  display: grid; place-content: center; gap: 6px;
  background: none; border: 1px solid var(--line); border-radius: 50%;
}
.burger span { display: block; width: 20px; height: 1.5px; background: var(--bordo); transition: transform .4s var(--ease), opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Menu — versão mobile (painel em tela cheia) */
.nav {
  position: fixed; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  background: var(--paper);
  overflow-y: auto; overscroll-behavior: contain;
  visibility: hidden; opacity: 0; transform: translateY(-12px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s .45s;
}
.nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.nav__list { list-style: none; }
.nav__list > li { border-bottom: 1px solid var(--line); }
.nav__link {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 16px 0; background: none; border: 0;
  font-family: var(--f-serif); font-size: 1.85rem; font-weight: 500; color: var(--bordo); text-decoration: none; text-align: left;
}
.nav__sub-toggle .ico { transition: transform .35s var(--ease); color: var(--olive-deep); }
.nav__sub-toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
.nav__sub { list-style: none; display: block; max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.nav__item--sub.is-open .nav__sub { max-height: 320px; }
.nav__sub a {
  display: block; padding: 10px 0 10px 18px; border-left: 1px solid var(--olive);
  font-size: 1rem; font-weight: 500; color: var(--ink); text-decoration: none;
}
.nav__sub li:last-child a { margin-bottom: 16px; }
.nav__sub a:hover { color: var(--bordo); }
.nav__mobile-extra { margin-top: 36px; }
.nav__mobile-info { margin-top: 18px; text-align: center; font-size: .9rem; color: var(--muted); }
.nav__mobile-info a { color: var(--bordo); font-weight: 600; }
.nav-open { overflow: hidden; }
.nav-open .site-header { background: var(--paper); box-shadow: none; }
/* Itens do menu entram em sequência */
.nav .nav__list > li, .nav .nav__mobile-extra { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.nav.is-open .nav__list > li, .nav.is-open .nav__mobile-extra { opacity: 1; transform: none; }
.nav.is-open .nav__list > li:nth-child(2) { transition-delay: .05s; }
.nav.is-open .nav__list > li:nth-child(3) { transition-delay: .1s; }
.nav.is-open .nav__list > li:nth-child(4) { transition-delay: .15s; }
.nav.is-open .nav__mobile-extra { transition-delay: .2s; }

/* Menu — versão desktop */
@media (min-width: 1024px) {
  .burger { display: none; }
  .nav {
    position: static; inset: auto; padding: 0; background: none; overflow: visible;
    visibility: visible; opacity: 1; transform: none; transition: none;
    flex-direction: row; margin-right: 8px;
  }
  .nav .nav__list > li { opacity: 1; transform: none; }
  .nav__mobile-extra { display: none; }
  .nav__list { display: flex; align-items: center; gap: 6px; }
  .nav__list > li { border: 0; position: relative; }
  .nav__link {
    padding: 10px 14px; font-family: var(--f-sans); font-size: .9rem; font-weight: 500; color: var(--ink);
    position: relative; gap: 6px;
  }
  .nav__link::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
    background: var(--olive); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
  }
  .nav__link:hover, .nav__link[aria-current="page"] { color: var(--bordo); }
  .nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
  .nav__sub-toggle::after { right: 32px; }
  /* dropdown */
  .nav__sub {
    position: absolute; top: calc(100% + 8px); left: -8px; min-width: 300px; max-height: none;
    padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 6px;
    box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* ponte para o hover */
  .nav__item--sub:hover .nav__sub, .nav__item--sub:focus-within .nav__sub, .nav__item--sub.is-open .nav__sub {
    opacity: 1; visibility: visible; transform: none; transition-delay: 0s; max-height: none;
  }
  .nav__item--sub:hover .nav__sub-toggle .ico { transform: rotate(180deg); }
  .nav__sub a { border: 0; padding: 11px 14px; border-radius: 4px; font-size: .9rem; transition: background .25s, color .25s, padding .3s var(--ease); }
  .nav__sub li:last-child a { margin-bottom: 0; }
  .nav__sub a:hover { background: var(--olive-soft); color: var(--bordo); padding-left: 20px; }
}

/* ---------- 07. HERO ---------- */
.hero { position: relative; padding: 24px 0 clamp(72px, 9vw, 120px); overflow: hidden; overflow: clip; }
.hero__panel { /* bloco neutro atrás da foto (desktop) */
  position: absolute; right: 0; top: 0; bottom: 0; width: 34%; background: var(--mist); display: none;
}
.hero__grid { display: grid; gap: 56px; position: relative; }
.hero__eyebrow { position: relative; display: inline-block; margin-bottom: 10px; }
.hero__eyebrow .script { font-size: 2.6rem; }
.hero__eyebrow-swash { position: absolute; left: 4px; bottom: -6px; width: 150px; height: 28px; color: var(--olive); }
.hero__title { font-size: clamp(2.45rem, 1.5rem + 4.4vw, 4.6rem); font-weight: 500; line-height: 1.06; }
.hero__title .accent { font-style: italic; font-weight: 400; color: var(--bordo-deep); }
.hero__lead { margin-top: 26px; max-width: 34em; font-size: 1.05rem; color: var(--muted); }
.hero__actions { display: flex; flex-direction: column; gap: 14px; margin-top: 34px; }
.hero__actions .btn { width: 100%; }
.hero__support {
  margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center;
  font-size: .85rem; font-weight: 500; color: var(--olive-deep); letter-spacing: .02em;
}
.hero__support .sep { color: var(--olive); font-size: 1.4em; line-height: 1; }

.hero__visual { position: relative; width: calc(100% - 18px); max-width: 520px; justify-self: center; }
.hero__media .ph { aspect-ratio: 4 / 5; }
.hero__outline {
  position: absolute; inset: 0; transform: translate(18px, 18px);
  border: 1px solid var(--olive); border-radius: 1000px 1000px 0 0; pointer-events: none;
}
.seal {
  position: absolute; left: -14px; bottom: 28px; z-index: 3;
  width: 112px; aspect-ratio: 1; border-radius: 50%; background: var(--white);
  box-shadow: var(--shadow); display: grid; place-items: center;
}
.seal__ring { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 38s linear infinite; }
.seal__ring text { font-family: var(--f-sans); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; fill: var(--bordo); }
.seal__art { width: 28px; height: 35px; color: var(--olive); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__swash {
  position: absolute; left: -2%; bottom: 10px; width: 64%; height: 90px; color: var(--olive); opacity: .55;
  stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 3.2s .6s var(--ease) forwards; pointer-events: none;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (min-width: 640px) {
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .hero__actions .btn { width: auto; }
  .seal { width: 140px; left: -40px; }
  .seal__art { width: 34px; height: 42px; }
}
@media (min-width: 1024px) {
  .hero { padding-top: 40px; min-height: min(calc(100svh - var(--header-h)), 860px); display: flex; align-items: center; }
  .hero__panel { display: block; }
  .hero__grid { grid-template-columns: 1.08fr .92fr; gap: clamp(48px, 6vw, 96px); align-items: center; }
  .hero__visual { justify-self: end; width: min(100%, 500px); }
  .hero__media .ph { aspect-ratio: auto; height: min(74vh, 640px); }
  .hero__outline { transform: translate(22px, 22px); }
  .seal { left: -70px; bottom: 56px; }
  .hero__swash { width: 46%; }
}

/* ---------- 08. SERVIÇOS ---------- */
.servicos { background: var(--white); }
.servico { display: flex; flex-direction: column; gap: 34px; }
.servico + .servico { margin-top: clamp(72px, 10vw, 140px); }
.servico__media .ph { aspect-ratio: 6 / 5; }
.servico--2 .servico__media .ph { aspect-ratio: 16 / 10; }
.servico--3 .servico__media .ph { aspect-ratio: 10 / 11; }
.servico__media { width: calc(100% - 14px); }
.servico__body p { color: var(--muted); margin-top: 14px; }
.servico__body .link-arrow { margin-top: 18px; }
.servico:hover .rule { width: 96px; }

@media (min-width: 900px) {
  .servico { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 28px; align-items: center; }
  .servico__media { width: auto; }
  .servico--1 .servico__media { grid-column: 1 / 7; }
  .servico--1 .servico__body { grid-column: 8 / 12; }
  .servico--2 .servico__media { grid-column: 5 / 13; grid-row: 1; }
  .servico--2 .servico__body { grid-column: 1 / 6; grid-row: 1; }
  .servico__body--panel {
    position: relative; z-index: 2; background: var(--white); padding: 52px 48px;
    box-shadow: var(--shadow); border-top: 2px solid var(--bordo);
  }
  .servico--3 .servico__media { grid-column: 2 / 7; }
  .servico--3 .servico__body { grid-column: 8 / 12; }
}

/* ---------- 09. LINHA DO TEMPO ---------- */
.fases { background: var(--bordo); color: rgba(255, 255, 255, .86); overflow: hidden; overflow: clip; }
.fases h2 { color: var(--white); }
.fases .section-head__intro { color: rgba(255, 255, 255, .8); font-family: var(--f-serif); font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); line-height: 1.55; max-width: 44em; }
.fases__bg-art { position: absolute; right: -80px; top: 60px; width: 340px; height: 425px; color: rgba(255, 255, 255, .035); pointer-events: none; }

.timeline { position: relative; --progress: 0; }
.timeline__track { position: absolute; left: 11px; top: 8px; bottom: 0; width: 1px; background: rgba(255, 255, 255, .2); }
.timeline__fill { position: absolute; inset: 0; background: var(--olive); transform-origin: top; transform: scaleY(var(--progress)); }
.timeline__list { list-style: none; position: relative; }

.milestone { position: relative; padding: 0 0 52px 52px; }
.milestone:last-child { padding-bottom: 0; }
.milestone__node {
  position: absolute; left: 2px; top: 6px; width: 19px; height: 19px; border-radius: 50%;
  border: 1px solid var(--olive); background: var(--bordo);
  transition: background .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
}
.milestone__node::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--olive); transform: scale(0); transition: transform .5s var(--ease); }
.milestone.is-reached .milestone__node::after { transform: scale(1); }
.milestone.is-current .milestone__node { box-shadow: 0 0 0 7px rgba(162, 161, 102, .22); transform: scale(1.15); }

.milestone__title { color: var(--white); font-weight: 500; }
.milestone__title a { display: block; text-decoration: none; color: inherit; }
.milestone__name { display: block; font-family: var(--f-display); font-size: clamp(1.7rem, 1.4rem + 1vw, 2.1rem); line-height: 1.1; }
.milestone__sep { /* travessão do texto original, exibido como fio */
  display: block; width: 32px; height: 1px; margin: 12px 0; background: var(--olive); color: transparent; overflow: hidden; font-size: 0;
}
.milestone__desc { font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: 1.25rem; color: rgba(255, 255, 255, .85); }
.milestone__title .ico { display: inline-block; vertical-align: middle; margin-left: 6px; color: var(--olive); width: 18px; height: 18px; transition: transform .4s var(--ease); }
.milestone__title a:hover .ico, .milestone__title a:focus-visible .ico { transform: translateX(5px); }
.milestone__title a:hover .milestone__desc { color: var(--white); }

.milestone__media { margin-top: 20px; width: min(100%, 300px); }
.milestone__media .ph { aspect-ratio: 4 / 5; background-color: rgba(255, 255, 255, .06); background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 14px); }
.milestone__media .ph::after { color: rgba(255, 255, 255, .7); }
.milestone__media .ph > img { background: var(--bordo-deep); transition: transform .9s var(--ease); }
.milestone__media { transition: transform .6s var(--ease), filter .6s; }
.milestone:hover .milestone__media .ph > img { transform: scale(1.06); }

.fases__cta { margin-top: clamp(56px, 7vw, 88px); text-align: center; }
.fases__cta .btn { max-width: 100%; white-space: normal; }

@media (min-width: 1024px) {
  /* Linha horizontal no topo; abaixo de cada marco: título, frase e foto.
     subgrid alinha títulos e fotos das 5 colunas na mesma altura. */
  .timeline { --node: 56px; }
  .timeline__track { left: 0; right: 0; top: calc(var(--node) / 2); bottom: auto; width: auto; height: 1px; }
  .timeline__fill { transform-origin: left; transform: scaleX(var(--progress)); }
  .timeline__list { display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: var(--node) auto auto; column-gap: 8px; }
  .milestone {
    grid-row: span 3; display: grid; grid-template-rows: subgrid;
    justify-items: center; text-align: center; padding: 0 10px;
  }
  .milestone__node { position: relative; left: auto; top: auto; grid-row: 1; align-self: center; }
  .milestone__title { grid-row: 2; align-self: start; padding-top: 22px; }
  .milestone__media { grid-row: 3; align-self: start; margin: 26px 0 0; width: min(100%, 210px); }
  .milestone__sep { margin: 12px auto; }
  .milestone:hover .milestone__media, .milestone.is-current .milestone__media { transform: translateY(-6px); }
}

/* ---------- 10. COMO PEDIR ORÇAMENTO ---------- */
.passos { background: var(--paper); }
.passos__wrap { position: relative; }
.passos__line { display: none; }
.passos__list { list-style: none; display: grid; gap: 44px; position: relative; }
.passos__list::before { /* fio vertical que conecta as etapas no mobile */
  content: ""; position: absolute; left: 35px; top: 40px; bottom: 40px; width: 1px;
  background: repeating-linear-gradient(to bottom, var(--olive) 0 6px, transparent 6px 12px);
}
.passo { position: relative; padding-left: 100px; min-height: 72px; }
.passo__icon {
  position: absolute; left: 0; top: 0; width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center; background: var(--white); border: 1px solid var(--olive); color: var(--bordo);
  transition: background .5s var(--ease), color .5s var(--ease), transform .6s var(--ease);
}
.passo__icon svg { width: 36px; height: 36px; }
.passo:hover .passo__icon { background: var(--bordo); color: var(--white); }
.passo h3 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.6rem); }
.passo p { color: var(--muted); margin-top: 10px; }
.passos__cta { margin-top: 56px; text-align: center; }

@media (min-width: 900px) {
  .passos__list { grid-template-columns: repeat(3, 1fr); gap: 56px; }
  .passos__list::before { display: none; }
  .passo { padding: 0; text-align: center; }
  .passo__icon { position: relative; margin: 0 auto 28px; width: 88px; height: 88px; z-index: 1; }
  .passo__icon svg { width: 42px; height: 42px; }
  .passos__line {
    display: block; position: absolute; left: 0; right: 0; top: 14px; width: 100%; height: 60px;
    fill: none; stroke: var(--olive); stroke-width: 1.2; stroke-dasharray: 5 7; overflow: visible;
  }
}

/* ---------- 11. SOBRE ---------- */
.sobre { background: var(--white); }
.sobre__intro { display: grid; gap: 52px; }
.sobre__head .lead { margin-top: 26px; }
.sobre__kitchen { margin-left: 14px; }
.sobre__kitchen .ph { aspect-ratio: 7 / 5; }

.historia {
  margin-top: clamp(64px, 9vw, 120px); padding: clamp(32px, 5vw, 56px) 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: grid; gap: 22px;
}
.historia__trail { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; font-family: var(--f-serif); font-style: italic; font-size: 1.15rem; color: var(--olive-deep); }
.historia__trail li { display: flex; align-items: center; }
.historia__trail li + li::before { content: ""; width: 28px; height: 1px; background: var(--olive); margin: 0 12px; }
.historia p { color: var(--muted); max-width: 62ch; }

.fundadora { margin-top: clamp(64px, 9vw, 120px); display: grid; gap: 40px; align-items: center; }
.fundadora__media { width: min(100%, 440px); }
.fundadora__media .ph { aspect-ratio: 3 / 4; }
.fundadora__media::before { /* fio oliva em arco atrás do retrato */
  content: ""; position: absolute; inset: -14px; border: 1px solid var(--olive);
  border-radius: 1000px 1000px 0 0; border-bottom: 0; pointer-events: none;
}
.fundadora__body h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); line-height: 1.1; }
.fundadora__text {
  margin-top: 24px; font-family: var(--f-serif); font-size: clamp(1.35rem, 1.15rem + .9vw, 1.9rem); line-height: 1.45; color: var(--ink);
  padding-left: 22px; border-left: 2px solid var(--olive);
}
.fundadora__signature { display: block; margin-top: 22px; font-size: clamp(3rem, 2.4rem + 2vw, 4.2rem); color: var(--bordo); opacity: .85; }

.sobre__grid { margin-top: clamp(64px, 9vw, 120px); display: grid; gap: 0; border-top: 1px solid var(--line); }
.pessoa, .info-block { padding: 36px 0; border-bottom: 1px solid var(--line); }
.pessoa { display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: start; }
.pessoa__media { width: 96px; }
.pessoa__media .ph { aspect-ratio: 1; }
.pessoa p, .info-block p { color: var(--muted); margin-top: 10px; }
.info-block h3::before { content: ""; display: block; width: 28px; height: 1px; background: var(--olive); margin-bottom: 16px; }

@media (min-width: 900px) {
  .sobre__intro { grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
  .historia { grid-template-columns: 1fr 1.6fr; gap: 24px 64px; align-items: start; }
  .historia h3 { grid-row: span 2; }
  .fundadora { grid-template-columns: .9fr 1.1fr; gap: 88px; }
  .fundadora__media { justify-self: center; }
  .sobre__grid { grid-template-columns: 1fr 1fr; column-gap: 72px; }
  .pessoa { grid-template-columns: 120px 1fr; gap: 28px; }
  .pessoa__media { width: 120px; }
}

/* ---------- 12. DIFERENCIAIS ---------- */
.diferenciais { background: var(--mist); }
.diferenciais__grid { display: grid; gap: 52px; }
.diferenciais__media { margin-top: 40px; width: min(100%, 380px); }
.diferenciais__media .ph { aspect-ratio: 3 / 4; }
.diferenciais__list { list-style: none; display: grid; }
.dif { position: relative; padding: 30px 0 32px; border-top: 1px solid var(--line); }
.dif::before { /* fio bordô que cresce no hover/entrada */
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--bordo);
  transition: width .9s var(--ease) .2s;
}
.dif.is-visible::before { width: 48px; }
.dif:hover::before { width: 100%; transition-delay: 0s; }
.dif h3 { display: flex; align-items: flex-start; gap: 14px; transition: color .3s, transform .5s var(--ease); }
.dif__mark { width: 16px; height: 20px; flex: none; margin-top: 6px; color: var(--olive); transition: transform .6s var(--ease); }
.dif:hover .dif__mark { transform: rotate(-14deg) scale(1.15); }
.dif:hover h3 { transform: translateX(4px); }
.dif p { margin-top: 10px; padding-left: 30px; color: var(--muted); }

@media (min-width: 640px) { .diferenciais__list { grid-template-columns: 1fr 1fr; column-gap: 44px; } }
@media (min-width: 1024px) {
  .diferenciais__grid { grid-template-columns: .85fr 1.15fr; gap: 88px; align-items: start; }
  .diferenciais__aside { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* ---------- 13. GALERIA E LIGHTBOX ---------- */
.galeria { background: var(--white); }
/* Carrossel: trilho com rolagem horizontal e encaixe (scroll-snap).
   O trilho "vaza" até a borda direita da tela, mantendo o início alinhado ao conteúdo. */
.carousel { position: relative; }
.carousel__track {
  --edge: max(var(--gutter), calc((100vw - var(--container)) / 2));
  list-style: none; display: flex; gap: 16px;
  margin-inline: calc(50% - 50vw); padding: 4px var(--edge) 8px;
  scroll-padding-inline: var(--edge);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline-offset: -2px; }
.carousel__track.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.carousel__track.is-dragging a { pointer-events: none; }
.gallery__item { position: relative; margin: 0; flex: 0 0 78%; scroll-snap-align: start; }
.gallery__open { display: block; text-decoration: none; overflow: hidden; position: relative; }
.gallery__open .ph { aspect-ratio: 4 / 5; }
.gallery__open .ph > img { transition: transform 1.1s var(--ease); }
.gallery__caption {
  margin: 14px 0 0; padding-left: 14px; border-left: 1px solid var(--olive);
  font-family: var(--f-serif); font-style: italic; font-size: 1.1rem; line-height: 1.4; color: var(--ink);
}
.gallery__open::after { /* ícone de ampliar */
  content: "+"; position: absolute; right: 12px; top: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--bordo);
  font: 300 1.4rem/1 var(--f-sans); opacity: 0; transform: scale(.7); transition: opacity .4s, transform .4s var(--ease);
}
@media (hover: hover) {
  .gallery__item:hover .ph > img { transform: scale(1.05); }
  .gallery__item:hover .gallery__open::after, .gallery__open:focus-visible::after { opacity: 1; transform: none; }
  .carousel__track { cursor: grab; }
}
@media (min-width: 640px) { .gallery__item { flex-basis: 44%; } }
@media (min-width: 1024px) { .gallery__item { flex-basis: calc((min(100vw, var(--container)) - 48px) / 3.3); } .carousel__track { gap: 24px; } }

/* Controles: barra de progresso, contador e setas */
.carousel__controls { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.carousel__progress { position: relative; flex: 1; height: 1px; background: var(--line); overflow: hidden; }
.carousel__bar { position: absolute; left: 0; top: 0; height: 100%; width: 100%; background: var(--bordo); transform-origin: left; transform: scaleX(var(--p, .2)); transition: transform .35s var(--ease); }
.carousel__count { margin: 0; font-size: .85rem; font-weight: 500; letter-spacing: .08em; color: var(--muted); font-variant-numeric: tabular-nums; }
.carousel__count [data-carousel-current] { color: var(--bordo); }
.carousel__btn {
  width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--bordo); color: var(--bordo);
  transition: background .35s var(--ease), color .35s var(--ease), opacity .3s, transform .25s var(--ease);
}
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__btn:hover:not(:disabled) { background: var(--bordo); color: var(--white); }
.carousel__btn:active:not(:disabled) { transform: scale(.94); }
.carousel__btn:disabled { opacity: .3; cursor: default; }
.galeria__social { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Lightbox */
.lightbox {
  width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(30, 9, 10, .94); color: var(--white);
}
.lightbox::backdrop { background: rgba(30, 9, 10, .6); }
.lightbox[open] { animation: fade-in .35s var(--ease); }
@keyframes fade-in { from { opacity: 0; } }
.lightbox__inner { position: relative; height: 100%; display: grid; place-items: center; padding: 64px 16px 24px; }
.lightbox__figure { margin: 0; width: min(100%, 1100px); }
.lightbox__stage { position: relative; width: 100%; height: min(72vh, 760px); }
.lightbox__stage .ph { height: 100%; aspect-ratio: auto; clip-path: none; }
.lightbox__stage .ph > img { object-fit: contain; background: transparent; transform: none; }
.lightbox__stage .ph:has(img:not(.is-missing)) { background: none; }
.lightbox__stage .ph:has(img:not(.is-missing))::before, .lightbox__stage .ph:has(img:not(.is-missing))::after { display: none; }
.lightbox__stage.is-changing { animation: fade-in .4s var(--ease); }
.lightbox__caption { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; font-size: .9rem; }
.lightbox__count { color: var(--olive); font-variant-numeric: tabular-nums; }
.lightbox__btn {
  position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); color: var(--white);
  transition: background .3s, transform .3s var(--ease);
}
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__btn:hover { background: var(--olive); color: var(--bordo-ink); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev, .lightbox__next { bottom: 16px; }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }
@media (min-width: 900px) {
  .lightbox__prev, .lightbox__next { top: 50%; bottom: auto; transform: translateY(-50%); }
  .lightbox__prev { left: 28px; } .lightbox__next { right: 28px; }
  .lightbox__close { top: 24px; right: 28px; }
}
.lightbox__inner { padding-bottom: 80px; }
@media (min-width: 900px) { .lightbox__inner { padding: 72px 110px; } }

/* ---------- 14. LOCALIZAÇÃO ---------- */
.local { background: var(--paper); }
.local__grid { display: grid; gap: 52px; }
.local__info > p { color: var(--muted); margin-top: 24px; }
.notice {
  margin-top: 30px; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  padding: 22px 22px 22px 20px; background: var(--white);
  border: 1px solid var(--line); border-left: 3px solid var(--bordo); border-radius: 0 6px 6px 0;
  box-shadow: 0 18px 40px -30px rgba(51, 13, 14, .4);
}
.notice__icon { width: 28px; height: 28px; color: var(--bordo); }
.notice p { margin: 0; font-weight: 500; color: var(--ink); }
.notice a { color: var(--bordo); font-weight: 600; text-underline-offset: 3px; }
.local__fachada { margin-top: 32px; }
.local__fachada .ph { aspect-ratio: 3 / 2; }
.map { position: relative; overflow: hidden; border-radius: 6px; background: var(--mist); box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 360px; border: 0; filter: grayscale(.35) contrast(1.02); transition: filter .6s; }
.map:hover iframe { filter: none; }
.local__facts { list-style: none; margin-top: 22px; display: grid; gap: 12px; font-size: .92rem; color: var(--muted); }
.local__facts li { display: flex; gap: 12px; align-items: flex-start; }
.local__facts .ico { color: var(--olive-deep); margin-top: 3px; }
@media (min-width: 1024px) {
  .local__grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
  .local__map { position: sticky; top: calc(var(--header-h) + 40px); }
  .map iframe { height: 520px; }
}

/* ---------- 15. FAQ ---------- */
.faq { background: var(--white); }
.faq__grid { display: grid; gap: 40px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; -webkit-tap-highlight-color: transparent;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); transition: color .3s, transform .45s var(--ease); }
.faq__item summary:hover h3 { color: var(--bordo-ink); transform: translateX(4px); }
.faq__toggle { position: relative; flex: none; width: 40px; height: 40px; border: 1px solid var(--olive); border-radius: 50%; transition: background .4s var(--ease), transform .5s var(--ease); }
.faq__toggle::before, .faq__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--bordo); transform: translate(-50%, -50%); transition: transform .45s var(--ease), background .3s; }
.faq__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__toggle { background: var(--bordo); transform: rotate(180deg); }
.faq__item[open] .faq__toggle::before, .faq__item[open] .faq__toggle::after { background: var(--white); }
.faq__item[open] .faq__toggle::after { transform: translate(-50%, -50%) rotate(0); }
.faq__answer { overflow: hidden; }
.faq__answer p { padding: 0 56px 28px 0; color: var(--muted); max-width: 70ch; }
.faq__answer a { color: var(--bordo); font-weight: 600; }
@media (min-width: 1024px) {
  .faq__grid { grid-template-columns: .8fr 1.2fr; gap: 88px; align-items: start; }
  .faq__head { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* ---------- 16. CONTATO ---------- */
.contato { background: var(--bordo); color: rgba(255, 255, 255, .88); overflow: hidden; overflow: clip; }
.contato__bg-art { position: absolute; left: -110px; bottom: -60px; width: 420px; height: 525px; color: rgba(255, 255, 255, .04); pointer-events: none; animation: float 12s ease-in-out infinite; }
.contato__grid { display: grid; gap: 56px; position: relative; }
.contato__script { display: block; font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); color: var(--olive); margin-bottom: 6px; }
.contato h2 { color: var(--white); font-size: clamp(2.2rem, 1.4rem + 3vw, 3.7rem); }
.contato__text { margin-top: 24px; font-family: var(--f-serif); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); line-height: 1.5; max-width: 34em; }

.btn--wa-xl {
  --btn-bg: var(--white); --btn-fg: var(--bordo); --btn-hover: var(--olive); --btn-hover-fg: var(--bordo-ink);
  margin-top: 36px; width: 100%; min-height: 76px; padding: 12px 28px 12px 12px; gap: 16px; justify-content: flex-start;
  font-size: clamp(1rem, .9rem + .4vw, 1.15rem); text-align: left;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .55);
}
.btn__wa-icon {
  flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bordo); color: var(--white); transition: transform .6s var(--ease), background .4s;
}
.btn__wa-icon svg { width: 26px; height: 26px; }
.btn--wa-xl:hover .btn__wa-icon { transform: rotate(-12deg) scale(1.06); background: var(--bordo-ink); }
.btn--wa-xl::after { /* pulso suave chamando atenção */
  content: ""; position: absolute; left: 12px; top: 50%; width: 54px; height: 54px; margin-top: -27px; border-radius: 50%;
  border: 1px solid var(--bordo); animation: pulse 2.6s var(--ease) infinite; pointer-events: none;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
@media (min-width: 640px) { .btn--wa-xl { width: auto; padding-right: 40px; } }

.contact-list { margin: 44px 0 0; display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.contact-list > div { padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.contact-list dt { display: flex; align-items: center; gap: 10px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); }
.contact-list dt .ico { width: 18px; height: 18px; }
.contact-list dd { margin: 6px 0 0; font-size: 1rem; color: var(--white); }
.contact-list a { color: var(--white); text-decoration: none; background: linear-gradient(var(--olive), var(--olive)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.contact-list a:hover { background-size: 100% 1px; }
.map--dark { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .15); }
@media (min-width: 640px) {
  .contact-list { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .contact-list__wide { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .contato__grid { grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: center; }
  .contato__map .map iframe { height: 560px; }
}

/* ---------- 17. RODAPÉ ---------- */
.site-footer { background: var(--bordo-ink); color: rgba(255, 255, 255, .75); padding: 72px 0 0; font-size: .92rem; }
.footer__grid { display: grid; gap: 44px; padding-bottom: 56px; }
.footer__logo img { width: 190px; filter: brightness(0) invert(1); opacity: .95; }
.footer__brand p { margin-top: 20px; max-width: 30ch; }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .25); color: var(--white); transition: background .35s, border-color .35s, transform .35s var(--ease);
}
.footer__social svg { width: 20px; height: 20px; }
.footer__title { font-family: var(--f-sans); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--olive); margin-bottom: 18px; }
.footer__col ul { list-style: none; display: grid; gap: 4px; }
.footer__col a, .footer__linkbtn {
  display: inline-block; padding: 5px 0; color: rgba(255, 255, 255, .82); text-decoration: none;
  background: none; border: 0; font-size: inherit; text-align: left; transition: color .3s, transform .35s var(--ease);
}
.footer__col ul a:hover, .footer__linkbtn:hover { color: var(--white); transform: translateX(4px); }
.footer__col address p { margin-bottom: 10px; }
.footer__col address a:hover { color: var(--white); }
.footer__bottom { padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8rem; color: rgba(255, 255, 255, .6); }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.3fr .8fr 1fr 1.1fr; gap: 56px; } }

/* ---------- 18. WHATSAPP FLUTUANTE E COOKIES ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bordo); color: var(--white); box-shadow: 0 16px 34px -12px rgba(51, 13, 14, .7);
  opacity: 0; visibility: hidden; transform: translateY(20px) scale(.8);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s .45s, background .3s;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--olive); animation: pulse 2.8s var(--ease) infinite; }
.wa-float.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.wa-float:hover { background: var(--bordo-ink); transform: scale(1.06); }
@media (min-width: 1024px) { .wa-float { right: 28px; bottom: 28px; width: 64px; height: 64px; } }

.cookie {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 120;
  padding: 20px; background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--olive); border-radius: 6px;
  box-shadow: var(--shadow); font-size: .85rem; line-height: 1.6; animation: slide-up .5s var(--ease);
}
.cookie[hidden] { display: none; }
.cookie a { color: var(--bordo); font-weight: 600; }
.cookie__actions { display: flex; gap: 10px; margin-top: 14px; justify-content: flex-end; }
@keyframes slide-up { from { opacity: 0; transform: translateY(20px); } }
@media (min-width: 640px) { .cookie { left: 24px; right: auto; bottom: 24px; max-width: 420px; } }
.cookie-open .wa-float { bottom: 200px; }
@media (min-width: 640px) { .cookie-open .wa-float { bottom: 28px; } }

/* ---------- 19. MOVIMENTO REDUZIDO ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal]:not([data-reveal="img"]) { opacity: 1; transform: none; }
  .js [data-reveal="img"] .ph { clip-path: none; }
  .js [data-reveal="img"] .ph > img, .ph > img[data-parallax] { transform: none !important; }
  .hero__swash { stroke-dashoffset: 0; }
  .seal__ring, .media--ring::after, .contato__bg-art { animation: none; }
}

/* Seções focadas por âncora não exibem contorno */
[tabindex="-1"]:focus { outline: none; }
.section-head--center .ornament { margin-inline: auto; }
.diferenciais .ph, .local .ph { background-color: var(--white); }

/* ---------- AJUSTE TIPOGRÁFICO DOS TÍTULOS (Bodoni Moda) ----------
   Fixa o tamanho óptico num valor intermediário: traços finos mais firmes
   e contraste menos extremo em tamanhos grandes. */
h1, h2, .milestone__name, .fundadora__body h3 {
  font-optical-sizing: none;
  font-variation-settings: "opsz" 16;
  font-weight: 450;
  letter-spacing: -.005em;
}
.hero__title { font-weight: 450; line-height: 1.1; font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.1rem); }
.hero__title .accent { font-style: normal; font-weight: 450; color: var(--bordo); }
/* Foto do Hero: enquadra a mesa e o arranjo central dentro do arco */
.hero__media .ph > img { object-position: 48% 50%; }
.hero__media .ph > img[data-parallax] { height: 138%; top: -16%; }
/* Linha do tempo: aproxima a introdução dos marcos */
.fases .section-head { margin-bottom: clamp(32px, 4vw, 44px); }

/* ---------- CARROSSEL: cards do mesmo tamanho ----------
   Sem "vazar" para a borda: 4 cards inteiros no desktop, 2 no tablet. */
.carousel__track { margin-inline: 0; padding: 4px 0 8px; scroll-padding-inline: 0; }
@media (min-width: 640px) { .gallery__item { flex-basis: calc((100% - 16px) / 2); } }
@media (min-width: 1024px) { .gallery__item { flex-basis: calc((100% - 72px) / 4); } }

/* Rodapé — Contato: nome com link para o Google Meu Negócio e rótulos */
.footer__gbp a { font-weight: 600; color: var(--white); text-decoration: none; }
.footer__label { font-weight: 600; color: var(--white); }
.footer__col address a { display: inline; padding: 0; }

/* Rodapé — linha final centralizada com crédito de desenvolvimento */
.footer__bottom { text-align: center; font-size: .95rem; }
.footer__bottom p { margin: 0; }
.footer__credit { margin-top: 6px !important; }
.footer__credit a { color: var(--olive); font-weight: 600; text-decoration: none; background: linear-gradient(var(--olive), var(--olive)) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); }
.footer__credit a:hover { background-size: 100% 1px; }

/* Linha do tempo: títulos temporariamente sem link (até as páginas internas existirem) */
.milestone__text { display: block; }
.milestone__text .ico { display: none; }

/* ---------- PÁGINAS DE TEXTO (Política de Privacidade) ---------- */
.legal { padding-block: clamp(48px, 7vw, 96px) var(--section-y); background: var(--white); }
.legal__inner { max-width: 760px; margin-inline: auto; }
.legal__head { margin-bottom: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.legal__head h1 { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); }
.legal__updated { margin-top: 14px; font-size: .9rem; color: var(--muted); }
.legal h2 { font-size: clamp(1.45rem, 1.25rem + .8vw, 1.85rem); margin: 44px 0 14px; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: 8px; }
.legal li::marker { color: var(--olive-deep); }
.legal a { color: var(--bordo); font-weight: 600; text-underline-offset: 3px; }
.legal__back { margin-top: 56px; }

/* Serviços: introdução logo abaixo do título (coluna única) */
.section-head--stack { max-width: 760px; }
.section-head--stack .section-head__intro { margin-top: 24px; }

/* Diferenciais: espaçamento vertical reduzido (antes até 150px em cima e embaixo) */
.diferenciais { padding-block: clamp(56px, 6vw, 88px); }

/* ---------- DIFERENCIAIS COM FUNDO EM PARALLAX ----------
   A foto fica numa camada mais alta que a seção (inset -18%) e o JS a desloca
   mais devagar que a rolagem. Funciona também no celular/iPhone (usa transform,
   não background-attachment: fixed). Camada bordô por cima garante a leitura. */
.diferenciais--parallax { position: relative; overflow: hidden; overflow: clip; background: var(--bordo-ink); isolation: isolate; }
.parallax-bg { position: absolute; inset: -18% 0; z-index: -2; }
.parallax-bg picture, .parallax-bg__img { display: block; width: 100%; height: 100%; }
.parallax-bg__img { object-fit: cover; object-position: center; transform: translate3d(0, var(--pby, 0px), 0); will-change: transform; }
.diferenciais--parallax::before { /* véu bordô para contraste do texto */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(51, 13, 14, .93) 0%, rgba(51, 13, 14, .84) 45%, rgba(51, 13, 14, .78) 100%);
}
.diferenciais--parallax h2, .diferenciais--parallax h3 { color: var(--white); }
.diferenciais--parallax .dif p { color: rgba(255, 255, 255, .82); }
.diferenciais--parallax .dif { border-top-color: rgba(255, 255, 255, .2); }
.diferenciais--parallax .dif::before { background: var(--olive); }
.diferenciais--parallax .ornament, .diferenciais--parallax .dif__mark { color: var(--olive); }

/* ---------- HERO NO CELULAR/TABLET: foto entre o texto e os botões ----------
   Ordem: "desde 1990" → título → texto → foto → botões → linha de apoio.
   (display: contents "solta" os itens do bloco de texto para poder intercalar a foto.) */
@media (max-width: 1023px) {
  .hero__grid { display: flex; flex-direction: column; gap: 0; }
  .hero__content { display: contents; }
  .hero__eyebrow { order: 1; align-self: flex-start; }
  .hero__title { order: 2; }
  .hero__lead { order: 3; }
  .hero__visual { order: 4; align-self: center; margin: 40px 0 12px; }
  .hero__actions { order: 5; }
  .hero__support { order: 6; }
}
/* Celular/tablet: botões do Hero depois da linha de apoio */
@media (max-width: 1023px) {
  .hero__support { order: 5; margin-top: 8px; }
  .hero__actions { order: 6; margin-top: 28px; }
}
@media (max-width: 1023px) {
  .hero__support { margin-top: 36px; }
  .hero { padding-bottom: 112px; } /* espaço para o traço decorativo não passar sobre os botões */
}
/* Celular/tablet: o traço verde sai do fim do Hero e vai para entre a foto e a linha de apoio */
.hero__swash-mobile { display: none; }
@media (max-width: 1023px) {
  .hero__swash { display: none; }
  .hero__swash-mobile {
    display: block; order: 5; width: 100%; height: 56px; margin-top: 24px; color: var(--olive); opacity: .55;
    stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 3.2s .4s var(--ease) forwards;
  }
  .hero__support { order: 6; margin-top: 12px; padding-top: 0; border-top: 0; }
  .hero__actions { order: 7; }
  .hero { padding-bottom: clamp(56px, 9vw, 80px); }
}
@media (max-width: 1023px) and (prefers-reduced-motion: reduce) { .hero__swash-mobile { stroke-dashoffset: 0; } }
/* Botões com texto em duas linhas: distribui as palavras de forma equilibrada (sem palavra sozinha) */
.btn { text-wrap: balance; }

/* "Do marmitex ao buffet" no celular: trajetória centralizada, maior e na vertical,
   com um fio verde entre cada etapa (evita o traço solto no início da linha) */
@media (max-width: 899px) {
  .historia h3 { text-align: center; }
  .historia__trail { flex-direction: column; align-items: center; gap: 0; font-size: 1.5rem; line-height: 1.3; }
  .historia__trail li { flex-direction: column; }
  .historia__trail li + li::before { width: 1px; height: 22px; margin: 8px 0; }
}
/* Celular: o texto "A história começou…" vem antes do título e da trajetória */
@media (max-width: 899px) {
  .historia > p { order: -1; margin-bottom: 12px; }
}

/* Celular: título "Sylmara Franco, fundadora" → foto → texto → assinatura */
@media (max-width: 899px) {
  .fundadora { display: flex; flex-direction: column; gap: 0; }
  .fundadora__body { display: contents; }
  .fundadora__body h3 { order: 1; }
  .fundadora__media { order: 2; align-self: center; margin: 36px 0 8px; }
  .fundadora__text { order: 3; margin-top: 28px; }
  .fundadora__signature { order: 4; }
}

/* ---------- SOBRE: 4 blocos com ícone (substituem as fotos do chef e da equipe) ---------- */
.pessoa { grid-template-columns: 64px 1fr; gap: 20px; }
.pessoa__icon {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); border: 1px solid var(--olive); color: var(--bordo);
  transition: background .5s var(--ease), color .5s var(--ease), transform .6s var(--ease);
}
.pessoa__icon svg { width: 32px; height: 32px; }
.pessoa:hover .pessoa__icon { background: var(--bordo); color: var(--white); }
.pessoa h3 { margin-top: 4px; }
@media (min-width: 900px) {
  .pessoa { grid-template-columns: 76px 1fr; gap: 26px; }
  .pessoa__icon { width: 76px; height: 76px; }
  .pessoa__icon svg { width: 36px; height: 36px; }
}
.pessoa__icon svg { width: 38px; height: 38px; }
@media (min-width: 900px) { .pessoa__icon svg { width: 44px; height: 44px; } }

/* Carrossel no celular: uma foto inteira por vez (sem mostrar pedaço da próxima) */
@media (max-width: 639px) {
  .gallery__item { flex-basis: 100%; }
}

/* Localização no celular/tablet: título → texto → mapa e endereço → aviso da fachada */
@media (max-width: 1023px) {
  .local__grid { display: flex; flex-direction: column; gap: 0; }
  .local__info { display: contents; }
  .local__info > header { order: 1; }
  .local__info > p { order: 2; }
  .local__map { order: 3; margin-top: 36px; }
  .local__info > .notice { order: 4; margin-top: 28px; }
}

/* Ícones em círculo (Como pedir o orçamento e Sobre): sempre bordô com ícone branco */
.passo__icon, .pessoa__icon { background: var(--bordo); border-color: var(--bordo); color: var(--white); }
.passo:hover .passo__icon, .pessoa:hover .pessoa__icon { background: var(--bordo); color: var(--white); }

/* Botões "Ver mais no Instagram/TikTok": sem mudança de cor ao passar o mouse */
.galeria__social .btn::before { display: none; }
.galeria__social .btn:hover, .galeria__social .btn:focus-visible { color: var(--white); }

/* Localização: endereço e horário em negrito */
.local__facts { font-weight: 600; color: var(--ink); }
.nowrap { white-space: nowrap; }

/* Botões brancos sobre fundo bordô (Contato e Linha do tempo): sem o preenchimento verde no hover */
.btn--wa-xl::before, .btn--light::before { display: none; }
.btn--wa-xl:hover, .btn--wa-xl:focus-visible, .btn--light:hover, .btn--light:focus-visible { color: var(--bordo); }

/* Contato sem mapa: conteúdo em coluna única */
@media (min-width: 1024px) {
  .contato__grid { grid-template-columns: 1fr; }
  .contato__main { max-width: 860px; }
}

/* Contato no computador: chamada + botão à esquerda, dados de contato à direita */
@media (min-width: 1024px) {
  .contato__main {
    max-width: none; display: grid; grid-template-columns: 1.15fr .85fr; column-gap: 80px; align-items: start;
  }
  .contato__main > * { grid-column: 1; }
  .contato__main > .contact-list {
    grid-column: 2; grid-row: 1 / span 5; align-self: center;
    margin-top: 0; grid-template-columns: 1fr;
  }
  .contato__main > .contact-list .contact-list__wide { grid-column: auto; }
  .contato__main > .btn--wa-xl { justify-self: start; }
}

/* Contato: títulos e ícones dos dados maiores */
.contact-list dt { font-size: .9rem; gap: 12px; }
.contact-list dt .ico { width: 22px; height: 22px; }
.contact-list dd { margin-top: 8px; font-size: 1.05rem; }
/* Serviços: menos espaço entre a introdução e o primeiro serviço */
.servicos .section-head { margin-bottom: clamp(28px, 3vw, 40px); }

/* Serviços: chamada em formato de botão */
.servico__body .servico__btn { margin-top: 24px; }

/* ---------- AVALIAÇÕES DO GOOGLE (widget Elfsight) ---------- */
.avaliacoes { background: var(--paper); }
.avaliacoes .section-head { margin-bottom: clamp(32px, 4vw, 48px); }
.avaliacoes__widget { width: 100%; max-width: 100%; min-width: 0; overflow-x: hidden; overflow-x: clip; }
.avaliacoes__widget iframe { width: 100%; max-width: 100%; border: 0; }
.avaliacoes__cta { margin-top: clamp(32px, 4vw, 48px); text-align: center; }

/* Avaliações: faixa da cor do fundo sobre a parte final do widget (selo do plano gratuito).
   Atenção: o plano gratuito do Elfsight exige o selo visível; retirar esta regra se o widget for desativado. */
.avaliacoes__widget { position: relative; }
.avaliacoes__widget::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 52px; z-index: 5;
  background: var(--paper); pointer-events: auto;
}
/* Avaliações: menos espaço depois do widget (a faixa sobre o selo já ocupa ~52px) */
.avaliacoes { padding-bottom: clamp(8px, 1.5vw, 20px); }

/* ---------- POLÍTICA DE PRIVACIDADE: seções, dados e tabela ---------- */
.legal__inner { max-width: 820px; }
.legal__intro { margin-top: 22px; font-family: var(--f-serif); font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); line-height: 1.55; color: var(--ink); }
.legal__updated { color: var(--muted); }
.legal__section { padding-top: 8px; }
.legal__section + .legal__section { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
.legal__section h2 { margin-top: 0; }
.legal__section p, .legal__section li { font-size: 1.02rem; }
.legal strong { font-weight: 600; }
.legal__data { list-style: none; padding: 20px 24px; margin: 8px 0 20px; background: var(--paper); border-left: 2px solid var(--olive); }
.legal__data li { margin-bottom: 8px; }
.legal__data li:last-child { margin-bottom: 0; }
.legal a[href^="tel:"], .legal a[href^="mailto:"] { word-break: break-word; }
.legal__updated--end { margin-top: 28px; }

/* Tabela de finalidades e bases legais */
.legal-table { width: 100%; border-collapse: collapse; margin: 12px 0 24px; font-size: .95rem; }
.legal-table th { text-align: left; font-family: var(--f-sans); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--olive-deep); padding: 12px 14px; background: var(--paper); border-bottom: 1px solid var(--olive); }
.legal-table td { padding: 16px 14px; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--ink); line-height: 1.55; }
.legal-table td:first-child { font-weight: 600; color: var(--bordo); }
/* Celular: cada linha vira um bloco empilhado, com o rótulo da coluna acima do valor */
@media (max-width: 699px) {
  .legal-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; width: 100%; }
  .legal-table tr { padding: 18px 18px 8px; margin-bottom: 14px; background: var(--paper); border-left: 2px solid var(--olive); }
  .legal-table td { padding: 0 0 12px; border: 0; }
  .legal-table td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--olive-deep); }
  .legal__data { padding: 16px 18px; }
}

/* Avaliações antes do aceite dos cookies: aviso no lugar do widget */
.avaliacoes__consent {
  max-width: 560px; margin: 0 auto 32px; padding: 28px 24px; text-align: center;
  background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--olive); border-radius: 6px;
}
.avaliacoes__consent p { margin-bottom: 16px; color: var(--muted); }
.avaliacoes__widget.is-loaded .avaliacoes__consent { display: none; }
/* a faixa sobre o selo só existe depois que o widget carrega */
.avaliacoes__widget:not(.is-loaded)::after { display: none; }
/* Serviço 3: coluna de texto um pouco mais larga (evita "Crisma." sozinho na última linha) */
@media (min-width: 900px) { .servico--3 .servico__body { grid-column: 8 / 13; } }
