:root {
  --navy: #16294a;
  --navy-2: #1e3a66;
  --navy-3: #2a4a7a;
  --gold: #c9a96e;
  --gold-2: #b08c4e;
  --gold-soft: #f1e6d0;
  --cream: #faf6ee;
  --cream-2: #f4ede1;
  --ink: #1b2333;
  --ink-soft: #6b6a63;
  --white: #ffffff;
  --line: #e2d9c6;
  --red: #b33a3a;
  --green: #3a9d63;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(22, 41, 74, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, .serif { font-family: var(--serif); }

a { color: var(--navy-2); }

.hidden { display: none !important; }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- topbar ---------- */

.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }

.brand-logo { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }

.brand-name { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--navy); letter-spacing: 0.04em; }

.topnav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; font-size: 14px; font-weight: 600; font-family: var(--sans);
  border: none; border-radius: 999px; cursor: pointer; text-decoration: none;
  transition: transform 0.12s, box-shadow 0.12s, background 0.2s;
}

.btn:active { transform: scale(0.97); }

.btn-primary { background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: #fff; box-shadow: 0 4px 14px rgba(22,41,74,0.25); }
.btn-primary:hover { box-shadow: 0 6px 20px rgba(22,41,74,0.35); }

.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #fff; box-shadow: 0 4px 14px rgba(201,169,110,0.35); }
.btn-gold:hover { box-shadow: 0 6px 20px rgba(201,169,110,0.45); }

.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--gold-soft); }

.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy-3); }
.btn-outline:hover { background: rgba(22,41,74,0.06); }

.btn-whats { background: #25D366; color: #fff; box-shadow: 0 4px 14px rgba(37,211,102,0.3); }
.btn-whats:hover { box-shadow: 0 6px 20px rgba(37,211,102,0.4); }

.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-sm { padding: 7px 13px; font-size: 13px; }

.badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; font-size: 11px; font-weight: 700;
  background: var(--red); color: #fff; border-radius: 999px;
}
.badge.zero { background: #c9c5bb; }

.bell { font-size: 16px; }
.ringing .bell { animation: bellshake 0.6s ease-in-out; }
@keyframes bellshake {
  0%,100% { transform: rotate(0); }
  20% { transform: rotate(15deg); } 40% { transform: rotate(-15deg); }
  60% { transform: rotate(10deg); } 80% { transform: rotate(-10deg); }
}

/* ---------- landing hero (estilo Círculo das Cores) ---------- */

.hero {
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(201,169,110,0.22), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(30,58,102,0.5), transparent 60%),
    linear-gradient(150deg, #0e1c33 0%, #16294a 55%, #1e3a66 100%);
  color: var(--cream);
  text-align: center;
  padding: 72px 0 80px;
}

.hero-inner { max-width: 780px; margin: 0 auto; }

.hero-logo { width: 96px; height: 96px; border-radius: 24px; object-fit: cover; margin-bottom: 20px; box-shadow: 0 8px 30px rgba(0,0,0,0.4); }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.24em;
  font-size: 11px; font-weight: 600; color: var(--gold); margin-bottom: 14px;
}

.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 700; line-height: 1.05; margin-bottom: 10px; color: #fff; }
.hero h1 em { font-style: italic; color: var(--gold); }

.hero-kicker { font-size: 15px; letter-spacing: 0.08em; color: var(--gold); text-transform: uppercase; margin-bottom: 8px; display: block; }

