/* ===========================================================================
   NAIL ELITE — Inês Cunha · Design System
   Rebuilt from the DesignCode mockup (NailEliteInSCunhaDesignSystem_17f08a).
   =========================================================================== */

/* Fonts: Fraunces (display, has italic + optical sizing) + Inter (body) */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..500;1,9..144,300..500&family=Inter:wght@300;400;500;600&display=swap');

/* -------- Design tokens -------- */
:root {
  /* Paper / bege backgrounds */
  --paper-100: #F3ECE3;
  --paper-50:  #FBF6EE;
  --bege-200:  #E9DFD1;
  --bege-300:  #DCCFBB;

  /* Ink / taupe text */
  --ink-900:   #2A1E15;
  --taupe-600: #6B5946;
  --taupe-400: #A69684;

  /* Brand */
  --oxblood-700: #6E1E28;
  --caramel-500: #C9A36A;
  --gold-400:    #D9B36C;

  /* States */
  --sage-500:      #7A8B65;
  --terracotta-500:#B85C4B;

  /* Radii */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  18px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(42, 30, 21, 0.06), 0 2px 6px rgba(42, 30, 21, 0.04);
  --shadow-md: 0 2px 6px rgba(42, 30, 21, 0.08), 0 8px 20px rgba(42, 30, 21, 0.06);
  --shadow-lg: 0 6px 18px rgba(42, 30, 21, 0.10), 0 24px 60px rgba(42, 30, 21, 0.10);

  /* Gradient */
  --gradient-paper: radial-gradient(120% 90% at 50% 12%, #FBF6EE 0%, #F3ECE3 62%, #EFE6D8 100%);

  /* Fonts */
  --font-display: 'Fraunces', 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-eyebrow: var(--font-body);

  /* Easing */
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --pad-page: clamp(20px, 4vw, 48px);
}

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
[hidden] { display: none !important; }
body {
  background: var(--paper-100);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; }
button { font: inherit; cursor: pointer; }

/* -------- Eyebrow (small caps label) -------- */
.eyebrow {
  font-family: var(--font-eyebrow);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--oxblood-700);
  line-height: 1.2;
}
.eyebrow--muted { color: var(--taupe-600); }

/* -------- Badge / pill -------- */
.badge {
  display: inline-flex;
  align-items: center;
  background: var(--oxblood-700);
  color: var(--paper-100);
  border-radius: var(--radius-pill);
  padding: 4px 11px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform 0.18s var(--ease-soft), background 0.18s var(--ease-soft), border-color 0.18s var(--ease-soft), color 0.18s var(--ease-soft), box-shadow 0.18s var(--ease-soft);
  text-decoration: none;
  white-space: nowrap;
}
.btn--sm { font-size: 0.875rem; padding: 10px 18px; min-height: 40px; }
.btn--md { font-size: 0.9375rem; padding: 12px 22px; min-height: 46px; }
.btn--full { width: 100%; }

.btn--primary {
  background: var(--oxblood-700);
  color: var(--paper-50);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: #5A1620; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--primary:active { transform: translateY(0); }

.btn--secondary {
  background: var(--paper-50);
  color: var(--ink-900);
  border-color: var(--bege-300);
}
.btn--secondary:hover { background: var(--paper-100); border-color: var(--taupe-400); }

.btn--ghost {
  background: transparent;
  color: var(--taupe-600);
  border-color: transparent;
  padding-left: 6px;
  padding-right: 6px;
}
.btn--ghost:hover { color: var(--ink-900); }

.btn[disabled], .btn.is-loading { opacity: 0.7; cursor: default; transform: none !important; }

/* -------- Form primitives -------- */
.field { display: flex; flex-direction: column; min-width: 0; }
.field-error {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.75rem;
  color: var(--terracotta-500);
  margin: 6px 0 0;
  display: none;
}
.field.is-invalid .field-error { display: block; }

.input,
.select,
.textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink-900);
  background: var(--paper-50);
  border: 1px solid var(--bege-300);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.15s var(--ease-soft), box-shadow 0.15s var(--ease-soft);
  min-height: 48px;
}
.input::placeholder,
.textarea::placeholder { color: var(--taupe-400); font-weight: 300; }
.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--oxblood-700);
  box-shadow: 0 0 0 3px rgba(110, 30, 40, 0.10);
}
.field.is-invalid .input,
.field.is-invalid .select,
.field.is-invalid .textarea {
  border-color: var(--terracotta-500);
}

.textarea { resize: vertical; min-height: 96px; }

