/* Petstyle Boutique · folha de estilos única
   Regra de animação: só transform e opacity. Tudo desliga com prefers-reduced-motion. */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/assets/fonts/fraunces-normal-latin.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/fraunces-italic-latin.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500 800; font-display: swap; src: url("/assets/fonts/manrope-normal-latin.woff2") format("woff2"); }

:root {
  --cream: #f7f1ea;
  --paper: #fffdf9;
  --sand: #efe5da;
  --line: #e4d8cb;
  --cocoa: #3a241b;
  --cocoa-2: #5e473c;
  --muted: #6f5a4f;
  --rose: #a8475e;
  --rose-dark: #8c3a4e;
  --blush: #f2d4da;
  --teal: #17707a;
  --wa: #17794a;
  --wa-dark: #11603a;
  --error: #b3261e;
  --error-bg: #fdecea;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 1px rgba(58, 36, 27, .04), 0 2px 4px rgba(58, 36, 27, .05), 0 6px 12px -4px rgba(58, 36, 27, .08);
  --shadow: 0 1px 1px rgba(58, 36, 27, .04), 0 3px 6px rgba(58, 36, 27, .05), 0 12px 24px -8px rgba(58, 36, 27, .12), 0 28px 48px -24px rgba(58, 36, 27, .18);
  --shadow-lg: 0 2px 2px rgba(58, 36, 27, .04), 0 8px 16px rgba(58, 36, 27, .06), 0 24px 40px -12px rgba(58, 36, 27, .18), 0 48px 80px -32px rgba(58, 36, 27, .28);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--cocoa);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: var(--rose-dark); text-underline-offset: 3px; }
a:hover { color: var(--rose); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.32rem; }
p { margin: 0 0 1em; }
em.accent { font-style: italic; color: var(--rose); font-weight: 500; }
mark.todo { background: #fff2b3; color: #5c4a00; padding: 0 .3em; border-radius: 4px; font-weight: 700; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cocoa); color: #fff; padding: 12px 18px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; color: #fff; }
.eyebrow { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: var(--teal); margin-bottom: 1rem; display: inline-block; }
.lead { font-size: clamp(1.06rem, 1.6vw, 1.22rem); color: var(--cocoa-2); max-width: 56ch; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--paper { background: var(--paper); }
.section--sand { background: var(--sand); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }

/* Botões: cor muda sem transição, movimento só em transform */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 700 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--cocoa); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: #24150f; color: #fff; }
.btn--wa { background: var(--wa); color: #fff; box-shadow: var(--shadow-sm); }
.btn--wa:hover { background: var(--wa-dark); color: #fff; }
.btn--ghost { border-color: var(--cocoa); color: var(--cocoa); background: transparent; }
.btn--ghost:hover { background: var(--cocoa); color: #fff; }
.btn--small { min-height: 46px; padding: 0 20px; font-size: .95rem; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .75; cursor: progress; transform: none; }
.btn .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; display: none; }
.btn[aria-busy="true"] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-tap { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 241, 234, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.site-header::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--line); opacity: 0; transition: opacity .2s; }
.site-header.is-scrolled::after { opacity: 1; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cocoa); min-height: 44px; }
.brand img { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); background: #fff; }
.brand span { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; line-height: 1; }
.brand small { display: block; font-family: var(--font-body); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 4px; font-weight: 700; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.nav a:not(.btn) { position: relative; display: inline-flex; align-items: center; min-height: 44px; color: var(--cocoa); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--rose); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; width: 48px; height: 48px; border-radius: 12px; cursor: pointer; color: var(--cocoa); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 8px; padding: 12px var(--gutter) 28px; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a:not(.btn) { display: flex; min-height: 52px; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav ul a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 12px; }
}

/* Hero */
.hero { padding-block: clamp(28px, 6vw, 72px) clamp(56px, 8vw, 104px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .4em; max-width: 14ch; }
.hero .lead { margin-bottom: 1.8rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: .95rem; color: var(--cocoa-2); font-weight: 600; }
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 18px; height: 18px; color: var(--teal); flex: none; }
.hero-art { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.hero-art > * { will-change: transform; }
.arch { border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; background: var(--sand); box-shadow: var(--shadow); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .arch:first-child { grid-row: span 2; aspect-ratio: 3 / 4.3; }
.hero-art .arch:nth-child(2) { aspect-ratio: 1 / 1.05; }
.hero-art .arch:nth-child(3) { aspect-ratio: 1 / 1.05; border-radius: var(--radius) var(--radius) 999px 999px; }
.hero-badge { position: absolute; left: -18px; bottom: 20%; background: var(--paper); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; max-width: 230px; }
.hero-badge strong { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--rose); }
.hero-badge span { font-size: .85rem; line-height: 1.3; color: var(--cocoa-2); font-weight: 600; }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; }
  .hero-badge { left: 8px; bottom: 8px; }
}

