/* ==========================================================================
   Silvia | Mini Art — landing page styles
   Extracted from the Claude Design source (Landing mini_art74 v4.dc.html)
   ========================================================================== */

/* ---- Design tokens ---- */
:root {
  --color-bg: #fff1de;
  --color-ink: #201f1d;
  --color-ink-soft: rgba(32, 31, 29, .8);
  --color-ink-softer: rgba(32, 31, 29, .75);
  --color-ink-faint: rgba(32, 31, 29, .65);

  --color-accent: #a8431f;
  --color-accent-hover: #c05a2c;
  --color-accent-2: #b68235;
  --color-divider: rgba(192, 90, 44, .32);
  --color-divider-strong: rgba(192, 90, 44, .45);

  --color-panel: #ffe0c2;
  --color-panel-2: #ffd3ab;

  --color-dark-1: #3a270d;
  --color-dark-2: #2a1c09;
  --color-dark-3: #4a2a12;
  --color-cream: #fff3e4;
  --color-gold: #e1ad66;

  --gradient-whatsapp: linear-gradient(135deg, #3ad46f, #12a95a 55%, #0b7f52);
  --gradient-instagram: linear-gradient(45deg, #f9ce34, #ee2a7b 48%, #6228d7);

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Lora', Georgia, serif;

  --rail-width: clamp(44px, 6vw, 96px);
  --gutter: clamp(14px, 3.5vw, 52px);
}

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  text-wrap: pretty;
}
h1, h2, h3 { font-family: var(--font-heading); margin: 0; }
a { color: var(--color-accent); }
a:hover { color: var(--color-accent-hover); }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--color-accent-hover); outline-offset: 3px; }
::selection { background: rgba(192, 90, 44, .25); }
html, body { overflow-x: clip; }

