:root {
  --bg-primary: #0A0A0F;
  --bg-card:    #12121A;
  --accent:     #FF1C42;
  --accent-2:   #690415;
  --grad:       linear-gradient(90deg, #FF1C42 0%, #690415 100%);
  --grad-v:     linear-gradient(180deg, #FF1C42 0%, #690415 100%);
  --text-primary:   #F0F0F5;
  --text-secondary: #8A8A9A;
  --text-muted:     #5A5A6A;
  --whatsapp:   #25D366;
  --border:     rgba(255,255,255,0.06);
  --light-bg:   #F0F0F5;
  --light-text: #1A1A2E;
  --light-text-2:#333333;

  --container: 1280px;
  --pad-x: 32px;

  --font-display: "dharma-gothic-e", "Oswald", "Anton", "Bebas Neue", "Impact", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg-primary); color: var(--text-primary); }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.font-display { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.005em; }
.uc { text-transform: uppercase; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad-x); }

main, .footer {
  width: 100%;
}

/* Hide scrollbar — keep scroll behavior */
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body { -ms-overflow-style: none; }

section { padding: 120px 0; position: relative; }

/* ─── Gradual blur (viewport-fixed editorial fade) ───────────────── */
.viewport-blur-bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  pointer-events: none;
  z-index: 50;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(to top, black, transparent);
          mask-image: linear-gradient(to top, black, transparent);
  transition: opacity 320ms ease;
}
.viewport-blur-bottom.is-hidden { opacity: 0; }

.section-label {
  position: absolute;
  top: 48px; left: var(--pad-x);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  z-index: 2;
}
.section-label::before {
  content: "";
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--text-muted);
  vertical-align: middle;
  margin-right: 12px;
  transform: translateY(-2px);
}

/* ─── Buttons ────────────────────────────────────────────────────── */
.btn-edit {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 40px;
  border: 1px solid #f0f0f5;
  background: transparent;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background 500ms cubic-bezier(0.4, 0, 0.2, 1), color 500ms cubic-bezier(0.4, 0, 0.2, 1), border-color 500ms cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-edit:hover { background: #f0f0f5; color: #0a0a0f; }
.servicos .btn-edit:hover { background: var(--accent); color: #ffffff; border-color: var(--accent); }
.btn-edit .arr {
  display: inline-flex; align-items: center; line-height: 0;
  transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-edit:hover .arr { transform: translateX(4px); }

.btn-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 40px;
  background: var(--whatsapp);
  color: #fff;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
  border-radius: 0;
  cursor: pointer;
  border: 0;
  text-decoration: none;
  transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 500ms cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-wa:hover { transform: scale(1.02); box-shadow: 0 0 40px rgba(37,211,102,0.35); }

/* ─── Photo placeholder (striped only, no labels) ────────────────── */
.ph {
  position: relative;
  width: 100%; height: 100%;
  background-color: #12121A;
  background-image: repeating-linear-gradient(135deg,
    rgba(240,240,245,0.04) 0 1px,
    rgba(240,240,245,0)    1px 12px);
  border: 1px solid rgba(255,255,255,0.04);
  overflow: hidden;
}
.ph.ph-light {
  background-color: #e4e4ea;
  background-image: repeating-linear-gradient(135deg,
    rgba(26,26,46,0.05) 0 1px,
    rgba(26,26,46,0)    1px 12px);
  border-color: rgba(26,26,46,0.06);
}

/* ─── HERO — flex stack layout ─────────────────────────────────────── */
.hero {
  background-color: #12121a;
  background-image:
    radial-gradient(ellipse 65% 55% at 50% 40%, transparent 0%, transparent 28%, #12121a 88%),
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 100% 100%, 100% 200px, 200px 100%;
  background-position: 0 0, 0 0, 0 0;
  background-repeat: no-repeat, repeat, repeat;
  padding: 254px 0 100px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
}
@keyframes hero-glow-pulse {
  0%, 100% { opacity: 0.65; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.06); }
}
.hero-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 40%, black 0%, black 28%, transparent 88%);
          mask-image: radial-gradient(ellipse 65% 55% at 50% 40%, black 0%, black 28%, transparent 88%);
}
.hero-dots .dot-pos {
  position: absolute;
  transition: transform 280ms cubic-bezier(0.2, 0.7, 0.3, 1);
  will-change: transform;
}
.hero-dots .dot {
  display: block;
  background: rgba(255,255,255,0.45);
  border-radius: 50%;
  animation-name: float-dot;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  will-change: transform, opacity;
}
@keyframes float-dot {
  0%, 100% { transform: translate(0, 0); opacity: 0.4; }
  25%      { transform: translate(var(--dx1, 100px), var(--dy1, -80px)); opacity: 0.9; }
  50%      { transform: translate(var(--dx2, -120px), var(--dy2, 60px)); opacity: 0.55; }
  75%      { transform: translate(var(--dx3, 80px), var(--dy3, 120px)); opacity: 0.95; }
}
.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 80px;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at top, rgba(255, 28, 66, 0.18), transparent 65%);
  pointer-events: none;
  z-index: 0;
  transform-origin: top center;
  animation: hero-glow-pulse 4s ease-in-out infinite;
}
.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 80px;
  width: 794px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 20%, var(--accent) 80%, transparent 100%);
  opacity: 0.85;
  z-index: 2;
  pointer-events: none;
}
.hero-stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

