/* =====================================================
   Floxie Studio · brand palette
   Neutral light/dark · cyan primary · pink & violet secondary
   ===================================================== */

:root {
  /* Neutrals */
  --paper:    #fafafa;
  --paper-2:  #f4f4f6;
  --paper-3:  #ffffff;
  --ink:      #0f1020;
  --ink-2:    #2c2e44;
  --muted:    #6b6e85;
  --line:     #e7e7ee;

  /* Brand accents (production-style candy palette) */
  --accent:    #00e4ed;   /* bright cyan */
  --accent-2:  #00b8c2;   /* deeper cyan for text on light */
  --violet:    #7c3fb8;
  --violet-soft: #efe7fa;
  --pink:      #ff5295;
  --pink-soft: #ffe4ee;
  --mint-soft: #d8fbfb;
  --yellow-soft: #fff3cf;

  /* Gradients */
  --grad-cta:    linear-gradient(135deg, #ff5295 0%, #ff7ab0 100%);
  --grad-hero:   linear-gradient(135deg, #00e4ed 0%, #7c3fb8 100%);

  /* Type */
  --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body:    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --radius-sm: 14px;
  --radius:    20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --container: 1180px;
  --pad-x:     clamp(22px, 4vw, 44px);

  --shadow-sm: 0 1px 2px rgba(15, 16, 32, 0.05), 0 8px 22px rgba(15, 16, 32, 0.06);
  --shadow-md: 0 6px 16px rgba(15, 16, 32, 0.08), 0 24px 48px -18px rgba(15, 16, 32, 0.22);
  --shadow-lg: 0 14px 30px rgba(15, 16, 32, 0.10), 0 40px 80px -28px rgba(15, 16, 32, 0.28);
}

/* ------------- Base ------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main, header, footer, section { position: relative; z-index: 1; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: transparent; cursor: pointer; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.025em;
}
.h-serif, h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; letter-spacing: -0.035em; }
h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
p { margin: 0 0 1em; color: var(--ink-2); }

/* Emphasis tokens reused in headlines */
.h-carinho {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent-2);
  position: relative;
  display: inline-block;
}
.h-underline {
  position: relative;
  display: inline-block;
  color: var(--accent-2);
}
.h-underline::after {
  content: "";
  position: absolute;
  left: -3%; right: -3%; bottom: 0;
  height: 0.16em;
  background: var(--accent);
  border-radius: 4px;
  z-index: -1;
  opacity: 0.55;
}

.handwritten {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: normal;
  color: var(--accent-2);
  letter-spacing: 0;
}

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 10px 14px; border-radius: 0 0 10px 0; z-index: 999;
}
.skip-link:focus { left: 0; }

/* Focus */
a:focus-visible, button:focus-visible, summary:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ------------- Buttons ------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  line-height: 1;
  letter-spacing: -0.005em;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    filter 0.25s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-lg    { padding: 16px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--grad-cta);
  color: #ffffff;
  box-shadow: 0 8px 20px -8px rgba(255, 82, 149, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(255, 82, 149, 0.65); filter: brightness(1.05); }

.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(18,18,18,0.32); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(18,18,18,0.05); transform: translateY(-1px); box-shadow: 0 4px 12px -4px rgba(15,16,32,0.10); }

.btn-ghost-dark { background: transparent; color: var(--paper); border-color: rgba(255,255,255,0.45); }
.btn-ghost-dark:hover { background: rgba(255,255,255,0.1); border-color: var(--paper); transform: translateY(-1px); }