/* ---- Animations ---- */
@keyframes riseIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes ruleIn { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: scaleX(1); } }
@keyframes plateIn { from { opacity: 0; transform: translateY(26px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4%, -3%, 0) scale(1.12); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes floaty {
  0% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
  100% { transform: translateY(0); }
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes glow {
  0%, 100% { box-shadow: 0 6px 18px rgba(37, 211, 102, .28); }
  50% { box-shadow: 0 10px 30px rgba(37, 211, 102, .5); }
}
@keyframes sheen {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(220%); }
}

[data-reveal] { opacity: 0; }
[data-reveal].is-in { animation: riseIn .9s cubic-bezier(.2, .7, .2, 1) both; }
[data-reveal][data-plate].is-in { animation: plateIn 1.05s cubic-bezier(.2, .7, .2, 1) both; }
/* opacity, not transform:scaleX(0), hides this pre-reveal: a scaled-to-zero
   element has zero area, which IntersectionObserver can fail to ever report
   as intersecting, so the reveal never fires and it's stuck as a sliver. */
[data-reveal][data-rule] { opacity: 0; transform-origin: left; }
[data-reveal][data-rule].is-in { animation: ruleIn 1.2s cubic-bezier(.2, .7, .2, 1) both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---- Page shell (rail + content grid) ---- */
.page {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: var(--rail-width) minmax(0, 1fr);
}
.full-bleed {
  grid-column: 1 / -1;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* ---- Header / nav ---- */
.site-header {
  grid-column: 1 / -1;
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px 16px;
  flex-wrap: nowrap;
  padding: 12px 0;
  animation: fadeIn .9s ease both;
  /* A sticky element with a blurred (backdrop-filter) background is a known
     trigger for mobile Chrome/Safari to occasionally repaint it a frame
     late during scroll, so its content (the nav icons) can flash shifted
     up and clipped against the header's own edge mid-scroll. Forcing this
     onto its own GPU compositing layer keeps that repaint in sync. */
  transform: translateZ(0);
}
.site-header::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 100vw;
  margin-left: -50vw;
  z-index: -1;
  background: rgba(255, 241, 222, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-divider);
}
.nav-edge {
  flex-basis: 0;
  flex-grow: 1;
  transition: flex-grow .8s cubic-bezier(.2, .7, .2, 1);
}
.site-header.nav-scrolled .nav-edge { flex-grow: 0; }
.brand {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -.01em;
  white-space: nowrap;
  flex-shrink: 0;
}
.tagline {
  flex-shrink: 1;
  flex-basis: auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-ink-softer);
  flex-grow: 0;
  transition: flex-grow .8s cubic-bezier(.2, .7, .2, 1);
}
.site-header.nav-scrolled .tagline { flex-grow: 1; }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  overflow: hidden;
  /* This box fits its buttons exactly, so their :hover lift (translateY)
     had nowhere to go but past this own overflow:hidden edge, clipping
     their top. A few px of padding gives the lift room; the negative
     margin cancels it back out so the header's own height/alignment
     doesn't shift. */
  padding: 4px 0;
  margin: -4px 0;
  max-width: 0px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px);
  transition: max-width .8s cubic-bezier(.2, .7, .2, 1), opacity .5s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
}
.site-header.nav-scrolled .nav-cta {
  max-width: 520px;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
/* The header sits on the page background, not a white card, so the pill
   buttons' drop shadow (meant to lift them off content lower on the page)
   just reads as a stray halo around the small nav icons here. */
.nav-cta .btn, .nav-cta .btn:hover { box-shadow: none; }
/* .btn's overflow:hidden exists only to contain the .btn-glow sheen sweep,
   which these icon-only nav buttons never use. Left on, it combines with
   the round border-radius and the hover lift (transform:translateY) to
   trigger a known browser bug where the rounded clip is briefly
   recalculated wrong, visibly slicing a flat edge off the circle mid-hover. */
.nav-cta .btn { overflow: visible; }
@media (max-width: 480px) {
  /* Not enough header width for full text buttons once the brand name and
     scrolled-in nav-cta both need room — collapse to icon-only circles. */
  .nav-cta .btn { padding: 0; width: 38px; min-height: 38px; justify-content: center; }
  .nav-cta-label {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
  }
  .site-header.nav-scrolled .nav-cta { max-width: 100px; margin-left: auto; }
  .tagline-extra { display: none; }
  .site-header.nav-scrolled .tagline { display: none; }
}

/* ---- Buttons ---- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease, filter .3s ease;
}
/* Overrides the global a:hover color rule, which otherwise wins (higher
   specificity than .btn's own color) and swaps the button text to the
   site's accent color on hover — unreadable against the WhatsApp/Instagram
   gradients. */
.btn:hover { color: #fff; transform: translateY(-2px); filter: saturate(1.15); }
.btn-whatsapp { background: var(--gradient-whatsapp); box-shadow: 0 4px 14px rgba(18, 169, 90, .32); }
.btn-whatsapp:hover { box-shadow: 0 8px 22px rgba(18, 169, 90, .45); }
.btn-instagram { background: var(--gradient-instagram); box-shadow: 0 4px 14px rgba(238, 42, 123, .3); }
.btn-instagram:hover { box-shadow: 0 10px 28px rgba(238, 42, 123, .45); }

.btn-sm { min-height: 46px; padding: 0 20px; font-size: 16px; }
.btn-md { min-height: 58px; padding: 0 28px; font-size: 18px; }
.btn-lg { min-height: 60px; padding: 0 30px; font-size: 19px; }
.btn-lg:hover, .btn-md:hover { transform: translateY(-3px); }

.btn-glow { animation: glow 3.4s ease-in-out infinite; }
.btn-glow::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 38%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .35), rgba(255, 255, 255, 0));
  transform: translateX(-120%);
  animation: sheen 3.4s ease-in-out infinite;
}

