/* ==========================================================
   Minha Boneca de Pano — estilos globais
   ========================================================== */

/* ---------- Fontes (hospedadas no próprio site) ---------- */
@font-face { font-family: "Alegreya"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/alegreya-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Alegreya"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/alegreya-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Alegreya"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/alegreya-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Alegreya"; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/alegreya-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/caveat-latin-700-normal.woff2") format("woff2"); }

/* ---------- Cores, fontes e medidas ---------- */
:root {
  --ink: #315a5c;          /* verde petróleo: textos e fundos escuros */
  --ink-soft: #4a6a6b;     /* texto secundário */
  --rose: #c96472;         /* rosa decorativo: costuras, detalhes */
  --rose-deep: #a8475a;    /* rosa para textos e botões (contraste AA) */
  --rose-soft: #f5d6d8;
  --cream: #fff9ed;
  --paper: #fffdf7;
  --butter: #f7e8bb;
  --mint: #dcebe2;
  --whats: #2f7d4f;        /* verde do botão do WhatsApp */
  --display: "Alegreya", Georgia, "Times New Roman", serif;
  --body: "Alegreya", Georgia, "Times New Roman", serif;
  --hand: "Caveat", "Segoe Print", cursive;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -.01em; }
h1 em { font-style: italic; color: var(--rose-deep); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; }
h3 { font-size: 1.55rem; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--rose-deep); outline-offset: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow { font-weight: 700; text-transform: uppercase; letter-spacing: .16em; font-size: .82rem; color: var(--rose-deep); }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 34rem; }
.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; }

/* Papel com florzinhas */
.floral {
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='132' height='132'%3E%3Cg opacity='.5'%3E%3Cg transform='translate(30 34)'%3E%3Cellipse cx='-9' cy='9' rx='7' ry='3.2' fill='%2390b8a4' transform='rotate(-35 -9 9)'/%3E%3Cg fill='%23e9a3ab'%3E%3Ccircle cy='-6' r='5'/%3E%3Ccircle cx='5.7' cy='-1.9' r='5'/%3E%3Ccircle cx='3.5' cy='4.9' r='5'/%3E%3Ccircle cx='-3.5' cy='4.9' r='5'/%3E%3Ccircle cx='-5.7' cy='-1.9' r='5'/%3E%3C/g%3E%3Ccircle r='2.8' fill='%23f7e8bb'/%3E%3C/g%3E%3Cg transform='translate(98 96)'%3E%3Cellipse cx='9' cy='8' rx='6' ry='2.8' fill='%2390b8a4' transform='rotate(30 9 8)'/%3E%3Cg fill='%2390b8a4'%3E%3Ccircle cy='-4.5' r='3.8'/%3E%3Ccircle cx='4.3' cy='-1.4' r='3.8'/%3E%3Ccircle cx='2.6' cy='3.7' r='3.8'/%3E%3Ccircle cx='-2.6' cy='3.7' r='3.8'/%3E%3Ccircle cx='-4.3' cy='-1.4' r='3.8'/%3E%3C/g%3E%3Ccircle r='2' fill='%23fffdf7'/%3E%3C/g%3E%3Ccircle cx='96' cy='28' r='2.2' fill='%23c96472'/%3E%3Ccircle cx='34' cy='104' r='2' fill='%23315a5c'/%3E%3Ccircle cx='66' cy='66' r='1.6' fill='%23c96472'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 132px 132px;
}

/* Retalho de tecido leve (blocos de texto sobre o papel floral) */
.fabric {
  position: relative;
  padding: clamp(1.3rem, 3vw, 2.2rem);
  border-radius: 1.4rem;
  background-color: rgba(255,253,247,.72);
  background-image:
    repeating-linear-gradient(0deg, rgba(49,90,92,.03) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(49,90,92,.03) 0 1px, transparent 1px 3px);
  -webkit-backdrop-filter: blur(2.5px);
  backdrop-filter: blur(2.5px);
  box-shadow: 0 3px 14px rgba(49,90,92,.07);
}
.fabric::before { content: ""; position: absolute; inset: 7px; border-radius: 1.05rem; pointer-events: none; border: 1.5px dashed rgba(201,100,114,.5); }
.fabric > * { position: relative; }
.fabric .lead { color: var(--ink); }

