/* ==========================================================================
   ESSENTIAL BICYCLES — estilo do site público (tema claro)
   O painel de administração continua a usar style.css, sem alterações.
   ========================================================================== */

:root {
  /* Paleta: papel, névoa, tinta, verde Essential e a "noite" das secções escuras */
  --paper: #ffffff;
  --mist: #f2f5f2;
  --line: #e1e8e2;
  --ink: #101a14;
  --ink-soft: #566559;
  --green: #12873a;          /* botões e texto sobre claro (contraste 4.6:1) */
  --green-deep: #0f7a34;
  --green-bright: #3ddc6a;   /* só sobre fundos escuros e linhas decorativas */
  --green-tint: #e5f5ea;
  --night: #0e1511;
  --night-2: #17221b;
  --danger: #c43a3a;

  /* Nomes antigos, mantidos para o HTML que o JavaScript ainda gera */
  --bg: var(--paper);
  --bg-soft: var(--mist);
  --border: var(--line);
  --text: var(--ink);
  --text-muted: var(--ink-soft);
  --accent: var(--green);
  --accent-soft: var(--green-tint);
  --accent-border: rgba(18, 135, 58, 0.3);

  --radius: 8px;
  --r: 8px;                  /* raio único: botões, campos, cartões e fotografias */
  --max-width: 1200px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Montserrat", "Inter", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-hand: "Caveat", "Segoe Script", cursive;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; letter-spacing: -0.015em; }
h1 { font-weight: 800; }
h2 { font-weight: 800; }
h3 { font-weight: 700; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
::selection { background: var(--green-bright); color: var(--night); }

:focus-visible { outline: 3px solid var(--green-bright); outline-offset: 2px; border-radius: 6px; }

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

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid var(--ink);
  border-radius: var(--r);
  padding: 12px 24px;
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  background: var(--paper);
  color: var(--ink);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--ink); color: #fff; }

.btn-primary { background: var(--green); border-color: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }

.btn-light { background: #fff; border-color: #fff; color: var(--night); }
.btn-light:hover { background: var(--green-bright); border-color: var(--green-bright); color: var(--night); }

.btn-ghost-light { background: transparent; border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn-ghost-light:hover { background: #fff; border-color: #fff; color: var(--night); }

.btn-block { display: flex; width: 100%; padding: 15px 22px; font-size: 15px; }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn svg { flex-shrink: 0; }
button:disabled { opacity: 0.6; cursor: not-allowed; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .bar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 74px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { height: 38px; width: auto; display: block; }
.brand-word {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--ink);
}
.brand-word small {
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.52em;
  margin-top: 5px;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; justify-content: center; gap: 30px; flex: 1; }
.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: #33443a;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--green-bright); }

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 8px 24px 22px;
  box-shadow: 0 24px 40px -24px rgba(16, 26, 20, 0.3);
}
.mobile-panel a.mp-link {
  display: block;
  padding: 15px 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.mobile-panel .btn { margin-top: 18px; width: 100%; }
.site-header.menu-open .mobile-panel { display: block; }

@media (max-width: 960px) {
  .main-nav { display: none; }
  .header-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header .bar { height: 66px; gap: 14px; }
}

/* Seletor de idioma */
.lang-dropdown-wrap { position: relative; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 8px 12px 8px 10px;
  cursor: pointer;
  transition: border-color 0.15s;
}
.lang-switch:hover { border-color: var(--green); }
.lang-caret { font-size: 9px; color: var(--ink-soft); }
.flag { width: 20px; height: 14px; border-radius: 3px; display: block; box-shadow: 0 0 0 1px rgba(16, 26, 20, 0.12); }

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 6px;
  box-shadow: 0 18px 36px -12px rgba(16, 26, 20, 0.28);
  z-index: 80;
}
.lang-dropdown.open { display: block; }
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: none;
  border: none;
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  text-align: left;
  padding: 10px 12px;
  border-radius: var(--r);
  cursor: pointer;
}
.lang-option:hover { background: var(--mist); }
.lang-option.active { background: var(--green-tint); color: var(--green-deep); font-weight: 700; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--night); color: #bccabf; padding: 72px 0 28px; font-size: 14.5px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer .brand-word { color: #fff; }
.site-footer .brand-word small { color: #8fa398; }
.footer-about { margin: 18px 0 20px; max-width: 34ch; line-height: 1.6; color: #a9b9ae; }
.footer-col h4 { margin: 0 0 16px; font-size: 14px; font-weight: 700; color: #fff; letter-spacing: 0; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a:hover { color: var(--green-bright); }
.footer-col .muted { color: #8fa398; font-size: 13px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #dfe9e2;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.social-links a:hover { background: var(--green-bright); border-color: var(--green-bright); color: var(--night); }
.footer-bottom {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #8fa398;
}
.footer-bottom a:hover { color: var(--green-bright); }

@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; gap: 32px; } .site-footer { padding-top: 56px; } }

/* ---------- Título de secção ---------- */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; margin-bottom: 36px; }
.section-head h2 { margin: 0; font-size: clamp(26px, 3.4vw, 38px); }
.section-head p { margin: 8px 0 0; color: var(--ink-soft); max-width: 52ch; }
.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 8px;
  letter-spacing: 0.02em;
  font-family: var(--font);
}

/* ---------- Página inicial: hero ---------- */
.home-hero {
  position: relative;
  isolation: isolate;
  background: var(--night);
  color: #fff;
  overflow: hidden;
  padding: 0;
}
.home-hero .photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #0e1511 center / cover no-repeat;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.home-hero.has-photo .photo { opacity: 1; }
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 80% at 82% 38%, rgba(61, 220, 106, 0.2), transparent 70%),
    linear-gradient(90deg, rgba(14, 21, 17, 0.92) 0%, rgba(14, 21, 17, 0.72) 48%, rgba(14, 21, 17, 0.25) 100%);
}
.home-hero.has-photo::before {
  background: linear-gradient(90deg, rgba(14, 21, 17, 0.88) 0%, rgba(14, 21, 17, 0.55) 52%, rgba(14, 21, 17, 0.1) 100%);
}

.hero-route { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-route path {
  fill: none;
  stroke: var(--green-bright);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 2 11;
  opacity: 0.55;
}
.hero-route path.draw { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw-route 2.6s 0.3s ease-out forwards; opacity: 0.75; }
@keyframes draw-route { to { stroke-dashoffset: 0; } }

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 150px;
}
.hero-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-bright); margin: 0 0 18px; }
.home-hero h1 {
  color: #fff;
  font-size: clamp(34px, 4.7vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  max-width: 15ch;
}
.home-hero h1 .hl { color: var(--green-bright); }
.hero-sub { font-size: clamp(16px, 1.6vw, 19px); color: #d3dfd6; max-width: 44ch; margin: 0 0 32px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero-rating { display: none; align-items: center; gap: 10px; font-size: 14px; color: #d3dfd6; }
.hero-rating.show { display: inline-flex; }
.hero-rating .stars { color: var(--green-bright); letter-spacing: 2px; font-size: 16px; }

.hero-stage { position: relative; }
.hero-bike {
  display: block;
  position: relative;
  background: #fff;
  border-radius: var(--r);
  padding: 22px 22px 18px;
  color: var(--ink);
  box-shadow: 0 50px 90px -34px rgba(0, 0, 0, 0.75);
  transform: rotate(1.4deg);
}
.hero-bike-img { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; }
.hero-bike-img img { width: 100%; height: 100%; object-fit: contain; }
.hero-bike-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.hero-bike-meta strong { font-family: var(--font-display); font-size: 16px; font-weight: 700; }
.hero-bike-meta span { font-family: var(--font-display); font-weight: 800; font-size: 20px; white-space: nowrap; }
.frame-tag {
  position: absolute;
  top: -12px;
  left: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--ink);
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.5);
}
.hand-note {
  position: absolute;
  right: -6px;
  bottom: -52px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--font-hand);
  font-size: 34px;
  line-height: 1;
  color: #fff;
  transform: rotate(-5deg);
  pointer-events: none;
}
.home-hero.has-photo .hero-stage { display: none; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; padding-top: 56px; padding-bottom: 130px; }
  .home-hero h1 { max-width: 18ch; }
  .hero-bike { transform: none; max-width: 520px; }
  .hand-note { right: 6px; bottom: -48px; font-size: 30px; }
}