.btn-ghost-light { background: rgba(255,255,255,0.12); color: #ffffff; border-color: rgba(255,255,255,0.52); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.20); color: var(--accent); border-color: var(--accent); transform: translateY(-1px); }

.btn-link {
  background: transparent;
  padding: 10px 2px;
  color: var(--ink);
  border-radius: 0;
  border-bottom: 1.5px solid var(--ink);
}
.btn-link:hover { color: var(--accent-2); border-color: var(--accent-2); }

/* ------------- Header ------------- */
.site-header {
  position: fixed; top: 0; z-index: 50;
  width: 100%;
  background: rgba(250, 250, 250, 0.12);
  backdrop-filter: saturate(120%) blur(22px);
  -webkit-backdrop-filter: saturate(120%) blur(22px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  transition: background 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
}

/* Hero-mode: white text while navbar floats over the video */
.site-header .brand-name { color: #ffffff; transition: color 0.45s ease; }
.site-header .primary-nav { color: rgba(255, 255, 255, 0.88); }
.site-header .primary-nav a { color: rgba(255, 255, 255, 0.88); transition: color 0.45s ease, font-weight 0.2s ease; }
.site-header .primary-nav a:hover { color: var(--accent); font-weight: 600; }
.site-header .btn-ghost {
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.52);
}
.site-header .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 4px 14px -4px rgba(0,0,0,0.18);
}
.site-header .nav-toggle {
  border-color: rgba(255, 255, 255, 0.38);
  transition: border-color 0.45s ease;
}

/* Scrolled state: opaque, dark text */
.site-header.is-scrolled {
  background: rgba(250, 250, 250, 0.92);
  border-bottom-color: rgba(15, 16, 32, 0.06);
  box-shadow: 0 1px 0 rgba(15, 16, 32, 0.02), 0 6px 18px -10px rgba(15, 16, 32, 0.08);
}
.site-header.is-scrolled .brand-name { color: var(--ink); }
.site-header.is-scrolled .primary-nav a { color: var(--ink-2); }
.site-header.is-scrolled .primary-nav a:hover { color: var(--accent-2); font-weight: 600; }
.site-header.is-scrolled .btn-ghost {
  color: var(--ink);
  border-color: rgba(18, 18, 18, 0.22);
}
.site-header.is-scrolled .btn-ghost:hover {
  background: rgba(18, 18, 18, 0.04);
  color: var(--accent-2);
  border-color: var(--accent-2);
}
.site-header.is-scrolled .nav-toggle { border-color: rgba(18, 18, 18, 0.2); }
.header-inner {
  display: flex; align-items: center; gap: 24px;
  padding: 14px 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.025em;
}
.brand img { border-radius: 10px; }
.brand-dot { color: var(--pink); font-weight: 800; }

.primary-nav {
  margin-left: auto;
  display: flex; gap: 26px;
  font-size: 0.95rem;
  color: var(--ink-2);
  font-weight: 500;
}
.primary-nav a { position: relative; padding: 4px 0; transition: color 0.2s ease, font-weight 0.2s ease; }
.primary-nav a:hover { color: var(--accent-2); font-weight: 600; }

.header-cta { display: flex; gap: 10px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid rgba(18,18,18,0.2); border-radius: 12px;
  position: relative; margin-left: auto;
}
.nav-toggle span {
  display: block; position: absolute; left: 11px; right: 11px;
  height: 2px; background: #ffffff; border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease, background 0.45s ease;
}
.site-header.is-scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

.mobile-nav {
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px var(--pad-x) 22px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  padding: 12px 4px;
  border-bottom: 1px solid rgba(18,18,18,0.05);
  font-weight: 500;
}
.mobile-nav .btn { margin-top: 12px; }

@media (max-width: 920px) {
  .primary-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-block; }
}

/* ------------- Hero ------------- */
.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-image,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,16,32,0.55) 0%, rgba(15,16,32,0.40) 30%, rgba(15,16,32,0.55) 65%, rgba(15,16,32,0.85) 100%),
    radial-gradient(ellipse 70% 60% at 30% 75%, rgba(15,16,32,0.45) 0%, transparent 70%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding-top: calc(clamp(40px, 6vw, 72px) + 68px);
  padding-bottom: clamp(40px, 6vw, 72px);
  color: #ffffff;
  text-align: center;
}
.hero-copy .hero-sub { margin-left: auto; margin-right: auto; }
.hero-copy .hero-ctas { justify-content: center; }
.hero-copy .hero-pills { justify-content: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 500;
  color: var(--ink-2);
  background: var(--paper-3);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 999px;
  margin: 0 0 28px;
  box-shadow: var(--shadow-sm);
}
.eyebrow .pin { font-size: 0.95rem; }

.hero-title { margin: 0 0 24px; }
.hero-title-on-media {
  color: #ffffff;
  text-shadow: 0 2px 28px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.45);
}
.hero-title-on-media .h-carinho {
  color: var(--accent);
  background: none;
  filter: drop-shadow(0 2px 12px rgba(0, 228, 237, 0.4));
}