/* ---- Vertical rail dividers ---- */
.rail {
  position: relative;
  background: linear-gradient(to right,
    transparent calc(50% - .5px),
    var(--color-divider) calc(50% - .5px),
    var(--color-divider) calc(50% + .5px),
    transparent calc(50% + .5px));
}
.rail-inner {
  position: sticky;
  top: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 40px;
}
.rail-inner-numbered { gap: 12px; padding-top: clamp(58px, 7vw, 112px); }
.rail-num {
  font-family: var(--font-heading);
  font-size: 15px;
  letter-spacing: .06em;
  color: var(--color-accent);
  background: var(--color-bg);
  padding: 8px 0;
  font-variant-numeric: tabular-nums;
}
.rail-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 10.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--color-ink-softer);
  background: var(--color-bg);
  padding: 12px 0;
}

/* ---- Shared text bits ---- */
.eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 12px;
}
.eyebrow-dark { color: var(--color-gold); margin-bottom: 14px; }
.plate-caption {
  display: flex;
  gap: 8px;
  font-size: 11px;
  margin-top: 8px;
  color: var(--color-ink-faint);
}
.plate-num { color: var(--color-accent); font-variant-numeric: tabular-nums; }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: calc(100svh - 82px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 3.5vw, 52px) 0 clamp(20px, 3vw, 40px);
  padding-left: clamp(16px, 2.6vw, 48px);
}
.hero-blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.hero-blob-a {
  top: 4%; right: 5%; width: 34%; aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, rgba(240, 150, 90, .26), rgba(255, 205, 140, .12) 42%, rgba(255, 241, 222, 0) 70%);
  animation: drift 16s ease-in-out infinite;
}
.hero-blob-b {
  bottom: 6%; left: 12%; width: 38%; aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, rgba(182, 130, 53, .28), rgba(255, 241, 222, 0) 70%);
  filter: blur(4px);
  animation: drift 22s ease-in-out infinite reverse;
}
.hero-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(26px, 3.6vw, 56px);
  align-items: center;
}
.hero-content { flex: 1 1 400px; min-width: 290px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--color-accent); margin: 0 0 18px;
  animation: fadeIn 1s ease both;
}
.eyebrow-rule { display: inline-block; width: 26px; height: 1px; background: var(--color-accent-hover); }
.hero-title {
  font-weight: 400;
  font-size: clamp(34px, 4.5vw, 64px);
  line-height: 1.08;
  letter-spacing: -.012em;
  text-wrap: pretty;
}
.hero-line { display: block; animation: riseIn 1s cubic-bezier(.2, .7, .2, 1) both; }
.hero-line-accent { color: var(--color-accent); animation-delay: .24s; }
.hero-rule {
  display: block;
  height: 2px;
  width: min(320px, 60%);
  margin: 20px 0 0;
  background: linear-gradient(to right, var(--color-accent-hover), var(--color-accent-2));
}
.hero-lead {
  font-size: 17px;
  line-height: 29px;
  max-width: 50ch;
  color: var(--color-ink-soft);
  margin: 22px 0 0;
  animation: riseIn 1s cubic-bezier(.2, .7, .2, 1) both;
  animation-delay: .38s;
}
.hero-trust {
  font-size: 12.5px;
  color: var(--color-ink-softer);
  margin: 14px 0 0;
  animation: riseIn 1s cubic-bezier(.2, .7, .2, 1) both;
  animation-delay: .5s;
}
.hero-actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-top: 28px;
  animation: riseIn 1s cubic-bezier(.2, .7, .2, 1) both;
  animation-delay: .6s;
}
.hero-actions .btn { width: 100%; padding: 0 14px; gap: 8px; }
@media (max-width: 1200px) {
  .hero-actions { grid-template-columns: minmax(0, max-content); }
}
.hero-media {
  flex: 1 1 340px; min-width: 270px; max-width: 460px; margin: 0;
  animation: plateIn 1.2s cubic-bezier(.2, .7, .2, 1) both;
  animation-delay: .24s;
}
.hero-frame {
  border: 7px solid var(--color-panel);
  outline: 1px solid var(--color-divider-strong);
  box-shadow: 0 14px 34px rgba(120, 60, 20, .18);
  filter: saturate(1.1) contrast(1.03);
  overflow: hidden;
  animation: floaty 7s ease-in-out infinite;
}
.hero-frame img {
  width: 100%; height: auto; aspect-ratio: 900 / 812; object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
}
@media (hover: hover) {
  .hero-frame:hover img { transform: scale(1.05); }
}
@media (max-width: 640px) {
  .hero { justify-content: flex-start; padding-top: 18px; padding-bottom: 22px; }
  .hero-inner { gap: 48px; }
  .hero-eyebrow { margin-bottom: 10px; }
  .hero-title { font-size: 30px; }
  .hero-rule { margin-top: 14px; }
  .hero-lead { font-size: 15.5px; line-height: 25px; margin-top: 14px; }
  .hero-trust { margin-top: 10px; }
  .hero-actions { margin-top: 18px; gap: 10px; }
  .hero-actions .btn { min-height: 52px; font-size: 17px; }
  .hero-media { min-width: 0; max-width: 320px; margin: 0 auto; position: relative; left: calc((var(--rail-width) + clamp(16px, 2.6vw, 48px)) / -2); }
}
@media (max-height: 820px) and (max-width: 640px) {
  .hero { padding-top: 12px; padding-bottom: 14px; }
  .hero-inner { gap: 22px; }
  .hero-eyebrow { margin-bottom: 6px; font-size: 10px; }
  .hero-title { font-size: 23px; }
  .hero-rule { margin-top: 8px; }
  .hero-lead { font-size: 13.5px; line-height: 20px; margin-top: 8px; }
  .hero-trust { margin-top: 6px; font-size: 11px; }
  .hero-actions { margin-top: 12px; gap: 8px; }
  .hero-actions .btn { min-height: 44px; font-size: 15px; }
  .hero-media { max-width: 170px; }
  .hero-media .plate-caption { margin-top: 5px; font-size: 10px; }
}

