/* ── Bonjour Estamparia — landing ───────────────────────────── */

:root {
  --ink: #1E2547;
  --ink-soft: #4A5170;
  --blue: #2680AE;
  --teal: #136A87;
  --red: #E62E2D;
  --orange: #EE7A23;
  --yellow: #F5B40D;
  --paper: #F7F6F2;
  --line: #E4E2DA;
  --cta: #1FA855;
  --cta-ink: #ffffff;
  --maxw: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Archivo", system-ui, sans-serif;
  color: var(--ink);
  background: #ffffff;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { text-wrap: balance; margin: 0; }
p { text-wrap: pretty; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* signature mariner stripe ribbon */
.stripe {
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--blue) 0 26px,
    #ffffff 26px 52px
  );
}

/* ── header ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.topbar-logo img { height: 42px; display: block; }

.topbar nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

.topbar nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.topbar nav a:hover { color: var(--ink); }

.topbar nav a.nav-express {
  color: var(--blue);
  font-weight: 700;
}

.topbar nav a.nav-express:hover { color: var(--teal); }

/* ── buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-cta {
  background: var(--cta);
  color: var(--cta-ink);
  box-shadow: 0 6px 18px -8px var(--cta);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}

.btn-ghost:hover { border-color: var(--ink); }

.btn-sm { padding: 10px 18px; font-size: 14.5px; border-radius: 8px; }

.wa-icon { width: 19px; height: 19px; flex: none; }

/* ── hero ── */
.hero { background: var(--paper); overflow: hidden; }

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--blue) 0 5px, #fff 5px 10px);
  border-radius: 2px;
}

.hero h1 {
  font-size: clamp(36px, 4.6vw, 54px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue);
}

.hero-sub {
  font-size: 19px;
  color: var(--ink-soft);
  margin: 22px 0 30px;
  max-width: 52ch;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  font-size: 15px;
  color: var(--ink-soft);
}

.gbadge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 600;
  color: var(--ink);
}

.gbadge img { width: 18px; height: 18px; }
.gico { width: 18px; height: 18px; flex: none; }

a.gbadge { text-decoration: none; transition: border-color 0.12s ease; }
a.gbadge:hover { border-color: var(--blue); }

.stars { color: var(--yellow); letter-spacing: 2px; font-size: 15px; }

.hero-media { position: relative; }

.hero-media image-slot {
  width: 100%;
  height: 460px;
  display: block;
  box-shadow: 0 30px 60px -30px rgba(30, 37, 71, 0.35);
}

/* ── sections ── */
section { padding: 84px 0; }

.sec-head { max-width: 640px; margin-bottom: 48px; }

.sec-head h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.sec-head p { color: var(--ink-soft); font-size: 17.5px; margin: 14px 0 0; }

/* segmentos */
.seg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.seg-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 24px 28px;
  background: #fff;
}

.seg-card .tag {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--orange);
}

.seg-card h3 { font-size: 19px; font-weight: 700; margin: 10px 0 8px; }

.seg-card p { font-size: 15px; color: var(--ink-soft); margin: 0; }

/* produtos */
.prod { background: var(--paper); }

.prod-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.prod-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 10px 14px;
  text-align: center;
  transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}

.prod-card:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  box-shadow: 0 12px 24px -16px rgba(30, 37, 71, 0.35);
}

.prod-card image-slot {
  width: 100%;
  height: 150px;
  display: block;
}

.prod-card span {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
}

.prod-express {
  margin: 32px 0 0;
  font-size: 15.5px;
  color: var(--ink-soft);
}

.prod-express a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.prod-express a:hover { color: var(--teal); }

/* pontos de cor nos cards */
.prod-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  min-height: 14px;
}

.dot {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  border: 1px solid rgba(30, 37, 71, 0.25);
  display: inline-block;
  flex: none;
}

.dot-more {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-left: 2px;
}

.prod-open {
  position: absolute;
  inset: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  border-radius: 14px;
  padding: 0;
}

/* card sem foto: deixa a área da imagem livre para clicar/arrastar a foto;
   o restante do card continua abrindo o modal */
.prod-card:not(:has(image-slot[data-filled])) .prod-open { top: 160px; }

/* durante um arrasto de arquivo, os drops passam direto para o slot de foto */
body.om-dragging .prod-open { pointer-events: none; }