/* ─── Scroll cue (editorial column with falling particle) ────────── */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 3;
  pointer-events: none;
  transition: opacity 380ms ease, transform 380ms ease;
}
.scroll-cue-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-cue-line {
  position: relative;
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.scroll-cue-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: -60%;
  width: 100%;
  height: 60%;
  background: linear-gradient(180deg, transparent 0%, var(--accent) 100%);
  animation: scroll-cue-fall 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes scroll-cue-fall {
  0%   { top: -60%; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
.scroll-cue.is-hidden {
  opacity: 0;
  transform: translate(-50%, 12px);
}
.hero-group {
  display: flex;
  align-items: center;
  gap: 30px;
}
.hero-group.group-2 { z-index: 2; margin-top: -10px; }
.hero-line {
  display: block;
  height: 182px;
  flex: 0 0 auto;
}
.hero-line.line-1 { width: 580px; }
.hero-line.line-2 { width: 680px; }
.hero-line svg { width: 100%; height: 100%; display: block; }

.hero-pill {
  position: relative;
  overflow: visible;
  flex: 0 0 auto;
}
.hero-pill.pill-1 { width: 473px; height: 143px; }
.hero-pill.pill-2 { width: 342px; height: 143px; }
.hero-pill img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: block;
  object-fit: cover;
  clip-path: inset(0 round 30px);
}
.hero-pill.pill-1 img { height: 286px; }
.hero-pill.pill-2 img { height: 230px; }
.hero .sub {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 28px;
  line-height: 32px;
  color: #8a8a9a;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
  white-space: nowrap;
}
.hero .cta-row {
  width: auto;
  display: block;
}
/* hero btn inherits from .btn-edit */

/* ─── GALERIA ────────────────────────────────────────────────────── */
.galeria-head {
  display: flex; align-items: end; justify-content: space-between;
  margin-bottom: 56px;
  gap: 24px;
}
.galeria-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(60px, 7.5vw, 96px);
  line-height: 0.9;
  text-transform: uppercase;
  margin: 0;
  color: var(--text-primary);
}
.galeria-head .meta {
  font-size: 13px; letter-spacing: 0; text-transform: none;
  color: var(--text-muted);
  text-align: right;
  font-weight: 400;
}
.servicos-head .meta, .como-head .meta {
  font-size: 13px; letter-spacing: 0; text-transform: none;
  color: var(--text-muted);
  text-align: right;
  font-weight: 400;
}
/* Uniform 4:5 grid — all photos same size */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.g-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 5;
}
.g-item .ph { transition: transform 400ms ease, filter 400ms ease; filter: saturate(0.9); height: 100%; width: 100%; }
.g-item .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-item:hover .ph { transform: scale(1.03); filter: saturate(1.1); }

