/*
Theme Name: B2G Store
Theme URI: https://sites.google.com/view/b2gstoreoficial/home
Author: B2G Store
Description: Tema institucional one-page da B2G Store — Quem somos, Conheça nossa Loja (Mercado Livre e Shopee) e Fale Conosco via WhatsApp. Todos os textos, links e imagens são editáveis em Aparência > Personalizar > B2G Store.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: b2gstore
*/

:root {
	--b2g-primary: #0b3d91;
	--b2g-accent: #ff7a00;
	--b2g-ml: #ffe600;
	--b2g-ml-text: #2d3277;
	--b2g-shopee: #ee4d2d;
	--b2g-whats: #25d366;
	--b2g-dark: #111827;
	--b2g-text: #374151;
	--b2g-muted: #6b7280;
	--b2g-bg: #ffffff;
	--b2g-bg-alt: #f4f6fb;
	--b2g-radius: 14px;
	--b2g-max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: var(--b2g-text);
	background: var(--b2g-bg);
	line-height: 1.7;
	font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--b2g-primary); }
h1, h2, h3 { color: var(--b2g-dark); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--b2g-max); margin: 0 auto; padding: 0 20px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.skip-link:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; background: #fff; padding: 10px 16px; z-index: 1000; }

/* Header */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255,255,255,.96);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid #e5e7eb;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.site-branding { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--b2g-dark); font-weight: 700; font-size: 1.25rem; }
.site-branding img { max-height: 48px; width: auto; }
.main-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; color: var(--b2g-dark); font-weight: 500; font-size: .95rem; }
.main-nav a:hover { color: var(--b2g-accent); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--b2g-dark); }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 14px 28px; border-radius: 999px;
	font-weight: 600; text-decoration: none; font-size: 1rem;
	transition: transform .15s ease, box-shadow .15s ease;
	box-shadow: 0 6px 18px rgba(0,0,0,.12);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.16); }
.btn-whats { background: var(--b2g-whats); color: #fff; }
.btn-ml { background: var(--b2g-ml); color: var(--b2g-ml-text); }
.btn-shopee { background: var(--b2g-shopee); color: #fff; }
.btn-light { background: #fff; color: var(--b2g-primary); }

/* Hero */
.hero {
	position: relative;
	background: linear-gradient(135deg, var(--b2g-primary) 0%, #1e5bd8 60%, var(--b2g-accent) 140%);
	color: #fff;
	padding: 110px 0 120px;
	overflow: hidden;
}
.hero.has-image { background-size: cover; background-position: center; }
.hero.has-image::before { content: ""; position: absolute; inset: 0; background: rgba(11,61,145,.72); }
.hero .container { position: relative; text-align: center; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.5vw, 3.6rem); margin-bottom: .3em; }
.hero p { font-size: 1.2rem; opacity: .95; max-width: 680px; margin: 0 auto 1.8em; }
.hero-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 2em; }
.hero-badges span { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); padding: 6px 16px; border-radius: 999px; font-size: .95rem; }

/* Sections */
.section { padding: 90px 0; }
.section-alt { background: var(--b2g-bg-alt); }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title .eyebrow { display: inline-block; color: var(--b2g-accent); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin-bottom: .6em; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-image img, .store-image img { border-radius: var(--b2g-radius); box-shadow: 0 18px 40px rgba(0,0,0,.12); width: 100%; object-fit: cover; }
.about-highlight { margin: 1.6em 0; padding: 18px 22px; border-left: 4px solid var(--b2g-accent); background: var(--b2g-bg-alt); border-radius: 0 var(--b2g-radius) var(--b2g-radius) 0; font-weight: 600; color: var(--b2g-dark); }
.about-highlight p { margin: 0; }

.placeholder-img {
	aspect-ratio: 4 / 3; border-radius: var(--b2g-radius);
	background: linear-gradient(135deg, #dbe4f5, #f4f6fb);
	display: flex; align-items: center; justify-content: center;
	color: var(--b2g-muted); font-size: .9rem; text-align: center; padding: 20px;
}

.store-intro { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.store-intro .lead { font-size: 1.35rem; font-weight: 700; color: var(--b2g-dark); }

.store-card { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: #fff; border-radius: 20px; padding: 40px; box-shadow: 0 10px 30px rgba(17,24,39,.06); margin-bottom: 40px; }
.store-card.reverse .store-image { order: 2; }
.store-card.ml { border-top: 6px solid var(--b2g-ml); }
.store-card.shopee { border-top: 6px solid var(--b2g-shopee); }

/* CTA */
.cta { background: var(--b2g-dark); color: #fff; text-align: center; padding: 80px 0; }
.cta h2 { color: #fff; }
.cta p { opacity: .85; margin-bottom: 1.8em; }

/* Footer */
.site-footer { background: #0b1220; color: #9ca3af; padding: 28px 0; font-size: .9rem; text-align: center; }
.site-footer a { color: #e5e7eb; }

/* Floating WhatsApp */
.whats-float {
	position: fixed; right: 22px; bottom: 22px; z-index: 200;
	width: 58px; height: 58px; border-radius: 50%;
	background: var(--b2g-whats); color: #fff;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.whats-float svg { width: 30px; height: 30px; fill: #fff; }

/* Generic pages */
.page-content { padding: 70px 0; }
.page-content .entry { max-width: 820px; margin: 0 auto; }

/* Responsive */
@media (max-width: 860px) {
	.about-grid, .store-card { grid-template-columns: 1fr; gap: 28px; }
	.store-card { padding: 26px; }
	.store-card.reverse .store-image { order: 0; }
	.nav-toggle { display: block; }
	.main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid #e5e7eb; }
	.main-nav.open { display: block; }
	.main-nav ul { flex-direction: column; gap: 0; padding: 10px 20px; }
	.main-nav li a { display: block; padding: 12px 0; }
	.section { padding: 64px 0; }
	.hero { padding: 80px 0 90px; }
}