/* Linha de costura */
.seam { height: 2px; background: repeating-linear-gradient(90deg, var(--rose) 0 7px, transparent 7px 13px); }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; gap: .55rem; padding: .9rem 1.5rem; border-radius: 999px; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid var(--ink); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--rose-deep); color: var(--paper); border-color: var(--rose-deep); box-shadow: 4px 5px 0 rgba(79,38,40,.2); }
.btn-primary:hover { transform: translate(-2px,-2px); box-shadow: 6px 7px 0 rgba(79,38,40,.2); }
.btn-ghost { background: var(--paper); color: var(--ink); }
.btn-ghost:hover { background: var(--mint); }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: .4rem; }

/* ---------- Cabeçalho ---------- */
header { position: relative; z-index: 5; background: var(--mint); color: var(--ink); }
header::after { content: ""; display: block; height: 2px; margin-inline: var(--gutter); background: repeating-linear-gradient(90deg, rgba(49,90,92,.35) 0 7px, transparent 7px 13px); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-logo { width: 52px; height: 52px; flex: none; display: block; border-radius: 50%; transition: transform .25s ease; }
.brand:hover .brand-logo { transform: rotate(-8deg); }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1; }
.nav { display: flex; gap: 1.8rem; align-items: center; }
.nav a { font-family: var(--display); font-weight: 700; font-size: 1.12rem; text-decoration: none; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 0; background: var(--rose-deep); transition: width .25s ease; }
.nav a:hover::after { width: 100%; }
.header-cta { padding: .6rem 1.2rem; }
.menu-btn { display: none; background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; padding: .45rem; color: var(--ink); cursor: pointer; }
.mobile-nav { display: flex; flex-direction: column; gap: .8rem; padding: 1rem var(--gutter) 1.4rem; background: var(--mint); border-top: 1px solid rgba(49,90,92,.15); }
.mobile-nav a { font-family: var(--display); font-weight: 700; font-size: 1.2rem; text-decoration: none; }
.mobile-nav .mobile-cta { color: var(--rose-deep); }
@media (min-width: 981px) { .mobile-nav, .menu-btn { display: none !important; } }
@media (max-width: 980px) { .nav, .header-cta { display: none; } .menu-btn { display: inline-flex; } }

/* ---------- Costuras entre as áreas ---------- */
.benefits, .kit, .steps, .magic, footer { position: relative; }
.benefits::before, .kit::before, .steps::before, .magic::before, footer::before {
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 2px;
  background: repeating-linear-gradient(90deg, var(--seam-color) 0 7px, transparent 7px 13px);
}
.benefits { --seam-color: rgba(247,232,187,.6); }
.kit      { --seam-color: rgba(201,100,114,.55); }
.steps    { --seam-color: rgba(49,90,92,.35); }
.magic    { --seam-color: rgba(201,100,114,.6); }
footer    { --seam-color: rgba(247,232,187,.6); }