.hero-sub {
  font-size: clamp(1.05rem, 1.45vw, 1.22rem);
  color: var(--ink-2);
  max-width: 660px;
  margin: 0 0 34px;
  line-height: 1.55;
}
.hero-sub strong { color: var(--ink); font-weight: 700; }

.hero-sub-on-media {
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 16px rgba(0,0,0,0.45);
  max-width: 620px;
}
.hero-sub-on-media strong { color: #ffffff; font-weight: 700; }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 36px; }

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: center;
}
.hero-pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.78);
  padding: 0;
  background: none;
  border: 0;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.pill-dot {
  width: 8px; height: 8px; border-radius: 50%;
  display: inline-block;
}
.pill-dot-pink { background: var(--pink); box-shadow: 0 0 10px rgba(255,82,149,0.7); }
.pill-dot-cyan { background: var(--accent); box-shadow: 0 0 10px rgba(0,228,237,0.7); }
.pill-dot-violet { background: var(--violet); box-shadow: 0 0 10px rgba(124,63,184,0.7); }
.stroke-note {
  display: inline-block;
  position: relative;
  padding-left: 22px;
}
.stroke-note::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 14px; height: 1.5px;
  background: var(--accent);
  transform: translateY(-50%);
}

/* ------------- Photo card (modern flat) ------------- */
.photo-card {
  background: var(--paper-3);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--line);
}
.photo-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.photo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* Polaroid no longer used elsewhere; alias to photo-card for any legacy refs */
.polaroid { background: var(--paper-3); padding: 0; border-radius: var(--radius); }

@media (max-width: 540px) {
  .hero { min-height: 92vh; min-height: 92dvh; }
  .hero-title-on-media { font-size: clamp(2rem, 9vw, 2.6rem); }
}

@media (max-width: 860px) {
  h2 { font-size: clamp(1.4rem, 5vw, 1.85rem); }
}

/* ------------- Page / subpage hero ------------- */
.page-hero {
  min-height: clamp(280px, 40vh, 380px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

/* Stronger top-of-frame darkness so the navbar backdrop blur stays dark (matching homepage video hero) */
.page-hero .hero-veil {
  background:
    linear-gradient(180deg, rgba(15,16,32,0.78) 0%, rgba(15,16,32,0.42) 35%, rgba(15,16,32,0.52) 65%, rgba(15,16,32,0.88) 100%),
    radial-gradient(ellipse 70% 60% at 30% 75%, rgba(15,16,32,0.45) 0%, transparent 70%);
}

.page-hero-copy {
  position: relative;
  z-index: 1;
  padding-top: calc(clamp(36px, 5vw, 60px) + 68px);
  padding-bottom: clamp(36px, 5vw, 60px);
  color: #ffffff;
  text-align: center;
}

.page-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 22px;
}
.page-hero-label a { color: inherit; transition: color 0.2s; }
.page-hero-label a:hover { color: var(--accent); }

.page-hero-copy h1 {
  color: #ffffff;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  text-shadow: 0 2px 28px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.45);
  margin: 0 0 18px;
}

.page-hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 16px rgba(0,0,0,0.45);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Prose container for legal / content pages */
.prose {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-2);
}
.prose h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  color: var(--ink);
  margin: 2.4em 0 0.6em;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.prose h3 {
  font-size: 1.05rem;
  color: var(--ink);
  margin: 1.8em 0 0.4em;
}
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol {
  padding-left: 1.4em;
  margin: 0 0 1em;
}
.prose li { margin-bottom: 0.35em; }
.prose a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--ink); }
.prose strong { color: var(--ink); }
.prose-meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 2em;
  letter-spacing: 0.02em;
}
.prose-divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.4em 0;
}

/* Offset anchor-scroll targets so they appear below the fixed header */
section[id] { scroll-margin-top: 80px; }

/* ------------- Sections generic ------------- */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-paper   { background: var(--paper-3); }
.section-paper-2 { background: var(--paper-2); }
.section-ink     { background: var(--ink); color: var(--paper); }
.section-ink h1, .section-ink h2, .section-ink h3 { color: var(--paper); }
.section-ink p { color: rgba(250, 250, 250, 0.74); }

