/* Lojaland — landing page. Visual da marca: creme, toldo vermelho, Fredoka nos títulos, Nunito no texto. */
:root {
	--red: #ef3b3b;          /* marca (toldo, logo) */
	--red-ui: #d32f2f;       /* botões e links (contraste com texto branco) */
	--red-dark: #a31f1f;
	--yellow: #ffb300;
	--blue: #1e88e5;
	--green: #2e9d5b;
	--ink: #2b2416;
	--ink-2: #4a3b2e;
	--muted: #7a6552;
	--cream: #fff7e9;
	--cream-2: #fcefd9;
	--white: #fffdf8;
	--line: #efdfc4;
	--shadow: 0 14px 40px rgba(120, 80, 30, .12), 0 3px 0 #ead9bd;
	--radius: 22px;
	--font: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--display: 'Fredoka', 'Nunito', system-ui, sans-serif;
	color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.05rem/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-ui); }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); line-height: 1.02; font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.1; font-weight: 600; margin-bottom: 1.6rem; }
h3 { font-size: 1.22rem; line-height: 1.25; font-weight: 600; }
p { margin: 0; }
:focus-visible { outline: 3px solid rgba(211, 47, 47, .45); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding-inline: 20px; }
.wrap.narrow { max-width: 820px; }
.eyebrow { font-weight: 800; font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; color: var(--red-ui); margin-bottom: .6rem; }

