/* =========================================================
   Priorize Ser — Componentes compartilhados (chrome + comuns)
   Usado por todas as páginas internas (junto de styles.css).
   ========================================================= */

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand .mark {
  width: 38px; height: 38px; border-radius: 50%;
  object-fit: cover; flex: 0 0 auto; display: block;
}
.brand .mark::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--bg) 75%, transparent);
}
.brand .name { font-family: var(--serif); font-size: 1.32rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); line-height: 1; }
.brand .name span { color: var(--teal-dark); font-weight: 600; }

.nav-links { display: none; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-size: .96rem; font-weight: 500; color: var(--ink-soft); position: relative; padding-block: .4rem; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--clay); transition: width .3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { display: none; align-items: center; gap: .8rem; }

.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
}
.menu-btn svg { width: 20px; height: 20px; }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 60;
  background: var(--bg);
  transform: translateY(-100%);
  transition: transform .4s var(--ease);
  display: flex; flex-direction: column;
  padding: var(--gutter);
}
.drawer.open { transform: translateY(0); }
.drawer-top { display: flex; align-items: center; justify-content: space-between; height: 72px; margin-top: -8px; }
.drawer nav { display: flex; flex-direction: column; gap: .2rem; margin-top: 2rem; }
.drawer nav a {
  font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--ink);
  padding: .6rem 0; border-bottom: 1px solid var(--line-soft);
}
.drawer nav a span { color: var(--ink-mute); font-family: var(--sans); font-size: .8rem; font-weight: 400; margin-left: .6rem; }
.drawer .drawer-cta { margin-top: auto; display: grid; gap: .7rem; }

/* ============ HELPERS ============ */
.sec-soft { background: var(--teal-soft); }

.sec-head { display: grid; gap: 1rem; margin-bottom: 2.6rem; }
.sec-head .row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.sec-head h2 { max-width: 18ch; }
.sec-head p { color: var(--ink-soft); max-width: 42ch; }

/* ============ PAGE HERO (páginas internas) ============ */
.page-hero { padding-block: clamp(40px, 7vw, 80px) clamp(32px, 5vw, 56px); }
.page-hero .eyebrow { margin-bottom: 1rem; }
.page-hero h1 { font-size: clamp(2.1rem, 5.6vw, 3.4rem); max-width: 16ch; }
.page-hero h1 em { font-style: italic; color: var(--teal-dark); }
.page-hero p { margin-top: 1.2rem; max-width: 52ch; }
.crumbs { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--ink-mute); margin-bottom: 1.4rem; }
.crumbs a:hover { color: var(--teal-dark); }
.crumbs svg { width: 14px; height: 14px; }

/* ============ AUDIENCE (Para quem / Públicos) ============ */
.audience-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.aud { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; display: flex; flex-direction: column; gap: .55rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.aud:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.aud .icn { width: 44px; height: 44px; border-radius: 13px; background: var(--teal-soft); display: grid; place-content: center; color: var(--teal-dark); }
.aud .icn svg { width: 23px; height: 23px; }
.aud h3 { font-size: 1.12rem; }
.aud p { font-size: .9rem; color: var(--ink-soft); }

/* ============ GALERIA ============ */
.gallery-grid { display: grid; gap: .9rem; grid-template-columns: repeat(2, 1fr); }
.gallery-grid .ph { aspect-ratio: 4 / 3; border-radius: var(--radius); }

/* ============ EQUIPE ============ */
.team-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(2, 1fr); }
.member { display: flex; flex-direction: column; gap: .85rem; }
.member .ph { aspect-ratio: 3 / 4; border-radius: var(--radius-lg); background-image: repeating-linear-gradient(135deg, transparent 0 14px, rgba(194,133,91,.12) 14px 15px); }
.member h3 { font-size: 1.1rem; }
.member .role { font-size: .85rem; color: var(--teal-dark); font-weight: 600; margin-top: -.5rem; }
.member .crp { font-size: .78rem; color: var(--ink-mute); font-family: ui-monospace, Menlo, monospace; }

/* ============ POSTS ============ */
.posts { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
.post { display: grid; gap: 1rem; }
.post .ph { aspect-ratio: 16 / 10; border-radius: var(--radius); }
.post .meta { display: flex; align-items: center; gap: .7rem; font-size: .78rem; color: var(--ink-mute); }
.post .tag { color: var(--teal-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.post h3 { font-size: 1.25rem; line-height: 1.25; }
.post:hover h3 { color: var(--teal-dark); }
.post p { font-size: .92rem; color: var(--ink-soft); }

/* ============ CTA BAND ============ */
.cta-band { padding-block: clamp(48px, 8vw, 88px); }
.cta-inner {
  background:
    radial-gradient(120% 140% at 90% 10%, color-mix(in srgb, var(--teal) 45%, transparent) 0%, transparent 55%),
    var(--teal-dark);
  color: #fff; border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 6vw, 4rem);
  text-align: center; position: relative; overflow: hidden;
}
.cta-inner h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.cta-inner h2 em { font-style: italic; color: var(--clay-soft); }
.cta-inner p { color: color-mix(in srgb, #fff 82%, var(--teal)); margin-top: 1.1rem; max-width: 46ch; margin-inline: auto; }
.cta-actions { justify-content: center; margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.cta-inner .btn-ghost { color: #fff; border-color: color-mix(in srgb, #fff 35%, transparent); }
.cta-inner .btn-ghost:hover { color: var(--teal-dark); background: #fff; border-color: #fff; }

/* ============ FOOTER ============ */
.site-footer { background: var(--ink); color: color-mix(in srgb, #fff 78%, var(--ink)); padding-block: clamp(48px, 7vw, 72px) 2rem; }
.footer-grid { display: grid; gap: 2.4rem; grid-template-columns: 1fr; }
.footer-brand .brand .name { color: #fff; }
.footer-brand .brand .name span { color: var(--clay-soft); }
.footer-brand p { margin-top: 1.1rem; font-size: .92rem; max-width: 34ch; line-height: 1.6; }
.footer-col h4 { font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: color-mix(in srgb, #fff 55%, var(--ink)); margin-bottom: 1rem; font-weight: 700; }
.footer-col ul { list-style: none; display: grid; gap: .65rem; }
.footer-col a, .footer-col li { font-size: .94rem; color: color-mix(in srgb, #fff 80%, var(--ink)); }
.footer-col a:hover { color: #fff; }
.pending { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--clay-soft); font-family: ui-monospace, Menlo, monospace; background: color-mix(in srgb, #fff 8%, transparent); padding: .25rem .55rem; border-radius: 6px; }
.footer-bottom { margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid color-mix(in srgb, #fff 12%, transparent); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: .82rem; color: color-mix(in srgb, #fff 55%, var(--ink)); }
.socials { display: flex; gap: .6rem; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid color-mix(in srgb, #fff 18%, transparent); display: grid; place-content: center; color: #fff; transition: background .25s var(--ease); }
.socials a:hover { background: color-mix(in srgb, #fff 12%, transparent); }
.socials svg { width: 18px; height: 18px; }

/* floating whatsapp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--whatsapp); color: #fff; display: grid; place-content: center;
  box-shadow: 0 10px 28px -8px rgba(0,0,0,.4);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* ============ RESPONSIVE (chrome + comuns) ============ */
@media (min-width: 760px) {
  .team-grid { grid-template-columns: repeat(4, 1fr); }
  .audience-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .posts { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: flex; }
  .menu-btn { display: none; }
}