/* Select w/ chevron */
.select-wrap { position: relative; }
.select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
}
.select-wrap::after {
  content: "▾";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--taupe-600);
  font-size: 0.7rem;
}
.select[data-placeholder="true"] { color: var(--taupe-400); font-weight: 300; }

/* Phone input (dial + number) */
.phone {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0;
  background: var(--paper-50);
  border: 1px solid var(--bege-300);
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 48px;
  transition: border-color 0.15s var(--ease-soft), box-shadow 0.15s var(--ease-soft);
}
.phone:focus-within {
  border-color: var(--oxblood-700);
  box-shadow: 0 0 0 3px rgba(110, 30, 40, 0.10);
}
.field.is-invalid .phone { border-color: var(--terracotta-500); }
.phone__dial {
  border: none;
  background: transparent;
  padding: 12px 8px 12px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-900);
  cursor: pointer;
  outline: none;
  min-width: 82px;
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--taupe-600) 50%), linear-gradient(135deg, var(--taupe-600) 50%, transparent 50%);
  background-position: calc(100% - 14px) 22px, calc(100% - 10px) 22px;
  background-size: 4px 4px, 4px 4px;
  background-repeat: no-repeat;
  padding-right: 22px;
  border-right: 1px solid var(--bege-300);
}
.phone__input {
  border: none;
  background: transparent;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-900);
  outline: none;
  min-width: 0;
  width: 100%;
}
.phone__input::placeholder { color: var(--taupe-400); font-weight: 300; }

/* Checkbox */
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--ink-900);
  font-weight: 400;
}
.check__box {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--bege-300);
  border-radius: 5px;
  background: var(--paper-50);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  transition: background 0.15s var(--ease-soft), border-color 0.15s var(--ease-soft);
}
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check input:checked + .check__box {
  background: var(--oxblood-700);
  border-color: var(--oxblood-700);
}
.check input:checked + .check__box::after {
  content: '';
  width: 5px; height: 10px;
  border: solid var(--paper-50);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}
.check input:focus-visible + .check__box {
  box-shadow: 0 0 0 3px rgba(110, 30, 40, 0.20);
}
.field.is-invalid .check__box { border-color: var(--terracotta-500); }

/* Radio pills (for passo2 survey) */
.radio-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--bege-300);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--ink-900);
  cursor: pointer;
  background: var(--paper-50);
  transition: border-color 0.15s var(--ease-soft), background 0.15s var(--ease-soft);
}
.radio-pill input { accent-color: var(--oxblood-700); }
.radio-pill:has(input:checked) {
  border-color: var(--oxblood-700);
  background: var(--paper-100);
}

/* -------- Card -------- */
.card {
  background: var(--paper-50);
  border: 1px solid var(--bege-300);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.4vw, 30px);
  box-shadow: var(--shadow-sm);
}
.card--flat { box-shadow: none; }
.card--pop  { box-shadow: var(--shadow-lg); border-color: transparent; }

/* -------- Utilities -------- */
.h1 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 360;
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  margin: 0;
  text-wrap: balance;
}
.h1--lg { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.04; }
.h1 em { font-style: italic; color: var(--oxblood-700); font-weight: 360; }

.subhead {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.18rem;
  line-height: 1.5;
  color: #463524;
  margin: 0;
}
.muted {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.8125rem;
  color: var(--taupe-600);
}
.dateline {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  color: var(--ink-900);
}
.dateline-icon {
  color: var(--oxblood-700);
  font-size: 1.1em;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-links a {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.8125rem;
  color: var(--taupe-600);
  text-decoration: none;
  border-bottom: 1px solid var(--bege-300);
  padding-bottom: 1px;
}
.footer-links a:hover { color: var(--ink-900); border-color: var(--taupe-600); }
.footer-links .sep { color: var(--bege-300); }

/* Rise-in animation on load */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
[data-rise] > * { animation: rise-in 0.55s var(--ease-soft) both; }
[data-rise] > *:nth-child(1) { animation-delay: 0.02s; }
[data-rise] > *:nth-child(2) { animation-delay: 0.08s; }
[data-rise] > *:nth-child(3) { animation-delay: 0.14s; }
[data-rise] > *:nth-child(4) { animation-delay: 0.20s; }
[data-rise] > *:nth-child(5) { animation-delay: 0.26s; }
[data-rise] > *:nth-child(6) { animation-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  [data-rise] > * { animation: none; }
}

/* ===========================================================================
   PAGE-SPECIFIC — LP HERO (index.html)
   =========================================================================== */

.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  background: var(--gradient-paper);
  overflow: hidden;
  display: flex;
}
.hero__inner {
  position: relative;
  width: 100%;
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: clamp(20px, 3.5vh, 48px) clamp(24px, 2.8vw, 60px);
  display: flex;
  flex-direction: row-reverse;
  align-items: stretch;
  gap: clamp(30px, 4.4vw, 72px);
}

