/* ColorViva — Static build */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --background: #f7faff;
  --foreground: #1a2438;
  --card: #eef3fb;
  --card-2: #f0f5fa;
  --muted: #e6ecf3;
  --muted-fg: #5b6878;
  --border: #d6dfeb;

  --primary: #1c4d8c;
  --primary-foreground: #f7faff;
  --primary-glow: #2f6bb8;

  --secondary: #cce0f4;
  --secondary-fg: #1a3358;

  --accent: #11a3d2;
  --accent-foreground: #f7faff;

  /* Multi-blue tokens */
  --blue-sky: #38b6f0;
  --blue-royal: #1f4dc4;
  --blue-soft: #b6d4ec;
  --blue-ice: #e7f1fb;
  --blue-deep: #14264a;

  --destructive: #d94343;

  --radius: 0.5rem;
  --container: 1280px;

  --font-display: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
  --shadow-sm: 0 1px 2px rgba(20, 38, 74, 0.06);
  --shadow-md: 0 6px 18px rgba(20, 38, 74, 0.08);
  --shadow-lg: 0 18px 40px rgba(20, 38, 74, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--foreground);
  background: var(--background);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--foreground); line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

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

/* ============ HEADER ============ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--blue-deep);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 5rem; gap: 2rem; }
.logo { display: flex; align-items: center; gap: 0.5rem; }
.logo-mark {
  width: 2rem; height: 2rem; border-radius: 9999px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 0.875rem;
}
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; color: #fff; }
.logo-text span { color: var(--blue-sky); }
.brand-image { height: 48px; width: auto; display: block; }

.nav { display: none; gap: 2.5rem; align-items: center; }
.nav a {
  position: relative;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 0;
  transition: color .2s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 100%;
  background: #e8b54a;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .35s cubic-bezier(.65,.05,.36,1);
}
.nav a:hover { color: #fff; }
.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}
.nav a.active { color: #e8b54a; }
.nav a.active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.header-actions { display: none; align-items: center; gap: 1rem; }
.language-switcher { display: flex; align-items: center; gap: 0.35rem; }
.language-switcher.mobile { padding: 0.5rem 0; }
.language-switcher button {
  width: 2.25rem; height: 2.25rem; border-radius: 9999px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  font-size: 1.1rem;
  transition: transform .2s, border-color .2s, background .2s;
}
.language-switcher button:hover,
.language-switcher button.active { transform: translateY(-1px); border-color: var(--accent); background: rgba(17,163,210,0.2); }
.google-translate-host,
.goog-te-banner-frame,
.goog-te-gadget,
.skiptranslate { display: none !important; }
body { top: 0 !important; }
.header-cta {
  background: var(--accent); color: #fff;
  padding: 0.625rem 1.25rem; border-radius: 9999px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  transition: opacity .2s, transform .2s;
}
.header-cta:hover { opacity: 0.9; transform: translateY(-1px); }

.menu-btn { display: block; color: #fff; }
.mobile-nav { display: none; flex-direction: column; gap: 1rem; padding: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08); background: var(--blue-deep); }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 0.5rem 0; font-weight: 600; color: #fff; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.8125rem; }
.mobile-nav a.active { color: #e8b54a; }
.mobile-nav .header-cta { text-align: center; margin-top: 0.5rem; color: #fff; }

@media (min-width: 768px) {
  .nav, .header-actions { display: flex; }
  .menu-btn { display: none; }
  .mobile-nav.open { display: none; }
}

/* ============ FOOTER ============ */
.footer { background: var(--blue-deep); color: #d3dde9; padding: 4rem 0; }
.footer-grid { display: grid; gap: 2.5rem; margin-bottom: 3rem; grid-template-columns: 1fr; }
.footer h4 { color: #fff; font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; font-family: var(--font-display); }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer ul a { font-size: 0.875rem; color: rgba(255,255,255,0.55); transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer-logo .logo-text { color: #fff; }
.footer-desc { font-size: 0.875rem; color: rgba(255,255,255,0.6); margin-top: 1rem; line-height: 1.6; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 2.5rem; height: 2.5rem; border-radius: 9999px;
  background: rgba(255,255,255,0.1); display: grid; place-items: center;
  color: rgba(255,255,255,0.65); transition: all .2s;
}
.footer-social a:hover { background: rgba(255,255,255,0.2); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem;
  display: flex; flex-direction: column; gap: 1rem; align-items: center; justify-content: space-between;
  font-size: 0.75rem; color: rgba(255,255,255,0.4);
}
.footer-bottom .links { display: flex; gap: 1.5rem; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-bottom { flex-direction: row; }
}

/* ============ HERO ============ */
.hero { position: relative; width: 100%; height: 70vh; min-height: 480px; overflow: hidden; margin-top: 4rem; }
@media (min-width: 768px) { .hero { height: 85vh; margin-top: 5rem; } }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(20,38,74,0.85), rgba(20,38,74,0.4), transparent);
}
.hero-content {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center;
}
.hero-content .container { width: 100%; }
.hero-text { max-width: 36rem; color: #fff; opacity: 0; transform: translateY(20px); transition: all .6s ease .2s; }
.hero-slide.active .hero-text { opacity: 1; transform: translateY(0); }
.hero-tag {
  display: inline-block; background: rgba(17,163,210,0.95); color: #fff;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em;
  padding: 0.375rem 1rem; border-radius: 9999px; margin-bottom: 1rem;
}
.hero-title { font-size: 2.25rem; font-weight: 700; line-height: 1.1; margin-bottom: 1rem; color: #fff; }
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
.hero-desc { font-size: 1.125rem; color: rgba(255,255,255,0.8); margin-bottom: 2rem; max-width: 28rem; }
.btn-primary {
  display: inline-block; background: var(--primary); color: var(--primary-foreground);
  padding: 0.875rem 2rem; border-radius: 9999px; font-weight: 600; font-size: 0.875rem;
  transition: opacity .2s, transform .2s;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }

.hero-dots {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; gap: 0.75rem;
}
.hero-dots button {
  width: 0.625rem; height: 0.625rem; border-radius: 9999px;
  background: rgba(255,255,255,0.4); transition: all .3s;
}
.hero-dots button.active { background: #fff; width: 2rem; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 2.5rem; height: 2.5rem; border-radius: 9999px;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(6px);
  color: #fff; display: grid; place-items: center; transition: background .2s;
}
.hero-arrow:hover { background: rgba(255,255,255,0.25); }
.hero-arrow.prev { left: 1rem; }
.hero-arrow.next { right: 1rem; }

/* ============ SECTIONS GENERIC ============ */
.section { padding: 5rem 0; }
@media (min-width: 768px) { .section { padding: 7rem 0; } }
.section-card { background: var(--card); }
.section-title { font-size: 1.875rem; font-weight: 700; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .section-title { font-size: 2.25rem; } }
.section-sub { color: var(--muted-fg); max-width: 32rem; }
.section-head { text-align: center; margin-bottom: 3.5rem; }
.section-head.left { text-align: left; }
.section-head .section-sub { margin: 0 auto; }
.section-head.left .section-sub { margin: 0; }
.head-row { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 3.5rem; }
.head-row .link-arrow { color: var(--primary); font-weight: 600; font-size: 0.875rem; transition: color .2s; }
.head-row .link-arrow:hover { color: var(--accent); }
@media (min-width: 768px) { .head-row { flex-direction: row; align-items: flex-end; justify-content: space-between; } }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: all .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ SERVICES GRID ============ */
.services { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 1rem;
  padding: 2rem; text-align: center; transition: box-shadow .3s, transform .3s;
  cursor: pointer; display: flex; flex-direction: column; align-items: center;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-icon {
  width: 3.5rem; height: 3.5rem; border-radius: 1rem;
  background: rgba(28,77,140,0.1); color: var(--primary);
  display: grid; place-items: center; margin-bottom: 1.25rem;
  transition: background .2s;
}
.service-card:hover .service-icon { background: rgba(28,77,140,0.2); }
.service-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.875rem; color: var(--muted-fg); }

/* ============ COLOR EXPLORER (home + cores) ============ */
/* Real Wall Color Simulator (canvas + máscara, multi-ambiente) */
.sim-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .18em; color: var(--accent); margin-bottom: .5rem;
}

.wall-sim {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
  margin-top: 2rem; align-items: start;
}
@media (min-width: 980px) {
  .wall-sim { grid-template-columns: 1.55fr 1fr; gap: 2rem; }
}
.wall-sim-left { display: flex; flex-direction: column; gap: 1rem; }

.wall-sim-stage {
  position: relative; overflow: hidden; border-radius: 1.25rem;
  box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; background: var(--muted);
  border: 1px solid var(--border);
}
.wall-sim-stage canvas {
  width: 100%; height: 100%; display: block; object-fit: cover;
  transition: opacity .25s ease;
}
.wall-sim-stage canvas.loading { opacity: .35; }
.wall-sim-tag {
  position: absolute; left: .85rem; top: .85rem;
  background: rgba(20,38,74,0.82); color: #fff;
  padding: .45rem .9rem; border-radius: .6rem;
  font-family: var(--font-body); font-weight: 600; font-size: .75rem;
  letter-spacing: .04em; backdrop-filter: blur(6px);
}

/* Ambientes (mini cards) */
.wall-sim-ambs {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem;
}
@media (max-width: 600px) { .wall-sim-ambs { grid-template-columns: repeat(3, 1fr); } }
.wall-sim-ambs button {
  position: relative; padding: 0; border: 2px solid var(--border);
  border-radius: .65rem; overflow: hidden; cursor: pointer;
  background: var(--card); transition: border-color .2s, transform .2s;
  display: flex; flex-direction: column; gap: 0;
}
.wall-sim-ambs button:hover { transform: translateY(-2px); }
.wall-sim-ambs button.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--accent);
}
.wall-sim-ambs button img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block;
}
.wall-sim-ambs button span {
  display: block; padding: .35rem .25rem; font-size: .68rem;
  font-weight: 600; color: var(--foreground); text-align: center;
  background: var(--card);
}

.wall-sim-side { display: flex; flex-direction: column; gap: 1.25rem; }