.hero-tagline { font-size: 20px; font-weight: 300; line-height: 1.6; color: #e9e2d5; max-width: 620px; margin: 14px auto 30px; }

.hero-cta { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }

.price-pill {
  display: inline-flex; align-items: baseline; gap: 10px;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.25);
  padding: 12px 20px; border-radius: 999px; backdrop-filter: blur(4px);
}
.price-pill .old { text-decoration: line-through; color: #b9b2a4; font-size: 14px; }
.price-pill .now { font-family: var(--serif); font-size: 26px; color: var(--gold); font-weight: 700; }

.hero-note { margin-top: 18px; font-size: 13px; color: #cfc8b8; }

/* ---------- brand presentation ---------- */

.brand-section { padding: 64px 0; background: var(--cream); }

.brand-section .container { max-width: 860px; }

.brand-section h2 { text-align: center; font-size: 36px; color: var(--navy); margin-bottom: 8px; }
.brand-section .lead { text-align: center; color: var(--ink-soft); margin-bottom: 40px; }

.brand-text p { font-size: 16.5px; line-height: 1.75; color: #33384a; margin-bottom: 16px; }

.brand-quote {
  border-left: 4px solid var(--gold); background: var(--gold-soft);
  padding: 18px 22px; border-radius: 0 12px 12px 0;
  font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--navy); margin: 24px 0;
}

.brand-colors { display: flex; gap: 14px; margin: 28px 0; flex-wrap: wrap; }

.color-chip { flex: 1; min-width: 200px; border-radius: 14px; padding: 18px; color: #fff; }
.color-chip.blue { background: linear-gradient(135deg, #16294a, #2a4a7a); }
.color-chip.gold { background: linear-gradient(135deg, #c9a96e, #a8844d); }
.color-chip h4 { font-family: var(--serif); font-size: 18px; margin-bottom: 4px; }
.color-chip p { font-size: 13px; opacity: 0.92; line-height: 1.5; }

/* ---------- sections ---------- */

.section { padding: 60px 0; }

.section.alt { background: var(--cream-2); }

.section-head { text-align: center; margin-bottom: 36px; }
.section-head h2 { font-size: 34px; color: var(--navy); }
.section-head p { color: var(--ink-soft); max-width: 620px; margin: 10px auto 0; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }

.feature-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 0; cursor: pointer; text-align: left;
  transition: transform 0.12s, box-shadow 0.12s; border: none;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(22,41,74,0.18); }
.feature-card .feature-img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block;
}
.feature-card .feature-img-cover { aspect-ratio: 0.71; }
.feature-card .feature-img-contain { aspect-ratio: 3 / 2; object-fit: contain; background: var(--cream-2); }
.feature-card .feature-label {
  display: block; padding: 14px 16px; font-family: var(--serif); font-size: 18px;
  font-weight: 600; color: var(--navy); background: #fff;
}
.feature-card:hover .feature-label { color: var(--gold-2); }

.content-modal-title { font-family: var(--serif); font-size: 28px; color: var(--navy); margin-bottom: 6px; }
.content-modal-title-small { font-family: var(--serif); font-size: 18px; color: var(--gold-2); margin-bottom: 16px; line-height: 1.4; }
.content-modal-date { color: var(--gold-2); font-size: 15px; margin-bottom: 18px; }
.content-modal-loading { color: var(--ink-soft); }
.content-modal-error { color: #b3422e; }
.content-text { color: var(--ink); font-size: 15.5px; line-height: 1.75; white-space: normal; }
.content-text br { margin-bottom: 4px; }
.liturgia-section { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--border); }
.liturgia-section:first-of-type { border-top: 0; margin-top: 4px; padding-top: 0; }
.liturgia-section-title { font-family: var(--serif); font-size: 20px; color: var(--navy); margin-bottom: 8px; }
.liturgia-citacao { font-size: 15px; color: var(--gold-2); font-weight: 600; }
.santo-img { width: 100%; max-height: 380px; object-fit: contain; border-radius: 12px; margin-bottom: 16px; background: #f4efe6; }
.content-modal-source { margin-top: 22px; font-size: 13px; color: var(--ink-soft); }
.content-modal-source a { color: var(--gold-2); }
.content-modal-note { margin-top: 14px; font-size: 13px; color: var(--ink-soft); line-height: 1.6; }
.video-wrap { position: relative; padding-top: 56.25%; margin-top: 8px; border-radius: 12px; overflow: hidden; background: #000; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow);
}
.feature .icon { font-size: 30px; margin-bottom: 12px; }
.feature h3 { font-size: 19px; color: var(--navy); margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }

/* ---------- planners ---------- */

.planner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.planner-card {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 30px 26px; text-align: center;
}

.planner-card .cover {
  width: 72px; height: 72px; border-radius: 18px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center; font-size: 34px;
}

.planner-card .cover.blue { background: linear-gradient(135deg, #16294a, #2a4a7a); }
.planner-card .cover.gold { background: linear-gradient(135deg, #c9a96e, #a8844d); }

.planner-card h3 { font-size: 23px; color: var(--navy); }
.planner-card .planner-sub { color: var(--gold-2); font-family: var(--serif); font-style: italic; font-size: 15px; margin: 6px 0 12px; }
.planner-card .planner-desc { color: var(--ink-soft); font-size: 14px; line-height: 1.6; margin-bottom: 18px; }
.planner-card .planner-meta { font-size: 13px; color: var(--ink-soft); margin-bottom: 18px; }

.planner-card.locked .planner-actions { opacity: 0.9; }

.lock-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(160deg, rgba(22,41,74,0.88), rgba(30,58,102,0.92));
  color: #fff; padding: 20px; text-align: center;
}
.lock-overlay .lock-ico { font-size: 40px; }
.lock-overlay h4 { font-family: var(--serif); font-size: 22px; }
.lock-overlay p { font-size: 14px; color: #d8d2c4; max-width: 260px; }
.lock-overlay .btn { margin-top: 10px; }

/* ---------- auth ---------- */

.auth-wrap { display: flex; justify-content: center; padding: 48px 0; }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 30px; width: 100%;
}

.auth-wrap .card { max-width: 460px; }

.card h2 { font-size: 28px; color: var(--navy); margin-bottom: 6px; }
.card .sub { color: var(--ink-soft); margin-bottom: 22px; font-size: 15px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.field input, .field textarea {
  display: block; width: 100%; margin-top: 0;
  padding: 12px 14px; font-size: 15px; font-family: var(--sans);
  border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--white); color: var(--ink); outline: none;
  transition: border-color 0.2s;
}
.field input:focus, .field textarea:focus { border-color: var(--gold-2); }
.field textarea { min-height: 90px; resize: vertical; }
.radio-inline { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink); cursor: pointer; }

.auth-switch { margin-top: 16px; font-size: 14px; color: var(--ink-soft); }
.auth-switch a { color: var(--navy-2); cursor: pointer; font-weight: 600; }

.alert { display: none; background: #fdecea; border: 1px solid #f5c6c0; color: var(--red); padding: 12px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 14px; }
.alert.show { display: block; }
.alert-success { background: #e9f7ef; border-color: #bce8cf; color: #1f7a44; }

/* ---------- dashboard / days ---------- */

.dash-header { padding: 36px 0 20px; }
.dash-header h1 { font-size: 32px; color: var(--navy); }
.dash-header .sub { color: var(--ink-soft); margin-top: 6px; }

.progress-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow); margin-bottom: 24px;
}
.progress-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 14px; }
.progress-top .label { font-weight: 600; color: var(--navy); }
.progress-top .pct { color: var(--ink-soft); }
.progress-bar { height: 10px; background: var(--gold-soft); border-radius: 999px; overflow: hidden; }
.progress-bar-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-2)); border-radius: 999px; transition: width 0.4s; }

.days-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-bottom: 30px; }

.day-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px; cursor: pointer; position: relative; box-shadow: var(--shadow);
  transition: transform 0.12s;
}
.day-card:hover { transform: translateY(-2px); }
.day-card.done { border-color: var(--green); background: #f0faf3; }
.day-card.locked { opacity: 0.62; cursor: not-allowed; background: var(--cream-2); }
.day-card .day-num { font-family: var(--serif); font-size: 26px; color: var(--navy); font-weight: 700; }
.day-card .day-part { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold-2); margin: 6px 0 4px; }
.day-card .day-title { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.day-card .day-virtue { font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; }
.day-card .day-check {
  position: absolute; top: 10px; right: 10px; width: 24px; height: 24px;
  background: var(--green); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.day-card .lock-ico { position: absolute; top: 10px; right: 10px; font-size: 16px; }

/* ---------- day detail ---------- */

.day-detail { padding: 30px 0 60px; }

.back { background: none; border: none; color: var(--navy-2); font-weight: 600; cursor: pointer; font-size: 14px; margin-bottom: 18px; padding: 0; }

.day-head { margin-bottom: 22px; }
.day-head .part { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-2); margin-bottom: 6px; }
.day-head h1 { font-size: 32px; color: var(--navy); }
.day-badge {
  display: inline-block; margin-top: 10px; font-size: 12.5px; font-weight: 600;
  background: var(--gold-soft); color: var(--gold-2); padding: 5px 12px; border-radius: 999px;
}

.scripture-box, .reflection-block, .challenge-block, .prayer-block, .enemy-block, .virtue-block, .note-area, .review-block {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); margin-bottom: 18px;
}

.scripture-box { background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: #eef1f7; border: none; }
.scripture-box .label { color: var(--gold); text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; margin-bottom: 8px; font-weight: 600; }
.scripture-box p { font-family: var(--serif); font-size: 19px; font-style: italic; line-height: 1.6; }

.block-label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-2); font-weight: 600; margin-bottom: 10px; }
.reflection-block p, .challenge-block p, .prayer-block p, .enemy-block p, .virtue-block p { font-size: 15.5px; line-height: 1.75; color: #33384a; }

.prayer-block p { font-family: var(--serif); font-style: italic; font-size: 16px; }

.note-area .field { margin-bottom: 0; }

.day-actions { display: flex; align-items: center; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.done-badge { font-weight: 700; color: var(--green); }

/* ---------- review ---------- */

.review-hint { font-size: 13px; color: var(--ink-soft); margin-bottom: 12px; }
.stars { font-size: 30px; cursor: pointer; display: flex; gap: 4px; }
.stars .star { color: #d9d4c8; transition: color 0.15s; }
.stars .star.active { color: var(--gold); }
.review-status { font-size: 13px; color: var(--ink-soft); }
.review-status.ok { color: var(--green); font-weight: 600; }
.stars-mini { color: var(--gold); letter-spacing: 1px; }

/* ---------- checkout ---------- */

.checkout-wrap { padding: 40px 0 60px; max-width: 620px; margin: 0 auto; }
.checkout-wrap h1 { font-size: 32px; color: var(--navy); margin-bottom: 6px; }
.checkout-wrap .sub { color: var(--ink-soft); margin-bottom: 24px; }

.steps { margin-bottom: 22px; }
.step { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.step .num {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy); color: var(--gold); font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.step p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
.step b { color: var(--ink); }

/* ---------- community ---------- */

.community-wrap { padding: 36px 0 60px; }
.community-wrap h1 { font-size: 32px; color: var(--navy); }
.community-wrap .sub { color: var(--ink-soft); margin-bottom: 22px; }

.wall { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.post { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); }
.post .meta { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 13px; }
.post .name { font-weight: 700; color: var(--navy); }
.post .when { color: var(--ink-soft); }
.post .msg { font-size: 15px; line-height: 1.6; }

.empty-state { text-align: center; color: var(--ink-soft); padding: 40px 0; }
.empty-state .big { font-size: 48px; margin-bottom: 10px; }

/* ---------- access box ---------- */

.access-box {
  background: linear-gradient(135deg, #1f7a44, #25A45C);
  color: #fff; border-radius: var(--radius); padding: 22px; margin-bottom: 24px;
  text-align: center;
}
.access-box h3 { font-size: 20px; margin-bottom: 6px; }
.access-box p { font-size: 14px; opacity: 0.95; margin-bottom: 14px; }
.access-box .btn { background: #fff; color: #1f7a44; }

/* ---------- admin ---------- */

.admin-wrap { padding: 36px 0 60px; }
.admin-wrap > h1 { font-size: 32px; color: var(--navy); margin-bottom: 20px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px; text-align: center; box-shadow: var(--shadow); }
.stat .v { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--navy); }
.stat .l { font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; }

.panel-section { margin: 28px 0; }
.panel-section h2 { font-size: 22px; color: var(--navy); margin-bottom: 14px; }

.admin-note { font-size: 13px; color: var(--ink-soft); }

.table { width: 100%; border-collapse: collapse; font-size: 13.5px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.table th { background: var(--navy); color: #fff; text-align: left; padding: 10px 12px; font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em; }
.table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: var(--cream-2); }

.status { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.status-paid { background: #e9f7ef; color: #1f7a44; }
.status-pending { background: #fdf3d7; color: #8a6a2f; }
.status-reg { background: #e8f0fb; color: #1e3a66; }
.status-visit { background: #eee9de; color: #6b6a63; }

.prog-bar { height: 8px; background: var(--gold-soft); border-radius: 999px; overflow: hidden; min-width: 120px; }
.prog-bar-fill { height: 100%; background: linear-gradient(90deg, var(--navy), var(--navy-3)); border-radius: 999px; }
.prog-count { font-size: 12px; color: var(--ink-soft); }
.prog-sub { font-size: 12px; color: var(--ink-soft); }

.prog-days { display: flex; gap: 3px; flex-wrap: wrap; }
.prog-day {
  width: 22px; height: 22px; border-radius: 6px; font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream-2); color: var(--ink-soft); border: 1px solid var(--line);
}
.prog-day.done { background: var(--green); color: #fff; border-color: var(--green); }

.settings-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.settings-grid .full { grid-column: 1 / -1; }

/* ---------- footer ---------- */

.footer {
  margin-top: auto; background: var(--navy); color: #cfc8b8;
  text-align: center; padding: 44px 20px;
}
.footer-logo { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; margin-bottom: 14px; }
.footer-scripture { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--gold); margin-bottom: 10px; }
.footer-brand { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.footer-contact { font-size: 13.5px; margin-bottom: 8px; }
.footer-contact a { color: var(--gold); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-small { font-size: 12.5px; color: #a9a294; }

/* ---------- toast ---------- */

#toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--navy); color: #fff; padding: 12px 22px; border-radius: 999px;
  font-size: 14px; box-shadow: 0 8px 24px rgba(0,0,0,0.3); opacity: 0;
  pointer-events: none; transition: opacity 0.25s, transform 0.25s; z-index: 100;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- landing sidebar layout (estilo Círculo das Cores) ---------- */

.landing-layout { display: flex; align-items: stretch; min-height: 100vh; }

.landing-side {
  width: 360px; flex-shrink: 0;
  background:
    radial-gradient(600px 400px at 110% -10%, rgba(201,169,110,0.20), transparent 60%),
    linear-gradient(170deg, #0e1c33 0%, #16294a 55%, #1e3a66 100%);
  color: var(--cream);
  padding: 40px 28px;
  display: flex; flex-direction: column; gap: 26px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}

.side-brand { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }

.side-logo {
  width: 150px; height: 150px; border-radius: 30px;
  object-fit: cover; box-shadow: 0 10px 40px rgba(0,0,0,0.45);
  border: 2px solid rgba(201,169,110,0.55);
}

.side-title { font-family: var(--serif); font-size: 40px; font-weight: 700; color: #fff; letter-spacing: 0.06em; }

.side-tagline { color: var(--gold); font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; }

.side-present-btn { width: 100%; font-size: 16px; padding: 14px 18px; }

.side-menu { display: flex; flex-direction: column; gap: 10px; }

.menu-group {
  border: 1px solid rgba(255,255,255,0.16); border-radius: 14px;
  background: rgba(255,255,255,0.05); overflow: hidden;
}

.menu-toggle {
  width: 100%; text-align: left; cursor: pointer;
  background: none; border: none; color: #fff;
  font-family: var(--serif); font-size: 18px; font-weight: 600; letter-spacing: 0.03em;
  padding: 14px 16px; display: flex; flex-direction: column; gap: 3px;
  transition: background 0.2s;
}
.menu-toggle:hover { background: rgba(255,255,255,0.08); }
.menu-toggle .menu-desc { font-family: var(--sans); font-size: 12px; font-weight: 400; color: #c9c2b2; letter-spacing: 0; }

.menu-sub { display: none; flex-direction: column; border-top: 1px solid rgba(255,255,255,0.14); }
.menu-group.open .menu-sub { display: flex; }
.menu-group.open .menu-toggle { color: var(--gold); }

.menu-item {
  text-align: left; cursor: pointer; border: none;
  background: rgba(255,255,255,0.07); color: var(--cream);
  font-family: var(--sans); font-size: 13.5px; line-height: 1.5;
  padding: 12px 16px; transition: background 0.2s, color 0.2s;
}
.menu-item + .menu-item { border-top: 1px solid rgba(255,255,255,0.08); }
.menu-item:hover { background: var(--gold); color: var(--navy); }
.menu-item b { color: var(--gold); }
.menu-item:hover b { color: var(--navy); }

.side-offers { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }

.side-offer {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px; padding: 14px 16px;
}
.side-offer .offer-price { font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--gold); }
.side-offer .offer-desc { font-size: 12.5px; color: #d8d2c4; line-height: 1.5; margin-top: 4px; }

.side-offer-link { display: block; text-decoration: none; transition: background 0.2s, transform 0.12s; }
.side-offer-link:hover { background: rgba(201,169,110,0.18); transform: translateY(-1px); }
.side-offer-link .offer-title { font-family: var(--serif); font-size: 17px; font-weight: 700; color: #fff; }

.side-admin-link {
  display: block; text-align: center; cursor: pointer;
  color: #b9b2a4; font-size: 12.5px; letter-spacing: 0.03em;
  text-decoration: underline; padding-top: 4px;
}
.side-admin-link:hover { color: var(--gold); }

.feature-link { display: block; text-decoration: none; color: inherit; transition: transform 0.12s, box-shadow 0.12s; }
.feature-link:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(22,41,74,0.16); }
.feature-thumb { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; border: 2px solid var(--line); }

.intencoes-wrap { padding: 36px 0 60px; max-width: 760px; margin: 0 auto; }
.intencoes-wrap h1 { font-size: 32px; color: var(--navy); }

.landing-main { flex: 1; min-width: 0; background: var(--cream); }

.hero.hero-tight { padding: 64px 0 60px; text-align: left; }
.hero-tight .hero-inner { margin: 0; max-width: 720px; }
.hero-tight .hero-cta { justify-content: flex-start; }

/* ---------- modal apresentação ---------- */

.modal-open { overflow: hidden; }

.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10, 20, 40, 0.72);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
  padding: 24px;
}
.modal-overlay.show { opacity: 1; pointer-events: auto; }

.modal-box {
  position: relative; max-width: 760px; width: 100%;
  background: var(--cream); border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  max-height: 88vh; display: flex; flex-direction: column;
  transform: translateY(12px); transition: transform 0.25s;
}
.modal-overlay.show .modal-box { transform: translateY(0); }

.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 5;
  width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--navy); color: var(--gold); font-size: 16px; font-weight: 700;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3); transition: transform 0.15s;
}
.modal-close:hover { transform: scale(1.08); }

.modal-scroll { overflow-y: auto; padding: 40px 20px; }
.modal-scroll .brand-section { padding: 0; }
.modal-scroll .brand-section .container { padding: 0; max-width: 640px; }

/* ---------- planner físico ---------- */

.fisico-wrap { padding: 40px 0 60px; }

.fisico-card {
  max-width: 640px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow); padding: 34px; text-align: center;
}

.fisico-cover {
  width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center; font-size: 40px;
  background: linear-gradient(135deg, #c9a96e, #a8844d);
}

.fisico-cover-img {
  width: 100%; max-width: 300px; margin: 0 auto 18px;
  border-radius: 14px; box-shadow: 0 14px 40px rgba(22,41,74,0.3);
  border: 2px solid var(--line); display: block;
}

.fisico-card h1 { font-size: 30px; color: var(--navy); margin-bottom: 6px; }
.fisico-card .planner-sub { color: var(--gold-2); font-family: var(--serif); font-style: italic; font-size: 16px; margin-bottom: 14px; }

.fisico-desc { color: var(--ink-soft); font-size: 15px; line-height: 1.7; margin-bottom: 20px; }

.fisico-price { margin-bottom: 24px; display: flex; align-items: baseline; justify-content: center; gap: 10px; }
.fisico-price .now { font-family: var(--serif); font-size: 34px; font-weight: 700; color: var(--navy); }
.fisico-price .plus { font-size: 14px; color: var(--ink-soft); }

.fisico-card .steps { text-align: left; margin-bottom: 24px; }

.fisico-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .landing-layout { flex-direction: column; }
  .landing-side { width: 100%; height: auto; position: static; gap: 18px; padding: 28px 20px; }
  .side-logo { width: 110px; height: 110px; }
  .side-offers { margin-top: 0; }
}

@media (max-width: 860px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .planner-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .settings-grid { grid-template-columns: 1fr; }
  .topbar-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 56px; }
  .brand-section { padding: 44px 0; }
  .section { padding: 40px 0; }
}

.capela-home .capela-card {
  background: linear-gradient(135deg, #fffdf5, #fdf6e6);
  border: 1px solid #e9d9a8;
  box-shadow: 0 6px 18px rgba(22, 41, 74, 0.08);
}

/* ---------- home nova (estilo portal) ---------- */

.banner-destaque {
  display: flex; align-items: stretch; width: 100%;
  margin: 0 0 28px; padding: 0; border: none; cursor: pointer;
  background: linear-gradient(150deg, #0e1c33 0%, #16294a 55%, #1e3a66 100%);
  color: var(--cream); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); text-align: left;
  transition: transform 0.12s, box-shadow 0.12s;
}
.banner-destaque:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(22,41,74,0.24); }
.banner-destaque-img {
  width: 240px; flex-shrink: 0; object-fit: cover;
  border-right: 2px solid rgba(201,169,110,0.45);
}
.banner-destaque-body { flex: 1; padding: 30px 32px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; }
.banner-destaque-tag {
  display: inline-block; background: var(--gold); color: var(--navy);
  font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.banner-destaque-title { font-family: var(--serif); font-size: clamp(24px, 3vw, 32px); line-height: 1.12; color: #fff; }
.banner-destaque-sub { font-size: 15px; font-weight: 300; line-height: 1.6; color: #e9e2d5; max-width: 520px; }
.banner-destaque-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.banner-destaque-price { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--gold); }
@media (max-width: 640px) {
  .banner-destaque { flex-direction: column; }
  .banner-destaque-img { width: 100%; height: 180px; object-fit: cover; border-right: none; border-bottom: 2px solid rgba(201,169,110,0.45); }
  .banner-destaque-body { padding: 24px 22px; }
}

.nav-link {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 700;
}

.hp-carousel { position: relative; overflow: hidden; }

.hp-track { display: grid; }

.hp-slide {
  grid-area: 1 / 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
  display: flex;
  align-items: center;
  min-height: 480px;
  padding: 64px 0;
  color: var(--cream);
  position: relative;
}

.hp-slide.active { opacity: 1; pointer-events: auto; }

.hp-slide-planner {
  background:
    radial-gradient(900px 520px at 88% 15%, rgba(201,169,110,0.28), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(30,58,102,0.55), transparent 60%),
    linear-gradient(150deg, #0e1c33 0%, #16294a 55%, #1e3a66 100%);
}

.hp-slide-gratidao {
  background:
    radial-gradient(900px 520px at 12% -10%, rgba(201,169,110,0.22), transparent 60%),
    radial-gradient(800px 460px at 105% 115%, rgba(42,74,122,0.65), transparent 60%),
    linear-gradient(210deg, #0e1c33 0%, #1e3a66 60%, #2a4a7a 100%);
}

.hp-slide-7dias {
  background:
    radial-gradient(820px 480px at 90% -20%, rgba(179,58,58,0.35), transparent 55%),
    radial-gradient(700px 420px at -5% 110%, rgba(201,169,110,0.18), transparent 60%),
    linear-gradient(160deg, #101d36 0%, #16294a 60%, #223f66 100%);
}

.hp-slide-tercos {
  background:
    radial-gradient(880px 500px at 85% 25%, rgba(201,169,110,0.30), transparent 60%),
    linear-gradient(140deg, #14233e 0%, #16294a 50%, #31497a 100%);
}

.hp-slide-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.hp-copy { max-width: 600px; }

.hp-slide h2 {
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 700;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 16px;
}

.hp-slide h2 em { color: var(--gold); }

.hp-slide p {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  color: #e9e2d5;
  margin-bottom: 26px;
}

.hp-art {
  width: auto;
  max-width: min(320px, 26vw);
  max-height: 340px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 18px;
  border: 2px solid rgba(201,169,110,0.45);
  box-shadow: 0 24px 70px rgba(0,0,0,0.55);
  transform: rotate(2deg);
}

.hp-price {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
}

.hp-price-free {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hp-badge-novo {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hp-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(10,20,40,0.45);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.hp-arrow:hover { background: rgba(201,169,110,0.85); color: var(--navy); }
.hp-prev { left: 16px; }
.hp-next { right: 16px; }

.hp-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  z-index: 5;
}

.hp-dot {
  width: 10px; height: 10px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: rgba(255,255,255,0.45);
  transition: background 0.2s, width 0.2s;
  padding: 0;
}
.hp-dot.active { background: var(--gold); width: 26px; }

.feature-card-soon { cursor: default; }
.feature-card-soon:hover { transform: none; box-shadow: var(--shadow); }

.soon-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: var(--navy);
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(22,41,74,0.35);
}

.quem-strip { padding: 56px 0; }

.quem-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: center;
}

.quem-logo {
  width: 150px; height: 150px;
  border-radius: 30px;
  object-fit: cover;
  border: 2px solid rgba(201,169,110,0.55);
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.quem-text { max-width: 620px; }
.quem-text h2 { font-size: 32px; color: var(--navy); margin-bottom: 10px; }
.quem-text p { color: var(--ink-soft); line-height: 1.7; margin-bottom: 16px; }
.quem-text .brand-quote { margin: 0 0 20px; }
.quem-text .side-admin-link { display: block; text-align: left; color: var(--ink-soft); margin-top: 14px; }
.quem-text .side-admin-link:hover { color: var(--gold-2); }

.contato-section { background: var(--cream); }

.contato-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
}

.contato-card {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px 20px; text-align: center; text-decoration: none;
  transition: transform 0.12s, box-shadow 0.12s;
}
.contato-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(22,41,74,0.16); }

.contato-icon { font-size: 30px; }
.contato-titulo { font-family: var(--serif); font-weight: 700; font-size: 17px; color: var(--navy); }
.contato-card:hover .contato-titulo { color: var(--gold-2); }
.contato-valor { color: var(--ink-soft); font-size: 15.5px; word-break: break-all; }

@media (max-width: 900px) {
  .hp-slide { min-height: 420px; }
  .hp-slide-inner { flex-direction: column-reverse; align-items: flex-start; gap: 24px; }
  .hp-art { max-width: min(220px, 56vw); max-height: 260px; transform: rotate(2deg); align-self: center; }
  .hp-arrow { display: none; }
  .quem-inner { flex-direction: column; text-align: center; gap: 22px; }
  .quem-text .side-admin-link { text-align: center; }
  .contato-grid { grid-template-columns: 1fr; }
}

/* Seletor de forma de pagamento (checkout) */
.co-pagopt { position: relative; display: flex; align-items: center; gap: 12px;
  padding: 14px 14px 14px 16px; border: 2px solid #d8c6b4; border-radius: 12px;
  cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.co-pagopt input { position: absolute; opacity: 0; width: 0; height: 0; }
.co-check { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #cbb8a6;
  background: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff; flex: 0 0 auto; }
.co-lab { display: flex; flex-direction: column; gap: 2px; line-height: 1.2; }
.co-lab b { font-size: 15.5px; color: var(--ink); }
.co-lab small { font-size: 12px; color: var(--ink-soft); }
.co-pagopt:hover { border-color: var(--gold-2); }
.co-pagopt.sel { border-color: var(--navy-2); background: #f3f6fb; }
.co-pagopt.sel .co-check { border-color: var(--navy-2); background: var(--navy-2); }
@media (max-width: 560px) {
  .co-pagopt { flex-direction: column; align-items: flex-start; gap: 8px; }
}
