/* =========================================================================
 * styles.css — Landing page (mobile-first, alta conversão)
 * ========================================================================= */
:root {
  --bg: #fbf8f3;          /* off-white quente */
  --bg-2: #f3ece0;
  --surface: #ffffff;
  --field: #f7f2e9;       /* fundo dos inputs */
  --primary: #e0a516;     /* dourado */
  --primary-dark: #c2860f;
  --terra: #c0492a;       /* terracota (destaques) */
  --accent: #1f9d57;
  --text: #20262e;        /* texto escuro */
  --muted: #6e7682;
  --border: #e9e0d1;
  --danger: #d4342b;
  --radius: 14px;
  --maxw: 1140px;
  --shadow: 0 14px 40px rgba(60,45,15,.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
@media (max-width: 480px) { .container { padding: 0 22px; } }
.center { text-align: center; }
.section-title { font-family: 'Fraunces', Georgia, serif; font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 600; text-align: center; margin-bottom: 32px; line-height: 1.2; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 700; font-size: 1rem;
  border: none; border-radius: var(--radius); cursor: pointer;
  padding: 15px 26px; transition: transform .12s ease, box-shadow .12s ease, background .2s; text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #1a1205; box-shadow: 0 8px 24px rgba(245,181,40,.32); }
.btn--primary:hover { box-shadow: 0 10px 30px rgba(245,181,40,.5); transform: translateY(-1px); }
.btn--primary:disabled { opacity: .6; cursor: not-allowed; }
.btn--ghost { background: transparent; color: var(--muted); border: 1px solid var(--border); }
.btn--whatsapp { background: linear-gradient(135deg, #25d366, #1da851); color: #04210f; box-shadow: 0 8px 24px rgba(37,211,102,.32); }
.btn--whatsapp::before { content: ""; display: inline-block; width: 22px; height: 22px; margin-right: 4px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2304210f'%3E%3Cpath d='M.057 24l1.687-6.163a11.867 11.867 0 01-1.587-5.945C.16 5.335 5.495 0 12.05 0a11.82 11.82 0 018.413 3.488 11.82 11.82 0 013.48 8.414c-.003 6.557-5.338 11.892-11.893 11.892a11.9 11.9 0 01-5.688-1.448L.057 24zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.462-4.415-9.89-9.881-9.892-5.452 0-9.887 4.434-9.889 9.884a9.86 9.86 0 001.51 5.26l-.999 3.648 3.978-1.607zm11.387-5.464c-.074-.124-.272-.198-.57-.347-.297-.149-1.758-.868-2.031-.967-.272-.099-.47-.149-.669.149-.198.297-.768.967-.941 1.165-.173.198-.347.223-.644.074-.297-.149-1.255-.462-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.297-.347.446-.521.151-.172.2-.296.3-.495.099-.198.05-.372-.025-.521-.075-.148-.669-1.611-.916-2.206-.242-.579-.487-.501-.669-.51l-.57-.01c-.198 0-.52.074-.792.372s-1.04 1.016-1.04 2.479 1.065 2.876 1.213 3.074c.149.198 2.095 3.2 5.076 4.487.71.306 1.263.489 1.694.626.712.226 1.36.194 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.695.248-1.29.173-1.414z'/%3E%3C/svg%3E"); vertical-align: middle; }
.btn--block { width: 100%; }
.btn--lg { padding: 18px 34px; font-size: 1.1rem; }

/* ---------- Barra de anúncio ---------- */
.announce { background: linear-gradient(90deg, #b8401c, #e07b1f); color: #fff; text-align: center; font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 12px 16px; line-height: 1.35; }
.announce strong { font-weight: 900; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Hero (compacto, formulário na 1ª tela) ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1100px 620px at 88% -12%, #fff3df 0%, var(--bg) 58%); }
.hero__inner { position: relative; display: grid; grid-template-columns: 1fr; gap: 22px; align-items: center;
  padding-top: 22px; padding-bottom: 30px; }
.hero__content { width: 100%; }

/* marca (avatar pequeno + nome) */
.hero__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.hero__avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary); flex-shrink: 0; }
.hero__avatar--empty { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.hero__brand-txt strong { display: block; font-size: .98rem; line-height: 1.1; }
.hero__brand-txt span { color: var(--muted); font-size: .8rem; }

.hero__title { font-family: 'Fraunces', Georgia, serif; font-size: clamp(1.7rem, 6.4vw, 2.7rem); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; margin-bottom: 12px; }
.hl { color: var(--primary); font-style: italic; }
.hero__subtitle { font-size: clamp(.92rem, 2vw, 1rem); color: var(--muted); margin-bottom: 16px; max-width: 460px; line-height: 1.5; }

/* Quick form */
.quick-form { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.quick-form__title { font-size: 1.1rem; font-weight: 800; margin-bottom: 14px; }
.field { margin-bottom: 10px; }
.field input {
  width: 100%; padding: 14px 15px; font-size: 1rem; font-family: inherit;
  background: var(--field); border: 1px solid var(--border); border-radius: 12px; color: var(--text);
}
.field input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(224,165,22,.2); }
.field input::placeholder { color: #a39c8e; }
.quick-form .btn { margin-top: 4px; }
.quick-form__note { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 10px; }
.quick-form__error { color: var(--danger); font-size: .88rem; margin-top: 8px; text-align: center; min-height: 1em; }

/* Foto do hero (só desktop) */
.hero__media { display: none; }
.hero__photo { display: block; width: 100%; max-width: 420px; aspect-ratio: 4/5; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); background: linear-gradient(135deg, #f3e8d2, #e9dcc0); }
.hero__photo--empty { position: relative; min-height: 380px; border: 1px dashed #d8c9ab; }
.hero__photo--empty::after { content: "Foto da Mayra\A (public/assets/mayra.jpg)"; white-space: pre; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; color: #b09a6e; font-weight: 600; font-size: .85rem; padding: 16px; }

/* ---------- Prova ---------- */
.proof { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; }
.proof__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; text-align: center; }
.proof__item strong { display: block; font-size: 1.7rem; font-weight: 900; color: var(--primary); }
.proof__item span { color: var(--muted); font-size: .85rem; }

/* ---------- Dores ---------- */
.pains { padding: 64px 0; }
.pains__grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 24px; }
.pain-card { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--primary); border-radius: 12px; padding: 18px 20px; font-weight: 500; }
.pains__line { text-align: center; color: var(--primary); font-weight: 600; font-size: 1.05rem; margin-bottom: 28px; }

/* ---------- Quem é Mayra ---------- */
.about { background: #f6f1e7; color: #2a2417; padding: 70px 0; }
.about__inner { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.about__media { display: flex; justify-content: center; }
.about__photo { width: 100%; max-width: 380px; aspect-ratio: 4/5; object-fit: cover; border-radius: 18px; box-shadow: 0 18px 44px rgba(80,60,20,.22); background: #e7ddc8; }
.about__photo--empty { position: relative; }
.about__photo--empty::after { content: "Foto da Mayra\A (public/assets/mayra.jpg)"; white-space: pre; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; color: #a8946a; font-weight: 600; font-size: .85rem; }
.about__eyebrow { display: inline-block; background: var(--terra); color: #fff; font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; margin-bottom: 14px; box-shadow: 0 6px 16px rgba(192,73,42,.28); }
.about__title { font-family: 'Fraunces', Georgia, serif; font-size: clamp(1.8rem, 4.5vw, 2.6rem); font-weight: 600; margin-bottom: 18px; color: #1c1812; }
.about__content p { color: #4a4334; margin-bottom: 14px; line-height: 1.65; }
.about__content strong { color: #1c1812; }
.about__content .btn { margin-top: 10px; }

/* ---------- Passos ---------- */
.steps { padding: 20px 0 70px; }
.steps__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.step-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px 24px; text-align: center; position: relative; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #1a1205; font-weight: 900; font-size: 1.2rem; margin-bottom: 14px; }
.step-card h3 { margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: .95rem; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 30px 0; text-align: center; color: var(--muted); font-size: .88rem; }
.footer__small { font-size: .76rem; margin-top: 8px; opacity: .8; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; }
.modal--open { display: block; }
.modal__overlay { position: absolute; inset: 0; background: rgba(4,7,15,.82); backdrop-filter: blur(4px); }
.modal__dialog { position: relative; max-width: 540px; margin: 4vh auto; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); max-height: 92vh; overflow-y: auto; animation: pop .25s ease; }
@keyframes pop { from { transform: translateY(16px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal__close { position: absolute; top: 12px; right: 16px; background: none; border: none; color: var(--muted); font-size: 2rem; cursor: pointer; line-height: 1; z-index: 2; }
.modal__head { padding: 28px 28px 16px; }
.modal__head h2 { font-size: 1.5rem; font-weight: 800; }
.modal__head p { color: var(--muted); font-size: .92rem; margin-top: 4px; }
.progress { height: 6px; background: var(--bg-2); border-radius: 100px; margin-top: 18px; overflow: hidden; }
.progress__bar { height: 100%; width: 10%; background: linear-gradient(90deg, var(--primary), var(--primary-dark)); border-radius: 100px; transition: width .3s ease; }

/* Diagnóstico */
.diag-form { padding: 8px 28px 28px; }
.diag-step { animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
.diag-label { display: block; font-size: 1.15rem; font-weight: 700; margin-bottom: 16px; }
.diag-label small { font-weight: 500; color: var(--muted); font-size: .85rem; }
.diag-input { width: 100%; padding: 15px 16px; font-size: 1rem; font-family: inherit; background: var(--field); border: 1px solid var(--border); border-radius: 12px; color: var(--text); resize: vertical; }
.diag-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(245,181,40,.18); }
.diag-options { display: grid; gap: 10px; }
.opt { text-align: left; padding: 16px 18px; background: var(--field); border: 1.5px solid var(--border); border-radius: 12px; color: var(--text); font-family: inherit; font-size: .98rem; font-weight: 500; cursor: pointer; transition: all .15s; }
.opt:hover { border-color: var(--primary); }
.opt--active { border-color: var(--primary); background: rgba(224,165,22,.14); color: var(--text); font-weight: 700; }
.opt--active::before { content: "✓ "; color: var(--primary); font-weight: 900; }
.diag-nav { display: flex; gap: 12px; margin-top: 24px; }
.diag-nav .btn { flex: 1; }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 2000; padding: 14px 22px; border-radius: 12px; font-weight: 600; box-shadow: var(--shadow); max-width: 92vw; }
.toast--ok { background: var(--accent); color: #fff; }
.toast--error { background: var(--danger); color: #fff; }

/* ---------- Responsivo ---------- */
/* Mobile (celular) */
@media (max-width: 480px) {
  .modal__dialog { max-width: 95vw; margin: 20vh auto; max-height: 80vh; border-radius: 16px; }
  .modal__head { padding: 18px 16px 12px; }
  .modal__head h2 { font-size: 1.2rem; }
  .modal__close { top: 8px; right: 10px; font-size: 1.6rem; }
  .diag-form { padding: 4px 16px 16px; }
  .diag-label { font-size: 1rem; margin-bottom: 12px; }
  .diag-input { padding: 12px 14px; font-size: .95rem; }
  .diag-options { gap: 8px; }
  .opt { padding: 14px 16px; font-size: .9rem; }
  .diag-nav { gap: 8px; margin-top: 16px; }
  .diag-nav .btn { padding: 13px 12px; font-size: .9rem; }
  .diag-progress { height: 5px; }
}

@media (min-width: 720px) {
  .proof__grid { grid-template-columns: repeat(4, 1fr); }
  .pains__grid { grid-template-columns: repeat(2, 1fr); }
  .steps__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 980px) {
  .hero { min-height: calc(100vh - 44px); display: flex; align-items: center; padding: 24px 0; }
  .hero__inner { grid-template-columns: 1.05fr .95fr; gap: 56px; }
  .hero__media { display: flex; justify-content: center; }
  .hero__brand { margin-bottom: 24px; }
  .about__inner { grid-template-columns: .85fr 1.15fr; gap: 56px; }
}

/* ===================== PÁGINA DE OBRIGADO (cartão) ===================== */
.ty-body { background: radial-gradient(1000px 600px at 50% -10%, #fff2da, var(--bg)); min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.ty-wrap { width: 100%; max-width: 440px; }
.ty-card { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; box-shadow: 0 24px 60px rgba(60,45,15,.16); padding: 34px 28px 28px; text-align: center; animation: tyPop .4s ease; }
@keyframes tyPop { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.ty-badge { display: inline-block; background: #eaf7ef; color: #1f9d57; border: 1px solid #bfe6cd; font-weight: 800; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 7px 14px; border-radius: 100px; margin-bottom: 18px; }
.ty-title { font-family: 'Fraunces', Georgia, serif; font-size: clamp(1.5rem, 5vw, 2rem); font-weight: 600; color: var(--text); line-height: 1.15; margin-bottom: 8px; }
.ty-congrats { color: var(--muted); font-size: 1rem; margin-bottom: 22px; }
.ty-congrats strong { color: var(--text); }
.ty-photo { width: 156px; height: 156px; margin: 0 auto 18px; border-radius: 50%; padding: 5px; background: linear-gradient(135deg, var(--primary), #e7c98a); }
.ty-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; background: #f0e7d4; }
.ty-photo--empty { position: relative; }
.ty-photo--empty::after { content: "Mayra"; position: absolute; inset: 5px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #b09a6e; font-weight: 700; background: #f3e9d6; }
.ty-name { font-family: 'Fraunces', Georgia, serif; font-size: 1.3rem; font-weight: 600; color: var(--text); }
.ty-role { color: var(--muted); font-size: .9rem; margin-bottom: 22px; }
.ty-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 16px 22px; border-radius: 100px; font-weight: 800; font-size: 1.02rem; color: #fff; text-decoration: none; transition: transform .12s, box-shadow .12s; }
.ty-btn:hover { transform: translateY(-2px); }
.ty-btn--wa { background: linear-gradient(135deg, #25d366, #128c4b); box-shadow: 0 10px 26px rgba(37,211,102,.4); }
.ty-btn--ig { background: linear-gradient(45deg, #f09433, #e6683c 30%, #dc2743 55%, #cc2366 75%, #bc1888); box-shadow: 0 10px 26px rgba(220,39,67,.35); }
.ty-ico-wa, .ty-ico-ig { width: 22px; height: 22px; background: no-repeat center/contain; }
.ty-ico-wa { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M.057 24l1.687-6.163a11.867 11.867 0 01-1.587-5.945C.16 5.335 5.495 0 12.05 0a11.82 11.82 0 018.413 3.488 11.82 11.82 0 013.48 8.414c-.003 6.557-5.338 11.892-11.893 11.892a11.9 11.9 0 01-5.688-1.448L.057 24zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.462-4.415-9.89-9.881-9.892-5.452 0-9.887 4.434-9.889 9.884a9.86 9.86 0 001.51 5.26l-.999 3.648 3.978-1.607zm11.387-5.464c-.074-.124-.272-.198-.57-.347-.297-.149-1.758-.868-2.031-.967-.272-.099-.47-.149-.669.149-.198.297-.768.967-.941 1.165-.173.198-.347.223-.644.074-.297-.149-1.255-.462-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.297-.347.446-.521.151-.172.2-.296.3-.495.099-.198.05-.372-.025-.521-.075-.148-.669-1.611-.916-2.206-.242-.579-.487-.501-.669-.51l-.57-.01c-.198 0-.52.074-.792.372s-1.04 1.016-1.04 2.479 1.065 2.876 1.213 3.074c.149.198 2.095 3.2 5.076 4.487.71.306 1.263.489 1.694.626.712.226 1.36.194 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.695.248-1.29.173-1.414z'/%3E%3C/svg%3E"); }
.ty-ico-ig { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 2.2c3.2 0 3.6 0 4.9.07 1.17.05 1.97.24 2.43.4.61.24 1.05.52 1.5.98.46.45.74.89.98 1.5.16.46.35 1.26.4 2.43.07 1.3.07 1.7.07 4.9s0 3.6-.07 4.9c-.05 1.17-.24 1.97-.4 2.43-.24.61-.52 1.05-.98 1.5-.45.46-.89.74-1.5.98-.46.16-1.26.35-2.43.4-1.3.07-1.7.07-4.9.07s-3.6 0-4.9-.07c-1.17-.05-1.97-.24-2.43-.4-.61-.24-1.05-.52-1.5-.98-.46-.45-.74-.89-.98-1.5-.16-.46-.35-1.26-.4-2.43C2.2 15.6 2.2 15.2 2.2 12s0-3.6.07-4.9c.05-1.17.24-1.97.4-2.43.24-.61.52-1.05.98-1.5.45-.46.89-.74 1.5-.98.46-.16 1.26-.35 2.43-.4C8.4 2.2 8.8 2.2 12 2.2zm0 1.8c-3.15 0-3.52.01-4.76.07-.92.04-1.42.2-1.75.33-.44.17-.76.38-1.09.71-.33.33-.54.65-.71 1.09-.13.33-.29.83-.33 1.75C3.21 8.48 3.2 8.85 3.2 12s.01 3.52.07 4.76c.04.92.2 1.42.33 1.75.17.44.38.76.71 1.09.33.33.65.54 1.09.71.33.13.83.29 1.75.33 1.24.06 1.61.07 4.76.07s3.52-.01 4.76-.07c.92-.04 1.42-.2 1.75-.33.44-.17.76-.38 1.09-.71.33-.33.54-.65.71-1.09.13-.33.29-.83.33-1.75.06-1.24.07-1.61.07-4.76s-.01-3.52-.07-4.76c-.04-.92-.2-1.42-.33-1.75-.17-.44-.38-.76-.71-1.09-.33-.33-.65-.54-1.09-.71-.33-.13-.83-.29-1.75-.33C15.52 4.01 15.15 4 12 4zm0 3.06A4.94 4.94 0 1012 16.94 4.94 4.94 0 0012 7.06zm0 8.14A3.2 3.2 0 1112 8.8a3.2 3.2 0 010 6.4zm6.3-8.34a1.15 1.15 0 11-2.3 0 1.15 1.15 0 012.3 0z'/%3E%3C/svg%3E"); }
.ty-note { color: var(--muted); font-size: .86rem; margin-top: 16px; line-height: 1.5; }
.ty-back { display: inline-block; margin-top: 18px; color: var(--muted); font-size: .85rem; text-decoration: none; }
.ty-back:hover { color: var(--text); }