.wall-sim-current {
  display: flex; align-items: center; gap: .85rem;
  padding: .85rem; border-radius: .9rem;
  background: var(--card); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.wall-sim-disc {
  width: 3rem; height: 3rem; border-radius: .65rem;
  border: 2px solid var(--border); transition: background .35s ease;
  flex-shrink: 0;
}
.wall-sim-current-info { flex: 1; min-width: 0; }
.wall-sim-current-info p { font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: var(--foreground); }
.wall-sim-current-info small { font-size: .7rem; color: var(--muted-fg); letter-spacing: .04em; }
.wall-sim-reset {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: .55rem;
  background: transparent; color: var(--muted-fg);
  transition: background .2s, color .2s; cursor: pointer; border: none;
}
.wall-sim-reset:hover { background: rgba(20,38,74,.06); color: var(--foreground); }

.wall-sim-block h4 {
  font-family: var(--font-body); font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .15em; color: var(--muted-fg);
  margin-bottom: .75rem;
}

/* Abas de categorias (no simulador) */
.wall-sim-tabs {
  display: flex; flex-wrap: wrap; gap: .4rem;
  max-height: 6.5rem; overflow-y: auto;
  padding: .15rem; scrollbar-width: thin;
}
.wall-sim-tabs button {
  font-family: var(--font-body); font-size: .72rem; font-weight: 600;
  padding: .35rem .75rem; border-radius: 9999px;
  background: var(--card); color: var(--muted-fg);
  border: 1px solid var(--border); cursor: pointer;
  transition: all .2s;
}
.wall-sim-tabs button:hover { color: var(--foreground); border-color: var(--accent); }
.wall-sim-tabs button.active {
  background: var(--accent); color: #fff; border-color: var(--accent);
}

.wall-sim-swatches {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: .45rem;
  max-height: 14rem; overflow-y: auto;
  padding: .15rem; scrollbar-width: thin;
}
.wall-sim-swatch {
  position: relative; aspect-ratio: 1 / 1; border-radius: .5rem;
  overflow: hidden; border: 2px solid var(--border);
  transition: transform .15s, border-color .2s, box-shadow .2s;
}
.wall-sim-swatch:hover { transform: scale(1.08); }
.wall-sim-swatch.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--accent);
}
.wall-sim-swatch-bg {
  position: absolute; inset: 0; border: none; padding: 0; cursor: pointer;
}
.wall-sim-swatch-actions {
  position: absolute; top: 2px; right: 2px;
  display: flex; gap: 2px; opacity: 0;
  transition: opacity .15s;
}
.wall-sim-swatch:hover .wall-sim-swatch-actions { opacity: 1; }
.wall-sim-swatch-act {
  width: 1.1rem; height: 1.1rem; border-radius: 4px;
  background: rgba(255,255,255,.92); color: #1a2438;
  border: none; padding: 0; cursor: pointer; font-size: .7rem;
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 1;
}
.wall-sim-swatch-act:hover { background: #fff; transform: scale(1.1); }

.wall-sim-favs {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: .35rem;
}
.wall-sim-fav-btn {
  aspect-ratio: 1 / 1; border-radius: .4rem; border: 2px solid var(--border);
  padding: 0; cursor: pointer; transition: transform .15s, border-color .2s;
}
.wall-sim-fav-btn:hover { transform: scale(1.12); border-color: var(--accent); }

.wall-sim-picker {
  display: flex; align-items: center; gap: .75rem;
  padding: .65rem; border: 1px dashed var(--border);
  border-radius: .75rem; cursor: pointer;
}
.wall-sim-picker input[type="color"] {
  width: 2.5rem; height: 2.5rem; border-radius: .5rem;
  border: 2px solid var(--border); cursor: pointer; padding: 0;
  background: transparent;
}
.wall-sim-picker span { font-size: .75rem; color: var(--muted-fg); }

.center { text-align: center; margin-top: 2.5rem; }
.btn-outline {
  display: inline-block; border: 2px solid var(--primary); color: var(--primary);
  padding: 0.75rem 2rem; border-radius: 9999px; font-weight: 600; font-size: 0.875rem;
  transition: all .2s;
}
.btn-outline:hover { background: var(--primary); color: var(--primary-foreground); }

/* ============ PRODUCT SHOWCASE ============ */
.showcase { display: grid; grid-template-columns: 1fr; gap: 0.75rem; align-items: stretch; }
.showcase-item {
  position: relative; min-height: 260px; border-radius: 1rem; overflow: hidden;
  cursor: pointer; transition: flex-grow .65s cubic-bezier(.4,0,.2,1), opacity .35s ease;
  background: transparent;
}
.showcase-item img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform .6s cubic-bezier(.4,0,.2,1), filter .6s cubic-bezier(.4,0,.2,1);
}
.showcase-item:hover img,
.showcase-item:focus-visible img { object-fit: contain; transform: scale(1); filter: saturate(1.08) contrast(1.03); }
@media (min-width: 768px) {
  .showcase { display: flex; height: 500px; }
  .showcase-item { flex: 1 1 0; min-width: 56px; min-height: 0; }
  .showcase-item.wide { flex-grow: 1.35; }
  .showcase:hover .showcase-item { flex-grow: 0.45; opacity: .82; }
  .showcase:hover .showcase-item:hover,
  .showcase:hover .showcase-item:focus-visible { flex-grow: 6; opacity: 1; }
  .showcase:hover .showcase-item.wide:hover,
  .showcase:hover .showcase-item.wide:focus-visible { flex-grow: 9; }
}
.showcase-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,38,74,0.8), rgba(20,38,74,0.2), transparent);
}
.showcase-meta {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 1.25rem;
  display: flex; flex-direction: column; align-items: center; text-align: center; z-index: 1;
}
.showcase-meta .name {
  font-family: var(--font-display); font-weight: 700; color: #fff; margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3); font-size: 0.875rem;
}
@media (min-width: 768px) { .showcase-meta .name { font-size: 1.125rem; } }
.showcase-meta .pill {
  display: inline-block; background: var(--blue-sky); color: var(--blue-deep);
  font-size: 0.75rem; font-weight: 600; padding: 0.375rem 1rem; border-radius: 9999px;
  opacity: 0; transform: translateY(0.75rem); transition: all .3s;
}
.showcase-item:hover .pill { opacity: 1; transform: translateY(0); }

/* ============ PRODUCT CATEGORIES ============ */
.cats { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
@media (min-width: 768px) { .cats { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .cats { grid-template-columns: repeat(6,1fr); } }
.cat-card {
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  padding: 1.5rem; border-radius: 1rem; background: var(--background);
  border: 1px solid var(--border); transition: box-shadow .2s; cursor: pointer;
}
.cat-card:hover { box-shadow: var(--shadow-md); }
.cat-disc { width: 3rem; height: 3rem; border-radius: 9999px; opacity: 0.85; transition: opacity .2s; }
.cat-card:hover .cat-disc { opacity: 1; }
.cat-card span { font-size: 0.875rem; font-weight: 500; text-align: center; }

/* ============ BLOG ============ */
.blog { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .blog { grid-template-columns: repeat(3,1fr); } }
.post {
  background: var(--background); border: 1px solid var(--border); border-radius: 1rem;
  overflow: hidden; transition: box-shadow .3s; display: block;
}
.post:hover { box-shadow: var(--shadow-md); }
.post-thumb { aspect-ratio: 16/10; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post:hover .post-thumb img { transform: scale(1.05); }
.post-body { padding: 1.5rem; }
.post .cat { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); display: block; margin-bottom: 0.5rem; }
.post h3 { font-size: 1.125rem; margin-bottom: 0.5rem; transition: color .2s; line-height: 1.35; }
.post:hover h3 { color: var(--primary); }
.post p { font-size: 0.875rem; color: var(--muted-fg); }

/* ============ INSTAGRAM ============ */
.ig-section { background: rgba(204,224,244,0.4); }
.ig-head { text-align: center; margin-bottom: 3rem; }
.ig-head h2 { color: var(--primary); font-size: 1.875rem; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .ig-head h2 { font-size: 2.25rem; } }
.ig-head a { color: var(--accent); font-size: 0.875rem; font-weight: 500; display: inline-flex; gap: 0.5rem; align-items: center; }
.ig-wrap { position: relative; }
.ig-track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; scrollbar-width: none; scroll-behavior: smooth; }
.ig-track::-webkit-scrollbar { display: none; }
.ig-card {
  position: relative; flex-shrink: 0; scroll-snap-align: start;
  width: 180px; aspect-ratio: 1; border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow-md);
}
@media (min-width: 640px) { .ig-card { width: 220px; } }
@media (min-width: 768px) { .ig-card { width: 260px; } }
.ig-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ig-card:hover img { transform: scale(1.1); }
.ig-card .overlay {
  position: absolute; inset: 0; background: rgba(20,38,74,0); transition: all .3s;
  display: grid; place-items: center; color: #fff; opacity: 0;
}
.ig-card:hover .overlay { background: rgba(20,38,74,0.45); opacity: 1; backdrop-filter: blur(4px); }
.ig-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 2.5rem; height: 2.5rem; border-radius: 9999px;
  background: rgba(255,255,255,0.95); border: 1px solid var(--border);
  color: var(--primary); display: none; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); cursor: pointer; transition: background .2s, opacity .2s;
}
.ig-arrow:hover { background: #fff; }
.ig-arrow:disabled { opacity: 0.4; cursor: not-allowed; }
.ig-arrow.prev { left: -0.5rem; }
.ig-arrow.next { right: -0.5rem; }
@media (min-width: 768px) { .ig-arrow { display: inline-flex; } }

/* ============ NEWSLETTER ============ */
.newsletter { background: var(--primary); color: var(--primary-foreground); }
.newsletter h2 { color: var(--primary-foreground); font-size: 1.875rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .newsletter h2 { font-size: 2.25rem; } }
.newsletter p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; }
.newsletter .center { max-width: 36rem; margin: 0 auto; text-align: center; }
.newsletter form { display: flex; flex-direction: column; gap: 0.75rem; max-width: 32rem; margin: 0 auto; }
.newsletter input {
  flex: 1; padding: 0.875rem 1.25rem; border-radius: 9999px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-size: 0.875rem; outline: none;
}
.newsletter input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter input:focus { border-color: rgba(255,255,255,0.5); }
.newsletter button {
  background: var(--accent); color: var(--accent-foreground);
  padding: 0.875rem 2rem; border-radius: 9999px; font-weight: 600; font-size: 0.875rem;
  transition: opacity .2s;
}
.newsletter button:hover { opacity: 0.9; }
@media (min-width: 640px) { .newsletter form { flex-direction: row; } }

/* ============ MODAL ============ */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20,38,74,0.6); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 1rem;
  overflow-y: auto;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--background); border-radius: 1rem; padding: 1.5rem;
  width: 100%; max-width: 42rem; max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-lg); position: relative;
}
.modal.wide { max-width: 64rem; }
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 2rem; height: 2rem; border-radius: 9999px; display: grid; place-items: center;
  color: var(--muted-fg); transition: background .2s;
}
.modal-close:hover { background: var(--muted); }
.modal-header { display: flex; gap: 0.75rem; margin-bottom: 1.25rem; align-items: center; }
.modal-icon {
  width: 2.5rem; height: 2.5rem; border-radius: 0.75rem;
  background: rgba(28,77,140,0.1); color: var(--primary);
  display: grid; place-items: center; flex-shrink: 0;
}
.modal-title { font-size: 1.25rem; }
.modal-desc { font-size: 0.875rem; color: var(--muted-fg); margin-top: 0.125rem; }

/* form fields */
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.75rem; font-weight: 600; margin-bottom: 0.375rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.625rem 0.875rem; border-radius: 0.5rem;
  border: 1px solid var(--border); background: var(--background);
  font-size: 0.875rem; outline: none; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); }
.field .err { color: var(--destructive); font-size: 0.75rem; margin-top: 0.25rem; display: none; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--destructive); }
.row-2 { display: grid; gap: 0.75rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.section-label {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted-fg); font-weight: 600; margin-bottom: 0.5rem;
}
.btn { padding: 0.625rem 1.25rem; border-radius: 0.5rem; font-weight: 600; font-size: 0.875rem; transition: opacity .2s; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; }
.btn.primary { background: var(--primary); color: var(--primary-foreground); }
.btn.primary:hover { opacity: 0.9; }
.btn.ghost { background: transparent; color: var(--foreground); }
.btn.ghost:hover { background: var(--muted); }
.btn.outline { background: transparent; color: var(--primary); border: 1px solid var(--border); }
.actions { display: flex; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid var(--border); flex-wrap: wrap; }

/* Quiz */
.quiz-progress { height: 0.375rem; background: var(--muted); border-radius: 9999px; overflow: hidden; margin-top: 0.75rem; }
.quiz-progress-bar { height: 100%; background: var(--primary); transition: width .4s; }
.quiz-options { display: grid; gap: 0.5rem; }
.quiz-option {
  text-align: left; padding: 1rem; border-radius: 0.75rem;
  border: 2px solid var(--border); background: var(--card); transition: all .2s; cursor: pointer;
}
.quiz-option:hover { border-color: var(--primary); background: rgba(28,77,140,0.05); }
.quiz-option.selected { border-color: var(--primary); background: rgba(28,77,140,0.1); }
.quiz-option p { font-weight: 600; font-size: 0.95rem; }
.quiz-option small { color: var(--muted-fg); font-size: 0.8rem; }
.quiz-result {
  border-radius: 1rem; padding: 1.5rem; margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(28,77,140,0.1), rgba(17,163,210,0.05), transparent);
  border: 1px solid rgba(28,77,140,0.2);
}
.quiz-result h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.color-card { display: flex; gap: 1rem; align-items: center; padding: 1.5rem; border: 1px solid var(--border); border-radius: 1rem; }
.color-disc { width: 5rem; height: 5rem; border-radius: 1rem; border: 2px solid var(--border); flex-shrink: 0; }