/* ---------- Faixa de confiança ---------- */
.trust { position: relative; z-index: 2; margin-top: -64px; padding: 0 0 8px; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 30px 50px -34px rgba(16, 26, 20, 0.45);
}
.trust-item { display: flex; align-items: center; gap: 14px; padding: 24px 26px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r); background: var(--green-tint); color: var(--green-deep); flex-shrink: 0; }
.trust-item strong { display: block; font-family: var(--font-display); font-size: 15px; font-weight: 700; line-height: 1.25; }
.trust-item div > span { display: block; font-size: 13px; color: var(--ink-soft); line-height: 1.35; margin-top: 2px; }

@media (max-width: 900px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: none; }
  .trust-item:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .trust-item { padding: 18px 18px; }
}
@media (max-width: 520px) {
  .trust { margin-top: -52px; }
  .trust-item { flex-direction: column; align-items: flex-start; gap: 10px; }
  .trust-item div > span { font-size: 12.5px; }
}

/* ---------- Cartões de produto ---------- */
.grid-catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .grid-catalog { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 560px) {
  .grid-catalog { gap: 12px; }
  .card { border-radius: var(--r); }
  .card-body { padding: 14px 14px 16px; gap: 6px; }
  .card-title { font-size: 14.5px; }
  .price-now { font-size: 17px; }
  .price-old { font-size: 12px; }
  .card .btn { padding: 9px 10px; font-size: 13px; margin-top: 10px; }
  .badge-discount { top: 10px; left: 10px; font-size: 11px; padding: 4px 9px; }
}
@media (max-width: 340px) { .grid-catalog { grid-template-columns: 1fr; } }

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.15s;
}
.card:hover { border-color: var(--green); }

.card-image,
.featured-card-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mist);
  overflow: hidden;
}
.card-image { aspect-ratio: 1 / 1; }
.featured-card-image { aspect-ratio: 4 / 3; }
.card-image img,
.featured-card-image img { mix-blend-mode: multiply; }

.badge-discount {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: var(--r);
}
.card-chip {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: var(--r);
  box-shadow: 0 0 0 1px var(--line);
}

.card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 20px 22px 22px; }
.card-title { margin: 0; font-size: 17px; line-height: 1.25; font-weight: 700; }
.color-tag { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }
.color-dot { width: 13px; height: 13px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(16, 26, 20, 0.2); }
.card-code { font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; color: var(--ink-soft); letter-spacing: 0.04em; }

.price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: auto; padding-top: 6px; }
.price-now { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--ink); }
.price-old { font-size: 14px; color: #8a978e; text-decoration: line-through; }
.card .btn { margin-top: 14px; }

/* Cartão grande (destaques da homepage) */
.featured-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.featured-slot { min-width: 0; display: flex; }
.featured-slot > div { display: flex; width: 100%; }
.featured-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.15s;
}
.featured-card:hover { border-color: var(--green); }
.featured-card-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 26px 30px 30px; }
.featured-card-title { margin: 0; font-size: clamp(20px, 2.2vw, 25px); line-height: 1.2; font-weight: 800; }
.featured-card-body .price-row { margin-top: 10px; padding-top: 0; }
.featured-card-body .price-now { font-size: 30px; }
.featured-card-body .btn { margin-top: 18px; align-self: flex-start; }
.featured-card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: var(--r); background: var(--green-tint); color: var(--green-deep); }
.pill-dark { background: var(--ink); color: #fff; font-family: var(--font-mono); font-weight: 600; letter-spacing: 0.04em; }

@media (max-width: 760px) { .featured-grid { grid-template-columns: 1fr; } }

/* ---------- Homepage: porque escolher ---------- */
.why { background: var(--mist); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.why-item .why-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--green-deep); box-shadow: 0 0 0 1px var(--line); margin-bottom: 18px; }
.why-item h3 { margin: 0 0 8px; font-size: 18px; }
.why-item p { margin: 0; color: var(--ink-soft); font-size: 15px; max-width: 28ch; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Banner de chamada ----------
   Sem fotografia: faixa clara e simples (nada de caixa escura vazia).
   Com assets/img/banner.jpg o JavaScript junta a classe .has-photo e passa ao fundo escuro com foto. */
.cta-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--mist);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 48px 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 48px;
  row-gap: 8px;
  align-items: center;
}
.cta-banner::before, .cta-banner .cta-route, .cta-banner .hand { display: none; }
.cta-banner .photo { position: absolute; inset: 0; z-index: -2; background: center / cover no-repeat; }
.cta-banner h2 { grid-column: 1; margin: 0; font-size: clamp(24px, 3vw, 32px); max-width: 30ch; color: var(--ink); text-wrap: balance; }
.cta-banner p { grid-column: 1; margin: 0; color: var(--ink-soft); max-width: 56ch; font-size: 16px; }
.cta-banner .btn-light { grid-column: 2; grid-row: 1 / span 2; background: var(--green); border-color: var(--green); color: #fff; }
.cta-banner .btn-light:hover { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }

.cta-banner.has-photo {
  background: var(--night);
  color: #fff;
  border: 0;
  padding: 72px 64px;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 16px;
  justify-items: start;
}
.cta-banner.has-photo::before {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(50% 120% at 100% 100%, rgba(61, 220, 106, 0.22), transparent 70%);
}
.cta-banner.has-photo .cta-route, .cta-banner.has-photo .hand { display: block; }
.cta-banner.has-photo h2 { color: #fff; font-size: clamp(28px, 4vw, 46px); max-width: 16ch; }
.cta-banner.has-photo p { color: #d0ddd4; max-width: 46ch; font-size: 17px; }
.cta-banner.has-photo .btn-light { grid-column: auto; grid-row: auto; background: #fff; border-color: #fff; color: var(--night); }
.cta-banner.has-photo .btn-light:hover { background: var(--green-bright); border-color: var(--green-bright); color: var(--night); }
.cta-banner .hand { font-family: var(--font-hand); font-size: 34px; color: var(--green-bright); transform: rotate(-3deg); margin-top: 2px; }
.cta-route { position: absolute; right: -40px; bottom: -30px; width: 62%; height: auto; z-index: -1; opacity: 0.6; pointer-events: none; }
.cta-route path { fill: none; stroke: var(--green-bright); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 11; }
@media (max-width: 760px) {
  .cta-banner { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; row-gap: 16px; }
  .cta-banner .btn-light { grid-column: 1; grid-row: auto; justify-self: start; }
  .cta-banner.has-photo { padding: 48px 28px; }
}

/* ---------- Homepage: visita-nos ---------- */
.visit-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: start; }
.visit-grid h2 { margin: 0 0 14px; font-size: clamp(26px, 3.2vw, 36px); }
.visit-grid > div > p { margin: 0 0 8px; color: var(--ink-soft); max-width: 50ch; }
.visit-address { font-weight: 600; color: var(--ink); }
.contact-list { display: grid; gap: 12px; }
.contact-row { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color 0.15s; }
.contact-row:hover { border-color: var(--green); }
.contact-row .ci { display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r); background: var(--green-tint); color: var(--green-deep); flex-shrink: 0; }
.contact-row small { display: block; color: var(--ink-soft); font-size: 12.5px; }
.contact-row strong { font-size: 15px; font-weight: 700; word-break: break-word; }
@media (max-width: 800px) { .visit-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary,
.faq-item > h3 {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  padding: 20px 0;
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 24px; font-weight: 500; color: var(--green); line-height: 1; transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 20px; color: var(--ink-soft); font-size: 15.5px; max-width: 64ch; }
/* FAQ de produto (sem <details>): o texto fica sempre visível */
.faq-item > h3 { cursor: default; padding-bottom: 6px; font-size: 16px; }
.faq-item > h3 + p { margin-top: 0; }

/* ---------- Catálogo ---------- */
.breadcrumb { font-size: 13px; color: var(--ink-soft); margin: 28px 0 22px; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--green); text-decoration: underline; }

.catalog-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.catalog-layout aside { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }

.filter-section { margin-bottom: 26px; }
.filter-group-title { font-family: var(--font-display); font-size: 13.5px; font-weight: 800; color: var(--ink); margin: 0 0 12px; letter-spacing: 0; text-transform: none; }
.filter-checkbox { display: flex; align-items: center; gap: 10px; font-size: 14px; margin-bottom: 10px; cursor: pointer; color: var(--ink); }
.filter-checkbox input { accent-color: var(--green); width: 16px; height: 16px; }
.color-swatch { width: 15px; height: 15px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(16, 26, 20, 0.2); display: inline-block; flex-shrink: 0; }
.price-range-value { font-size: 13.5px; font-weight: 700; color: var(--ink); margin-top: 14px; }
.price-slider { position: relative; height: 20px; margin-top: 6px; }
.price-slider .track { position: absolute; top: 8px; left: 0; right: 0; height: 4px; background: var(--line); border-radius: 2px; }
.price-slider .track-fill { position: absolute; top: 8px; height: 4px; background: var(--green); border-radius: 2px; }
.price-slider input[type="range"] { position: absolute; top: 0; left: 0; width: 100%; margin: 0; height: 20px; background: transparent; -webkit-appearance: none; appearance: none; pointer-events: none; }
.price-slider input[type="range"]::-webkit-slider-thumb { pointer-events: all; -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--green); cursor: pointer; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--green); margin-top: 1px; }
.price-slider input[type="range"]::-moz-range-thumb { pointer-events: all; width: 14px; height: 14px; border-radius: 50%; background: var(--green); cursor: pointer; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--green); }
.price-slider input[type="range"]::-webkit-slider-runnable-track,
.price-slider input[type="range"]::-moz-range-track { background: transparent; height: 4px; }

@media (max-width: 1024px) {
  .catalog-layout { grid-template-columns: 1fr; }
  #catalog-filters-aside { display: none; position: static !important; margin-bottom: 20px; }
  #catalog-filters-aside.open { display: block; }
  #mobile-filters-toggle { display: block !important; }
}

/* ---------- Formulários ---------- */
.field {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  margin-bottom: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
select.field { appearance: auto; }
textarea.field { resize: vertical; }
.field::placeholder { color: #8a978e; }
.field:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(18, 135, 58, 0.15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-msg { font-size: 13.5px; margin: 0 0 10px; min-height: 0; }
.form-msg.error { color: var(--danger); font-weight: 600; }

.reserve-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: 0 24px 40px -32px rgba(16, 26, 20, 0.35); }
.reserve-box h3 { margin: 0 0 16px; font-size: 18px; font-weight: 800; color: var(--ink); text-transform: none; letter-spacing: -0.01em; font-family: var(--font-display); }
.total-row { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 16px; margin: 8px 0 18px; }
.total-row span:first-child { color: var(--ink-soft); font-size: 14px; }
.total-row span:last-child { font-size: 24px; font-weight: 800; font-family: var(--font-display); }
.success-box { text-align: center; padding: 20px; }
.success-box h3 { margin: 0 0 6px; color: var(--green-deep); }
.success-box p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* ---------- Página de produto ---------- */
.product-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; padding-bottom: 56px; align-items: start; }
.product-gallery-main { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; border-radius: var(--r); background: var(--mist); overflow: hidden; }
.product-gallery-main img { mix-blend-mode: multiply; }
.color-switch { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.color-switch a { display: flex; align-items: center; gap: 9px; border: 1.5px solid var(--line); background: #fff; padding: 9px 14px; border-radius: var(--r); font-size: 13.5px; font-weight: 600; color: var(--ink-soft); transition: border-color 0.15s; }
.color-switch a:hover { border-color: #b7c5ba; }
.color-switch a.active { border-color: var(--green); background: var(--green-tint); color: var(--ink); }
.product-desc { color: var(--ink-soft); margin-bottom: 24px; max-width: 62ch; }
.product-eyebrow { font-size: 13px; font-weight: 700; color: var(--green); margin: 0 0 8px; font-family: var(--font); text-transform: none; letter-spacing: 0.01em; }
.product-title { font-size: clamp(26px, 3.2vw, 36px); margin: 0 0 12px; font-weight: 800; }
.product-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 22px; }
.product-price .now { font-size: 38px; font-weight: 800; font-family: var(--font-display); color: var(--ink); letter-spacing: -0.02em; }
.product-price .old { font-size: 18px; color: #8a978e; text-decoration: line-through; }

.spec-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; margin: 32px 0 8px; padding: 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.spec-item { display: flex; justify-content: space-between; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.spec-label { color: var(--ink-soft); font-size: 13.5px; }
.spec-value { color: var(--ink); font-weight: 600; text-align: right; }
@media (max-width: 760px) { .spec-grid { grid-template-columns: 1fr; padding: 6px 20px; } }

#reviews-section { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 8px; }
.review-card { border-radius: var(--r); padding: 20px 22px; margin-bottom: 14px; background: var(--mist); border: none; }

.sticky-buy-bar { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); box-shadow: none; transform: translateY(100%); visibility: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease, visibility 0s linear 0.25s; z-index: 70; }
/* escondida: sem sombra a vazar para o ecrã e fora do alcance do teclado e de leitores de ecrã */
.sticky-buy-bar.visible { transform: translateY(0); visibility: visible; box-shadow: 0 -14px 30px -18px rgba(16, 26, 20, 0.35); transition-delay: 0s; }
.sticky-buy-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 24px; }
.sticky-buy-name { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sticky-buy-price { font-family: var(--font-display); color: var(--ink); font-weight: 800; font-size: 18px; white-space: nowrap; display: flex; align-items: baseline; gap: 8px; }
.sticky-buy-price-old { color: #8a978e; font-weight: 500; font-size: 13px; text-decoration: line-through; }

@media (max-width: 960px) {
  .product-layout { grid-template-columns: 1fr; gap: 28px; }
  .wrap[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; gap: 28px !important; }
}
@media (max-width: 640px) {
  .sticky-buy-name, .sticky-buy-price-old { display: none; }
  .product-gallery-main { border-radius: var(--r); }
  .product-price .now { font-size: 32px; }
}

/* ---------- Páginas legais ---------- */
.legal-hero { border-bottom: 1px solid var(--line); padding-bottom: 32px; margin-bottom: 8px; }
.legal-hero h1 { font-size: clamp(30px, 4vw, 42px); margin: 8px 0 12px; }
.legal-hero p { color: var(--ink-soft); font-size: 14px; margin: 0; }
.legal-section { display: flex; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.legal-section:last-of-type { border-bottom: none; }
.legal-badge { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--green-tint); color: var(--green-deep); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.legal-section h2 { font-size: 18px; margin: 4px 0 10px; }
.legal-section p { margin: 0; color: var(--ink-soft); line-height: 1.75; font-size: 15.5px; max-width: 72ch; }
.legal-section strong { color: var(--ink); }

/* ---------- Aviso de cookies ---------- */
.cookie-banner-mini {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 8px 8px 8px 16px;
  box-shadow: 0 14px 30px -12px rgba(16, 26, 20, 0.4);
  font-size: 13px;
  color: var(--ink-soft);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.cookie-banner-mini.visible { transform: translateY(0); opacity: 1; }
.cookie-banner-mini a { color: var(--green-deep); font-weight: 700; text-decoration: underline; }
.cookie-banner-mini button { font-family: var(--font); font-size: 13px; font-weight: 700; background: var(--green); color: #fff; border: none; border-radius: var(--r); padding: 8px 16px; cursor: pointer; }
.cookie-banner-mini button:hover { background: var(--green-deep); }
.cookie-banner-mini button.cookie-close { background: transparent; color: var(--ink-soft); padding: 8px 10px; }
.cookie-banner-mini button.cookie-close:hover { color: var(--ink); background: var(--mist); }

/* Cartão: botão ocupa a largura toda */
.card .btn { align-self: stretch; }
.featured-card-body .btn { align-self: flex-start; }

/* Pequenos acertos */
.muted-msg { color: var(--ink-soft); font-size: 14px; margin: 0; }
.hero-rating a { display: inline-flex; align-items: center; gap: 10px; }
.visit-address { font-weight: 700; color: var(--ink); }
.featured-card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }

/* Fotos de produto: mostrar a bicicleta inteira, sem cortes */
.card-image img,
.featured-card-image img,
.product-gallery-main img { object-fit: contain !important; }

/* Ícones um pouco maiores */
.trust-icon svg { width: 24px; height: 24px; }
.why-icon svg { width: 26px; height: 26px; }

/* ---------- Categorias do catálogo ---------- */
.cat-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.cat-pill { font-family: var(--font); font-size: 14px; font-weight: 700; padding: 10px 20px; border-radius: var(--r); border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.cat-pill:hover { border-color: var(--green); }
.cat-pill.active { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 560px) { .cat-pills { flex-wrap: nowrap; overflow-x: auto; margin-right: -24px; padding-right: 24px; scrollbar-width: none; } .cat-pills::-webkit-scrollbar { display: none; } .cat-pill { white-space: nowrap; } }

/* ---------- Página de produto (nova estrutura) ---------- */
.product-layout { grid-template-columns: 1.1fr 0.9fr; gap: 56px; padding-bottom: 36px; }
.pgal-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pgal-thumb.active { border-color: var(--green); }
.pgal-thumb:hover { border-color: #9fd3b0; }
.pgal-play { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; }
.product-gallery-main video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.product-gallery-main img { width: 100%; height: 100%; }
.pgal-arrow { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: none; background: #fff; color: var(--ink); box-shadow: 0 6px 18px -6px rgba(16, 26, 20, 0.45); cursor: pointer; }
.pgal-arrow:hover { background: var(--green); color: #fff; }
.pgal-arrow.prev { left: 14px; }
.pgal-arrow.next { right: 14px; }

.pinfo { min-width: 0; }
.eyebrow-code { font-family: var(--font-mono); font-weight: 600; color: var(--ink-soft); letter-spacing: 0.03em; }
.rating-line { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft); margin: 0 0 14px; }
.rating-line:hover span:last-child { text-decoration: underline; }
.rating-line .stars { color: var(--green); letter-spacing: 2px; font-size: 17px; }
.discount-pill { background: var(--green); color: #fff; font-weight: 800; font-size: 13px; padding: 5px 11px; border-radius: var(--r); }
.choose-label { font-family: var(--font-display); font-weight: 700; font-size: 15px; margin: 4px 0 12px; }
.color-switch { gap: 12px; margin: 0 0 22px; }
.color-card { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 96px; padding: 8px 8px 10px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; font-family: var(--font); cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.color-card:hover { border-color: #9fd3b0; }
.color-card.active { border-color: var(--green); background: var(--green-tint); }
.color-card .cc-thumb { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r); background: var(--mist); overflow: hidden; }
.color-card .cc-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.color-dot-lg { width: 26px; height: 26px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(16, 26, 20, 0.25); }
.cc-name { font-size: 12.5px; font-weight: 700; color: var(--ink); }
.cc-sold { font-size: 11px; color: var(--danger); font-weight: 700; margin-top: -4px; }
.color-card.soldout .cc-thumb { opacity: 0.45; }

/* Ficha rápida */
.key-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 0; margin: 8px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ks-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 20px 12px; }
.ks-item + .ks-item { border-left: 1px solid var(--line); }
.ks-icon { color: var(--green); margin-bottom: 4px; }
.ks-item strong { font-family: var(--font-display); font-size: 14px; font-weight: 800; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ks-label { font-size: 12.5px; color: var(--ink-soft); }
@media (max-width: 760px) { .key-specs { grid-template-columns: repeat(2, 1fr); } .ks-item + .ks-item { border-left: none; } .ks-item:nth-child(even) { border-left: 1px solid var(--line); } .ks-item:nth-child(n + 3) { border-top: 1px solid var(--line); } }

/* Separadores */
.tabs-bar { position: sticky; top: 74px; z-index: 50; background: rgba(255, 255, 255, 0.95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); margin-top: 36px; }
.tabs-bar .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 10px; padding-bottom: 10px; }
.tabs-bar .wrap::-webkit-scrollbar { display: none; }
.tabs-bar a { flex-shrink: 0; font-size: 14px; font-weight: 700; padding: 10px 18px; border-radius: var(--r); color: var(--ink-soft); transition: background 0.15s, color 0.15s; }
.tabs-bar a:hover { color: var(--ink); background: var(--mist); }
.tabs-bar a.active { background: var(--green); color: #fff; }
@media (max-width: 960px) { .tabs-bar { top: 66px; } }

.psec { padding: 64px 0; scroll-margin-top: 56px; } /* soma-se ao scroll-padding da página: a secção fica logo abaixo da barra de separadores */
.psec-alt { background: var(--mist); }
.psec h2 { margin: 0 0 24px; font-size: clamp(24px, 3vw, 32px); }
.psec h3 { font-size: 18px; margin: 0 0 14px; }
.pdesc { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; }
.pdesc .product-desc { font-size: 16.5px; line-height: 1.7; color: #3d4d43; margin: 0; max-width: 62ch; }
.pwhy { background: var(--mist); border-radius: var(--r); padding: 28px 30px; align-self: start; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.5; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230f7a34' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center / 14px no-repeat; }
.psec-alt .spec-grid { margin-top: 0; }
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 40px; }
.info-card { display: flex; gap: 14px; align-items: flex-start; padding: 20px 0 0; border-top: 2px solid var(--green); }
.info-card .ic { display: grid; place-items: center; color: var(--green-deep); flex-shrink: 0; margin-top: 1px; }
.info-card h3 { margin: 0 0 6px; font-size: 16px; }
.info-card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
#reviews-section { border-top: none; margin-top: 0; padding-top: 0; }
.psec-alt .review-card { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 20px 0; margin-bottom: 0; }

@media (max-width: 960px) {
  .product-layout { grid-template-columns: 1fr; gap: 28px; }
  .pdesc { grid-template-columns: 1fr; gap: 28px; }
  .info-cards { grid-template-columns: 1fr; }
  .psec { padding: 48px 0; }
}

/* ==========================================================================
   Essential Care, Sobre nós e aviso na página inicial
   ========================================================================== */
.care-hero .hero-inner,
.about-hero .hero-inner { padding-top: 72px; padding-bottom: 88px; }
.about-hero .hero-inner { grid-template-columns: 1fr; }
.about-hero h1 { max-width: 18ch; }

.care-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.care-chip { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px 10px 12px; border-radius: var(--r); background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22); color: #fff; font-size: 14px; font-weight: 600; }
.care-chip svg { color: var(--green-bright); flex-shrink: 0; }

.care-price-card { background: #fff; color: var(--ink); border-radius: var(--r); padding: 32px; box-shadow: 0 50px 90px -34px rgba(0, 0, 0, 0.75); }
.care-price { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 4px; }
.care-price strong { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 6vw, 60px); letter-spacing: -0.03em; line-height: 1; }
.care-price span { font-weight: 700; color: var(--ink-soft); font-size: 18px; }
.care-price-sub { margin: 0 0 22px; color: var(--ink-soft); }
.care-mini { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.care-mini li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; }
.care-mini svg { color: var(--green); flex-shrink: 0; }
.pill-bright { background: rgba(61, 220, 106, 0.16); color: var(--green-bright); }

.care-teaser { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; background: var(--night); color: #fff; border-radius: var(--r); padding: 56px; }
.care-teaser::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 0% 0%, rgba(61, 220, 106, 0.18), transparent 70%); }
.care-teaser h2 { color: #fff; margin: 14px 0 12px; font-size: clamp(26px, 3.6vw, 40px); max-width: 18ch; }
.care-teaser p { margin: 0 0 24px; color: #d0ddd4; max-width: 46ch; font-size: 16.5px; }
.care-teaser-price { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--r); padding: 28px; }
.care-teaser .care-price { margin-top: 0; }
.care-teaser .care-price strong { color: #fff; }
.care-teaser .care-price span { color: #b8c8bd; }
.care-teaser .care-mini li { color: #fff; }
.care-teaser .care-mini svg { color: var(--green-bright); }
@media (max-width: 800px) { .care-teaser { grid-template-columns: 1fr; padding: 36px 26px; border-radius: var(--r); gap: 28px; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step { position: relative; }
.step-num { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--font-display); font-weight: 800; margin-bottom: 16px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 22px; left: 56px; right: -16px; border-top: 2px dotted #9fc9ad; }
.step h3 { margin: 0 0 8px; font-size: 17px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15px; max-width: 26ch; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .step:not(:last-child)::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; gap: 24px; } }

.care-form-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.care-form-wrap h2 { margin: 0 0 12px; font-size: clamp(26px, 3.2vw, 36px); }
.care-form-sub { margin: 0 0 24px; color: var(--ink-soft); max-width: 44ch; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-soft); margin: 4px 0 14px; cursor: pointer; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--green); flex-shrink: 0; }
.consent a { color: var(--green-deep); font-weight: 700; text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 860px) { .care-form-wrap { grid-template-columns: 1fr; gap: 28px; } }

.about-story { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.about-story h2 { font-size: clamp(26px, 3.4vw, 40px); margin: 0 0 18px; max-width: 18ch; }
.about-story p { color: #3d4d43; font-size: 17px; line-height: 1.7; margin: 0 0 14px; max-width: 56ch; }
.hand-card { position: relative; isolation: isolate; overflow: hidden; min-height: 340px; border-radius: var(--r); background: var(--night) center / cover no-repeat; display: grid; place-items: center; padding: 36px; text-align: center; }
.hand-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 100% 100%, rgba(61, 220, 106, 0.25), transparent 70%); }
.hand-card .cta-route { opacity: 0.55; }
.hand-big { font-family: var(--font-hand); font-size: clamp(36px, 5vw, 56px); line-height: 1.05; color: #fff; transform: rotate(-4deg); max-width: 12ch; }
.why-grid.three { grid-template-columns: repeat(3, 1fr); }
.trust-grid.plain { margin-top: 0; }
@media (max-width: 900px) { .about-story { grid-template-columns: 1fr; gap: 32px; } .why-grid.three { grid-template-columns: 1fr; } .hand-card { min-height: 240px; border-radius: var(--r); } }

/* Livro de Reclamações no rodapé (visível em todas as páginas) */
.complaints-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: #dfe9e2; }
.complaints-link:hover { color: var(--green-bright); }

/* Livro de Reclamações Eletrónico + texto de resolução alternativa de litígios (obrigatórios por lei) */
.footer-legal { display: flex; align-items: center; gap: 20px 28px; flex-wrap: wrap; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.complaints-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.complaints-logo img { display: block; height: 40px; width: auto; padding: 4px 8px; background: #fff; border-radius: var(--r); }
.complaints-fallback { display: none; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: var(--r); font-weight: 600; color: #fff; }
.complaints-logo.no-logo .complaints-fallback { display: inline-flex; }
.complaints-logo:hover .complaints-fallback { border-color: var(--green-bright); color: var(--green-bright); }
.ral-text { flex: 1 1 320px; margin: 0; max-width: 72ch; font-size: 13px; line-height: 1.6; color: #a9b9ae; }
.ral-text a { color: #dfe9e2; text-decoration: underline; text-underline-offset: 2px; }
.ral-text a:hover { color: var(--green-bright); }
.footer-legal + .footer-bottom { margin-top: 28px; }

/* Tema Black Friday: preto e amarelo (liga e desliga em site-config.js; o contador vive em partials.js) */
:root { --bf: #ffd23f; --bf-ink: #0a0a0a; }
.theme-bf .site-header { box-shadow: inset 0 4px 0 var(--bf); }
.theme-bf .header-actions .btn-primary { background: var(--bf); border-color: var(--bf); color: var(--bf-ink); }
.theme-bf .header-actions .btn-primary:hover { background: #fff; border-color: #fff; }
.theme-bf .badge-discount, .theme-bf .discount-pill { background: var(--bf-ink); color: var(--bf); letter-spacing: 0.02em; }
.theme-bf .badge-discount::before, .theme-bf .discount-pill::before { content: "BLACK FRIDAY "; font-weight: 700; opacity: 0.85; }

/* faixa fina, em todas as páginas */
.bf-strip { background: var(--bf-ink); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.bf-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 18px; padding-top: 10px; padding-bottom: 10px; font-size: 13.5px; text-align: center; }
.bf-tag { white-space: nowrap; flex-shrink: 0; padding: 3px 10px; border-radius: var(--r); background: var(--bf); color: var(--bf-ink); font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.bf-text { font-weight: 500; color: #e9efe9; }
.bf-link { font-weight: 700; color: var(--bf); text-decoration: underline; text-underline-offset: 3px; }
.bf-link:hover { color: #fff; }

/* contador (versão curta na faixa fina) */
.bf-count { display: inline-flex; gap: 8px; font-family: var(--font-mono); font-weight: 700; color: var(--bf); font-variant-numeric: tabular-nums; }
.bf-unit { display: inline-flex; align-items: baseline; gap: 1px; }
.bf-unit i { font-style: normal; font-weight: 600; font-size: 0.8em; opacity: 0.8; }

/* faixa grande, só no início */
/* etiqueta sobre a foto do topo (só em ecrãs largos; em telemóvel a faixa do topo já diz tudo) */
.bf-hero-chip { position: absolute; right: 2.2%; bottom: 5%; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(10, 10, 10, 0.88); color: #fff; font-size: clamp(11px, 1.05vw, 14.5px); line-height: 1.2; text-decoration: none; box-shadow: 0 8px 22px -10px rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px); transition: transform 0.15s; }
.bf-hero-chip:hover { transform: translateY(-1px); }
.bf-hero-chip b { padding: 5px 12px; border-radius: 999px; background: var(--bf); color: var(--bf-ink); font-family: var(--font-mono); font-size: 0.92em; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.bf-hero-chip span { font-weight: 600; white-space: nowrap; }
@media (max-width: 759px) { .bf-hero-chip { display: none; } }
@media (max-width: 520px) {
  .bf-inner { flex-wrap: nowrap; gap: 8px; padding-top: 8px; padding-bottom: 8px; font-size: 12.5px; }
  .bf-link, .bf-brand { display: none; }  /* o botão e a marca já aparecem logo por baixo / no cabeçalho */
  .bf-text { display: none; }              /* em telemóvel o contador diz tudo */
}

/* ---------- Essential Care / Sobre nós: conteúdo do cliente ---------- */
.care-price-note { margin: 16px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-soft); }
.care-intro-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: start; }
.care-intro-grid h2 { margin: 0 0 20px; font-size: clamp(26px, 3.2vw, 36px); max-width: 20ch; }
.lead-p { color: #3d4d43; font-size: 17px; line-height: 1.7; margin: 0 0 14px; max-width: 62ch; }
.care-notice { background: var(--green-tint); border-radius: var(--r); padding: 30px; }
.care-notice .ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r); background: #fff; color: var(--green-deep); margin-bottom: 16px; }
.care-notice h3 { margin: 0 0 8px; font-size: 18px; }
.care-notice p { margin: 0; color: #2f4a38; font-size: 15.5px; line-height: 1.6; }
.check-list.cols2 { grid-template-columns: 1fr 1fr; column-gap: 48px; row-gap: 18px; }
.check-list.cols2 li { font-size: 16px; }
.psec-alt { background: var(--mist); }
.steps.five { grid-template-columns: repeat(5, 1fr); gap: 22px; }
.steps.five .step:not(:last-child)::after { left: 54px; right: -12px; }
.about-tagline { margin: 22px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--green-deep); }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { background: transparent; border: 0; border-top: 2px solid var(--green); border-radius: 0; padding: 24px 0 0; }
.mv-card h3 { margin: 0 0 12px; font-size: 22px; }
.mv-card p { margin: 0; color: #3d4d43; font-size: 17px; line-height: 1.65; max-width: 60ch; }
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.value-card { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 24px 8px 0 0; }
.value-card .why-icon { display: block; width: 28px; height: 28px; background: none; color: var(--green-deep); margin-bottom: 16px; }
.value-card h3 { margin: 0 0 8px; font-size: 16px; }
.value-card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }
.about-commit { max-width: 760px; }
.about-commit h2 { margin: 0 0 20px; font-size: clamp(26px, 3.2vw, 36px); }
@media (max-width: 1100px) { .values-grid { grid-template-columns: repeat(3, 1fr); } .steps.five { grid-template-columns: repeat(3, 1fr); } .steps.five .step:not(:last-child)::after { display: none; } }
@media (max-width: 900px) { .care-intro-grid { grid-template-columns: 1fr; gap: 28px; } .mv-grid { grid-template-columns: 1fr; } .check-list.cols2 { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .values-grid { grid-template-columns: 1fr 1fr; gap: 14px; } .steps.five { grid-template-columns: 1fr 1fr; } .value-card { padding: 20px 16px; } }
@media (max-width: 460px) { .values-grid, .steps.five { grid-template-columns: 1fr; } }

/* Alvos de toque confortáveis em telemóvel */
.lang-switch { min-height: 40px; }
.footer-col ul { gap: 0; }
.footer-col a { display: inline-block; padding: 8px 0; }
.consent input { width: 22px; height: 22px; }
@media (min-width: 961px) { .footer-col a { padding: 5px 0; } }

/* Acertos visuais */
.care-hero h1 .hl,
.about-hero h1 .hl { display: block; }
.care-hero h1, .about-hero h1 { max-width: 20ch; text-wrap: balance; }
.about-commit { max-width: var(--max-width); }
.about-commit > * { max-width: 760px; }

/* Cabeçalho em ecrãs pequenos de Android (320–480 px): tudo cabe sem cortes */
@media (max-width: 480px) {
  .site-header .bar { padding: 0 14px; gap: 8px; }
  .brand { gap: 8px; }
  .brand-mark { height: 32px; }
  .brand-word { font-size: 15.5px; letter-spacing: 0.04em; }
  .brand-word small { font-size: 6.5px; letter-spacing: 0.46em; margin-top: 4px; }
  .header-actions { gap: 8px; }
  .lang-switch { padding: 8px 10px 8px 8px; gap: 6px; }
  .menu-toggle { width: 42px; height: 42px; }
  .mobile-panel { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 340px) { .lang-caret { display: none; } .brand-word small { display: none; } }

/* O aviso de cookies sobe quando a barra de compra do produto está visível */
body.has-sticky-bar .cookie-banner-mini { bottom: 84px; }

/* Catálogo: ordenação e contagem quebram linha em ecrãs muito estreitos */
.sort-controls { flex-wrap: wrap; max-width: 100%; }
.sort-controls select { max-width: 100%; }
@media (max-width: 400px) { .sort-controls { width: 100%; } .sort-controls select { flex: 1 1 100%; } }

/* ---------- Avaliações no Google ---------- */
.greviews { background: var(--mist); padding-top: 72px; padding-bottom: 72px; margin-top: 24px; }
.greviews[hidden] { display: none; }
.greviews-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; margin-bottom: 36px; }
.greviews-head h2 { margin: 0; font-size: clamp(28px, 3.6vw, 40px); text-wrap: balance; }
.greviews-score { display: inline-flex; align-items: center; gap: 14px; }
.greviews-score strong { font-family: var(--font-display); font-weight: 800; font-size: 52px; line-height: 1; }
.gr-score-meta { text-align: left; }
.greviews-score .stars { display: block; color: var(--green); letter-spacing: 3px; font-size: 20px; line-height: 1.1; }
.greviews-score small { display: block; color: var(--ink-soft); font-size: 13.5px; margin-top: 3px; }

.gr-carousel { position: relative; }
.greviews-list { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 18px; scroll-padding-left: 2px; }
.greviews-list::-webkit-scrollbar { display: none; }
.greviews-list:empty { display: none; }
.greviews-list:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: var(--r); }
.gr-card { flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; margin: 0; background: #fff; border-radius: 14px; padding: 28px 26px 24px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 1px 2px rgba(16, 26, 20, 0.05), 0 10px 28px -16px rgba(16, 26, 20, 0.22); }
.gr-card .stars { color: var(--green); letter-spacing: 3px; font-size: 17px; }
.gr-card blockquote { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--ink); flex: 1; }
.gr-card figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.gr-avatar { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.gr-who { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.gr-who strong { font-size: 15px; color: var(--ink); }
.gr-who small { font-size: 12.5px; color: var(--ink-soft); }

.gr-nav { position: absolute; top: calc(50% - 22px); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 18px -8px rgba(16, 26, 20, 0.35); z-index: 2; }
.gr-nav:hover:not(:disabled) { border-color: var(--green); color: var(--green); }
.gr-nav:disabled { opacity: 0.35; cursor: default; }
.gr-nav:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.gr-prev { left: -20px; } .gr-next { right: -20px; }
.greviews.no-scroll .gr-nav { display: none; }

.gr-source { text-align: center; color: var(--ink-soft); font-size: 13.5px; margin: 6px auto 0; max-width: 60ch; }
.greviews-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.greviews-actions .btn[hidden] { display: none; }
@media (max-width: 900px) {
  .greviews { padding-top: 52px; padding-bottom: 52px; }
  .gr-card { flex-basis: calc((100% - 20px) / 2); }
  .gr-nav { display: none; }
}
@media (max-width: 600px) {
  .greviews-score strong { font-size: 44px; }
  .gr-card { flex-basis: 84%; padding: 24px 22px 20px; }
  .greviews-list { margin-right: -20px; padding-right: 20px; }
}

/* Título principal do catálogo (era um h2) */
.section-head h1 { margin: 0; font-size: clamp(26px, 3.4vw, 38px); }

/* Acertos de alinhamento dos ícones */
.footer-col .social-links a { display: flex; padding: 0; }
.ks-icon { display: block; line-height: 0; margin-bottom: 8px; }

/* ---------- Estrelas em quadrados (página de produto) ---------- */
:root { --star-box: var(--green); --star-empty: #d8dfda; }
.sboxes { display: inline-flex; gap: 3px; vertical-align: middle; line-height: 0; }
.sbox { display: grid; place-items: center; width: 24px; height: 24px; background: linear-gradient(90deg, var(--star-box) var(--fill), var(--star-empty) var(--fill)); }
.sbox svg { width: 17px; height: 17px; fill: #fff; }
.sboxes.sm .sbox { width: 20px; height: 20px; }
.sboxes.sm .sbox svg { width: 14px; height: 14px; }
.rating-line { gap: 12px; }

/* ---------- Formulário-modelo de livre resolução (no fim dos Termos) ---------- */
.legal-annex { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }
.legal-annex h2 { font-size: 22px; margin: 0 0 8px; }
.legal-section[id] { scroll-margin-top: 100px; }
.ret-form { background: #fff; border: 1.5px dashed #9fb3a5; border-radius: var(--r); padding: 26px 28px; margin-top: 14px; }
.ret-form ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: 15px; line-height: 1.6; color: #25352c; }
.ret-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.reserve-note { margin: 12px 0 0; font-size: 13px; color: var(--ink-soft); text-align: center; }
.reserve-note a { color: var(--green-deep); font-weight: 700; text-decoration: underline; }
@media print {
  body * { visibility: hidden; }
  #ret-form, #ret-form * { visibility: visible; }
  #ret-form { position: absolute; left: 0; top: 0; width: 100%; border: none; }
}

/* ---------- Galeria do produto: miniaturas na vertical, à esquerda da foto principal ---------- */
.pgal { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: stretch; min-width: 0; }
.pgal.has-thumbs { grid-template-columns: 76px minmax(0, 1fr); }
.pgal .product-gallery-main { align-self: start; }
.pgal-thumbs { position: relative; min-height: 0; }
/* a coluna nunca fica mais alta do que a foto principal: se houver muitas fotos, desliza */
.pgal-thumbs-scroll { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; padding: 2px; }
.pgal-thumb { flex: 0 0 auto; width: 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: var(--r); background: var(--mist); overflow: hidden; cursor: pointer; display: grid; place-items: center; transition: border-color 0.15s; }
@media (max-width: 1180px) { .pgal.has-thumbs { grid-template-columns: 64px minmax(0, 1fr); } .pgal-thumb { width: 56px; height: 56px; border-radius: var(--r); } }
@media (min-width: 600px) {
  .pgal.many.has-thumbs { grid-template-columns: 60px minmax(0, 1fr); }
  .pgal.many .pgal-thumb { width: 52px; height: 52px; border-radius: var(--r); }
}
/* em telemóvel (como na referência): fotos pequenas numa fila por baixo da foto principal */
@media (max-width: 599px) {
  .pgal.has-thumbs { grid-template-columns: minmax(0, 1fr); }
  .pgal-thumbs { order: 2; position: static; min-width: 0; }
  .pgal-thumbs-scroll { position: static; flex-direction: row; overflow-x: auto; overflow-y: hidden; padding: 2px 2px 6px; }
  .pgal-thumb { width: 62px; height: 62px; }
}


/* ==========================================================================
   Pedidos do cliente: página inicial, catálogo e Essential Care
   ========================================================================== */

/* ---- Topo: foto + nota manuscrita; barra de confiança plana por baixo ---- */
.home-hero .hero-inner { padding-bottom: 104px; }
.hero-hand { display: none; }
.home-hero.has-photo .hero-hand {
  display: block; position: absolute; top: 30px; right: max(24px, calc((100% - 1200px) / 2 + 24px));
  font-family: var(--font-hand); font-size: 40px; line-height: 1; color: #fff; transform: rotate(-6deg); pointer-events: none;
}
.home-hero.has-photo .hero-hand::after { content: ""; display: block; height: 4px; width: 80%; margin: 6px 0 0 auto; background: var(--green-bright); border-radius: 4px; transform: rotate(-2deg); }
.home-hero.has-photo::before { background: linear-gradient(90deg, rgba(14, 21, 17, 0.82) 0%, rgba(14, 21, 17, 0.42) 52%, rgba(14, 21, 17, 0.05) 100%); }
.catalog-hero .hero-inner { grid-template-columns: 1fr; padding-top: 72px; padding-bottom: 80px; }
.catalog-hero h1 { max-width: 20ch; }

.trust { margin-top: 0; padding: 0; background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { background: transparent; border: none; border-radius: 0; box-shadow: none; }
.trust-item { padding: 18px 20px; }
.trust-icon { width: 40px; height: 40px; border-radius: var(--r); }
@media (max-width: 520px) { .home-hero .hero-inner { padding-bottom: 72px; } .home-hero.has-photo .hero-hand { font-size: 28px; top: 16px; } }

/* ---- Catálogo: linha com categorias e ordenação ---- */
.catalog-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin: 28px 0 24px; }
.catalog-bar .cat-pills { margin: 0; }
@media (max-width: 560px) { .catalog-bar { flex-direction: column; align-items: stretch; margin-top: 20px; } .catalog-bar .cat-pills { margin-right: 0; padding-right: 0; } .catalog-bar .sort-controls { justify-content: space-between; } }

/* ---- Cartões: autonomia e roda ---- */
.card-specs { display: flex; gap: 10px; padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line); }
.card-specs .cs { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
.card-specs .cs-ic { color: var(--green); line-height: 0; margin-bottom: 2px; }
.card-specs .cs strong { font-family: var(--font-display); font-weight: 800; font-size: 13px; line-height: 1.25; max-width: 100%; overflow-wrap: anywhere; }
.card-specs .cs span:last-child { font-size: 11.5px; color: var(--ink-soft); }

/* ---- Modelo em destaque ---- */
.spot-section { padding: 56px 0 16px; }
.spot { display: grid; grid-template-columns: 1.05fr 0.95fr; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.spot-photo { position: relative; display: flex; align-items: center; justify-content: center; background: var(--mist); min-height: 440px; }
.spot-photo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 28px; }
.spot-photo.cover img { position: absolute; inset: 0; object-fit: cover; mix-blend-mode: normal; padding: 0; }
.spot-tag { position: absolute; top: 18px; left: 18px; z-index: 1; background: var(--night); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 7px 12px; border-radius: 8px; }
.spot-info { padding: 40px 44px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.spot-eyebrow { margin: 0; font-size: 13px; font-weight: 700; color: var(--green); }
.spot-code { font-family: var(--font-mono); color: var(--ink-soft); letter-spacing: 0.03em; }
.spot-title { margin: 0; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; }
.spot-desc { margin: 0; color: var(--ink-soft); font-size: 16.5px; line-height: 1.6; max-width: 46ch; }
.spot-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spot-spec { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; min-width: 0; }
.spot-ic { color: var(--green); line-height: 0; margin-bottom: 4px; }
.spot-spec strong { font-family: var(--font-display); font-weight: 800; font-size: 14px; line-height: 1.25; max-width: 100%; overflow-wrap: anywhere; }
.spot-spec span:last-child { font-size: 12px; color: var(--ink-soft); }
.spot-buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.spot-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.spot-price .now { font-family: var(--font-display); font-weight: 800; font-size: 40px; letter-spacing: -0.02em; }
.spot-price .old { font-size: 17px; color: #8a978e; text-decoration: line-through; }
.spot-ratings { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.spot-stars { display: inline-flex; align-items: center; gap: 8px; }
.spot-stars small { font-size: 12.5px; color: var(--ink-soft); }
.spot-cta { align-self: flex-start; padding: 14px 32px; }
.spot-colors { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 13px; font-weight: 700; }
.spot-color { width: 46px; height: 36px; border-radius: var(--r); background: var(--mist); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.spot-color img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.spot-color i { width: 18px; height: 18px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(16, 26, 20, 0.25); }
@media (max-width: 900px) {
  .spot-section { padding-top: 40px; }
  .spot { grid-template-columns: minmax(0, 1fr); border-radius: var(--r); }
  .spot-photo { min-height: 300px; }
  .spot-info { padding: 26px 22px 30px; }
  .spot-specs { grid-template-columns: repeat(2, 1fr); gap: 16px 8px; }
  .spot-price .now { font-size: 34px; }
  .spot-cta { align-self: stretch; text-align: center; }
}

/* ---- "Porque escolher": faixa compacta ---- */
.why.why-strip { background: #fff; padding: 44px 0 20px; }
.why-strip .section-head { justify-content: center; text-align: center; margin-bottom: 22px; }
.why-strip .section-head h2 { font-size: clamp(22px, 2.8vw, 30px); }
.why-strip .why-grid { gap: 14px; }
.why-strip .why-item { display: flex; gap: 16px; align-items: flex-start; background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 20px 8px 0 0; }
.why-strip .why-item .why-icon { margin: 0; flex-shrink: 0; width: 46px; height: 46px; background: var(--green-tint); box-shadow: none; }
.why-strip .why-item h3 { font-size: 15.5px; margin: 0 0 2px; }
.why-strip .why-item p { font-size: 13.5px; line-height: 1.4; max-width: none; }

/* ---- Essential Care: cartão do preço, vantagens e passos ---- */
.care-card-list { margin: 0 0 22px; }
.care-card-list li { align-items: flex-start; font-weight: 600; }
.care-card-list svg { margin-top: 2px; }
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 40px; }
.adv-card { padding: 20px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: row; align-items: flex-start; gap: 16px; }
.adv-card .ic { display: grid; place-items: center; color: var(--green-deep); flex-shrink: 0; margin-top: 2px; }
.adv-card p { margin: 0; font-size: 15.5px; line-height: 1.6; color: #2d3d33; }
.care-steps { display: grid; gap: 0; max-width: 760px; }
/* Passo sem fotografia: número + texto numa linha temporal. Com foto (classe .has-photo): duas colunas. */
.cstep { position: relative; padding-bottom: 40px; }
.cstep:last-child { padding-bottom: 0; }
.cstep:not(.has-photo) .cstep-media { display: none; }
.cstep:not(.has-photo) .cstep-body { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 24px; align-items: start; position: relative; }
.cstep:not(.has-photo) .cstep-num { grid-row: 1 / span 2; margin: 0; }
.cstep:not(.has-photo):not(:last-child) .cstep-body::before { content: ""; position: absolute; left: 23px; top: 56px; bottom: -32px; width: 2px; background: var(--line); }
.cstep.has-photo { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; margin: 0 0 24px; padding-bottom: 0; }
.care-steps:has(.cstep.has-photo) { max-width: none; gap: 24px; }
.cstep.reverse .cstep-media { order: 2; }
.cstep-media { position: relative; min-height: 240px; border-radius: var(--r); display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, var(--green-tint), #f7fbf8) center / cover no-repeat; }
.cstep-media svg { width: 74%; max-width: 330px; height: auto; }
.cstep-media.has-photo svg { display: none; }
.cstep-num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 18px; margin-bottom: 14px; }
.cstep h3 { font-size: 22px; margin: 0 0 8px; }
.cstep p { margin: 0; color: var(--ink-soft); font-size: 16.5px; line-height: 1.65; max-width: 46ch; }
@media (max-width: 860px) {
  .cstep.has-photo { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .cstep.reverse .cstep-media { order: 0; }
  .cstep-media { min-height: 190px; }
  .adv-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .adv-grid { grid-template-columns: 1fr; } }
.catalog-hero .hero-inner { padding-top: 56px; padding-bottom: 64px; }
@media (max-width: 560px) { .catalog-bar { flex-wrap: nowrap; } .catalog-bar > * { min-width: 0; max-width: 100%; } }


/* Dados do cartão: texto empilhado; em telemóvel, uma lista vertical (cartões estreitos) */
.card-specs .cs-txt { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; }
.card-specs .cs-txt span { font-size: 11.5px; color: var(--ink-soft); }
@media (max-width: 560px) {
  .card-specs { flex-direction: column; gap: 9px; }
  .card-specs .cs { flex-direction: row; align-items: center; text-align: left; gap: 9px; }
  .card-specs .cs-ic { margin: 0; flex-shrink: 0; }
  .card-specs .cs-txt { align-items: flex-start; gap: 0; }
  .card-specs .cs strong { font-size: 12.5px; }
}


/* ==========================================================================
   Topo com foto inteira: início, catálogo e Essential Care (iguais entre si)
   ========================================================================== */
.img-hero { position: relative; background: var(--night); padding: 0; overflow: hidden; line-height: 0; }
.img-hero-frame { position: relative; max-width: 1920px; margin: 0 auto; }
.img-hero-img { display: block; width: 100%; height: auto; }
/* texto real da página: escondido por cima da foto (leitores de ecrã e Google) e só aparece se a foto faltar */
.img-hero:not(.no-image) .img-hero-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.img-hero.no-image { line-height: normal; }
.img-hero.no-image .img-hero-frame, .img-hero.no-image .hero-cta-mobile { display: none; }

/* botão por cima do botão vazio da foto da página inicial (posição em % da imagem) */
.img-hero-cta { position: absolute; left: 4.74%; top: 61.66%; width: 12.92%; height: 7.33%; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--green); color: #fff; font-family: var(--font-body); font-weight: 700; font-size: clamp(11px, 1.12vw, 18px); line-height: 1.2; text-decoration: none; box-shadow: 0 8px 22px -10px rgba(0, 0, 0, 0.7); transition: background 0.15s, transform 0.15s; }
.img-hero-cta:hover { background: var(--green-deep); transform: translateY(-1px); }
.img-hero-rating { position: absolute; left: 2.8%; top: 84.4%; }
.hero-cta-mobile { display: none; background: var(--night); padding: 16px 20px 22px; line-height: normal; }
@media (max-width: 759px) {
  .img-hero-cta, .img-hero-rating { display: none !important; }
  .hero-cta-mobile { display: block; }
}

/* Essential Care: o cartão do preço fica logo por baixo da foto */
.care-intro-grid { align-items: start; }
.care-intro-grid .care-price-card { box-shadow: 0 30px 60px -34px rgba(16, 26, 20, 0.45); border: 1px solid var(--line); }
.care-intro-grid .care-notice { margin-top: 28px; }

@media (max-width: 900px) { .care-intro-grid .care-price-card { order: -1; } }


/* ==========================================================================
   Topos com foto: todos do mesmo tamanho (proporção 9:4), mais pequenos e com cantos redondos
   ========================================================================== */
.img-hero { background: transparent; padding: 22px 24px 22px; overflow: visible; }
.img-hero-frame { max-width: 1280px; aspect-ratio: 9 / 4; border-radius: var(--r); overflow: hidden; background: var(--night); }
.img-hero-img { height: 100%; object-fit: cover; }
.img-hero.no-image { padding: 0; background: var(--night); }
/* botão sobre a foto da página inicial (posição em % da foto já recortada) */
.img-hero-cta { left: 2.77%; width: 13.46%; }
.img-hero-rating { left: 2.2%; }
.hero-cta-mobile { background: transparent; padding: 12px 0 0; }
@media (max-width: 759px) { .img-hero { padding: 12px 12px 14px; } .img-hero-frame { border-radius: var(--r); } }

/* Cartão da história (Sobre nós) com fotografia */
.hand-card.has-photo { min-height: 0; aspect-ratio: 1 / 1; background-size: cover; background-position: center; }
.hand-card.has-photo::before, .hand-card.has-photo .cta-route, .hand-card.has-photo .hand-big { display: none; }

/* Destaque da página inicial: a foto da bicicleta aparece inteira (coluna da foto larga, texto compacto) */
.spot { grid-template-columns: 1.45fr 1fr; }
.spot-info { padding: 28px 32px; gap: 11px; }
.spot-title { font-size: clamp(24px, 2.5vw, 32px); }
.spot-desc { font-size: 15px; }
.spot-specs { padding: 12px 0; }
.spot-price .now { font-size: 34px; }
.spot-photo.cover img { object-position: 50% 50%; }
@media (max-width: 1000px) {
  .spot { grid-template-columns: minmax(0, 1fr); }
  .spot-photo { min-height: 0; aspect-ratio: 5 / 4; }
  .spot-info { padding: 26px 22px 30px; }
  .spot-specs { grid-template-columns: repeat(2, 1fr); gap: 16px 8px; }
  .spot-cta { align-self: stretch; text-align: center; }
}


/* Ligações para secções (ex: Ajuda → perguntas frequentes): deixam espaço para o cabeçalho fixo */
html { scroll-padding-top: 96px; }
@media (max-width: 760px) { html { scroll-padding-top: 84px; } }

/* Aviso legal por baixo do botão de reservar (informativo, não bloqueia a reserva) */
.reserve-legal { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-soft); text-align: center; }
.reserve-legal a { color: var(--green-deep); font-weight: 700; text-decoration: underline; }


/* ---------- Produto ainda sem fotografia ---------- */
.photo-ph {
  width: 100%; height: 100%;
  display: grid; place-content: center; justify-items: center; gap: 12px;
  background: var(--mist);
  background: color-mix(in srgb, var(--ph-tone, #9aa79e) 4%, var(--mist));
  color: var(--ink-soft);
  text-align: center;
}
.photo-ph img { width: min(46%, 220px); height: auto; filter: grayscale(1); opacity: 0.22; mix-blend-mode: normal; }
.photo-ph span { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.card-image .photo-ph span, .featured-card-image .photo-ph span { font-size: 12px; }
.product-gallery-main .photo-ph { position: absolute; inset: 0; }

.btn:active { transform: translateY(1px); }
.btn-primary:active { background: #0b6228; border-color: #0b6228; }

/* ---------- Página não encontrada (404.html e produto inexistente) ---------- */
.nf { max-width: 640px; margin: 0 auto; text-align: center; padding: 72px 24px 88px; }
.nf .hand-big { color: var(--green-deep); transform: rotate(-3deg); margin: 0 auto 8px; font-size: 44px; max-width: none; }
.nf h1 { font-size: clamp(30px, 5vw, 44px); margin: 0 0 14px; }
.nf p { color: var(--ink-soft); margin: 0 auto 28px; max-width: 46ch; }
.nf-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 520px) { .nf { padding: 48px 20px 64px; } .nf-actions .btn { width: 100%; justify-content: center; } }

/* ===== Carrinho e obrigado ===== */
.cart-page { padding: 40px 0 90px; }
.cart-page h1 { margin: 0 0 24px; font-family: var(--font-display); letter-spacing: -0.02em; }
.cart-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.85fr); gap: 28px; align-items: start; }
@media (max-width: 860px) { .cart-grid { grid-template-columns: 1fr; } }
.cart-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: 0 24px 40px -32px rgba(16, 26, 20, 0.3); }
.cart-card h2 { margin: 0 0 16px; font-size: 17px; font-weight: 800; font-family: var(--font-display); text-transform: none; letter-spacing: -0.01em; }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; }
.cart-item img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; background: var(--bg-soft); }
.cart-item h3 { margin: 0 0 4px; font-size: 16px; }
.cart-price { font-weight: 800; white-space: nowrap; }
.cart-price s { display: block; color: var(--ink-soft); font-weight: 500; font-size: 13px; }
.cart-colors { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 4px; }
.cart-color { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 99px; background: #fff; font: 600 13px var(--font-body, inherit); cursor: pointer; }
.cart-color i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); }
.cart-color[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.cart-color:disabled { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.cart-remove { all: unset; cursor: pointer; font-size: 13px; color: var(--ink-soft); text-decoration: underline; margin-top: 10px; display: inline-block; }
.cart-remove:focus-visible, .cart-color:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cart-extras { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 18px; }
.cart-extra { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; cursor: pointer; }
.cart-extra input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); }
.cart-extra b { display: block; font-size: 14px; } .cart-extra span { color: var(--ink-soft); font-size: 13px; }
.cart-extra .cart-price { margin-left: auto; }
.cart-sum .row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.cart-sum .row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; font-size: 18px; font-weight: 800; }
.cart-sum .muted { color: var(--ink-soft); }
.cart-form { display: flex; flex-direction: column; gap: 12px; margin: 18px 0; }
.cart-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-soft); line-height: 1.45; }
.cart-consent input { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.cart-secure { font-size: 12.5px; color: var(--ink-soft); text-align: center; margin: 12px 0 0; }
.cart-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cart-alert { background: #fff6e5; border: 1px solid #f0d9a8; color: #6b4a00; border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; font-size: 14px; }
.cart-empty { text-align: center; padding: 60px 0; }
.ty-box { max-width: 560px; margin: 0 auto; text-align: center; padding: 56px 0 90px; }
.ty-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px; background: var(--accent-soft); color: var(--accent); font-size: 30px; }
.ty-icon.wait { background: #fff6e5; color: #b07a00; } .ty-icon.bad { background: #fdecec; color: #b3261e; }
.ty-box h1 { margin: 0 0 10px; font-family: var(--font-display); }
.ty-box p { color: var(--ink-soft); line-height: 1.6; }
.ty-actions { display: flex; gap: 10px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.cart-pay-opts { border: 0; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 10px; }
.cart-pay-opts legend { font: 800 15px var(--font-display); padding: 0; margin-bottom: 10px; }
.cart-opt { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; background: #fff; }
.cart-opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.cart-opt input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.cart-opt b { display: block; font-size: 14.5px; } .cart-opt small { display: block; color: var(--ink-soft); font-size: 12.5px; line-height: 1.4; margin-top: 2px; }
.cart-opt:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
