/* Medidas e cores tiradas das capturas do site da Ana (tela de 1440 px). */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(fonts/inter-400.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(fonts/inter-500.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(fonts/inter-600.woff2) format('woff2'); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(fonts/poppins-600.woff2) format('woff2'); }

:root { --bg: #F2F2F2; --white: #FFF; --ivory: #F5F4EF; --ink: #1A1A1A; --black: #0B0B0B; --muted: #666; --line: #E2E2E2; --shadow: 5px 5px 10px rgba(0, 0, 0, .18); }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 400 16px/1.62 Inter, system-ui, sans-serif; overflow-wrap: break-word; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }
h1, h2, h3 { font-family: Poppins, system-ui, sans-serif; font-weight: 600; line-height: 1.3; text-wrap: balance; }
h1 { font-size: clamp(30px, 4vw, 40px); }
h2 { font-size: clamp(24px, 3vw, 31px); margin-bottom: 22px; }
h3 { font-size: 18px; margin-bottom: 20px; }
p { margin-bottom: 20px; }
p:last-child { margin-bottom: 0; }
.shell { width: min(1140px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 20; }

/* topo */
.topbar { border-bottom: 1px solid #EAEAEA; color: var(--muted); font-size: 15px; }
.topbar .shell { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; }
.topbar a { text-decoration: none; }
.top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 48px 20px 40px; }
.logo img { width: min(365px, 66vw); }
nav { display: flex; align-items: center; gap: 32px; }
nav a { text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
nav a:hover { border-color: #BBB; }
nav a[aria-current] { border-color: var(--black); }
.menu-btn { display: none; font: 600 14px Inter, sans-serif; background: none; border: 1px solid var(--black); border-radius: 99px; padding: 10px 18px; cursor: pointer; }

/* secções: blocos brancos de 1140 alternando com fundo cinza */
section.band, section.open { width: min(1140px, 100% - 24px); margin-inline: auto; padding: 84px clamp(18px, 6vw, 80px); }
section.band { background: var(--white); }
section.open.wide, section.open.mid { padding-top: 96px; padding-bottom: 96px; }
section.intro { padding-top: 64px; padding-bottom: 56px; }
section.intro h1 { margin-bottom: 26px; }
.hero { width: min(752px, 100%); margin: 0 auto; padding: 100px 16px 130px; }
.hero h1 { line-height: 1.5; margin-bottom: 28px; }
ol, ul { padding-left: 20px; }
.band ul { margin-top: 24px; }
.band li { margin-bottom: 4px; }

/* botões em pílula */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 60px; padding: 12px 40px; border-radius: 99px; background: var(--black); color: #FFF; border: 2px solid var(--black); font-weight: 600; font-size: 19px; text-decoration: none; text-align: center; line-height: 1.3; transition: background .2s, color .2s; }
.btn:hover { background: #333; }
.btn-line { background: transparent; color: var(--black); }
.btn-line:hover { background: var(--black); color: #FFF; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 30px; }

/* grelhas, cards, fotos */
.grid { display: grid; gap: 24px; margin-top: 40px; list-style: none; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); margin-top: 0; }
.cols { margin-top: 32px; }
.g4.row { margin-top: 40px; }
.card { background: var(--white); border: 1px solid #ECECEC; box-shadow: var(--shadow); padding: 28px; }
.h-card { font-size: 28px; line-height: 1.28; }
.quote blockquote { margin-bottom: 22px; line-height: 1.55; }
.quote figcaption, .piece figcaption { color: var(--muted); font-size: 14px; }
.piece figcaption { margin-top: 24px; }
.shot { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.soon { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

.piercer { display: grid; grid-template-columns: 356px 1fr; gap: 28px; align-items: center; margin-top: 32px; }
.piercer img { box-shadow: var(--shadow); }
.piercer h3, .piercer p { text-align: left; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.split h3 { margin-top: 26px; }
.map { width: 100%; height: 460px; border: 0; margin-top: 4px; }

details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; padding: 22px 0; font: 600 18px/1.4 Poppins, sans-serif; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; }
details[open] summary::after { content: '×'; }
details p { padding-bottom: 24px; }

.legal { width: min(900px, 100% - 32px); margin: 0 auto; padding: 24px 0 80px; }
.legal h1 { margin-bottom: 24px; }
.legal h2 { border-top: 1px solid #CCC; padding-top: 36px; margin-top: 36px; }
.legal h3 { margin-top: 28px; }
.legal ul { margin-bottom: 20px; }

footer { background: var(--ivory); border-top: 1px solid #DDE1E5; padding: 28px 0; text-align: center; }
.f-name { font-weight: 600; font-size: 19px; margin: 0; }
.f-sub { margin-bottom: 24px; }
.f-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; }
.f-row p { margin: 0; }
.f-row a { text-decoration: none; }

.wa { position: fixed; right: 16px; bottom: 16px; z-index: 10; background: var(--black); color: #FFF; padding: 13px 22px; border-radius: 99px; font-weight: 600; text-decoration: none; box-shadow: var(--shadow); }

/* ---------- Calendário do Advento ---------- */
.advent { --gold: #C9AB77; --light: #E8D3A6; --cream: #F3EDE2; background: #111214; color: #C9C3B8; font-family: Arial, Helvetica, sans-serif; text-align: center; }
.advent h1, .advent h2, .advent h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; color: var(--cream); }
.advent :focus-visible { outline-color: var(--gold); }
.advent .shell { width: min(1124px, 100% - 32px); }
.a-top { border-bottom: 1px solid #3A352B; }
.a-top .shell { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; text-align: left; }
.a-brand { text-decoration: none; color: var(--cream); font-weight: 700; letter-spacing: .16em; font-size: 17px; }
.a-brand small { display: block; font-weight: 400; font-size: 9px; color: var(--gold); letter-spacing: .3em; margin-top: 6px; }
.a-hero { padding: 92px 16px 80px; background: radial-gradient(60% 70% at 50% 0, #2A2118, transparent 70%); }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .28em; font-size: 11px; font-weight: 700; }
.star { color: var(--gold); font-size: 40px; }
.a-hero h1 { font-size: clamp(44px, 7vw, 84px); line-height: 1.14; margin-bottom: 24px; }
.a-hero em { display: block; color: var(--light); }
.a-hero > p:not(.eyebrow, .star, .small) { max-width: 60ch; margin-inline: auto; font-size: 18px; line-height: 1.75; }
.small { font-size: 12px; }
.a-btn { display: inline-block; border: 1px solid var(--gold); color: var(--light); background: transparent; padding: 17px 26px; font: 700 11px Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.a-btn.solid { background: var(--gold); color: #161616; }
.advent .actions { gap: 12px; margin-bottom: 28px; }
.offer { border: 1px solid #3D372A; padding: 40px 24px; }
.offer h2 { text-transform: uppercase; margin: 0; }
.offer .big { font: 400 82px/1.1 Georgia, serif; color: var(--light); margin: 0; }
.offer h3 { text-transform: uppercase; font-size: 22px; }
.offer p { max-width: 66ch; margin-inline: auto; margin-bottom: 20px; }
.doors { background: #0C0D0F; padding: 72px 0; margin-top: 30px; }
.doors h2 { font-size: 46px; margin-bottom: 8px; }
.doors ul { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; list-style: none; padding: 0; margin-top: 36px; }
.door button { width: 100%; text-align: left; background: #17181A; border: 1px solid #4A4332; outline-offset: -8px; outline: 1px solid #2C2B26; padding: 18px; color: var(--gold); font: 11px Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.door span { display: block; }
.door .n { font: 700 54px/1.4 Georgia, serif; }
.door button:enabled { cursor: pointer; border-color: var(--gold); }
.door button:enabled:hover { background: #231E16; }
.a-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: left; padding: 38px 0; border-bottom: 1px solid #3A352B; font-size: 14px; }
.a-three h3 { font: 700 11px Arial, sans-serif !important; color: var(--light) !important; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.a-two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; text-align: left; padding: 90px 0; }
.a-two h2 { font-size: 27px; }
.a-two p { margin-bottom: 16px; }
.a-foot { background: #0C0D0F; border-color: #3A352B; font-size: 11px; }
.a-foot .shell { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.advent dialog { margin: auto; background: #17181A; color: #F3EDE2; border: 1px solid #C9AB77; padding: 36px; max-width: min(460px, 100% - 32px); text-align: center; }
.advent dialog::backdrop { background: rgba(0, 0, 0, .7); }

@media (max-width: 900px) {
  .g4, .g3 { grid-template-columns: repeat(2, 1fr); }
  .g3.cols, .a-three, .a-two, .split { grid-template-columns: 1fr; }
  .doors ul { grid-template-columns: repeat(4, 1fr); }
  .piercer { grid-template-columns: 1fr; }
  .piercer img { max-width: 356px; }
  .menu-btn { display: block; }
  .top { padding-block: 24px; }
  nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 4px; }
  nav.is-open { display: flex; }
  .f-row { justify-content: center; }
  footer { padding-bottom: 90px; }
}
@media (max-width: 560px) {
  .g4:not(.row) { grid-template-columns: 1fr; }
  .grid:not(.g4):not(.cols):has(.card), .grid:has(.piece), .g2 { grid-template-columns: 1fr; }
  .g3 { gap: 12px; }
  .doors ul { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .door button { padding: 14px 10px; font-size: 9px; }
  .door .n { font-size: 38px; }
  .btn { width: 100%; }
  .topbar { font-size: 13px; }
  section.band, section.open { padding-block: 56px; }
  .hero { padding-block: 48px 64px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* idiomas (bandeiras, como no site da Tattoo) */
.langs { display: flex; gap: 2px; }
.flag { display: grid; place-items: center; width: 40px; height: 44px; border: 0; border-radius: 4px; padding: 0; }
.flag svg { width: 24px; height: 16px; display: block; outline: 1px solid rgba(0,0,0,.18); }
.flag[aria-current] { background: #FFF; box-shadow: 0 0 0 1px var(--black); }
.advent .flag[aria-current] { background: #2A2118; box-shadow: 0 0 0 1px var(--gold); }
.note { border: 1px solid #CCC; background: #FFF; padding: 12px 16px; margin-bottom: 24px; }

/* bandeiras na barra do topo; grelhas que aguentam palavras longas (alemão) */
.topbar .shell { align-items: center; flex-wrap: wrap; padding: 2px 0; }
.tb-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: flex-end; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { hyphens: auto; }
.h-card { font-size: clamp(22px, 2.1vw, 28px); }
nav { gap: clamp(14px, 2.2vw, 32px); }
@media (max-width: 1100px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3.cols { grid-template-columns: minmax(0, 1fr); }
  nav { gap: 4px; }
}
@media (max-width: 560px) {
  .g4:not(.row), .g2, .grid:not(.g4):not(.cols):has(.card), .grid:has(.piece) { grid-template-columns: minmax(0, 1fr); }
  .topbar .shell, .tb-right { justify-content: center; gap: 0 16px; }
}

/* topo da Home com foto */
.hero { width: min(1140px, 100%); display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: center; padding: 56px clamp(16px, 6vw, 80px) 96px; }
.hero .actions { justify-content: flex-start; gap: 14px; }
.hero .btn { padding-inline: 28px; font-size: 17px; }
.hero-img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; box-shadow: var(--shadow); }
.where { margin-top: 24px; font-size: 14px; color: var(--muted); }
.status::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #999; margin-right: 7px; }
.status.is-open::before { background: #2E7D4F; }
.status:empty { display: none; }
.link { background: none; border: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; padding: 8px 0; }
.map-box { height: 460px; border: 1px solid var(--line); background: var(--bg); display: grid; place-content: center; text-align: center; gap: 4px; padding: 24px; font-size: 14px; }
.map-box p { margin: 8px 0 0; }

/* barra fixa no telemóvel */
.dock { display: none; }
/* formulário conversacional */
.chat { margin: auto; width: min(480px, 100% - 24px); height: min(640px, 100dvh - 24px); max-height: none; border: 0; padding: 0; background: var(--bg); color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.chat[open] { display: flex; flex-direction: column; }
.chat::backdrop { background: rgba(11,11,11,.55); }
.chat header { display: flex; justify-content: space-between; align-items: center; background: var(--white); padding: 14px 18px; }
.chat h2 { font-size: 18px; margin: 0; }
.chat header span { font-size: 13px; color: var(--muted); }
.chat-close { width: 44px; height: 44px; font-size: 26px; background: none; border: 0; cursor: pointer; }
.chat-track { height: 3px; flex: none; background: var(--line); }
.chat-track i { display: block; height: 100%; width: 0; background: var(--black); transition: width .3s; }
.chat-log { flex: 1; min-height: 80px; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.msg { margin: 0; max-width: 85%; padding: 10px 14px; border-radius: 16px; background: var(--white); align-self: flex-start; white-space: pre-line; }
.msg.me { align-self: flex-end; background: var(--black); color: #FFF; }
.msg.note { border: 1px solid var(--black); }
.chat-input { flex: none; max-height: 60%; overflow-y: auto; background: var(--white); padding: 14px 18px; border-top: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 8px 18px; border-radius: 99px; border: 1px solid var(--black); background: var(--white); color: var(--ink); font: 500 15px Inter, sans-serif; cursor: pointer; }
.chip:hover { background: var(--black); color: #FFF; }
.field { width: 100%; font: 400 16px Inter, sans-serif; padding: 12px 14px; border: 1px solid #888; border-radius: 8px; }
.row-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; }
.chat .btn { min-height: 48px; font-size: 16px; padding: 10px 24px; }
.err { color: #A3261B; font-size: 14px; margin: 6px 0 0; }
.err:empty { display: none; }
.summary { margin-bottom: 12px; font-size: 14px; }
.summary div { display: flex; gap: 8px; }
.summary dt { color: var(--muted); }
.consent { display: flex; gap: 10px; font-size: 13px; line-height: 1.45; }
.consent input { width: 22px; height: 22px; flex: none; }

/* cookies */
.cookies { position: fixed; left: 16px; bottom: 16px; z-index: 30; width: min(520px, 100% - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--white); border: 1px solid var(--black); box-shadow: var(--shadow); padding: 20px; font-size: 14px; }
.cookies[hidden], .cookies [hidden] { display: none !important; }
.cookies p { margin-bottom: 14px; }
#ck-prefs { display: grid; margin-bottom: 12px; }
#ck-prefs label { display: flex; gap: 10px; align-items: center; min-height: 36px; }
#ck-prefs input { width: 20px; height: 20px; }
.ck-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cookies .btn { min-height: 44px; font-size: 14px; padding: 8px 18px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 0 0 56px; }
  .hero-img { order: -1; aspect-ratio: 16 / 11; object-position: 50% 45%; box-shadow: none; }
  .hero-text { padding: 0 16px; }
  .wa { display: none; }
  .dock { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; position: fixed; inset: auto 0 0 0; z-index: 10; background: var(--white); border-top: 1px solid var(--line); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); }
  .dock .btn { width: auto; min-height: 48px; padding: 6px; font-size: 14px; }
  footer { padding-bottom: 96px; }
  .cookies { left: 8px; bottom: 76px; width: calc(100% - 16px); max-height: calc(100dvh - 92px); }
}

/* alvos de toque */
.logo img { width: min(365px, 66vw); height: auto; }
.topbar a, .f-row a, .piece figcaption a, .where a { display: inline-flex; align-items: center; min-height: 28px; }
.f-row .link { min-height: 28px; padding: 0; }
@media (max-width: 900px) {
  .topbar a, .f-row a, .f-row .link, .piece figcaption a, .where a { min-height: 44px; }
  .menu-btn { min-height: 44px; }
  .top { padding: 14px 16px; gap: 10px; }
  .logo img { width: min(300px, 62vw); }
  .topbar .status, .topbar .shell > span:empty { display: none; }
}
.cookies p a, .map-box p a { display: inline-flex; align-items: center; min-height: 28px; }
.topbar a.flag { justify-content: center; min-height: 44px; }
@media (max-width: 900px) { .logo img { width: min(280px, 56vw); } }