/* ---- Ao detalhe (zoom detail) ---- */
.detail-section {
  margin-top: clamp(40px, 5vw, 72px);
  padding: clamp(48px, 5.6vw, 84px) clamp(20px, 4.5vw, 72px) clamp(38px, 4.6vw, 68px);
  background: linear-gradient(135deg, var(--color-panel), var(--color-panel-2) 55%, #ffe6cd);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}
.detail-intro { max-width: 52ch; margin: 0 0 clamp(24px, 3vw, 38px); }
.detail-intro h2 { font-size: clamp(27px, 3vw, 38px); line-height: 1.14; }
.detail-intro p { font-size: 15.5px; line-height: 28px; color: var(--color-ink-soft); margin: 16px 0 0; }
.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(18px, 2.4vw, 34px);
}
@media (max-width: 899px) {
  .detail-grid { grid-template-columns: 1fr; }
}
.detail-item { margin: 0; }
@media (max-width: 899px) {
  .detail-item { max-width: 85%; margin: 0 auto; }
}
.detail-frame {
  border: 7px solid var(--color-bg);
  outline: 1px solid var(--color-divider-strong);
  box-shadow: 0 10px 26px rgba(120, 60, 20, .16);
  filter: saturate(1.12) contrast(1.04);
  overflow: hidden;
}
.zoom-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transform: scale(2);
  transition: transform 1.4s cubic-bezier(.2, .7, .2, 1);
}
@media (hover: hover) {
  .detail-frame:hover .zoom-img { transform: scale(2.45); }
}
.detail-item figcaption {
  font-size: 12.5px; line-height: 21px; color: var(--color-ink-softer); margin-top: 9px;
}
.detail-cta {
  font-size: 13px; color: var(--color-ink-softer);
  margin: clamp(24px, 3vw, 38px) 0 0;
}
.detail-cta a { font-weight: 600; }

