/* =========================================================
   Millena Barreto · Nutricionista — Landing page
   Paleta da marca: Vinho #701331 · Marinho #131936 · Bege #E4DDC6
   ========================================================= */

:root {
  /* Marca */
  --wine: #701331;
  --navy: #131936;
  --beige: #E4DDC6;

  /* Fundos */
  --bg: #F7F4EC;
  --bg-beige: #EEE9DA;
  --white: #FFFFFF;

  /* Texto */
  --ink: #131936;
  --muted: #464B60;
  --muted-2: #4F546A;
  --on-dark: #D9D4C6;

  /* Detalhes */
  --wine-soft: #9C4A65;
  --wine-tint: #F3E6EA;
  --line: #E9E3D2;
  --line-2: #DDD5BF;
  --line-3: #D8CFB7;
  --line-strong: #BFB59A;
  --frame: #CBBFA0;

  /* Tipografia */
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-script: 'Allura', 'Brush Script MT', cursive;

  /* Layout */
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(72px, 9vw, 128px);
  --radius: 10px;
  --radius-lg: 16px;
  --header-h: 72px;

  /* Movimento */
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--wine); }
p { margin: 0 0 18px; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; }
strong { font-weight: 600; }
button { font: inherit; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--bg); padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 16px; }

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

.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--top-0 { padding-top: 0; }
.section--white { background: var(--white); border-block: 1px solid var(--line); }
.section--beige { background: var(--bg-beige); }
.section--navy { background: var(--navy); overflow: hidden; }

.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.small { font-size: 14px; }
.muted { color: var(--muted); }
.ink { color: var(--ink); font-weight: 400; }
.measure { max-width: 520px; }
.on-dark { color: var(--on-dark); }
.on-wine { color: var(--beige); }

/* ---------- Tipografia ---------- */
.eyebrow {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 500;
}
.eyebrow--light { color: var(--beige); }

.h2 {
  margin: 18px 0 28px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.h2--flush { margin-bottom: 0; }
.h2--light { color: var(--bg); }
.h2--light em { color: var(--beige); font-style: italic; }
.h2--white { color: var(--white); }
.h2--xl { font-size: clamp(38px, 4.8vw, 62px); margin-top: 0; }

.h3 {
  margin: 28px 0 12px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.h3--sm { margin: 22px 0 10px; font-size: 22px; line-height: 1.2; }

.signature {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 46px;
  line-height: 1.1;
  color: var(--wine);
  margin-top: 32px;
  width: fit-content;
  padding-right: .2em;
}
.caption { margin-top: 14px; font-size: 14px; color: var(--muted); }
.label {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 500;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 30px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(19, 25, 54, .16); }
.btn:active { transform: translateY(0) scale(.985); box-shadow: none; }
.btn--primary { background: var(--wine); color: var(--white); }
.btn--primary:hover { color: var(--white); }
.btn--outline { border-color: var(--ink); color: var(--ink); font-weight: 400; background: transparent; }
.btn--light, .btn--cream { background: var(--bg); color: var(--navy); }
.btn--light:hover, .btn--cream:hover { color: var(--navy); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; white-space: nowrap; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.btn.is-loading::before {
  content: ""; width: 16px; height: 16px; flex: none; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: spin .7s linear infinite;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.icon-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .2s ease;
}
.icon-btn:hover { background: rgba(19, 25, 54, .05); }
.icon-btn--light { width: 50px; height: 50px; border-color: #5A6080; color: var(--bg); }
.icon-btn--light:hover { background: rgba(247, 244, 236, .08); }

.link-btn {
  min-height: 44px; border: 0; background: transparent;
  color: var(--bg); font-size: 15px; text-decoration: underline; cursor: pointer;
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(247, 244, 236, .93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #E3DCC8;
  transition: background-color .4s ease, box-shadow .4s ease;
}
.header.is-scrolled {
  background: rgba(247, 244, 236, .97);
  box-shadow: 0 12px 30px -20px rgba(19, 25, 54, .35);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 12px;
}
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-serif); font-size: 23px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.brand__sub { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); font-weight: 400; white-space: nowrap; }
.nav { display: flex; gap: 28px; font-size: 15px; font-weight: 400; }
.nav a { position: relative; text-decoration: none; transition: color .3s ease; white-space: nowrap; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: var(--wine);
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav a.is-active { color: var(--wine); }
@media (max-width: 1000px) { .nav { display: none; } }

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(40px, 7vw, 96px);
  padding-bottom: clamp(72px, 9vw, 128px);
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(56px, 6vw, 96px);
}
.hero__text { flex: 1 1 420px; min-width: 0; max-width: 580px; }
.hero__title {
  margin: 20px 0 24px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(42px, 5.8vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.hero__title em { font-style: italic; color: var(--wine); }
.hero__sub { margin: 0 0 36px; font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 460px; }
.hero__trust {
  list-style: none; margin: 44px 0 0; padding: 26px 0 0;
  border-top: 1px solid #E3DCC8;
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  font-size: 14px; color: var(--muted); font-weight: 400;
}
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--wine-soft);
}
.hero__media { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }

/* Carrossel do hero */
.hero-carousel { position: relative; width: 100%; max-width: 460px; padding: 18px 18px 0 0; }
.hero-carousel__frame {
  position: absolute; top: 0; right: 0; left: 18px; bottom: 82px;
  border: 1px solid var(--frame); border-radius: 18px;
}
.hero-carousel__viewport {
  position: relative; aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--beige);
  box-shadow: 0 24px 50px rgba(19, 25, 54, .14);
}
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .9s ease;
}
.hero-slide.is-active { opacity: 1; animation: ken-burns 7s ease-out both; }
.hero-carousel__controls {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 18px; padding-left: 2px;
}
.arrows { display: flex; gap: 10px; }
.dots { display: flex; gap: 4px; align-items: center; }
.dot {
  width: 30px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.dot::after {
  content: ""; display: block; width: 10px; height: 3px; border-radius: 3px;
  background: var(--line-strong); transition: width .3s ease, background-color .3s ease;
}
.dot[aria-current="true"]::after { width: 26px; background: var(--wine); }

.crn-badge {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  background: var(--bg); border-radius: 12px; padding: 10px 16px;
  display: flex; flex-direction: column; line-height: 1.25;
  box-shadow: 0 10px 26px rgba(19, 25, 54, .16);
}
.crn-badge__num { font-family: var(--font-serif); font-size: 19px; font-weight: 500; }
.crn-badge__label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--wine); font-weight: 500; }