/* ---------- Molduras de foto ---------- */
.frame { position: relative; background: var(--paper); border: 10px solid var(--paper); border-radius: 2rem; box-shadow: 9px 10px 0 rgba(49,90,92,.17); overflow: hidden; }
.photo { display: block; width: 100%; height: auto; object-fit: cover; border-radius: calc(2rem - 10px); background: var(--mint); }
.blob { position: absolute; border-radius: 50%; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(4rem, 8vw, 6.5rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.hero-copy { display: grid; gap: 1.4rem; min-width: 0; }
.tag { justify-self: start; display: inline-flex; align-items: center; gap: .5rem; background: var(--paper); color: var(--rose-deep); border: 2px dashed rgba(49,90,92,.4); border-radius: 999px; padding: .45rem 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; }
.note { display: flex; align-items: center; gap: 1rem; margin-top: .6rem; }
.note .seam { width: 80px; flex: none; }
.note span { font-family: var(--hand); font-size: 1.6rem; font-weight: 700; line-height: 1.15; }
.hero-art { position: relative; max-width: 470px; width: 100%; justify-self: center; }
.hero-art .blob-a { left: -28px; top: 28px; width: 96px; height: 96px; background: var(--butter); }
.hero-art .blob-b { right: -30px; bottom: 18px; width: 112px; height: 112px; background: var(--mint); }
.hero .frame { transform: rotate(2deg); }
.hero-photo { aspect-ratio: 4 / 5; }
.sticker { position: absolute; left: -.5rem; bottom: -1.2rem; transform: rotate(-6deg); background: var(--butter); color: var(--ink); font-family: var(--hand); font-weight: 700; font-size: 1.55rem; line-height: 1.1; padding: .55rem 1.1rem; border-radius: .5rem; box-shadow: 3px 4px 0 rgba(49,90,92,.15); }
.sticker::before { content: ""; position: absolute; top: -9px; left: 50%; width: 54px; height: 18px; transform: translateX(-50%) rotate(3deg); background: rgba(220,235,226,.85); }

/* ---------- Faixa de benefícios ---------- */
.benefits { background: var(--ink); color: var(--cream); padding-block: 2.2rem; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.benefit { display: grid; justify-items: center; gap: .5rem; padding: .4rem 1.2rem; font-weight: 700; }
.benefit + .benefit { border-left: 1px solid rgba(255,249,237,.2); }
.benefit svg { width: 26px; height: 26px; color: var(--butter); }

/* ---------- O kit ---------- */
.kit { background: var(--paper); padding-block: clamp(4rem, 8vw, 6rem); }
.kit-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.kit-art { position: relative; }
.kit-art::before { content: ""; position: absolute; inset: -12px 12px 12px -12px; background: var(--mint); border-radius: 1.7rem; }
.kit-art .frame { border-radius: 1.4rem; }
.kit-photo { aspect-ratio: 3 / 2; border-radius: calc(1.4rem - 10px); }
.badge { position: absolute; right: 1.2rem; bottom: -1.2rem; width: 58px; height: 58px; border-radius: 50%; background: var(--rose-deep); display: grid; place-items: center; color: var(--paper); box-shadow: 0 6px 14px rgba(49,90,92,.22); }
.badge svg { width: 26px; height: 26px; }
.kit-copy { display: grid; gap: 1rem; min-width: 0; }
.checklist { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.4rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; font-weight: 700; }
.check { width: 28px; height: 28px; border-radius: 50%; background: var(--butter); display: grid; place-items: center; flex: none; }
.check svg { width: 15px; height: 15px; }

/* ---------- Como criar ---------- */
.steps { padding-block: clamp(4rem, 8vw, 6rem); }
.steps-head { text-align: center; max-width: 42rem; margin: 0 auto; display: grid; gap: .9rem; justify-items: center; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; margin-top: 3rem; }
.card { position: relative; background: var(--paper); border-radius: 1.4rem; padding: 1.8rem; box-shadow: 7px 8px 0 rgba(49,90,92,.12); display: grid; gap: .8rem; align-content: start; transition: transform .25s ease, box-shadow .25s ease; }
.card::after { content: ""; position: absolute; inset: 8px; border: 2px dashed rgba(49,90,92,.16); border-radius: 1rem; pointer-events: none; }
.card:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: 10px 13px 0 rgba(49,90,92,.15); }
.card p { color: var(--ink-soft); }
.num { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.25rem; }
.num-1 { background: var(--butter); }
.num-2 { background: var(--mint); }
.num-3 { background: var(--rose-soft); }

/* Etiquetas de idade e dificuldade */
.labels { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: .3rem; }
.label { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem; border-radius: 999px; background: var(--paper); border: 1.5px dashed rgba(49,90,92,.35); font-weight: 700; font-size: .95rem; }
.label svg { width: 18px; height: 18px; color: var(--rose-deep); flex: none; }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--rose-deep); }
.dots i.off { background: transparent; box-shadow: inset 0 0 0 1.5px var(--rose-deep); }