/* ─── SERVIÇOS ───────────────────────────────────────────────────── */
.servicos {
  background: var(--bg-card);
  position: relative;
  overflow: clip;
}
.servicos > .container {
  position: relative;
  z-index: 1;
}
.servicos > .container::before,
.servicos > .container::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(255,255,255,0.10) 25%,
    rgba(255,255,255,0.10) 75%,
    transparent 100%);
  pointer-events: none;
}
.servicos > .container::before { left: 0; }
.servicos > .container::after { right: 0; }
.servicos-head {
  display: flex; align-items: end; justify-content: space-between;
  margin-bottom: 24px;
  gap: 24px;
}
.servicos-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(60px, 7.5vw, 96px);
  line-height: 0.9;
  text-transform: uppercase;
  margin: 0;
}
.serv-list { position: relative; }
.serv-list::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.18) 50%,
    transparent 100%);
  pointer-events: none;
}
.serv {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
  padding: 56px 0 56px 360px;
}
.serv::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.18) 50%,
    transparent 100%);
  pointer-events: none;
}
.serv {
  transition: background 500ms cubic-bezier(0.4, 0, 0.2, 1);
}
.serv:hover { background: rgba(255,255,255,0.025); }
.serv:hover .serv-num { opacity: 0.22; transform: translateY(-50%) translateX(8px); }
.serv-num { transition: opacity 700ms ease, transform 700ms ease; }
.serv-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 200px;
  line-height: 1;
  color: var(--text-primary);
  opacity: 0.12;
  position: absolute;
  left: 12px; top: 50%; transform: translateY(-50%);
  pointer-events: none;
  letter-spacing: -0.02em;
}
.serv-key {
  font-family: var(--font-body);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  position: relative; z-index: 1;
  font-weight: 500;
}
.serv-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0;
  position: relative; z-index: 1;
  color: var(--text-primary);
}
.serv-desc {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 520px;
  margin: 0;
  position: relative; z-index: 1;
}

.servicos-cta { margin-top: 56px; display: flex; justify-content: center; }

/* ─── COMO FUNCIONA ──────────────────────────────────────────────── */
.como-head { margin-bottom: 72px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.como-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(60px, 7.5vw, 96px);
  line-height: 0.9;
  text-transform: uppercase;
  margin: 0;
}
.como-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.como-flow {
  position: absolute;
  top: -28px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  pointer-events: none;
}
.como-flow::after {
  content: "";
  position: absolute;
  top: 0;
  left: -45%;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 100%);
  opacity: 0;
}
.como-grid.is-flowing .como-flow::after {
  animation: como-flow-slide 4.5s linear infinite;
}
@keyframes como-flow-slide {
  0%   { left: -45%; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
.como-step.reveal {
  transform: translate(-28px, 0);
  transition: opacity 500ms ease, transform 500ms ease;
}
.como-step.reveal.is-in { transform: translate(0, 0); }
.como-step {
  padding: 0 32px;
  border-left: 1px solid var(--border);
  min-height: 220px;
}
.como-step:first-child { border-left: 0; padding-left: 0; }
.como-step:last-child  { padding-right: 0; }
.como-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 88px;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  filter: drop-shadow(0 0 16px rgba(255, 28, 66, 0.35));
  animation: como-num-pulse 3.2s ease-in-out infinite;
}
@keyframes como-num-pulse {
  0%, 100% { filter: drop-shadow(0 0 10px rgba(255, 28, 66, 0.25)); }
  50%      { filter: drop-shadow(0 0 24px rgba(255, 28, 66, 0.55)); }
}
.como-title {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.como-desc {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-secondary);
  line-height: 1.6;
}


/* ─── SOBRE MIM (light) ──────────────────────────────────────────── */
.sobre {
  background: var(--light-bg);
  color: var(--light-text);
  padding: 0;
  position: relative;
}
.sobre .section-label { color: rgba(26,26,46,0.55); top: 32px; }
.sobre-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 620px;
  align-items: stretch;
  gap: 0;
}
.sobre-photo {
  position: relative;
}
.sobre-photo-bg {
  display: none;
}
.sobre-portrait {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  z-index: 1;
  filter: drop-shadow(0 24px 48px rgba(26,26,46,0.18));
}
.sobre-text {
  padding: 80px 80px 80px 56px;
  display: flex; flex-direction: column; justify-content: center;
}
.sobre-text h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(60px, 7vw, 88px);
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0 0 28px;
  color: var(--light-text);
  letter-spacing: -0.005em;
}
.sobre-text p {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--light-text-2);
  line-height: 1.65;
  max-width: 540px;
  margin: 0 0 36px;
}
.sobre-rule {
  width: 120px; height: 2px;
  background: var(--grad);
}