#problema {
  background:
    radial-gradient(600px 280px at 90% 15%, rgba(255, 82, 149, 0.18), transparent 60%),
    radial-gradient(500px 260px at 8% 85%, rgba(0, 228, 237, 0.14), transparent 60%),
    var(--ink);
}

.kicker {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 28px; height: 1.5px;
  background: var(--pink);
  display: inline-block;
}
.section-head-center .kicker { display: inline-flex; }
.section-head-center .kicker::before { display: inline-block; }
.kicker-light { color: rgba(250, 250, 250, 0.75); }
.kicker-light::before { background: var(--accent); }
.kicker-pink { color: var(--ink-2); }

.section-head { max-width: 820px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 { max-width: 780px; }
.section-head-center {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head-center h2, .section-head-center .section-lead { margin-left: auto; margin-right: auto; }
.section-lead {
  font-size: 1.04rem;
  color: var(--ink-2);
  margin-top: 16px;
  max-width: 640px;
}
.section-ink .section-lead { color: rgba(250, 250, 250, 0.75); }

/* ------------- Olá / personal intro ------------- */
.ola-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
@media (max-width: 600px) { .ola-grid { grid-template-columns: 1fr; } }

.ola-card h2 { margin-bottom: 22px; }
.ola-card p { font-size: 1.04rem; }

.ola-aside { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ola-figure { width: 100%; max-width: 380px; margin: 0 auto; }
.ola-figure .photo-card { width: 100%; aspect-ratio: 3/4; overflow: hidden; }
.ola-figure .photo-card img { height: 100%; width: 100%; object-fit: cover; object-position: center 55%; }
.ola-figure-caption {
  margin: 28px 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

@media (max-width: 600px) {
  .ola-figure { max-width: 100%; height: auto; }
  .ola-figure .photo-card { flex: none; aspect-ratio: 3/4; }
  .ola-figure .photo-card img { height: 100%; width: 100%; }
}

/* ------------- Para quem é ------------- */
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 880px) { .who-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .who-grid { grid-template-columns: 1fr; } }

.who-card {
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 28px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.who-card::after {
  content: "";
  position: absolute;
  left: 26px; right: 26px; bottom: 14px;
  height: 1.5px;
  background: var(--accent-2);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.who-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-2);
  box-shadow: var(--shadow-lg);
}
.who-card:hover::after { transform: scaleX(1); }
.who-card .who-photo { transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.who-card:hover .who-photo { transform: scale(1.06); }
.who-photo {
  width: 72px; height: 72px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 18px;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 14px -6px rgba(18,18,18,0.3);
}
.who-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.who-card h3 { margin-bottom: 6px; font-size: 1.2rem; }
.who-card p { font-size: 0.98rem; color: var(--ink-2); margin: 0; }

.who-foot {
  margin: 40px 0 0;
  text-align: center;
  color: var(--ink-2);
  font-size: 1.02rem;
}
.who-foot a {
  color: var(--accent-2);
  border-bottom: 1.5px solid var(--accent-2);
  padding-bottom: 1px;
  margin-left: 10px;
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), text-shadow 0.25s ease;
}
.who-foot a:hover { color: var(--accent-2); text-shadow: 0 0 0.4px var(--accent-2); transform: scale(1.07); }

/* ------------- Problema (dark) ------------- */
.problem-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
  margin-top: 12px;
}
@media (max-width: 780px) { .problem-list { grid-template-columns: 1fr; } }

.problem-row {
  display: flex;
  gap: 20px;
  padding: 26px 28px 28px;
  border: 1px solid rgba(250, 250, 250, 0.12);
  border-radius: var(--radius);
  background: rgba(250, 250, 250, 0.03);
}
.problem-mark {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--accent);
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 2px;
  letter-spacing: -0.02em;
}
.problem-row h3 { color: var(--paper); margin-bottom: 8px; font-size: 1.15rem; }
.problem-row p { color: rgba(250, 250, 250, 0.72); margin: 0; font-size: 0.98rem; }

.good-news {
  margin: 56px auto 0;
  text-align: center;
  max-width: 720px;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--paper);
}
.good-kicker {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 10px;
  font-weight: 700;
}
.good-news em {
  font-style: italic;
  color: var(--pink);
  font-weight: 700;
}

/* ------------- Kit 360 ------------- */
.kit-title { margin-bottom: 18px; }

