/* ============================================================
   Celina Noro · Protótipo · Folha de estilos pública
   Paleta oficial (orçamento): Roxo #6F0B93 · Azul #142850 ·
   Blush #E4B7C5 · Lilás #C8B6FF · Creme #F7F3F0 · Branco #FDFDFD
   Tipografia: Playfair Display (títulos) + Jost (texto)
   ============================================================ */

:root {
  /* Cores da identidade acordada no orçamento */
  --purple:      #6F0B93;
  --navy:        #142850;
  --blush:       #E4B7C5;
  --periwinkle:  #C8B6FF;
  --paper:       #FDFDFD;

  --purple-700:  #57076F;
  --purple-900:  #3B0650;
  --plum:        #142850; /* azul-escuro da paleta como cor secundária */
  --purple-soft: #ECE6FF; /* tinta de lilás #C8B6FF */
  --purple-tint: #F3EFFF; /* tinta de lilás #C8B6FF */
  --cream:       #F7F3F0;
  --cream-2:     #EFE7DF;
  --nude:        #E7D3C4;
  --nude-deep:   #C9A98F;
  --gold:        #C9A24B;
  --gold-deep:   #A9822F;
  --red:         #C0243B; /* asterisco de campo obrigatório e mensagens de erro */
  --ink:         #241826;
  --body:        #4A4048;
  --muted:       #8A7F88;
  --line:        #ECE3EC;
  --white:       #FDFDFD;

  --serif: "Playfair Display", Georgia, serif;
  --sans:  "Jost", "Segoe UI", system-ui, sans-serif;

  --radius:   14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --shadow:    0 18px 44px -24px rgba(59, 6, 80, .35);
  --shadow-sm: 0 8px 24px -16px rgba(59, 6, 80, .4);
  --wrap: 1240px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
/* O atributo hidden tem de vencer sempre as regras .display de componentes
   (senão overlays com opacity:0 ficam a intercetar cliques → menu "não funciona") */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: .2px; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
img, svg { max-width: 100%; display: block; }
/* Fotos reais de produto (product_photo) partilham a classe .bphoto dos placeholders */
img.bphoto { width: 100%; height: auto; object-fit: cover; background: #fff; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 600; color: var(--purple);
}
.eyebrow .ico { color: var(--gold); }
.ico { flex: none; }
.hide-sm { display: inline-flex; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 500; font-size: .92rem; letter-spacing: .02em;
  padding: 13px 26px; border-radius: 50px; border: 1.5px solid transparent;
  transition: all .25s var(--ease); text-align: center; white-space: nowrap;
}
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 10px 24px -12px var(--purple); }
.btn-primary:hover { background: var(--purple-700); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-deep); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--purple); border-color: var(--purple); }
.btn-outline:hover { background: var(--purple); color: #fff; }
.btn-ghost { background: var(--cream); color: var(--ink); }
.btn-ghost:hover { background: var(--nude); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--cream); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: .82rem; }
.btn-lg { padding: 16px 34px; font-size: 1rem; }

/* ---------- Barra de anúncio ---------- */
.announce {
  background: linear-gradient(90deg, var(--plum), var(--purple));
  color: #fff; font-size: .8rem; letter-spacing: .02em; overflow: hidden;
}
.announce-track {
  display: flex; gap: 60px; justify-content: center; align-items: center;
  padding: 9px 24px; flex-wrap: wrap;
}
.announce-track span { display: inline-flex; align-items: center; gap: 8px; opacity: .95; }
.announce-track .ico { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 10px 30px -22px rgba(59,6,80,.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 82px; }
.brand { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.brand.brand-logo-mode { justify-content: center; }
.brand-logo { display: block; height: 44px; width: auto; max-width: 200px; object-fit: contain; }
.footer-logo { height: 120px; max-width: 220px; margin-bottom: 4px; }
.mobile-nav-head .brand-logo { height: 36px; }
.brand-name { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--ink); letter-spacing: .5px; }
.brand-name.light { color: #fff; }
.brand-tag { font-size: .58rem; letter-spacing: .42em; text-transform: uppercase; color: var(--gold-deep); margin-top: 3px; padding-left: .42em; }

.main-nav ul { display: flex; gap: 34px; }
.main-nav a {
  position: relative; font-size: .82rem; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink); padding: 6px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--purple); transition: width .28s var(--ease);
}
.main-nav a:hover, .main-nav a.is-active { color: var(--purple); }
.main-nav a:hover::after, .main-nav a.is-active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent;
  color: var(--ink); transition: background .2s var(--ease), color .2s var(--ease);
}
.icon-btn:hover { background: var(--purple-soft); color: var(--purple); }
.pill {
  position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--purple); color: #fff; border-radius: 50px; font-size: .64rem;
  font-weight: 600; display: flex; align-items: center; justify-content: center;
}
.burger { display: none; }