/* ─── CTA FINAL ──────────────────────────────────────────────────── */
.cta-final {
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background-color: #12121a;
  background-image:
    radial-gradient(ellipse 65% 55% at 50% 40%, transparent 0%, transparent 28%, #12121a 88%),
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 100% 100%, 100% 200px, 200px 100%;
  background-position: 0 0, 0 0, 0 0;
  background-repeat: no-repeat, repeat, repeat;
}
.cta-final::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 1000px;
  height: 500px;
  background: radial-gradient(ellipse at bottom, rgba(255,28,66,0.22), transparent 65%);
  pointer-events: none;
  z-index: 0;
  transform-origin: bottom center;
  animation: hero-glow-pulse 4s ease-in-out infinite;
}
.cta-final .btn-wa {
  background: var(--accent);
}
.cta-final .btn-wa:hover {
  box-shadow: 0 0 40px rgba(255, 28, 66, 0.4);
}
.cta-final-accent {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  top: 64px;
  width: 1px; height: 56px;
  background: var(--grad-v);
}
.cta-final h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(64px, 11vw, 140px);
  line-height: 0.86;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
  color: var(--text-primary);
  position: relative; z-index: 1;
}
.cta-final .sub {
  margin: 16px auto 28px;
  max-width: 480px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative; z-index: 1;
}
.cta-final .micro {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--text-muted);
  position: relative; z-index: 1;
  display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}
.cta-final .btn-row { position: relative; z-index: 1; display: flex; justify-content: center; }

/* ─── FOOTER ─────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 20px 0 20px;
  text-align: center;
}
.footer .brand { font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-primary); }
.footer .ig { display: inline-block; margin: 12px 0 4px; font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--text-secondary); transition: color 240ms, transform 240ms; }
.footer .ig:hover { color: var(--accent); transform: scale(1.08); }
.footer .ig-icon { height: 32px; width: auto; max-width: none; display: block; }
.footer .copy { font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--text-muted); }

/* ─── Floating WhatsApp ──────────────────────────────────────────── */
.float-wa {
  position: fixed; bottom: 24px; right: 24px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 18px 40px -10px rgba(37,211,102,0.55);
  transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}
.float-wa::after {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.5);
  animation: wa-pulse 2s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(0.85); opacity: 0.9; }
  100% { transform: scale(1.4); opacity: 0; }
}
.float-wa:hover { transform: scale(1.08); }
.float-wa.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8) translateY(12px);
  transition: opacity 320ms ease, transform 320ms ease;
}

/* ─── Reveal ─────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 800ms ease, transform 800ms ease; }
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* ─── Responsive ─────────────────────────────────────────────────── */
/* desktop default: br is hidden */
.sub-br-mobile { display: none; }