/* Cards com tilt 3D (o JS só define --rx e --ry) */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; perspective: 1200px; }
.card {
  --rx: 0deg; --ry: 0deg; --lift: 0px;
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transform: translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d; transition: transform .4s var(--ease);
}
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: var(--shadow-lg); opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; }
.card:hover, .card:focus-within { --lift: -4px; }
.card:hover::after, .card:focus-within::after { opacity: 1; }
.card.is-tilting { transition: transform .08s linear; }
.card-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); color: var(--rose-dark); margin-bottom: 20px; transform: translateZ(24px); }
.card-icon svg { width: 26px; height: 26px; }
.card h3 { transform: translateZ(16px); }
.card p { color: var(--cocoa-2); font-size: 1rem; }
.card .more { margin-top: auto; display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: none; }
.card .more::after { content: "→"; margin-left: .4em; transition: transform .25s var(--ease); }
.card .more:hover::after { transform: translateX(4px); }

/* Passos */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; border-top: 2px solid var(--cocoa); padding-top: 22px; }
.steps li::before { content: "0" counter(step); font-family: var(--font-display); font-size: 2.4rem; color: var(--rose); display: block; line-height: 1; margin-bottom: 14px; }
.steps p { color: var(--cocoa-2); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--reverse .split-media { order: 2; }
.split-media .arch { aspect-ratio: 4 / 5; max-width: 460px; }
.split-media--duo { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: end; }
.split-media--duo .arch:last-child { aspect-ratio: 3 / 4; border-radius: var(--radius); }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split--reverse .split-media { order: 0; } }

.checklist { list-style: none; padding: 0; margin: 0 0 1.6em; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; color: var(--cocoa-2); }
.checklist li::before { content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238c3a4e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.checklist strong { color: var(--cocoa); }

/* Galeria */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.gallery figure { margin: 0; border-radius: 14px; overflow: hidden; background: var(--sand); aspect-ratio: 3 / 4; position: relative; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 8px; right: 8px; bottom: 8px; background: rgba(255, 253, 249, .94); border-radius: 8px; padding: 6px 8px; font-size: .8rem; font-weight: 700; line-height: 1.25; }
@media (max-width: 960px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; min-height: 44px; position: relative; font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--cocoa); border-bottom: 2px solid var(--cocoa); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--cocoa-2); padding-bottom: 18px; margin: 0; max-width: 70ch; }

/* CTA final */
.cta-band { background: var(--cocoa); color: #f7efe8; border-radius: calc(var(--radius) * 1.4); padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #e6d6cb; margin: 0; }
.cta-band .btn--ghost { border-color: #f7efe8; color: #fff; }
.cta-band .btn--ghost:hover { background: #fff; color: var(--cocoa); }
.cta-band .btn-row { justify-content: flex-end; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 212, 218, .22), transparent); }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* Visita */
.visit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.visit > div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.visit h3 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 800; letter-spacing: .02em; }
.visit p { color: var(--cocoa-2); margin: 0 0 .6em; }
@media (max-width: 820px) { .visit { grid-template-columns: 1fr; } }

/* Páginas interiores */
.page-hero { padding-block: clamp(36px, 7vw, 88px) clamp(28px, 4vw, 48px); }
.breadcrumbs { font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; padding: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: #b5a497; }
.breadcrumbs a { color: var(--muted); display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }

.service { display: grid; grid-template-columns: 280px 1fr; gap: clamp(24px, 5vw, 64px); padding-block: 48px; border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; }
.service-media .arch { aspect-ratio: 3 / 4; }
.service .tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1.2em; }
.service .tags li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .88rem; font-weight: 600; color: var(--cocoa-2); }
@media (max-width: 760px) { .service { grid-template-columns: 1fr; } .service-media .arch { max-width: 300px; aspect-ratio: 4 / 4.4; } }