.prod-open:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* modal de detalhe do produto */
.prod-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
}

.prod-modal[hidden] { display: none; }

.prod-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 37, 71, 0.55);
  backdrop-filter: blur(3px);
}

.prod-modal-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  width: min(900px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.45);
}

.prod-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.prod-modal-close:hover { border-color: var(--ink); }

.prod-modal-media {
  background: var(--paper);
  padding: 20px;
  display: grid;
  place-items: stretch;
  min-height: 560px;
  position: sticky;
  top: 0;
  align-self: start;
  max-height: calc(100vh - 48px);
}

.prod-modal-media image-slot {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
}

.prod-modal-info {
  padding: 36px 34px 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.prod-modal-info h3 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.prod-modal-info p {
  font-size: 15.5px;
  color: var(--ink-soft);
  margin: 10px 0 0;
  white-space: pre-line;
}

.prod-modal-info h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 26px 0 10px;
}

.pm-sizes { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }

.pm-specs {
  margin: 0;
  padding-left: 20px;
  font-size: 14.5px;
  color: var(--ink-soft);
  display: grid;
  gap: 4px;
}

.pm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.pm-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 6px 10px;
  border-bottom: 2px solid var(--line);
}

.pm-table td {
  padding: 6px 10px;
  border-bottom: 1px solid var(--line);
}

.pm-table .pm-table-size { font-weight: 700; }

.pm-table tbody tr:nth-child(even) { background: var(--paper); }

.pm-aviso {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
  background: #FFF7E6;
  border: 1px solid #F0DFB4;
  border-radius: 8px;
  padding: 10px 14px;
  margin: 14px 0 0 !important;
  white-space: normal !important;
}

.pm-alerta {
  font-size: 13.5px;
  line-height: 1.55;
  color: #7C1614;
  background: #FDEAE9;
  border: 1px solid #F2C2C0;
  border-radius: 8px;
  padding: 12px 14px;
  margin: 10px 0 0 !important;
  white-space: normal !important;
  display: grid;
  gap: 4px;
}

.pm-alerta[hidden] { display: none; }

.pm-alerta strong {
  font-size: 13px;
  letter-spacing: 0.04em;
}

.pm-size {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 14px;
  font-weight: 600;
}

.pm-cores {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px 14px;
  width: 100%;
}

.pm-cor {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--ink);
}

.pm-home-slot image-slot {
  width: 110px;
  height: 110px;
  display: block;
}

/* ── lightbox (Alguns Trabalhos) ── */
.pf-grid image-slot { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox[hidden] { display: none; }

.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 18, 36, 0.92);
  backdrop-filter: blur(4px);
}

.lb-figure {
  position: relative;
  margin: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 100%;
  max-height: 100%;
}

.lb-figure img {
  max-width: min(1100px, 90vw);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
}

.lb-count {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.8);
}

.lb-close,
.lb-nav {
  position: absolute;
  z-index: 2;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  border-radius: 999px;
  display: grid;
  place-items: center;
  transition: background 0.12s ease;
}

.lb-close:hover,
.lb-nav:hover { background: rgba(255, 255, 255, 0.26); }

.lb-close {
  top: 24px;
  right: 28px;
  width: 48px;
  height: 48px;
  font-size: 28px;
  line-height: 1;
}

.lb-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  font-size: 34px;
  line-height: 1;
}

.lb-prev { left: 28px; }
.lb-next { right: 28px; }

.lightbox.lb-solo .lb-nav,
.lightbox.lb-solo .lb-count { display: none; }

@media (max-width: 600px) {
  .lb-nav { width: 44px; height: 44px; font-size: 26px; }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .lb-close { top: 14px; right: 14px; }
}

.pm-variantes {
  display: flex;
  gap: 8px;
  margin: 14px 0 4px;
  flex-wrap: wrap;
}

.pm-vari-btn {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  cursor: pointer;
  transition: all 0.12s ease;
}

.pm-vari-btn:hover { border-color: var(--ink-soft); }

.pm-vari-btn.is-on {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.prod-modal-info .btn { margin-top: 30px; }

/* técnicas */
.tec { background: var(--paper); }

.tec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.tec-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
}

.tec-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 999px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
}

.tec-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }

.tec-card p { font-size: 15.5px; color: var(--ink-soft); margin: 0; }