.kit-banner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 880px;
  margin: 0 auto 28px;
}
@media (max-width: 640px) { .kit-banner-grid { grid-template-columns: 1fr; } }

.kit-banner-card {
  border-radius: var(--radius);
  padding: clamp(16px, 2.5vw, 24px);
  text-align: center;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 100px;
}
.kit-banner-price-card {
  background: var(--paper-3);
  border: 2px solid var(--pink);
  box-shadow: 0 8px 30px -12px rgba(255,82,149,0.3);
}
.kit-banner-time-card {
  background: var(--ink);
  color: #ffffff;
}
.kit-banner-time-card .kit-banner-note { color: rgba(255,255,255,0.7); }
.kit-banner-price {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.04em;
}
.kit-banner-price span {
  font-size: 0.4em;
  color: var(--muted);
  font-weight: 600;
  font-family: var(--font-body);
  margin-left: 6px;
  letter-spacing: 0;
}
.kit-banner-time {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}
.kit-banner-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.kit-card {
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 48px);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  max-width: 880px;
  margin: 0 auto;
}

.kit-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-bottom: 32px;
}
.kit-list li:nth-child(odd)  { padding-right: clamp(24px, 3.5vw, 44px); }
.kit-list li:nth-child(even) { padding-left: clamp(24px, 3.5vw, 44px); }
@media (max-width: 640px) {
  .kit-list { grid-template-columns: 1fr; }
  .kit-list li:nth-child(odd):not(:first-child)::before { right: 0; }
  .kit-list li:nth-child(odd)  { padding-right: 0; }
  .kit-list li:nth-child(even) { padding-left: 0; }
  .kit-list li:nth-child(even)::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(15, 16, 32, 0.06) 30%, rgba(15, 16, 32, 0.06) 70%, transparent 100%);
  }
}
.kit-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0;
  position: relative;
}
.kit-list li:nth-child(odd):not(:first-child)::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: -100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(15, 16, 32, 0.06) 30%, rgba(15, 16, 32, 0.06) 70%, transparent 100%);
}
.kit-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: var(--radius-pill);
  background: var(--pink-soft);
  color: var(--pink);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
}
.kit-list h3 { margin-bottom: 4px; font-size: 1.1rem; }
.kit-list p { font-size: 0.98rem; color: var(--ink-2); margin: 0; }
.kit-list code {
  background: var(--paper-2);
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 0.88em;
  color: var(--ink);
}

.kit-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 12px; }
.kit-cta-note { font-size: 0.85rem; color: var(--muted); margin: 8px 0 0; }

