/* ============================================================
   Lumen Control — estilo base do site
   Paleta extraída da logo oficial (ver identidade-visual-lumen-control)
   ============================================================ */

:root {
  --navy: #0B2340;
  --navy-light: #E4E9F0;
  --gold: #D2A044;
  --gold-light: #FBEFD8;
  --section-band: #F6E4C1;
  --zebra: #FAFAF8;
  --border: #DADFE6;
  --text: #1A2233;
  --text-muted: #5B6472;
  --white: #FFFFFF;
  --success: #2E7D4F;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(11, 35, 64, 0.08);
  --shadow-hover: 0 14px 40px rgba(11, 35, 64, 0.14);
  --max-width: 1180px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Topbar (aviso) ---------- */
.topbar {
  background: var(--navy);
  color: var(--gold-light);
  text-align: center;
  font-size: 13px;
  padding: 8px 16px;
  letter-spacing: .02em;
}

/* ---------- Header ---------- */
header.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.logo-link img { height: 34px; width: auto; }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}

nav.main-nav a {
  color: var(--navy);
  opacity: .8;
  transition: opacity .15s;
  white-space: nowrap;
}
nav.main-nav a:hover { opacity: 1; }

.nav-country-switch {
  display: flex;
  gap: 8px;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  transition: all .15s;
}
.pill-link:hover { border-color: var(--gold); background: var(--gold-light); }
.pill-link.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  padding: 72px 24px 56px;
  text-align: center;
  background:
    radial-gradient(circle at 15% 20%, var(--gold-light) 0%, transparent 45%),
    radial-gradient(circle at 85% 15%, var(--navy-light) 0%, transparent 40%),
    var(--white);
}

.hero img.hero-logo { height: 56px; margin: 0 auto 28px; }

