/* ==========================================================================
   Fé e Tulipas — estilos do site
   ========================================================================== */

:root {
  /* Cores da marca */
  --cream: #fbf6f1;
  --cream-2: #f4eae3;
  --blush: #ecd6cf;
  --rose: #b4555f;
  --rose-deep: #963c48;
  --sage: #6e8b6a;
  --ink: #1c1715;
  --ink-2: #2a2320;
  --ink-soft: #5a4f4a;
  --line: #e4d6cc;
  --white: #ffffff;

  /* Tipografia */
  --font-serif: "Newsreader", "Georgia", "Times New Roman", serif;
  --font-sans: "Onest", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(72px, 10vw, 128px);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(28, 23, 21, .04), 0 12px 32px -12px rgba(28, 23, 21, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h1 em, h2 em, h3 em { font-style: italic; color: var(--rose-deep); font-weight: 400; }

h1 { font-size: clamp(2.6rem, 5.6vw, 4.75rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
h3 { font-size: 1.4rem; letter-spacing: -0.01em; line-height: 1.2; }

p { margin: 0; text-wrap: pretty; }

:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 999px; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* ---------- Elementos reutilizáveis ---------- */
.eyebrow {
  display: block;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--rose-deep); margin-bottom: 18px;
}

.lead { font-size: clamp(1.08rem, 1.4vw, 1.22rem); color: var(--ink-soft); max-width: 36em; }

.btn {
  --btn-bg: var(--ink); --btn-fg: var(--cream); --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  font-family: var(--font-sans); font-size: .98rem; font-weight: 500; text-decoration: none; letter-spacing: .01em;
  cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { --btn-bg: var(--rose-deep); --btn-bd: var(--rose-deep); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: rgba(28, 23, 21, .25); }
.btn-outline:hover { --btn-bg: var(--ink); --btn-fg: var(--cream); --btn-bd: var(--ink); }
.btn-light { --btn-bg: var(--cream); --btn-fg: var(--ink); --btn-bd: var(--cream); }
.btn-light:hover { --btn-bg: var(--blush); --btn-fg: var(--ink); --btn-bd: var(--blush); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: .92rem; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; text-decoration: none; color: var(--ink);
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px; white-space: nowrap;
  transition: color .2s;
}
.link-arrow:hover { color: var(--rose-deep); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

.section { padding-block: var(--section-y); }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head p.lead { margin-top: 16px; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 241, .95);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }

.brand { display: inline-flex; flex: none; }
.brand img { width: 168px; height: auto; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 36px); }
.nav a:not(.btn) {
  position: relative; text-decoration: none; font-size: .96rem; font-weight: 500; color: var(--ink);
  padding-block: 6px;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--rose-deep); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 999px; border: 1.5px solid var(--line);
  background: transparent; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: var(--ink); border-radius: 2px; position: relative;
  transition: transform .3s var(--ease), background-color .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .brand img { width: 140px; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav a:not(.btn) { font-family: var(--font-serif); font-size: 1.6rem; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 20px; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 96px) var(--section-y); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }

.tags { display: flex; flex-wrap: wrap; gap: 8px 14px; list-style: none; padding: 0; margin: 0 0 28px; }
.tags li {
  font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 14px;
}
.tags li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--rose); flex: none; }

.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 36px; }

.stats {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px clamp(24px, 4vw, 48px);
  margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--line);
}
.stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 2px; }
.stats dt { font-size: .84rem; color: var(--ink-soft); }
.stats dd { margin: 0; font-family: var(--font-serif); font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.1; letter-spacing: -0.02em; }