/* ---------- Pesquisa ---------- */
.search-bar { border-top: 1px solid var(--line); background: #fff; padding: 18px 0; }
.search-form { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--purple); padding-bottom: 10px; color: var(--purple); }
.search-form input { flex: 1; border: 0; outline: 0; font-family: var(--sans); font-size: 1.1rem; color: var(--ink); background: transparent; }
.search-hints { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; font-size: .82rem; color: var(--muted); align-items: center; }
.search-hints a { color: var(--purple); background: var(--purple-soft); padding: 4px 12px; border-radius: 50px; }
.search-hints a:hover { background: var(--purple); color: #fff; }

/* ---------- Overlays / Drawers ---------- */
.drawer-overlay { position: fixed; inset: 0; background: rgba(36,10,45,.5); backdrop-filter: blur(2px); z-index: 80; opacity: 0; transition: opacity .26s var(--ease); }
.drawer-overlay.is-open { opacity: 1; }

.mobile-nav, .cart-drawer {
  position: fixed; top: 0; height: 100%; width: min(88vw, 360px); background: #fff; z-index: 90;
  display: flex; flex-direction: column; transition: transform .3s var(--ease); box-shadow: var(--shadow);
}
.mobile-nav { left: 0; transform: translateX(-100%); }
.mobile-nav.is-open { transform: translateX(0); }
.cart-drawer { right: 0; width: min(92vw, 420px); transform: translateX(100%); }
.cart-drawer.is-open { transform: translateX(0); }

.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.mobile-nav nav { padding: 10px 0; flex: 1; }
.mobile-nav nav a { display: flex; align-items: center; justify-content: space-between; padding: 15px 24px; font-size: 1rem; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-nav nav a .ico { color: var(--muted); }
.mobile-nav nav a.is-active { color: var(--purple); }
.mobile-nav-foot { padding: 22px 24px; background: var(--cream); }
.mobile-nav-foot > a { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; color: var(--purple); margin-bottom: 14px; }
.phone-legal-block { display: inline-flex; flex-direction: column; align-items: flex-start; }
.phone-legal-block > a { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; }
.phone-legal-note { display: block; font-size: .76rem; line-height: 1.4; margin-top: 4px; }
.mobile-nav-foot .phone-legal-block { margin-bottom: 14px; }
.mobile-nav-foot .phone-legal-block > a { color: var(--purple); }
.mobile-nav-foot .phone-legal-note { color: var(--muted); }
.social-row { display: flex; gap: 10px; }
.social-row a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--purple); border: 1px solid var(--line); transition: all .2s var(--ease); }
.social-row a:hover { background: var(--purple); color: #fff; transform: translateY(-2px); }

/* Cart drawer */
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-size: 1.2rem; }
.cart-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart-line { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line .bphoto { width: 74px; border-radius: var(--radius-sm); }
.cart-line-info { display: flex; flex-direction: column; gap: 3px; }
.cart-line-info strong { font-size: .92rem; color: var(--ink); font-weight: 500; }
.cart-line-info .price { color: var(--purple); font-weight: 600; }
.cart-foot { padding: 20px 24px; border-top: 1px solid var(--line); background: var(--cream); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; margin-bottom: 10px; }
.cart-total strong { font-family: var(--serif); font-size: 1.4rem; color: var(--purple); }
.cart-note { display: flex; gap: 8px; font-size: .78rem; color: var(--muted); margin: 0 0 14px; }
.cart-note .ico { color: var(--gold); flex: none; margin-top: 2px; }
.cart-foot .btn + .btn { margin-top: 8px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; display: flex; align-items: center; min-height: inherit; padding: 96px 24px 104px; }
.hero-copy { max-width: 560px; }
.hero-copy .eyebrow { color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); }
.hero-copy h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; margin: 18px 0 20px; color: #fff; text-shadow: 0 2px 22px rgba(20,6,30,.35); }
.hero-copy h1 em { font-style: italic; color: #f4d9ff; }
.hero-copy .lede { font-size: 1.12rem; color: rgba(255,255,255,.94); margin-bottom: 30px; text-shadow: 0 1px 14px rgba(20,6,30,.4); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta .btn-outline { border-color: rgba(255,255,255,.75); color: #fff; background: rgba(255,255,255,.08); }
.hero-cta .btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Carousel de destaque (Home) ---------- */
.hero-carousel { position: relative; }
.hero-viewport { overflow: hidden; width: 100%; }
.hero-track { display: flex; flex-wrap: nowrap; width: 100%; transition: transform .6s var(--ease); will-change: transform; }
.hero-slide {
  position: relative; flex: 0 0 100%; width: 100%; min-width: 100%;
  min-height: clamp(420px, 60vh, 620px); display: flex;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; background: var(--purple-tint); }
.hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Véu para leitura do texto: mais forte à esquerda, suave à direita */
.hero-bg::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(38,9,52,.80) 0%, rgba(38,9,52,.58) 34%, rgba(38,9,52,.18) 62%, rgba(38,9,52,0) 82%),
    linear-gradient(180deg, rgba(38,9,52,.18) 0%, rgba(38,9,52,0) 30%, rgba(38,9,52,.30) 100%);
}
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255,255,255,.9); backdrop-filter: blur(6px); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); transition: background .2s var(--ease), color .2s var(--ease);
}
.hero-arrow:hover { background: var(--purple); color: #fff; }
.hero-arrow.prev { left: 20px; }
.hero-arrow.prev .ico { transform: rotate(180deg); }
.hero-arrow.next { right: 20px; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 5; display: flex; justify-content: center; gap: 9px; }
.hero-dots button {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50px; cursor: pointer;
  background: rgba(20,40,80,.28); transition: width .3s var(--ease), background .3s var(--ease);
}
.hero-dots button.is-active { width: 26px; background: var(--purple); }

/* ---------- Faixa de benefícios ---------- */
.benefits { background: #fff; border-bottom: 1px solid var(--line); }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 30px 24px; }
.benefit { display: flex; align-items: center; gap: 14px; padding: 6px 16px; min-width: 0; }
.benefit > div { min-width: 0; }
.benefit + .benefit { border-left: 1px solid var(--line); }
.benefit-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; background: var(--purple-soft); color: var(--purple); }
.benefit h4 { font-family: var(--sans); font-size: .92rem; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.benefit p { font-size: .8rem; color: var(--muted); margin: 0; }

/* ---------- Secções genéricas ---------- */
.section { padding: 78px 0; }
.section.tint { background: var(--purple-tint); }
.section.cream { background: var(--cream); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 46px; }
.section-head h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); margin: 14px 0 12px; }
.section-head p { color: var(--muted); font-size: 1.02rem; margin: 0; }
.section-head.left { text-align: left; margin-left: 0; }

.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.head-row h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.head-row .link-more { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; color: var(--purple); font-size: .9rem; }
.head-row .link-more:hover { gap: 11px; }

/* ---------- Categorias ---------- */
/* Flex centrado: acomoda um número dinâmico de categorias, sempre ao centro */
.cat-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.cat-card { flex: 0 0 auto; width: clamp(130px, 15vw, 190px); text-align: center; }
.cat-card .cat-thumb { border-radius: 50%; overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease); border: 4px solid #fff; }
.cat-card:hover .cat-thumb { transform: translateY(-6px); }
.cat-card .bphoto { border-radius: 50%; }
.cat-card h4 { font-family: var(--sans); font-size: .92rem; font-weight: 600; color: var(--ink); margin-top: 14px; }
.cat-card span { font-size: .78rem; color: var(--muted); }

/* ---------- Cartão de produto ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.product-card { position: relative; background: #fff; border-radius: var(--radius); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-media { position: relative; overflow: hidden; background: var(--cream); }
.product-media .bphoto { transition: transform .5s var(--ease); }
.product-card:hover .product-media .bphoto { transform: scale(1.06); }
.product-badges { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.tag { font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 5px 11px; border-radius: 50px; color: #fff; }
.tag-promo { background: var(--gold); }
.tag-novo { background: var(--purple); }
.tag-best { background: var(--plum); }
.tag-out { background: #9a9a9a; }
/* Produto sem stock: fica esbatido e sem o efeito de subir ao passar o rato. */
.product-card.is-out .product-media { opacity: .5; filter: grayscale(.4); }
.product-card.is-out .product-info { opacity: .65; }
.product-card.is-out:hover { transform: none; box-shadow: none; }
.product-card.is-out:hover .product-media .bphoto { transform: none; }
.product-quick {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2;
  transform: translateY(130%); opacity: 0; transition: all .3s var(--ease);
}
.product-card:hover .product-quick { transform: translateY(0); opacity: 1; }
.product-info { padding: 18px 18px 22px; }
.product-cat { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.product-info h3 { font-family: var(--sans); font-size: .98rem; font-weight: 500; color: var(--ink); margin: 6px 0 8px; line-height: 1.4; }
.product-info h3 a:hover { color: var(--purple); }
.product-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.stars { display: inline-flex; gap: 1px; }
.stars .star { color: #d9cdd9; }
.stars .star.on { color: var(--gold); }
.product-rating .count { font-size: .76rem; color: var(--muted); }
.price-row { display: flex; align-items: baseline; gap: 9px; }
.price { font-family: var(--sans); font-size: 1.24rem; font-weight: 600; color: var(--purple); }
.price-old { font-size: .92rem; color: var(--muted); text-decoration: line-through; }

/* ---------- Banner promocional ---------- */
.promo-banner { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(120deg, var(--plum), var(--purple)); color: #fff; }
.promo-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 30px; }
.promo-text { padding: 60px; }
.promo-text .eyebrow { color: var(--gold); }
.promo-text h2 { color: #fff; font-size: clamp(2rem, 3.4vw, 2.8rem); margin: 14px 0 16px; }
.promo-text p { color: rgba(255,255,255,.85); margin-bottom: 26px; max-width: 400px; }
.promo-figure { position: relative; align-self: stretch; min-height: 320px; }
.promo-figure .bphoto { position: absolute; inset: 0; height: 100%; border-radius: 0; }
.promo-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }

/* ---------- Formações ---------- */
.formacao-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.formacao-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.formacao-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md, var(--shadow-sm)); }
.formacao-media { position: relative; }
.formacao-media .lvl { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.92); color: var(--purple); font-size: .72rem; font-weight: 600; padding: 5px 12px; border-radius: 50px; }
.formacao-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.formacao-body h3 { font-size: 1.25rem; margin-bottom: 8px; }
.formacao-body p { font-size: .9rem; color: var(--body); margin-bottom: 18px; flex: 1; }
.formacao-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.formacao-foot .price { font-size: 1.2rem; font-family: var(--serif); font-weight: 600; color: var(--purple); }
.formacao-foot .price s { font-size: .82rem; color: var(--muted); font-weight: 400; margin-right: 4px; }
.formacao-foot .price small { font-size: .72rem; color: var(--muted); font-family: var(--sans); font-weight: 400; }