/* como funciona */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}

.step {
  counter-increment: step;
  padding: 0 28px 0 0;
  position: relative;
}

.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 14px;
}

.step h3 { font-size: 18.5px; font-weight: 700; margin-bottom: 8px; }

.step p { font-size: 15px; color: var(--ink-soft); margin: 0; }

.steps-cta { margin-top: 48px; display: flex; align-items: center; gap: 18px; }

.steps-cta .hint { font-size: 15px; color: var(--ink-soft); }

/* portfólio */
.pf { background: var(--paper); }

.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pf-grid image-slot { width: 100%; height: 280px; display: block; }

.pf-cta { display: flex; justify-content: center; margin-top: 40px; }

.pf-cta .btn { gap: 11px; }

.ig-icon { width: 20px; height: 20px; flex: none; }

/* avaliações */
.rev-band {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 48px 56px;
}

.rev-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-right: 56px;
  border-right: 1px solid var(--line);
}

.rev-num {
  font-size: clamp(72px, 8vw, 104px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.9;
  color: var(--ink);
}

.rev-score .stars { color: var(--yellow); font-size: 26px; letter-spacing: 3px; margin-top: 14px; }

.rev-google {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
}

.rev-google img { width: 17px; height: 17px; }
.rev-pitch h2 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.rev-pitch p {
  font-size: 17.5px;
  color: var(--ink-soft);
  margin: 16px 0 26px;
  max-width: 52ch;
}

.rev-cta { border-color: var(--ink); }

/* por que */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.why-item h3 {
  font-size: 17.5px;
  font-weight: 700;
  margin-bottom: 8px;
  padding-top: 16px;
  border-top: 3px solid var(--yellow);
}

.why-item:nth-child(2) h3 { border-top-color: var(--blue); }
.why-item:nth-child(3) h3 { border-top-color: var(--red); }
.why-item:nth-child(4) h3 { border-top-color: var(--orange); }

.why-item p { font-size: 15px; color: var(--ink-soft); margin: 0; }

/* CTA final */
.cta-final { background: var(--ink); color: #fff; padding: 0; }

.cta-final-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 48px;
  padding: 64px 0;
}

.cta-mascote img { height: 180px; display: block; }

.cta-final h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
}

.cta-final p { color: #B8BDD4; font-size: 17px; margin: 12px 0 0; max-width: 48ch; }

/* footer */
footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 40px 0 48px;
  font-size: 14px;
  color: var(--ink-soft);
}

.foot-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.foot-inner img { height: 34px; }

.foot-links { display: flex; gap: 22px; }

.foot-links a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 1px;
}

.foot-links a:hover { color: var(--blue); }

.foot-meta { margin-left: auto; text-align: right; line-height: 1.7; }

/* floating whatsapp */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: var(--cta);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px -8px rgba(0, 0, 0, 0.4);
}

.wa-float .wa-icon { width: 28px; height: 28px; }

/* mascot visibility modes */
body[data-mascote="discreto"] .cta-mascote { display: none; }

/* consentimento de cookies */
.cookie-consent {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 80;
  max-width: 384px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 46px -18px rgba(30, 37, 71, 0.45);
  padding: 20px 22px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cookie-consent p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.cookie-actions { display: flex; gap: 10px; }

/* responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding: 48px 0 56px; }
  .hero-media image-slot { height: 340px; }
  .seg-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .prod-modal-card { grid-template-columns: 1fr; }
  .prod-modal-media { min-height: 300px; }
  .prod-modal-media image-slot { min-height: 260px; }
  .tec-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .step + .step { border-left: none; padding-left: 0; }
  .pf-grid { grid-template-columns: repeat(2, 1fr); }
  .rev-band { grid-template-columns: 1fr; gap: 32px; padding: 36px 32px; text-align: center; }
  .rev-score { padding-right: 0; border-right: none; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
  .rev-pitch p { margin-left: auto; margin-right: auto; }
  .cta-final-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-mascote { display: flex; justify-content: center; }
  .topbar nav { display: none; }
}

@media (max-width: 600px) {
  .seg-grid, .why-grid, .steps, .pf-grid { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  section { padding: 60px 0; }
  .cookie-consent { left: 16px; right: 16px; bottom: 88px; max-width: none; }
}