/* ---------- A magia ---------- */
.magic { background: var(--mint); padding-block: clamp(4rem, 8vw, 6rem); }
.magic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.magic-copy { display: grid; gap: 1.1rem; min-width: 0; }
.magic-copy .lead { color: var(--ink); }
.label-tape { justify-self: start; background: var(--paper); padding: .45rem 1rem; border-radius: .3rem; transform: rotate(-2deg); box-shadow: 0 2px 6px rgba(49,90,92,.12); }
.magic-art { position: relative; max-width: 470px; width: 100%; justify-self: center; }
.ring { position: absolute; right: -14px; top: -22px; width: 96px; height: 96px; border-radius: 50%; border: 12px solid var(--butter); z-index: 1; }
.magic-photo { aspect-ratio: 1 / 1; background: var(--paper); }

/* ---------- Rodapé ---------- */
footer { background: var(--ink); color: var(--cream); padding-block: 2.2rem calc(2.2rem + 64px); } /* espaço extra para os botões flutuantes não cobrirem o rodapé */
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 1.5rem 2.5rem; }
.footer-info { display: grid; grid-template-columns: auto 1fr; gap: .2rem .9rem; align-items: center; min-width: 0; }
.footer-info > svg { grid-row: span 3; align-self: start; margin-top: .2rem; width: 26px; height: 26px; color: var(--butter); }
.footer-tagline { font-family: var(--display); font-weight: 800; font-size: 1.15rem; line-height: 1.3; margin-bottom: .7rem; }
.footer-tagline span { font-weight: 700; font-style: italic; font-size: 1.02rem; color: var(--butter); }
.footer-project { font-size: .95rem; }
.footer-project strong { color: var(--butter); }
.footer-info small { font-size: .9rem; opacity: .85; }
.footer-side { display: grid; gap: .7rem; justify-items: end; }
.footer-whats { display: inline-flex; align-items: center; gap: .5rem; color: var(--cream); text-decoration: none; font-weight: 700; font-size: 1.05rem; }
.footer-whats svg { width: 22px; height: 22px; color: var(--butter); }
.footer-whats:hover span { text-decoration: underline dashed; text-underline-offset: 4px; }
.footer-credit { font-size: .95rem; color: var(--cream); text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; border-bottom: 1px dashed rgba(247,232,187,.45); padding-bottom: 2px; }
.footer-credit:hover { color: var(--butter); border-bottom-color: var(--butter); }
.footer-credit .heart { color: var(--rose-soft); }