/* toldo listrado com babado */
.awning { height: 34px; background: repeating-linear-gradient(90deg, var(--red) 0 36px, var(--white) 36px 72px);
	-webkit-mask: linear-gradient(#000 0 0) top / 100% 20px no-repeat, radial-gradient(circle at 50% 0, #000 17.5px, transparent 18px) 0 20px / 36px 14px repeat-x;
	mask: linear-gradient(#000 0 0) top / 100% 20px no-repeat, radial-gradient(circle at 50% 0, #000 17.5px, transparent 18px) 0 20px / 36px 14px repeat-x; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: 600 1rem/1 var(--display); text-decoration: none;
	padding: .85rem 1.3rem; border-radius: 999px; border: 0; cursor: pointer; transition: transform .12s ease, background-color .12s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { font-size: 1.1rem; padding: 1rem 1.55rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--red-ui); color: #fff; box-shadow: 0 4px 0 var(--red-dark); }
.btn-primary:hover { background: #c62828; }
.btn-ghost { background: var(--white); color: var(--ink); box-shadow: 0 4px 0 #e6d2ad; }
.btn-light { background: #fff; color: var(--red-ui); box-shadow: 0 4px 0 rgba(0, 0, 0, .18); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

/* topo */
.top { padding: 18px 0 8px; }
.top-row { display: flex; align-items: center; gap: 20px; }
.brand img { height: 48px; width: auto; }
.nav { display: flex; gap: 6px; margin-left: 12px; }
.nav a { color: var(--ink-2); text-decoration: none; font: 600 .98rem/1 var(--display); padding: .6rem .8rem; border-radius: 999px; }
.nav a:hover { background: var(--white); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.link-login { color: var(--ink-2); font: 600 .98rem/1 var(--display); text-decoration: none; }
.link-login:hover { color: var(--red-ui); }

/* abertura */
.hero { padding: 40px 0 70px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.lead { font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--ink-2); margin: 1.2rem 0 1.8rem; max-width: 36rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-weight: 700; font-size: .95rem; }
.trust i { color: var(--green); }
.hero-art { position: relative; padding: 0 0 46px 34px; }
.screen { margin: 0; border-radius: var(--radius); border: 8px solid var(--white); box-shadow: var(--shadow); overflow: hidden; transform: rotate(1.2deg); background: var(--cream-2); }
.mascot { position: absolute; left: 0; bottom: 0; display: flex; align-items: flex-end; gap: 6px; }
.mascot img { width: 120px; height: auto; filter: drop-shadow(0 6px 10px rgba(80, 50, 20, .25)); }
.bubble { background: var(--white); color: var(--ink); font: 600 .95rem/1.3 var(--display); padding: .7rem 1rem; border-radius: 18px 18px 18px 4px; box-shadow: var(--shadow); margin-bottom: 64px; max-width: 220px; }

/* seções */
.section { padding: 76px 0; }
.section-alt { background: var(--cream-2); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.section-head h2 { margin-bottom: 1.6rem; }

/* passos (sequência real: 1, 2, 3) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.steps li { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: grid; gap: 10px; align-content: start; }
.steps p { color: var(--ink-2); }
.step-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--red-ui); color: #fff; font: 700 1.25rem/1 var(--display); box-shadow: 0 3px 0 var(--red-dark); }

/* recursos */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 34px; }
.feature { display: grid; gap: 8px; align-content: start; }
.feature i { font-size: 1.7rem; color: var(--red-ui); width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: var(--white); box-shadow: 0 3px 0 #ead9bd; }
.feature p { color: var(--ink-2); }

/* temas (rolagem lateral, funciona com qualquer quantidade) */
.themes { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 31%); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
	padding: 4px 4px 22px; margin: 0 -4px; scrollbar-width: thin; }
.theme { scroll-snap-align: start; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: grid; grid-template-rows: auto 1fr; }
.theme-img { aspect-ratio: 16 / 9; background: var(--cream-2); }
.theme-img img { width: 100%; height: 100%; object-fit: cover; }
.theme-body { padding: 18px 20px 22px; display: grid; gap: 8px; align-content: start; }
.theme-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.theme-body p { color: var(--ink-2); font-size: .97rem; }
.scroller-nav { display: flex; gap: 8px; margin-bottom: 1.6rem; }
.round { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--white); box-shadow: 0 3px 0 #e6d2ad; cursor: pointer; font-size: 1.1rem; color: var(--ink); }
.round:hover { color: var(--red-ui); }

/* etiquetas */
.tag { flex: none; font: 600 .78rem/1 var(--display); padding: .42rem .7rem; border-radius: 999px; white-space: nowrap; }
.tag-free { background: #e3f6e9; color: #17603a; }
.tag-pro { background: var(--blue); color: #fff; box-shadow: 0 2px 0 #1565c0; }
.tag-premium { background: #fff0cf; color: #6e4600; }

/* planos */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; border: 3px solid transparent; }
.plan.is-highlight { border-color: var(--blue); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan-desc { color: var(--muted); font-size: .97rem; }
.price b { font: 700 2.4rem/1 var(--display); }
.price span { color: var(--muted); margin-left: .2rem; }
.annual { color: var(--muted); font-size: .95rem; margin-top: -6px; }
.annual b { color: var(--ink-2); }
.plan-list { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 8px; flex: 1; }
.plan-list li { display: grid; grid-template-columns: 1.3rem 1fr; gap: 6px; }
.plan-list i { color: var(--green); }
.plan-list li.off { color: var(--muted); }
.plan-list li.off i { color: var(--muted); }
.note { color: var(--muted); font-size: .95rem; margin-top: 1.4rem; }

/* dúvidas */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: 18px; padding: 4px 22px; box-shadow: 0 3px 0 #ead9bd; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font: 600 1.08rem/1.3 var(--display); display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "\F64D"; font-family: bootstrap-icons; color: var(--red-ui); transition: transform .15s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--ink-2); }

/* chamada final */
.final { padding: 20px 0 80px; }
.final-box { background: var(--red-ui); border-radius: 30px; padding: 34px 40px; display: flex; align-items: center; gap: 28px; color: #fff; box-shadow: 0 8px 0 var(--red-dark); }
.final-box > div { flex: 1; min-width: 0; }
.final-box h2 { color: #fff; margin-bottom: .4rem; }
.final-box p { color: #ffe9e6; }
.final-box img { width: 110px; height: auto; flex: none; }

/* rodapé */
.footer { border-top: 2px dashed var(--line); padding: 40px 0 30px; color: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.footer-grid img { height: 40px; width: auto; margin-bottom: 10px; }
.footer nav, .contact { display: grid; gap: 8px; align-content: start; }
.footer a { color: var(--ink-2); text-decoration: none; font-weight: 700; }
.footer a:hover { color: var(--red-ui); }
.footer-base { margin-top: 26px; font-size: .9rem; color: var(--muted); }

/* responsivo */
@media (max-width: 980px) {
	.nav { display: none; }
	.hero-grid { grid-template-columns: 1fr; gap: 34px; }
	.hero-art { max-width: 640px; }
	.steps, .plans { grid-template-columns: 1fr; }
	.features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.themes { grid-auto-columns: minmax(260px, 46%); }
}
@media (max-width: 620px) {
	.wrap { padding-inline: 16px; }
	.brand img { height: 40px; }
	.link-login { display: none; }
	.top-actions .btn { padding: .7rem 1rem; font-size: .95rem; }
	.hero { padding-top: 22px; }
	.btn-lg { width: 100%; }
	.features { grid-template-columns: 1fr; }
	.themes { grid-auto-columns: 84%; }
	.scroller-nav { display: none; }
	.hero-art { padding-left: 0; padding-bottom: 70px; }
	.mascot img { width: 92px; }
	.bubble { margin-bottom: 48px; font-size: .88rem; }
	.final-box { flex-direction: column; text-align: center; padding: 30px 22px; }
	.footer-grid { grid-template-columns: 1fr; }
	.section { padding: 58px 0; }
}

/* Loja de demonstração: capa com botão; o iframe do mundo 3D só entra no clique */
.demo .demo-lead { color: var(--ink-2); max-width: 720px; margin: -.6rem 0 1.6rem; }
.demo-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); border: 8px solid var(--white); box-shadow: var(--shadow); overflow: hidden; background: #1c2b4f; }
.demo-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.demo-cover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; text-align: center; background: linear-gradient(180deg, rgba(43, 36, 22, .15), rgba(43, 36, 22, .55)); }
.demo-hint { color: #fff; font-weight: 700; font-size: .95rem; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.demo-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.demo-full { margin-top: 14px; font-weight: 700; }
.demo-full a { text-decoration: none; }
@media (max-width: 620px) {
	.demo-frame { aspect-ratio: 4 / 5; }
	.demo .btn-lg { width: auto; }
}
