/* Minimal fallback CSS to emulate core Tailwind utilities used in header */
.container { max-width: var(--page-max-width); margin-left: auto; margin-right: auto; padding-left: var(--page-gutter); padding-right: var(--page-gutter); box-sizing: border-box; }

/* Utility fixed-width container variants (use these instead of inline styles) */
.container--500 { max-width: 500px; margin-left: auto; margin-right: auto; }
.container--520 { max-width: 520px; margin-left: auto; margin-right: auto; }
.container--600 { max-width: 600px; margin-left: auto; margin-right: auto; }
.container--700 { max-width: 700px; margin-left: auto; margin-right: auto; }
.container--720 { max-width: 720px; margin-left: auto; margin-right: auto; }
.container--880 { max-width: 880px; margin-left: auto; margin-right: auto; }
.container--900 { max-width: 900px; margin-left: auto; margin-right: auto; }
.container--980 { max-width: 980px; margin-left: auto; margin-right: auto; }
.container--1100 { max-width: var(--page-max-width); margin-left: auto; margin-right: auto; }

.container--720 { max-width: 720px; margin-left: auto; margin-right: auto; }
.container--960 { max-width: 960px; margin-left: auto; margin-right: auto; }


/* Design tokens: palette and typography (fallback defaults) */
:root {
  --brand: #f7b500;
  --brand-dark: #d4980a;
  --brand-glow: rgba(247,181,0,.2);
  --page-gutter: 1.25rem;
  --page-max-width: 1200px;
  --accent: #2563EB;
  --success: #10B981;
  --text-dark: #0F172A;
  --text-muted: #475569;
  --text-light: #64748b;
  --surface: #FFFFFF;
  --surface-2: #F8FAFC;
  --surface-alt: #f1f5f9;
  --muted-border: #E2E8F0;
  --glass: rgba(247,181,0,0.12);
  --font-sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --h1: clamp(2.2rem, 5vw, 3.2rem);
  --h2: clamp(1.85rem, 3.5vw, 2.5rem);
  --h3: 1.35rem;
  --body: 16px;
  --lead: 1.15rem;
  --shadow-xs: 0 1px 2px rgba(15,23,42,.04);
  --shadow-sm: 0 1px 3px rgba(15,23,42,.05), 0 6px 16px rgba(15,23,42,.05);
  --shadow-md: 0 4px 12px rgba(15,23,42,.06), 0 14px 40px rgba(15,23,42,.06);
  --shadow-lg: 0 20px 50px rgba(15,23,42,.1), 0 8px 24px rgba(15,23,42,.06);
  --shadow-xl: 0 32px 64px rgba(15,23,42,.14), 0 12px 32px rgba(15,23,42,.06);
  --shadow-brand: 0 8px 32px rgba(247,181,0,.18);
  --radius-sm: .5rem;
  --radius-card: 1.125rem;
  --radius-lg: 1.5rem;
  --ease: cubic-bezier(.4,0,.2,1);
  --ease-spring: cubic-bezier(.175,.885,.32,1.275);
}