/* ---------- Testemunhos ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testi-card { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); position: relative; }
.testi-card .quote-mark { font-family: var(--serif); font-size: 4rem; line-height: .6; color: var(--nude); position: absolute; top: 22px; right: 26px; }
.testi-card .stars { margin-bottom: 14px; }
.testi-card p { font-size: 1.02rem; color: var(--ink); font-style: italic; margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 13px; }
.avatar { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; font-weight: 600; font-family: var(--sans); font-size: .95rem; flex: none; }
.testi-author strong { display: block; color: var(--ink); font-weight: 600; }
.testi-author span { font-size: .82rem; color: var(--muted); }

/* ---------- Galeria Instagram ---------- */
.insta-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.insta-cell { position: relative; overflow: hidden; aspect-ratio: 3 / 4; }
.insta-cell .bphoto { height: 100%; transition: transform .4s var(--ease); }
.insta-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.insta-cell:hover .bphoto, .insta-cell:hover img { transform: scale(1.08); }
.insta-cell .insta-vid { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; color: #fff; display: inline-flex; filter: drop-shadow(0 1px 4px rgba(0,0,0,.55)); pointer-events: none; }
.insta-cell::after { content: ""; position: absolute; inset: 0; background: rgba(111,11,146,0); transition: background .3s var(--ease); }
.insta-cell:hover::after { background: rgba(111,11,146,.28); }
.insta-cta { text-align: center; margin-top: 26px; }

/* ---------- Newsletter band ---------- */
.newsletter-band { background: linear-gradient(120deg, var(--nude), var(--cream-2)); }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; padding: 56px 24px; }
.newsletter-copy h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 10px 0 8px; }
.newsletter-copy p { margin: 0; color: var(--body); }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.newsletter-form input { flex: 1; border: 1.5px solid rgba(111,11,146,.2); border-radius: 50px; padding: 15px 22px; font-family: var(--sans); font-size: .95rem; background: #fff; outline: none; transition: border-color .2s; }
.newsletter-form input:focus { border-color: var(--purple); }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum); color: rgba(255,255,255,.72); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding: 66px 24px 46px; }
.footer-brand .brand-tag { color: var(--gold); }
.footer-claim { margin: 18px 0 20px; font-size: .92rem; line-height: 1.7; }
.footer-brand .social-row a { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #fff; }
.footer-brand .social-row a:hover { background: var(--gold); border-color: var(--gold); }
.footer-col h4 { font-family: var(--sans); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col a { font-size: .92rem; }
.footer-col a:hover { color: var(--gold); }
.footer-contact ul li { display: flex; gap: 11px; margin-bottom: 14px; font-size: .9rem; align-items: flex-start; }
.footer-contact .ico { color: var(--gold); flex: none; margin-top: 3px; }
.footer-contact .phone-legal-note { color: rgba(255,255,255,.62); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-size: .8rem; flex-wrap: wrap; }
.pay-note { display: inline-flex; gap: 8px; align-items: center; }
.pay-note .ico { color: var(--gold); }
.footer-legal-id { padding: 0 24px 20px; font-size: .72rem; color: rgba(255,255,255,.55); line-height: 1.5; }
.footer-bottom-links { display: inline-flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer-bottom-links a { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 500; }
.footer-bottom-links a:hover { color: var(--gold); }
.footer-bottom-links a .ico { color: var(--gold); }

/* ---------- WhatsApp FAB ---------- */
.whatsapp-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 70; width: 58px; height: 58px;
  background: #25D366; color: #fff; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.7); transition: transform .25s var(--ease);
}
.whatsapp-fab:hover { transform: scale(1.08); }
.whatsapp-fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.55); opacity: 0; } }

/* ---------- Popup newsletter ---------- */
.popup-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(36,10,45,.6); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; transition: opacity .3s var(--ease); }
.popup-overlay.is-open { opacity: 1; }
.popup-card { position: relative; background: #fff; border-radius: var(--radius-lg); overflow: hidden; width: min(760px, 100%); display: grid; grid-template-columns: .9fr 1.1fr; box-shadow: var(--shadow); transform: translateY(20px) scale(.98); transition: transform .3s var(--ease); }
.popup-overlay.is-open .popup-card { transform: none; }
.popup-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.popup-close:hover { background: #fff; }
.popup-visual { position: relative; background: var(--purple-soft); }
.popup-visual .bphoto { height: 100%; }
.popup-photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.popup-badge { position: absolute; top: 18px; left: 18px; z-index: 2; background: var(--gold); color: #fff; font-size: .74rem; font-weight: 600; padding: 6px 14px; border-radius: 50px; }
.popup-body { padding: 40px 38px; }
.popup-body h3 { font-size: 1.9rem; margin: 12px 0 10px; }
.popup-body > p { font-size: .95rem; color: var(--body); margin-bottom: 20px; }
.popup-body form label { font-size: .78rem; font-weight: 600; color: var(--ink); letter-spacing: .04em; }
.popup-body form input { width: 100%; margin: 7px 0 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; font-family: var(--sans); font-size: .95rem; outline: none; }
.popup-body form input:focus { border-color: var(--purple); }
.popup-fine { font-size: .74rem; color: var(--muted); margin: 16px 0 0; }
.popup-fine a { color: var(--purple); font-weight: 500; text-decoration: none; }
.popup-fine a:hover { color: var(--purple-700); }
.popup-done { text-align: center; padding: 20px 0; }
.popup-check { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--purple-soft); color: var(--purple); font-size: 1.8rem; margin-bottom: 14px; }

/* ---------- Cookie bar ---------- */
.cookie-bar {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 95; background: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
  max-width: 1000px; margin: 0 auto; transform: translateY(140%); transition: transform .4s var(--ease); border: 1px solid var(--line);
}
.cookie-bar.is-open { transform: none; }
.cookie-bar p { margin: 0; font-size: .86rem; display: flex; gap: 10px; align-items: center; flex: 1; min-width: 260px; }
.cookie-bar p .ico { color: var(--purple); flex: none; }
.cookie-bar a { color: var(--purple); font-weight: 500; text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Modal de definições de cookies */
.cookie-modal {
  position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(36, 24, 38, .55); opacity: 0; transition: opacity .3s var(--ease);
}
.cookie-modal.is-open { opacity: 1; }
.cookie-modal-card {
  position: relative; width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 28px 24px;
  transform: translateY(12px); transition: transform .3s var(--ease);
}
.cookie-modal.is-open .cookie-modal-card { transform: none; }
.cookie-modal-card h3 { margin: 0 0 6px; }
.cookie-modal-intro { margin: 0 0 18px; font-size: .86rem; color: var(--muted); }
.cookie-modal-close {
  position: absolute; top: 14px; right: 14px; background: none; border: 0; cursor: pointer; color: var(--muted); line-height: 0;
}
.cookie-cat { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 12px; }
.cookie-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; cursor: pointer; }
.cookie-cat-head strong { font-size: .95rem; }
.cookie-cat p { margin: 0; font-size: .82rem; color: var(--muted); }
.cookie-cat-always { font-size: .74rem; color: var(--purple); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.cookie-toggle { width: 42px; height: 24px; appearance: none; -webkit-appearance: none; cursor: pointer;
  background: var(--line); border-radius: 999px; position: relative; transition: background .2s var(--ease); flex: none; }
.cookie-toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s var(--ease); }
.cookie-toggle:checked { background: var(--purple); }
.cookie-toggle:checked::after { transform: translateX(18px); }
.cookie-modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }

/* Consentimento na newsletter do rodapé */
.newsletter-fields { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-consent { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; font-size: .76rem; line-height: 1.4; opacity: .95; }
.newsletter-consent input { margin-top: 2px; flex: none; }
.newsletter-consent a { text-decoration: underline; }

/* ============================================================
   PAGE HERO / BREADCRUMB (páginas internas)
   ============================================================ */
.page-hero { background: linear-gradient(120deg, var(--purple-tint), var(--cream)); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; top: -80px; right: -60px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(201,162,75,.16), transparent 70%); }
.page-hero-inner { position: relative; padding: 44px 24px 48px; text-align: center; }
.breadcrumb { display: flex; gap: 8px; justify-content: center; align-items: center; font-size: .82rem; color: var(--muted); margin-bottom: 12px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--purple); }
.breadcrumb .sep { color: var(--nude-deep); }
.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3rem); }
.page-hero p { margin: 10px 0 0; color: var(--body); max-width: 620px; margin-inline: auto; }