/* Formulário */
.form-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
.field .opt { font-weight: 500; color: var(--muted); }
.control { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 44px 12px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid #b9a99b; background: #fff; color: var(--cocoa);
  font: 500 1rem/1.4 var(--font-body);
}
.field select { padding-right: 14px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(23, 112, 122, .35); outline-offset: 1px; border-color: var(--teal); }
.field .state-icon-input { position: absolute; right: 14px; top: 15px; width: 20px; height: 20px; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .2s var(--ease); pointer-events: none; }
.field.has-error .state-icon-input--err, .field.is-valid .state-icon-input--ok { opacity: 1; transform: none; }
.state-icon-input--err { color: var(--error); }
.state-icon-input--ok { color: var(--wa); }
.hint { font-size: .86rem; color: var(--muted); margin: 6px 0 0; }
.error-msg { color: var(--error); font-size: .88rem; font-weight: 700; margin: 6px 0 0; min-height: 0; }
.error-msg:empty { display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); border-width: 2px; background: var(--error-bg); }
.field .consent { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; font-size: .93rem; color: var(--cocoa-2); font-weight: 500; margin: 0; cursor: pointer; }
.consent input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--cocoa); }
.field.has-error .consent input { outline: 2px solid var(--error); outline-offset: 2px; }
.form-summary { display: none; border: 2px solid var(--error); background: var(--error-bg); color: var(--error); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 22px; font-weight: 700; }
.form-summary.is-visible { display: block; }
.form-summary ul { margin: 6px 0 0; padding-left: 1.2em; font-weight: 600; }
.form-summary a { color: var(--error); }
.form-summary--server { border-color: var(--cocoa); background: var(--sand); color: var(--cocoa); }
.form-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Texto legal */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.55rem; margin-top: 2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; font-family: var(--font-body); font-weight: 800; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.table-wrap { overflow-x: auto; margin: 1em 0 1.6em; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--sand); }

/* Obrigado / 404 */
.state { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 64px; }
.state > .wrap { min-width: 0; }
.state .big { font-family: var(--font-display); font-size: clamp(5rem, 16vw, 9rem); line-height: 1; color: var(--rose); margin: 0; font-weight: 500; }
.state .lead { margin-inline: auto; }
.state .btn-row { justify-content: center; margin-top: 28px; }
.state-mark { width: 96px; height: 96px; margin: 0 auto 24px; border-radius: 50%; background: var(--blush); display: grid; place-items: center; color: var(--rose-dark); box-shadow: var(--shadow); }
.state-mark svg { width: 46px; height: 46px; }
.next-steps { list-style: none; padding: 0; margin: 28px auto 0; max-width: 560px; display: grid; gap: 10px; text-align: left; }
.next-steps li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; box-shadow: var(--shadow-sm); color: var(--cocoa-2); }
.next-steps strong { color: var(--cocoa); }
.links-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 32px auto 0; max-width: 820px; text-align: left; }
.links-grid a { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--cocoa); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease); }
.links-grid a:hover { transform: translateY(-3px); }
.links-grid strong { display: block; font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 4px; }
.links-grid span { color: var(--cocoa-2); font-size: .94rem; }

/* Rodapé */
.site-footer { background: #2b1a13; color: #d9c8bd; padding-block: 64px 28px; font-size: .96rem; }
.site-footer a { color: #f3e6dc; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-grid h2 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 10px; font-weight: 800; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.footer-brand img { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 14px; }
.footer-legal { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 4px 24px; justify-content: space-between; align-items: center; font-size: .88rem; color: #c9b6a9; }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.footer-legal a, .footer-legal button { color: #e5d6cb; text-decoration: underline; font: inherit; background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* WhatsApp flutuante: no telemóvel o rodapé ganha espaço para o botão não tapar conteúdo */
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); transition: transform .25s var(--ease), opacity .25s; }
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }
.cookie-open .wa-float { opacity: 0; pointer-events: none; }
@media (max-width: 880px) { .site-footer { padding-bottom: 100px; } .wa-float { width: 54px; height: 54px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); } }

/* Banner de cookies: Aceitar e Rejeitar com o mesmo peso visual */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 580px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 22px; opacity: 0; transform: translateY(16px); visibility: hidden; transition: opacity .3s, transform .3s var(--ease), visibility .3s; max-height: calc(100vh - 32px); overflow-y: auto; }
.cookie.is-visible { opacity: 1; transform: none; visibility: visible; }
.cookie h2 { font-size: 1.2rem; margin-bottom: .4em; }
.cookie p { font-size: .93rem; color: var(--cocoa-2); margin-bottom: 14px; }
.cookie .btn-row { gap: 10px; }
.cookie .btn--equal { flex: 1 1 140px; background: var(--cocoa); color: #fff; }
.cookie .btn--equal:hover { background: #24150f; color: #fff; }
.cookie-prefs { display: none; border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px; }
.cookie.is-custom .cookie-prefs { display: block; }
.pref { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 10px 0; }
.pref strong { display: block; }
.pref span { font-size: .88rem; color: var(--cocoa-2); }
.switch { position: relative; width: 52px; height: 30px; }
.switch input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: #b9a99b; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease); }
.switch input:checked + i { background: var(--wa); }
.switch input:checked + i::after { transform: translateX(22px); }
.switch input:disabled + i { opacity: .6; }
.switch input:focus-visible + i { outline: 3px solid var(--teal); outline-offset: 2px; }

/* Revelação ao scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .card, .hero-art > * { transform: none !important; }
  .btn .spinner { animation: none; border-top-color: rgba(255,255,255,.35); }
}
