/* ============================================================
   BrowardBizPages — styles.css (v1)
   Componentes traduzidos do design system (design-system-bbp/).
   Regras da marca: Palm = estrutura, Sun = ação (1 accent word);
   sombras palm-tinted; fundo Sand; preço sempre em price pill.
   ============================================================ */
@import url('ds-tokens.css');

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.6;
  background: var(--bg);
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--palm);
  letter-spacing: var(--tracking-tight);
}
img { max-width: 100%; display: block; }
a { color: var(--palm-soft); }
a:hover { color: var(--sun); }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 242, .85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--light);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; padding-bottom: 12px;
}
.brand-logo { display: flex; align-items: center; text-decoration: none; }
.brand-logo img { height: 40px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  font-weight: 500; font-size: .9rem; color: var(--ink);
  text-decoration: none; transition: color .15s ease;
}
.main-nav a:hover { color: var(--sun); }
.nav-cta {
  font-weight: 600 !important; font-size: .9rem !important;
  padding: 10px 22px; border-radius: var(--radius-md);
  background: var(--sun); color: var(--palm-deep) !important;
  transition: background .15s ease, transform .15s ease;
}
.nav-cta:hover { background: var(--sun-soft); transform: translateY(-2px); }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  font-size: 1.5rem; color: var(--palm); line-height: 1; padding: 4px 8px;
}
.header-right { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; align-items: center; gap: 7px; }
.lang-switch a {
  display: block; width: 26px; height: 18px; border-radius: 3px; overflow: hidden;
  border: 1.5px solid var(--light); opacity: .5; transition: opacity .15s ease, transform .15s ease, border-color .15s ease;
}
.lang-switch a:hover { opacity: 1; transform: translateY(-1px); }
.lang-switch a.active { opacity: 1; border-color: var(--sun); }
.lang-switch svg { width: 100%; height: 100%; display: block; }

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--palm-deep); color: var(--sun-soft);
  text-align: center; padding: 8px 16px;
  font-size: .78rem; font-weight: 500;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  padding: 14px 28px; border-radius: var(--radius-md);
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-sun { background: var(--sun); color: var(--palm-deep); }
.btn-sun:hover { background: var(--sun-soft); color: var(--palm-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--palm); border-color: var(--palm); }
.btn-ghost:hover { background: rgba(14, 79, 85, .06); color: var(--palm); transform: translateY(-2px); }
.btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, .12); color: #fff; transform: translateY(-2px); }

/* ---------- Sections ---------- */
.section { margin: var(--section-rhythm) 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.eyebrow {
  font-weight: 700; font-size: .8rem; color: var(--palm-soft);
  text-transform: uppercase; letter-spacing: var(--tracking-wide);
  margin-bottom: 10px;
}
.section-head h2 { font-weight: 800; font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 14px; }
.lead { font-size: 1.06rem; color: var(--ink-soft); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ---------- Cards (base) ---------- */
.card {
  background: var(--white); border: 1px solid var(--light);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* ---------- Hero ---------- */
.hero {
  background: var(--grad-palm); border-radius: var(--radius-xl);
  padding: 56px 48px; margin-top: 32px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
}
.hero-eyebrow {
  font-weight: 700; font-size: .8rem; color: var(--sun-soft);
  text-transform: uppercase; letter-spacing: var(--tracking-wide); margin-bottom: 14px;
}
.hero h1 {
  font-weight: 800; font-size: clamp(2rem, 4vw, 3rem);
  color: #fff; line-height: 1.1; margin-bottom: 18px;
}
.hero h1 .accent { color: var(--sun); }
.hero-sub { font-size: 1.06rem; color: rgba(255, 255, 255, .82); margin-bottom: 28px; max-width: 440px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero CSS device mockup (sem foto — regra do DS) */
.hero-mockup { position: relative; height: 260px; }
.mock-laptop {
  position: absolute; right: 20px; top: 0; width: 78%; height: 200px;
  background: #fff; border-radius: 10px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock-laptop-bar { height: 22px; background: var(--light); display: flex; align-items: center; gap: 5px; padding: 0 8px; }
.mock-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gray); }
.mock-laptop-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.mock-line { border-radius: 3px; }
.mock-line.title { width: 60%; height: 12px; background: var(--palm); }
.mock-line.text-a { width: 85%; height: 8px; background: var(--light); }
.mock-line.text-b { width: 70%; height: 8px; background: var(--light); }
.mock-btn { width: 70px; height: 24px; background: var(--sun); border-radius: 6px; margin-top: 6px; }
.mock-phone {
  position: absolute; left: 0; bottom: 0; width: 92px; height: 170px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px;
}
.mock-phone-screen {
  width: 100%; height: 100%; border-radius: 8px; background: var(--bg);
  display: flex; flex-direction: column; gap: 6px; padding: 8px;
}
.mock-phone-screen .title { width: 70%; height: 8px; background: var(--palm); border-radius: 2px; }
.mock-phone-screen .text-a { width: 90%; height: 6px; background: var(--light); border-radius: 2px; }
.mock-phone-screen .text-b { width: 60%; height: 6px; background: var(--light); border-radius: 2px; }
.mock-phone-screen .mock-btn { width: 40px; height: 16px; border-radius: 4px; margin-top: 4px; }

/* ---------- Pain strip ---------- */
.pain-card { padding: var(--card-padding); display: flex; gap: 14px; align-items: flex-start; }
.pain-icon { color: var(--sun); flex-shrink: 0; margin-top: 2px; }
.pain-icon svg { width: 26px; height: 26px; display: block; }
.pain-card p { font-weight: 600; font-size: .95rem; color: var(--ink); }

/* ---------- Faixa local (hero-storefronts) ---------- */
.local-band {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow);
}
.local-band img { width: 100%; height: 340px; object-fit: cover; }
.local-band-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 54, 59, 0) 30%, rgba(8, 54, 59, .78) 100%);
  display: flex; align-items: flex-end; padding: 28px 32px;
}
.local-band-overlay p {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem); color: #fff; max-width: 560px;
}

/* ---------- Price pill (elemento-assinatura) ---------- */
.price-pill {
  display: inline-flex; flex-direction: column; align-items: center;
  background: var(--sun-soft); border-radius: var(--radius-pill);
  padding: 12px 24px; line-height: 1.15;
}
.price-pill .price { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--palm); }
.price-pill .period { font-size: .75rem; color: var(--ink-soft); }
.price-pill.sm { padding: 10px 20px; }
.price-pill.sm .price { font-size: 1.4rem; }

/* ---------- Package card ---------- */
.package-card { padding: var(--card-padding); max-width: 520px; width: 100%; }
.package-card .eyebrow { margin-bottom: 8px; }
.package-card h3 { font-weight: 700; font-size: 1.18rem; margin-bottom: 16px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink-soft); }
.check-list .check { color: var(--sun); font-weight: 700; margin-top: 1px; }
.package-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ladder-note {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--light);
  font-size: .82rem; color: var(--ink-soft);
}

/* ---------- Niche strip ---------- */
.niche-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.niche-item { border-radius: var(--radius-lg); overflow: hidden; position: relative; box-shadow: var(--shadow-sm); }
.niche-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.niche-label {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(8, 54, 59, 0) 0%, rgba(8, 54, 59, .82) 100%);
  color: #fff; font-weight: 600; font-size: .88rem;
  padding: 26px 14px 12px;
}

/* ---------- Example cards ---------- */
.example-card { overflow: hidden; text-decoration: none; display: block; color: inherit; }
.example-thumb { aspect-ratio: 4 / 3; background: var(--grad-icon); overflow: hidden; }
.example-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.example-body { padding: 20px; }
.example-title-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.example-title-row h3 { font-weight: 700; font-size: 1.05rem; }
.industry-tag {
  background: var(--sun-soft); color: var(--palm); border-radius: var(--radius-sm);
  padding: 3px 8px; font-weight: 700; font-size: .68rem;
  text-transform: uppercase; letter-spacing: .06em; white-space: nowrap;
}
.example-extra { display: none; }
.examples-grid.expanded .example-extra { display: block; }
.examples-more { display: flex; justify-content: center; margin-top: 26px; }
.example-body p { font-size: .88rem; color: var(--ink-soft); margin-bottom: 10px; }
.example-link { font-weight: 600; font-size: .85rem; color: var(--palm-soft); text-decoration: none; }
.example-card:hover .example-link { color: var(--sun); }

/* ---------- Pricing ---------- */
.pricing-card { padding: var(--card-padding); position: relative; display: flex; flex-direction: column; }
.pricing-card.emphasized { border: 2px solid var(--sun); }
.offer-badge {
  position: absolute; top: -14px; left: 24px;
  background: var(--sun-soft); color: var(--palm); border: 1.5px solid var(--sun);
  border-radius: var(--radius-pill); padding: 5px 12px;
  font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em;
}
.pricing-card h3 { font-weight: 700; font-size: 1.18rem; margin: 6px 0 14px; }
.pricing-card .price-pill { align-self: flex-start; margin-bottom: 16px; }
.pricing-card .check-list { font-size: .88rem; margin-bottom: 20px; flex-grow: 1; }
.pricing-card .check-list li { font-size: .88rem; gap: 8px; }
.pricing-card .btn { width: 100%; font-size: .9rem; padding: 12px 20px; }
.pricing-note { text-align: center; margin-top: 28px; font-size: .95rem; color: var(--ink-soft); }
.pricing-note a { font-weight: 600; }