/* Cabeçalho simples, sem a faixa do hero: usado onde o conteúdo começa
   logo a seguir (listagens de produtos e formações). O breadcrumb é
   centrado por omissão, mas sem faixa por trás alinha melhor à esquerda. */
.page-head { padding: 28px 0 4px; }
.page-head .breadcrumb { justify-content: flex-start; }
.page-head h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); }

/* ============================================================
   LOJA: layout listagem
   ============================================================ */
.shop { padding: 44px 0 70px; }
.shop-layout { display: grid; grid-template-columns: 264px 1fr; gap: 36px; align-items: start; }

/* Toolbar */
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.shop-count { font-size: .9rem; color: var(--muted); }
.shop-count strong { color: var(--ink); font-weight: 600; }
.shop-tools { display: flex; align-items: center; gap: 10px; }
.filters-toggle { display: none; }
.sort-select { position: relative; }
.sort-select select {
  appearance: none; -webkit-appearance: none; font-family: var(--sans); font-size: .88rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 50px; padding: 11px 40px 11px 18px; cursor: pointer; outline: none;
}
.sort-select select:focus { border-color: var(--purple); }
.sort-select .ico { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }

/* Chips de filtros ativos */
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; align-items: center; }
.active-filters .lbl { font-size: .82rem; color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; background: var(--purple-soft); color: var(--purple); padding: 6px 12px; border-radius: 50px; border: 0; }
.chip .ico { cursor: pointer; opacity: .7; }
.chip:hover .ico { opacity: 1; }
.chip-clear { background: transparent; color: var(--muted); text-decoration: underline; padding: 6px 4px; }

/* Sidebar filtros */
/* Sticky com altura limitada: sem isto, uma lista de filtros mais alta que
   o ecrã empurra o botão "Aplicar filtros" para fora e fica inalcançável. */
.filters { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow-y: auto; padding-right: 4px; }
.filters::-webkit-scrollbar { width: 6px; }
.filters::-webkit-scrollbar-thumb { background: var(--line); border-radius: 6px; }
.filter-head { display: none; }

/* Pesquisa dentro dos filtros */
.filter-search { position: relative; display: flex; align-items: center; }
.filter-search .ico { position: absolute; left: 12px; color: var(--muted); pointer-events: none; }
.filter-search input {
  width: 100%; font-family: var(--sans); font-size: .9rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 50px;
  padding: 10px 14px 10px 38px; outline: none; transition: border-color .15s var(--ease);
}
.filter-search input:focus { border-color: var(--purple); }
.filter-search input::-webkit-search-cancel-button { cursor: pointer; }

/* Botões do painel de filtros */
.filters-apply { margin-top: 20px; }
.filters-clear { margin-top: 8px; }
/* Com JS os filtros aplicam-se sozinhos, por isso o botão só faz falta no
   painel móvel, onde tapa os resultados e serve de "ver resultados". */
.filters.is-auto .filters-apply { display: none; }
.filters.is-auto .filters-clear { margin-top: 20px; }
.filter-group { border-bottom: 1px solid var(--line); padding: 20px 0; }
.filter-group:first-child { padding-top: 0; }
.filter-group h4 { font-family: var(--sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; }
.filter-list li { margin-bottom: 11px; }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: .92rem; color: var(--body); }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check .box { width: 19px; height: 19px; border: 1.5px solid var(--nude-deep); border-radius: 5px; flex: none; display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: all .15s var(--ease); }
.check .box .ico { opacity: 0; }
.check input:checked + .box { background: var(--purple); border-color: var(--purple); }
.check input:checked + .box .ico { opacity: 1; }
.check .cnt { margin-left: auto; font-size: .78rem; color: var(--muted); }
.check:hover { color: var(--purple); }

/* Cores (swatches) */
.color-swatches { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.swatch { display: inline-flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 5px; width: 54px; cursor: pointer; font-size: .72rem; line-height: 1.2; text-align: center; color: var(--muted); }
.swatch .dot { flex: none; }
.swatch .dot { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--line); transition: box-shadow .15s var(--ease); }
.swatch.is-active .dot, .swatch:hover .dot { box-shadow: 0 0 0 2px var(--purple); }
.swatch.is-active { color: var(--purple); font-weight: 500; }

/* Preço */
.price-range { margin-top: 6px; }
.price-track { height: 4px; background: var(--line); border-radius: 4px; position: relative; margin: 26px 6px 14px; }
.price-fill { position: absolute; height: 100%; background: var(--purple); border-radius: 4px; left: 12%; right: 32%; }
.price-knob { position: absolute; top: 50%; width: 16px; height: 16px; background: #fff; border: 3px solid var(--purple); border-radius: 50%; transform: translate(-50%, -50%); }
.price-vals { display: flex; justify-content: space-between; font-size: .82rem; color: var(--body); }
.price-vals strong { color: var(--purple); }

/* Estrelas de filtro */
.rating-filter li { margin-bottom: 8px; }
.rating-filter .check .stars .star { color: #d9cdd9; }
.rating-filter .check .stars .star.on { color: var(--gold); }

/* Paginação */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 46px; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; font-size: .9rem; font-weight: 500; color: var(--ink); border: 1.5px solid var(--line); background: #fff;
}
.pagination a:hover { border-color: var(--purple); color: var(--purple); }
.pagination .current { background: var(--purple); border-color: var(--purple); color: #fff; }
.pagination .gap { border: 0; background: transparent; }
.pagination .nav-arrow { gap: 6px; }
.pagination .nav-arrow:first-child .ico { transform: rotate(180deg); }

/* ============================================================
   DETALHE DE PRODUTO (PDP)
   ============================================================ */
.crumb-bar { border-bottom: 1px solid var(--line); background: #fff; }
.crumb-bar .breadcrumb { justify-content: flex-start; margin: 0; padding: 14px 0; }
.pdp { padding: 40px 0 20px; }
.pdp-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: start; }

/* Galeria */
.pdp-gallery { position: sticky; top: 100px; display: grid; grid-template-columns: 84px 1fr; gap: 16px; }
.pdp-thumbs { display: flex; flex-direction: column; gap: 12px; }
.pdp-thumb { border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: border-color .2s var(--ease); background: var(--cream); }
.pdp-thumb.is-active { border-color: var(--purple); }
.pdp-main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--cream); position: relative; }
.pdp-main .tag { position: absolute; top: 18px; left: 18px; z-index: 2; }