/* ---------- Blocos texto + foto ---------- */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(48px, 6vw, 96px); }
.split--reverse { flex-wrap: wrap-reverse; }
.split__media { margin: 0; flex: 1 1 340px; min-width: 0; max-width: 480px; }
.split__media--narrow { max-width: 440px; }
.split__text { flex: 1 1 440px; min-width: 0; max-width: 600px; }
.split__text--wide { flex: 1 1 460px; max-width: none; }
.photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }

.roman-list { list-style: none; margin: 36px 0 0; padding: 0; border-top: 1px solid var(--line-3); }
.roman-list li { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line-3); }
.roman-list__num { font-family: var(--font-serif); font-size: 20px; color: var(--wine); min-width: 36px; }

/* ---------- Cabeçalhos de seção ---------- */
.section-head { max-width: 680px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--split {
  max-width: none;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px;
}
.section-head--split > div { max-width: 620px; }
.section-head__aside { margin: 0; max-width: 360px; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .on-dark { max-width: 520px; margin-inline: auto; }
.section-head--center .h2 { margin-bottom: 20px; }

/* ---------- Abordagem ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px;
}
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 32px 40px; }
.step__num { display: block; font-family: var(--font-serif); font-size: 60px; font-weight: 300; line-height: 1; color: var(--wine-soft); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 48px; }

/* ---------- Carrossel de pratos ---------- */
.food-carousel__stage {
  position: relative;
  height: clamp(360px, 46vw, 560px);
  touch-action: pan-y;
}
.food-slide {
  position: absolute; top: 0; left: 50%;
  height: 100%; width: auto; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
  transform: translateX(-50%) scale(.55);
  opacity: 0; z-index: 0; pointer-events: none;
  transition: transform .9s cubic-bezier(.2, .7, .2, 1), opacity .9s ease;
}
.food-slide.is-center { transform: translateX(-50%) scale(1); opacity: 1; z-index: 3; }
.food-slide.is-right-1 { transform: translateX(22%) scale(.8); opacity: .45; z-index: 2; }
.food-slide.is-left-1 { transform: translateX(-122%) scale(.8); opacity: .45; z-index: 2; }
.food-slide.is-right-2 { transform: translateX(80%) scale(.62); opacity: .18; z-index: 1; }
.food-slide.is-left-2 { transform: translateX(-180%) scale(.62); opacity: .18; z-index: 1; }
.food-carousel__controls { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 40px; }
.counter { margin: 0; min-width: 88px; text-align: center; font-family: var(--font-serif); color: var(--on-dark); font-size: 18px; }
.counter__current { font-size: 30px; color: var(--bg); }

/* ---------- Para quem é ---------- */
.audience { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.audience__card { background: var(--bg); border-radius: var(--radius-lg); padding: 32px 28px; color: var(--wine); }
.audience__card .h3, .audience__card p { color: var(--ink); }
.audience__card p { font-size: 16px; color: var(--muted); }

/* ---------- Atendimento ---------- */
.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.mode {
  border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 48px); background: var(--white);
  display: flex; flex-direction: column;
}
.mode__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--wine); }
.tag {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  color: var(--wine); background: var(--wine-tint); border-radius: 999px; padding: 6px 12px;
}
.mode__title {
  margin: 26px 0 12px;
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(30px, 2.8vw, 36px); line-height: 1.1; letter-spacing: -0.01em;
}
.mode > .muted { margin-bottom: 28px; }
.checklist { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px;
  background: var(--wine);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mode__foot { margin: auto 0 0; padding-top: 28px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.modes__note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.modes__note .muted { margin: 0; max-width: 560px; }
.chip { margin: 0; font-size: 15px; font-weight: 400; background: var(--bg-beige); border-radius: var(--radius); padding: 12px 18px; }

/* ---------- Formulário ---------- */
.lead-section { padding: var(--section-y) clamp(12px, 3vw, 32px); }
.lead-card {
  max-width: 1240px; margin: 0 auto;
  background: var(--wine); border-radius: 22px; overflow: hidden;
  display: flex; flex-wrap: wrap;
}
.lead-card__media { flex: 1 1 340px; min-width: 0; min-height: 320px; position: relative; }
.lead-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lead-card__body { flex: 1.25 1 440px; min-width: 0; padding: clamp(36px, 5vw, 72px) clamp(24px, 5vw, 72px); color: var(--bg); }
.lead-card__body .h2 { margin: 16px 0 14px; font-size: clamp(38px, 4.6vw, 58px); line-height: 1.05; }
.lead-card__body .measure { margin-bottom: 32px; }

.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 400; padding: 0; }
.field legend { margin-bottom: 8px; }
.input {
  min-height: 52px; border: 2px solid transparent; border-radius: var(--radius);
  padding: 0 16px; font: inherit; font-weight: 400; font-size: 16px;
  color: var(--ink); background: var(--white); width: 100%;
}
select.input { padding: 0 14px; }
.input:focus { outline: none; border-color: var(--beige); box-shadow: 0 0 0 3px rgba(228, 221, 198, .35); }
.input[aria-invalid="true"] { border-color: #F3B8A0; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  flex: 1 1 140px; min-height: 52px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--frame); border-radius: var(--radius);
  cursor: pointer; font-weight: 400; font-size: 16px; color: var(--bg);
  transition: background-color .2s ease, color .2s ease;
}
.pill input { accent-color: var(--navy); width: 16px; height: 16px; margin: 0; }
.pill:has(input:checked) { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.pill:has(input:focus-visible) { outline: 2px solid var(--bg); outline-offset: 3px; }

.consent {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14px; line-height: 1.5; color: var(--beige); cursor: pointer; margin-top: 4px;
}
.consent input { margin: 3px 0 0; width: 18px; height: 18px; flex: none; accent-color: var(--bg); }
.consent a { color: var(--white); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__error {
  margin: 0; font-size: 14px; font-weight: 400;
  color: var(--ink); background: #F3E3DA; border-radius: var(--radius); padding: 10px 14px;
}
.form__hint { margin: 0; font-size: 13px; color: var(--beige); text-align: center; }
.btn--cream { min-height: 56px; margin-top: 6px; }

.success { display: flex; flex-direction: column; justify-content: center; min-height: 100%; padding: 24px 0; }
.success[hidden] { display: none; }
.success__icon {
  width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--beige);
  display: inline-flex; align-items: center; justify-content: center; color: var(--bg);
}
.success .h2 { margin: 28px 0 14px; font-size: clamp(36px, 4.2vw, 52px); outline: none; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 80px); }
.faq__intro { flex: 1 1 280px; min-width: 0; max-width: 380px; }
.faq__intro .h2 { margin-bottom: 20px; }
.draft-chip {
  display: inline-block; font-size: 12px; letter-spacing: .06em; font-weight: 400;
  color: #6B3E1F; background: #F4E4D3; border-radius: 8px; padding: 6px 12px; margin-top: 20px;
}
.faq__list { flex: 2 1 480px; min-width: 0; border-top: 1px solid var(--line-2); }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__item summary {
  position: relative;
  list-style: none; cursor: pointer;
  min-height: 64px; padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: var(--font-serif); font-weight: 500; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.3;
  transition: color .2s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--wine); }