/* ---- O arquivo (gallery) ---- */
.archive-section {
  border-top: 1px solid var(--color-divider);
  padding: clamp(58px, 7vw, 112px) 0 clamp(44px, 5vw, 72px);
  padding-left: clamp(16px, 2.6vw, 48px);
  scroll-margin-top: 80px;
}
.archive-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px;
}
.archive-head h2 {
  font-size: clamp(29px, 3.3vw, 42px); line-height: 1.12; letter-spacing: -.008em; max-width: 26ch;
}
.archive-counter {
  font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--color-ink-softer); font-variant-numeric: tabular-nums;
}
.archive-intro {
  font-size: 15.5px; line-height: 26px; color: var(--color-ink-soft);
  margin: 10px 0 0; max-width: 60ch;
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: clamp(18px, 2.2vw, 30px);
  margin-top: 32px;
}
.archive-card { margin: 0; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.archive-card:hover { transform: translateY(-6px); }
.archive-frame {
  border: 7px solid var(--color-panel);
  outline: 1px solid var(--color-divider);
  box-shadow: 0 6px 18px rgba(120, 60, 20, .12);
  filter: saturate(1.1) contrast(1.03);
  overflow: hidden;
}
.archive-frame img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
}
@media (hover: hover) {
  .archive-frame:hover img { transform: scale(1.07); }
}
.archive-cta {
  font-size: 13px; line-height: 22px; color: var(--color-ink-softer);
  margin: 24px 0 0; border-top: 1px solid var(--color-divider);
  /* Matches .archive-section's own padding-bottom (the gap from this text
     down to the next section's top border) so the text sits centered
     between its two bordering lines instead of hugging the top one. */
  padding-top: calc(clamp(44px, 5vw, 72px) - 1px);
}
.archive-cta a { font-weight: 600; }

/* ---- A encomenda (process) ---- */
.process-section {
  border-top: 1px solid var(--color-divider);
  padding: clamp(58px, 7vw, 112px) 0 clamp(52px, 6vw, 88px);
  padding-left: clamp(16px, 2.6vw, 48px);
}
.process-section > h2 {
  font-size: clamp(29px, 3.3vw, 42px); line-height: 1.12; letter-spacing: -.008em; max-width: 30ch;
}
.process-rule {
  height: 2px;
  background: linear-gradient(to right, var(--color-accent-hover), rgba(182, 130, 53, .5));
  margin: 30px 0 0;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(24px, 3vw, 52px);
}
@media (max-width: 920px) {
  .process-grid { grid-template-columns: 1fr; }
}
.process-step { max-width: 60ch; padding-top: 22px; }
.process-dot {
  display: block; width: 11px; height: 11px;
  border: 1px solid var(--color-accent-hover); background: var(--color-panel);
  border-radius: 50%; margin: -28px 0 18px;
}
.process-num {
  font-size: 22px; line-height: 1.2; font-variant-numeric: tabular-nums;
  color: var(--color-accent); margin: 0 0 8px;
}
.process-step h3 { font-weight: 600; font-size: 21px; line-height: 1.2; }
.process-step p { font-size: 15.5px; line-height: 28px; color: var(--color-ink-soft); margin: 12px 0 0; }
.process-prices {
  font-size: 13px; line-height: 22px; color: var(--color-ink-softer);
  margin: clamp(24px, 3vw, 38px) 0 0; border-top: 1px solid var(--color-divider);
  /* Matches .process-section's own padding-bottom (the gap from the CTA
     block down to the next section's top border) so the price/button/note
     block sits centered between its two bordering lines. */
  padding-top: calc(clamp(52px, 6vw, 88px) - 1px);
}
.process-cta {
  display: flex; align-items: center; justify-content: flex-start; gap: 16px; flex-wrap: wrap;
  margin-top: clamp(20px, 2.4vw, 32px);
}
.process-cta-note { font-size: 12.5px; color: var(--color-ink-softer); }
@media (max-width: 800px) {
  .process-cta { justify-content: center; }
}
@media (max-width: 640px) {
  .process-cta { position: relative; left: calc((var(--rail-width) + clamp(16px, 2.6vw, 48px)) / -2); }
}