/* Calculator */
.wall-row { display: flex; gap: 0.5rem; align-items: flex-end; margin-bottom: 0.5rem; }
.wall-row .field { flex: 1; margin: 0; }
.wall-row .icon-btn { background: transparent; padding: 0.5rem; border-radius: 0.5rem; color: var(--muted-fg); }
.wall-row .icon-btn:hover { background: var(--muted); color: var(--destructive); }
.calc-result {
  border-radius: 0.75rem; border: 1px solid var(--border); background: rgba(230,236,243,0.5);
  padding: 1.25rem; margin-top: 1rem;
}
.calc-result h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-fg); margin-bottom: 0.75rem; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.calc-grid .v { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.calc-grid .v.accent { color: var(--primary); }
.calc-cans { display: flex; flex-wrap: wrap; gap: 0.5rem; padding-top: 0.75rem; border-top: 1px solid var(--border); }
.calc-cans .pill { background: var(--primary); color: var(--primary-foreground); padding: 0.375rem 0.875rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 500; }

/* Map */
.map-grid { display: flex; flex-direction: column; gap: 1.5rem; }
.map-canvas {
  position: relative; width: 100%; aspect-ratio: 10 / 7;
  border-radius: 1rem; border: 1px solid var(--border); overflow: hidden;
  background: linear-gradient(135deg, rgba(230,236,243,0.4), var(--background), rgba(17,163,210,0.05));
}
.map-canvas svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.city-anchor {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: rgba(28,77,140,0.85); box-shadow: 0 0 0 2px #fff;
  transform: translate(-50%, -50%); pointer-events: none; z-index: 5;
}
.city-anchor.royale {
  width: 10px; height: 10px; background: #d61f26;
}
.city-pin {
  position: absolute; transform: translate(-50%, -50%); cursor: pointer; z-index: 10;
  background: transparent; border: 0; padding: 0;
  opacity: 0; animation: pin-drop .4s ease-out forwards;
}
.city-pin .name {
  display: inline-block; padding: 2px 6px; border-radius: 4px;
  background: rgba(255,255,255,0.95); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  border: 1px solid rgba(28,77,140,0.15);
  font-size: 10px; font-weight: 600; font-family: var(--font-display);
  color: var(--foreground); line-height: 1.1;
  white-space: nowrap; box-shadow: 0 1px 3px rgba(28,77,140,0.12);
  transition: all .15s;
}
@media (min-width: 768px) { .city-pin .name { font-size: 11px; } }
.city-pin:hover .name { transform: scale(1.1); background: #fff; }
.city-pin.active .name { background: var(--primary); color: #fff; border-color: var(--primary); transform: scale(1.1); }

.city-pin.royale .name {
  background: #d61f26; color: #fff; border-color: #a8181d;
}
.city-pin.royale:hover .name { background: #a8181d; }

@keyframes pin-drop {
  0%   { opacity: 0; transform: translate(-50%, -60%); }
  100% { opacity: 1; transform: translate(-50%, -50%); }
}

/* ===== Modal de cidade (mesmo comportamento do React Dialog) ===== */
.city-modal-back {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  display: none; align-items: center; justify-content: center;
  z-index: 1000; padding: 1rem;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  animation: modalFadeIn .15s ease-out;
}
.city-modal-back.open { display: flex; }
.city-modal {
  position: relative; background: var(--card, #fff); color: var(--foreground, #111);
  border-radius: 14px; max-width: 640px; width: 100%;
  max-height: 85vh; overflow-y: auto; padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  animation: modalPop .18s cubic-bezier(.16,1,.3,1);
}
.city-modal-close {
  position: absolute; top: .75rem; right: .75rem;
  width: 32px; height: 32px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: none; cursor: pointer;
  color: var(--muted-fg, #6b6b6b); font-size: 22px; line-height: 1;
  transition: background .15s;
}
.city-modal-close:hover { background: rgba(0,0,0,0.06); }
.city-modal-uplabel {
  margin: 0 0 .25rem; font-size: .75rem; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted-fg, #6b6b6b);
}
.city-modal-title {
  margin: 0 0 .25rem; font-family: var(--font-display, inherit);
  font-size: 1.5rem; font-weight: 700;
  display: flex; align-items: center; gap: .5rem;
}
.city-modal-count {
  margin: 0 0 1rem; font-size: .9rem; color: var(--muted-fg, #6b6b6b);
}
.city-modal-list { display: flex; flex-direction: column; gap: .6rem; }
.city-modal-list .dealer {
  border: 1px solid var(--border, #e4e0d6); border-radius: 12px;
  padding: .9rem 1rem;
}
.city-modal-list .dealer.royale {
  border-color: rgba(214,31,38,0.5);
  background: rgba(214,31,38,0.05);
}
.city-modal-list .dealer h4 {
  margin: 0 0 .35rem; font-size: 1rem; font-weight: 600;
  display: flex; align-items: center; gap: .35rem;
}
.city-modal-list .dealer p,
.city-modal-list .dealer a {
  margin: .15rem 0; font-size: .875rem; color: var(--muted-fg, #6b6b6b);
  display: flex; align-items: center; gap: .4rem; text-decoration: none;
}
.city-modal-list .dealer a[href^="tel:"] { color: var(--primary, #1c4d8c); }
.city-modal-list .dealer a:hover { text-decoration: underline; }

@keyframes modalFadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes modalPop {
  from { opacity: 0; transform: translateY(8px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}




.map-side {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 1rem; padding: 1.5rem; min-height: 320px;
}
.map-empty { text-align: center; padding: 3rem 1rem; color: var(--muted-fg); display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; }
.dealer { padding: 1rem 1.125rem; border: 1px solid var(--border); border-radius: 0.875rem; margin-bottom: 0.75rem; background: var(--card); transition: all .2s; }
.dealer:hover { border-color: rgba(28,77,140,0.3); box-shadow: 0 2px 8px rgba(28,77,140,0.06); }
.dealer h4 { font-size: 1rem; margin-bottom: 0.625rem; font-weight: 700; color: var(--foreground); font-family: var(--font-display); }
.dealer p, .dealer a { font-size: 0.875rem; color: var(--muted-fg); display: flex; gap: 0.5rem; align-items: center; margin-bottom: 0.375rem; text-decoration: none; }
.dealer a { color: var(--primary); }
.dealer a:hover { text-decoration: underline; }
.dealer .cv-icon { color: var(--muted-fg); width: 0.875rem; height: 0.875rem; }
.dealer a .cv-icon { color: var(--primary); }

/* ===== Toast ===== */
.toast-container { position: fixed; top: 1rem; right: 1rem; z-index: 200; display: flex; flex-direction: column; gap: 0.5rem; }
.toast {
  background: var(--background); border: 1px solid var(--border); border-radius: 0.5rem;
  padding: 0.875rem 1rem; box-shadow: var(--shadow-lg); min-width: 18rem; max-width: 22rem;
  animation: slidein .25s ease;
}
.toast.error { border-color: var(--destructive); }
.toast strong { display: block; font-size: 0.875rem; margin-bottom: 0.125rem; }
.toast small { color: var(--muted-fg); font-size: 0.8125rem; }
@keyframes slidein { from { transform: translateX(20px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ============ Inner pages ============ */
.page-hero { padding: 7rem 0 3rem; }
.page-hero .badge {
  display: inline-flex; gap: 0.5rem; align-items: center;
  background: rgba(28,77,140,0.1); color: var(--primary);
  padding: 0.375rem 1rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 500; margin-bottom: 1rem;
}
.page-hero h1 { font-size: 2.25rem; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .page-hero h1 { font-size: 3rem; } }
.page-hero p { color: var(--muted-fg); max-width: 36rem; }

/* Products page */
.products-layout { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .products-layout { grid-template-columns: 16rem 1fr; } }
.filters-panel { }
.filter-group { border-bottom: 1px solid var(--border); padding-bottom: 1rem; margin-bottom: 1rem; }
.filter-group > button.toggle {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
}
.filter-group .options { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.filter-group.collapsed .options { display: none; }
.filter-group label { display: flex; align-items: center; gap: 0.625rem; cursor: pointer; font-size: 0.875rem; color: var(--muted-fg); }
.filter-group label:hover { color: var(--foreground); }
.filter-group label input { width: 1rem; height: 1rem; accent-color: var(--primary); }
.products-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
@media (min-width: 640px) { .products-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(4,1fr); } }
@media (min-width: 1280px) { .products-grid { grid-template-columns: repeat(5,1fr); } }
.product-card { background: var(--background); border: 1px solid var(--border); border-radius: 1rem; overflow: hidden; transition: box-shadow .3s; }
.product-card:hover { box-shadow: var(--shadow-md); }
.product-card .img { aspect-ratio: 1; background: rgba(230,236,243,0.3); padding: 1rem; display: grid; place-items: center; }
.product-card .img img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .5s; }
.product-card:hover .img img { transform: scale(1.05); }
.product-card .body { padding: 1rem; }
.product-card h3 { font-size: 0.875rem; margin-bottom: 0.25rem; }
.product-card .meta { font-size: 0.75rem; color: var(--primary); font-weight: 500; }

/* Colors page */
.tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.tab {
  padding: 0.5rem 1rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 500;
  background: var(--background); border: 1px solid var(--border); color: var(--muted-fg);
}
.tab.active { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.search-input {
  position: relative; max-width: 18rem;
}
.search-input input { width: 100%; padding: 0.625rem 1rem 0.625rem 2.25rem; border-radius: 9999px; border: 1px solid var(--border); background: var(--background); }
.search-input svg { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: var(--muted-fg); }
.color-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
@media (min-width: 640px) { .color-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 768px) { .color-grid { grid-template-columns: repeat(4,1fr); } }
@media (min-width: 1024px) { .color-grid { grid-template-columns: repeat(6,1fr); } }
.color-tile {
  background: var(--background); border: 1px solid var(--border); border-radius: 0.75rem;
  overflow: hidden; transition: box-shadow .3s; cursor: pointer; text-align: left;
}
.color-tile:hover { box-shadow: var(--shadow-md); }
.color-tile .swatch-bg { aspect-ratio: 1; transition: transform .3s; }
.color-tile:hover .swatch-bg { transform: scale(1.05); }
.color-tile .label { padding: 0.75rem; }
.color-tile .label p { font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; }
.color-tile .label small { font-size: 0.75rem; color: var(--muted-fg); text-transform: uppercase; }

.simulator { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .simulator { grid-template-columns: 1.4fr 1fr; } }
.sim-preview { position: relative; aspect-ratio: 4/3; border-radius: 1rem; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.sim-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sim-overlay { position: absolute; inset: 0; mix-blend-mode: multiply; opacity: 0.8; transition: background-color .4s ease; }
.sim-info { position: absolute; bottom: 1rem; left: 1rem; background: rgba(247,250,255,0.95); backdrop-filter: blur(6px); border-radius: 0.75rem; padding: 0.75rem 1rem; box-shadow: var(--shadow-md); display: flex; gap: 0.75rem; align-items: center; }
.sim-info .disc { width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; border: 1px solid var(--border); }
.sim-info p { font-family: var(--font-display); font-size: 0.875rem; font-weight: 700; }
.sim-info small { font-size: 0.75rem; color: var(--muted-fg); text-transform: uppercase; }
.amb-pick { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.5rem; margin-top: 1rem; }
@media (min-width: 768px) { .amb-pick { grid-template-columns: repeat(6,1fr); } }
.amb-pick button { aspect-ratio: 1; border-radius: 0.5rem; overflow: hidden; border: 2px solid transparent; opacity: 0.7; transition: all .2s; position: relative; }
.amb-pick button:hover { opacity: 1; }
.amb-pick button.active { border-color: var(--primary); opacity: 1; transform: scale(1.05); box-shadow: var(--shadow-md); }
.amb-pick img { width: 100%; height: 100%; object-fit: cover; }
.amb-pick span { position: absolute; bottom: 0; left: 0; right: 0; padding: 0.25rem; background: linear-gradient(to top, rgba(20,38,74,0.9), transparent); color: #fff; font-size: 0.625rem; font-weight: 500; }

.palette-side { background: var(--card); border-radius: 1rem; padding: 1.5rem; border: 1px solid var(--border); }
.palette-side h3 { font-size: 1.125rem; margin-bottom: 0.25rem; }
.palette-side > small { font-size: 0.75rem; color: var(--muted-fg); display: block; margin-bottom: 1.25rem; }
.palette-list { max-height: 420px; overflow-y: auto; padding-right: 0.5rem; }
.palette-fam { margin-bottom: 1.25rem; }
.palette-fam .fam-label { display: flex; justify-content: space-between; margin-bottom: 0.5rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-fg); font-weight: 600; }
.palette-fam .grid-mini { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.375rem; }
.palette-fam .mini { aspect-ratio: 1; border-radius: 0.375rem; cursor: pointer; transition: transform .2s; border: 1px solid var(--border); }
.palette-fam .mini:hover { transform: scale(1.1); }
.palette-fam .mini.active { box-shadow: 0 0 0 2px var(--primary), 0 0 0 4px var(--card); transform: scale(1.1); }

/* Tintometria */
.tinto-hero { padding: 7rem 0 5rem; background: linear-gradient(135deg, rgba(204,224,244,0.6), var(--background), var(--background)); position: relative; overflow: hidden; }
.tinto-hero::before, .tinto-hero::after {
  content: ""; position: absolute; width: 24rem; height: 24rem; border-radius: 9999px; filter: blur(80px);
}
.tinto-hero::before { top: 5rem; right: 0; background: rgba(28,77,140,0.1); }
.tinto-hero::after { bottom: 0; left: 0; background: rgba(17,163,210,0.1); }
.tinto-hero .grid-2 { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; position: relative; }
@media (min-width: 1024px) { .tinto-hero .grid-2 { grid-template-columns: 1fr 1fr; } }
.tinto-hero .tag { display: inline-block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--accent); font-weight: 600; margin-bottom: 1rem; }
.tinto-hero h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .tinto-hero h1 { font-size: 3.5rem; } }
.tinto-hero h1 span { color: var(--primary); display: block; }
.tinto-hero p { font-size: 1.125rem; color: var(--muted-fg); margin-bottom: 2rem; max-width: 32rem; line-height: 1.6; }
.tinto-hero .actions-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 2px solid var(--border); color: var(--foreground);
  padding: 0.875rem 1.75rem; border-radius: 9999px; font-weight: 600; font-size: 0.875rem;
  transition: all .2s;
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.tinto-img { position: relative; }
.tinto-img > div { aspect-ratio: 1; border-radius: 2rem; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.tinto-img img { width: 100%; height: 100%; object-fit: cover; }
.tinto-img .badge {
  position: absolute; bottom: -1.5rem; left: -1.5rem;
  background: var(--card); padding: 1.25rem; border-radius: 1rem;
  border: 1px solid var(--border); box-shadow: var(--shadow-lg); max-width: 14rem;
}
.tinto-img .badge .live { display: inline-flex; gap: 0.5rem; align-items: center; font-size: 0.7rem; text-transform: uppercase; color: var(--muted-fg); font-weight: 600; }
.tinto-img .badge .live::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 9999px; background: #22c55e; animation: pulse 2s infinite; }
.tinto-img .badge p { font-family: var(--font-display); font-size: 0.875rem; font-weight: 700; margin-top: 0.25rem; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.benefits { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .benefits { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .benefits { grid-template-columns: repeat(4,1fr); } }
.benefit {
  background: var(--card); border: 1px solid var(--border); border-radius: 1rem; padding: 1.5rem;
  transition: all .3s;
}
.benefit:hover { box-shadow: var(--shadow-md); border-color: rgba(28,77,140,0.4); }
.benefit-icon { width: 3rem; height: 3rem; border-radius: 0.75rem; background: rgba(28,77,140,0.1); color: var(--primary); display: grid; place-items: center; margin-bottom: 1rem; transition: all .2s; }
.benefit:hover .benefit-icon { background: var(--primary); color: var(--primary-foreground); }
.benefit h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.benefit p { font-size: 0.875rem; color: var(--muted-fg); }

.split { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; } }
.split img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 1rem; box-shadow: var(--shadow-md); }
.checks { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.25rem; }
.checks li { display: flex; gap: 0.75rem; }
.checks .check-icon { width: 1.25rem; height: 1.25rem; border-radius: 9999px; background: rgba(28,77,140,0.15); color: var(--primary); display: grid; place-items: center; flex-shrink: 0; margin-top: 0.125rem; }
.quote { border-left: 4px solid var(--primary); padding: 0.5rem 0 0.5rem 1.25rem; margin: 1.5rem 0; font-family: var(--font-display); font-style: italic; font-size: 1.125rem; }
.note-box { background: rgba(204,224,244,0.4); border: 1px solid var(--border); border-radius: 0.75rem; padding: 1.25rem; font-size: 0.875rem; color: var(--muted-fg); }
.split .stat-badge {
  position: absolute; top: -1.25rem; right: -1.25rem;
  background: var(--primary); color: var(--primary-foreground);
  padding: 0.875rem 1.25rem; border-radius: 1rem; box-shadow: var(--shadow-lg);
}
.split .stat-badge .big { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; line-height: 1; }
.split .stat-badge small { font-size: 0.75rem; opacity: 0.9; }

.tinto-products { display: grid; gap: 1.25rem; grid-template-columns: repeat(2,1fr); }
@media (min-width: 768px) { .tinto-products { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1024px) { .tinto-products { grid-template-columns: repeat(5,1fr); } }
.tinto-product { background: var(--card); border: 1px solid var(--border); border-radius: 1rem; overflow: hidden; transition: all .3s; }
.tinto-product:hover { box-shadow: var(--shadow-md); border-color: rgba(28,77,140,0.4); }
.tinto-product .img { aspect-ratio: 1; overflow: hidden; background: rgba(204,224,244,0.4); }
.tinto-product img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tinto-product:hover img { transform: scale(1.1); }
.tinto-product .body { padding: 1rem; text-align: center; font-family: var(--font-display); font-size: 0.875rem; font-weight: 700; }

.cta-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-glow));
  color: var(--primary-foreground);
  border-radius: 1.5rem; padding: 3rem 2rem;
  position: relative; overflow: hidden;
}
.cta-box::before, .cta-box::after { content: ""; position: absolute; width: 16rem; height: 16rem; border-radius: 9999px; filter: blur(80px); }
.cta-box::before { top: 0; right: 0; background: rgba(255,255,255,0.1); }
.cta-box::after { bottom: 0; left: 0; background: rgba(17,163,210,0.2); }
.cta-box .grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; position: relative; }
@media (min-width: 1024px) { .cta-box .grid { grid-template-columns: 1.3fr 1fr; } }
.cta-box h2 { color: var(--primary-foreground); font-size: 1.875rem; margin-bottom: 1rem; line-height: 1.15; }
@media (min-width: 768px) { .cta-box h2 { font-size: 2.25rem; } }
.cta-box p { color: rgba(255,255,255,0.85); margin-bottom: 0.5rem; font-size: 1.0625rem; }
.cta-box .smaller { font-size: 0.875rem; color: rgba(255,255,255,0.7); }
.cta-buttons { display: flex; flex-direction: column; gap: 0.75rem; }
.cta-buttons a { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; border-radius: 1rem; font-weight: 600; transition: opacity .2s; }
.cta-buttons a:hover { opacity: 0.9; }
.cta-buttons .light { background: var(--background); color: var(--foreground); }
.cta-buttons .dark { background: var(--blue-deep); color: var(--background); }

/* Onde Comprar (page) */
.where-page { padding-top: 7rem; padding-bottom: 5rem; }
.where-page .head { text-align: center; margin-bottom: 2.5rem; }
.where-page .head .badge { display: inline-flex; gap: 0.5rem; align-items: center; background: rgba(28,77,140,0.1); color: var(--primary); padding: 0.375rem 1rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 500; margin-bottom: 1rem; }
.where-page h1 { font-size: 2.25rem; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .where-page h1 { font-size: 3rem; } }
.where-page > .container > .head p { color: var(--muted-fg); max-width: 36rem; margin: 0 auto; }

/* misc icons — masked SVGs that inherit currentColor */
.cv-icon {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  background-color: currentColor;
  vertical-align: middle;
  flex-shrink: 0;
  line-height: 1;
}
.icon-xs { width: .875rem !important; height: .875rem !important; vertical-align: -2px; }
.icon-sm { width: 1rem !important; height: 1rem !important; }
.icon { width: 1.25rem !important; height: 1.25rem !important; }

/* ============ BENEFITS BAR ============ */
.benefits-bar {
  background: linear-gradient(135deg, var(--blue-deep), var(--primary));
  padding: 2.25rem 0;
  color: var(--primary-foreground);
}
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefits-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

.benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  padding: 0.5rem 0.25rem;
}
@media (min-width: 1024px) {
  .benefit-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background: rgba(255, 255, 255, 0.18);
  }
}
.benefit-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: var(--blue-sky);
}
.benefit-text h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-foreground);
  margin-bottom: 0.15rem;
  line-height: 1.25;
}
.benefit-text p {
  font-size: 0.8rem;
  color: rgba(247, 250, 255, 0.72);
  line-height: 1.35;
  margin: 0;
}

/* ============ Editorial Blog ============ */
.editorial { background: var(--background); padding: 80px 0 96px; position: relative; overflow: hidden; }
.editorial::before, .editorial::after {
  content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  filter: blur(80px); pointer-events: none; opacity: .35;
}
.editorial::before { top: 60px; left: -120px; background: var(--accent); opacity: .08; }
.editorial::after { bottom: 60px; right: -120px; background: var(--primary); opacity: .08; }

.editorial-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  border-bottom: 1px solid var(--border); padding-bottom: 28px; margin-bottom: 48px; gap: 24px;
}
.editorial-head-left { display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.editorial-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent); padding-bottom: 6px;
}
.editorial-eyebrow.muted { color: var(--muted-fg); margin-bottom: 20px; display: block; }
.editorial-title {
  font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700; line-height: 0.9; color: var(--foreground); margin: 0;
}
.editorial-archive {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600;
  color: var(--foreground); text-decoration: none; transition: color .25s;
}
.editorial-archive:hover { color: var(--accent); }
.editorial-archive i { font-size: 12px; transition: transform .25s; }
.editorial-archive:hover i { transform: rotate(45deg); }

.editorial-grid {
  display: grid; grid-template-columns: 1fr; gap: 40px; align-items: stretch;
}
@media (min-width: 900px) {
  .editorial-grid { grid-template-columns: 1.3fr 1fr; gap: 48px; }
}

/* Featured */
.editorial-featured {
  position: relative; border-radius: 24px; overflow: hidden;
  min-height: 480px; height: 100%;
  box-shadow: var(--shadow-lg);
  transition: opacity .25s ease;
}
.editorial-featured.switching { opacity: 0.6; }
.editorial-featured img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s ease;
}
.editorial-featured:hover img { transform: scale(1.05); }
.editorial-overlay {
  position: absolute; inset: 0; opacity: 0.55; mix-blend-mode: multiply;
  transition: background .4s ease;
}
.editorial-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20, 38, 74, 0.92), rgba(20, 38, 74, 0.15) 55%, transparent);
}
.editorial-badge {
  position: absolute; top: 24px; left: 24px;
}
.editorial-badge span {
  font-size: 11px; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,0.15); backdrop-filter: blur(8px);
  padding: 8px 16px; border-radius: 999px;
}
.editorial-content {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 32px;
  color: #fff;
}
@media (min-width: 768px) { .editorial-content { padding: 44px; } }
.editorial-meta {
  display: flex; align-items: center; gap: 14px; font-size: 12px;
  color: rgba(255,255,255,0.85); margin-bottom: 14px;
}
.editorial-meta i { margin-right: 4px; }
.editorial-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.6); }
.editorial-content h3 {
  font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 700; line-height: 1.1; margin-bottom: 14px; max-width: 32rem; color: #fff;
}
.editorial-content p {
  font-size: 1rem; line-height: 1.55; color: rgba(255,255,255,0.88);
  max-width: 30rem; margin-bottom: 20px;
}
.editorial-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: #fff; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.4); padding-bottom: 4px;
  transition: border-color .25s;
}
.editorial-cta:hover { border-color: #fff; }
.editorial-cta i { font-size: 11px; transition: transform .25s; }
.editorial-cta:hover i { transform: translate(2px, -2px); }

/* List */
.editorial-list { display: flex; flex-direction: column; }
.editorial-items { display: flex; flex-direction: column; }
.editorial-item {
  position: relative; text-align: left; background: none; border: none;
  border-bottom: 1px solid var(--border); padding: 18px 0 18px 18px;
  cursor: pointer; display: flex; align-items: flex-start; gap: 14px;
  font-family: inherit; color: inherit; width: 100%;
  transition: background .25s;
}
.editorial-item:last-child { border-bottom: none; }
.editorial-item-bar {
  position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--accent);
  transform: scaleY(0); transform-origin: top; opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
}
.editorial-item.active .editorial-item-bar { transform: scaleY(1); opacity: 1; }
.editorial-item-body { flex: 1; min-width: 0; }
.editorial-item-meta {
  display: flex; align-items: center; gap: 6px; margin-bottom: 6px;
}
.editorial-item-meta .cat {
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted-fg); transition: color .25s;
}
.editorial-item.active .editorial-item-meta .cat { color: var(--accent); }
.editorial-item-meta .time { font-size: 11px; color: var(--muted-fg); opacity: .7; }
.editorial-item h4 {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
  line-height: 1.3; color: var(--foreground); opacity: .75;
  margin: 0; transition: opacity .25s, color .25s;
}
.editorial-item:hover h4, .editorial-item.active h4 { opacity: 1; }
.editorial-item p {
  font-size: 13px; color: var(--muted-fg); line-height: 1.5;
  margin: 0; max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .35s ease, opacity .3s ease, padding-top .3s ease;
}
.editorial-item.active p { max-height: 100px; opacity: 1; padding-top: 8px; }
.editorial-item-arrow {
  font-size: 14px; color: var(--muted-fg); opacity: 0;
  transform: translate(-6px, 6px);
  transition: all .3s ease; margin-top: 4px; flex-shrink: 0;
}
.editorial-item:hover .editorial-item-arrow { opacity: .6; transform: translate(0, 0); }
.editorial-item.active .editorial-item-arrow { opacity: 1; color: var(--accent); transform: translate(0, 0); }