/* ─── Tablet / iPad — 769 to 1100px ──────────────────────────────── */
@media (min-width: 769px) and (max-width: 1100px) {
  :root { --pad-x: 24px; }

  /* Hero — scale ~0.85 to fit tablet landscape */
  .hero { padding: 220px 0 110px; }
  .hero::before { width: 760px; height: 510px; }
  .hero::after { width: 670px; }
  .hero-stack { gap: 25px; }
  .hero-line { height: 154px; }
  .hero-line.line-1 { width: 493px; }
  .hero-line.line-2 { width: 578px; }
  .hero-group { gap: 25px; }
  .hero-group.group-2 { margin-top: -8px; }
  .hero-pill.pill-1 { width: 402px; height: 122px; }
  .hero-pill.pill-2 { width: 291px; height: 122px; }
  .hero-pill.pill-1 img { height: 244px; }
  .hero-pill.pill-2 img { height: 196px; }
  .hero-pill img { clip-path: inset(0 round 25px); }
  .hero .sub { font-size: 24px; line-height: 30px; }
  .hero .btn-edit { padding: 14px 32px; font-size: 22px; }

  /* Galeria — 2 columns */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .galeria-head { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* Serviços — scaled */
  .servicos-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .servicos-head h2 { font-size: 72px; }
  .serv { padding: 48px 0 48px 280px; gap: 40px; }
  .serv-num { font-size: 160px; left: -8px; }
  .serv-title { font-size: 44px; }

  /* Como — 2x2 grid */
  .como-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .como-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .como-step { border-left: 0; border-top: 1px solid var(--border); padding: 24px 0; min-height: auto; }
  .como-step:nth-child(1), .como-step:nth-child(2) { border-top: 0; padding-top: 0; }
  .como-num { font-size: 72px; margin-bottom: 16px; }

  /* Sobre — stack (text top, photo below) */
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-text { order: 1; padding: 48px 32px; max-width: 720px; margin: 0 auto; }
  .sobre-photo { order: 2; min-height: 480px; }

  /* CTA Final */
  .cta-final h2 { font-size: 96px; }
  .cta-final .sub { font-size: 18px; }

  /* Floating UI */
  .float-wa { width: 54px; height: 54px; bottom: 22px; right: 22px; }
}

@media (max-width: 900px) {
  section { padding: 90px 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .galeria-head, .servicos-head, .como-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .servicos-head .meta, .galeria-head .meta, .como-head .meta { text-align: left; }
  .serv {
    grid-template-columns: 1fr;
    gap: 14px; padding: 40px 0;
  }
  .serv:hover { padding-left: 0; padding-right: 0; }
  .serv-num { font-size: 140px; }
  .como-grid { grid-template-columns: 1fr; }
  .como-step { border-left: 0; border-top: 1px solid var(--border); padding: 28px 0; min-height: auto; }
  .como-step:first-child { border-top: 0; padding-top: 0; }
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-photo { min-height: 400px; }
  .sobre-text { padding: 56px 32px; }
}

/* ─── Hero + Galeria — mobile (fixed 320px centered) ─────────────── */
@media (max-width: 768px) {
  :root { --pad-x: 16px; }

  .sub-br-mobile { display: inline; }

  .hero { padding: 130px 0 130px; }
  .hero::before { top: 50px; width: 320px; height: 280px; }
  .hero::after { top: 50px; width: 320px; }

  .hero-stack {
    width: 320px;
    max-width: calc(100% - 32px);
    gap: 18px;
  }

  .hero-line { height: 54px; }
  .hero-line.line-1 { width: 172px; }
  .hero-line.line-2 { width: 202px; }

  .hero-group { gap: 8px; }
  .hero-group.group-2 { margin-top: -4px; }

  .hero-pill.pill-1 { width: 140px; height: 42px; }
  .hero-pill.pill-2 { width: 101px; height: 42px; }
  .hero-pill.pill-1 img { height: 200%; }
  .hero-pill.pill-2 img { height: 161%; }
  .hero-pill img { clip-path: inset(0 round 12px); }

  .hero .sub {
    font-size: 14px;
    line-height: 1.3;
  }
  .hero .btn-edit {
    padding: 12px 24px;
    font-size: 16px;
  }

  .scroll-cue-label { font-size: 9px; }

  /* Section heads — all 320px centered, left-aligned */
  .galeria-head,
  .servicos-head,
  .como-head {
    width: 320px;
    max-width: calc(100% - 32px);
    margin-left: auto;
    margin-right: auto;
  }

  /* Galeria — 1 column, 320px centered */
  .gallery-grid {
    grid-template-columns: 320px;
    justify-content: center;
    gap: 16px;
  }

  /* Serviços — 320px centered */
  .servicos-head h2 { font-size: 48px; }
  .serv-list {
    width: 320px;
    max-width: calc(100% - 32px);
    margin-left: auto;
    margin-right: auto;
  }
  .serv {
    padding: 28px 0;
    grid-template-columns: auto 1fr;
    gap: 0 12px;
    align-items: baseline;
  }
  .serv-num {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    font-size: 28px;
    line-height: 1;
    opacity: 1;
    pointer-events: auto;
  }
  .serv-title {
    font-size: 24px;
    grid-column: 2;
    grid-row: 1;
  }
  .serv-desc {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 14px;
    margin-top: 10px;
  }
  .servicos-cta { margin-top: 32px; }
  .servicos .btn-edit {
    padding: 12px 24px;
    font-size: 16px;
  }

  /* Como Funciona — vertical flow line + sanfona top-to-bottom */
  .como-grid {
    width: 320px;
    max-width: calc(100% - 32px);
    margin-left: auto;
    margin-right: auto;
    position: relative;
  }
  .como-flow {
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: 1px;
    height: auto;
  }
  .como-flow::after {
    top: -45%;
    left: 0;
    right: auto;
    width: 100%;
    height: 45%;
    background: linear-gradient(180deg, transparent 0%, var(--accent) 100%);
    animation: none;
  }
  .como-grid.is-flowing .como-flow::after {
    animation: como-flow-slide-vertical 4.5s linear infinite;
  }
  @keyframes como-flow-slide-vertical {
    0%   { top: -45%; opacity: 0; }
    15%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { top: 100%; opacity: 0; }
  }

  /* Step layout: number + title inline (same pattern as serv) */
  .como-step.reveal { transform: translate(0, -20px); }
  .como-step.reveal.is-in { transform: translate(0, 0); }
  .como-step {
    border-top: 0;
    padding: 24px 0 24px 20px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 12px;
    align-items: baseline;
    min-height: auto;
  }
  .como-step:first-child { padding-top: 24px; }
  .como-num {
    font-size: 28px;
    line-height: 1;
    margin-bottom: 0;
    grid-column: 1;
    grid-row: 1;
  }
  .como-title {
    font-size: 24px;
    grid-column: 2;
    grid-row: 1;
    margin: 0;
  }
  .como-desc {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 14px;
    margin-top: 8px;
  }

  /* Sobre Mim — text 320px centered, photo below */
  .sobre-text {
    order: 1;
    width: 320px;
    max-width: calc(100% - 32px);
    margin-left: auto;
    margin-right: auto;
    padding: 32px 0;
  }
  .sobre-photo { order: 2; min-height: 360px; }

  /* Line draws left-to-right after typing finishes (~4s) */
  .sobre-rule {
    transform: scaleX(0);
    transform-origin: left center;
  }
  .sobre-text .reveal.is-in .sobre-rule {
    animation: sobre-rule-draw 800ms ease-out 4000ms forwards;
  }
  @keyframes sobre-rule-draw {
    to { transform: scaleX(1); }
  }

  /* CTA Final — 320px centered */
  .cta-final { padding: 70px 0; }
  .cta-final h2 { font-size: 44px; }
  .cta-final .sub {
    font-size: 14px;
    max-width: 320px;
    margin: 14px auto 24px;
  }
  .cta-final .btn-wa {
    padding: 12px 24px;
    font-size: 16px;
  }
  .cta-final .micro {
    font-size: 11px;
    gap: 8px;
    max-width: 320px;
  }

  /* Footer */
  .footer { padding: 24px 0; }
  .footer .ig-icon { height: 28px; }
  .footer .copy { font-size: 11px; }

  /* Floating UI — colado no fundo do viewport (ignora safe area) */
  .float-wa {
    width: 52px;
    height: 52px;
    bottom: 18px;
    right: 18px;
  }
  .viewport-blur-bottom {
    bottom: 0;
    height: 80px;
  }
}