/* ---- A bancada (about) ---- */
.about-section {
  border-top: 1px solid var(--color-divider);
  display: flex; flex-wrap: wrap; gap: clamp(26px, 4vw, 72px); align-items: center;
  padding: clamp(58px, 7vw, 112px) 0 clamp(52px, 6vw, 88px);
  padding-left: clamp(16px, 2.6vw, 48px);
}
.about-text { flex: 1 1 360px; min-width: 280px; }
.about-text h2 { font-size: clamp(27px, 3.1vw, 38px); line-height: 1.14; letter-spacing: -.008em; }
.about-text p {
  font-size: 15.5px; line-height: 28px; text-align: justify; hyphens: auto;
  color: var(--color-ink-soft); margin: 18px 0 0; max-width: 50ch;
}
.about-tools {
  font-size: 11.5px !important; line-height: 20px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--color-accent) !important; margin: 22px 0 0 !important;
  /* Same fix as .archive-cta / .process-prices: match the section's own
     padding-bottom so this isn't hugging its divider line. */
  padding-top: calc(clamp(52px, 6vw, 88px) - 1px);
  border-top: 1px solid var(--color-divider); text-align: left !important;
}
.about-cta {
  font-size: 13px !important; color: var(--color-ink-softer) !important;
  margin: 16px 0 0 !important; text-align: left !important;
}
.about-cta a { font-weight: 600; }
.about-media { flex: 1 1 300px; min-width: 250px; max-width: 400px; margin: 0 auto; }
@media (max-width: 640px) {
  .about-media { position: relative; left: calc((var(--rail-width) + clamp(16px, 2.6vw, 48px)) / -2); }
}
.about-frame {
  border: 7px solid var(--color-panel);
  outline: 1px solid var(--color-divider-strong);
  box-shadow: 0 12px 30px rgba(120, 60, 20, .16);
  filter: saturate(1.1) contrast(1.03);
  overflow: hidden;
  animation: floaty 9s ease-in-out infinite;
}
.about-frame img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
}
@media (hover: hover) {
  .about-frame:hover img { transform: scale(1.05); }
}

/* ---- Esta semana (Instagram marquee) ---- */
.feed-section {
  padding: clamp(40px, 5vw, 72px) 0;
  background: linear-gradient(180deg, var(--color-dark-1), var(--color-dark-2));
  color: var(--color-cream);
  overflow: hidden;
}
.feed-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  padding: 0 clamp(20px, 4.5vw, 72px);
  margin-bottom: 26px;
}
@media (max-width: 800px) {
  .feed-head > a.btn { margin: 0 auto; }
}
.feed-head h2 { font-size: clamp(25px, 2.7vw, 34px); line-height: 1.14; }
.feed-intro { font-size: 14px; line-height: 24px; color: rgba(255, 243, 228, .82); margin: 8px 0 0; max-width: 50ch; }
.feed-track {
  display: flex; width: max-content; gap: 14px;
  animation: marquee 42s linear infinite;
}
.feed-track:hover { animation-play-state: paused; }
.feed-post { position: relative; flex: none; width: 260px; aspect-ratio: 1; margin: 0; }
.feed-post img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border: 5px solid rgba(255, 243, 228, .14);
}
.feed-likes {
  position: absolute; left: 13px; bottom: 13px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: 100px;
  background: rgba(0, 0, 0, .55); backdrop-filter: blur(2px);
  color: #fff; font-size: 12.5px; font-weight: 600; line-height: 1;
}
.feed-likes svg { width: 13px; height: 13px; flex: none; color: #ff3b5c; }

/* ---- O essencial ---- */
.essentials-section {
  border-top: 1px solid var(--color-divider);
  padding: clamp(58px, 7vw, 112px) 0 clamp(52px, 6vw, 88px);
  padding-left: clamp(16px, 2.6vw, 48px);
}
.essentials-section > h2 { font-size: clamp(25px, 2.7vw, 34px); line-height: 1.14; margin-bottom: 22px; }
.essentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(20px, 2.6vw, 44px);
  max-width: 1000px;
}
@media (max-width: 920px) {
  .essentials-grid { grid-template-columns: 1fr; }
}
.essentials-item { border-top: 1px solid var(--color-divider); padding-top: 16px; }
.essentials-item .eyebrow { margin-bottom: 8px; }
.essentials-item p { font-size: 15.5px; line-height: 28px; color: var(--color-ink-soft); margin: 0; }