.eyebrow {
  display: inline-block;
  color: var(--navy);
  background: var(--section-band);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

h1 {
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero p.lead {
  max-width: 640px;
  margin: 0 auto 36px;
  color: var(--text-muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Country cards ---------- */
.country-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 720px) { .country-grid { grid-template-columns: 1fr; } }

.country-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: left;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform .18s, box-shadow .18s;
}
.country-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.country-card .flag { font-size: 34px; margin-bottom: 12px; display: block; }
.country-card h3 { color: var(--navy); font-size: 22px; margin: 0 0 8px; }
.country-card p { color: var(--text-muted); margin: 0 0 20px; font-size: 15px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  padding: 13px 26px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s, box-shadow .12s, background .15s, border-color .15s;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { background: #123058; box-shadow: 0 6px 18px rgba(11,35,64,.25); }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover { background: #c1913b; box-shadow: 0 6px 18px rgba(210,160,68,.35); }

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy-light); }

.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* ---------- Section titles ---------- */
.section {
  padding: 64px 24px;
}
.section-band {
  background: var(--section-band);
}
.section-title {
  text-align: center;
  margin-bottom: 44px;
}
.section-title h2 {
  color: var(--navy);
  font-size: clamp(24px, 3.4vw, 34px);
  margin: 0 0 10px;
  font-weight: 700;
}
.section-title p { color: var(--text-muted); font-size: 16px; margin: 0 auto; max-width: 560px; }

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .18s, box-shadow .18s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.product-thumb {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.product-thumb.navy, .product-hero-thumb.navy { background: linear-gradient(135deg, var(--navy), #16345E); }
.product-thumb.gold, .product-hero-thumb.gold { background: linear-gradient(135deg, var(--gold), #B9843A); }
.product-thumb svg { width: 46px; height: 46px; }
.product-thumb.navy svg, .product-hero-thumb.navy svg { stroke: var(--gold); }
.product-thumb.gold svg, .product-hero-thumb.gold svg { stroke: var(--navy); }

.product-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-body h3 { margin: 0; font-size: 18px; color: var(--navy); line-height: 1.3; }
.product-body .subtitulo { color: var(--text-muted); font-size: 14px; margin: 0; flex: 1; }

.product-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin: 6px 0 2px;
}
.product-price .old {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 8px;
}

.product-actions { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }


/* ---------- Trust badges ---------- */
.badges {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 40px 24px;
}
.badge { text-align: center; max-width: 180px; }
.badge .ico { font-size: 26px; margin-bottom: 8px; }
.badge h4 { margin: 0 0 4px; color: var(--navy); font-size: 15px; }
.badge p { margin: 0; color: var(--text-muted); font-size: 13px; }

/* ---------- Feature list (product detail) ---------- */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}
.feature-list li::before {
  content: "";
  flex: none;
  width: 18px; height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/60% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/60% no-repeat;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 14px; color: var(--text-muted); padding: 18px 24px 0; }
.breadcrumb a { color: var(--navy); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-item h4 { margin: 0 0 8px; color: var(--navy); font-size: 16px; }
.faq-item p { margin: 0; color: var(--text-muted); font-size: 14px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy);
  color: #C7D2E3;
  padding: 56px 24px 28px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto 36px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

.footer-grid img { height: 30px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-grid p { font-size: 14px; color: #97A6C0; line-height: 1.6; }
.footer-grid h5 { color: var(--gold); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { font-size: 14px; color: #C7D2E3; opacity: .9; }
.footer-grid a:hover { opacity: 1; color: var(--gold); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #7E8CA6;
}

/* ---------- Legal / content pages ---------- */
.legal-page { padding: 48px 24px 80px; }
.legal-page .container { max-width: 820px; }
.legal-page h1 { margin-bottom: 6px; }
.legal-page .updated { color: var(--text-muted); font-size: 14px; margin-bottom: 36px; }
.legal-page h2 { color: var(--navy); font-size: 20px; margin: 36px 0 12px; }
.legal-page h3 { color: var(--navy); font-size: 16px; margin: 22px 0 8px; }
.legal-page p, .legal-page li { color: var(--text); font-size: 15.5px; }
.legal-page ul, .legal-page ol { padding-left: 22px; }
.legal-page .placeholder {
  background: var(--gold-light);
  border: 1px dashed var(--gold);
  border-radius: 6px;
  padding: 1px 6px;
  font-style: normal;
  color: #7A5A1E;
}

/* ---------- Product detail page ---------- */
.product-detail {
  padding: 32px 24px 80px;
}
.product-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 860px) { .product-detail-grid { grid-template-columns: 1fr; } }

.product-hero-thumb {
  border-radius: var(--radius);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-hero-thumb svg { width: 110px; height: 110px; }

.buy-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  position: sticky;
  top: 90px;
}
.buy-box .price { font-size: 32px; font-weight: 700; color: var(--navy); margin: 4px 0 18px; }
.buy-box ul.pay-methods { list-style: none; padding: 0; margin: 18px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.buy-box ul.pay-methods li {
  font-size: 12.5px; font-weight: 600; color: var(--navy);
  background: var(--navy-light); border-radius: 6px; padding: 5px 10px;
}

/* ---------- Thank you page ---------- */
.thankyou { text-align: center; padding: 90px 24px; }
.thankyou .icon-circle {
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--gold-light); border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; font-size: 34px;
}

/* ---------- Misc ---------- */
.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.small { font-size: 13px; color: var(--text-muted); }
.alert-box {
  background: var(--navy-light);
  border-left: 4px solid var(--navy);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--navy);
  margin: 20px 0;
}

.buy-form { display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px; }
.buy-form label { font-size: 13px; font-weight: 600; color: var(--navy); }
.buy-form input[type="email"] { width: 100%; padding: 11px 12px; border: 1px solid #cfd6e0; border-radius: 8px; font: inherit; font-size: 15px; box-sizing: border-box; }
.buy-form input[type="email"]:focus { outline: 2px solid var(--gold, #c9a14a); outline-offset: 1px; }
.buy-form-erro { color: #b3261e; font-size: 13px; margin: 0; min-height: 0; }
.buy-form-erro:empty { display: none; }

.thankyou .btn-voltar { display: inline-block; min-width: 280px; padding: 18px 40px; font-size: 18px; font-weight: 700; border-radius: 12px; }
@media (max-width: 480px) { .thankyou .btn-voltar { display: block; min-width: 0; width: 100%; box-sizing: border-box; } }
