/* =========================================================
   style.css — Rafaela Silva Fotografia
   Identidade: Editorial Photography · Modern Luxury
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* cores */
  --linen: #F6F2EC;
  --sand: #E9E0D4;
  --stone: #B9AC9C;
  --taupe: #6F665E;
  --taupe-dark: #5F574F;
  --charcoal: #1F1C1A;
  --wine: #5E2129;
  --wine-deep: #4A1A20;
  --caramel: #A9805A;       /* detalhes e linhas */
  --caramel-text: #8A6440;  /* texto pequeno sobre fundo claro (AA) */
  --cream: #F4EAE4;

  /* tipografia */
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* layout */
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --hdr: 84px;
  --ribbon: 38px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Base ---------- */
body {
  background: var(--linen);
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
}
body.is-locked { overflow: hidden; }

section[id] { scroll-margin-top: var(--hdr); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -.01em;
}
h2 { font-size: clamp(42px, 5.4vw, 76px); }
h3 { font-size: clamp(28px, 2.6vw, 38px); font-weight: 400; }
em { font-style: italic; }
strong { font-weight: 500; }

::selection { background: var(--wine); color: #fff; }

:focus-visible {
  outline: 2px solid var(--caramel);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 300;
  background: var(--charcoal);
  color: #fff;
  padding: 12px 18px;
  font-size: 14px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.no-scrollbar { scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* ---------- 3. Tipografia utilitária ---------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-weight: 400;
}
.num {
  display: block;
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--caramel-text);
}
.lead { font-size: 18px; }

/* ---------- 4. Botões e links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 28px;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 400;
  border: 1px solid currentColor;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  cursor: pointer;
  text-align: center;
}
.btn-solid { background: var(--wine); border-color: var(--wine); color: #fff; }
.btn-solid:hover { background: var(--wine-deep); border-color: var(--wine-deep); }
.btn-line:hover { background: var(--charcoal); color: var(--linen); border-color: var(--charcoal); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: progress; }

.link {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: opacity .3s;
}
.link:hover { opacity: .7; }

/* ---------- 5. Faixa sazonal ---------- */
.ribbon {
  background: var(--wine);
  color: #F3E6E0;
  text-align: center;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 10px var(--gutter);
  min-height: var(--ribbon);
}
.ribbon a { border-bottom: 1px solid rgba(255,255,255,.5); margin-left: 8px; }

/* ---------- 6. Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 242, 236, .95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: box-shadow .4s;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(0,0,0,.07); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--hdr);
  padding: 0 var(--gutter);
}
.logo img { height: 34px; width: auto; }

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.menu a { position: relative; padding: 6px 0; white-space: nowrap; }
.menu a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right .35s var(--ease);
}
.menu a:not(.btn):hover::after,
.menu a[aria-current="true"]::after { right: 0; }
.menu .is-seasonal::before {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #C77F86;
  margin-right: 8px;
  vertical-align: middle;
}
.menu .btn { min-height: 0; padding: 11px 18px; font-size: 11px; }

.burger {
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 12px 0;
}
.burger i,
.burger i::before,
.burger i::after {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
}
.burger i { position: relative; }
.burger i::before, .burger i::after { content: ""; position: absolute; left: 0; }
.burger i::before { top: -6px; }
.burger i::after { top: 6px; }

/* gaveta (menu mobile) */
.drawer { position: fixed; inset: 0; z-index: 120; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__shade {
  position: absolute; inset: 0;
  background: rgba(20,17,15,.45);
  opacity: 0;
  transition: opacity .4s;
}
.drawer__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(86vw, 420px);
  background: var(--linen);
  transform: translateX(100%);
  transition: transform .5s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 22px 28px 32px;
  overflow-y: auto;
}
.drawer.is-open .drawer__shade { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.drawer__top img { height: 24px; width: auto; }
.drawer__close { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; padding: 10px 0; }
.drawer nav a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.15;
  padding: 9px 0;
  border-bottom: 1px solid rgba(0,0,0,.07);
}
.drawer nav a small { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; color: var(--caramel-text); }
.drawer nav a em { font-size: 20px; color: var(--wine); }
.drawer__foot { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }
.drawer__foot .btn { width: 100%; }
.drawer__foot p { font-size: 13px; color: var(--taupe); text-align: center; }

/* ---------- 7. Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 5fr 7fr;
  height: calc(100svh - var(--hdr) - var(--ribbon));
  min-height: 620px;
  max-height: 1100px;
}
.no-ribbon .hero { height: calc(100svh - var(--hdr)); }
.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px clamp(28px, 4vw, 64px) 8vh var(--gutter);
}
.hero h1 { font-size: clamp(50px, 6vw, 100px); max-width: 9ch; margin: 20px 0 24px; }
.hero .lead { max-width: 38ch; color: #3a3531; margin-bottom: 34px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__photo { position: relative; overflow: hidden; }
.hero__photo picture, .hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__photo img { object-fit: cover; object-position: 58% 50%; animation: hero-in 18s ease-out both; }
@keyframes hero-in { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero__cap {
  position: absolute; left: 24px; bottom: 22px;
  color: #fff;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0,0,0,.5);
}

/* ---------- 8. Seções ---------- */
.section { padding: clamp(88px, 12vw, 168px) 0; position: relative; }
.section--flush-top { padding-top: 0; }
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.sec-head .num { margin-bottom: 18px; }
.sec-head--stack { flex-direction: column; align-items: flex-start; gap: 28px; }

/* imagens em blocos */
.ph { position: relative; overflow: hidden; }
.ph img, .ph picture { width: 100%; height: 100%; }
.ph img { object-fit: cover; }

/* ---------- 9. Sobre ---------- */
.about { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.about__photo { grid-column: 1 / 8; aspect-ratio: 3 / 2; position: relative; }
.about__photo > .ph:first-child { position: absolute; inset: 0; }
.about__photo > .ph:first-child img { object-position: 50% 40%; }
.about__inset {
  position: absolute;
  right: -7%; bottom: -14%;
  width: 36%;
  aspect-ratio: 1;
  border: 10px solid var(--linen);
}
.about__text { grid-column: 9 / 13; }
.about h2 { margin: 18px 0 26px; }
.about p { color: #3a3531; margin-bottom: 16px; }
.facts {
  display: flex;
  gap: 36px;
  margin: 30px 0;
  padding: 22px 0;
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
}
.facts dt { font-family: var(--serif); font-size: 38px; font-weight: 300; line-height: 1; }
.facts dd { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); }
.signature { height: 42px; width: auto; margin-top: 22px; opacity: .85; }

/* ---------- 10. Portfólio ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button {
  border: 1px solid transparent;
  padding: 9px 16px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--taupe);
  transition: color .3s, border-color .3s;
  white-space: nowrap;
}
.filters button:hover { color: var(--charcoal); }
.filters button[aria-pressed="true"] { border-color: var(--charcoal); color: var(--charcoal); }

.feature { display: grid; grid-template-columns: 1.55fr 1fr; gap: 20px; margin-bottom: 20px; }
.is-filtered .feature { display: none; }
.masonry { columns: 3; column-gap: 20px; }

.pf {
  break-inside: avoid;
  margin: 0 0 20px;
  position: relative;
  overflow: hidden;
}
.feature .pf { margin: 0; }
.pf button {
  display: block;
  width: 100%;
  cursor: zoom-in;
  position: relative;
}
.pf img { width: 100%; transition: transform 1.2s var(--ease); }
.feature .pf img { height: 100%; object-fit: cover; }
.feature .pf:first-child img { aspect-ratio: 3 / 2; }
.feature .pf:last-child img { aspect-ratio: 2 / 3; }
.pf:hover img { transform: scale(1.035); }
.pf figcaption {
  position: absolute;
  left: 14px; bottom: 12px;
  color: #fff;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .4s;
  text-shadow: 0 1px 8px rgba(0,0,0,.45);
  pointer-events: none;
}
.pf:hover figcaption, .pf:focus-within figcaption { opacity: 1; }
.pf.is-hidden,
.pf.is-dup,
.pf.is-extra { display: none; }
.is-filtered .pf.is-dup:not(.is-hidden) { display: block; }
.is-expanded .pf.is-extra:not(.is-hidden) { display: block; }
.is-filtered .pf.is-extra:not(.is-hidden) { display: block; }
.more { text-align: center; margin-top: 40px; }
.is-expanded .more, .is-filtered .more { display: none; }

/* ---------- 11. Serviços ---------- */
.services { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.services__media {
  grid-column: 1 / 6;
  position: sticky;
  top: calc(var(--hdr) + 26px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.services__media .ph { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.services__media .ph.is-active { opacity: 1; }
.services__list { grid-column: 7 / 13; list-style: none; }
.service {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 8px;
  padding: 30px 0;
  border-top: 1px solid rgba(0,0,0,.1);
  transition: opacity .4s;
}
.service:last-child { border-bottom: 1px solid rgba(0,0,0,.1); }
.services__list:hover .service { opacity: .42; }
.services__list .service.is-active,
.services__list:hover .service:hover { opacity: 1; }
.service__k { font-size: 12px; letter-spacing: .24em; color: var(--caramel-text); padding-top: 14px; }
.service h3 { font-size: clamp(34px, 3.4vw, 50px); font-weight: 300; margin-bottom: 10px; }
.service p { color: #3a3531; max-width: 46ch; margin-bottom: 16px; font-size: 16px; }
.service__thumb { display: none; }

/* ---------- 12. Natal ---------- */
.natal { background: var(--wine-deep); color: var(--cream); padding-top: 0; }
.natal .num { color: #D7B79A; }
.natal p { color: #E7D7CF; }
.natal__banner {
  position: relative;
  height: calc(100svh - var(--hdr));
  min-height: 560px;
  max-height: 1000px;
  overflow: hidden;
}
.natal__banner picture, .natal__banner img { position: absolute; inset: 0; width: 100%; height: 100%; }
.natal__banner img { object-fit: cover; object-position: 30% 50%; }
.natal__banner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(40,14,18,.84) 0%, rgba(40,14,18,.3) 50%, rgba(40,14,18,0) 72%);
}
.natal__banner .wrap {
  position: relative; z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.natal__banner h2 { font-size: clamp(52px, 7vw, 112px); max-width: 9ch; margin: 20px 0; }
.natal__banner .lead { max-width: 36ch; font-size: 19px; }
.natal .btn-solid { background: var(--cream); color: var(--wine-deep); border-color: var(--cream); margin-top: 34px; }
.natal .btn-solid:hover { background: #fff; border-color: #fff; }

.natal__intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; padding: clamp(80px, 10vw, 140px) 0 60px; }
.natal__intro h3 { grid-column: 1 / 6; font-size: clamp(34px, 3.6vw, 54px); font-weight: 300; }
.natal__intro div { grid-column: 7 / 12; font-size: 18px; }

.natal__gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px; align-items: start; }
.print { background: var(--linen); padding: 12px 12px 40px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); }
.print .ph { aspect-ratio: 4 / 5; }
.print figcaption { color: var(--taupe); font-family: var(--serif); font-style: italic; font-size: 18px; margin-top: 12px; text-align: center; }
.natal__gallery .g1 { grid-column: 1 / 6; transform: rotate(-1.2deg); }
.natal__gallery .g2 { grid-column: 6 / 10; margin-top: 120px; transform: rotate(1deg); }
.natal__gallery .g3 { grid-column: 10 / 13; margin-top: 40px; }
.natal__gallery .g3 .ph { aspect-ratio: 3 / 4; }
.natal__gallery .g3 figcaption { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #C9A99A; margin-top: 12px; }

.scene { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; padding: clamp(80px, 10vw, 140px) 0; }
.scene > .ph { grid-column: 1 / 6; aspect-ratio: 2 / 3; }
.scene__text { grid-column: 7 / 12; }
.scene__text h3, .booking h3 { margin: 16px 0 18px; font-size: clamp(34px, 3.4vw, 50px); font-weight: 300; }
.scene dl { margin-top: 28px; }
.scene dl div { display: flex; gap: 18px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.15); }
.scene dt { font-family: var(--serif); font-weight: 300; font-size: 30px; min-width: 90px; color: #fff; line-height: 1; }
.scene dd { color: #E7D7CF; }

.details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.details .ph { aspect-ratio: 1; }

.booking { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; padding-top: clamp(80px, 10vw, 140px); }
.booking__text { grid-column: 1 / 7; }
.booking > .ph { grid-column: 8 / 13; aspect-ratio: 3 / 2; }
.swatches { display: flex; gap: 10px; margin: 22px 0 34px; list-style: none; }
.swatches li { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); }
.booking .note { font-size: 15px; opacity: .9; }

/* ---------- 13. Estúdio ---------- */
.studio { background: var(--charcoal); color: #EDE6DD; }
.studio .num { color: var(--caramel); }
.studio p { color: #CFC6BB; }
.rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
  padding: 0 var(--gutter);
  cursor: grab;
  overscroll-behavior-x: contain;
}
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail figure { flex: 0 0 auto; height: min(64vh, 620px); scroll-snap-align: start; }
.rail figure.is-v { aspect-ratio: 2 / 3.3; }
.rail figure.is-h { aspect-ratio: 3 / 2.15; }
.rail .ph { height: calc(100% - 30px); }
.rail img { pointer-events: none; }
.rail figcaption { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #9C9187; margin-top: 10px; }
.rail-ctl { display: flex; gap: 10px; }
.rail-ctl button {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(237,230,221,.4);
  color: #EDE6DD;
  font-size: 18px;
  transition: background-color .3s, color .3s;
}
.rail-ctl button:hover { background: #EDE6DD; color: var(--charcoal); }
.rail-progress { height: 1px; background: rgba(237,230,221,.15); margin: 28px var(--gutter) 0; position: relative; }
.rail-progress i { position: absolute; left: 0; top: 0; height: 1px; background: #EDE6DD; width: 20%; }
.studio__cols { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-top: 70px; }
.studio__cols > :first-child { grid-column: 1 / 6; }
.studio__cols > :last-child { grid-column: 7 / 12; }
.studio__cols h3 { font-size: clamp(30px, 3vw, 44px); font-weight: 300; }
.studio .btn-line { color: #EDE6DD; margin-top: 26px; }
.studio .btn-line:hover { background: #EDE6DD; color: var(--charcoal); border-color: #EDE6DD; }

/* ---------- 14. Depoimentos ---------- */
.quotes { text-align: center; }
.quote { max-width: 920px; margin: 40px auto 0; min-height: 240px; }
.quote blockquote {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.22;
  transition: opacity .45s;
}
.quote.is-fading blockquote, .quote.is-fading figcaption { opacity: 0; }
.quote figcaption {
  margin-top: 30px;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--taupe);
  transition: opacity .45s;
}
.qnav { display: flex; justify-content: center; gap: 4px; margin-top: 30px; }
.qnav button { width: 42px; height: 24px; background: linear-gradient(var(--stone), var(--stone)) center / 34px 2px no-repeat; }
.qnav button[aria-current="true"] { background-image: linear-gradient(var(--charcoal), var(--charcoal)); }

/* ---------- 15. Contato ---------- */
.contact { background: var(--sand); }
.contact .grid12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.contact__info { grid-column: 1 / 6; }
.contact__form { grid-column: 7 / 13; }
.contact h2 { margin: 18px 0 26px; }
.contact .num { color: var(--caramel-text); }
.channels { list-style: none; margin: 34px 0; }
.channels li { padding: 18px 0; border-top: 1px solid var(--stone); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.channels span:first-child { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe-dark); }
.channels a { border-bottom: 1px solid transparent; }
.channels a:hover { border-color: currentColor; }
.mini-quote { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--taupe-dark); margin-top: 30px; }
.mini-quote cite { display: block; font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; margin-top: 6px; }

.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { margin-bottom: 26px; }
.field label { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe-dark); margin-bottom: 6px; }
.field .opt { text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--taupe);
  border-radius: 0;
  padding: 10px 0;
  font-size: 18px;
  font-weight: 300;
  color: var(--charcoal);
  outline: none;
  transition: border-color .3s;
}
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231F1C1A'/%3E%3C/svg%3E") right 4px center no-repeat; padding-right: 24px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--wine); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #A3242F; }
.field__error { display: block; font-size: 13px; color: #A3242F; margin-top: 6px; min-height: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__legal { font-size: 13px; color: var(--taupe-dark); margin-top: 18px; }
.form__legal a { border-bottom: 1px solid currentColor; }
.form__status { margin-top: 20px; padding: 16px 18px; font-size: 15px; display: none; }
.form__status.is-success { display: block; background: #E6EDE3; color: #23402A; }
.form__status.is-error { display: block; background: #F6E4E4; color: #7A1E28; }
.form__status a { border-bottom: 1px solid currentColor; font-weight: 400; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.spinner { width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; display: none; }
.is-sending .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* WebMCP: realce quando um agente preenche o formulário */
form:tool-form-active { outline: 1px dashed var(--wine); outline-offset: 12px; }
button:tool-submit-active { outline: 1px dashed var(--wine); outline-offset: 4px; }
.form.is-agent-filled { outline: 1px dashed var(--wine); outline-offset: 12px; }
.agent-note { display: none; font-size: 14px; margin-bottom: 20px; padding: 12px 16px; background: var(--linen); border-left: 2px solid var(--wine); }
.is-agent-filled .agent-note { display: block; }

/* ---------- 16. Rodapé ---------- */
.site-footer { background: var(--charcoal); color: #BDB3A8; padding: 60px 0 40px; font-size: 13px; }
.site-footer .f1 { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.site-footer img { height: 30px; width: auto; }
.site-footer a { border-bottom: 1px solid transparent; }
.site-footer a:hover { border-color: currentColor; }
.site-footer .links { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- 17. WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--charcoal);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.5);
  transition: opacity .4s, transform .4s;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float svg { width: 26px; height: 26px; }

/* ---------- 18. Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20,17,15,.96);
  display: none;
  align-items: center; justify-content: center;
  padding: 6vh 4vw 12vh;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 80vh; max-width: 88vw; width: auto; height: auto; object-fit: contain; }
.lightbox__btn { position: absolute; color: #fff; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; padding: 16px; }
.lightbox__close { top: 10px; right: 16px; }
.lightbox__prev { left: 10px; top: 50%; transform: translateY(-50%); font-size: 24px; }
.lightbox__next { right: 10px; top: 50%; transform: translateY(-50%); font-size: 24px; }
.lightbox__cta { bottom: 24px; left: 50%; transform: translateX(-50%); border: 1px solid rgba(255,255,255,.5); padding: 12px 22px; font-size: 11px; white-space: nowrap; }
.lightbox__cta:hover { background: #fff; color: var(--charcoal); }
.lightbox__count { position: absolute; top: 24px; left: 24px; color: rgba(255,255,255,.6); font-size: 12px; letter-spacing: .2em; }

/* ---------- 19. Consentimento de cookies ---------- */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150;
  max-width: 560px;
  background: var(--linen);
  color: var(--charcoal);
  padding: 20px 22px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.45);
  border: 1px solid rgba(0,0,0,.06);
  font-size: 14px;
}
.consent p { margin-bottom: 14px; }
.consent a { border-bottom: 1px solid currentColor; }
.consent__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent .btn { min-height: 0; padding: 10px 16px; font-size: 11px; }

/* ---------- 20. Animação de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .hero__photo img { animation: none; }
}

/* ---------- 21. Páginas internas (privacidade / 404) ---------- */
.page { max-width: 760px; margin: 0 auto; padding: 80px var(--gutter) 120px; }
.page h1 { font-size: clamp(44px, 6vw, 72px); margin: 16px 0 32px; }
.page h2 { font-size: 30px; margin: 40px 0 12px; font-weight: 400; }
.page p, .page li { color: #3a3531; margin-bottom: 12px; }
.page ul { padding-left: 20px; }
.page a { border-bottom: 1px solid currentColor; }