/* ---- O teu cenário (final CTA) ---- */
.cta-section {
  position: relative;
  padding: clamp(46px, 5.6vw, 84px) clamp(20px, 4.5vw, 72px);
  background: linear-gradient(135deg, var(--color-dark-1), var(--color-dark-3) 45%, var(--color-dark-2));
  color: var(--color-cream);
  overflow: hidden;
}
.cta-blob {
  position: absolute; top: -30%; left: 40%; width: 60%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 173, 102, .3), rgba(58, 39, 13, 0) 68%);
  animation: drift 20s ease-in-out infinite;
  pointer-events: none;
}
.cta-inner {
  position: relative;
  display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 64px);
  align-items: flex-end; justify-content: space-between;
}
.cta-copy { flex: 1 1 380px; min-width: 280px; }
.cta-copy h2 { font-size: clamp(29px, 3.3vw, 44px); line-height: 1.12; max-width: 24ch; }
.cta-copy p { font-size: 15.5px; line-height: 28px; color: rgba(255, 243, 228, .82); margin: 16px 0 0; max-width: 50ch; }
.cta-actions { flex: 0 1 340px; min-width: 260px; }
.cta-buttons { display: flex; flex-direction: column; gap: 12px; }
.cta-buttons .btn { justify-content: center; }
.cta-note { font-size: 12px; line-height: 20px; color: rgba(255, 243, 228, .65); margin: 12px 0 0; }
@media (max-width: 800px) {
  .cta-actions { max-width: 420px; margin: 0 auto; }
  .cta-note { text-align: center; }
}

/* ---- Footer ---- */
.site-footer {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: space-between;
  padding: 26px 0 38px;
  font-size: 13px; line-height: 26px;
  color: var(--color-ink-softer);
}
.site-footer a { text-decoration: underline; text-underline-offset: 2px; }
.footer-col { display: flex; }
.footer-col-right { justify-content: flex-end; }
.footer-sub::before { content: " · "; }
.footer-legal {
  flex-basis: 100%;
  text-align: center;
  font-size: 12px;
  padding-top: 14px;
  margin-top: 4px;
  border-top: 1px solid var(--color-divider);
}
.footer-legal a { color: var(--color-ink-softer); }
@media (max-width: 480px) {
  .site-footer { padding: 20px 0 22px; }
  .footer-col, .footer-col-right { flex-direction: column; gap: 2px; line-height: 18px; }
  .footer-col-right { align-items: flex-end; }
  .footer-sub::before { content: none; }
}

/* ---- Narrow-phone safety net ----
   Several flex items across the page carry a min-width tuned for tablet/
   desktop wrapping. On very narrow phones (~320-360px, common on older/
   budget Android devices) that min-width can exceed the available column
   width and force horizontal page scroll. Neutralise it below the width
   where any of these min-widths would actually bite. */
@media (max-width: 480px) {
  .hero-content,
  .about-text,
  .about-media,
  .cta-copy,
  .cta-actions {
    min-width: 0;
  }
}