/* ---------- Botão flutuante do WhatsApp (retalho costurado) ---------- */
.whats-float {
  position: fixed; z-index: 20; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: .55rem;
  background-color: var(--whats);
  background-image: linear-gradient(90deg, rgba(255,255,255,.12) 50%, transparent 50%), linear-gradient(rgba(255,255,255,.12) 50%, transparent 50%);
  background-size: 14px 14px;
  color: var(--cream); font-family: var(--display); font-weight: 700; font-size: 1.05rem; text-decoration: none;
  padding: .85rem 1.3rem .85rem 1.05rem; border-radius: 1.1rem; transform: rotate(-2deg);
  box-shadow: 0 1px 0 rgba(0,0,0,.08), 3px 5px 0 rgba(49,90,92,.22), 0 8px 18px rgba(49,90,92,.18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.whats-float::before { content: ""; position: absolute; inset: 5px; border-radius: .75rem; pointer-events: none; border: 2px dashed rgba(255,249,237,.85); }
.whats-float::after { content: ""; position: absolute; top: -4px; right: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--rose); box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.whats-float svg { width: 24px; height: 24px; position: relative; }
.whats-float span { position: relative; }
.whats-float:hover { transform: rotate(0deg) translateY(-2px); box-shadow: 0 1px 0 rgba(0,0,0,.08), 4px 7px 0 rgba(49,90,92,.22), 0 12px 22px rgba(49,90,92,.2); }

/* ---------- Aviso de cookies ---------- */
.cookie { position: fixed; z-index: 30; left: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: grid; justify-items: start; gap: .8rem; }
.cookie-btn { position: relative; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--paper); display: grid; place-items: center; cursor: pointer; padding: 0; box-shadow: 0 0 0 2px rgba(49,90,92,.25), 3px 5px 0 rgba(49,90,92,.2); transition: transform .2s ease; }
.cookie-btn::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 2px dashed rgba(201,100,114,.55); pointer-events: none; }
.cookie-btn svg { width: 32px; height: 32px; }
.cookie-btn:hover { transform: rotate(-12deg) scale(1.05); }
.cookie-panel {
  position: relative; width: min(370px, calc(100vw - 36px)); max-height: calc(100vh - 110px); overflow-y: auto;
  background: var(--paper); color: var(--ink); border-radius: 1.2rem; padding: 1.4rem 1.4rem 1.2rem; display: grid; gap: .8rem;
  box-shadow: 7px 8px 0 rgba(49,90,92,.18), 0 10px 30px rgba(49,90,92,.15);
  transform-origin: bottom left; opacity: 0; transform: translateY(12px) scale(.6); transition: opacity .22s ease, transform .25s ease;
}
.cookie-panel::after { content: ""; position: absolute; inset: 7px; border: 2px dashed rgba(49,90,92,.16); border-radius: .9rem; pointer-events: none; }
.cookie.is-open .cookie-panel { opacity: 1; transform: none; }
.cookie-title { font-size: 1.5rem; }
.cookie-text { color: var(--ink-soft); font-size: .98rem; line-height: 1.45; }
.cookie-text a { color: var(--rose-deep); font-weight: 700; }
.cookie-status { background: var(--mint); border-radius: .6rem; padding: .5rem .75rem; font-weight: 700; font-size: .93rem; }
.cookie-options { display: grid; gap: .55rem; }
.cookie-opt { display: flex; gap: .65rem; align-items: flex-start; cursor: pointer; position: relative; z-index: 1; }
.cookie-opt input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--rose-deep); flex: none; }
.cookie-opt span { display: grid; line-height: 1.25; }
.cookie-opt small { color: var(--ink-soft); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; position: relative; z-index: 1; margin-top: .2rem; }
.cookie-actions .btn { padding: .6rem 1rem; font-size: .95rem; }
.cookie-link { background: none; border: 0; padding: .3rem .2rem; color: var(--ink-soft); font: inherit; font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cookie-close { position: absolute; top: .7rem; right: .7rem; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--mint); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.cookie-close svg { width: 16px; height: 16px; }

/* ---------- Páginas internas (políticas, quem somos...) ---------- */
.crumbs-bar { background: var(--paper); border-bottom: 1px solid rgba(49,90,92,.1); }
.crumbs-inner { display: flex; align-items: center; justify-content: space-between; gap: .6rem 1.2rem; flex-wrap: wrap; padding-block: .75rem; }
.crumbs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; font-size: .95rem; min-width: 0; }
.crumbs li { display: inline-flex; align-items: center; gap: .3rem; }
.crumbs li + li::before { content: ""; width: 7px; height: 7px; border-top: 2px solid var(--rose); border-right: 2px solid var(--rose); transform: rotate(45deg); margin-inline: .35rem .45rem; }
.crumbs a { color: var(--ink-soft); text-decoration: underline dashed; text-underline-offset: 4px; }
.crumbs a:hover { color: var(--rose-deep); }
.crumbs [aria-current] { font-weight: 700; }
.back-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; color: var(--ink); padding: .35rem .85rem; border-radius: 999px; border: 1.5px dashed rgba(49,90,92,.4); }
.back-link svg { width: 18px; height: 18px; }
.back-link:hover { background: var(--mint); }