.hero__content {
  flex: 1.15 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(12px, 2vh, 22px);
}
.hero__top {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.6vh, 18px);
}
.hero__badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__form-card {
  background: var(--paper-50);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(20px, 2.4vw, 30px);
  max-width: 34rem;
}
.hero__form-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  gap: 12px;
}
.hero__form-body { display: flex; flex-direction: column; gap: 12px; }
.hero__cta-note {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.8125rem;
  color: var(--taupe-600);
  text-align: center;
  margin: 0;
}

/* Photo column (desktop) */
.hero__photo-col {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__photo-glow {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 88%;
  height: 82%;
  transform: translate(-50%, -50%);
  background: radial-gradient(58% 58% at 50% 50%, rgba(231, 218, 200, 0.9) 0%, rgba(231, 218, 200, 0) 72%);
  pointer-events: none;
}
.hero__photo-wrap {
  position: relative;
  height: 123%;
  align-self: center;
  display: flex;
  align-items: flex-end;
}
.hero__photo {
  position: relative;
  z-index: 1;
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, rgba(0, 0, 0, 0) 82%);
  mask-image: linear-gradient(to bottom, #000 45%, rgba(0, 0, 0, 0) 82%);
  transform: translateY(-11%);
}

/* Decorative widgets (nails circle, chips, quote, arrow, agenda) */
.deco-nails {
  position: absolute;
  top: 33%;
  right: -9%;
  width: 158px;
  height: 158px;
  border-radius: 999px;
  overflow: hidden;
  z-index: 0;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 50%, rgba(0,0,0,0) 75%);
  mask-image: radial-gradient(circle at 50% 50%, #000 50%, rgba(0,0,0,0) 75%);
  transform: translate(-11px, 0) rotate(-9deg);
}
.deco-nails img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 42% 52%;
  transform: translate(2px, -5px) rotate(-62deg);
}

.deco-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: var(--radius-pill);
  padding: 7px 14px;
  box-shadow: var(--shadow-md);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.deco-chip--dark {
  background: var(--oxblood-700);
  color: var(--paper-100);
}
.deco-chip--light {
  background: var(--paper-50);
  border: 1px solid var(--bege-300);
  color: var(--ink-900);
  box-shadow: var(--shadow-sm);
}
.deco-chip--light .star { color: var(--oxblood-700); }

.deco-preco { top: 18%; right: -6%; }
.deco-clientes { top: 16.7%; left: 3.3%; }

.deco-quote {
  position: absolute;
  top: 70.3%;
  left: 70.1%;
  z-index: 4;
  width: 341px;
  max-width: 341px;
  min-height: 165px;
  background: var(--paper-50);
  border: 1px solid var(--bege-300);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  box-shadow: var(--shadow-lg);
}
.deco-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 360;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--ink-900);
  margin: 0 0 12px;
}
.deco-quote__author {
  display: flex; align-items: center; gap: 10px;
}
.deco-quote__avatar {
  width: 30px; height: 30px; border-radius: 999px;
  background: var(--caramel-500); flex: none;
}
.deco-quote__name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--ink-900);
}

.deco-arrow {
  position: absolute;
  top: 27.4%;
  left: 10.4%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  pointer-events: none;
}
.deco-arrow__label {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 360;
  font-size: 0.9rem;
  line-height: 1.25;
  color: var(--taupe-600);
  text-align: center;
  max-width: 200px;
}
.deco-arrow svg {
  transform: scaleX(-1);
  width: 60px;
}