@media (max-width: 899px) {
  .editorial-item p { display: none; }
  .editorial-archive { display: none; }
}

/* ============================================
   PÁGINAS SOBRE / BLOG / POST — ColorViva
   ============================================ */

.kicker {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent); display: inline-block;
}
.kicker-row {
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
}
.kicker-line {
  width: 48px; height: 1px; background: var(--accent); display: inline-block;
}

.display-xl {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 0.98; margin: 14px 0 22px;
  color: var(--foreground);
}
.display-xl em { font-style: italic; color: var(--accent); }
.display-lg {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  line-height: 1; color: var(--foreground);
}
.lead {
  font-size: 1.1rem; line-height: 1.7;
  color: var(--muted-fg); max-width: 640px;
}

/* ----- HERO comum (Sobre + Blog) ----- */
.about-hero, .blog-hero {
  position: relative; padding: 9rem 0 4.5rem; overflow: hidden;
  background: linear-gradient(180deg, var(--blue-ice) 0%, var(--background) 100%);
}
.about-hero-bg, .blog-hero-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.blob {
  position: absolute; width: 500px; height: 500px;
  border-radius: 50%; filter: blur(110px); opacity: 0.5;
}
.blob-a { top: -160px; left: -160px; background: rgba(17, 163, 210, 0.22); }
.blob-b { bottom: -160px; right: -160px; background: rgba(31, 77, 196, 0.18); }
.about-hero-inner, .blog-hero .container {
  position: relative; z-index: 1; max-width: 980px;
}

/* ----- Sobre: cabeçalho de seção ----- */
.about-section { padding: 5rem 0 6rem; }
.about-section--alt { background: var(--card); }
.about-head {
  display: flex; align-items: flex-end; gap: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 22px; margin-bottom: 56px; flex-wrap: wrap;
}

/* Pillars */
.pillars {
  display: grid; gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.pillar {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--border);
  border-radius: 24px; padding: 32px;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.pillar:hover {
  border-color: var(--accent); transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.pillar-icon {
  width: 54px; height: 54px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 22px; transition: transform .3s;
}
.pillar:hover .pillar-icon { transform: scale(1.1); }
.pillar-icon--accent { background: var(--accent); color: #fff; }
.pillar-icon--primary { background: var(--primary); color: #fff; }
.pillar-icon--dark { background: var(--blue-deep); color: #fff; }
.pillar-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--muted-fg);
  display: block; margin-bottom: 10px;
}
.pillar-title {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  line-height: 1.2; margin: 0 0 14px; color: var(--foreground);
}
.pillar p {
  font-size: 0.95rem; line-height: 1.65;
  color: var(--muted-fg); margin: 0;
}

/* Valores complementares */
.value-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 26px; margin-top: 64px; padding-top: 64px;
  border-top: 1px solid var(--border); text-align: center;
}
.value-item i {
  font-size: 26px; color: var(--accent); margin-bottom: 10px;
}
.value-item h4 {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
  margin: 4px 0; color: var(--foreground);
}
.value-item p { font-size: 0.85rem; color: var(--muted-fg); margin: 0; }

/* CEO */
.ceo-grid {
  display: grid; grid-template-columns: 5fr 7fr;
  gap: 64px; align-items: center;
}
@media (max-width: 899px) { .ceo-grid { grid-template-columns: 1fr; gap: 40px; } }
.ceo-photo { position: relative; }
.ceo-photo-frame {
  position: relative; aspect-ratio: 4/5; border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--muted);
}
.ceo-photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ceo-photo-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20, 38, 74, 0.65), transparent 55%);
}
.ceo-photo-caption {
  position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2; color: #fff;
}
.ceo-photo-caption span {
  font-size: 10px; font-weight: 700; letter-spacing: 0.3em;
  text-transform: uppercase; opacity: 0.9;
  display: block; margin-bottom: 6px;
}
.ceo-photo-caption strong {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
}
.ceo-bg-number {
  position: absolute; top: -28px; left: -24px;
  font-family: var(--font-display); font-weight: 800;
  font-size: 130px; line-height: 1;
  color: rgba(17, 163, 210, 0.12);
  pointer-events: none; user-select: none;
}
.ceo-quote-icon {
  font-size: 32px; color: var(--accent);
  margin-bottom: 16px; display: block;
}
.ceo-quote {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.3rem, 2.1vw, 1.75rem); line-height: 1.4;
  margin: 0 0 28px; color: var(--foreground);
}
.ceo-bio p {
  font-size: 1rem; line-height: 1.75;
  color: var(--muted-fg); margin: 0 0 16px;
}
.ceo-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 32px; padding-top: 32px;
  border-top: 1px solid var(--border);
}
.ceo-stats strong {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2rem); color: var(--accent);
}
.ceo-stats span {
  display: block; font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted-fg); margin-top: 6px;
}