/* ------------- Processo ------------- */
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0;
  margin: 0;
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step {
  border-radius: var(--radius-lg);
  padding: 36px 32px 38px;
  position: relative;
  transition: transform 0.2s ease;
}
.step:hover { transform: translateY(-4px); }
.step-pink { background: var(--pink-soft); }
.step-mint { background: var(--mint-soft); }
.step-violet { background: var(--violet-soft); }
.step-tag {
  display: block;
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 4.4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.step-pink .step-tag { color: var(--pink); }
.step-mint .step-tag { color: var(--accent-2); }
.step-violet .step-tag { color: var(--violet); }
.step h3 { margin-bottom: 12px; font-size: 1.35rem; line-height: 1.15; color: var(--ink); }
.step p { color: var(--ink-2); margin: 0; line-height: 1.6; }

/* ------------- Trabalhos (browser mockups) ------------- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 900px) { .works-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .works-grid { grid-template-columns: 1fr; } }

.work-card { display: flex; flex-direction: column; gap: 14px; }
.work-frame {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(15,16,32,0.04), 0 18px 36px -18px rgba(15,16,32,0.22);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.work-frame:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 8px rgba(15,16,32,0.05), 0 30px 56px -18px rgba(15,16,32,0.3);
}
.work-photo img { transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.work-frame:hover .work-photo img { transform: scale(1.05); }
.work-bar {
  display: flex; gap: 6px; align-items: center;
  padding: 10px 12px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.work-bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--line);
}
.work-bar span:nth-child(1) { background: #e06055; }
.work-bar span:nth-child(2) { background: #e6b14c; }
.work-bar span:nth-child(3) { background: #58c05a; }
.work-photo {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--paper-2);
}
.work-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-content {
  padding: 18px 20px 22px;
  border-top: 1px solid var(--line);
}
.work-name {
  font-size: 1.3rem;
  color: var(--ink);
  margin: 0 0 2px;
  line-height: 1.15;
}
.work-tag {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.work-meta {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  font-size: 0.82rem;
  color: var(--ink-2);
}
.work-caption {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--muted);
  text-align: center;
  margin: 0;
  padding: 0 6px;
}
.works-foot {
  margin: 36px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ------------- Testemunho ------------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(16px, 2.5vw, 28px);
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}
.quotes:has(> .quote:only-child) {
  grid-template-columns: minmax(0, 620px);
  justify-content: center;
}

.quote {
  margin: 0;
  position: relative;
  padding: clamp(20px, 2.5vw, 28px) clamp(18px, 2.5vw, 26px) clamp(20px, 2.5vw, 28px);
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease;
}
.quote:hover {
  transform: translateY(-4px);
  border-color: var(--accent-2);
  box-shadow: var(--shadow-md);
}

.quote-brand {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 2.4rem;
}
.quote-brand::before {
  content: "";
  width: 24px; height: 1.5px;
  background: var(--ink);
  flex-shrink: 0;
  opacity: 0.6;
}
.brand-mark { font-weight: 700; }
.brand-mark em {
  font-style: normal;
  font-weight: 500;
  opacity: 0.7;
}

.quote-stars {
  font-size: 1rem;
  letter-spacing: 4px;
  color: #f5b400;
  line-height: 1;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 0.6;
  color: var(--accent-2);
  opacity: 0.18;
  position: absolute;
  top: 18px; right: 24px;
  pointer-events: none;
}
.quote blockquote {
  margin: 0;
}
.quote blockquote p {
  font-family: var(--font-body);
  font-style: normal;
  font-size: clamp(0.92rem, 1.3vw, 1rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}
.quote figcaption {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--ink-2);
  font-size: 0.96rem;
  margin-top: auto;
  padding-top: 4px;
}
.quote-avatar {
  height: 24px;
  width: auto;
  max-width: 48px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}
.quote figcaption strong { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.quote figcaption span  { color: var(--muted); font-size: 0.75rem; margin-left: 4px; }
.quote figcaption span a { color: inherit; font-weight: 500; text-decoration: underline; text-decoration-color: transparent; transition: color 0.2s, font-weight 0.2s, text-decoration-color 0.2s; }
.quote figcaption span a:hover { color: var(--accent-2); font-weight: 700; text-decoration-color: var(--accent-2); }

.quote-thumb {
  margin: 8px 0 0;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 0;
  box-shadow: none;
}
.quote-thumb::before { display: none; }
.quote-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* ------------- FAQ ------------- */
.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

.faq-list details {
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-list details[open] {
  border-color: var(--accent);
  box-shadow: 0 8px 24px -12px rgba(0,228,237,0.28);
  background: var(--paper);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 52px 20px 22px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  position: absolute; right: 22px; top: 50%;
  width: 12px; height: 12px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
  border-color: var(--accent);
}
.faq-body { padding: 0 22px 22px; color: var(--ink-2); }
.faq-body p { margin: 0; }
.faq-body code {
  background: var(--paper-2);
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 0.88em;
  color: var(--ink);
}

/* ------------- CTA final (dark) ------------- */
.cta-final {
  background:
    radial-gradient(700px 320px at 15% 35%, rgba(0, 228, 237, 0.30), transparent 60%),
    radial-gradient(600px 300px at 85% 60%, rgba(255, 82, 149, 0.22), transparent 60%),
    var(--ink);
  color: var(--paper);
  text-align: center;
}
.cta-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.cta-inner h2 { color: var(--paper); margin-bottom: 18px; }
.cta-sub {
  color: rgba(250, 250, 250, 0.78);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 30px;
}
.cta-final .hero-ctas { justify-content: center; }
.cta-final .h-carinho { color: var(--accent); }
.cta-signature {
  margin-top: 36px;
  font-size: 1.6rem;
  color: rgba(250, 250, 250, 0.82);
}

/* ------------- Footer ------------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0 26px;
}
.site-footer .brand-name, .site-footer h3 { color: var(--paper); }
.site-footer h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 250, 250, 0.58);
  margin-bottom: 18px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(250, 250, 250, 0.12);
}
@media (max-width: 820px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-inner { grid-template-columns: 1fr; } }

.footer-brand p {
  color: rgba(250, 250, 250, 0.68);
  margin-top: 16px;
  max-width: 320px;
  font-size: 0.96rem;
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col a {
  color: rgba(250, 250, 250, 0.75);
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--paper); }
.footer-contact-link { display: inline-flex; align-items: center; gap: 8px; }

.social-list a { display: inline-flex; align-items: center; gap: 10px; }

.footer-bottom {
  padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: rgba(250, 250, 250, 0.5);
  font-size: 0.88rem;
}
.footer-bottom p { margin: 0; color: inherit; }
.footer-legal a { color: rgba(250, 250, 250, 0.72); }
.footer-legal a:hover { color: var(--paper); }
.footer-legal span { margin: 0 8px; color: rgba(250, 250, 250, 0.25); }

/* ------------- Reveal on scroll ------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------- Scroll-linked animations (modern browsers) ------------- */
/* Falls back gracefully — IO-driven .is-visible still applies. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* Section heads fade up as they enter */
    .section-head {
      animation: rise-in linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
    /* Cards scale + fade as they cross the viewport edge */
    .who-card,
    .work-frame,
    .quote,
    .step {
      animation: card-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 50%;
    }
    /* Pricing card breathes in */
    .kit-card,
    .kit-banner-grid {
      animation: kit-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
    /* Hero copy parallax — gentle drift up as you scroll past */
    .hero-copy {
      animation: hero-drift linear both;
      animation-timeline: view();
      animation-range: exit 0% exit 100%;
    }
    /* Hero media parallax — slow Ken Burns */
    .hero-video,
    .hero-image {
      animation: hero-zoom linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }
  }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes card-rise {
  from { opacity: 0; transform: translateY(40px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes kit-rise {
  from { opacity: 0; transform: translateY(30px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes hero-drift {
  from { transform: translateY(0); opacity: 1; }
  to   { transform: translateY(-60px); opacity: 0.45; }
}
@keyframes hero-zoom {
  from { transform: scale(1.02); }
  to   { transform: scale(1.10); }
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--pink) 0%, var(--accent) 100%);
  z-index: 100;
  pointer-events: none;
  will-change: transform;
}
@supports (animation-timeline: scroll(root)) {
  @media (prefers-reduced-motion: no-preference) {
    .scroll-progress {
      animation: progress-grow linear both;
      animation-timeline: scroll(root);
    }
  }
}
@keyframes progress-grow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
/* Stagger children inside grid sections */
.js .who-grid > [data-reveal]:nth-child(1) { transition-delay: 0.05s; }
.js .who-grid > [data-reveal]:nth-child(2) { transition-delay: 0.10s; }
.js .who-grid > [data-reveal]:nth-child(3) { transition-delay: 0.15s; }
.js .who-grid > [data-reveal]:nth-child(4) { transition-delay: 0.20s; }
.js .who-grid > [data-reveal]:nth-child(5) { transition-delay: 0.25s; }
.js .who-grid > [data-reveal]:nth-child(6) { transition-delay: 0.30s; }
.js .problem-list > [data-reveal]:nth-child(1) { transition-delay: 0.05s; }
.js .problem-list > [data-reveal]:nth-child(2) { transition-delay: 0.12s; }
.js .problem-list > [data-reveal]:nth-child(3) { transition-delay: 0.19s; }
.js .problem-list > [data-reveal]:nth-child(4) { transition-delay: 0.26s; }
.js .steps > [data-reveal]:nth-child(1) { transition-delay: 0.05s; }
.js .steps > [data-reveal]:nth-child(2) { transition-delay: 0.15s; }
.js .steps > [data-reveal]:nth-child(3) { transition-delay: 0.25s; }
.js .works-grid > [data-reveal]:nth-child(1) { transition-delay: 0.05s; }
.js .works-grid > [data-reveal]:nth-child(2) { transition-delay: 0.15s; }
.js .works-grid > [data-reveal]:nth-child(3) { transition-delay: 0.25s; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ------------- Small screens tweaks ------------- */
@media (max-width: 540px) {
  .hero-sub { font-size: 1.04rem; }
  .kit-banner-price { font-size: 3rem; }
}
