@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "InterV"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --cream: #F5F3EC;
  --paper: #FFFFFF;
  --ink: #2B3A2A;
  --muted: #66705F;
  --line: #E1E4D8;
  --coral: #C98F7E;
  --sun: #E8DAB2;
  --teal: #5F7D5A;
  --lilac: #B9C9AE;
  --pink: #EBD3C9;
  --sky: #CFDCE0;
  --radius: 22px;
  --max: 1180px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "InterV", system-ui, sans-serif; background: var(--cream); color: var(--ink); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
h1, h2, h3, .display { font-family: "Bricolage", "InterV", sans-serif; letter-spacing: -0.02em; line-height: 1.05; }
:focus-visible { outline: 3px solid #8FA886; outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 12px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(245,243,236,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { font-family: "Bricolage", sans-serif; font-weight: 800; font-size: 21px; text-decoration: none; letter-spacing: -0.02em; }
.logo i { font-style: normal; color: var(--coral); }
.nav ul { list-style: none; display: flex; gap: 6px; }
.nav a.link { text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 14px; border-radius: 999px; transition: background .2s; }
.nav a.link:hover { background: #fff; }
.nav a.cta-mini { background: var(--teal); color: #fff; }
.nav a.cta-mini:hover { background: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
.hello { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--line); padding: 7px 16px 7px 10px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.hello .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(95,125,90,.5); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(95,125,90,.45); } 70% { box-shadow: 0 0 0 10px rgba(95,125,90,0); } 100% { box-shadow: 0 0 0 0 rgba(95,125,90,0); } }
.hero h1 { font-size: clamp(40px, 5.4vw, 72px); font-weight: 750; margin: 22px 0 22px; }
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl svg { position: absolute; left: -2%; bottom: -0.12em; width: 104%; height: 0.32em; overflow: visible; }
.hero h1 .hl path { fill: none; stroke: #8FA886; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 1.1s .5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.rotator { display: inline-grid; vertical-align: bottom; }
.rotator span { grid-area: 1 / 1; justify-self: start; white-space: nowrap; padding: 0 .18em; border-radius: .2em; color: var(--ink); opacity: 0; transform: translateY(40%); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.rotator span.on { opacity: 1; transform: none; }
.rotator span:nth-child(1) { background: #DCE6D3; }
.rotator span:nth-child(2) { background: #EFDDD5; }
.rotator span:nth-child(3) { background: #ECE2C4; }
.rotator span:nth-child(4) { background: #D5E0DA; }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 560px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 999px; font-weight: 650; font-size: 16px; text-decoration: none; transition: transform .2s var(--ease), background .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(79,107,74,.22); }
.btn-dark:hover { background: var(--ink); box-shadow: 0 12px 26px rgba(79,107,74,.28); }
.btn-light { background: #fff; border: 1.5px solid #CBD5C2; }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.portrait { position: relative; justify-self: center; width: min(400px, 100%); aspect-ratio: 4 / 5; }
.portrait .photo { position: absolute; inset: 0; border-radius: 48% 52% 44% 56% / 52% 46% 54% 48%; overflow: hidden; background: #DCE6D3; animation: morph 12s ease-in-out infinite; }
.portrait .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
@keyframes morph { 50% { border-radius: 56% 44% 52% 48% / 44% 56% 46% 54%; } }
.portrait .back { position: absolute; inset: 6% -6% -4% 8%; border-radius: 50% 50% 46% 54% / 54% 48% 52% 46%; background: var(--lilac); z-index: -1; animation: morph 12s ease-in-out infinite reverse; }
.badge { position: absolute; left: -38px; bottom: 6%; width: 132px; height: 132px; }
.badge svg { width: 100%; height: 100%; animation: spin 24s linear infinite; }
.badge .core { position: absolute; inset: 34%; border-radius: 50%; background: #E9CFC4; color: #4F6B4A !important; display: grid; place-items: center; color: #fff; font-family: "Bricolage", sans-serif; font-weight: 800; font-size: 20px; }
@keyframes spin { to { transform: rotate(360deg); } }
.sticker { position: absolute; right: -14px; top: 9%; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 8px 14px; font-weight: 600; font-size: 14px; color: var(--teal); transform: rotate(5deg); box-shadow: 0 10px 24px rgba(43,58,42,.12); animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: rotate(3deg) translateY(-6px); } }

/* ---------- Marquee ---------- */
.marquee { margin-top: 34px; background: #DCE6D3; color: var(--ink); overflow: hidden; transform: rotate(-0.8deg); }
.marquee .track { display: flex; width: max-content; animation: slide 36s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee span { font-family: "Bricolage", sans-serif; font-weight: 600; font-size: 22px; padding: 14px 22px; display: inline-flex; align-items: center; gap: 22px; white-space: nowrap; }
.marquee span::after { content: "✦"; color: #8FA886; font-size: 16px; }
.marquee span:nth-child(3n+2)::after { color: var(--coral); }
.marquee span:nth-child(3n)::after { color: #C7B27A; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section.block { padding: 88px 0 24px; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(36px, 4.6vw, 56px); font-weight: 750; }
.sec-head h2 .chip { font-size: .42em; vertical-align: middle; margin-left: 10px; }
.sec-head p { color: var(--muted); max-width: 440px; }
.chip { display: inline-block; padding: 5px 13px; border-radius: 999px; font-family: "InterV", sans-serif; font-size: 13px; font-weight: 650; letter-spacing: 0; background: #fff; border: 1.5px solid var(--line); line-height: 1.4; }

/* Stannah featured */
.feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; background: #fff; border-radius: 28px; overflow: hidden; border: 1.5px solid var(--line); }
.feature .media { background: #E7EDE1; padding: 34px 34px 90px; display: flex; align-items: center; position: relative; overflow: hidden; }
.feature .media img { border-radius: 16px; width: 92%; box-shadow: 0 20px 50px rgba(43,58,42,.14); transition: transform .6s var(--ease); }
.feature:hover .media img { transform: translate(-6px,-6px); }
.feature .media .mini { position: absolute; right: 20px; bottom: 22px; width: 50%; border-radius: 12px; box-shadow: 0 14px 34px rgba(0,0,0,.18); transform: rotate(3deg); transition: transform .6s var(--ease); }
.feature:hover .media .mini { transform: rotate(0deg) translateY(-4px); }
.feature .body { padding: 44px 42px; display: flex; flex-direction: column; gap: 16px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.feature h3 { font-size: 36px; font-weight: 750; }
.feature p { color: var(--muted); }
.feature ul.points { list-style: none; display: grid; gap: 10px; margin: 6px 0; }
.feature ul.points li { padding-left: 30px; position: relative; }
.feature ul.points li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 6px; background: #B9C9AE; transform: rotate(12deg); }
.feature ul.points li:nth-child(2)::before { background: var(--pink); transform: rotate(-8deg); }
.feature ul.points li:nth-child(3)::before { background: var(--sun); transform: rotate(20deg); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--cream); border: 1.5px solid var(--line); }
.textlink { font-weight: 650; color: var(--teal); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; border-bottom: 2px solid #B9C9AE; padding-bottom: 2px; width: fit-content; }
.textlink:hover .arr { transform: translate(3px,-3px); }
.textlink .arr { transition: transform .2s var(--ease); }

.duo { display: grid; grid-template-columns: 1.45fr 1fr; gap: 24px; margin-top: 24px; }
.card { background: #fff; border-radius: 28px; border: 1.5px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.card .body { padding: 30px 32px 34px; display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-size: 28px; font-weight: 750; }
.card p { color: var(--muted); }

.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 22px; background: linear-gradient(135deg, #EEE6DA, #E5ECDF); }
.collage a { display: block; border-radius: 14px; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.collage a:nth-child(1) { transform: rotate(-1.5deg); }
.collage a:nth-child(2) { transform: rotate(1.2deg); }
.collage a:nth-child(3) { transform: rotate(1deg); }
.collage a:nth-child(4) { transform: rotate(-1.2deg); }
.collage a:hover { transform: scale(1.04) rotate(0); box-shadow: 0 14px 30px rgba(0,0,0,.16); z-index: 2; position: relative; }
.collage img { aspect-ratio: 16 / 8.2; object-fit: cover; width: 100%; filter: saturate(.7); transition: filter .4s; }
.collage a:hover img { filter: none; }
.uplifts-media { background: #EFE7E1; padding: 22px 22px 0; }
.uplifts-media img { border-radius: 14px 14px 0 0; aspect-ratio: 16 / 9.6; object-fit: cover; object-position: left top; width: 100%; transition: transform .6s var(--ease); }
.card:hover .uplifts-media img { transform: scale(1.03); }

/* Agency grid */
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.tile { grid-column: span 4; text-align: left; border-radius: 26px; overflow: hidden; position: relative; background: var(--c, #eee); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.tile.wide { grid-column: span 6; }
.tile:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 22px 40px rgba(43,58,42,.14); }
.tile .thumb { aspect-ratio: 16 / 10.5; overflow: hidden; }
.tile .thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.62) brightness(1.04); transition: transform .7s var(--ease), filter .5s var(--ease); }
.tile:hover .thumb img { transform: scale(1.06); filter: none; }
.tile .meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px 18px; background: #fff; }
.tile .meta b { font-family: "Bricolage", sans-serif; font-size: 21px; font-weight: 700; letter-spacing: -0.01em; display: block; }
.tile .meta small { color: var(--muted); font-size: 14px; }
.tile .plus { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--c); display: grid; place-items: center; font-size: 22px; font-weight: 600; transition: transform .35s var(--ease); }
.tile:hover .plus { transform: rotate(90deg); }

/* Dialog */
dialog { border: 0; padding: 0; border-radius: 28px; width: min(980px, calc(100% - 32px)); max-height: calc(100vh - 48px); background: var(--cream); color: var(--ink); box-shadow: 0 40px 100px rgba(0,0,0,.35); }
dialog::backdrop { background: rgba(43,58,42,.5); backdrop-filter: blur(4px); }
dialog[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.dlg-top { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; background: var(--cream); z-index: 2; border-bottom: 1.5px solid var(--line); }
.dlg-top h3 { font-size: 26px; font-weight: 750; }
.close { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 22px; display: grid; place-items: center; transition: transform .25s var(--ease), background .2s; }
.close:hover { transform: rotate(90deg); background: var(--teal); }
.dlg-body { padding: 24px 22px 30px; display: grid; gap: 18px; }
.dlg-body p { color: var(--muted); font-size: 18px; max-width: 720px; }
.dlg-body img, .dlg-body video { border-radius: 18px; width: 100%; background: #fff; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { background: #fff; border-radius: 28px; border: 1.5px solid var(--line); padding: 34px; }
.panel.color { background: var(--teal); color: #fff; border-color: var(--teal); }
.panel.color p { color: rgba(255,255,255,.9); }
.panel h3 { font-size: 28px; font-weight: 750; margin-bottom: 14px; }
.panel p + p { margin-top: 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.pill { padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; background: var(--cream); transition: transform .2s var(--ease), background .2s; }
.pill:hover { transform: translateY(-2px) rotate(-2deg); }
.pill:nth-child(5n+1):hover { background: #DCE6D3; }
.pill:nth-child(5n+2):hover { background: #EFDDD5; }
.pill:nth-child(5n+3):hover { background: #ECE2C4; }
.pill:nth-child(5n+4):hover { background: #D5E0DA; }
.pill:nth-child(5n):hover { background: #E4E9DC; }
.panel h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 22px 0 10px; }
.panel h4:first-of-type { margin-top: 0; }
.timeline { list-style: none; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 14px 0; border-top: 1.5px solid rgba(255,255,255,.25); }
.timeline li:first-child { border-top: 0; }
.timeline .when { font-weight: 650; color: #fff; opacity: .85; }
.timeline b { display: block; font-size: 17px; }
.timeline span { font-size: 15px; opacity: .9; }

/* Contact */
.contact { margin: 96px 0 0; background: #A9BBA0; color: var(--ink); position: relative; overflow: hidden; }
.contact .wrap { padding-top: 96px; padding-bottom: 96px; text-align: center; position: relative; z-index: 1; }
.contact h2 { font-size: clamp(44px, 7vw, 96px); font-weight: 800; }
.contact p { font-size: 20px; margin: 18px auto 34px; max-width: 520px; opacity: .95; }
.contact .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.contact .btn-dark { box-shadow: 0 10px 24px rgba(43,58,42,.2); }
.contact .btn-light { border-color: #fff; background: rgba(255,255,255,.55); color: var(--ink); }
.contact .shape { position: absolute; border-radius: 50%; opacity: .9; }
.contact .s1 { width: 220px; height: 220px; background: #C7D5BE; left: -60px; top: -70px; animation: float 9s ease-in-out infinite; }
.contact .s2 { width: 160px; height: 160px; background: #E9CFC4; right: 6%; bottom: -60px; animation: float 11s ease-in-out infinite reverse; }
.contact .s3 { width: 70px; height: 70px; background: var(--sun); right: 18%; top: 22%; animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translate(14px,-18px); } }
footer { background: var(--ink); color: rgba(255,255,255,.7); font-size: 14px; padding: 24px 0; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Reveal on scroll (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 980px) {
  .hero .wrap, .feature, .duo, .about { grid-template-columns: 1fr; }
  .portrait { width: min(320px, 80%); margin-top: 8px; }
  .tile, .tile.wide { grid-column: span 6; }
  .feature .media { padding: 24px 24px 70px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav ul li:not(:last-child) { display: none; }
  .tile, .tile.wide { grid-column: span 12; }
  .feature .body, .card .body, .panel { padding: 26px 22px; }
  .badge { width: 90px; height: 90px; left: -14px; }
  .portrait { width: 230px; }
  .sticker { font-size: 12px; right: -30px; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
  .hero h1 .hl { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero h1 .hl path { stroke-dashoffset: 0; }
  .rotator span { transition: none; }
}

/* =========================================================
   NOVO: processo, case studies e páginas de caso
   ========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Como trabalho */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.step { background: #fff; border: 1.5px solid var(--line); border-radius: 24px; padding: 24px 22px 26px; position: relative; display: flex; flex-direction: column; gap: 10px; counter-increment: step; }
.step::before { content: "0" counter(step); font-family: "Bricolage", sans-serif; font-weight: 800; font-size: 15px; color: var(--teal); background: #DCE6D3; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.step:nth-child(2)::before { background: #EFDDD5; }
.step:nth-child(3)::before { background: #ECE2C4; }
.step:nth-child(4)::before { background: #D5E0DA; }
.step:nth-child(5)::before { background: #E4E9DC; }
.step h3 { font-size: 22px; font-weight: 750; }
.step p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.step small { margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 600; color: var(--teal); }
.ai-note { margin-top: 16px; display: flex; gap: 14px; align-items: center; background: #DCE6D3; border-radius: 20px; padding: 16px 22px; font-size: 16px; }
.ai-note b { font-family: "Bricolage", sans-serif; font-size: 18px; white-space: nowrap; }

/* Case cards na homepage */
.case-card { display: grid; grid-template-columns: 1.15fr 1fr; background: #fff; border-radius: 28px; overflow: hidden; border: 1.5px solid var(--line); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s; }
.case-card + .case-card { margin-top: 24px; }
.case-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(43,58,42,.12); }
.case-card .media { background: #E7EDE1; padding: 34px 34px 90px; position: relative; overflow: hidden; display: flex; align-items: center; }
.case-card.alt .media { background: linear-gradient(135deg, #EEE6DA, #E5ECDF); padding: 26px; }
.case-card .media > img { border-radius: 16px; width: 92%; box-shadow: 0 20px 50px rgba(43,58,42,.14); transition: transform .6s var(--ease); }
.case-card:hover .media > img { transform: translate(-6px,-6px); }
.case-card .media .mini { position: absolute; right: 20px; bottom: 22px; width: 46%; border-radius: 12px; box-shadow: 0 14px 34px rgba(0,0,0,.18); transform: rotate(3deg); }
.case-card .quad { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; }
.case-card .quad img { border-radius: 12px; aspect-ratio: 16 / 8.2; object-fit: cover; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.case-card .body { padding: 40px 40px; display: flex; flex-direction: column; gap: 14px; }
.case-card h3 { font-size: 34px; font-weight: 750; }
.case-card p { color: var(--muted); }
.case-card .result { background: var(--cream); border-radius: 16px; padding: 14px 16px; font-size: 15px; color: var(--ink); border-left: 4px solid var(--teal); }
.case-card .result b { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 2px; }
.case-card .go { font-weight: 650; color: var(--teal); display: inline-flex; gap: 8px; align-items: center; border-bottom: 2px solid #B9C9AE; padding-bottom: 2px; width: fit-content; margin-top: 4px; }
.case-card .go .arr { transition: transform .2s var(--ease); }
.case-card:hover .go .arr { transform: translateX(4px); }

/* ---------- Página de case study ---------- */
.case-hero { padding: 48px 0 30px; }
.back { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); padding: 8px 14px 8px 10px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); }
.back:hover { color: var(--ink); }
.case-hero .kicker { display: block; margin: 28px 0 14px; }
.case-hero h1 { font-size: clamp(38px, 5.4vw, 70px); font-weight: 750; max-width: 920px; }
.case-hero .lead { font-size: 21px; color: var(--muted); max-width: 760px; margin-top: 20px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 36px; background: #fff; border: 1.5px solid var(--line); border-radius: 22px; overflow: hidden; }
.facts div { padding: 18px 22px; border-left: 1.5px solid var(--line); }
.facts div:first-child { border-left: 0; }
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.facts dd { font-weight: 600; margin-top: 4px; font-size: 16px; line-height: 1.4; }
.cover { margin-top: 30px; background: #E7EDE1; border-radius: 30px; padding: 40px; }
.cover img { border-radius: 16px; box-shadow: 0 24px 60px rgba(43,58,42,.16); margin: 0 auto; }

.tldr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.tldr div { border-radius: 24px; padding: 24px 24px 26px; }
.tldr div:nth-child(1) { background: #EFDDD5; }
.tldr div:nth-child(2) { background: #ECE2C4; }
.tldr div:nth-child(3) { background: #DCE6D3; }
.tldr b { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; color: var(--ink); opacity: .75; }
.tldr p { font-size: 17px; line-height: 1.5; }

.chapter { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding: 72px 0 0; }
.chapter .label { position: sticky; top: 96px; align-self: start; }
.chapter .label span { font-family: "Bricolage", sans-serif; font-weight: 800; font-size: 15px; color: var(--teal); }
.chapter .label h2 { font-size: 34px; font-weight: 750; margin-top: 6px; }
.chapter .content { display: grid; gap: 18px; max-width: 760px; }
.chapter .content > p { font-size: 18px; color: #3F4B3D; }
.chapter .content h3 { font-size: 24px; font-weight: 750; margin-top: 12px; }
.callout { background: #fff; border: 1.5px solid var(--line); border-radius: 22px; padding: 22px 24px; }
.callout.green { background: var(--teal); color: #fff; border-color: var(--teal); }
.callout.green p { color: rgba(255,255,255,.92); }
.callout b.k { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; opacity: .8; }
.callout p { font-size: 17px; }

.questions { list-style: none; display: grid; gap: 12px; counter-reset: q; }
.questions li { background: #fff; border: 1.5px solid var(--line); border-radius: 20px; padding: 18px 20px 18px 70px; position: relative; counter-increment: q; }
.questions li::before { content: counter(q); position: absolute; left: 18px; top: 18px; width: 36px; height: 36px; border-radius: 50%; background: #7A0000; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.questions q { quotes: "“" "”"; font-weight: 650; display: block; }
.questions span { color: var(--muted); font-size: 15px; display: block; margin-top: 4px; }

.decisions { display: grid; gap: 14px; }
.decision { background: #fff; border: 1.5px solid var(--line); border-radius: 22px; padding: 22px 24px; display: grid; gap: 8px; }
.decision h3 { margin: 0 !important; font-size: 21px !important; }
.decision p { color: var(--muted); font-size: 16px; }
.decision .vs { font-size: 14px; background: var(--cream); border-radius: 12px; padding: 10px 14px; color: var(--ink); }
.decision .vs b { color: var(--coral); }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 4px; }
.shots.two { grid-template-columns: 1fr 1fr; }
.shots figure, .figure { background: #fff; border: 1.5px solid var(--line); border-radius: 20px; padding: 12px; }
.shots img, .figure img { border-radius: 12px; width: 100%; }
figcaption { font-size: 14px; color: var(--muted); padding: 10px 4px 2px; line-height: 1.45; }
.wide-fig { margin-top: 8px; }
.heat { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.heat .figure a { display: block; }
.disclaimer { font-size: 13px; color: var(--muted); font-style: italic; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat { background: #fff; border: 1.5px solid var(--line); border-radius: 22px; padding: 22px; }
.stat b { font-family: "Bricolage", sans-serif; font-size: 40px; font-weight: 800; line-height: 1; display: block; color: var(--teal); }
.stat span { display: block; margin-top: 8px; font-size: 15px; color: var(--muted); }

.learn { list-style: none; display: grid; gap: 12px; }
.learn li { padding-left: 32px; position: relative; font-size: 17px; }
.learn li::before { content: "✦"; position: absolute; left: 4px; top: 0; color: var(--coral); }

.system { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.system .col { border-radius: 22px; padding: 22px 24px; }
.system .col:first-child { background: #DCE6D3; }
.system .col:last-child { background: #EFDDD5; }
.system h3 { margin: 0 0 10px !important; font-size: 20px !important; }
.system ul { list-style: none; display: grid; gap: 8px; }
.system li { background: rgba(255,255,255,.7); border-radius: 12px; padding: 8px 12px; font-size: 15px; font-weight: 550; }
.variants { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.variants a { text-decoration: none; }
.variants figure { background: #fff; border: 1.5px solid var(--line); border-radius: 20px; padding: 10px; transition: transform .3s var(--ease); }
.variants a:hover figure { transform: translateY(-3px); }
.variants img { border-radius: 12px; }
.variants figcaption b { color: var(--ink); }

.next-case { margin-top: 96px; display: block; text-decoration: none; background: var(--teal); color: #fff; border-radius: 30px; padding: 40px 44px; transition: transform .3s var(--ease); }
.next-case:hover { transform: translateY(-4px); }
.next-case small { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; font-weight: 700; }
.next-case strong { display: block; font-family: "Bricolage", sans-serif; font-size: clamp(30px, 4vw, 48px); font-weight: 750; margin-top: 8px; letter-spacing: -0.02em; }

@media (max-width: 1100px) { .process { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 980px) {
  .case-card { grid-template-columns: 1fr; }
  .case-card .media { padding: 24px 24px 70px; }
  .chapter { grid-template-columns: 1fr; gap: 14px; padding-top: 56px; }
  .chapter .label { position: static; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1.5px solid var(--line); }
  .tldr, .stats { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .process { grid-template-columns: 1fr; }
  .case-card .body { padding: 26px 22px; }
  .shots, .shots.two, .heat, .system, .variants { grid-template-columns: 1fr; }
  .cover { padding: 18px; border-radius: 22px; }
  .ai-note { flex-direction: column; align-items: start; }
  .next-case { padding: 30px 26px; }
}

/* Figuras largas dentro dos capítulos (desktop) */
@media (min-width: 981px) {
  .chapter .content > .bleed { margin-left: -300px; width: calc(100% + 300px); max-width: none; }
  .chapter .content { max-width: 824px; }
  .chapter .content > p, .chapter .content > .callout, .chapter .content > .decisions, .chapter .content > .stats, .chapter .content > .learn, .chapter .content > .questions { max-width: 760px; }
}

/* Seletor de idioma */
.nav ul { align-items: center; }
.lang { display: inline-flex; align-items: center; gap: 2px; text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .04em; padding: 6px 4px 6px 10px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; }
.lang span { padding: 3px 8px; border-radius: 999px; color: var(--muted); }
.lang span.on { background: var(--ink); color: #fff; }
.lang:hover span:not(.on) { color: var(--ink); }
@media (max-width: 640px) { .nav ul li.lang-li { display: list-item; } .nav ul { gap: 8px; } }