/* História / Timeline */
.history-grid {
  display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start;
}
@media (max-width: 899px) { .history-grid { grid-template-columns: 1fr; gap: 40px; } }
.history-images {
  display: grid; gap: 16px; position: sticky; top: 110px;
}
@media (max-width: 899px) {
  .history-images { position: static; grid-template-columns: 1fr 1fr; }
}
.history-images img {
  width: 100%; border-radius: 20px; object-fit: cover; display: block;
  background: var(--muted);
}
.history-images img:first-child { aspect-ratio: 3/4; }
.history-images img:last-child { aspect-ratio: 1/1; }

.timeline { position: relative; padding-left: 0; list-style: none; margin: 0; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 2px; background: var(--border);
}
.timeline-item {
  position: relative; padding-left: 40px; margin-bottom: 44px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute; left: 0; top: 10px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--card);
}
.timeline-year {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem); line-height: 1;
  color: var(--accent);
}
.timeline-item h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.4rem; margin: 12px 0 6px; color: var(--foreground);
}
.timeline-item p {
  font-size: 0.98rem; line-height: 1.65;
  color: var(--muted-fg); max-width: 460px; margin: 0;
}

/* CTA Sobre */
.about-cta {
  background: var(--blue-deep); color: #fff;
  padding: 5rem 0; text-align: center;
}
.about-cta h2 {
  font-family: var(--font-display, serif); font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.1;
  max-width: 720px; margin: 0 auto 18px;
  color: #ffffff;
}
.about-cta p {
  font-size: 1.02rem; opacity: 0.85; max-width: 560px; margin: 0 auto 28px;
}
.about-cta-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,0.3); color: #fff;
  padding: 13px 28px; border-radius: 999px;
  font-weight: 600; text-decoration: none;
  transition: background .3s, border-color .3s;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5);
}
.about-cta .btn-primary {
  background: var(--accent); color: #fff;
  padding: 13px 28px; border-radius: 999px;
  font-weight: 600; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: opacity .25s, transform .25s;
}
.about-cta .btn-primary:hover { opacity: 0.92; transform: translateY(-1px); }

/* ============================================
   BLOG — Listagem
   ============================================ */
.section-mini-head {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--foreground); margin-bottom: 28px;
}
.section-mini-head i { color: var(--accent); }

/* ----- Featured ----- */
.featured-card {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px; align-items: center;
  text-decoration: none; color: inherit;
  border-radius: 28px; overflow: hidden;
}
@media (max-width: 899px) { .featured-card { grid-template-columns: 1fr; gap: 24px; } }
.featured-img {
  position: relative; aspect-ratio: 4/3; border-radius: 22px; overflow: hidden;
  background: var(--muted); min-width: 0;
}
.featured-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s ease; display: block;
}
.featured-card:hover .featured-img img { transform: scale(1.05); }
.featured-img-tint {
  position: absolute; inset: 0; opacity: 0.18; mix-blend-mode: multiply; pointer-events: none;
}
.featured-img.is-img-missing { aspect-ratio: auto; min-height: 0; background: transparent; }
.featured-img.is-img-missing .featured-img-tint,
.featured-img.is-img-missing .badge-pill { display: none; }

.badge-pill {
  position: absolute; top: 18px; left: 18px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  z-index: 2; line-height: 1;
}
.badge-pill--dark { background: rgba(20, 38, 74, 0.55); color: #fff; }
.badge-pill--solid {
  position: static; display: inline-block;
  background: var(--blue-deep); color: #fff;
}

.featured-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 8px 4px; min-width: 0;
}
.meta-row {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted-fg); margin-bottom: 16px;
}
.meta-row .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--muted-fg); opacity: 0.5;
}
.meta-row i { margin-right: 4px; }

.featured-text h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.1; margin: 0 0 18px;
  color: var(--foreground); transition: color .3s;
}
.featured-card:hover .featured-text h2 { color: var(--primary); }
.featured-text p {
  font-size: 1rem; line-height: 1.65;
  color: var(--muted-fg); margin: 0 0 24px;
}
.featured-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; border-top: 1px solid var(--border); gap: 16px; flex-wrap: wrap;
}
.featured-foot strong {
  display: block; font-family: var(--font-display);
  font-size: 1rem; color: var(--foreground);
}
.muted-label {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted-fg);
}
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.9rem; color: var(--foreground);
  border-bottom: 2px solid var(--accent); padding-bottom: 3px;
  text-decoration: none; transition: gap .3s, color .3s;
}
.link-arrow:hover { gap: 12px; color: var(--accent); }

/* ----- Filtros ----- */
.blog-filters {
  position: sticky; top: 5rem; z-index: 30;
  background: rgba(247, 250, 255, 0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.blog-filters-inner {
  display: flex; gap: 16px; align-items: center;
  justify-content: space-between; flex-wrap: wrap;
}
.cat-pills {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 4px 2px; flex: 1; min-width: 0;
  scrollbar-width: none;
}
.cat-pills::-webkit-scrollbar { display: none; }
.cat-pill {
  flex-shrink: 0; padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--border); background: #fff;
  font-size: 0.85rem; font-weight: 500; color: var(--muted-fg);
  cursor: pointer; transition: all .25s; font-family: inherit;
  white-space: nowrap;
}
.cat-pill:hover { color: var(--foreground); border-color: var(--accent); }
.cat-pill.is-active {
  background: var(--blue-deep); color: #fff; border-color: var(--blue-deep);
}
.search-field {
  position: relative; min-width: 220px; max-width: 320px; flex-shrink: 0;
}
.search-field i {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--muted-fg); font-size: 14px; pointer-events: none;
}
.search-field input {
  width: 100%; padding: 11px 16px 11px 38px; border-radius: 999px;
  border: 1px solid var(--border); background: #fff;
  font-size: 0.9rem; font-family: inherit; outline: none;
  transition: border-color .25s, box-shadow .25s;
}
.search-field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(17, 163, 210, 0.15);
}
@media (max-width: 640px) {
  .blog-filters-inner { flex-direction: column; align-items: stretch; }
  .search-field { max-width: none; }
}

/* ----- Grid ----- */
.grid-head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 32px; flex-wrap: wrap;
}
.grid-head i { color: var(--accent); font-size: 18px; }
.grid-head h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 1.7rem); margin: 0; color: var(--foreground);
}
.grid-count { font-size: 0.875rem; color: var(--muted-fg); }

.post-grid {
  display: grid; gap: 28px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.post-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.post-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
@media (min-width: 900px) {
  .post-grid { grid-template-columns: repeat(3, 1fr); }
  .post-card--large { grid-column: span 2; }
  .post-card--large { flex-direction: row; }
  .post-card--large .post-card-img { flex: 1 1 50%; aspect-ratio: auto; }
  .post-card--large .post-card-body { flex: 1 1 50%; padding: 32px; }
}
.post-card-img {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  background: var(--muted);
}
.post-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s ease; display: block;
}
.post-card:hover .post-card-img img { transform: scale(1.08); }
.post-card-tint {
  position: absolute; inset: 0; opacity: 0; mix-blend-mode: multiply;
  transition: opacity .4s; pointer-events: none;
}
.post-card:hover .post-card-tint { opacity: 0.3; }
.post-card-img .badge-pill {
  top: 14px; left: 14px; padding: 6px 12px; font-size: 10px;
}
.post-card-arrow {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s, transform .3s;
  color: var(--blue-deep); transform: translateY(-4px);
  font-size: 12px;
}
.post-card:hover .post-card-arrow { opacity: 1; transform: translateY(0); }

.post-card-body {
  display: flex; flex-direction: column; flex: 1; padding: 22px;
}
.meta-row--sm {
  font-size: 10px; margin-bottom: 12px; gap: 10px;
}
.post-card-body h4 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.2rem; line-height: 1.25; margin: 0 0 12px;
  color: var(--foreground); transition: color .3s;
}
.post-card--large .post-card-body h4 { font-size: 1.55rem; }
.post-card:hover .post-card-body h4 { color: var(--accent); }
.post-card-body p {
  font-size: 0.875rem; line-height: 1.6;
  color: var(--muted-fg); margin: 0 0 18px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}
.post-card-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px; border-top: 1px solid var(--border);
  font-size: 11px; gap: 12px;
}
.post-card-foot .muted-label { color: var(--muted-fg); }
.post-card-foot .muted-label strong { color: var(--foreground); font-weight: 600; }
.link-accent { color: var(--accent); font-weight: 700; white-space: nowrap; }

.empty-state { text-align: center; padding: 80px 20px; }
.empty-state .empty-title {
  font-family: var(--font-display); font-size: 1.5rem;
  color: var(--foreground); margin-bottom: 6px;
}
.empty-state .empty-sub { color: var(--muted-fg); }

/* ----- Newsletter strip ----- */
.newsletter-strip {
  background: var(--blue-deep); color: #fff;
  padding: 5rem 0; position: relative; overflow: hidden;
}
.newsletter-strip::before {
  content: ""; position: absolute; top: -120px; right: -120px;
  width: 380px; height: 380px; border-radius: 50%;
  background: rgba(17, 163, 210, 0.25); filter: blur(100px);
  pointer-events: none;
}
.newsletter-grid {
  position: relative; display: grid;
  grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
@media (max-width: 899px) { .newsletter-grid { grid-template-columns: 1fr; gap: 28px; } }
.newsletter-icon {
  font-size: 28px; color: var(--accent); margin-bottom: 16px;
}
.newsletter-strip h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.15;
  margin: 0 0 12px; color: #fff;
}
.newsletter-strip p { opacity: 0.85; font-size: 1rem; margin: 0; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1 1 200px; min-width: 0; padding: 14px 20px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08); color: #fff;
  font-size: 0.95rem; font-family: inherit; outline: none;
  transition: background .25s, border-color .25s;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.55); }
.newsletter-form input:focus {
  background: rgba(255,255,255,0.14); border-color: var(--accent);
}
.newsletter-form button {
  padding: 14px 28px; border-radius: 999px; border: none;
  background: var(--accent); color: #fff; font-weight: 700;
  cursor: pointer; font-family: inherit;
  transition: opacity .25s, transform .25s;
}
.newsletter-form button:hover { opacity: 0.92; transform: translateY(-1px); }

/* ============================================
   POST DETAIL
   ============================================ */
#reading-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  z-index: 60; background: rgba(20, 38, 74, 0.08);
}
#reading-progress-bar {
  display: block; height: 100%; width: 0%;
  background: var(--accent); transition: width .15s ease-out;
}

.post-hero {
  position: relative; padding: 8rem 0 2.5rem; overflow: hidden;
}
.post-hero-bg {
  position: absolute; inset: 0; opacity: 0.07;
  pointer-events: none; z-index: 0;
}
.post-hero .container {
  position: relative; z-index: 1; max-width: 880px;
}
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted-fg); text-decoration: none;
  font-size: 0.875rem; margin-bottom: 28px;
  transition: color .25s, gap .25s;
}
.back-link:hover { color: var(--accent); gap: 12px; }

.post-hero-meta {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 22px; flex-wrap: wrap;
}
.post-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.9rem, 4.5vw, 3.8rem); line-height: 1.08;
  color: var(--foreground); margin: 0 0 22px;
}
.post-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.3rem); line-height: 1.55;
  color: var(--muted-fg); max-width: 720px; margin: 0 0 36px;
}