.page { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3.5rem, 8vw, 6rem); }
.doc { max-width: 48rem; margin-inline: auto; display: grid; gap: 1rem; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.doc h2 { font-size: clamp(1.4rem, 3vw, 1.75rem); margin-top: 1.2rem; }
.doc-date { color: var(--ink-soft); font-size: .95rem; }
.doc ul { margin: 0; padding-left: 1.3rem; display: grid; gap: .4rem; }
.doc li::marker { color: var(--rose-deep); }
.doc a { color: var(--rose-deep); font-weight: 700; }
.doc .btn { justify-self: start; }
.doc-table { overflow-x: auto; border-radius: .8rem; border: 1px solid rgba(49,90,92,.15); background: var(--paper); }
.doc-table table { width: 100%; border-collapse: collapse; font-size: .97rem; min-width: 520px; }
.doc-table th, .doc-table td { text-align: left; padding: .65rem .85rem; vertical-align: top; border-bottom: 1px solid rgba(49,90,92,.1); }
.doc-table th { background: var(--mint); font-weight: 700; }
.doc-table tr:last-child td { border-bottom: 0; }
.doc-table small { display: block; color: var(--ink-soft); }

/* coluna central do rodapé: links das políticas */
.footer-links { display: grid; gap: .45rem; justify-items: center; text-align: center; padding-inline: 1rem; border-inline: 1px dashed rgba(247,232,187,.3); font-size: .95rem; }
.footer-heading { font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--butter); }
.footer-links a { color: var(--cream); text-decoration: underline dashed; text-underline-offset: 4px; text-decoration-color: rgba(247,232,187,.5); }
.footer-links a:hover { color: var(--butter); }

/* ---------- Página 404 ---------- */
.notfound { padding-block: clamp(4rem, 10vw, 7rem); }

/* ---------- Lista de projetos ---------- */
.page-head { max-width: 46rem; margin-inline: auto; display: grid; gap: .9rem; justify-items: center; text-align: center; }
.page-head h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
.page-head .lead { max-width: 38rem; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.project-card { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: 1.4rem; box-shadow: 7px 8px 0 rgba(49,90,92,.12); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.project-card::after { content: ""; position: absolute; inset: 8px; border: 2px dashed rgba(49,90,92,.16); border-radius: 1rem; pointer-events: none; }
.project-card:not(.is-soon):hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: 10px 13px 0 rgba(49,90,92,.15); }
.project-media { position: relative; aspect-ratio: 4 / 3; margin: 10px 10px 0; border-radius: 1rem; overflow: hidden; background: var(--mint); }
.project-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.project-badge { position: absolute; left: .8rem; top: .8rem; background: var(--butter); color: var(--ink); font-weight: 700; font-size: .85rem; padding: .25rem .7rem; border-radius: .4rem; transform: rotate(-3deg); box-shadow: 2px 3px 0 rgba(49,90,92,.15); }
.project-placeholder { display: grid; place-items: center; background-color: var(--mint); background-image: repeating-linear-gradient(45deg, rgba(255,253,247,.55) 0 10px, transparent 10px 20px); }
.project-placeholder span { font-family: var(--hand); font-size: 2.1rem; font-weight: 700; color: var(--ink); background: var(--paper); padding: .3rem 1.1rem; border-radius: .6rem; transform: rotate(-3deg); box-shadow: 3px 4px 0 rgba(49,90,92,.15); }
.project-body { display: flex; flex-direction: column; gap: .6rem; padding: 1.2rem 1.5rem 1.6rem; flex: 1; position: relative; z-index: 1; }
.project-title { font-size: 1.5rem; }
.project-text { color: var(--ink-soft); flex: 1; }
.project-btn { align-self: flex-start; margin-top: .4rem; padding: .7rem 1.2rem; }
.project-card.is-soon .project-btn { cursor: default; opacity: .6; }
.project-card.is-soon .project-btn:hover { background: var(--paper); }
.load-more { display: grid; justify-items: center; gap: .8rem; margin-top: 2.5rem; }
.load-more-status { color: var(--ink); font-weight: 700; background: rgba(255,253,247,.85); padding: .3rem .9rem; border-radius: 999px; }
.load-more-status:empty { display: none; }
.nav a.nav-projetos[aria-current="page"]::after { width: 100%; }
.nav a.nav-projetos[aria-current="page"], .mobile-nav a.nav-projetos[aria-current="page"] { color: var(--rose-deep); }

/* ---------- Perguntas frequentes ---------- */
.faq { background: var(--paper); padding-block: clamp(4rem, 8vw, 6rem); --seam-color: rgba(201,100,114,.55); }
.faq::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 2px; background: repeating-linear-gradient(90deg, var(--seam-color) 0 7px, transparent 7px 13px); }
.faq { position: relative; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq-head { display: grid; gap: 1rem; min-width: 0; }
.faq-list { display: grid; gap: .9rem; min-width: 0; }
.faq-item { position: relative; background: var(--cream); border-radius: 1.1rem; box-shadow: 5px 6px 0 rgba(49,90,92,.1); }
.faq-item::after { content: ""; position: absolute; inset: 6px; border: 1.5px dashed rgba(49,90,92,.18); border-radius: .8rem; pointer-events: none; }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 1.2rem; line-height: 1.25; position: relative; z-index: 1; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 22px; height: 22px; flex: none; color: var(--rose-deep); transition: transform .25s ease; }
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-item[open] { background: var(--paper); box-shadow: 5px 6px 0 rgba(201,100,114,.18); }
.faq-item p { padding: 0 1.3rem 1.2rem; color: var(--ink); position: relative; z-index: 1; }
.faq-item a { color: var(--rose-deep); font-weight: 700; }