/* ---------- Add-ons ---------- */
.addons-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 800px; margin: 0 auto; }
.addon-card { padding: var(--card-padding); display: flex; flex-direction: column; }
.addon-flags { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; height: 26px; }
.addon-flags svg { width: 34px; height: auto; border-radius: 3px; box-shadow: var(--shadow-sm); }
.addon-bot-glyph { color: var(--sun); display: flex; }
.addon-bot-glyph svg { width: 26px; height: 26px; box-shadow: none; }
.addon-card h3 { font-weight: 800; font-size: 1.2rem; margin-bottom: 12px; }
.addon-card .price-pill { margin-bottom: 14px; }
.addon-desc { font-size: .92rem; color: var(--ink-soft); margin-bottom: 16px; }
.addon-card .check-list { margin-bottom: 22px; }
.addon-card .btn { margin-top: auto; }

/* ---------- Steps ---------- */
.step-card { padding: var(--card-padding); }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad-icon); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  margin-bottom: 14px;
}
.step-card h3 { font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
.step-card p { font-size: .9rem; color: var(--ink-soft); }

/* ---------- Contact / form ---------- */
.contact-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.scan-aside img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.scan-aside .caption { font-size: .82rem; color: var(--ink-soft); margin-top: 12px; text-align: center; }
.form-card {
  background: var(--white); border: 1px solid var(--light);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: var(--form-padding); scroll-margin-top: 90px;
}
.form-tabs { display: flex; border-bottom: 1px solid var(--light); margin-bottom: 24px; }
.tab {
  flex: 1; font-family: var(--font-body); font-weight: 600; font-size: .9rem;
  padding: 12px 16px; border: none; background: transparent;
  border-bottom: 2.5px solid transparent; color: var(--ink-soft); cursor: pointer;
  transition: color .15s ease, border-color .15s ease;
}
.tab.active { border-bottom-color: var(--sun); color: var(--palm); }
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group label {
  display: block; font-weight: 600; font-size: .85rem;
  color: var(--palm); margin-bottom: 6px;
}
.form-group input, .form-group textarea {
  width: 100%; font-family: var(--font-body); font-size: .95rem; color: var(--ink);
  padding: 12px 14px; border-radius: var(--radius-md);
  border: 1.5px solid var(--light); background: var(--bg);
  outline: none; transition: border-color .15s ease, background .15s ease;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--sun); background: #fff; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-success {
  display: none; background: var(--success-bg); border: 1px solid var(--success-bd);
  color: var(--success-ink); border-radius: var(--radius-md);
  padding: 14px 18px; font-size: .9rem; font-weight: 600; margin-bottom: 18px;
}
.form-note { font-size: .8rem; color: var(--gray); text-align: center; margin-top: 14px; }

/* ---------- About ---------- */
.about-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.about-text .eyebrow { text-align: left; }
.about-text h2 { font-weight: 800; font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 14px; }
.about-text p { font-size: 1rem; color: var(--ink-soft); margin-bottom: 14px; }
.about-text .partner-line { font-size: .9rem; }
.about-visual img { border-radius: var(--radius-xl); box-shadow: var(--shadow); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white); border: 1px solid var(--light);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  padding: 0; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--palm);
  padding: 18px 22px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-family: var(--font-body); font-weight: 600; font-size: 1.3rem;
  color: var(--sun); transition: transform .2s ease; line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 18px; font-size: .92rem; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--palm-deep); color: #fff;
  border-radius: var(--radius-xl); padding: 48px 40px 28px;
  margin-bottom: 40px;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer-brand .wordmark { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: #fff; }
.footer-brand p { font-size: .88rem; color: rgba(255, 255, 255, .7); margin-top: 10px; max-width: 260px; }
.footer-col-title {
  font-weight: 700; font-size: .85rem; color: var(--sun-soft);
  margin-bottom: 14px; text-transform: uppercase; letter-spacing: .08em;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .9rem; color: rgba(255, 255, 255, .75); text-decoration: none; transition: color .15s ease; }
.footer-links a:hover { color: var(--sun); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: .8rem; color: rgba(255, 255, 255, .6);
}
.footer-bottom a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.footer-bottom a:hover { color: var(--sun); }

/* ---------- Scroll to top ---------- */
#toTop {
  position: fixed; bottom: 26px; right: 26px; z-index: 200;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--palm); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s, background .15s;
}
#toTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#toTop:hover { background: var(--palm-soft); }
#toTop svg { width: 20px; height: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding: 44px 32px; }
  .hero-mockup { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .addons-grid { grid-template-columns: 1fr; max-width: 460px; }
  .niche-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; }
  .scan-aside { max-width: 420px; margin: 0 auto; }
  .about-wrap { grid-template-columns: 1fr; }
  .about-visual { max-width: 480px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--sand); border-bottom: 1px solid var(--light);
    padding: 8px 24px 16px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--light); }
  .main-nav a:last-child { border-bottom: none; }
  .nav-cta { margin-top: 10px; text-align: center; }
  .nav-toggle { display: block; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-row .form-group { margin-bottom: 18px; }
  .local-band img { height: 240px; }
  .local-band-overlay { padding: 20px; }
  .niche-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .site-footer { padding: 36px 24px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