/* Agenda widget */
.agenda {
  position: absolute;
  top: 61.1%;
  left: -4.7%;
  z-index: 4;
  width: 268px;
  background: var(--paper-50);
  border: 1px solid var(--bege-300);
  border-radius: var(--radius-lg);
  padding: 14px 15px;
  box-shadow: var(--shadow-lg);
}
.agenda__caption {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--taupe-600);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.agenda__meter-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 5px;
  margin: 5px 0 8px;
}
.agenda__num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--oxblood-700);
}
.agenda__of {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--taupe-600);
}
.agenda__chip {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--sage-500); color: var(--paper-100);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.5625rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex: none;
}
.agenda__bar {
  position: relative;
  height: 6px;
  background: var(--bege-200);
  border-radius: 999px;
}
.agenda__fill {
  height: 100%;
  width: 0%;
  background: var(--oxblood-700);
  border-radius: 999px;
}
.agenda__target {
  position: absolute; left: 84%; top: -3px;
  width: 2px; height: 12px;
  background: var(--ink-900);
  opacity: 0.45;
  border-radius: 2px;
}
.agenda__cal-title {
  display: flex; align-items: center; justify-content: space-between;
  margin: 14px 0 6px;
}
.agenda__cal-title strong {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-900);
}
.agenda__cal-title span {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--taupe-600);
}
.agenda__weekdays,
.agenda__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.agenda__weekdays span {
  text-align: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.5rem;
  letter-spacing: 0.04em;
  color: var(--taupe-400);
}
.agenda__cal { position: relative; }
.agenda__days {
  grid-auto-rows: 27px;
  margin-top: 4px;
}
.agenda__day {
  position: relative;
  border-radius: 5px;
  background: var(--paper-100);
  border: 1px solid var(--bege-200);
}
.agenda__day > span:first-child {
  position: absolute;
  top: 2px; left: 4px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.5rem;
  color: var(--taupe-400);
}
.agenda__day--out > span:first-child { color: var(--bege-300); }
.agenda__slot {
  position: absolute;
  left: 3px; right: 3px; bottom: 3px;
  color: var(--paper-100);
  border-radius: 3px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.4375rem;
  text-align: center;
  line-height: 1.4;
}
.agenda__slot--primary { background: var(--oxblood-700); }
.agenda__slot--accent  { background: var(--caramel-500); }
.agenda__vacation {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 27px;
  background: var(--sage-500);
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  box-shadow: var(--shadow-sm);
}
.agenda__vacation .dot {
  width: 9px; height: 9px; border-radius: 999px;
  background: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(201, 163, 106, 0.35);
}
.agenda__vacation .label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  color: var(--paper-100);
}
.agenda__legend {
  display: flex; align-items: center; gap: 12px;
  margin-top: 9px;
}
.agenda__legend span {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.5625rem;
  color: var(--taupe-600);
}
.agenda__legend .swatch--filled { width: 12px; height: 6px; border-radius: 2px; background: var(--oxblood-700); }
.agenda__legend .swatch--empty  { width: 8px;  height: 8px; border-radius: 2px; background: var(--paper-100); border: 1px solid var(--bege-300); }

/* Animated agenda meter (loops 9s) */
@property --agNum { syntax: '<integer>'; initial-value: 0; inherits: false; }
[data-ag-num] { counter-reset: agn var(--agNum); animation: agCount 9s var(--ease-soft) infinite; }
[data-ag-num]::after { content: counter(agn) "%"; }
[data-ag-fill] { animation: agFill 9s var(--ease-soft) infinite; }
[data-ag-chip] { animation: agChip 9s var(--ease-soft) infinite; }
[data-ag-vac]  { animation: agVac 9s var(--ease-soft) infinite; }
@keyframes agCount { 0%,6%{--agNum:0} 30%{--agNum:118} 92%{--agNum:118} 100%{--agNum:0} }
@keyframes agFill  { 0%,6%{width:0%} 30%{width:100%} 92%{width:100%} 100%{width:0%} }
@keyframes agChip  { 0%,27%{opacity:0; transform: translateY(3px)} 34%,92%{opacity:1; transform:none} 100%{opacity:0; transform: translateY(3px)} }
@keyframes agVac   { 0%,40%{clip-path: inset(0 100% 0 0)} 49%,92%{clip-path: inset(0 0 0 0)} 100%{clip-path: inset(0 100% 0 0)} }
@media (prefers-reduced-motion: reduce) {
  [data-ag-num]  { animation: none; --agNum: 118; }
  [data-ag-fill] { animation: none; width: 100%; }
  [data-ag-chip] { animation: none; opacity: 1; transform: none; }
  [data-ag-vac]  { animation: none; clip-path: none; }
}

/* -------- Mobile hero -------- */
.hero__mobile-head { display: none; }

@media (max-width: 880px) {
  .hero { height: auto; min-height: 100svh; }
  .hero__inner {
    flex-direction: column !important;
    padding: 0 !important;
    gap: 0 !important;
    max-width: none !important;
  }
  .hero__photo-col { display: none !important; }

  .hero__mobile-head {
    display: flex !important;
    align-items: stretch;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    height: 27svh;
    min-height: 168px;
    flex: none;
    padding: clamp(16px, 4vw, 22px) clamp(18px, 5vw, 24px) 0;
  }
  .hero__mh-left {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 12px; text-align: center;
    flex: 1 1 0;
  }
  .hero__mh-logo {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1;
    letter-spacing: -0.01em;
    color: var(--ink-900);
  }
  .hero__mh-photo {
    position: relative;
    flex: 0 0 45%;
    align-self: stretch;
    overflow: hidden;
  }
  .hero__mh-photo img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 32%;
    -webkit-mask-image: linear-gradient(to bottom, #000 72%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, #000 72%, rgba(0,0,0,0) 100%);
  }

  .hero__content {
    width: 100% !important;
    flex: 1 1 auto !important;
    min-height: 0;
    justify-content: flex-start !important;
    align-items: center !important;
    text-align: center;
    z-index: 4;
    gap: clamp(10px, 1.8vh, 16px) !important;
    padding: 0 clamp(18px, 5vw, 24px) clamp(20px, 4vw, 28px) !important;
    margin-top: 12px;
  }
  .hero__top { max-width: 100% !important; align-items: center !important; }
  .hero__top .hero__badge-row { display: none !important; }
  .subhead { font-size: 1rem !important; margin-left: auto !important; margin-right: auto !important; text-align: center; }
  .dateline { justify-content: center !important; }
  .hero__form-card { max-width: 34rem !important; width: 100%; text-align: left; }
  .footer-links { justify-content: center !important; }
}

@media (max-width: 520px) {
  .hero__mobile-head { height: 24svh; min-height: 150px; }
  .hero__mh-photo { flex: 0 0 48%; }
  .hero__form-grid { grid-template-columns: 1fr !important; }
}

/* ===========================================================================
   PAGE-SPECIFIC — Passo 2 (confirmation) & Calendario
   =========================================================================== */

.stage {
  min-height: 100svh;
  background: var(--gradient-paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 6vh, 72px) var(--pad-page);
  box-sizing: border-box;
}
.stage__inner {
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(16px, 2.6vh, 26px);
}
.stage__badge-row {
  display: flex; align-items: center; gap: 10px;
  flex-direction: column;
}
.check-circle {
  width: 62px; height: 62px;
  border-radius: 999px;
  background: var(--oxblood-700);
  color: var(--paper-100);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  box-shadow: var(--shadow-md);
}
.check-circle--sm {
  width: 46px; height: 46px;
  background: var(--sage-500);
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
}
.step-num {
  width: 30px; height: 30px;
  border-radius: 999px;
  background: var(--paper-100);
  border: 1px solid var(--bege-300);
  color: var(--oxblood-700);
  font-family: var(--font-display);
  font-size: 1rem;
  display: inline-flex; align-items: center; justify-content: center;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  text-align: left;
  margin-top: 6px;
}
@media (max-width: 720px) {
  .two-col { grid-template-columns: 1fr; }
}

.step-card {
  background: var(--paper-50);
  border: 1px solid var(--bege-300);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}
.step-card h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.15;
  color: var(--ink-900);
  margin: 0 0 6px;
}
.step-card p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--taupe-600);
  margin: 0;
}
.step-card__body { flex: 1 1 auto; }

/* Calendar day cards */
.day-card {
  background: var(--paper-50);
  border: 1px solid var(--bege-300);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--shadow-sm);
}
.day-card__head {
  display: flex; align-items: baseline; gap: 12px;
}
.day-card__day {
  font-family: var(--font-display);
  font-weight: 360;
  font-size: 3rem;
  line-height: 0.9;
  color: var(--oxblood-700);
}
.day-card__meta {
  display: flex; flex-direction: column;
}
.day-card__meta strong {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--ink-900);
}
.day-card__meta span {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.8125rem;
  color: var(--taupe-600);
}
.day-card__actions {
  display: flex; flex-direction: column; gap: 8px;
}

/* Survey card */
.survey { text-align: left; width: 100%; }
.survey__label {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.9375rem;
  color: var(--ink-900);
  margin-bottom: 10px;
}

/* Success state after form submit (inline within the hero form card) */
.success-state {
  display: flex; flex-direction: column;
  gap: 14px; align-items: flex-start;
  padding: 8px 0;
}
.success-state h2 {
  font-family: var(--font-display);
  font-weight: 360;
  font-size: 1.625rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  margin: 0;
}
.success-state h2 em { font-style: italic; color: var(--oxblood-700); font-weight: 360; }
.success-state p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--taupe-600);
  margin: 0;
}