/* ---- Mobile: center everything ----
   On phones, switch every section from the left/rail-aligned editorial
   layout to a centered single-column layout, matching the hero photo. */
@media (max-width: 640px) {
  /* Pull the rail column closer to the screen edge, and give that freed-up
     space to the sections' own left padding instead — so the rail sits
     nearer the edge while gaining more breathing room from the content,
     rather than crowding it. Content's rendered position is unaffected:
     the shift rule below still adds/subtracts the same original padding
     value, so the two changes cancel out exactly. */
  .page { padding-left: 0px; }
  .hero, .archive-section, .process-section, .about-section, .essentials-section {
    padding-left: calc(clamp(16px, 2.6vw, 48px) + var(--gutter));
  }

  /* Sections that are NOT .full-bleed still sit in the page's rail grid
     column, so their box is offset to the right of true viewport-center by
     half the rail + section padding — the same asymmetry .hero-media,
     .about-media and .process-cta were already shifted to correct. text-align
     and margin-inline:auto only center content *within* that offset box, so
     without this shift, text lands left of where the (already-corrected)
     photos sit. .full-bleed sections (detail-section, feed-section,
     cta-section) have no rail column and don't need it. */
  .hero-content,
  .archive-head, .archive-intro, .archive-grid, .archive-cta,
  .process-section > h2, .process-rule, .process-grid, .process-prices,
  .about-text,
  .essentials-section > h2, .essentials-grid {
    position: relative;
    left: calc((var(--rail-width) + clamp(16px, 2.6vw, 48px)) / -2);
  }

  /* Hero */
  .hero-content { text-align: center; }
  .hero-eyebrow { justify-content: center; }
  /* This was a left-prefix dash for left-aligned desktop text. Centered and
     wrapped over two lines on phones, a matching dash on the right would
     land after "Portugal" on the second line, not mirrored — so drop it
     instead of trying to balance it. */
  .eyebrow-rule { display: none; }
  /* The "·" separator in the eyebrow text lands at the end of the first
     wrapped line on phones, reading as a stray dot — hide it, the space
     around it (kept outside this span) still separates the two phrases. */
  .eyebrow-sep { display: none; }
  .hero-rule { margin-inline: auto; }
  .hero-lead { margin-inline: auto; }
  /* .hero-actions is a single-column grid whose track shrinks to the
     buttons' content width, but the grid box itself stays full-width —
     margin-inline:auto has no extra space to center, since the box isn't
     narrower than its container. justify-content centers the track itself. */
  .hero-actions { justify-content: center; }

  /* Ao detalhe */
  .detail-section { text-align: center; }
  .detail-intro { margin-inline: auto; }
  .detail-cta { text-align: center; }

  /* O arquivo */
  .archive-section { text-align: center; }
  .archive-head { justify-content: center; }
  .archive-intro { margin-inline: auto; }
  .archive-cta { text-align: center; }

  /* Como funciona */
  .process-section { text-align: center; }
  .process-rule { margin-inline: auto; }
  .process-step { margin-inline: auto; }
  .process-dot { margin-inline: auto; }
  .process-prices { margin-inline: auto; }

  /* Quem faz */
  .about-section { text-align: center; }
  .about-text p { text-align: center; }
  .about-tools { text-align: center !important; border-top: none; }
  .about-cta { text-align: center !important; }

  /* Esta semana */
  .feed-head { justify-content: center; text-align: center; }
  .feed-head > div { margin-inline: auto; }
  .feed-intro { margin-inline: auto; }

  /* O essencial */
  .essentials-section { text-align: center; }
  .essentials-item { text-align: center; }

  /* O teu cenário */
  .cta-inner { justify-content: center; text-align: center; }
  .cta-copy { margin-inline: auto; }
  .cta-copy p { margin-inline: auto; }

  /* Shared: image captions and gallery heads are flex rows, not plain
     text — text-align doesn't touch them, they need justify-content. */
  .plate-caption { justify-content: center; }
}