/* Info */
.pdp-eyebrow { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.pdp-title { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin: 10px 0 14px; }
.pdp-sub { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.pdp-sub .reviews-link { font-size: .86rem; color: var(--muted); }
.pdp-stock { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: #2E9E8F; font-weight: 500; }
.pdp-stock .dot { width: 8px; height: 8px; border-radius: 50%; background: #2E9E8F; }
.pdp-price-row { display: flex; align-items: baseline; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.pdp-price { font-family: var(--serif); font-size: 2.2rem; font-weight: 600; color: var(--purple); }
.pdp-old { font-size: 1.1rem; color: var(--muted); text-decoration: line-through; }
.pdp-save { background: var(--gold); color: #fff; font-size: .76rem; font-weight: 600; padding: 5px 11px; border-radius: 50px; }
.pdp-desc { color: var(--body); margin-bottom: 24px; }
.pdp-field { margin-bottom: 22px; }
.pdp-field > .lbl { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
/* O asterisco de obrigatório não acompanha o espaçamento de letras do rótulo,
   senão fica descolado do nome da opção. */
.pdp-field > .lbl .req { letter-spacing: 0; }
.pdp-field .swatch .dot { width: 34px; height: 34px; }

/* Quantidade + ações */
.pdp-actions { display: flex; gap: 12px; margin-bottom: 14px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 50px; overflow: hidden; flex: none; }
.qty button { width: 46px; height: 52px; border: 0; background: #fff; color: var(--ink); font-size: 1.2rem; display: inline-flex; align-items: center; justify-content: center; }
.qty button:hover { background: var(--purple-soft); color: var(--purple); }
.qty input { width: 46px; height: 52px; border: 0; text-align: center; font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--ink); outline: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pdp-actions .btn-primary { flex: 1; height: 52px; }
.pdp-actions-2 { display: flex; gap: 12px; margin-bottom: 26px; }
.pdp-actions-2 .btn { flex: 1; }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1eb857; }
.btn-wish { flex: 1; height: 52px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); }
.btn-wish:hover { border-color: var(--purple); color: var(--purple); }

/* Meta + confiança */
.pdp-meta { font-size: .86rem; color: var(--muted); margin-bottom: 22px; }
.pdp-meta div { margin-bottom: 6px; }
.pdp-meta strong { color: var(--ink); font-weight: 600; }
.pdp-trust { background: var(--cream); border-radius: var(--radius); padding: 20px 22px; display: grid; gap: 14px; }
.pdp-trust li { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--body); }
.pdp-trust .ico { color: var(--purple); flex: none; margin-top: 2px; }
.pdp-trust strong { color: var(--ink); font-weight: 600; }

/* Separadores (tabs) */
.pdp-tabs { margin-top: 64px; }
.pdp-tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.tab-labels { display: flex; gap: 8px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tab-labels label { padding: 14px 22px; font-weight: 500; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s var(--ease); }
.tab-labels label:hover { color: var(--purple); }
#tab-desc:checked ~ .tab-labels label[for="tab-desc"],
#tab-spec:checked ~ .tab-labels label[for="tab-spec"],
#tab-rev:checked  ~ .tab-labels label[for="tab-rev"] { color: var(--purple); border-bottom-color: var(--purple); }
.tab-panels { padding: 32px 0; }
.tab-panel { display: none; max-width: 820px; }
#tab-desc:checked ~ .tab-panels .panel-desc,
#tab-spec:checked ~ .tab-panels .panel-spec,
#tab-rev:checked  ~ .tab-panels .panel-rev { display: block; }

/* Descrição do produto: formatação simples vinda do editor do admin
   (negrito, itálico, sublinhado, subtítulos e listas). */
.pdp-desc { line-height: 1.7; color: var(--ink); }
.pdp-desc > :first-child { margin-top: 0; }
.pdp-desc > :last-child { margin-bottom: 0; }
.pdp-desc p { margin: 0 0 14px; }
.pdp-desc h4 { font-size: 1.05rem; font-weight: 600; margin: 22px 0 10px; color: var(--ink); }
.pdp-desc ul,
.pdp-desc ol { margin: 0 0 14px; padding-left: 22px; }
.pdp-desc li { margin: 4px 0; }
.pdp-desc ul { list-style: disc; }
.pdp-desc ol { list-style: decimal; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table td { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.spec-table td:first-child { color: var(--muted); width: 40%; }
.spec-table td:last-child { color: var(--ink); font-weight: 500; }
.review-item { display: flex; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.review-item .review-body strong { color: var(--ink); }
.review-item .review-body .stars { margin: 4px 0 8px; }
.review-date { font-size: .78rem; color: var(--muted); }

/* ============================================================
   CHECKOUT / FINALIZAR PEDIDO
   ============================================================ */
.checkout { padding: 40px 0 70px; }
.checkout-layout { display: grid; grid-template-columns: 1.4fr .9fr; gap: 40px; align-items: start; }
.co-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 22px; }
.co-block h3 { font-size: 1.25rem; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.co-block h3 .step-num { width: 30px; height: 30px; border-radius: 50%; background: var(--purple); color: #fff; font-family: var(--sans); font-size: .9rem; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.co-block > p.hint { color: var(--muted); font-size: .88rem; margin: 0 0 20px; }
/* Escolher morada guardada: fica fora da .form-grid, por isso separa-se dela
   à mão e a linha marca onde acabam as moradas guardadas e começa a escrita. */
.addr-picker { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 500; color: var(--ink); }
.req { color: var(--red); font-weight: 600; }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 13px 15px; font-family: var(--sans);
  font-size: .95rem; color: var(--ink); background: #fff; outline: none; transition: border-color .2s var(--ease); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--purple); }
.field textarea { resize: vertical; min-height: 90px; }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: .86rem; color: var(--body); margin-top: 4px; }
.consent input { margin-top: 3px; }
.consent a { color: var(--purple); font-weight: 600; text-decoration: underline; }
.consent a:hover { text-decoration: none; }
.consent:has(.consent-switch) { align-items: center; }
.consent-switch { width: 42px; height: 24px; appearance: none; -webkit-appearance: none; cursor: pointer;
  background: var(--line); border-radius: 999px; position: relative; transition: background .2s var(--ease); flex: none;
  margin-top: 0; }
.consent-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s var(--ease); }
.consent-switch:checked { background: var(--purple); }
.consent-switch:checked::after { transform: translateX(18px); }
.consent-switch:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
/* Destaque quando se tenta enviar o pedido sem aceitar os termos */
.consent.flash { animation: consent-flash .6s var(--ease); border-radius: var(--radius-sm); }
.consent.flash .consent-switch { box-shadow: 0 0 0 3px rgba(111, 11, 147, .35); }
@keyframes consent-flash {
  0%, 100% { background: transparent; }
  25%, 75% { background: rgba(111, 11, 147, .12); }
}
@media (prefers-reduced-motion: reduce) {
  .consent.flash { animation-duration: .01ms; }
}

/* Resumo do pedido */
.co-summary { position: sticky; top: 100px; background: var(--cream); border-radius: var(--radius); padding: 26px; }
.co-summary h3 { font-size: 1.2rem; margin-bottom: 18px; }
.co-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.co-item .bphoto { width: 60px; border-radius: var(--radius-sm); flex: none; }
.co-item-info { flex: 1; }
.co-item-info strong { display: block; font-size: .9rem; font-weight: 500; color: var(--ink); }
.co-item-info span { font-size: .8rem; color: var(--muted); }
.co-item .co-price { font-weight: 600; color: var(--purple); }
.co-totals { padding: 16px 0; border-bottom: 1px solid var(--line); }
.co-totals .row { display: flex; justify-content: space-between; font-size: .92rem; margin-bottom: 10px; color: var(--body); }
.co-grand { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 20px; }
.co-grand strong { font-family: var(--serif); font-size: 1.6rem; color: var(--purple); }
/* Cupão no checkout */
.coupon-box { padding: 14px 0; border-bottom: 1px solid var(--line); }
.coupon-box > label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.coupon-input { display: flex; gap: 8px; }
.coupon-input input { flex: 1; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 11px 14px; font-family: var(--sans); font-size: .9rem; text-transform: uppercase; outline: none; background: #fff; }
.coupon-input input:focus { border-color: var(--purple); }
.coupon-input .btn { flex: none; }
.coupon-msg { font-size: .82rem; margin-top: 8px; display: none; align-items: center; gap: 7px; }
.coupon-msg.show { display: flex; }
.coupon-msg.ok { color: #1c7a5b; }
.coupon-msg.err { color: #C0243B; }
.co-totals .row.discount { color: #1c7a5b; font-weight: 600; }
.co-hints { font-size: .74rem; color: var(--muted); margin-top: 8px; }
.co-hints code { background: var(--purple-soft); color: var(--purple); padding: 1px 6px; border-radius: 5px; font-family: var(--sans); font-weight: 600; cursor: pointer; }
.co-pay-note { display: flex; align-items: center; gap: 10px; background: var(--purple-soft); border-radius: var(--radius-sm); padding: 14px; font-size: .82rem; color: var(--purple-900); margin-bottom: 18px; }
.co-pay-note .ico { color: var(--purple); flex: none; }
.form-feedback { margin-top: 14px; padding: 14px 16px; border-radius: var(--radius-sm); background: #eaf7f0; color: #1c7a5b; font-size: .9rem; display: none; }
.form-feedback.show { display: block; }

/* Turnstile: o slot não ocupa espaço enquanto o widget não é desenhado,
   para o formulário ficar limpo até se começar a escrever. */
.turnstile-slot { display: none; }
.turnstile-slot.is-live { display: block; margin-top: 16px; animation: turnstile-in .28s ease both; }
@keyframes turnstile-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .turnstile-slot.is-live { animation: none; } }
.co-confirm { text-align: center; padding: 30px; }
.co-confirm .big-check { width: 76px; height: 76px; border-radius: 50%; background: var(--purple-soft); color: var(--purple); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }

/* ============================================================
   MAPA DO PROTÓTIPO
   ============================================================ */
.map-section { margin-bottom: 46px; }
.map-section-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.map-section-head h2 { font-size: 1.5rem; }
.map-section-head .line { flex: 1; height: 1px; background: var(--line); }
.map-section-head .count { font-size: .8rem; color: var(--muted); }
.map-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.map-card {
  display: flex; gap: 15px; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.map-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--purple-soft); }
.map-card .map-ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--purple-soft); color: var(--purple); display: inline-flex; align-items: center; justify-content: center; }
.map-card-body { flex: 1; min-width: 0; }
.map-card-body h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: 5px; display: flex; align-items: center; gap: 8px; }
.map-card-body p { font-size: .84rem; color: var(--muted); margin: 0 0 12px; line-height: 1.5; }
.map-status { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 50px; }
.map-status.done { background: #eaf7f0; color: #1c7a5b; }
.map-status.wip  { background: var(--cream-2); color: var(--gold-deep); }
.map-status .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.map-link { font-size: .82rem; font-weight: 500; color: var(--purple); display: inline-flex; align-items: center; gap: 5px; }
.map-card:hover .map-link { gap: 9px; }
.map-legend { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 6px; font-size: .84rem; color: var(--muted); }

/* ============================================================
   FORMAÇÕES (listagem)
   ============================================================ */
.level-pills { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.level-pill { padding: 9px 20px; border-radius: 50px; border: 1.5px solid var(--line); background: #fff; font-size: .86rem; font-weight: 500; color: var(--body); cursor: pointer; transition: all .2s var(--ease); }
.level-pill:hover { border-color: var(--purple); color: var(--purple); }
.level-pill.is-active { background: var(--purple); border-color: var(--purple); color: #fff; }

.formacao-card.is-inactive { opacity: .82; }
.formacao-next { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--purple); background: var(--purple-soft); padding: 7px 12px; border-radius: 8px; margin-bottom: 14px; font-weight: 500; }
.formacao-next .ico { color: var(--purple); flex: none; }
.formacao-ext { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; color: var(--gold-deep); font-weight: 600; margin-top: 4px; }
.formacao-media .price-flag { position: absolute; bottom: 14px; right: 14px; background: rgba(255,255,255,.94); color: var(--purple); font-family: var(--serif); font-weight: 600; font-size: 1.05rem; padding: 6px 14px; border-radius: 50px; box-shadow: var(--shadow-sm); }

/* Formação online em destaque (Método Celina Noro) */
.formacao-media .online-flag { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 5px; background: var(--purple); color: #fff; font-size: .72rem; font-weight: 600; padding: 5px 12px; border-radius: 50px; box-shadow: var(--shadow-sm); }
.formacao-media .online-flag .ico { flex: none; }
.formacao-foot .foot-plat { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 500; color: var(--muted); }
.formacao-foot .foot-plat .ico { color: var(--purple); flex: none; }

/* Como funciona (passos) */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 26px; }
.step { text-align: center; padding: 0 12px; position: relative; }
.step-badge { width: 62px; height: 62px; border-radius: 50%; background: #fff; border: 2px solid var(--purple-soft); color: var(--purple); font-family: var(--serif); font-size: 1.5rem; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; position: relative; z-index: 2; }
.step h4 { font-family: var(--sans); font-size: 1.05rem; margin-bottom: 8px; color: var(--ink); }
.step p { font-size: .9rem; color: var(--muted); margin: 0; }
.steps.linked .step:not(:last-child)::after { content: ""; position: absolute; top: 31px; left: 60%; width: 80%; height: 2px; background: repeating-linear-gradient(90deg, var(--nude-deep) 0 6px, transparent 6px 12px); z-index: 1; }
.steps.linked.has-many .step::after { display: none; }

/* ============================================================
   DETALHE DE FORMAÇÃO (FDP)
   ============================================================ */
.fdp-top { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; padding: 40px 0 20px; }
.fdp-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.fdp-media .lvl { position: absolute; top: 18px; left: 18px; z-index: 2; background: rgba(255,255,255,.92); color: var(--purple); font-size: .78rem; font-weight: 600; padding: 6px 14px; border-radius: 50px; }
.fdp-info .pdp-eyebrow { color: var(--gold-deep); }
.fdp-info h1 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin: 10px 0 16px; }
.fdp-lede { font-size: 1.05rem; color: var(--body); margin-bottom: 22px; }
.fdp-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.chip-meta { display: inline-flex; align-items: center; gap: 8px; background: var(--cream); border-radius: 10px; padding: 10px 14px; font-size: .86rem; color: var(--ink); }
.chip-meta .ico { color: var(--purple); }
.chip-meta strong { font-weight: 600; }
.fdp-price-line { display: flex; align-items: baseline; gap: 10px; margin-bottom: 22px; }
.fdp-price-line .pdp-price { font-size: 2rem; }
.fdp-price-line small { color: var(--muted); font-size: .9rem; }
.fdp-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.fdp-cta .btn-primary { flex: 1; min-width: 220px; }
.fdp-note { display: flex; gap: 9px; font-size: .82rem; color: var(--muted); align-items: flex-start; }
.fdp-note .ico { color: var(--gold); flex: none; margin-top: 2px; }

/* Corpo do curso */
.course-body { display: grid; grid-template-columns: 1fr 360px; gap: 44px; align-items: start; padding: 20px 0; }
.course-main h2 { font-size: 1.6rem; margin: 34px 0 16px; }
.course-main h2:first-child { margin-top: 0; }
.course-main p { color: var(--body); }
.learn-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 8px 0 10px; }
.learn-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; color: var(--body); }
.learn-list .ico { color: #2E9E8F; flex: none; margin-top: 3px; }
.audience-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; color: var(--body); }
.audience-list .ico { color: var(--purple); flex: none; margin-top: 3px; }

/* Formadora */
.trainer { display: flex; gap: 18px; align-items: center; background: var(--cream); border-radius: var(--radius); padding: 24px; margin-top: 8px; }
.trainer .avatar { flex: none; }
.trainer h4 { font-family: var(--sans); font-size: 1.05rem; margin-bottom: 3px; }
.trainer .role { font-size: .82rem; color: var(--gold-deep); font-weight: 600; margin-bottom: 8px; }
.trainer p { font-size: .88rem; margin: 0; }

/* Sidebar sticky */
.fdp-summary { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.fdp-summary .fdp-summary-price { font-family: var(--serif); font-size: 2rem; color: var(--purple); font-weight: 600; }
.fdp-summary .divider { margin: 18px 0; }
.summary-rows li { display: flex; justify-content: space-between; padding: 9px 0; font-size: .9rem; border-bottom: 1px solid var(--line); }
.summary-rows li span:first-child { color: var(--muted); }
.summary-rows li span:last-child { color: var(--ink); font-weight: 500; }
.fdp-summary .btn { margin-top: 18px; }
.fdp-summary .secure { text-align: center; font-size: .78rem; color: var(--muted); margin-top: 12px; display: flex; gap: 6px; justify-content: center; align-items: center; }

/* ============================================================
   CONTACTOS
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; }
.about-layout { display: grid; gap: 42px; align-items: start; }
.about-layout.no-image { grid-template-columns: minmax(0, 1fr); }
.about-layout.has-image { grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr); }
.about-layout.image-left .about-copy { order: 2; }
.about-layout.image-left .about-media { order: 1; }
.about-copy { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.about-copy > :first-child { margin-top: 0; }
.about-copy > :last-child { margin-bottom: 0; }
.about-copy p,
.about-copy li { color: var(--body); line-height: 1.8; }
.about-copy h4 { font-family: var(--sans); font-size: 1.02rem; color: var(--ink); margin: 0 0 14px; }
.about-copy ul,
.about-copy ol { padding-left: 22px; }
.about-media { position: sticky; top: 108px; }
.about-media img { width: 100%; display: block; border-radius: var(--radius); box-shadow: var(--shadow-md); object-fit: cover; aspect-ratio: 4 / 5; }
.contact-aside { display: flex; flex-direction: column; gap: 16px; }
.contact-card { display: flex; gap: 15px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.contact-card .c-ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--purple-soft); color: var(--purple); display: inline-flex; align-items: center; justify-content: center; }
.contact-card h4 { font-family: var(--sans); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.contact-card a, .contact-card p { display: inline-block; font-size: 1.02rem; color: var(--ink); margin: 0; font-weight: 500; }
.contact-card a:hover { color: var(--purple); }
.contact-card .sub { display: block; font-size: .84rem; color: var(--muted); font-weight: 400; margin-top: 4px; }
.contact-social-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--cream); border-radius: var(--radius); padding: 18px 22px; }
.contact-social-card span { font-weight: 500; color: var(--ink); }

/* Mapa (embed) */
.map-embed {
  position: relative; height: 320px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: #f5efe7;
}
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-consent {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center; padding: 24px; background: #f5efe7; color: var(--ink);
}
.map-consent .ico { color: var(--purple); }
.map-consent p { margin: 0; max-width: 420px; font-size: .9rem; }
.map-consent-fine { font-size: .76rem; color: var(--muted); max-width: 420px; }
.map-consent-fine a { color: var(--purple); text-decoration: underline; }

.faq-mini { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 14px; background: #fff; }
.faq-item summary { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ico { color: var(--purple); transition: transform .2s var(--ease); flex: none; }
.faq-item[open] summary .ico { transform: rotate(45deg); }
.faq-item p { margin: 14px 0 0; color: var(--body); font-size: .94rem; }

/* ============================================================
   BADGES DE ESTADO (encomendas), usados em Termos e Admin
   ============================================================ */
.badge { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 600; padding: 5px 12px; border-radius: 50px; white-space: nowrap; }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.st-pending { background: #FBF3E0; color: #A9822F; }
.st-contact { background: #EFEAFA; color: #6B4FC4; }
.st-paid    { background: #E7EEFB; color: #2F4F9E; }
.st-shipped { background: #E3F5F0; color: #1F8E7D; }
.st-done    { background: #F1E7F7; color: #6F0B93; }
.st-cancel  { background: #FBE7E9; color: #C0243B; }
.status-flow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 8px 0 18px; }
.status-flow .flow-arrow { color: var(--nude-deep); font-weight: 600; }

/* ============================================================
   DOCUMENTOS LEGAIS (Privacidade / Termos)
   ============================================================ */
.legal { padding: 44px 0 70px; }
.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.legal-toc { position: sticky; top: 100px; }
.legal-toc h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.legal-toc ol { counter-reset: toc; }
.legal-toc li { counter-increment: toc; margin-bottom: 2px; }
.legal-toc a { display: flex; gap: 10px; padding: 8px 12px; border-radius: 8px; font-size: .88rem; color: var(--body); border-left: 2px solid transparent; }
.legal-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--nude-deep); font-weight: 600; font-size: .8rem; }
.legal-toc a:hover { background: var(--purple-tint); color: var(--purple); }
.legal-toc a.is-active { background: var(--purple-soft); color: var(--purple); border-left-color: var(--purple); font-weight: 500; }
.legal-toc a.is-active::before { color: var(--purple); }

.legal-updated { display: inline-flex; align-items: center; gap: 8px; background: var(--purple-soft); color: var(--purple); font-size: .82rem; font-weight: 500; padding: 7px 14px; border-radius: 50px; margin-bottom: 22px; }
.legal-intro { font-size: 1.08rem; color: var(--body); border-left: 3px solid var(--gold); padding-left: 20px; margin-bottom: 20px; }
.legal-content h2 { font-size: 1.5rem; margin: 40px 0 14px; scroll-margin-top: 110px; display: flex; align-items: baseline; gap: 12px; }
.legal-content h2 .num { font-family: var(--sans); font-size: 1rem; color: var(--purple); font-weight: 600; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 { font-size: 1.1rem; margin: 22px 0 8px; }
.legal-content p { color: var(--body); margin-bottom: 14px; }
.legal-content ul, .legal-content ol.list { margin: 0 0 16px; padding-left: 4px; }
.legal-content ul li, .legal-content ol.list li { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 9px; color: var(--body); }
.legal-content ul li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; margin-top: 8px; }
.legal-content ol.list { counter-reset: li; }
.legal-content ol.list li { counter-increment: li; }
.legal-content ol.list li::before { content: counter(li); background: var(--purple-soft); color: var(--purple); width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 600; flex: none; }
.legal-rights { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 18px; }
.legal-right { background: var(--cream); border-radius: var(--radius); padding: 16px 18px; }
.legal-right strong { display: flex; gap: 9px; align-items: center; color: var(--ink); margin-bottom: 5px; }
.legal-right strong .ico { color: var(--purple); }
.legal-right p { font-size: .86rem; margin: 0; }
.legal-note { background: var(--purple-tint); border: 1px solid var(--purple-soft); border-radius: var(--radius); padding: 20px 22px; margin: 20px 0; }
.legal-note strong { color: var(--purple); }
.legal-form summary { cursor: pointer; }
.legal-form[open] summary { margin-bottom: 12px; }
.legal-form p { margin: 8px 0; }

/* ---------- Utilidades ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .insta-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .shop-layout { grid-template-columns: 1fr; gap: 0; }
  .filters-toggle { display: inline-flex; }
  .filters {
    position: fixed; top: 0; left: 0; height: 100%; max-height: none; width: min(86vw, 340px); background: #fff; z-index: 90;
    transform: translateX(-100%); transition: transform .3s var(--ease); box-shadow: var(--shadow);
    overflow-y: auto; padding: 0 24px 24px;
  }
  .filters.is-open { transform: translateX(0); }
  .filter-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; margin-bottom: 6px; }
  .filter-head h3 { font-size: 1.15rem; }
  .filter-group:first-child { padding-top: 20px; }
  /* No painel móvel os resultados estão tapados: o botão volta, a fechar. */
  .filters.is-auto .filters-apply { display: inline-flex; }
  .filters.is-auto .filters-clear { margin-top: 8px; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .burger { display: inline-flex; }
  .hero-inner { padding: 72px 24px 84px; }
  .hero-slide { min-height: clamp(440px, 78vh, 560px); }
  .hero-bg-img { object-position: center !important; }
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(38,9,52,.45) 0%, rgba(38,9,52,.30) 35%, rgba(38,9,52,.62) 100%),
      linear-gradient(90deg, rgba(38,9,52,.35) 0%, rgba(38,9,52,.10) 100%);
  }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .benefit:nth-child(odd) { border-left: 0; }
  .benefit + .benefit { border-left: 0; }
  .promo-inner { grid-template-columns: 1fr; }
  .promo-figure { min-height: 220px; order: -1; }
  .promo-text { padding: 40px; }
  .formacao-grid { grid-template-columns: repeat(2, 1fr); }
  .pdp-layout { grid-template-columns: 1fr; gap: 32px; }
  .pdp-gallery { position: static; grid-template-columns: 1fr; }
  .pdp-thumbs { flex-direction: row; order: 2; }
  .pdp-thumb { width: 76px; }
  .checkout-layout { grid-template-columns: 1fr; gap: 26px; }
  .co-summary { position: static; }
  .fdp-top { grid-template-columns: 1fr; gap: 26px; }
  .course-body { grid-template-columns: 1fr; gap: 30px; }
  .fdp-summary { position: static; }
  .about-layout { grid-template-columns: 1fr; gap: 24px; }
  .about-media { position: static; order: -1; }
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .legal-toc { position: static; background: var(--cream); border-radius: var(--radius); padding: 18px 20px; }
  .legal-toc ol { columns: 2; }
  .newsletter-inner { grid-template-columns: 1fr; text-align: center; gap: 22px; }
  .newsletter-form { max-width: 460px; margin: 0 auto; }
  .popup-card { grid-template-columns: 1fr; max-width: 420px; }
  .popup-visual { display: none; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 54px 0; }
  /* Barra de anúncio: 1 linha só, items rodam em sequência */
  .announce-track {
    position: relative; flex-wrap: nowrap; height: 38px;
    padding: 0 18px; overflow: hidden; display: block;
  }
  .announce-track span {
    position: absolute; left: 18px; right: 18px; top: 50%;
    justify-content: center; text-align: center;
    transform: translateY(-50%); opacity: 0;
    animation: announceCycle 12s infinite;
  }
  .announce-track span:nth-child(1) { animation-delay: 0s; }
  .announce-track span:nth-child(2) { animation-delay: 4s; }
  .announce-track span:nth-child(3) { animation-delay: 8s; }
  @keyframes announceCycle {
    0%   { opacity: 0; transform: translateY(-30%); }
    4%   { opacity: 1; transform: translateY(-50%); }
    29%  { opacity: 1; transform: translateY(-50%); }
    33%  { opacity: 0; transform: translateY(-70%); }
    100% { opacity: 0; transform: translateY(-70%); }
  }
  /* Carousel: sem setas no mobile, navega-se arrastando (swipe) */
  .hero-arrow { display: none; }
  .benefits-grid { grid-template-columns: 1fr; gap: 8px; padding: 48px 24px; }
  .cat-grid { gap: 22px 14px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .product-info { padding: 14px 14px 18px; }
  .product-quick { position: static; transform: none; opacity: 1; margin-top: 12px; }
  .formacao-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .steps.linked .step:not(:last-child)::after { display: none; }
  .learn-list { grid-template-columns: 1fr; }
  .legal-rights { grid-template-columns: 1fr; }
  .legal-toc ol { columns: 1; }
  .form-grid { grid-template-columns: 1fr; }
  .about-copy { padding: 22px 18px; }
  .pdp-actions-2 { flex-wrap: wrap; }
  .co-block { padding: 22px 18px; }
  .testi-grid { grid-template-columns: 1fr; }
  .insta-strip { grid-template-columns: repeat(3, 1fr); }
  .head-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding: 46px 24px 36px; }
  .footer-bottom-inner { padding-bottom: 32px; }
  .cookie-bar { flex-direction: column; align-items: stretch; text-align: left; }
  .cookie-actions .btn { flex: 1; }
  .brand-name { font-size: 1.35rem; }
  .newsletter-inner { padding: 72px 24px; }
  .newsletter-fields { flex-direction: column; }
  .newsletter-form .btn { width: 100%; }
}

/* ============================================================
   VERSÃO FUNCIONAL · componentes acrescentadas às da fachada
   (formulários que gravam, variantes, carrinho real, estados vazios)
   ============================================================ */

/* Acessível a leitores de ecrã, invisível no ecrã.
   Usado nos radios de variante e nos checkboxes de cor, que são
   controlados pela etiqueta visual à volta. */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Mensagens de formulário */
.form-feedback.is-error { background: #fdeaed; color: #8d1728; }
.form-feedback.is-ok    { background: #eaf7f0; color: #1c7a5b; }

.form-success {
  margin: 14px 0; padding: 14px 16px; border-radius: var(--radius-sm);
  background: #eaf7f0; color: #1c7a5b; font-size: .92rem;
  display: flex; align-items: center; gap: 9px;
}
.form-errors {
  margin: 14px 0; padding: 14px 18px; border-radius: var(--radius-sm);
  background: #fdeaed; color: #8d1728; font-size: .92rem;
}
.form-errors ul { margin: 8px 0 0; padding-left: 20px; }
.form-errors li { margin: 3px 0; }

/* Toast de estado (canto superior direito). Substitui as faixas fixas de
   sucesso/erro nas ações; desaparece sozinho (ver flash_toast() em auth.php). */
.toast-wrap {
  position: fixed;
  top: 16px; right: 16px; left: 16px;
  z-index: 200;
  display: flex; justify-content: flex-end;
  pointer-events: none;
}
.toast {
  display: inline-flex; align-items: center; gap: 10px;
  max-width: 100%;
  padding: 12px 14px 12px 16px;
  border-radius: var(--radius-sm);
  font-size: .92rem; font-weight: 600; line-height: 1.35;
  color: #fff; background: #16a34a;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .35);
  pointer-events: auto;
  animation: toastIn .22s ease-out;
}
.toast.is-erro { background: #dc2626; }
.toast .ico { flex: 0 0 auto; }
.toast-msg { min-width: 0; }
.toast-x {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  margin-left: 4px; padding: 2px;
  border: 0; background: transparent; color: currentColor;
  opacity: .8; cursor: pointer; border-radius: 6px;
}
.toast-x:hover { opacity: 1; background: rgba(255, 255, 255, .18); }
.toast.is-out { animation: toastOut .28s ease-in forwards; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-12px); }
}
@media (max-width: 640px) {
  .toast-wrap { justify-content: center; }
  .toast { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .toast, .toast.is-out { animation: none; }
}

/* Estado vazio (sem resultados, carrinho vazio, 404) */
.empty-state {
  text-align: center; padding: 60px 20px; color: var(--body);
}
.empty-state h1 { font-family: var(--serif); color: var(--ink); margin-bottom: 10px; }
.empty-state p { margin: 6px 0 16px; }

/* Filtro de preço por campos (substitui o slider decorativo) */
.price-inputs { display: flex; align-items: center; gap: 8px; }
.price-inputs input {
  width: 100%; padding: 8px 10px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); font: inherit; font-size: .85rem;
}
.price-inputs input:focus { outline: 2px solid var(--purple); outline-offset: 1px; border-color: var(--purple); }
.price-inputs span { color: var(--muted); }

/* Opções de variante que não são cor (tamanho, volume, ...) */
.option-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.option-pill {
  cursor: pointer; padding: 8px 15px; border: 1.5px solid var(--line);
  border-radius: 999px; font-size: .85rem; color: var(--body);
  transition: all .15s var(--ease); background: #fff;
}
.option-pill:hover { border-color: var(--purple); color: var(--purple); }
.option-pill.is-active { border-color: var(--purple); background: var(--purple); color: #fff; }
.option-pill:has(input:focus-visible) { outline: 2px solid var(--purple); outline-offset: 2px; }

/* Página de produto: preço "desde" e avisos de variante */
.pdp-price-from { font-size: .82rem; color: var(--muted); margin-right: 2px; }
.pdp-variant-msg {
  margin: 10px 0 0; padding: 9px 13px; border-radius: var(--radius-sm);
  background: #fdf4e3; color: #7a5a12; font-size: .85rem;
}
.pdp-stock.is-out { color: #8d1728; }
.pdp-stock.is-out .dot { background: #8d1728; }

/* Botão a aguardar resposta do servidor */
.btn.is-loading { opacity: .6; pointer-events: none; }
.btn:disabled { opacity: .5; pointer-events: none; }

/* Gaveta do carrinho vazia */
.cart-empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.cart-empty p { margin-bottom: 14px; }
.cart-line-info strong a { color: inherit; text-decoration: none; }
.cart-line-info strong a:hover { color: var(--purple); }

/* Confirmação do pedido */
.co-done { max-width: 620px; margin: 0 auto; text-align: center; padding: 20px 0 40px; }
.co-done-check {
  width: 76px; height: 76px; border-radius: 50%; background: var(--purple-soft);
  color: var(--purple); display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.co-done h1 { font-family: var(--serif); color: var(--ink); margin-bottom: 8px; }
.co-done-ref { font-size: 1.05rem; margin-bottom: 14px; }
.co-done-ref strong { color: var(--purple); letter-spacing: .5px; }
.co-done-summary {
  margin-top: 30px; text-align: left; background: var(--cream);
  border-radius: var(--radius); padding: 22px;
}
.co-done-summary h3 { margin-bottom: 14px; }
.co-done-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }
