/* =========================================================
   Reccom – site público
   Identidade: verde-escuro, areia, caramelo e marrom (apresentação institucional)
   Tipografia: Lexend
   ========================================================= */
:root {
  --ink: #0c2716;           /* verde da marca: títulos e texto forte */
  --ink-2: #1f3a29;
  --text: #2a302b;
  --muted: #5f655e;
  --line: #ebe4dc;
  --line-2: #ddd3c8;

  --bg: #fbf9f6;            /* fundo geral */
  --white: #fff;
  --sand-50: #f7f2ec;
  --sand-100: #f0e8df;
  --sand-200: #e4d8cb;
  --sand: #d0c4b8;
  --tan: #b49a89;
  --tan-100: #ece2d9;
  --brown: #78400f;         /* destaque / ação */
  --brown-600: #8f5321;
  --brown-700: #5f320b;
  --brown-50: #f8eee5;
  --green-50: #edf2ec;
  --green-100: #dfe8de;
  --olive: #1f2a14;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(12, 39, 22, .05);
  --shadow: 0 2px 4px rgba(12, 39, 22, .04), 0 12px 32px -12px rgba(12, 39, 22, .14);
  --shadow-lg: 0 30px 60px -24px rgba(12, 39, 22, .28);
  --font: "Lexend", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1220px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--brown); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--brown-700); }
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.025em; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
::selection { background: var(--brown); color: #fff; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: 999px; text-decoration: none; font-weight: 500; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 var(--gutter); }
.container-wide { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(56px, 8vw, 112px); }
.section-tight { padding-top: 24px; padding-bottom: 24px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  font: 500 .95rem/1.2 var(--font); letter-spacing: -.005em; text-decoration: none; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--brown); color: #fff; box-shadow: 0 8px 20px -10px rgba(120, 64, 15, .7); }
.btn-primary:hover { background: var(--brown-700); color: #fff; transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); background: var(--white); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sand-50); color: var(--ink); }
.btn-sm { min-height: 40px; padding: .5rem 1.05rem; font-size: .88rem; }
.btn-lg { min-height: 54px; padding: .85rem 1.7rem; font-size: 1rem; }
.btn-block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s; }
.icon-btn:hover { border-color: var(--ink); }
.link-more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; text-decoration: none; font-size: .95rem; color: var(--ink); }
.link-more .icon { transition: transform .25s var(--ease); color: var(--brown); }
.link-more:hover { color: var(--brown); }
.link-more:hover .icon { transform: translateX(4px); }

.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .8rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--brown); margin-bottom: 1.1rem; }
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; border-radius: 2px; }
.kicker { display: inline-block; color: var(--brown); font-size: .78rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; margin-bottom: .5rem; }
a.kicker:hover { text-decoration: underline; }

/* ---------- Barra do painel / aviso ---------- */
.admin-bar { background: var(--ink); color: var(--sand-100); font-size: .85rem; padding: .45rem 0; }
.admin-bar .container { display: flex; gap: 1rem; justify-content: space-between; flex-wrap: wrap; }
.admin-bar a { color: #fff; font-weight: 500; }
.announce { background: var(--brown-50); color: var(--brown-700); font-size: .85rem; text-align: center; }
.announce p { margin: 0; padding: .55rem 0; }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(251, 249, 246, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(12, 39, 22, .35); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.site-logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); line-height: 1; flex: none; }
.logo-img { max-height: 44px; width: auto; }
.logo-text { font-weight: 700; font-size: 1.85rem; letter-spacing: -.05em; color: var(--ink); }
.logo-dot { color: var(--brown); }
.site-logo-light .logo-text { color: #fff; }
.site-logo-light .logo-dot { color: var(--tan); }
.site-logo-light .logo-img { max-height: 52px; }

.main-nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list a { display: block; color: var(--text); text-decoration: none; font-weight: 400; font-size: .95rem; padding: .55rem .85rem; border-radius: 999px; transition: background .2s, color .2s; }
.nav-list > li > a:hover { background: var(--sand-100); color: var(--ink); }
.nav-list a[aria-current="page"] { color: var(--ink); font-weight: 500; background: var(--sand-100); }
.submenu-toggle { background: none; border: 0; color: var(--muted); padding: .3rem; margin-left: -.55rem; cursor: pointer; display: inline-grid; place-items: center; }
.submenu { list-style: none; margin: 0; padding: .5rem; position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 70; }
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.submenu a { padding: .55rem .8rem; border-radius: 8px; }
.submenu a:hover { background: var(--sand-50); color: var(--ink); }
.has-children:hover > .submenu, .has-children:focus-within > .submenu, .has-children.is-open > .submenu { opacity: 1; visibility: visible; transform: none; }
.nav-mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.nav-toggle { display: none; }
.burger { display: grid; gap: 5px; width: 18px; }
.burger span { display: block; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease); }
.nav-toggle[aria-expanded="true"] .burger span:first-child { transform: translateY(3.3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger span:last-child { transform: translateY(-3.3px) rotate(-45deg); }
.search-panel { border-top: 1px solid var(--line); background: var(--bg); padding: 1.25rem 0 1.5rem; }
.search-panel .search-big { margin: 0 auto; }

/* ---------- Abertura ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto auto; width: 62vw; height: 100%; background: radial-gradient(60% 60% at 70% 40%, var(--sand-100) 0%, rgba(240, 232, 223, 0) 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-title { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 600; line-height: 1.04; letter-spacing: -.045em; margin-bottom: 1.5rem; max-width: 13ch; }
.hero-title em, .section-title em, .cta-card h2 em { font-style: normal; color: var(--brown); }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); font-weight: 300; color: var(--muted); max-width: 52ch; margin-bottom: 2rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.75rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.25rem 2.75rem; margin: 0; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.hero-stats div { min-width: 120px; }
.hero-stats dt { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 600; color: var(--ink); letter-spacing: -.04em; line-height: 1.1; }
.hero-stats dd { margin: .2rem 0 0; color: var(--muted); font-size: .88rem; font-weight: 300; max-width: 18ch; }
.hero-visual { position: relative; justify-self: center; width: min(100%, 500px); }
.hero-frame { position: relative; aspect-ratio: 4 / 5; border-radius: 240px 240px var(--radius-lg) var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, var(--sand-200), var(--tan)); box-shadow: var(--shadow-lg); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-frame.is-empty { display: grid; place-items: center; background: linear-gradient(165deg, var(--green-50) 0%, var(--sand-100) 55%, var(--tan-100) 100%); }
.hero-mark { font-size: clamp(9rem, 20vw, 15rem); font-weight: 700; letter-spacing: -.08em; line-height: 1; color: var(--ink); opacity: .9; transform: translateY(-4%); }
.hero-mark::after { content: "."; color: var(--brown); }
.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-orb-1 { width: 120px; height: 120px; right: -26px; top: 12%; background: var(--brown); opacity: .9; mix-blend-mode: multiply; }
.hero-orb-2 { width: 64px; height: 64px; left: -22px; top: 22%; background: var(--green-100); border: 4px solid var(--bg); }
.float-card { position: absolute; left: -48px; bottom: 32px; width: min(320px, 84%); background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); display: block; }
a.float-card { transition: transform .3s var(--ease); }
a.float-card:hover { transform: translateY(-3px); color: var(--ink); }
.float-card strong { display: block; font-weight: 500; font-size: 1rem; line-height: 1.35; letter-spacing: -.01em; }
.float-label { display: flex; align-items: center; gap: .45rem; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brown); margin-bottom: .45rem; font-weight: 500; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brown); box-shadow: 0 0 0 4px rgba(120, 64, 15, .15); }
.float-services ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.float-services li { display: flex; align-items: center; gap: .6rem; font-size: .92rem; }
.float-services .icon { color: var(--brown); width: 34px; height: 34px; padding: 8px; background: var(--brown-50); border-radius: 50%; }

/* ---------- Clientes (faixa) ---------- */
.clients-strip { padding: 2.25rem 0 2.5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.clients-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.strip-title { font-size: .85rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1rem; flex: none; padding-right: 1rem; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.client-logo { display: grid; place-items: center; height: 64px; min-width: 150px; padding: 0 1.4rem; border-radius: 999px; text-decoration: none; color: var(--ink); white-space: nowrap; transition: background .2s, color .2s; }
.client-logo.is-text { background: var(--sand-50); font-weight: 500; font-size: 1rem; letter-spacing: -.01em; }
.client-logo.is-text:hover { background: var(--ink); color: #fff; }
.client-logo img { max-height: 44px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.client-logo:hover img { filter: none; opacity: 1; }

/* ---------- Títulos de seção ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 2.25rem; }
.section-head .section-title, .section-head .eyebrow { margin-bottom: 0; }
.section-head .eyebrow { margin-bottom: .8rem; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; margin-bottom: 1rem; }
.section-title-sm { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.section-lead { font-size: 1.1rem; font-weight: 300; color: var(--muted); max-width: 48ch; margin-bottom: 2rem; }
.section-intro { color: var(--muted); max-width: 60ch; }

/* ---------- Serviços ---------- */
.services { background: var(--sand-50); }
.services-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.services-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.service-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.service-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem 1.5rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-card h3 { font-size: 1.15rem; font-weight: 500; letter-spacing: -.02em; margin: 1.1rem 0 .45rem; }
.service-card p { color: var(--muted); font-size: .93rem; font-weight: 300; margin: 0; line-height: 1.6; }
.service-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; }
.service-icon .icon { width: 24px; height: 24px; }
.tint-sand .service-icon { background: var(--sand-100); color: var(--brown); }
.tint-green .service-icon { background: var(--green-50); color: var(--ink); }
.tint-brown .service-icon { background: var(--brown); color: #fff; }
.tint-tan .service-icon { background: var(--tan-100); color: var(--brown-700); }
.service-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ---------- Sobre ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1 / 1; background: var(--sand-100); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-collage { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.about-collage > span { border-radius: 22px; display: grid; place-items: center; }
.about-collage .icon { width: 42px; height: 42px; }
.collage-a { background: var(--green-50); color: var(--ink); border-radius: 160px 22px 22px 22px !important; }
.collage-b { background: var(--brown); color: #fff; border-radius: 50% !important; }
.collage-c { background: var(--tan-100); color: var(--brown-700); }
.about-collage > .collage-word { display: flex; align-items: center; justify-content: center; }
.collage-word { background: var(--ink); color: #fff; font-weight: 700; font-size: clamp(1.6rem, 3.4vw, 2.6rem); letter-spacing: -.05em; border-radius: 22px 22px 160px 22px !important; }
.collage-word span { color: var(--tan); }
.about-text { color: var(--muted); font-weight: 300; font-size: 1.05rem; }
.about-text p { max-width: 58ch; }
.value-chips { list-style: none; padding: 0; margin: 1.75rem 0 2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.value-chips li { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .95rem; border-radius: 999px; background: var(--green-50); color: var(--ink); font-size: .88rem; font-weight: 400; }
.value-chips li:nth-child(3n+2) { background: var(--brown-50); color: var(--brown-700); }
.value-chips li:nth-child(3n) { background: var(--sand-100); }
.value-chips .icon { width: 1em; height: 1em; color: var(--brown); }

/* ---------- Notícias ---------- */
.news { background: var(--white); border-top: 1px solid var(--line); }
.chip-row { list-style: none; padding: 0; margin: -1rem 0 2rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { display: inline-block; padding: .45rem .95rem; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text); text-decoration: none; font-size: .86rem; transition: all .2s; }
.chip:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.news-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); margin-bottom: 3rem; }
.news-side { display: flex; flex-direction: column; gap: 1.4rem; }
.news-side .card + .card { padding-top: 1.4rem; border-top: 1px solid var(--line); }
.section-category { padding-top: 0; }

/* ---------- Cartões de matéria ---------- */
.card { display: flex; flex-direction: column; gap: 1rem; position: relative; }
.card-media { display: block; overflow: hidden; border-radius: var(--radius); background: var(--sand-100); aspect-ratio: 16 / 10; }
.card-media img, .card-media picture { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-media.is-empty { display: grid; place-items: center; background: linear-gradient(140deg, var(--sand-50), var(--sand-200)); }
.card-placeholder { font-weight: 700; color: rgba(12, 39, 22, .18); font-size: 1.8rem; letter-spacing: -.05em; }
.card-placeholder::after { content: "."; color: rgba(120, 64, 15, .4); }
.card-title { font-size: 1.2rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.3; margin: 0 0 .4rem; }
.card-title a { color: var(--ink); text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .35s var(--ease); }
.card-title a:hover { background-size: 100% 1px; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card .kicker { position: relative; z-index: 1; }
.card-excerpt { color: var(--muted); font-size: .95rem; font-weight: 300; margin-bottom: .5rem; }
.card-meta { color: var(--muted); font-size: .8rem; margin: 0; display: flex; gap: .4rem; flex-wrap: wrap; font-weight: 300; }
.card-lead .card-media { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); }
.card-lead .card-title { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.12; }
.card-lead .card-excerpt { font-size: 1.05rem; }
.card-row { flex-direction: row; align-items: flex-start; gap: 1rem; }
.card-row .card-media { width: 120px; flex: none; aspect-ratio: 1; border-radius: var(--radius-sm); }
.card-row .card-title { font-size: 1.02rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2.5rem 2rem; }
.card-grid-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2.5rem 2rem; }

/* ---------- Quem faz ---------- */
.founder { background: var(--green-50); }
.founder-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.founder-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 220px; overflow: hidden; background: var(--white); box-shadow: 14px 14px 0 var(--brown); max-width: 440px; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo.is-empty { display: grid; place-items: center; background: linear-gradient(160deg, var(--white), var(--sand-100)); }
.founder-photo.is-empty span { font-size: clamp(4rem, 9vw, 7rem); font-weight: 600; letter-spacing: -.06em; color: var(--ink); }
.founder-role { color: var(--brown); font-weight: 500; margin: -.4rem 0 1.25rem; }
.founder-text { color: var(--text); font-weight: 300; font-size: 1.08rem; }
.founder-text p { max-width: 60ch; }
.founder-copy .btn { margin-top: .75rem; }

/* ---------- Chamada final ---------- */
.cta-band { padding: clamp(48px, 7vw, 96px) 0; }
.cta-card { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: clamp(32px, 5vw, 64px); border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--brown) 0%, var(--brown-600) 60%, #a86a37 100%); color: #fff; }
.cta-card::after { content: ""; position: absolute; right: -80px; top: -120px; width: 340px; height: 340px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .07); pointer-events: none; }
.cta-card > div { position: relative; max-width: 620px; }
.cta-card h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.8rem); letter-spacing: -.04em; margin-bottom: .6rem; }
.cta-card h2 em { color: var(--sand-100); }
.cta-card p { color: rgba(255, 255, 255, .85); font-weight: 300; font-size: 1.08rem; margin: 0; }
.cta-card .btn { position: relative; }

/* ---------- Publicidade ---------- */
/* Formato livre: imagem inteira, proporção original, sem ampliar além do tamanho real */
.ad-slot { position: relative; text-align: center; margin: 0 auto; max-width: 1200px; }
.ad-label { display: block; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .45rem; }
.ad-item a, .ad-item picture { display: inline-block; max-width: 100%; vertical-align: top; }
.ad-item img { margin: 0 auto; border-radius: var(--radius-sm); width: auto; max-width: 100%; height: auto; }
.ad-rotate .ad-items { display: grid; align-items: center; justify-items: center; }
.ad-rotate .ad-item { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.ad-rotate .ad-item.is-active { opacity: 1; visibility: visible; }
.ad-sidebar { max-width: 100%; }
.ad-sidebar .ad-items { display: grid; gap: 1rem; }
.ad-band { padding-top: 2rem; padding-bottom: 2rem; }
.ad-band-middle { padding-top: 0; }
.article-main .ad-slot, .page-body .ad-slot, .list-ad { margin: 2.5rem auto; }

/* ---------- Cabeçalho das páginas internas ---------- */
.page-head { position: relative; isolation: isolate; padding: clamp(28px, 4vw, 48px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -10vw; top: -40%; width: 46vw; height: 180%; background: radial-gradient(closest-side, var(--sand-100), rgba(240, 232, 223, 0)); pointer-events: none; z-index: -1; }
.page-title { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.06; margin-bottom: .6rem; max-width: 18ch; }
.page-intro { font-size: clamp(1.05rem, 1.6vw, 1.2rem); font-weight: 300; color: var(--muted); max-width: 62ch; margin: 0; }
.breadcrumbs { font-size: .82rem; margin: 0 0 1.75rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--line-2); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brown); }
.breadcrumbs [aria-current] { color: var(--ink); }
.container > .breadcrumbs { padding-top: 1.75rem; }

.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; align-items: start; }
.layout-page { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.layout-article { display: grid; grid-template-columns: minmax(0, 720px) 300px; gap: clamp(32px, 5vw, 72px); justify-content: center; align-items: start; }

/* ---------- Barra lateral ---------- */
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; position: sticky; top: calc(var(--header-h) + 24px); }
.widget { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.widget-title { font-size: 1rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 1rem; }
.recent-list { list-style: none; counter-reset: r; padding: 0; margin: 0; display: grid; gap: 1rem; }
.recent-list li { counter-increment: r; display: grid; grid-template-columns: 28px 1fr; column-gap: .5rem; }
.recent-list li::before { content: counter(r, decimal-leading-zero); grid-row: span 2; font-weight: 600; font-size: .85rem; color: var(--tan); line-height: 1.7; }
.recent-list a { color: var(--ink); text-decoration: none; font-weight: 400; line-height: 1.4; font-size: .95rem; }
.recent-list a:hover { color: var(--brown); }
.recent-list time { font-size: .76rem; color: var(--muted); }
.category-list { list-style: none; padding: 0; margin: 0; }
.category-list a { display: flex; justify-content: space-between; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: .95rem; }
.category-list li:last-child a { border-bottom: 0; }
.category-list a:hover { color: var(--brown); }
.category-list .icon { color: var(--tan); }
input[type="search"], input[type="text"] { font: inherit; }
.search-inline { display: flex; gap: .5rem; }
.search-inline input { flex: 1; min-width: 0; }
.search-inline input, .search-big input { border: 1px solid var(--line-2); border-radius: 999px; padding: .7rem 1.15rem; background: #fff; color: var(--text); min-height: 48px; font-weight: 300; }
.search-inline input:focus, .search-big input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(12, 39, 22, .08); }
.search-inline .btn { padding: .5rem .9rem; min-height: 48px; }

/* ---------- Matéria ---------- */
.article-header { padding: .5rem var(--gutter) 2rem; }
.article-title { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.08; margin-bottom: 1rem; }
.article-subtitle { font-size: clamp(1.1rem, 2vw, 1.3rem); font-weight: 300; color: var(--muted); line-height: 1.55; margin-bottom: 1.75rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.byline { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--text); font-size: .95rem; }
.byline strong { color: var(--ink); }
.byline small { display: block; color: var(--muted); font-size: .8rem; font-weight: 300; }
.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.dates { margin: 0; color: var(--muted); font-size: .84rem; font-weight: 300; display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; }
.article-hero { margin: 0 auto 3rem; }
.article-hero img { width: 100%; border-radius: var(--radius-lg); max-height: 680px; object-fit: cover; }
figcaption { font-size: .84rem; color: var(--muted); margin-top: .65rem; line-height: 1.5; font-weight: 300; }
.credit { white-space: nowrap; color: var(--text); }
.credit::before { content: "Foto: "; }
.share { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; margin-bottom: 2rem; }
.share-label { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 500; color: var(--muted); margin-right: .35rem; }
.share a, .share button { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: transparent; border: 1px solid var(--line-2); color: var(--ink); cursor: pointer; transition: all .2s; }
.share a:hover, .share button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.share-status { font-size: .85rem; color: var(--brown); }

.prose { font-size: 1.12rem; line-height: 1.8; font-weight: 300; color: var(--text); }
.prose > * { margin-top: 0; margin-bottom: 1.4em; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose h2 { font-size: 1.75rem; margin-top: 1.8em; font-weight: 600; }
.prose h3 { font-size: 1.35rem; margin-top: 1.6em; font-weight: 500; }
.prose h4 { font-size: 1.15rem; margin-top: 1.4em; font-weight: 500; }
.prose a { color: var(--brown); text-decoration: underline; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; padding-left: .2em; }
.prose li::marker { color: var(--brown); }
.prose ul.checklist { list-style: none; padding-left: 0; }
.prose .check { display: inline-block; width: 1em; height: 1em; border: 1.5px solid var(--brown); border-radius: 4px; margin-right: .5em; vertical-align: -.1em; }
.prose .check.is-checked { background: var(--brown); box-shadow: inset 0 0 0 2px #fff; }
.content-quote { margin: 2.4em 0; padding: 0 0 0 1.6em; border-left: 3px solid var(--brown); }
.content-quote blockquote { margin: 0; font-size: 1.45rem; font-weight: 400; line-height: 1.45; letter-spacing: -.02em; color: var(--ink); }
.content-quote blockquote p { margin: 0; }
.content-quote figcaption { margin-top: .8em; font-size: .9rem; }
.content-quote figcaption::before { content: "— "; }
.content-quote.is-center { text-align: center; border-left: 0; padding: 0; }
.content-delimiter { border: 0; text-align: center; margin: 2.6em 0; }
.content-delimiter::before { content: "• • •"; color: var(--tan); letter-spacing: .7em; }
.content-image img { border-radius: var(--radius); width: 100%; }
.content-image.is-wide { margin-left: clamp(-140px, -9vw, 0px); margin-right: clamp(-140px, -9vw, 0px); }
.content-video .video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.content-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table-wrap th, .table-wrap td { padding: .75rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-wrap th { background: var(--sand-50); color: var(--ink); font-weight: 500; }
.prose code { background: var(--sand-100); padding: .1em .35em; border-radius: 4px; font-size: .9em; }
.prose mark { background: var(--brown-50); color: var(--brown-700); }

.content-gallery { margin: 2.4em 0; }
.gallery-grid { list-style: none; padding: 0 !important; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .6rem; }
.gallery-grid li { margin: 0; padding: 0 !important; }
.gallery-grid a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-sm); background: var(--sand-100); }
.gallery-grid img, .gallery-grid picture { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-grid a:hover img { transform: scale(1.05); }

.author-box { display: flex; gap: 1.25rem; align-items: flex-start; margin-top: 3rem; padding: 1.75rem; background: var(--sand-50); border-radius: var(--radius); }
.avatar-lg { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex: none; }
.author-box-label { margin: 0; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brown); font-weight: 500; }
.author-box-name { font-size: 1.3rem; margin: .15em 0 .4em; }
.author-box-name a { color: var(--ink); text-decoration: none; }
.author-box p { color: var(--muted); font-weight: 300; font-size: .98rem; }
.author-hero { display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; }
.avatar-xl { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; box-shadow: 8px 8px 0 var(--brown); }
.author-role { color: var(--brown); font-weight: 500; margin-bottom: .6rem; }
.author-bio { max-width: 68ch; color: var(--muted); font-weight: 300; }

/* ---------- Página institucional ---------- */
.page-hero { margin: 0 0 2.5rem; }
.page-hero img { border-radius: var(--radius-lg); width: 100%; max-height: 520px; object-fit: cover; object-position: center 22%; }
.page-updated { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; font-weight: 300; }
.contact-card { background: var(--ink); color: var(--sand-100); border-radius: var(--radius-lg); padding: 2rem; position: sticky; top: calc(var(--header-h) + 24px); }
.contact-card h2 { color: #fff; font-size: 1.5rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .8rem; align-items: flex-start; }
.contact-list strong { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--tan); font-weight: 500; }
.contact-card a, .contact-card span { color: #fff; overflow-wrap: anywhere; }
.contact-card .icon { color: var(--tan); margin-top: .25rem; }
.layout-page .side-cta { position: sticky; top: calc(var(--header-h) + 24px); }
.side-cta { background: var(--sand-50); border-radius: var(--radius); padding: 1.75rem; }
.side-cta h2 { font-size: 1.3rem; }
.side-cta p { color: var(--muted); font-weight: 300; font-size: .95rem; }

/* ---------- Clientes / parceiros ---------- */
.partner-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.partner-card { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); height: 100%; min-height: 200px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.partner-card-logo { height: 80px; display: flex; align-items: center; }
.partner-card-logo img { max-height: 80px; max-width: 100%; width: auto; object-fit: contain; }
.partner-card-logo.is-text span { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-weight: 600; font-size: 1.5rem; letter-spacing: -.04em; }
.partner-card.tint-sand .is-text span { background: var(--sand-100); color: var(--brown); }
.partner-card.tint-green .is-text span { background: var(--green-50); color: var(--ink); }
.partner-card.tint-brown .is-text span { background: var(--brown); color: #fff; }
.partner-card.tint-tan .is-text span { background: var(--tan-100); color: var(--brown-700); }
.partner-card-name { font-weight: 500; font-size: 1.08rem; letter-spacing: -.02em; line-height: 1.25; display: flex; justify-content: space-between; align-items: flex-end; gap: .5rem; }
.partner-card-name .icon { color: var(--tan); transition: transform .3s var(--ease), color .3s; }
.partner-card:hover .partner-card-name .icon { transform: translate(2px, -2px); color: var(--brown); }
.partner-hero { display: flex; gap: 1.75rem; align-items: center; flex-wrap: wrap; }
.partner-hero-logo { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.partner-hero-logo img { max-height: 100px; width: auto; }
.partner-gallery { margin-top: 2.5rem; }

/* ---------- Busca, paginação, vazio, 404 ---------- */
.search-big { display: flex; gap: .6rem; max-width: 680px; margin-top: 1.5rem; }
.search-big input { flex: 1; min-width: 0; font-size: 1.05rem; padding: .85rem 1.3rem; min-height: 54px; }
.search-big .btn { min-height: 54px; }
.search-summary { margin-bottom: 2rem; color: var(--muted); font-weight: 300; }
.pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 3rem 0 0; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .9rem; border-radius: 999px; text-decoration: none; background: var(--white); border: 1px solid var(--line); color: var(--ink); font-size: .92rem; }
.pagination a:hover { border-color: var(--ink); }
.pagination [aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.empty-state { text-align: center; padding: 3.5rem 1rem; color: var(--muted); background: var(--sand-50); border-radius: var(--radius); font-weight: 300; }
.empty-state h2 { font-size: 1.4rem; }
.notfound { text-align: center; }
.notfound .page-title { margin-left: auto; margin-right: auto; }
.notfound .search-big { margin: 1.75rem auto; }
.notfound .page-intro { margin: 0 auto; }
.notfound-code { font-size: clamp(5rem, 16vw, 10rem); font-weight: 700; letter-spacing: -.07em; color: var(--sand); line-height: 1; margin: 0 0 1rem; }
.notfound .section-head { justify-content: center; margin-top: 4rem; }
.notfound .card-grid { text-align: left; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); position: relative; overflow: hidden; font-weight: 300; }
.site-footer::before { content: ""; position: absolute; right: -180px; top: -220px; width: 520px; height: 520px; border-radius: 50%; border: 90px solid rgba(255, 255, 255, .025); pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2.5rem; padding-top: clamp(48px, 6vw, 80px); padding-bottom: 3rem; position: relative; }
.footer-brand p { max-width: 38ch; margin: 1.25rem 0 1.5rem; }
.footer-title { color: #fff; font-size: .82rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-col a { color: rgba(255, 255, 255, .72); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-col .contact-list { margin-bottom: 1.25rem; }
.footer-col .contact-list .icon { color: var(--tan); margin-top: .25rem; }
.footer-col .contact-list span { color: rgba(255, 255, 255, .72); }
.footer-col .btn-light { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 1.4rem; padding-bottom: 1.6rem; font-size: .82rem; position: relative; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.social-list { display: flex; gap: .4rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.social-list a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: inherit; border: 1px solid rgba(255, 255, 255, .16); transition: all .2s; }
.social-list a:hover { background: #fff; color: var(--ink); border-color: #fff; }
.social-list-dark a { color: var(--ink); border-color: var(--line-2); }
.social-list-dark a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(9, 20, 13, .95); z-index: 300; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 16px 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: calc(100vh - 170px); width: auto; border-radius: var(--radius-sm); }
.lightbox-caption { color: var(--sand-100); margin-top: .9rem; text-align: center; max-width: 70ch; font-size: .92rem; font-weight: 300; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; font-size: 1.2rem; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lightbox-close { top: 12px; right: 12px; }
.lightbox-prev { left: 12px; top: 50%; }
.lightbox-next { right: 12px; top: 50%; }

/* ---------- Modais ---------- */
.site-modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 16px; }
.site-modal[hidden] { display: none; }
.site-modal-backdrop { position: absolute; inset: 0; background: rgba(9, 20, 13, .55); backdrop-filter: blur(4px); }
.site-modal-dialog { position: relative; background: var(--white); border-radius: var(--radius-lg); max-width: 540px; width: 100%; max-height: calc(100vh - 32px); overflow: auto; box-shadow: var(--shadow-lg); animation: modalIn .35s var(--ease); }
.site-modal-dialog:focus { outline: none; }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.site-modal-media img { width: 100%; max-height: 300px; object-fit: cover; }
.site-modal-body { padding: 1.75rem 2rem 2rem; }
.site-modal-body h2 { font-size: 1.6rem; padding-right: 2.5rem; }
.site-modal-body p { color: var(--muted); font-weight: 300; }
/* Formatos de imagem: a arte é exibida inteira, sem cortes, limitada à altura da tela */
.site-modal--square .site-modal-dialog, .site-modal--vertical .site-modal-dialog { background: transparent; box-shadow: none; overflow: visible; max-height: none; display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.site-modal--square .site-modal-dialog { width: min(560px, calc(100vh - 120px), 100%); max-width: none; }
.site-modal--vertical .site-modal-dialog { width: min(420px, calc((100vh - 120px) * 9 / 16), 100%); max-width: none; }
.site-modal-art { width: 100%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--white); }
.site-modal-art a { display: block; }
.site-modal-art img { width: 100%; height: auto; max-height: calc(100vh - 120px); object-fit: contain; margin: 0 auto; }
.site-modal--square .site-modal-close, .site-modal--vertical .site-modal-close { top: -14px; right: -14px; box-shadow: var(--shadow); }
.site-modal-footer { width: 100%; background: var(--white); border-radius: var(--radius-sm); padding: .9rem 1.1rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem 1rem; flex-wrap: wrap; box-shadow: var(--shadow); }
.site-modal-footer p { margin: 0; color: var(--muted); font-size: .92rem; font-weight: 300; flex: 1 1 200px; }
@media (max-width: 640px) {
  .site-modal--square .site-modal-dialog, .site-modal--vertical .site-modal-dialog { width: min(100%, calc((100vh - 110px) * 9 / 16 + 120px)); }
  .site-modal--square .site-modal-close, .site-modal--vertical .site-modal-close { top: -10px; right: -6px; }
}
.site-modal-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--white); color: var(--ink); display: grid; place-items: center; cursor: pointer; z-index: 2; box-shadow: var(--shadow-sm); }
.site-modal-close:hover { background: var(--ink); color: #fff; }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee { overflow-x: auto; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .layout-article { grid-template-columns: minmax(0, 1fr); }
  .layout-article .sidebar { position: static; }
  .content-image.is-wide { margin-left: 0; margin-right: 0; }
  .services-grid { grid-template-columns: 1fr; }
  .services-intro { position: static; }
}
@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .layout-sidebar, .layout-page { grid-template-columns: minmax(0, 1fr); }
  .sidebar, .contact-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news-top { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-grid; }
  /* backdrop-filter criaria um bloco de contenção e prenderia o menu fixo dentro do cabeçalho */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .header-actions { margin-left: auto; }
  .main-nav { position: fixed; top: var(--nav-top, var(--header-h)); left: 0; right: 0; bottom: 0; z-index: 59; box-shadow: inset 0 1px 0 var(--line); background: var(--bg); padding: 1.5rem var(--gutter) 2rem; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; margin: 0; }
  .main-nav.is-open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-list > li > a { flex: 1; font-size: 1.25rem; font-weight: 500; padding: 1rem 0; border-radius: 0; color: var(--ink); }
  .nav-list > li > a:hover, .nav-list a[aria-current="page"] { background: none; color: var(--brown); }
  .submenu-toggle { width: 44px; height: 44px; margin: 0; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; display: none; width: 100%; box-shadow: none; border: 0; padding: 0 0 .75rem; background: transparent; }
  .has-children:hover > .submenu, .has-children:focus-within > .submenu { display: none; }
  .has-children.is-open > .submenu { display: block; }
  .nav-mobile-extra { display: grid; gap: 1rem; margin-top: 1.75rem; }
  .header-cta { display: none; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 860px) {
  .hero-grid, .about-grid, .founder-grid { grid-template-columns: 1fr; }
  .hero-visual { width: min(100%, 420px); margin-top: 1rem; }
  .float-card { left: -8px; }
  .hero-orb-1 { right: -8px; width: 90px; height: 90px; }
  .hero-title { max-width: none; }
  .about-media { max-width: 520px; }
  .founder-photo { max-width: 380px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .logo-text { font-size: 1.6rem; }
  .header-actions { gap: .4rem; }
  .service-list { grid-template-columns: 1fr; }
  .card-grid, .card-list, .card-grid-4 { grid-template-columns: 1fr; gap: 2rem; }
  .card-row .card-media { width: 92px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .prose { font-size: 1.05rem; }
  .article-meta { flex-direction: column; align-items: flex-start; }
  .author-box { flex-direction: column; }
  .search-big { flex-direction: column; }
  .search-big .btn { width: 100%; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .partner-card { padding: 1.1rem; min-height: 170px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 1rem 1.75rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-frame { aspect-ratio: 1 / 1; border-radius: 180px 180px var(--radius) var(--radius); }
  .hero-orb-2 { display: none; }
  .float-card { left: 12px; right: 12px; width: auto; bottom: 16px; }
  .founder-photo { box-shadow: 8px 8px 0 var(--brown); max-width: calc(100% - 8px); aspect-ratio: 1 / 1; }
  .section-title { font-size: 1.85rem; }
  .cta-card .btn { width: 100%; }
  .clients-head { flex-wrap: wrap; }
}

@media print {
  .announce, .site-header, .site-footer, .sidebar, .share, .ad-slot, .site-modal, .admin-bar, .cta-band { display: none !important; }
  body { background: #fff; }
  .layout-article { display: block; }
}

.section-flush { padding-top: 0; }
.list-ad-row { grid-column: 1 / -1; padding: .5rem 0; }
.news-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 2rem; }
@media (max-width: 1024px) { .news-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .news-grid-3 { grid-template-columns: 1fr; } }

/* ---------- Página de contato ---------- */
.page-aside { display: flex; flex-direction: column; gap: 1.5rem; position: sticky; top: calc(var(--header-h) + 24px); }
.layout-page .page-aside .side-cta { position: static; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-intro { margin-bottom: 2rem; }
.contact-aside { display: flex; flex-direction: column; gap: 1.25rem; position: sticky; top: calc(var(--header-h) + 24px); }
.contact-aside .contact-card { position: static; }
.contact-aside .contact-card .social-list { margin-top: 1.25rem; }
.contact-aside .contact-card .social-list a { color: #fff; }
.contact-aside .contact-card .btn-light { color: var(--ink); }
.contact-form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.contact-form-card:focus { outline: none; }
.contact-form-card h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .4rem; }
.form-lead { color: var(--muted); font-weight: 300; margin-bottom: 1.75rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; margin-bottom: 1.75rem; }
.form-field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.form-field-full { grid-column: 1 / -1; }
.form-field label { font-size: .9rem; font-weight: 500; color: var(--ink); }
.form-field .req { color: var(--brown); }
.form-field input, .form-field select, .form-field textarea { width: 100%; font: inherit; font-weight: 300; color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: 14px; padding: .8rem 1rem; min-height: 52px; transition: border-color .2s, box-shadow .2s, background .2s; }
.form-field textarea { resize: vertical; min-height: 150px; line-height: 1.6; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(12, 39, 22, .08); }
.form-field [aria-invalid="true"] { border-color: #b3261e; background: #fff7f6; }
.form-error { color: #a3261b; font-size: .84rem; margin: 0; }
.form-check { flex-direction: row; align-items: flex-start; gap: .7rem; flex-wrap: wrap; }
.form-check input { width: 20px; height: 20px; min-height: 0; padding: 0; margin-top: .15rem; accent-color: var(--brown); flex: none; }
.form-check label { flex: 1; font-weight: 300; font-size: .9rem; color: var(--text); }
.form-check .form-error { flex-basis: 100%; padding-left: 2rem; }
.form-alert { display: flex; gap: .75rem; align-items: flex-start; background: #fff4f2; border: 1px solid #f1c8c2; color: #7d1d15; border-radius: var(--radius-sm); padding: 1rem 1.15rem; margin-bottom: 1.5rem; font-size: .92rem; }
.form-alert ul { margin: .4rem 0 0; padding-left: 1.1rem; }
.form-alert a { color: #7d1d15; }
.form-alert .icon { margin-top: .15rem; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-success { text-align: center; padding: 1.5rem 0; }
.form-success-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green-50); color: var(--ink); margin-bottom: 1rem; }
.form-success-icon .icon { width: 30px; height: 30px; }
.form-success p { color: var(--muted); font-weight: 300; max-width: 46ch; margin: 0 auto 1.5rem; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .55rem; }
.check-list li { display: flex; gap: .55rem; align-items: flex-start; font-size: .94rem; }
.check-list .icon { color: var(--brown); margin-top: .2rem; }
@media (max-width: 1024px) {
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .contact-aside, .page-aside { position: static; }
}
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .contact-form-card .btn-lg { width: 100%; }
}