/* Ícone +/− desenhado com linhas: a vertical gira e some ao abrir */
.faq__item summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: linear-gradient(currentColor, currentColor) center / 12px 1px no-repeat;
  transition: border-color .3s ease;
}
.faq__item summary:hover::after { border-color: var(--wine); }
.faq__item summary::before {
  content: ""; position: absolute; right: 17px; top: 50%;
  width: 1px; height: 12px; margin-top: -6px;
  background: currentColor;
  translate: 50% 0;
  transition: rotate .5s var(--ease), opacity .4s ease;
}
.faq__item[open]:not(.is-closing) summary::before { rotate: 90deg; opacity: 0; }
.faq__body { overflow: hidden; }
.faq__item p { margin: 0; padding: 0 56px 26px 0; color: var(--muted); }

/* ---------- CTA final ---------- */
.final-cta { max-width: 860px; }
.final-cta .muted { max-width: 520px; margin: 0 auto 36px; }

/* ---------- Rodapé ---------- */
.footer { background: var(--navy); color: var(--on-dark); }
.footer a { color: var(--on-dark); text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer__grid {
  padding-top: 64px; padding-bottom: 40px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px;
  font-size: 15px;
}
.footer__brand { margin: 0; font-family: var(--font-serif); font-size: 28px; font-weight: 500; color: var(--bg); }
.footer__label { margin: 4px 0 16px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.footer__title { margin: 0 0 8px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--bg); font-weight: 400; }
.footer__contact { display: flex; flex-direction: column; gap: 6px; }
.footer__bottom {
  padding-top: 22px; padding-bottom: 40px;
  border-top: 1px solid #2A3050;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px;
}
.footer__bottom a { text-decoration: underline; }

/* ---------- Barra fixa no mobile ---------- */
.mobile-bar { display: none; }
@media (max-width: 720px) {
  body { padding-bottom: 76px; }
  .mobile-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(247, 244, 236, .95);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid #E3DCC8;
  }
  .mobile-bar .btn { min-height: 52px; }
  /* Com JS: a barra só aparece depois dos botões do hero e some quando o formulário está na tela */
  .js .mobile-bar {
    transform: translateY(110%); visibility: hidden;
    transition: transform .5s var(--ease), visibility 0s linear .5s;
  }
  .js .mobile-bar.is-shown {
    transform: none; visibility: visible;
    transition: transform .5s var(--ease), visibility 0s;
  }
}

/* =========================================================
   Animações
   (usam as propriedades translate/scale/rotate para não brigar
   com os transform dos efeitos de hover)
   ========================================================= */
@keyframes rise { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: none; } }
@keyframes rise-blur { from { opacity: 0; translate: 0 18px; filter: blur(10px); } to { opacity: 1; translate: none; filter: blur(0); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes media-in { from { opacity: 0; translate: 0 24px; scale: .98; } to { opacity: 1; translate: none; scale: 1; } }
@keyframes frame-in { from { opacity: 0; translate: -14px 14px; } to { opacity: 1; translate: none; } }
@keyframes ken-burns { from { scale: 1.07; } to { scale: 1; } }
@keyframes unveil {
  0%   { opacity: 0; clip-path: inset(10% 7% 10% 7% round var(--radius-lg)); scale: 1.06; }
  35%  { opacity: 1; }
  100% { opacity: 1; clip-path: inset(0 0 0 0 round var(--radius-lg)); scale: 1; }
}
@keyframes zoom-out { from { opacity: 0; scale: 1.08; } to { opacity: 1; scale: 1; } }
@keyframes write { from { opacity: 1; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes draw-line { to { background-size: 100% 1px; } }
@keyframes draw-check { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }
@keyframes spin { to { rotate: 360deg; } }

/* ---------- Hero: entrada em sequência ao carregar ---------- */
.hero__text > * { animation: rise 1s var(--ease) both; }
.hero__text > :nth-child(1) { animation-delay: .1s; }
.hero__text > :nth-child(3) { animation-delay: .45s; }
.hero__text > :nth-child(4) { animation-delay: .55s; }
.hero__text > :nth-child(5) { animation-delay: .7s; }
.hero__title { animation: rise-blur 1.2s var(--ease) .2s both; }
.hero__media { animation: media-in 1.3s var(--ease) .3s both; }
.hero-carousel__frame { animation: frame-in 1.4s var(--ease) .8s both; }
.crn-badge { animation: rise .9s var(--ease) 1.15s both; }
.hero-carousel__controls { animation: fade 1s ease 1.1s both; }

/* ---------- Revelação ao rolar (JS adiciona .is-visible e o --delay da sequência) ---------- */
.js [data-reveal] { opacity: 0; }
.js [data-reveal].is-visible { animation: rise .9s var(--ease) var(--delay, 0s) both; }
.js [data-reveal="image"].is-visible { animation: unveil 1.4s var(--ease) var(--delay, 0s) both; }
.js [data-reveal="zoom"].is-visible { animation: zoom-out 1.8s var(--ease) var(--delay, 0s) both; }

/* Assinatura: "escrita" da esquerda para a direita */
/* Fica só invisível (opacity) antes de entrar: se começasse recortada, o IntersectionObserver nunca a veria */
.js [data-reveal="sign"].is-visible { animation: write 1.6s cubic-bezier(.65, 0, .35, 1) calc(var(--delay, 0s) + .25s) both; }

/* Lista romana: as linhas se desenham */
.js .roman-list[data-reveal] {
  opacity: 1; border-top-color: transparent;
  background: linear-gradient(var(--line-3), var(--line-3)) left top / 0 1px no-repeat;
}
.js .roman-list[data-reveal] li {
  opacity: 0; border-bottom-color: transparent;
  background: linear-gradient(var(--line-3), var(--line-3)) left bottom / 0 1px no-repeat;
}
.js .roman-list[data-reveal].is-visible { animation: draw-line 1.2s var(--ease) var(--delay, 0s) both; }
.js .roman-list[data-reveal].is-visible li { animation: rise .9s var(--ease) both, draw-line 1.2s var(--ease) both; }
.js .roman-list[data-reveal].is-visible li:nth-child(1) { animation-delay: calc(var(--delay, 0s) + .15s); }
.js .roman-list[data-reveal].is-visible li:nth-child(2) { animation-delay: calc(var(--delay, 0s) + .3s); }

/* ---------- Cards: leve elevação no hover ---------- */
.audience__card { border: 1px solid transparent; }
.step, .audience__card, .mode {
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s ease;
}
.step__num { transition: color .4s ease; }
.audience__card svg { transition: transform .6s var(--ease); }
@media (hover: hover) {
  .step:hover, .audience__card:hover, .mode:hover {
    transform: translateY(-6px);
    border-color: rgba(112, 19, 49, .28);
    box-shadow: 0 30px 60px -28px rgba(19, 25, 54, .35);
  }
  .step:hover .step__num { color: var(--wine); }
  .audience__card:hover svg { transform: rotate(-8deg) scale(1.12); }
}

/* ---------- Formulário ↔ sucesso ---------- */
.view-enter { animation: rise .7s var(--ease) both; }
.success__icon path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.success.view-enter .success__icon { animation: pop .6s var(--ease) .1s both; }
.success.view-enter .success__icon path { animation: draw-check .6s ease .45s both; }

/* ---------- Movimento reduzido ----------
   Quem pediu menos movimento no sistema (ex.: "Mostrar animações no Windows" desligado)
   continua vendo fades suaves e os carrosséis; só saem deslocamentos, zooms e o Ken Burns. */
@media (prefers-reduced-motion: reduce) {
  .hero__text > *, .hero__title, .hero__media, .hero-carousel__frame, .crn-badge,
  .js [data-reveal]:not([data-reveal="sign"]):not(.roman-list).is-visible,
  .js .roman-list[data-reveal].is-visible li, .view-enter { animation-name: fade; }
  .hero-slide.is-active { animation: none; }
  .step:hover, .audience__card:hover, .mode:hover { transform: none; }
  .audience__card:hover svg { transform: none; }
}