/* Vídeo em destaque */
.feature { position: relative; }
.feature { isolation: isolate; }
.feature::before {
  content: ""; position: absolute; z-index: -1; top: -40px; right: -28px; left: 30%; bottom: 34%;
  background: var(--blush); border-radius: 999px 999px 24px 24px;
}
.feature-card { display: flex; flex-direction: column; gap: 20px; }
.feature-meta { display: flex; flex-direction: column; gap: 8px; padding-inline: 4px; }
.feature-title { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.2; }
.feature-label {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--rose-deep);
}
.feature-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 4px rgba(180, 85, 95, .18); }
.feature-embed { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--ink); }
.feature-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Miniatura de vídeo clicável (destaque e grade) */
.video-thumb {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink-2);
  box-shadow: var(--shadow);
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; }
.video-thumb:hover img { transform: scale(1.04); filter: brightness(.88); }
.play {
  position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px;
  border-radius: 50%; background: rgba(251, 246, 241, .94); display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  transition: transform .3s var(--ease), background-color .3s;
}
.play svg { width: 22px; height: 22px; margin-left: 3px; fill: var(--ink); transition: fill .3s; }
.video-thumb:hover .play { transform: scale(1.08); background: var(--rose-deep); }
.video-thumb:hover .play svg { fill: var(--cream); }

/* ---------- Canal (faixa escura) ---------- */
.channel { background: var(--ink); color: var(--cream); }
.channel .eyebrow { color: #e5aab0; }
.channel h2 em { color: #e5aab0; }
.channel-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.channel-top p { color: rgba(251, 246, 241, .78); font-size: 1.1rem; margin-bottom: 28px; }

/* ---------- Grade de vídeos ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 36px) clamp(20px, 2.4vw, 32px); }
.video-card { display: flex; flex-direction: column; gap: 14px; }
.video-card .video-thumb { border-radius: var(--radius-sm); box-shadow: none; }
.video-card .play { width: 54px; height: 54px; margin: -27px 0 0 -27px; opacity: 0; transform: scale(.85); }
.video-card .video-thumb:hover .play,
.video-card .video-thumb:focus-visible .play { opacity: 1; transform: scale(1); }
.video-card h3 { font-size: 1.16rem; line-height: 1.3; }
.video-card h3 button { all: unset; cursor: pointer; }
.video-card h3 button:hover { color: var(--rose-deep); }
.video-card h3 button:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; border-radius: 4px; }

.feed-message {
  grid-column: 1 / -1; text-align: center; padding: clamp(40px, 6vw, 64px) 24px; background: var(--cream-2); border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.feed-message p { font-family: var(--font-serif); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.35; max-width: 26em; }

/* Esqueleto de carregamento */
.skeleton { position: relative; overflow: hidden; background: var(--cream-2); border-radius: var(--radius-sm); }
.skeleton::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: translateX(-100%); animation: shimmer 1.4s infinite;
}
.skeleton-thumb { aspect-ratio: 16 / 9; }
.skeleton-line { height: 16px; margin-top: 4px; }
.skeleton-line.short { width: 40%; }
@keyframes shimmer { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .skeleton::after { animation: none; } }

/* ---------- Sobre ---------- */
.about { background: var(--cream-2); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 104px); align-items: center; }
.about-photo { margin: 0; position: relative; max-width: 500px; justify-self: center; width: 100%; }
.about-photo::before {
  content: ""; position: absolute; inset: -18px 18px 18px -18px; z-index: 0;
  border: 1.5px solid var(--rose); border-radius: 999px 999px 24px 24px; opacity: .55;
}
.about-photo img {
  position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%;
  border-radius: 999px 999px 24px 24px; box-shadow: var(--shadow);
}

.about-copy h2 { margin-bottom: 28px; }
.about-text { font-family: var(--font-serif); font-size: clamp(1.3rem, 2vw, 1.62rem); line-height: 1.45; letter-spacing: -0.005em; color: var(--ink); margin-bottom: 36px; }

/* ---------- Instagram ---------- */
.insta-layout { display: grid; grid-template-columns: 1fr minmax(0, 540px); gap: clamp(40px, 6vw, 96px); align-items: center; }
.insta-copy .lead { margin: 20px 0 32px; }
.insta-embed { width: 100%; max-width: 540px; justify-self: end; }
/* Widget oficial do Instagram, com cantos e sombra no estilo do site */
.insta-embed .instagram-media {
  margin: 0 !important; width: 100% !important; max-width: 540px !important; min-width: 0 !important;
  border: 0 !important; border-radius: var(--radius) !important; box-shadow: var(--shadow) !important;
  background: var(--white) !important; overflow: hidden;
}
/* Enquanto o widget carrega */
.insta-embed blockquote.instagram-media {
  display: grid; place-items: center; min-height: 520px; padding: 24px; text-align: center;
}
.insta-embed blockquote.instagram-media a { color: var(--rose-deep); font-weight: 500; }