/* ---------- Acessibilidade e navegação ---------- */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--cream); padding: .6rem 1rem; border-radius: .6rem; font-weight: 700; text-decoration: none; transition: top .2s ease; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
.nav a.is-active::after { width: 100%; }
.nav a.is-active, .mobile-nav a.is-active { color: var(--rose-deep); }

/* 404 */
.notfound-card { max-width: 38rem; margin-inline: auto; display: grid; gap: 1rem; justify-items: center; text-align: center; }
.notfound-card .lead { max-width: none; }
.notfound-card .actions { justify-content: center; }
.notfound-logo { width: 120px; height: 120px; }

/* ---------- Animação de entrada ---------- */
.rise { animation: rise .7s both; }
.d1 { animation-delay: .12s; } .d2 { animation-delay: .24s; } .d3 { animation-delay: .36s; }
@keyframes rise { from { transform: translateY(14px); opacity: .01; } to { transform: none; opacity: 1; } }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) auto; }
  .footer-info { grid-column: 1 / -1; }
  .footer-links { border-inline: 0; justify-items: start; text-align: left; padding-inline: 0; }
  .hero-grid, .kit-grid, .magic-grid, .faq-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
  .kit-art { order: 2; }
  .cards { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; }
}
@media (max-width: 640px) {
  .brand-logo { width: 44px; height: 44px; }
  .brand-name { font-size: 1.3rem; }
  .fabric { border-radius: 1.1rem; }
  .fabric::before { inset: 5px; border-radius: .85rem; }
  .note .seam { width: 36px; }
  .note span { font-size: 1.4rem; }
  .sticker { left: .4rem; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit + .benefit { border-left: 0; border-top: 1px solid rgba(255,249,237,.2); padding-top: 1.2rem; margin-top: .8rem; }
  .checklist { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; max-width: 28rem; margin-inline: auto; }
  footer { text-align: center; }
  .footer-grid { grid-template-columns: 1fr; justify-items: center; }
  .footer-info { grid-template-columns: 1fr; justify-items: center; }
  .footer-info > svg { grid-row: auto; margin-top: 0; }
  .footer-links { border-inline: 0; border-block: 1px dashed rgba(247,232,187,.3); padding-block: 1rem; width: 100%; justify-items: center; text-align: center; }
  .crumbs-inner { padding-block: .6rem; }
  .footer-side { justify-items: center; }
  .whats-float { padding: .8rem; border-radius: 50%; }
  .whats-float::before { border-radius: 50%; inset: 4px; }
  .whats-float::after { right: 4px; top: -2px; }
  .whats-float .whats-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cookie { left: 12px; }
  .cookie-btn { width: 52px; height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { animation: none; }
  .btn, .card, .project-card, .brand-logo, .whats-float, .cookie-btn, .cookie-panel, .skip-link, .faq-item summary svg { transition: none; }
}
