/* Robô Faz Por Mim — estilos do site (identidade dos vídeos: vermelho #E5322D, cinza claro com grade, Anton + Instrument Serif). */

@font-face { font-family: 'Anton'; src: url('../fonts/Anton-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('../fonts/InstrumentSerif-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('../fonts/InstrumentSerif-Italic.ttf') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --rfpm-red: #E5322D;
  --rfpm-red-dark: #B9201C;
  --rfpm-ink: #141416;
  --rfpm-muted: #5c5c66;
  --rfpm-bg: #ECECEC;
  --rfpm-grid: #E2E2E2;
  --rfpm-white: #ffffff;
  --rfpm-pink: #FBE3E1;
  --rfpm-radius: 18px;
  --rfpm-shadow: 0 10px 30px rgba(20, 20, 22, .08);
  --rfpm-display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --rfpm-serif: 'Instrument Serif', Georgia, serif;
}

/* ------------------------------------------------------------ seções */
.rfpm-sec { padding: 72px 0; }
.rfpm-sec-hero, .rfpm-sec-light, .rfpm-sec-steps {
  background-color: var(--rfpm-bg);
  background-image: linear-gradient(var(--rfpm-grid) 1px, transparent 1px), linear-gradient(90deg, var(--rfpm-grid) 1px, transparent 1px);
  background-size: 48px 48px;
}
.rfpm-sec-hero { padding: 88px 0 72px; }
.rfpm-sec-hero-sm { padding: 56px 0 40px; }
.rfpm-sec-white { background: var(--rfpm-white); }
.rfpm-sec-news { background: var(--rfpm-pink); }
.rfpm-sec-dark { background: var(--rfpm-ink); color: #fff; }
.rfpm-sec-dark .elementor-heading-title, .rfpm-sec-dark h2 { color: #fff !important; }
.rfpm-sec-tool { padding-top: 40px; }
.rfpm-center, .rfpm-center .elementor-widget-container { text-align: center; }

/* reserva sem Elementor */
.rfpm-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.rfpm-wrap > .rfpm-col { flex: 1 1 280px; }

/* ------------------------------------------------------------ tipografia */
.rfpm-heading .elementor-heading-title, h1.rfpm-heading, h2.rfpm-heading, h3.rfpm-heading {
  font-family: var(--rfpm-display); font-weight: 400; color: var(--rfpm-ink); line-height: 1.05; letter-spacing: .5px; text-transform: uppercase;
}
.rfpm-h1 .elementor-heading-title, h1.rfpm-heading { font-size: clamp(38px, 5.4vw, 68px); }
.rfpm-h2 .elementor-heading-title, h2.rfpm-heading { font-size: clamp(30px, 3.6vw, 46px); }
.rfpm-heading em { font-family: var(--rfpm-serif); font-style: italic; text-transform: none; color: var(--rfpm-red); letter-spacing: 0; }
.rfpm-eyebrow { font-family: var(--rfpm-serif); font-style: italic; font-size: 22px; color: var(--rfpm-red); margin: 0 0 6px; }
.rfpm-eyebrow a { color: inherit; }
.rfpm-lead { font-size: 19px; line-height: 1.6; color: var(--rfpm-muted); max-width: 640px; }
.rfpm-text { font-size: 17px; line-height: 1.65; }
.rfpm-legal h2 { font-family: var(--rfpm-display); font-weight: 400; font-size: 26px; margin-top: 32px; }

/* ------------------------------------------------------------ botões */
.rfpm-btn .elementor-button, p.rfpm-btn .elementor-button, .rfpm-btn-main {
  display: inline-block; background: var(--rfpm-red); color: #fff; font-weight: 700; font-size: 17px; padding: 16px 28px; border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: 0 8px 20px rgba(229, 50, 45, .28); transition: transform .15s, background .15s; text-decoration: none;
}
.rfpm-btn .elementor-button:hover, .rfpm-btn-main:hover { background: var(--rfpm-red-dark); transform: translateY(-2px); color: #fff; }
.rfpm-btn-ghost .elementor-button { background: transparent; color: var(--rfpm-ink); box-shadow: inset 0 0 0 2px var(--rfpm-ink); }
.rfpm-btn-ghost .elementor-button:hover { background: var(--rfpm-ink); color: #fff; }
.elementor-widget-button.rfpm-btn { display: inline-block; width: auto; margin-right: 12px; }

.rfpm-btn-sm {
  display: inline-flex; align-items: center; gap: 6px; background: var(--rfpm-red); color: #fff !important; border: 0; border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; line-height: 1.2;
}
.rfpm-btn-sm:hover { background: var(--rfpm-red-dark); }
.rfpm-btn-sm-ghost { background: #fff; color: var(--rfpm-ink) !important; box-shadow: inset 0 0 0 2px var(--rfpm-ink); }
.rfpm-btn-sm-ghost:hover { background: var(--rfpm-ink); color: #fff !important; }
.rfpm-btn-sm:disabled { opacity: .6; cursor: wait; }
.rfpm-link { background: none; border: 0; color: var(--rfpm-muted); text-decoration: underline; cursor: pointer; font-size: 14px; padding: 8px 0; }
.rfpm-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }

/* ------------------------------------------------------------ imagens */
.rfpm-img img { max-height: 460px; width: auto; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .18)); }
.rfpm-img-sm img { max-height: 280px; }

/* ------------------------------------------------------------ passos e listas */
.rfpm-step { background: #fff; border-radius: var(--rfpm-radius); padding: 28px; box-shadow: var(--rfpm-shadow); height: 100%; }
.rfpm-step h3 { font-family: var(--rfpm-display); font-weight: 400; font-size: 26px; margin: 6px 0; text-transform: uppercase; }
.rfpm-num { font-family: var(--rfpm-display); font-size: 54px; color: var(--rfpm-pink); -webkit-text-stroke: 2px var(--rfpm-red); line-height: 1; }
.rfpm-check { list-style: none; padding: 0; margin: 16px 0; }
.rfpm-check li { position: relative; padding-left: 34px; margin: 12px 0; }
.rfpm-check li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--rfpm-red); color: #fff; font-size: 14px; display: grid; place-items: center; }
.rfpm-steps-list { counter-reset: s; list-style: none; padding: 0; }
.rfpm-steps-list li { counter-increment: s; position: relative; padding: 12px 0 12px 52px; font-size: 18px; }
.rfpm-steps-list li::before { content: counter(s); position: absolute; left: 0; top: 6px; width: 38px; height: 38px; border-radius: 50%; background: var(--rfpm-red); color: #fff; font-family: var(--rfpm-display); font-size: 20px; display: grid; place-items: center; }
.rfpm-faq { background: #fff; border-radius: 14px; padding: 16px 20px; margin: 10px 0; box-shadow: var(--rfpm-shadow); }
.rfpm-faq summary { cursor: pointer; font-weight: 700; list-style: none; }
.rfpm-faq summary::after { content: '+'; float: right; color: var(--rfpm-red); font-size: 22px; line-height: 1; }
.rfpm-faq[open] summary::after { content: '–'; }
.rfpm-faq p { margin: 10px 0 0; color: var(--rfpm-muted); }

/* ------------------------------------------------------------ cards de ferramentas e posts */
.rfpm-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; margin-top: 24px; }
.rfpm-card { display: flex; gap: 16px; align-items: center; background: var(--rfpm-bg); border-radius: var(--rfpm-radius); padding: 18px; color: var(--rfpm-ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.rfpm-card:hover { transform: translateY(-4px); box-shadow: var(--rfpm-shadow); color: var(--rfpm-ink); }
.rfpm-card-img { flex: 0 0 96px; display: grid; place-items: center; }
.rfpm-card-img img { max-height: 120px; width: auto; }
.rfpm-card-body { display: flex; flex-direction: column; gap: 6px; }
.rfpm-card-body strong { font-family: var(--rfpm-display); font-weight: 400; font-size: 24px; text-transform: uppercase; line-height: 1.1; }
.rfpm-card-body > span { font-size: 15px; color: var(--rfpm-muted); line-height: 1.45; }
.rfpm-card-tag { align-self: flex-start; background: var(--rfpm-red); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .5px; }
.rfpm-card-body .rfpm-card-go { color: var(--rfpm-red); font-weight: 700; }
.rfpm-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin: 24px 0; }
.rfpm-post { display: block; background: var(--rfpm-bg); border-radius: var(--rfpm-radius); overflow: hidden; color: var(--rfpm-ink); text-decoration: none; }
.rfpm-post img { width: 100%; height: 180px; object-fit: cover; display: block; }
.rfpm-post-body { display: flex; flex-direction: column; gap: 8px; padding: 18px; }
.rfpm-post-body strong { font-size: 19px; line-height: 1.3; }
.rfpm-empty { color: var(--rfpm-muted); font-style: italic; }
.rfpm-social { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.rfpm-social-link { border: 2px solid #fff; color: #fff !important; padding: 10px 22px; border-radius: 999px; text-decoration: none; font-weight: 700; }
.rfpm-social-link:hover { background: var(--rfpm-red); border-color: var(--rfpm-red); }

/* ------------------------------------------------------------ ferramentas */
.rfpm-tool { font-size: 16px; color: var(--rfpm-ink); }
.rfpm-tool *, .rfpm-modal * { box-sizing: border-box; }
.rfpm-loading { color: var(--rfpm-muted); }
.rfpm-panel { background: var(--rfpm-bg); border-radius: var(--rfpm-radius); padding: 22px; margin-bottom: 18px; }
.rfpm-panel-out { background: #fff; box-shadow: var(--rfpm-shadow); border: 2px solid var(--rfpm-ink); }
.rfpm-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.rfpm-row2, .rfpm-row3 { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.rfpm-row3 { grid-template-columns: repeat(3, 1fr); }
.rfpm-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.rfpm-label { font-weight: 700; font-size: 15px; }
.rfpm-hint { font-size: 14px; color: var(--rfpm-muted); margin: 6px 0; }
.rfpm-tool input[type=text], .rfpm-tool input[type=search], .rfpm-tool input[type=number], .rfpm-tool input[type=date], .rfpm-tool select, .rfpm-tool textarea, .rfpm-modal input {
  width: 100%; border: 2px solid #d4d4d8; border-radius: 12px; padding: 11px 14px; font-size: 16px; background: #fff; color: var(--rfpm-ink); font-family: inherit;
}
.rfpm-tool input:focus, .rfpm-tool select:focus, .rfpm-tool textarea:focus, .rfpm-modal input:focus { outline: none; border-color: var(--rfpm-red); box-shadow: 0 0 0 3px rgba(229, 50, 45, .15); }
.rfpm-checks { display: flex; flex-direction: column; gap: 8px; }
.rfpm-checks-inline { flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
.rfpm-checks label, .rfpm-days label, .rfpm-item label { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; font-size: 15px; }
.rfpm-tool input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--rfpm-red); }
.rfpm-out { white-space: pre-wrap; word-break: break-word; background: var(--rfpm-bg); border-radius: 12px; padding: 16px; font-family: inherit; font-size: 15px; line-height: 1.55; margin: 8px 0 14px; min-height: 60px; }
.rfpm-out-weak { color: var(--rfpm-muted); text-decoration: line-through; text-decoration-color: rgba(229, 50, 45, .5); }
.rfpm-badge { display: inline-block; background: var(--rfpm-ink); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .5px; }
.rfpm-badge-weak { background: #9a9aa3; }
.rfpm-alert { background: #FFF4E5; border-left: 4px solid #F59E0B; padding: 10px 14px; border-radius: 8px; font-size: 14px; }
.rfpm-ok { background: #E8F7EE; border-left: 4px solid #16A34A; padding: 10px 14px; border-radius: 8px; font-size: 15px; }
.rfpm-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 16px; }
.rfpm-chip { border: 2px solid var(--rfpm-ink); background: #fff; color: var(--rfpm-ink); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 700; cursor: pointer; }
.rfpm-chip.is-on, .rfpm-chip:hover { background: var(--rfpm-ink); color: #fff; }
.rfpm-chip.is-static { cursor: default; border-color: #d4d4d8; background: var(--rfpm-bg); color: var(--rfpm-ink); }
.rfpm-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.rfpm-toolbar input[type=search] { max-width: 420px; }

/* biblioteca */
.rfpm-pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.rfpm-pcard { background: var(--rfpm-bg); border-radius: var(--rfpm-radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.rfpm-pcard h3 { margin: 4px 0; font-size: 19px; line-height: 1.3; }
.rfpm-pcard-text { font-size: 14px; color: var(--rfpm-muted); line-height: 1.5; flex: 1; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.rfpm-pcard mark, .rfpm-out mark { background: var(--rfpm-pink); color: var(--rfpm-red-dark); border-radius: 4px; padding: 0 3px; }
.rfpm-modal { position: fixed; inset: 0; background: rgba(20, 20, 22, .6); z-index: 99999; display: grid; place-items: center; padding: 16px; }
.rfpm-modal-box { position: relative; background: #fff; border-radius: 22px; padding: 28px; width: min(640px, 100%); max-height: 90vh; overflow: auto; }
.rfpm-modal-box h3 { margin: 0 0 16px; padding-right: 30px; }
.rfpm-modal-x { position: absolute; top: 12px; right: 14px; border: 0; background: none; font-size: 30px; cursor: pointer; line-height: 1; }
.rfpm-modal-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 14px; }

/* cronograma */
.rfpm-days { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.rfpm-crono-out h3 { font-size: 22px; margin: 18px 0 10px; }
.rfpm-table-wrap { overflow-x: auto; }
.rfpm-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.rfpm-table th { background: var(--rfpm-ink); color: #fff; text-align: left; padding: 10px; }
.rfpm-table td { border-bottom: 1px solid #e4e4e7; padding: 10px; vertical-align: top; }
.rfpm-table tr:nth-child(even) td { background: #fafafa; }
.rfpm-crono-pill { display: inline-block; margin: 2px 6px 2px 0; padding: 4px 10px; border-radius: 999px; background: var(--rfpm-bg); font-size: 14px; }
.rfpm-crono-rev .rfpm-crono-pill, .rfpm-crono-pill.rfpm-crono-rev { background: #E0F2FE; }
.rfpm-crono-pill.rfpm-crono-sim { background: var(--rfpm-pink); color: var(--rfpm-red-dark); font-weight: 700; }
div.rfpm-crono-rev { font-size: 13px; color: var(--rfpm-muted); margin-bottom: 4px; }

/* lista de compras */
.rfpm-tabs { display: flex; gap: 6px; background: var(--rfpm-bg); padding: 6px; border-radius: 999px; }
.rfpm-tab { border: 0; background: none; padding: 10px 18px; border-radius: 999px; font-weight: 700; cursor: pointer; color: var(--rfpm-ink); }
.rfpm-tab.is-on { background: var(--rfpm-ink); color: #fff; }
.rfpm-cat { border: 0; background: var(--rfpm-bg); border-radius: var(--rfpm-radius); padding: 16px 18px; margin: 0 0 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 16px; }
.rfpm-cat legend, .rfpm-cat h4 { font-family: var(--rfpm-display); font-weight: 400; font-size: 20px; text-transform: uppercase; padding: 0; margin: 0 0 6px; grid-column: 1 / -1; float: left; width: 100%; }
.rfpm-item { display: flex; align-items: center; gap: 8px; min-height: 40px; }
.rfpm-qtd { max-width: 90px; padding: 6px 10px !important; }
.rfpm-add { display: grid; grid-template-columns: 1fr 220px auto; gap: 10px; margin: 6px 0 10px; }
.rfpm-shop-item { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: #fff; border: 2px solid #e4e4e7; border-radius: 12px; padding: 12px 14px; font-size: 17px; cursor: pointer; color: var(--rfpm-ink); }
.rfpm-shop-item.is-done { text-decoration: line-through; color: #9a9aa3; background: #f4f4f5; }
.rfpm-tick { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--rfpm-red); display: grid; place-items: center; color: #fff; font-weight: 700; flex: 0 0 26px; }
.is-done .rfpm-tick { background: var(--rfpm-red); }

/* mensagens */
.rfpm-msgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.rfpm-msg { background: #fff; border: 2px solid var(--rfpm-ink); border-radius: var(--rfpm-radius); padding: 18px; display: flex; flex-direction: column; }
.rfpm-msg p { flex: 1; font-size: 16px; line-height: 1.55; }
.rfpm-msgs > .rfpm-hint { grid-column: 1 / -1; }

/* prompt nos posts */
.rfpm-promptbox { background: var(--rfpm-bg); border-left: 5px solid var(--rfpm-red); border-radius: 12px; padding: 16px 18px; margin: 14px 0 22px; }
.rfpm-promptbox p { margin: 6px 0 10px; font-size: 17px; }
.rfpm-promptbox-label { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--rfpm-red); letter-spacing: .5px; }
.rfpm-cta { background: var(--rfpm-pink); padding: 16px 18px; border-radius: 12px; }

/* newsletter */
.rfpm-news-row { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 10px; }
.rfpm-news input[type=text], .rfpm-news input[type=email] { border: 2px solid var(--rfpm-ink); border-radius: 999px; padding: 12px 18px; font-size: 16px; width: 100%; background: #fff; }
.rfpm-news-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; margin-top: 10px; color: var(--rfpm-muted); }
.rfpm-news-consent input { margin-top: 3px; accent-color: var(--rfpm-red); }
.rfpm-news-msg { font-weight: 700; min-height: 1.4em; }
.rfpm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.rfpm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* aviso flutuante */
.rfpm-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--rfpm-ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 700; opacity: 0; transition: .25s; z-index: 100000; pointer-events: none; }
.rfpm-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------ responsivo */
@media (max-width: 860px) {
  .rfpm-sec { padding: 48px 0; }
  .rfpm-sec-hero { padding: 56px 0 40px; }
  .rfpm-grid2, .rfpm-row3, .rfpm-row2, .rfpm-news-row, .rfpm-add { grid-template-columns: 1fr; }
  .rfpm-img img { max-height: 300px; }
  .rfpm-cards { grid-template-columns: 1fr; }
  .elementor-widget-button.rfpm-btn { display: block; margin: 0 0 10px; }
}

/* ------------------------------------------------------------ impressão */
@media print {
  body.rfpm-print-crono * { visibility: hidden; }
  body.rfpm-print-crono .rfpm-crono-out, body.rfpm-print-crono .rfpm-crono-out * { visibility: visible; }
  body.rfpm-print-crono .rfpm-crono-out { position: absolute; left: 0; top: 0; width: 100%; }
  .rfpm-actions, .rfpm-tabs, .rfpm-add, .rfpm-link { display: none !important; }
}