/* ---------- CTA de convite ---------- */
.invite-cta { padding-top: 0; }
.invite-card {
  position: relative; overflow: hidden;
  background: var(--rose-deep); color: var(--cream); border-radius: calc(var(--radius) + 8px);
  padding: clamp(40px, 7vw, 88px); display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: end;
}
.invite-card .eyebrow { color: #f6d3d6; }
.invite-card h2 em { color: #f6d3d6; }
.invite-card p { color: rgba(251, 246, 241, .82); margin-top: 18px; font-size: 1.1rem; max-width: 34em; }
.invite-card .btn-light:hover { --btn-bg: var(--ink); --btn-fg: var(--cream); --btn-bd: var(--ink); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink); color: rgba(251, 246, 241, .74); padding-block: clamp(56px, 8vw, 88px) 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 190px; margin-bottom: 18px; }
.footer-brand p { max-width: 24em; }
.footer-title { font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cream); margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--cream); }
.social { display: flex; gap: 10px; }
.social a {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(251, 246, 241, .22);
  display: grid; place-items: center; color: var(--cream); transition: background-color .25s, border-color .25s;
}
.social a:hover { background: var(--rose-deep); border-color: var(--rose-deep); }
.social svg { width: 20px; height: 20px; }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(251, 246, 241, .14);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: rgba(251, 246, 241, .55);
}

/* ---------- Modal de vídeo ---------- */
.video-modal {
  width: min(1100px, calc(100vw - 32px)); max-width: none; padding: 0; border: 0; background: transparent; overflow: visible;
}
.video-modal::backdrop { background: rgba(20, 16, 14, .86); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.video-modal-frame { aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.video-modal-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-modal-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; color: var(--cream); }
.video-modal-bar a { color: rgba(251, 246, 241, .8); font-size: .9rem; }
.video-modal-close {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(251, 246, 241, .3); background: transparent;
  color: var(--cream); cursor: pointer; display: grid; place-items: center; flex: none;
}
.video-modal-close:hover { background: var(--cream); color: var(--ink); }
.video-modal-close svg { width: 18px; height: 18px; }

/* ---------- Página de convite ---------- */
.page-hero { padding-block: clamp(48px, 8vw, 104px) clamp(40px, 5vw, 64px); }
.page-hero h1 { margin-bottom: 24px; max-width: 14em; }

.invite-section { padding-bottom: var(--section-y); }
.invite-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }

.guidelines {
  position: sticky; top: 104px;
  background: var(--cream-2); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 40px);
}
.guidelines h2 { font-size: 1.9rem; margin-bottom: 12px; }
.guidelines > p { color: var(--ink-soft); font-size: .96rem; margin-bottom: 24px; }
.guidelines ol { list-style: none; counter-reset: g; padding: 0; margin: 0; display: grid; gap: 18px; }
.guidelines li { counter-increment: g; display: grid; grid-template-columns: 34px 1fr; gap: 4px; font-size: .93rem; color: var(--ink-soft); line-height: 1.6; }
.guidelines li::before {
  content: counter(g, decimal-leading-zero); font-family: var(--font-serif); font-style: italic; color: var(--rose-deep); font-size: 1rem; line-height: 1.5;
}
.guidelines li strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }

/* Formulário */
.invite-form { display: grid; gap: 40px; }
.form-group { border: 0; padding: 0; margin: 0; display: grid; gap: 22px; min-width: 0; }
.form-group legend {
  padding: 0 0 14px; margin-bottom: 4px; width: 100%; border-bottom: 1px solid var(--line);
  font-family: var(--font-serif); font-size: 1.55rem; letter-spacing: -0.01em; display: flex; align-items: baseline; gap: 12px;
}
.form-group legend span { font-family: var(--font-sans); font-size: .76rem; font-weight: 600; letter-spacing: .16em; color: var(--rose-deep); }