html { scroll-behavior: smooth; }
html,body { font-family: var(--font-sans); color: var(--text-dark); font-size: var(--body); }
/* Apply consistent side gutters to match main page container */
body { line-height: 1.7; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; padding-left: var(--page-gutter); padding-right: var(--page-gutter); box-sizing: border-box; background: #f8fafc; }

/* On wide screens align gutters so centered max-width content matches exactly */
@media (min-width: calc(var(--page-max-width) + 80px)) {
  body { padding-left: calc((100% - var(--page-max-width))/2); padding-right: calc((100% - var(--page-max-width))/2); }
}
/* Header removed for loja - keep minimal layout utilities only */
.hidden { display: none !important; }
.flex { display: flex !important; }
.items-center { align-items: center !important; }
.justify-between { justify-content: space-between !important; }
.gap-3 { gap: .75rem; }
.w-10 { width: 2.5rem !important; }
.h-10 { height: 2.5rem !important; }
.rounded { border-radius: .375rem !important; }
.text-gray-700 { color: #374151 !important; }
.text-blue-600 { color: #2563eb !important; }
.bg-blue-600 { background-color: #2563eb !important; color: #fff !important; }
.px-3 { padding-left:.75rem; padding-right:.75rem; }
.py-2 { padding-top:.5rem; padding-bottom:.5rem; }
@media (min-width:768px) {
  .md\:flex { display: flex !important; }
  .md\:hidden { display: none !important; }
}
/* mobile toggle button */
#mobile-menu { border-top: 1px solid #e5e7eb; }
/* basic link reset */
a { text-decoration: none; }

/* Header nav spacing and cart button */
/* Header navigation styles removed (header not present) */

/* Hero styles */
.hero { background-size: cover; background-position: center; padding: 3rem var(--page-gutter); min-height: 300px; display:flex; align-items:center; border-radius: .75rem; }
.hero .overlay { background: rgba(0,0,0,0.5); padding: 1.5rem 2rem; border-radius: .75rem; color: #fff; max-width: 720px; }
.hero h1 { font-size: clamp(1.4rem, 3.5vw, 2rem); line-height: 1.1; margin: 0 0 .5rem; font-weight: 900; letter-spacing: -.02em; }
.hero p { color: rgba(255,255,255,0.88); margin: 0 0 0.85rem; font-size: 1rem; }
/* .btn-primary defined below in the global button block */

/* Header helper removed */

@media (min-width:768px){
  .hero { min-height: 320px; padding: 3rem var(--page-gutter); position: relative; z-index: 10; }
  .hero h1 { font-size: 2rem; }
}

/* New store header styles */
.store-header { background: rgba(255,255,255,0.92); border-bottom: 1px solid rgba(15,23,42,0.05); position:fixed; top:0; left:0; right:0; z-index:12050; backdrop-filter: blur(20px) saturate(1.6); box-shadow: 0 1px 0 rgba(15,23,42,.03), 0 8px 40px rgba(2,6,23,0.05); padding-left:0; padding-right:0; }
/* header gutter provided by store-header-inner; no direct body padding needed */
.store-header { padding-left: 0; padding-right: 0; }
.store-header-inner { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 0; width:100%; max-width:var(--page-max-width); margin:0 auto; padding-left:var(--page-gutter); padding-right:var(--page-gutter); box-sizing:border-box; }
/* container wrapper removed from header; `.store-header-inner` controls width and padding now */
.store-brand { display:flex; align-items:center; gap:12px; text-decoration:none; color:#111827; align-items:center; order:1; }
.store-logo { width:52px; height:52px; object-fit:cover; border-radius:10px; box-shadow:0 4px 16px rgba(2,6,23,0.14); }
.store-title { font-weight:800; color:var(--brand); font-size:1.125rem; letter-spacing:0.2px; display:inline-block; }
.store-nav { display:none; gap:12px; align-items:center; flex: 0 0 auto; margin-left:0; order:2; }
.store-link { color:#111827; text-decoration:none; font-weight:600; padding:6px 8px; border-radius:6px; transition:background .12s ease, color .12s ease, transform .08s ease; }
.store-link--muted { color:#6b7280; }
.store-link:hover { background: rgba(247,181,0,0.12); color:#92400e; transform:translateY(-1px); }
.store-link.active { background: rgba(247,181,0,0.12); color: #92400e; }
.store-actions { display:flex; align-items:center; gap:8px; order:2; margin-left:8px; }
.search-btn { background:transparent; border:0; padding:6px; border-radius:6px; cursor:pointer; }
.mobile-menu-toggle { display:inline-flex; align-items:center; justify-content:center; background:transparent; border:0; padding:8px 10px; border-radius:999px; cursor:pointer; }
.mobile-menu-icon { position:relative; width:20px; height:2px; background:#111827; border-radius:999px; }
.mobile-menu-icon::before,
.mobile-menu-icon::after { content:""; position:absolute; left:0; width:20px; height:2px; background:#111827; border-radius:999px; transition:transform .16s ease, opacity .16s ease, top .16s ease, bottom .16s ease; }
.mobile-menu-icon::before { top:-6px; }
.mobile-menu-icon::after { bottom:-6px; }
.store-mobile-menu.open + .mobile-menu-toggle .mobile-menu-icon { background:transparent; }

.store-cta { display:none; align-items:center; justify-content:center; padding:0.55rem 1.15rem; border-radius:8px; font-weight:700; font-size:0.875rem; background:var(--brand); color:var(--text-dark); box-shadow:0 4px 16px rgba(247,181,0,0.18); text-decoration:none; white-space:nowrap; transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.store-cta:hover { background: var(--brand-dark); transform:translateY(-2px); box-shadow:0 10px 28px rgba(247,181,0,0.3); }

/* Mobile menu (hidden by default) */
.store-mobile-menu { display:none; flex-direction:column; padding:12px 0; gap:8px; }
.store-mobile-menu.open { display:flex; }
.store-mobile-link { padding:10px 0; color:#374151; text-decoration:none; border-bottom:1px solid rgba(0,0,0,0.03); }

/* Dropdown for Administração */
.store-dropdown { position:relative; }
.store-dropdown-menu { position:absolute; top:calc(100% + 8px); right:0; background:#0f172a; border:1px solid rgba(255,255,255,0.08); box-shadow:0 16px 40px rgba(2,6,23,0.5); border-radius:10px; min-width:240px; display:none; z-index:1200; padding:6px 8px; }
.store-dropdown:hover .store-dropdown-menu { display:block; }
.store-dropdown-item { display:block; padding:8px 10px; color:#e2e8f0; text-decoration:none; border-radius:6px; }
.store-dropdown-item:hover { background:rgba(255,255,255,0.07); }

/* Mobile submenu under Administração */
.store-mobile-submenu { display:flex; flex-direction:column; padding-left:12px; }
.store-mobile-submenu .store-mobile-link { border-bottom: none; padding:8px 0; }

/* Right-aligned wrapper for nav + actions */
.store-right { margin-left: 0; display:flex; align-items:center; gap:12px; order:2; }
.store-right .store-nav { order:1; }
.store-right .store-actions { order:2; }

@media (min-width:768px){
  .store-nav { display:flex; }
  .mobile-menu-toggle { display:none; }
  .store-mobile-menu { display:none !important; }
  .store-cta { display:inline-flex; }
}

/* previous margin-left offsets removed; nav now follows search */
@media (min-width:768px) {
  .store-nav { margin-left: 0; }
}
@media (min-width:1200px) {
  .store-nav { margin-left: 0; }
}

/* Show brand text only on mobile; hide on desktop */
@media (min-width:768px) {
  .store-title { display: none; }
}

/* Search input and results */
.search-wrapper { position:relative; width:100%; max-width:380px; min-width:160px; flex: 0 0 320px; }
.search-input { width:100%; padding:10px 12px; border:1px solid rgba(15,23,42,0.06); border-radius:10px; font-size:0.975rem; background: #fff; }
.search-input:focus { outline: none; box-shadow: 0 6px 20px rgba(2,6,23,0.06); border-color: rgba(37,99,235,0.25); }
.search-results { position:absolute; left:0; right:0; top:calc(100% + 10px); background:#fff; border:1px solid rgba(0,0,0,0.06); box-shadow:0 12px 30px rgba(2,6,23,0.12); border-radius:10px; z-index:1200; max-height:360px; overflow:auto; display:block; }
.search-result-item { display:block; padding:10px 12px; border-bottom:1px solid rgba(0,0,0,0.03); color:#111827; text-decoration:none; }
.search-result-item:hover { background:#f8fafc; }
.res-title { font-weight:700; font-size:0.97rem; }
.res-sub { font-size:0.85rem; color:#6b7280; margin-top:4px; }

@media (max-width:767px){
  .search-wrapper { width:100%; }
  .store-logo { width:44px; height:44px; }
}

/* Ensure header brand left aligns visually with hero overlay start on wide screens */
@media (min-width:1024px) {
  /* align hero overlay with centered header inner content */
  .hero .overlay { max-width:var(--page-max-width); margin-left:auto; margin-right:auto; padding-left:0; padding-right:0; }
  .store-header-inner { padding-left: var(--page-gutter); padding-right: var(--page-gutter); }
}

/* Ensure all main sections share the same horizontal gutters as header/hero
   so left/right edges align consistently across pages (follows page-max-width)
*/
.planos-section,
.howto-hero,
.info-grid,
.info-banner,
.auth-grid,
.footer-inner {
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
  box-sizing: border-box;
}

@media (min-width: calc(var(--page-max-width) + 80px)) {
  .planos-section,
  .howto-hero,
  .info-grid,
  .info-banner,
  .auth-grid,
  .footer-inner {
    padding-left: calc((100% - var(--page-max-width))/2);
    padding-right: calc((100% - var(--page-max-width))/2);
  }
}

/* Push content below the fixed header (height ~80px) */
main { padding-top: 82px; }
/* Hero carousel sits flush against the header — cancel the main padding-top */
main > #hero:first-child { margin-top: -82px; }

/* Remove padding from nested containers inside main to prevent double gutters
   when templates include an additional .container wrapper */
main .container {
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
  box-sizing: border-box;
}

/* Planos Individuais section */
.planos-section { padding: 5.5rem 0 6rem; background: transparent; }
.planos-section .container { max-width: var(--page-max-width); margin:0 auto; }
.planos-section--family, .planos-section--institutional { background: var(--surface-alt); }
.planos-section h2 { font-size:clamp(1.5rem, 3vw, 2rem); margin:0 0 .65rem; font-weight:800; letter-spacing:-.025em; }
.planos-section .lead { color:#475569; margin:0 0 1.5rem; line-height: 1.7; }
.plans-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap:1rem; margin-top:1rem; }
.plan-card { background:#fff; border-radius:var(--radius-card); padding:1.25rem; box-shadow:var(--shadow-sm); border:1px solid rgba(226,232,240,.8); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.plan-card:hover { transform: translateY(-4px); box-shadow:var(--shadow-lg); }
/* plan-card--individual fica disponível apenas como "hook" sem imagem de fundo */
.plan-card--individual {}
.plan-card.empty { background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,250,251,0.98)); color:#6b7280; display:flex; align-items:center; justify-content:center; min-height:120px; text-align:center; }

.plan-card h3 { margin:0 0 .5rem; font-size:1.125rem; }
.plan-card .price { font-weight:700; color:#111827; margin:0 0 .5rem; }
.plan-card .desc { color:#374151; margin:0; font-size:0.95rem; }
.plan-thumb { margin-bottom:.5rem; border-radius:.5rem; overflow:hidden; }
.plan-thumb img { display:block; width:100%; height:120px; object-fit:cover; }

/* Info cards for static pages like Quem Somos */
.info-grid { display:grid; gap:1rem; grid-template-columns: 1fr; margin-top:1rem; }
.info-card { background: #fff; border-radius:var(--radius-card); padding:2.25rem; box-shadow:var(--shadow-sm); border:1.5px solid rgba(226,232,240,.6); border-top: 3px solid var(--brand); }
.info-card h3 { margin:0 0 .85rem; font-size:1.2rem; color:var(--text-dark); font-weight:800; letter-spacing:-.015em; }
.info-card h1 { margin:0 0 .6rem; font-size:1.3rem; color:var(--text-dark); font-weight:800; }
.info-card p, .info-card ul { color:var(--text-dark); line-height:1.6; margin:0; }
.info-card { transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease); cursor:default; }
.info-card:hover { transform: translateY(-8px); box-shadow:var(--shadow-xl); border-color: rgba(247,181,0,.35); }
.info-card__icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, rgba(247,181,0,.1), rgba(247,181,0,.04)); color: var(--brand-dark); margin-bottom: 1rem; }
.info-card__icon svg { width: 28px; height: 28px; }
.info-card ul { padding-left:1.1rem; margin-top:.5rem; }
.info-card li { margin-bottom:.45rem; }

.steps-list { padding-left:1rem; margin-top:.5rem; }
.steps-list li { margin-bottom:.45rem; }

.plans-table { margin-top:.6rem; }
.plans-table h4 { margin:0 0 .4rem; }
.plans-table ul { padding-left:1.05rem; }

@media (min-width:768px) {
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width:1200px) {
  .info-grid { grid-template-columns: 1fr 1fr 1fr; }
  .info-card { padding:1.5rem; }
}

/* Full-width banner card used for closing / thank-you message */
.info-banner { grid-column: 1 / -1; display:flex; align-items:center; gap:1rem; padding:1.25rem 1.5rem; border-radius:12px; background: linear-gradient(90deg, rgba(247,181,0,0.08), rgba(255,255,255,0.02)); border:1px solid rgba(247,181,0,0.12); box-shadow:0 10px 30px rgba(247,181,0,0.06); }
.info-banner p { margin:0; font-weight:600; color:var(--text-dark); }
.info-banner .brand-strong { color:var(--brand); font-weight:800; margin-left:6px; }

/* How-to-buy specific layout refinements */
.howto-hero { background: linear-gradient(135deg, rgba(247,181,0,.06) 0%, rgba(255,255,255,.98) 55%, var(--surface-alt) 100%); border-radius:var(--radius-card); padding:2.5rem 2.75rem; margin-bottom:2.5rem; border:1.5px solid rgba(247,181,0,.12); box-shadow: var(--shadow-md); }
.howto-hero h2 { margin:0; font-size:clamp(1.2rem, 2.5vw, 1.5rem); color:var(--text-dark); font-weight:800; letter-spacing:-.02em; }
.howto-hero p { margin:0.6rem 0 0; color:var(--text-muted); font-size:1rem; line-height:1.65; }

.howto-steps { display:grid; gap:1rem; grid-template-columns: 1fr; }
.howto-step { display:flex; gap:1rem; align-items:flex-start; }
.step-badge { width:56px; height:56px; border-radius:14px; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); color: #111827; display:flex; align-items:center; justify-content:center; font-weight:900; font-size:1.2rem; box-shadow: 0 8px 28px rgba(247,181,0,.3); flex-shrink:0; }
.step-body { flex:1; }
.step-body h4 { margin:0 0 .4rem; font-size:1rem; color:var(--text-dark); font-weight:800; }
.step-body p { margin:0; color:var(--text-dark); }

@media (min-width:768px) {
  .howto-steps { grid-template-columns: repeat(2, 1fr); }
  .howto-step { align-items:stretch; }
}

.howto-plan-list { display:grid; gap:.5rem; }
.plan-item { display:flex; justify-content:space-between; padding:.75rem 1rem; border-radius:10px; background: #fff; border:1px solid rgba(226,232,240,.8); box-shadow: 0 2px 8px rgba(15,23,42,.05); transition: box-shadow .15s; }
.plan-item:hover { box-shadow: 0 4px 16px rgba(15,23,42,.1); }
.plan-item strong { color:var(--text-dark); }
.plan-note { color:var(--text-muted); font-size:.95rem; margin-top:.5rem; }

/* Account / Auth cards */
.auth-grid { display:grid; gap:1rem; grid-template-columns: 1fr; margin-top:1rem; }
.auth-card { background: #fff; border-radius:var(--radius-card); padding:2.5rem; box-shadow:var(--shadow-md); border:1.5px solid rgba(226,232,240,.55); }
.auth-card h3 { margin:0 0 .5rem; font-size:1.125rem; color:var(--text-dark); font-weight:800; }
.form-row { display:flex; flex-direction:column; gap:.5rem; margin-bottom:.75rem; }
.form-row label { font-size:0.95rem; color:var(--text-dark); font-weight:600; }
.form-row input[type="text"], .form-row input[type="email"], .form-row input[type="password"] { padding:.7rem .9rem; border:1px solid rgba(226,232,240,.9); border-radius:8px; font-size:0.98rem; transition: border-color .15s, box-shadow .15s; }
.form-row input[type="text"]:focus, .form-row input[type="email"]:focus, .form-row input[type="password"]:focus { outline:none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(247,181,0,.15); }
.form-actions { display:flex; align-items:center; justify-content:space-between; gap:.5rem; margin-top:.5rem; }
.remember { display:flex; align-items:center; gap:.5rem; }
.auth-links { display:flex; gap:1rem; align-items:center; }
.auth-links a { color:var(--brand); text-decoration:none; font-weight:700; }
.auth-footer-note { color:var(--text-muted); font-size:0.95rem; margin-top:.65rem; }

@media (min-width:768px) {
  .auth-grid { grid-template-columns: 1fr 1fr; }
}

/* =====================================================================
   FOOTER — modern design (carrossel2 bg, gradient overlay, animated links)
   ===================================================================== */
.site-footer {
  background: #0a0f1e url('../img/carrossel2.jpg') no-repeat center center;
  background-size: cover;
  position: relative; color: #cbd5e1;
  padding: 0; font-size: var(--body); overflow: hidden;
}
.site-footer::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 0%, rgba(247,181,0,.07) 0%, transparent 55%),
              radial-gradient(ellipse at 80% 100%, rgba(10,15,30,.92) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.site-footer::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(10,15,30,.82);
  pointer-events: none; z-index: 0;
}
.footer-top-accent {
  height: 3px; position: relative; z-index: 1;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-dark) 40%, rgba(247,181,0,.15) 100%);
}
.footer-inner, .footer-legal { position: relative; z-index: 1; }
.footer-inner {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
  align-items: start; max-width: var(--page-max-width); margin: 0 auto;
  padding: 3.5rem var(--page-gutter) 2.5rem;
}
.footer-col h4 {
  margin: 0 0 1.15rem; font-size: .75rem; color: rgba(255,255,255,.5);
  font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.footer-col h4::after {
  content: ''; display: block; width: 28px; height: 2px;
  background: linear-gradient(90deg, var(--brand), rgba(247,181,0,.3));
  margin-top: .55rem; border-radius: 2px;
}
.footer-brand-col { max-width: 320px; }
.footer-brand-link {
  display: inline-flex; align-items: center; text-decoration: none;
  margin-bottom: .85rem;
}
.footer-brand-name {
  font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em;
  background: linear-gradient(135deg, var(--brand) 0%, #fcd34d 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-tagline {
  margin: 0 0 1.25rem; color: #94a3b8; font-size: .88rem;
  line-height: 1.7;
}
.footer-social { display: flex; gap: .55rem; }
.social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  color: #94a3b8; transition: all .2s var(--ease);
}
.social-link:hover {
  color: #0a0f1e; background: var(--brand); border-color: var(--brand);
  transform: translateY(-3px); box-shadow: 0 6px 20px rgba(247,181,0,.25);
}
.social-link--wa:hover {
  background: #25d366; border-color: #25d366;
  box-shadow: 0 6px 20px rgba(37,211,102,.3);
}
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .6rem; }
.footer-links a {
  color: #94a3b8; text-decoration: none; font-size: .88rem;
  transition: color .18s, padding-left .18s;
  display: inline-block; position: relative;
}
.footer-links a::before {
  content: ''; position: absolute; left: -14px; top: 50%; transform: translateY(-50%);
  width: 5px; height: 5px; border-radius: 50%; background: var(--brand);
  opacity: 0; transition: opacity .18s, left .18s;
}
.footer-links a:hover { color: #f1f5f9; padding-left: 6px; }
.footer-links a:hover::before { opacity: 1; left: -8px; }
.footer-contact-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: .9rem;
}
.footer-contact-list li { display: flex; align-items: center; gap: .7rem; }
.footer-contact-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; flex-shrink: 0;
  background: rgba(247,181,0,.07); border: 1px solid rgba(247,181,0,.12);
  border-radius: 9px; color: var(--brand);
  transition: background .2s, border-color .2s;
}
.footer-contact-list li:hover .footer-contact-icon {
  background: rgba(247,181,0,.14); border-color: rgba(247,181,0,.25);
}
.footer-contact-list a,
.footer-contact-list span:not(.footer-contact-icon) {
  color: #cbd5e1; text-decoration: none; font-size: .88rem;
  transition: color .15s;
}
.footer-contact-list a:hover { color: var(--brand); }
.footer-legal { padding: 1.15rem 0; background: rgba(0,0,0,.25); position: relative; z-index: 1; }
.footer-legal-inner {
  display: flex; flex-direction: column; gap: .5rem;
  align-items: center; justify-content: center; text-align: center;
  max-width: var(--page-max-width); margin: 0 auto;
  padding-left: var(--page-gutter); padding-right: var(--page-gutter);
  font-size: .8rem; color: #475569;
}
.footer-legal-inner small { color: #475569; }
.footer-legal-sep { display: none; }
.dev-credit { font-size: .8rem; color: #536078; font-weight: 500; }
.legal-nav { display: flex; gap: 1rem; }
.legal-nav a {
  color: #536078; text-decoration: none; font-size: .8rem;
  transition: color .15s;
}
.legal-nav a:hover { color: #cbd5e1; }
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.muted { color: #64748b; }
.sr-only { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; white-space:nowrap !important; border:0 !important; }

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .footer-brand-col { grid-column: 1 / -1; }
}
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.5rem; }
  .footer-brand-col { grid-column: auto; }
  .footer-legal-inner { flex-direction: row; gap: 0; }
  .footer-legal-sep {
    display: block; width: 1px; height: 12px; margin: 0 1rem;
    background: rgba(255,255,255,.12);
  }
}
@media (min-width: 1200px) {
  .footer-inner { grid-template-columns: 1.8fr 1fr 1fr 1.5fr; }
}

/* Reseller application page */
.reseller-page { padding: 3rem 1rem 4rem; }
.reseller-layout { display:grid; gap:2rem; align-items:flex-start; }
.reseller-intro { background: linear-gradient(135deg, rgba(247,181,0,.06) 0%, rgba(255,255,255,.97) 50%, var(--surface-alt) 100%); border-radius:var(--radius-lg); padding:2.75rem 3rem; box-shadow: var(--shadow-md); border:1.5px solid rgba(247,181,0,.12); }
.reseller-badge { display:inline-flex; align-items:center; padding:.25rem .6rem; border-radius:999px; background:rgba(15,23,42,0.85); color:#fefce8; font-size:0.75rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; margin-bottom:.5rem; }
.reseller-title { margin:0 0 .5rem; font-size:1.7rem; font-weight:800; color:var(--text-dark); }
.reseller-lead { margin:0 0 1rem; color:var(--text-dark); font-size:1rem; line-height:1.6; }
.reseller-points { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:.45rem; }
.reseller-points li { position:relative; padding-left:1.25rem; font-size:.95rem; color:var(--text-dark); }
.reseller-points li::before { content:'•'; position:absolute; left:.25rem; top:0; color:var(--brand); font-weight:800; }

.reseller-form-card { background:#fff; border-radius:var(--radius-lg); padding:2.75rem 3rem; box-shadow:var(--shadow-md); border:1.5px solid rgba(226,232,240,.55); }
.reseller-form-title { margin:0 0 .35rem; font-size:1.25rem; font-weight:800; color:var(--text-dark); }
.reseller-form-subtitle { margin:0 0 1rem; font-size:.9rem; color:var(--text-muted); }
.reseller-errors { margin-bottom:1rem; padding:.75rem .9rem; border-radius:8px; background:#fef2f2; border:1px solid #fecaca; color:#b91c1c; font-size:.9rem; }
.reseller-errors ul { margin:0; padding-left:1rem; }
.reseller-form { display:flex; flex-direction:column; gap:.75rem; }
.reseller-form-row { display:flex; flex-direction:column; gap:.25rem; }
.reseller-form-row label { font-size:.9rem; font-weight:600; color:var(--text-dark); }
.reseller-form-row input { width:100%; box-sizing:border-box; padding:.7rem .9rem; border-radius:8px; border:1px solid rgba(226,232,240,.9); font-size:.95rem; transition: border-color .15s, box-shadow .15s; }
.reseller-form-row input:focus { outline:none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(247,181,0,.15); }

/* Checkout page */
.checkout-page { margin-top: 2rem; margin-bottom: 3rem; }
.checkout-title { font-size: 1.65rem; font-weight: 800; margin-bottom: 0.65rem; letter-spacing: -.02em; }
.checkout-subtitle { color: #4b5563; font-size: 0.95rem; margin-bottom: 1.5rem; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr); gap: 1.5rem; }
.checkout-summary-card, .checkout-form-card { background: #ffffff; border-radius: var(--radius-card); padding: 2.25rem; box-shadow: var(--shadow-md); border: 1.5px solid rgba(226,232,240,.6); }
.checkout-summary-card h2, .checkout-form-card h2 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.75rem; }
.checkout-summary-card p { font-size: 0.92rem; margin-bottom: 0.35rem; }
.checkout-summary-card p .label { font-weight: 600; }
.checkout-summary-card .total { margin-top: 0.75rem; font-size: 1.05rem; font-weight: 700; }
.checkout-form { margin-top: 0.5rem; }
.checkout-form-row { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.85rem; }
.checkout-form-row label { font-size: 0.85rem; font-weight: 500; }
.checkout-form-row input { padding: 0.65rem 0.85rem; border-radius: 0.5rem; border: 1px solid rgba(226,232,240,.9); font-size: 0.9rem; transition: border-color .15s, box-shadow .15s; }
.checkout-form-row input:focus { outline:none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(247,181,0,.15); }
.checkout-payment { margin-top: 0.75rem; }
.checkout-payment-title { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.35rem; }
.checkout-payment-options { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.9rem; }
.checkout-payment-options label { display: inline-flex; align-items: center; gap: 0.4rem; }
.checkout-note { margin-top: 0.75rem; font-size: 0.8rem; color: #6b7280; }
.checkout-actions { margin-top: 1.1rem; }
.checkout-errors { margin-bottom: 0.9rem; padding: 0.75rem 0.9rem; border-radius: 0.5rem; background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; font-size: 0.85rem; }
.checkout-errors ul { padding-left: 1.1rem; }
.checkout-errors li { list-style: disc; }
@media (max-width: 768px) { .checkout-layout { grid-template-columns: minmax(0, 1fr); } }
.reseller-form-grid { display:grid; gap:.75rem; grid-template-columns: 1fr; }
.reseller-fixed-message { margin-top:.75rem; padding:.75rem .85rem; border-radius:10px; background:linear-gradient(180deg, #f9fafb, #eff6ff); border:1px dashed rgba(148,163,184,0.7); font-size:.9rem; }
.reseller-fixed-title { margin:0 0 .35rem; font-weight:700; color:var(--text-dark); }
.reseller-fixed-body { margin:0; white-space:pre-line; color:var(--text-dark); }
.reseller-form-actions { margin-top:1rem; display:flex; justify-content:flex-end; }

@media (min-width:768px) {
  .reseller-page { padding-top:3.5rem; }
  .reseller-layout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .reseller-form-grid { grid-template-columns: 1fr 1fr; }
}

/* =====================================================================
   HERO CAROUSEL — BEM component (.hero__*)
   ===================================================================== */
#hero {
  position: relative;
  overflow: hidden;
  height: 600px;
  min-height: 440px;
  background: #020617;
}
#heroTrack {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.hero__slide {
  flex: 0 0 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: #020617;
  display: flex;
  align-items: center;
  position: relative;
}
/* Dark overlay for text legibility */
.hero__slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(2,6,23,.82) 0%, rgba(2,6,23,.5) 45%, rgba(2,6,23,.12) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero__card {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 3rem 2rem 3rem calc(var(--page-gutter) + 2rem);
  color: #fff;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .75rem;
  background: rgba(247,181,0,.12);
  padding: .25rem .6rem;
  border-radius: 4px;
  border: 1px solid rgba(247,181,0,.25);
}
.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.05;
  margin: 0 0 1.25rem;
  color: #fff;
  letter-spacing: -.035em;
}
.hero__title strong { color: var(--brand); }
.hero__desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.78);
  margin: 0 0 2rem;
  line-height: 1.75;
  max-width: 520px;
}
.hero__actions { display: flex; gap: .65rem; flex-wrap: wrap; }

/* Arrow buttons */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.22);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: background .18s, transform .18s;
  backdrop-filter: blur(4px);
}
.hero__arrow:hover { background: rgba(247,181,0,.85); color: #111; border-color: transparent; transform: translateY(-50%) scale(1.08); }
.hero__arrow--prev { left: .75rem; }
.hero__arrow--next { right: .75rem; }

/* Dot indicators */
.hero__dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .4rem;
  z-index: 10;
}
.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.3);
  cursor: pointer;
  padding: 0;
  transition: background .25s var(--ease), width .25s var(--ease), border-radius .25s var(--ease);
}
.hero__dot.is-active {
  background: var(--brand);
  width: 26px;
  border-radius: 4px;
  box-shadow: 0 0 0 3px rgba(247,181,0,.25);
}

@media (min-width: 768px) {
  #hero { height: 620px; }
  .hero__card { padding-left: calc(var(--page-gutter) + 3rem); }
}
@media (min-width: 1024px) {
  #hero { height: 660px; }
  .hero__card {
    padding-left: calc((100vw - var(--page-max-width)) / 2 + var(--page-gutter) + 2rem);
  }
}

/* =====================================================================
   STAT BAR — strip below hero (.stat-bar__*)
   ===================================================================== */
.stat-bar {
  background: linear-gradient(135deg, #020617 0%, #0f172a 60%, #1a2744 100%);
  padding: 1.5rem 1rem;
  border-bottom: 1px solid rgba(247,181,0,.1);
}
.stat-bar__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
  max-width: var(--page-max-width);
  margin: 0 auto;
  align-items: center;
}
.stat-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 90px;
  padding: .5rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,.07);
}
.stat-bar__item:last-child { border-right: none; }
.stat-bar__num {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--brand);
  line-height: 1.05;
  letter-spacing: -.03em;
}
.stat-bar__lbl {
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.45);
  margin-top: .25rem;
  font-weight: 600;
}

/* =====================================================================
   SECTION HEADER — title + rule (.section-header)
   ===================================================================== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header__tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #92400e;
  background: rgba(247,181,0,.12);
  border: 1px solid rgba(247,181,0,.3);
  padding: .3rem .75rem;
  border-radius: 4px;
  margin-bottom: .75rem;
}
.section-header h2 {
  font-size: var(--h2);
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 .65rem;
  letter-spacing: -.025em;
  line-height: 1.2;
}
.section-header p {
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
}
.section-header__rule {
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  border-radius: 2px;
  margin: .85rem auto 1.25rem;
}

/* =====================================================================
   PLAN CARDS — modern card component (.plan-card-modern)
   ===================================================================== */
.plan-card-modern {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border: 1.5px solid rgba(226,232,240,.65);
}
.plan-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(247,181,0,.2);
}
.plan-card-modern-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.plan-card--featured {
  border-color: transparent;
  border-width: 0;
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
  box-shadow: 0 20px 50px rgba(2,6,23,.35), 0 6px 20px rgba(2,6,23,.2);
  color: #f1f5f9;
}
/* Override inner text colours for dark card */
.plan-card--featured .plan-title {
  color: #f1f5f9;
}
.plan-card--featured .plan-price {
  color: var(--brand);
}
.plan-card--featured .plan-currency {
  color: rgba(255,255,255,.5);
}
.plan-card--featured .plan-desc {
  color: rgba(255,255,255,.55);
}
.plan-card--featured .plan-feature {
  background: rgba(255,255,255,.07);
  color: #cbd5e1;
  border-color: rgba(255,255,255,.1);
}
.plan-card--featured .plan-feature--active {
  background: rgba(247,181,0,.18);
  color: var(--brand);
  border-color: rgba(247,181,0,.35);
}
.plan-card--featured .plan-card-modern-footer {
  border-top-color: rgba(255,255,255,.08);
}
.plan-card--featured .btn-modern {
  background: var(--brand);
  color: #111;
  box-shadow: 0 8px 24px rgba(247,181,0,.3);
}
.plan-card--featured .btn-modern:hover {
  background: #e0a800;
  box-shadow: 0 12px 32px rgba(247,181,0,.45);
  transform: translateY(-2px);
}
.plan-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--brand);
  color: #111;
  font-size: .6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .28rem .75rem;
  border-bottom-left-radius: .5rem;
  box-shadow: 0 4px 12px rgba(247,181,0,.35);
}
.plan-card-modern-header {
  padding: 1.75rem 1.75rem 1rem;
  display: flex;
  align-items: center;
  gap: .85rem;
}
.plan-emoji { font-size: 1.6rem; line-height: 1; width: 2.75rem; height: 2.75rem; display: flex; align-items: center; justify-content: center; background: rgba(247,181,0,.08); border-radius: var(--radius-sm); flex-shrink: 0; }
.plan-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
  letter-spacing: -.01em;
}
.plan-card-modern-body { padding: 0 1.75rem 1.5rem; flex: 1; }
.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: .2rem;
  margin-bottom: .75rem;
}
.plan-price {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1;
  letter-spacing: -.04em;
}
.plan-currency {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  align-self: flex-end;
  margin-bottom: .15rem;
}
.plan-features {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-bottom: .75rem;
}
.plan-feature {
  font-size: .72rem;
  background: #f1f5f9;
  color: #475569;
  padding: .25rem .6rem;
  border-radius: .35rem;
  border: 1px solid rgba(226,232,240,.55);
  font-weight: 500;
}
.plan-feature--active {
  background: rgba(247,181,0,.1);
  color: #78350f;
  font-weight: 700;
  border: 1px solid rgba(247,181,0,.3);
}
.plan-desc {
  font-size: .8rem;
  color: var(--text-muted);
  margin: .4rem 0 0;
  line-height: 1.5;
}
.plan-card-modern-footer {
  padding: 1.25rem 1.75rem 1.5rem;
  margin-top: auto;
  border-top: 1px solid rgba(226,232,240,.45);
}
.btn-modern {
  display: block;
  background: var(--brand);
  color: #111;
  text-align: center;
  padding: .75rem 1.15rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: .93rem;
  text-decoration: none;
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  box-shadow: 0 4px 14px rgba(247,181,0,.18);
}
.btn-modern:hover {
  background: #e0a800;
  color: #111;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(247,181,0,.32);
}

/* =====================================================================
   LOADING SPINNER — 3 pulsing dots (.family-loading)
   ===================================================================== */
.family-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  padding: 3rem 1rem;
  grid-column: 1 / -1;
}
.family-loading__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  animation: family-bounce 1s ease-in-out infinite alternate;
}
.family-loading__dot:nth-child(2) { animation-delay: .15s; }
.family-loading__dot:nth-child(3) { animation-delay: .3s; }
@keyframes family-bounce {
  from { opacity: .25; transform: translateY(0); }
  to   { opacity: 1;   transform: translateY(-7px); }
}

/* =====================================================================
   FOOTER — legacy contact icon aliases (kept for older partials)
   ===================================================================== */
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--brand);
  flex-shrink: 0;
  margin-top: .1rem;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.contact-text {
  color: var(--text-muted);
  font-size: .9rem;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}

/* =====================================================================
   HEADER DROPDOWN — rich menu items (.store-dropdown-item__*)
   ===================================================================== */
.store-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: 8px 10px;
  border-radius: 6px;
  color: #e2e8f0;
  text-decoration: none;
}
.store-dropdown-item:hover { background: rgba(255,255,255,0.07); }
.store-dropdown-item__icon {
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}
.store-dropdown-item__body {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.store-dropdown-item__title {
  font-weight: 600;
  font-size: .9rem;
  color: #f1f5f9;
}
.store-dropdown-item__desc {
  font-size: .78rem;
  color: #94a3b8;
  line-height: 1.4;
}
.dropdown-search-wrapper { padding: 12px 10px 6px; }
.dropdown-search-wrapper .search-input { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.12); color: #f1f5f9; }
.dropdown-search-wrapper .search-input::placeholder { color: #64748b; }
.dropdown-search-wrapper .search-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(247,181,0,0.15); }

/* =====================================================================
   PAGE HERO — banner on inner pages (Quem Somos, Como Comprar, …)
   ===================================================================== */
.page-hero {
  background: linear-gradient(135deg, #020617 0%, #0f172a 40%, #162033 70%, #1e3a5f 100%);
  padding: 7.5rem 1.5rem 5rem;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  left: -100px;
  bottom: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(37,99,235,.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -50px;
  top: -50px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(247,181,0,.14) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero .container {
  max-width: var(--page-max-width);
  margin: 0 auto;
}
.page-hero__eyebrow {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .5rem;
}
.page-hero__title {
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 900;
  color: #fff;
  margin: 0 0 1rem;
  line-height: 1.06;
  letter-spacing: -.03em;
}
.page-hero__desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.72);
  max-width: 660px;
  line-height: 1.7;
  margin: 0;
}

/* =====================================================================
   PAGE BODY — content area on inner pages
   ===================================================================== */
.page-body {
  padding: 3.5rem 1.25rem 5rem;
}
.page-body .container {
  max-width: var(--page-max-width);
  margin: 0 auto;
}

/* =====================================================================
   ALERTS
   ===================================================================== */
.alert {
  padding: .9rem 1.2rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: .92rem;
  font-weight: 500;
}
.alert-success { background: #f0fdf4; border: 1.5px solid #86efac; color: #15803d; }
.alert-error   { background: #fef2f2; border: 1.5px solid #fecaca; color: #991b1b; }

/* form field helper (used in account, auth pages) */
.field { display: flex; flex-direction: column; gap: .25rem; margin-bottom: .75rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--text-dark); }
.field input, .field select, .field textarea {
  width: 100%; box-sizing: border-box;
  padding: .7rem .9rem;
  border: 1px solid rgba(226,232,240,.9);
  border-radius: .5rem;
  font-size: .95rem;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(247,181,0,.15);
}

/* =====================================================================
   EQUIPMENT PAGE
   ===================================================================== */
/* Category filter bar */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1.75rem;
}
.category-filter a {
  display: inline-block;
  padding: .35rem .85rem;
  border-radius: 6px;
  font-size: .82rem;
  font-weight: 600;
  background: #f1f5f9;
  color: var(--text-dark);
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background .12s, border-color .12s;
}
.category-filter a:hover { background: rgba(247,181,0,.15); border-color: var(--brand); color: #78350f; }
.category-filter a.is-active { background: var(--brand); color: #111; border-color: var(--brand); }

/* Empty state */
.equip-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--text-muted);
}
.equip-empty svg { margin: 0 auto 1rem; opacity: .4; }
.equip-empty p { font-size: 1rem; }

/* Product grid */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}
@media (min-width: 768px) { .equipment-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); } }
@media (min-width: 1024px) { .equipment-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); } }

/* Card */
.equipment-card {
  background: #fff;
  border-radius: var(--radius-card);
  border: 1.5px solid rgba(226,232,240,.6);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.equipment-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: rgba(247,181,0,.18); }

/* Visual / image area */
.equipment-card__visual {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  background: #f8fafc;
  overflow: hidden;
  text-decoration: none;
}
.equipment-card__img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 8px;
  box-sizing: border-box;
  transition: transform .3s;
}
.equipment-card:hover .equipment-card__img { transform: scale(1.04); }
.equipment-card__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: #cbd5e1;
}
.equipment-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(2,6,23,.25) 0%, transparent 55%);
  pointer-events: none;
}
.equipment-card__badges {
  position: absolute; top: .5rem; left: .5rem; right: .5rem;
  display: flex; justify-content: space-between; align-items: flex-start;
  pointer-events: none;
}
.equipment-card__cat-badge {
  background: rgba(2,6,23,.7); color: #fff;
  font-size: .62rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; padding: .18rem .5rem; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.equipment-card__stock-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .62rem; font-weight: 700;
  padding: .18rem .5rem; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.equipment-card__stock-badge--in  { background: rgba(22,163,74,.85); color: #fff; }
.equipment-card__stock-badge--out { background: rgba(217,119,6,.85);  color: #fff; }
.equipment-card__stock-dot {
  width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8;
}

/* Body */
.equipment-card__body {
  padding: 1rem 1.1rem 1.1rem;
  display: flex; flex-direction: column; gap: .5rem; flex: 1;
}
.equipment-card__name {
  margin: 0;
  font-size: .97rem; font-weight: 700; color: var(--text-dark); line-height: 1.3;
}
.equipment-card__name a { color: inherit; text-decoration: none; }
.equipment-card__name a:hover { color: var(--accent); }
.equipment-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto;
}
.equipment-card__price-wrap { display: flex; align-items: baseline; gap: .2rem; }
.equipment-card__price { font-size: 1.35rem; font-weight: 900; color: var(--text-dark); letter-spacing: -.02em; }
.equipment-card__kz { font-size: .78rem; font-weight: 600; color: var(--text-muted); }
.equipment-card__cta {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .4rem .8rem; border-radius: 6px;
  background: var(--brand); color: #111;
  font-size: .78rem; font-weight: 700;
  text-decoration: none;
  transition: background .12s, transform .1s;
}
.equipment-card__cta:hover { background: #e0a800; transform: translateY(-1px); }

/* Buy / Order buttons (equipment detail page) */
.btn-buy-now, .btn-order {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .6rem 1.2rem; border-radius: 6px;
  font-size: .95rem; font-weight: 700; cursor: pointer;
  border: none; transition: background .12s, transform .1s;
  text-decoration: none;
}
.btn-buy-now { background: var(--brand); color: #111; }
.btn-buy-now:hover { background: #e0a800; transform: translateY(-1px); }
.btn-order { background: #1e3a5f; color: #fff; }
.btn-order:hover { background: #2563eb; transform: translateY(-1px); }

/* =====================================================================
   FEATURED CARD — emoji override for dark context
   ===================================================================== */
.plan-card--featured .plan-emoji {
  background: rgba(247,181,0,.12);
}

/* =====================================================================
   GENERIC CARD & DATA TABLE (cart, account, checkout pages)
   ===================================================================== */
.card {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid rgba(226,232,240,.6);
  overflow: hidden;
}
.card-body {
  padding: 2rem;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}
.data-table thead {
  background: var(--surface-alt);
}
.data-table th {
  padding: .75rem 1rem;
  text-align: left;
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
  border-bottom: 1.5px solid var(--muted-border);
}
.data-table td {
  padding: .85rem 1rem;
  border-bottom: 1px solid rgba(226,232,240,.5);
  vertical-align: middle;
}
.data-table tbody tr {
  transition: background .15s var(--ease);
}
.data-table tbody tr:hover {
  background: rgba(247,181,0,.03);
}
.data-table tbody tr:last-child td {
  border-bottom: none;
}

/* =====================================================================
   SECTION TRANSITION STRIPS — subtle gradient connectors
   ===================================================================== */
.planos-section + .planos-section {
  border-top: 1px solid rgba(226,232,240,.35);
}

/* =====================================================================
   EQUIPMENT CARD BODY — refined padding and typography
   ===================================================================== */
.equipment-card__body {
  padding: 1.15rem 1.25rem 1.25rem;
}
.equipment-card__price {
  font-size: 1.4rem;
}
.equipment-card__cta {
  padding: .45rem .9rem;
  border-radius: 8px;
  font-size: .8rem;
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.equipment-card__cta:hover {
  background: #e0a800;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(247,181,0,.25);
}

/* =====================================================================
   BUY/ORDER BUTTONS — refined with transitions
   ===================================================================== */
.btn-buy-now, .btn-order {
  border-radius: 8px;
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-buy-now:hover {
  box-shadow: 0 8px 24px rgba(247,181,0,.25);
  transform: translateY(-2px);
}
.btn-order:hover {
  box-shadow: 0 8px 24px rgba(37,99,235,.2);
  transform: translateY(-2px);
}

/* =====================================================================
   CHECKOUT — refined typography and spacing
   ===================================================================== */
.checkout-summary-card h2,
.checkout-form-card h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .85rem;
  letter-spacing: -.01em;
}
.checkout-summary-card .total {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  padding-top: .75rem;
  border-top: 1.5px solid rgba(226,232,240,.5);
  margin-top: .85rem;
}
.checkout-note {
  margin-top: .85rem;
  font-size: .82rem;
  color: var(--text-light);
  line-height: 1.55;
}

/* =====================================================================
   AUTH / ACCOUNT — refined typography
   ===================================================================== */
.auth-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: .65rem;
}
.auth-footer-note {
  color: var(--text-light);
  font-size: .9rem;
  margin-top: .75rem;
  line-height: 1.55;
}

/* =====================================================================
   RESELLER — refined title and form
   ===================================================================== */
.reseller-title {
  font-size: 1.8rem;
  letter-spacing: -.025em;
}
.reseller-badge {
  background: rgba(15,23,42,0.9);
  padding: .3rem .7rem;
  border-radius: 999px;
  font-size: .7rem;
}

/* =====================================================================
   CATEGORY FILTER — refined pill styling
   ===================================================================== */
.category-filter a {
  border-radius: 8px;
  padding: .4rem .95rem;
  font-size: .84rem;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
.category-filter a:hover {
  transform: translateY(-1px);
}

/* =====================================================================
   FORM FIELDS — refined focus and spacing
   ===================================================================== */
.field input, .field select, .field textarea,
.reseller-form-row input,
.checkout-form-row input,
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="password"] {
  border-radius: var(--radius-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

/* =====================================================================
   SECTION-SPECIFIC BACKGROUNDS — visual rhythm
   ===================================================================== */
.planos-section--individual {
  background: transparent;
}
.planos-section--company {
  background: transparent;
}

/* =====================================================================
   RESPONSIVE REFINEMENTS
   ===================================================================== */
@media (min-width: 768px) {
  .hero__card { padding-left: calc(var(--page-gutter) + 3rem); }
  .equipment-card__body { padding: 1.25rem 1.35rem 1.35rem; }
}
@media (min-width: 1024px) {
  .hero__card { padding-left: calc((100vw - var(--page-max-width)) / 2 + var(--page-gutter) + 2rem); }
}

/* =====================================================================
   SMOOTH SCROLL ANCHOR OFFSET
   ===================================================================== */
[id] {
  scroll-margin-top: 100px;
}

/* =====================================================================
   BREADCRUMB
   ===================================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  margin-bottom: .75rem;
}
.breadcrumb a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb__sep { color: rgba(255,255,255,.4); font-size: .8rem; }
.breadcrumb__current { color: #fff; font-weight: 600; }

/* =====================================================================
   PAGE HERO COMPACT (for detail pages)
   ===================================================================== */
.page-hero--compact { padding: 4rem 0 3rem; }
.page-hero--compact .page-hero__title { font-size: 2.2rem; margin-top: .25rem; }

/* =====================================================================
   PRODUCT DETAIL
   ===================================================================== */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  padding: 2.5rem 0 4rem;
}
.product-detail__gallery {
  position: relative;
}
.product-detail__image-wrap {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-detail__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
}
.product-detail__placeholder {
  font-size: 5rem;
  color: #cbd5e1;
}
.product-detail__cat-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--brand);
  color: var(--brand-dark);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .35rem .85rem;
  border-radius: 2rem;
}

/* Info column */
.product-detail__info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.product-detail__price-block {
  display: flex;
  align-items: baseline;
  gap: .4rem;
}
.product-detail__price {
  font-size: 2.8rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -.02em;
  line-height: 1;
}
.product-detail__currency {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brand-dark);
}
.product-detail__desc {
  color: #475569;
  line-height: 1.75;
  font-size: 1.02rem;
}

/* Stock badge */
.product-detail__stock {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .92rem;
  padding: .7rem 1rem;
  border-radius: var(--radius-sm);
}
.product-detail__stock--in {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}
.product-detail__stock--out {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}

/* Form / CTA */
.product-detail__form {
  display: flex;
  align-items: end;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: .5rem;
}
.product-detail__qty {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.product-detail__qty-label {
  font-size: .82rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.product-detail__qty-input {
  width: 72px;
  padding: .6rem .5rem;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  text-align: center;
  font-weight: 600;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.product-detail__qty-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
}
.product-detail__cta {
  flex: 1;
  min-width: 180px;
  padding: .85rem 1.5rem !important;
  font-size: 1.05rem !important;
}

/* Back link */
.product-detail__back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--text-light);
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  padding-top: .5rem;
  border-top: 1px solid #f1f5f9;
  transition: color .2s var(--ease);
}
.product-detail__back:hover { color: var(--brand-dark); }

/* =====================================================================
   PRODUCT DETAIL — RESPONSIVE
   ===================================================================== */
@media (max-width: 768px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem 0 3rem;
  }
  .product-detail__image-wrap {
    aspect-ratio: 4 / 3;
  }
  .product-detail__price { font-size: 2.2rem; }
  .page-hero--compact { padding: 3rem 0 2rem; }
  .page-hero--compact .page-hero__title { font-size: 1.6rem; }
}

/* =====================================================================
   HERO — scroll hint chevron below carousel
   ===================================================================== */
.hero__scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.22);
  border-radius: 50%;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  animation: bounceDown 1.8s ease-in-out infinite;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.hero__scroll-hint:hover { background: rgba(247,181,0,.25); color: var(--brand); }
@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* =====================================================================
   HOW-TO SECTION — homepage "Como Funciona" 4-step grid
   ===================================================================== */
.howto-section { padding: 5.5rem 0; background: var(--surface-alt); }
.howto-section--home { background: var(--surface-alt); }
.howto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (min-width: 600px) { .howto-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .howto-grid { grid-template-columns: repeat(4, 1fr); } }
.step-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid rgba(226,232,240,.65);
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--brand);
  color: #111;
  font-size: 1.15rem;
  font-weight: 900;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(247,181,0,.3);
}
.step-card h3 { margin: 0; font-size: 1.05rem; font-weight: 700; color: var(--text-dark); }
.step-card p { margin: 0; color: var(--text-muted); font-size: .93rem; line-height: 1.6; }