.post-byline {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding-bottom: 26px; border-bottom: 1px solid var(--border);
}
.author-chip { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.author-avatar--lg { width: 64px; height: 64px; font-size: 26px; }
.author-chip strong {
  display: block; font-family: var(--font-display);
  font-size: 0.95rem; color: var(--foreground);
}
.author-chip span {
  display: block; font-size: 0.75rem; color: var(--muted-fg);
}
.byline-sep {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; color: var(--muted-fg);
}
.share-btn {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--border); background: transparent;
  color: var(--foreground); font-size: 0.875rem;
  cursor: pointer; font-family: inherit;
  transition: border-color .25s, color .25s, background .25s;
}
.share-btn:hover {
  border-color: var(--accent); color: var(--accent);
  background: rgba(17, 163, 210, 0.06);
}

.post-cover {
  position: relative;
  width: min(100%, 860px); max-height: 420px;
  border-radius: 24px; overflow: hidden;
  margin: 48px auto 56px; background: var(--muted);
}
@media (max-width: 700px) {
  .post-cover { margin: 32px auto 40px; border-radius: 18px; max-height: 300px; }
}
.post-cover img {
  width: 100%; height: auto; max-height: 420px; object-fit: cover; display: block;
}
.post-cover.is-img-missing { display: none; }
.post-cover-tint {
  position: absolute; inset: 0; opacity: 0.15;
  mix-blend-mode: multiply; pointer-events: none;
}
.post-card-img.is-img-missing { background: var(--muted); }
.post-figure.is-img-missing { display: none; }

.post-content {
  max-width: 720px; margin: 0 auto; padding-bottom: 60px;
}
.post-content .post-h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.2;
  margin: 48px 0 18px; color: var(--foreground);
}
.post-content .post-p {
  font-size: 1.08rem; line-height: 1.8;
  color: var(--foreground); margin: 0 0 20px;
}
.post-list { list-style: none; padding: 0; margin: 8px 0 28px; }
.post-list li {
  position: relative; padding-left: 26px; margin-bottom: 10px;
  font-size: 1.02rem; line-height: 1.65; color: var(--foreground);
}
.post-list li::before {
  content: ""; position: absolute; left: 6px; top: 11px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}
.post-quote {
  margin: 44px 0; padding: 26px 30px;
  border-left: 4px solid var(--accent);
  background: rgba(17, 163, 210, 0.06);
  border-radius: 0 18px 18px 0;
}
.post-quote i {
  font-size: 24px; color: var(--accent);
  margin-bottom: 10px; display: block;
}
.post-quote blockquote {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.2rem, 1.9vw, 1.6rem); line-height: 1.4;
  margin: 0 0 12px; color: var(--foreground);
}
.post-quote figcaption { font-size: 0.85rem; color: var(--muted-fg); }

.post-figure { margin: 40px auto; max-width: 560px; }
.post-figure img {
  width: 100%; height: auto; max-height: 360px; object-fit: cover; border-radius: 18px; display: block;
  background: var(--muted);
}
.post-figure figcaption {
  text-align: center; font-style: italic; font-size: 0.85rem;
  color: var(--muted-fg); margin-top: 12px;
}

.post-tags {
  margin-top: 56px; padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.post-tags > i { color: var(--muted-fg); margin-right: 4px; }
.tag {
  padding: 6px 14px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--border);
  font-size: 0.75rem; font-weight: 500; color: var(--foreground);
  transition: border-color .25s, color .25s;
}
.tag:hover { border-color: var(--accent); color: var(--accent); }

.author-card {
  margin-top: 36px; padding: 26px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 22px; display: flex; align-items: center;
  gap: 18px; flex-wrap: wrap;
}
.author-card > div { flex: 1; min-width: 200px; }
.author-card .muted-label { display: block; margin-bottom: 4px; }
.author-card strong {
  display: block; font-family: var(--font-display);
  font-size: 1.15rem; color: var(--foreground); margin-top: 2px;
}
.author-card span {
  display: block; font-size: 0.85rem;
  color: var(--muted-fg); margin-top: 2px;
}

.section--alt { background: var(--card); }
.related-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  border-bottom: 1px solid var(--border);
  padding-bottom: 22px; margin-bottom: 32px; gap: 20px;
}
.related-head h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem); line-height: 1.15; margin: 0;
}
@media (max-width: 600px) {
  .related-head .link-arrow { display: none; }
}

/* ----- BLOG HERO blobs (override paleta azul) ----- */
.blog-hero .blob-a { background: rgba(17, 163, 210, 0.22); }
.blog-hero .blob-b { background: rgba(31, 77, 196, 0.18); }
.about-hero .blob-a { background: rgba(17, 163, 210, 0.22); }
.about-hero .blob-b { background: rgba(31, 77, 196, 0.18); }