.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.label, .field > label { font-weight: 500; font-size: .98rem; color: var(--ink); line-height: 1.4; }
.req { color: var(--rose-deep); margin-left: 2px; }
.hint { font-size: .85rem; color: var(--ink-soft); }

.input, .textarea, .select {
  width: 100%; min-height: 52px; padding: 13px 16px;
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: 1rem; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1715' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px;
}
.input:hover, .textarea:hover, .select:hover { border-color: #d3bfb2; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--rose-deep); box-shadow: 0 0 0 4px rgba(150, 60, 72, .12); }
.input::placeholder, .textarea::placeholder { color: #a39791; }

.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 18px;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); cursor: pointer;
  font-size: .95rem; transition: border-color .2s, background-color .2s, color .2s;
}
.choice label::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #c9b6aa; flex: none;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.choice label:hover { border-color: #d3bfb2; }
.choice input:checked + label { border-color: var(--rose-deep); background: #fbeff0; color: var(--ink); }
.choice input:checked + label::before { border-color: var(--rose-deep); background: var(--rose-deep); box-shadow: inset 0 0 0 3px #fbeff0; }
.choice input:focus-visible + label { outline: 2px solid var(--rose-deep); outline-offset: 2px; }
.choices.stacked { flex-direction: column; align-items: flex-start; }

.other-input { margin-top: 2px; max-width: 420px; display: none; }
.other-input.is-visible { display: block; }

.agree {
  display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radius-sm);
  background: var(--cream-2); cursor: pointer;
}
.agree input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--rose-deep); flex: none; cursor: pointer; }

.field.has-error .input, .field.has-error .textarea, .field.has-error .select { border-color: #b3261e; }
.field.has-error .choice label { border-color: #e2a7a2; }
.field.has-error .agree { box-shadow: inset 0 0 0 1.5px #b3261e; }
.error-msg { display: none; font-size: .86rem; color: #b3261e; font-weight: 500; }
.field.has-error .error-msg { display: block; }
.warn-msg { display: none; font-size: .86rem; color: #8a5a00; background: #fbf1dc; border-radius: 10px; padding: 10px 14px; }
.warn-msg.is-visible { display: block; }

.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.form-footer .hint { max-width: 26em; }
.btn[disabled] { opacity: .6; cursor: progress; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(251, 246, 241, .35); border-top-color: var(--cream); animation: spin .8s linear infinite; display: none; }
.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status { padding: 16px 18px; border-radius: var(--radius-sm); font-size: .95rem; display: none; }
.form-status.is-error { display: block; background: #fbe9e7; color: #8c1d18; }

.form-success {
  display: none; text-align: center; padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 48px);
  background: var(--cream-2); border-radius: var(--radius);
}
.form-success.is-visible { display: block; }
.form-success h2 { font-size: clamp(2rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.form-success p { color: var(--ink-soft); max-width: 30em; margin: 0 auto 28px; }
.form-success .actions { justify-content: center; }

/* ---------- Animações de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .hero-grid, .channel-top, .about-grid, .invite-grid, .insta-layout { grid-template-columns: 1fr; }
  .feature { max-width: 640px; margin-top: 24px; }
  .feature::before { right: -12px; top: -24px; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .about-photo { max-width: 420px; }
  .insta-embed { justify-self: start; }
  .invite-card { grid-template-columns: 1fr; align-items: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .guidelines { position: static; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .tags, .tags li { gap: 10px; }
  .tags li { font-size: .7rem; letter-spacing: .1em; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .stats dd { font-size: 1.45rem; }
  .stats dt { font-size: .76rem; line-height: 1.35; }
  .video-grid { grid-template-columns: 1fr; }
  .about-photo::before { inset: -12px 10px 12px -8px; }
  .field-row { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 auto; }
  .section-head { align-items: flex-start; }
  .play { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
}