/* ===== Product Modal ===== */
.product-modal-overlay{
  position:fixed;inset:0;background:rgba(20,38,74,.65);
  display:none;align-items:center;justify-content:center;
  z-index:9999;padding:1rem;backdrop-filter:blur(4px);
  animation:pmFade .2s ease;
}
.product-modal-overlay.is-open{display:flex}
@keyframes pmFade{from{opacity:0}to{opacity:1}}
.product-modal{
  background:var(--background);border-radius:1rem;
  max-width:900px;width:100%;max-height:90vh;overflow:hidden;
  display:grid;grid-template-columns:1fr 1fr;position:relative;
  box-shadow:0 25px 60px rgba(0,0,0,.35);
  animation:pmScale .25s ease;
}
@keyframes pmScale{from{transform:scale(.94);opacity:0}to{transform:scale(1);opacity:1}}
@media (max-width:720px){.product-modal{grid-template-columns:1fr;max-height:95vh;overflow-y:auto}}
.product-modal .pm-image{background:var(--muted);display:flex;align-items:center;justify-content:center;padding:1.5rem}
.product-modal .pm-image img{max-width:100%;max-height:420px;object-fit:contain}
.product-modal .pm-body{padding:2rem;display:flex;flex-direction:column;gap:.75rem;overflow-y:auto}
.product-modal .pm-body h2{font-family:'Playfair Display',serif;font-size:1.6rem;color:var(--foreground);margin:0}
.product-modal .pm-body .pm-meta{color:var(--accent);font-weight:600;font-size:.9rem}
.product-modal .pm-body p{color:var(--muted-fg);font-size:.95rem;line-height:1.6}
.product-modal .pm-tags{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.5rem}
.product-modal .pm-tags span{background:var(--secondary);color:var(--secondary-fg);padding:.3rem .7rem;border-radius:999px;font-size:.75rem;font-weight:500}
.product-modal .pm-close{
  position:absolute;top:.75rem;right:.75rem;
  width:36px;height:36px;border-radius:50%;border:0;
  background:rgba(255,255,255,.9);color:var(--foreground);
  font-size:1.4rem;line-height:1;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 10px rgba(0,0,0,.15);z-index:2;
}
.product-modal .pm-close:hover{background:#fff;transform:scale(1.05)}
.product-card{cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}
.product-card:hover{transform:translateY(-3px);box-shadow:0 10px 25px rgba(0,0,0,.08)}

/* ===== Product Datasheet (dentro do modal) ===== */
.product-modal.datasheet{grid-template-columns:1fr;max-width:1200px;max-height:92vh;overflow:hidden}
.product-modal.datasheet .pm-body{padding:0;overflow-y:auto;background:#eef3fb}
.ds{font-family:'DM Sans',sans-serif;color:#0d2b52;padding:1.25rem;display:flex;flex-direction:column;gap:1rem}
.ds-table{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 4px 14px rgba(15,35,80,.08)}
.ds-table table{width:100%;border-collapse:separate;border-spacing:0 6px;font-size:.78rem}
.ds-table thead th{background:#0d2b52;color:#fff;text-align:left;padding:.7rem .8rem;font-weight:700;font-size:.7rem;letter-spacing:.04em}
.ds-table thead th:first-child{border-top-left-radius:10px}
.ds-table thead th:last-child{border-top-right-radius:10px}
.ds-table tbody tr{background:#e7f0fa}
.ds-table tbody td{padding:.75rem .8rem;vertical-align:top;line-height:1.35;color:#264166}
.ds-table tbody td:first-child{background:#12448a;color:#fff;font-weight:700;font-size:.72rem;letter-spacing:.03em;text-transform:uppercase;width:130px}
.ds-info{display:grid;grid-template-columns:1.2fr 1.4fr 1.1fr .6fr;gap:.75rem}
.ds-card{background:#fff;border-radius:14px;padding:1rem 1.1rem;box-shadow:0 4px 14px rgba(15,35,80,.08);font-size:.78rem;line-height:1.5;color:#264166}
.ds-card h4{margin:0 0 .6rem;text-align:center;font-weight:700;font-size:.78rem;letter-spacing:.05em;color:#0d2b52;text-transform:uppercase}
.ds-card ol{padding-left:1.1rem;margin:.3rem 0}
.ds-card ol li{margin-bottom:.35rem;font-weight:600;color:#12448a}
.ds-card ol li p{margin:.15rem 0;font-weight:400;color:#264166}
.ds-social{margin-top:.9rem;border-top:1px solid #d6e0ee;padding-top:.7rem}
.ds-social h5{text-align:center;font-size:.72rem;font-weight:700;letter-spacing:.05em;margin:0 0 .5rem;color:#0d2b52}
.ds-social ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:.35rem;font-size:.72rem}
.ds-social ul li{display:flex;align-items:center;gap:.35rem;color:#12448a;font-weight:500}
.ds-brand{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.ds-brand .logo{font-family:'Playfair Display',serif;font-size:2rem;font-weight:700;color:#0d2b52;line-height:1}
.ds-brand .logo small{display:block;font-family:'DM Sans',sans-serif;font-size:.7rem;letter-spacing:.4em;color:#12448a;font-weight:600;margin-bottom:.2rem}
.ds-qr{display:flex;align-items:center;justify-content:center}
.ds-qr img{max-width:130px;width:100%;border:6px solid #fff;border-radius:6px;box-shadow:0 2px 8px rgba(0,0,0,.1)}
@media (max-width:900px){
  .ds-info{grid-template-columns:1fr 1fr}
  .ds-table{overflow-x:auto}
  .ds-table table{min-width:820px}
}
@media (max-width:560px){
  .ds-info{grid-template-columns:1fr}
}

/* ===== Datasheet identical to Royale reference ===== */
.product-modal.datasheet{background:#eaf1f9;border:0}
.product-modal.datasheet::before{content:"";display:block;height:22px;background:#0b2547;width:100%}
.ds{padding:18px;gap:14px;background:#eaf1f9}
.ds-table table thead th{background:#0b2547;text-transform:uppercase;font-size:.7rem;padding:.85rem .8rem;font-weight:800}
.ds-table tbody tr{background:#e0eaf5}
.ds-table tbody td:first-child{background:#123c74;text-transform:uppercase;font-weight:800;font-size:.72rem}
.ds-card{padding:0;overflow:hidden;display:flex;flex-direction:column;background:#fff}
.ds-card > .ds-hd{background:#0b2547;color:#fff;text-align:center;padding:.55rem .5rem;font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.ds-card > .ds-ct{padding:.85rem 1rem;font-size:.75rem;line-height:1.5;color:#264166;flex:1}
.ds-card > .ds-ct h5{margin:.1rem 0 .25rem;color:#12448a;font-weight:800;font-size:.75rem}
.ds-card > .ds-ct p{margin:.15rem 0 .5rem}
.ds-social-block{margin-top:auto}
.ds-social-block .ds-hd{border-top:1px solid #d6e0ee}
.ds-social-block ul{list-style:none;padding:.7rem 1rem;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:.4rem .8rem;font-size:.72rem;color:#12448a}
.ds-social-block ul li{display:flex;align-items:center;gap:.4rem;font-weight:600}
.ds-brand-inner{padding:1rem;display:flex;flex-direction:column;height:100%;gap:.6rem;font-size:.72rem;color:#264166;line-height:1.5}
.ds-brand-inner .b-title{font-weight:800;color:#0b2547;font-size:.72rem;letter-spacing:.03em}
.ds-brand-logo{margin-top:auto;display:flex;align-items:center;gap:.6rem;justify-content:center;padding-top:.8rem}
.ds-brand-logo svg{width:70px;height:56px;flex-shrink:0}
.ds-brand-logo .txt{font-family:'Playfair Display',serif;font-size:2rem;font-weight:800;color:#0b2547;line-height:.9}
.ds-brand-logo .txt small{display:block;font-family:'DM Sans',sans-serif;font-size:.6rem;letter-spacing:.42em;font-weight:700;color:#12448a}
.ds-qr-inner{padding:1rem;display:flex;align-items:center;justify-content:center;flex:1}
.ds-qr-inner img{max-width:150px;width:100%;border:6px solid #fff;border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.12)}

/* ===== Datasheet: fix corte / scroll ===== */
.product-modal-overlay.is-open{overflow-y:auto;align-items:flex-start;padding:2rem 1rem}
.product-modal.datasheet{max-height:none;overflow:visible;margin:auto;width:100%;max-width:1240px}
.product-modal.datasheet .pm-body{overflow:visible;max-height:none}
.product-modal.datasheet .pm-close{position:sticky;top:8px;margin-left:auto;margin-right:8px;float:right}

/* ===== Datasheet themed per product ===== */
.ds-sheet{--ds:#0d2b52;background:#fff;border:8px solid var(--ds);border-radius:16px;padding:0;display:grid;grid-template-columns:1.4fr 1fr;gap:0;overflow:hidden}
.ds-sheet .ds-col{padding:1rem 1.1rem;display:flex;flex-direction:column;gap:.6rem}
.ds-sheet .ds-col.left{border-right:6px solid var(--ds)}
.ds-sheet h3.ds-title{margin:0 0 .4rem;text-align:center;color:var(--ds);font-family:'DM Sans',sans-serif;font-weight:800;letter-spacing:.04em;font-size:1.15rem}
.ds-sheet h4.ds-sub{margin:.3rem 0 .1rem;text-align:center;color:var(--ds);font-weight:800;font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;border-bottom:1px solid var(--ds);padding-bottom:.15rem}
.ds-sheet p{margin:.15rem 0;font-size:.72rem;color:#2a3a55;line-height:1.45}
.ds-row{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}
.ds-mini{background:#f2f6fb;border-radius:8px;padding:.5rem .6rem;font-size:.7rem;color:#2a3a55;display:flex;flex-direction:column;gap:.1rem}
.ds-mini strong{color:var(--ds);font-weight:800;font-size:.75rem}
.ds-big{font-family:'DM Sans',sans-serif;color:var(--ds);font-weight:800;font-size:1.5rem;line-height:1}
.ds-icons{display:flex;gap:.6rem;flex-wrap:wrap;justify-content:center;color:var(--ds);font-size:.68rem;font-weight:600}
.ds-icons span{display:inline-flex;flex-direction:column;align-items:center;gap:.15rem;min-width:60px}
.ds-icons i{width:34px;height:34px;border:2px solid var(--ds);border-radius:50%;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:1rem}
.ds-right{background:#fff}
.ds-right h4.ds-sub{margin-top:.1rem}
.ds-right .ds-social ul{list-style:none;margin:.3rem 0 0;padding:0;font-size:.7rem;color:var(--ds);display:grid;grid-template-columns:1fr;gap:.25rem}
.ds-right .ds-social ul li{display:flex;gap:.4rem;align-items:center;font-weight:600}
.ds-brand{margin-top:.6rem;display:flex;align-items:center;justify-content:center;gap:.5rem}
.ds-brand svg{width:60px;height:48px}
.ds-brand .txt{font-family:'Playfair Display',serif;font-weight:800;color:var(--ds);font-size:1.6rem;line-height:.9}
.ds-brand .txt small{display:block;font-family:'DM Sans',sans-serif;font-size:.55rem;letter-spacing:.42em;font-weight:700}
.ds-qr{display:flex;align-items:center;justify-content:center;margin-top:.4rem}
.ds-qr img{max-width:110px;border:5px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.15)}
@media (max-width:820px){.ds-sheet{grid-template-columns:1fr}.ds-sheet .ds-col.left{border-right:0;border-bottom:6px solid var(--ds)}}

/* ===== Datasheet V2 — fiel ao PDF ===== */
.ds-sheet{--ds:#0d2b52;--dsL:rgba(13,43,82,.08);background:#fff;border:9px solid var(--ds);border-radius:14px;padding:0;display:grid;grid-template-columns:1.55fr 1fr;overflow:hidden;font-family:'DM Sans',sans-serif}
.ds-sheet .ds-col{padding:.9rem 1rem;display:flex;flex-direction:column;gap:.5rem}
.ds-sheet .ds-col.left{border-right:6px solid var(--ds)}
.ds-sheet h3.ds-title{margin:.1rem 0 .35rem;text-align:center;color:var(--ds);font-weight:800;letter-spacing:.06em;font-size:1.35rem}
/* section header with lines on both sides */
.ds-sec{display:flex;align-items:center;gap:.5rem;margin:.35rem 0 .1rem;color:var(--ds);font-weight:800;font-size:.68rem;letter-spacing:.16em;text-transform:uppercase}
.ds-sec::before,.ds-sec::after{content:"";flex:1;height:1.5px;background:var(--ds);opacity:.85}
.ds-sheet p,.ds-sheet li{font-size:.72rem;color:#2c3a55;line-height:1.45;margin:.15rem 0}
.ds-block{background:transparent}
/* Diluição rows */
.ds-dil-row{display:grid;grid-template-columns:auto 1fr;gap:.6rem;align-items:center;margin:.15rem 0}
.ds-dil-row .pct{color:var(--ds);font-weight:800;font-size:1.5rem;line-height:1}
.ds-dil-row .lbl{font-size:.72rem;color:#2c3a55}
.ds-cups{display:flex;align-items:center;gap:.2rem;color:var(--ds);font-size:1rem;margin-top:.15rem;flex-wrap:wrap}
.ds-cups b{font-weight:800;margin:0 .15rem}
/* Aplicação icons */
.ds-apps{display:flex;justify-content:space-around;gap:.4rem;padding:.2rem 0;color:var(--ds);flex-wrap:wrap}
.ds-apps .a{display:flex;flex-direction:column;align-items:center;gap:.15rem;font-size:.65rem;font-weight:700;letter-spacing:.03em;min-width:60px}
.ds-apps .a i.fa,.ds-apps .a i.fas,.ds-apps .a i.far{font-size:1.35rem}
/* Grid metrics */
.ds-metrics{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}
.ds-metrics .cell{display:flex;flex-direction:column;gap:.2rem}
.ds-demaos{display:flex;align-items:center;gap:.5rem;color:var(--ds);justify-content:center;padding:.2rem 0}
.ds-demaos .num{font-size:1.7rem;font-weight:800;line-height:1}
.ds-demaos .sub{font-size:.7rem;color:#2c3a55}
.ds-demaos i{font-size:1.6rem}
.ds-rend{display:flex;gap:.6rem;justify-content:center;color:var(--ds)}
.ds-rend .r{display:flex;align-items:center;gap:.3rem;font-size:.7rem}
.ds-rend .r i{font-size:1.5rem}
.ds-rend .r b{display:block;color:var(--ds);font-weight:800;font-size:.85rem}
/* Secagem */
.ds-sec-list{display:flex;gap:.4rem;justify-content:space-around}
.ds-sec-item{display:flex;flex-direction:column;align-items:center;color:var(--ds);gap:.15rem;font-size:.65rem;text-align:center}
.ds-sec-item i{font-size:1.15rem}
.ds-sec-item b{font-size:1.15rem;font-weight:800;line-height:1;margin-top:.1rem}
/* Right column */
.ds-right{background:#fff}
.ds-right .ds-social ul{list-style:none;padding:0;margin:.3rem 0 0;font-size:.72rem;color:var(--ds);display:grid;grid-template-columns:1fr;gap:.28rem}
.ds-right .ds-social ul li{display:flex;gap:.5rem;align-items:center;font-weight:600}
.ds-right .ds-social ul li i{width:16px;text-align:center}
.ds-bottom{display:grid;grid-template-columns:1.4fr 1fr;gap:.6rem;align-items:end;margin-top:.4rem}
.ds-brand{display:flex;flex-direction:column;align-items:center;gap:.2rem}
.ds-brand svg{width:80px;height:52px}
.ds-brand .txt{font-family:'Playfair Display',serif;font-weight:800;color:var(--ds);font-size:1.5rem;line-height:.9;text-align:center}
.ds-brand .txt small{display:block;font-family:'DM Sans',sans-serif;font-size:.55rem;letter-spacing:.42em;font-weight:700}
.ds-qr{text-align:center}
.ds-qr img{max-width:110px;border:5px solid #fff;box-shadow:0 2px 8px rgba(0,0,0,.15)}
@media (max-width:820px){.ds-sheet{grid-template-columns:1fr}.ds-sheet .ds-col.left{border-right:0;border-bottom:6px solid var(--ds)}}

/* ===== Datasheets as images ===== */
.ds-sheets{display:flex;flex-direction:column;gap:1rem;padding:1rem;background:#fff;border-radius:12px}
.ds-sheets img{width:100%;height:auto;display:block;border-radius:8px;box-shadow:0 4px 16px rgba(0,0,0,.08)}
.product-modal.datasheet{max-width:1000px}



.ficha-tecnica {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #222;
  line-height: 1.6;
  padding: 1.5rem;
}

.titulo {
  color: #003366;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  border-bottom: 2px solid #003366;
  padding-bottom: 0.3rem;
}

.tabela-ficha {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.tabela-ficha th {
  background-color: #003366;
  color: #fff;
  padding: 10px;
  text-align: left;
}

.tabela-ficha td {
  border: 1px solid #ccc;
  padding: 10px;
  vertical-align: top;
}

.subtitulo {
  color: #003366;
  font-size: 1.2rem;
  margin-top: 1rem;
}

.cuidados, .preparacao {
  margin-left: 1.5rem;
  list-style-type: disc;
}

.downloads {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.btn-download {
  background-color: #003366;
  color: #fff;
  padding: 10px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn-download:hover {
  background-color: #0055aa;
}
