@font-face { font-family: "Cormorant Garamond"; src: url("/assets/fonts/cormorant.woff2") format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Italiana"; src: url("/assets/fonts/italiana-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-002C, U+002E-2010, U+2012-10FFFF; } /* sem o hífen: a Italiana não o desenha; ele cai na fonte de apoio (Georgia) */
@font-face { font-family: "Sora"; src: url("/assets/fonts/sora.woff2") format("woff2"); font-weight: 300 400; font-display: swap; }

/* Gina Strozzi — Consultoria e Soluções
   Escala compacta, fundo azul petróleo, dourado da marca. */

:root {
  /* Fundo "azul petróleo" — tom a validar com a cliente (trocar só aqui) */
  /* Azul petróleo da referência da cliente (finamoresimoni.com.br): #041c2c, medido no site dela (2026-10-05).
     Anteriores (reverter se preciso): 2) manual #34484f / #2a3b41 / #3e555d / glow #46626b, rgb 52,72,79 / 42,59,65
                                       1) azulado  #24404a / #1b323b / #2c4955 / glow #2f5260, rgb 36,64,74 / 27,50,59 */
  --bg: #041c2c;
  --bg-deep: #03151f;
  --surface: #0b2b40;
  --glow: #0f3a55;
  /* Gelo cinza e variações (destaques) */
  --ice: #e8ecef;
  --ice-2: #dce3e8;
  --ice-3: #c9d3da;
  --bg-rgb: 4, 28, 44;
  --bg-deep-rgb: 3, 21, 31;
  --line: rgba(209, 178, 140, .22);

  --gold: #d1b28c;
  --gold-deep: #b28e6c;
  --text: #f3efe8;
  --muted: #c3cdcf;

  --font-title: "Kugile", "Italiana", Georgia, serif; /* Kugile: aguardando arquivo/licença; Italiana é o substituto mais próximo */
  --font-body: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 112px;
  --maxw: 1280px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15.5px/1.7 var(--font-body);
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  animation: page-in .7s var(--ease) both;
}
body.is-leaving { opacity: 0; transition: opacity .28s ease; }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.section { padding: 44px 0; }
.section--deep { background: var(--bg-deep); }

/* Seções claras: variáveis redefinidas, o resto do CSS se adapta */
.section--light, .section--light, .section--sand { color: var(--text); }
.section--light {
  background: #f8f5f0;
  --text: #14272e; --muted: #44555a; --surface: #ffffff; --line: rgba(var(--bg-rgb), .16); --gold: #8a6a47;
}
.section--sand { /* "gelo cinza" (pedido da cliente, 2026-10-07): nome da classe mantido, tom trocado */
  background: var(--ice);
  --text: #0c2233; --muted: #3d4f5d; --surface: var(--ice-2); --line: rgba(var(--bg-rgb), .16); --gold: #7a5c3b;
}
.section--light .btn--solid, .section--sand .btn--solid { color: #fff; }
.section--light .btn--solid:hover, .section--sand .btn--solid:hover { color: var(--gold); }
.section--light .card { box-shadow: 0 1px 0 rgba(var(--bg-rgb), .06), 0 14px 30px -22px rgba(var(--bg-rgb), .35); }
.section--light .card:hover { border-color: var(--line); }
.section--light .creds, .section--light .chips span { background: var(--surface); }
.section--sand .chips span { background: rgba(255, 255, 255, .35); }
.section--light .field input, .section--light .field textarea { color: var(--text); }
.section--tight { padding: 36px 0; }

/* ---------- Tipografia ---------- */
h1, h2, h3 { font-family: var(--font-title); font-weight: 400; margin: 0; line-height: 1.18; letter-spacing: .02em; }
h1 { font-size: clamp(2rem, 3vw, 2.9rem); }
h2 { font-size: clamp(1.6rem, 2.3vw, 2.1rem); }
h3 { font-family: var(--font-body); font-weight: 400; font-size: 1.08rem; line-height: 1.4; letter-spacing: .02em; }
p { margin: 0 0 .9em; }
.eyebrow {
  font: 400 11.5px/1 var(--font-body);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}
.lead { color: var(--muted); max-width: 56ch; }
.muted { color: var(--muted); }
.sec-head { margin-bottom: 30px; max-width: 60ch; }
.sec-head h2 { margin-top: 2px; }
.sec-head--center { text-align: center; margin-inline: auto; }
.rule { width: 36px; height: 1px; background: var(--gold); margin: 16px 0; border: 0; }
.sec-head--center .rule { margin-inline: auto; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 22px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font: 400 12px/1 var(--font-body);
  letter-spacing: .16em; text-transform: uppercase;
  background: transparent; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.btn:hover { background: var(--gold); color: var(--bg-deep); }
.btn--solid { background: var(--gold); color: var(--bg-deep); }
.btn--solid:hover { background: transparent; color: var(--gold); }
.link-line {
  position: relative; display: inline-block; color: var(--gold);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; padding-bottom: 4px;
}
.link-line::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(.35); transform-origin: left;
  transition: transform .5s var(--ease);
}
.link-line:hover::after { transform: scaleX(1); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 50;
  display: flex; align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-solid { background: rgba(var(--bg-deep-rgb), .94); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 32px; width: auto; }
.brand__logo { height: 88px !important; width: auto; transition: height .4s var(--ease); }
.site-header { transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease); }
.site-header.is-solid { height: 90px; }
.site-header.is-solid .brand__logo { height: 66px !important; }
.brand__name { font: 400 1.2rem/1 var(--font-title); letter-spacing: .06em; }
.brand__name small { display: block; margin-top: 4px; font: 300 8px/1 var(--font-body); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
[data-brand="symbol"] .brand__name { display: none; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  position: relative; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; padding: 6px 0; color: var(--text);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--gold); }
.nav .btn { padding: 9px 16px; }
.nav .btn::after { display: none; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 1px; background: var(--text); margin: 6px 0; transition: transform .3s, opacity .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(64vh, 560px); padding: calc(var(--header-h) + 36px) 0 40px;
  display: flex; align-items: center; overflow: hidden;
  background: radial-gradient(120% 90% at 85% 10%, var(--glow) 0%, var(--bg) 55%, var(--bg-deep) 100%);
}
.hero__symbol {
  position: absolute; right: 10%; top: 55%; translate: 0 -50%; width: min(26vw, 330px); height: auto;
  opacity: .7; pointer-events: none; will-change: transform;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { max-width: 18ch; font-size: clamp(2.1rem, 3.6vw, 3.3rem); line-height: 1.12; }
.hero__waves { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__waves path { fill: none; stroke: var(--gold); stroke-width: 1; opacity: .38; stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: draw 4.5s var(--ease) .3s forwards; }
.hero__waves path:nth-child(2) { opacity: .24; animation-delay: .7s; }
.hero__waves path:nth-child(3) { opacity: .14; animation-delay: 1.1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero .lead { margin: 16px 0 24px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-card {
  border: 1px solid var(--line); background: rgba(var(--bg-deep-rgb), .55);
  display: grid; grid-template-columns: 150px 1fr; gap: 0; align-items: stretch;
}
.hero-card .tint { height: 100%; min-height: 130px; }
.hero-card div:last-child { padding: 18px 20px; }
.hero-card small { color: var(--gold); letter-spacing: .22em; text-transform: uppercase; font-size: 9.5px; }
.hero-card p { margin: 8px 0 0; font-family: var(--font-title); font-size: 1.1rem; line-height: 1.3; }

.page-hero { padding: calc(var(--header-h) + 44px) 0 30px; background: linear-gradient(180deg, var(--bg-deep), var(--bg)); border-bottom: 1px solid var(--line); }
.page-hero p { color: var(--muted); max-width: 60ch; margin: 12px 0 0; }

/* ---------- Imagens com tratamento azulado ---------- */
.tint { position: relative; overflow: hidden; background: var(--bg-deep); }
.tint img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.45) contrast(1.02); transition: transform 1.2s var(--ease); }
.tint::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(var(--bg-rgb), .78), rgba(var(--bg-deep-rgb), .55));
  mix-blend-mode: multiply;
}
.card:hover .tint img, .tint:hover img { transform: scale(1.04); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid transparent;
  transition: border-color .4s var(--ease), transform .5s var(--ease);
}
.card:hover { border-color: var(--line); transform: translateY(-3px); }
.card .tint { aspect-ratio: 16 / 9; }
.card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.card__body h3 { color: var(--text); }
.card__body p { color: var(--muted); font-size: 14px; margin: 0; }
.card__body .link-line { margin-top: auto; padding-top: 10px; align-self: flex-start; }
.card--plain { padding: 24px 22px; gap: 10px; }
.card--plain ul { list-style: none; margin: 4px 0 0; padding: 0; color: var(--muted); font-size: 14px; }
.card--plain li { padding: 5px 0; border-top: 1px solid var(--line); }
.card--plain li:first-child { border-top: 0; }
.tag { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }

/* ---------- Faixa de frase ---------- */
.statement { text-align: center; }
.statement p { font-family: var(--font-title); font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.4; max-width: 44ch; margin: 0 auto; }
.statement .eyebrow { margin-bottom: 18px; }

/* ---------- Números ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.stat { padding: 26px 12px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font: 400 clamp(1.6rem, 2.4vw, 2.1rem)/1 var(--font-title); color: var(--gold); }
.stat span { display: block; margin-top: 8px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ---------- Depoimentos ---------- */
.quotes { position: relative; max-width: 780px; margin: 0 auto; text-align: center; }
.quote { display: none; }
.quote.is-active { display: block; animation: page-in .8s var(--ease) both; }
.quote blockquote { margin: 0; font-family: var(--font-body); font-weight: 300; font-size: clamp(1.2rem, 1.7vw, 1.5rem); line-height: 1.6; letter-spacing: .005em; color: var(--text); }
.quote cite { display: block; margin-top: 18px; font: 400 11.5px/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.dots { display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
.dots button { width: 22px; height: 2px; padding: 0; border: 0; background: var(--line); cursor: pointer; transition: background .3s; }
.dots button[aria-current="true"] { background: var(--gold); }

/* ---------- Clientes ---------- */
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 26px; }
.logos span { display: grid; place-items: center; }
.logos img { height: 84px; width: 84px; object-fit: contain; filter: grayscale(1) contrast(1.15); opacity: .9; transition: filter .4s, opacity .4s; }
.logos span:hover img { filter: none; opacity: 1; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 0; display: flex; justify-content: space-between; gap: 16px; font-family: var(--font-body); font-weight: 400; font-size: 1.02rem; line-height: 1.45; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-family: var(--font-body); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 16px; margin: 0; }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.creds { list-style: none; margin: 0; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.creds li { padding: 7px 0 7px 18px; position: relative; border-top: 1px solid var(--line); }
.creds li:first-child { border-top: 0; }
.creds li::before { content: ""; position: absolute; left: 0; top: 16px; width: 7px; height: 1px; background: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { border: 1px solid var(--line); padding: 8px 15px; font-size: 13px; color: var(--muted); transition: border-color .3s, color .3s; }
.chips span:hover { border-color: var(--gold); color: var(--text); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split .tint { aspect-ratio: 4 / 3; }

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 11px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  color: var(--text); font: 300 14px var(--font-body); transition: border-color .3s;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--gold); }
.info { list-style: none; margin: 0; padding: 0; }
.info li { padding: 14px 0; border-top: 1px solid var(--line); }
.info li:first-child { border-top: 0; padding-top: 0; }
.info small { display: block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }

/* ---------- CTA final ---------- */
.cta { text-align: center; }
.cta .rule { margin-inline: auto; }
.cta p { color: var(--muted); margin: 10px auto 22px; max-width: 48ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line); padding: 40px 0 22px; font-size: 13.5px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { margin: 0 0 12px; font: 400 10px/1 var(--font-body); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { padding: 4px 0; }
.footer-grid a:hover { color: var(--gold); }
.footer-brand img { width: min(300px, 100%); height: auto; margin: -6px 0 10px -4px; }
.footer-bottom { margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 11px; }

/* ---------- UI global ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: var(--bg-deep); display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3); transition: transform .35s var(--ease);
}
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 22px; height: 22px; fill: currentColor; }
.cookies {
  position: fixed; left: 18px; bottom: 18px; z-index: 60; max-width: 340px; padding: 16px 18px;
  background: var(--bg-deep); border: 1px solid var(--line); font-size: 12px; color: var(--muted);
  transform: translateY(20px); opacity: 0; transition: .5s var(--ease);
}
.cookies.is-in { transform: none; opacity: 1; }
.cookies p { margin: 0 0 12px; }
.cookies .btn { padding: 8px 16px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr; }
  .hero .wrap, .about, .split, .contact { grid-template-columns: 1fr; gap: 28px; }
  .hero { min-height: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .menu-toggle { display: block; }
  .nav { display: none; }
}
@media (max-width: 560px) {
  .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__waves path { stroke-dashoffset: 0 !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Hero: foco em linha / prova social / faixa de contato ---------- */
.focus { display: inline-flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 30px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.focus a { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.focus a:hover { color: var(--gold); }
.section--proof .logos { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.cta-strip { padding: 26px 0; margin-bottom: 34px; }
.cta-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-strip h2 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.cta-strip p { margin: 4px 0 0; color: var(--muted); }
.grid--2 .card .tint { aspect-ratio: 21 / 8; }
@media (max-width: 560px) { .grid--2 .card .tint { aspect-ratio: 16 / 9; } }

/* ---------- Delicadeza: cards horizontais e miniaturas ---------- */
.card--row { flex-direction: row; align-items: stretch; }
.card--row .tint { flex: 0 0 132px; aspect-ratio: auto; }
.card--row .card__body { padding: 16px 18px; gap: 6px; }
.card--row .card__body p { font-size: 13.5px; line-height: 1.6; }
.card--row:hover { transform: none; }
.grid--2 .card--row .tint { aspect-ratio: auto; }
@media (max-width: 560px) { .card--row { flex-direction: column; } .card--row .tint { flex-basis: auto; aspect-ratio: 16 / 7; } }
.card .tint { aspect-ratio: 16 / 8; }
.card__body { padding: 16px 18px 18px; }
.page-hero { padding-bottom: 24px; }
.page-hero h1 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); }
.card--row .tint img { object-position: center; }
.card--row .tint img[src*="epm-on"] { object-position: 8% center; }
.card--plain p { font-size: 14px; line-height: 1.65; margin: 0; }
.card--plain h3 { font-size: .98rem; }

/* ---------- Voltar ao topo ---------- */
.to-top {
  position: fixed; right: 21px; bottom: 76px; z-index: 40; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; padding: 0; cursor: pointer;
  background: rgba(var(--bg-deep-rgb), .94); backdrop-filter: blur(6px);
  border: 1px solid var(--gold-deep); color: var(--gold); box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease), border-color .3s, background .3s;
}
.to-top.is-in { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--gold); background: var(--gold); color: var(--bg-deep); }
.to-top svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.span-2 { grid-column: span 2; }
.note { align-self: center; padding: 0 0 0 34px; border-left: 1px solid var(--line); }
.note p { font-family: var(--font-title); font-size: 1.35rem; line-height: 1.45; margin: 0; }
@media (max-width: 900px) { .span-2 { grid-column: auto; } .note { padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- Curvas da marca como textura de fundo (estáticas, discretas) ---------- */
.section, .page-hero, .site-footer { position: relative; isolation: isolate; overflow: hidden; }
.section::before, .page-hero::before, .site-footer::before {
  content: ""; position: absolute; inset: -10% 0; z-index: -1; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 400' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23d1b28c' stroke-width='1'%3E%3Cpath d='M-40 300 C 220 40, 420 420, 720 220 S 1160 -20, 1500 170' vector-effect='non-scaling-stroke' opacity='1'/%3E%3Cpath d='M-40 340 C 240 90, 460 460, 760 270 S 1180 30, 1500 220' vector-effect='non-scaling-stroke' opacity='0.65'/%3E%3Cpath d='M-40 380 C 260 150, 480 500, 800 320 S 1200 90, 1500 270' vector-effect='non-scaling-stroke' opacity='0.4'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat; opacity: .42;
}
.section--light::before, .section--sand::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 400' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%238a6a47' stroke-width='1'%3E%3Cpath d='M-40 300 C 220 40, 420 420, 720 220 S 1160 -20, 1500 170' vector-effect='non-scaling-stroke' opacity='1'/%3E%3Cpath d='M-40 340 C 240 90, 460 460, 760 270 S 1180 30, 1500 220' vector-effect='non-scaling-stroke' opacity='0.65'/%3E%3Cpath d='M-40 380 C 260 150, 480 500, 800 320 S 1200 90, 1500 270' vector-effect='non-scaling-stroke' opacity='0.4'/%3E%3C/g%3E%3C/svg%3E"); opacity: .38; }
.section:nth-of-type(even)::before { transform: scaleY(-1); }
.section:nth-of-type(3n)::before { transform: scaleX(-1); }
.section:nth-of-type(3n+1):nth-of-type(even)::before { transform: scale(-1, -1); }
.page-hero::before { opacity: .5; }
.site-footer::before { opacity: .3; transform: scaleY(-1); }

.no-waves::before { display: none; }

/* ---------- Modo apresentação: links inativos ---------- */
a.is-soon { cursor: default; }
.nav a.is-soon { opacity: .6; }
.nav a.is-soon::after { display: none; }
.footer-grid a.is-soon:hover, .focus a.is-soon:hover { color: inherit; }
[hidden] { display: none !important; }

@media (max-width: 900px) { .hero__symbol { width: 56vw; right: -8%; opacity: .3; } }

/* ================= Acabamento (2026-10-05) ================= */
/* 1) Selo de transição entre seções (inserido por site.js) */
.seal { position: relative; height: 0; z-index: 6; }
.seal::before {
  content: ""; position: absolute; left: 50%; top: -19px; width: 38px; height: 38px; margin-left: -19px; border-radius: 50%;
  background: var(--bg-deep) url("/assets/brand/marcadagua.svg") center / 19px auto no-repeat;
  border: 1px solid var(--gold-deep);
}
/* 2) Aspas de abertura no depoimento */
.quote blockquote::before {
  content: "\201C"; display: block; font-family: Georgia, "Times New Roman", serif; font-size: 5rem; line-height: 1; height: 46px; overflow: hidden;
  color: var(--gold); margin-bottom: 6px; opacity: .85;
}
/* 3) Moldura fina interna nas imagens */
.tint::before { content: ""; position: absolute; inset: 8px; z-index: 2; pointer-events: none; border: 1px solid rgba(209, 178, 140, .5); }
/* 4) Rótulos com filete */
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 1px; background: currentColor; vertical-align: middle; margin: -2px 12px 0 0; opacity: .8; }
.sec-head--center .eyebrow::after, .statement .eyebrow::after { content: ""; display: inline-block; width: 26px; height: 1px; background: currentColor; vertical-align: middle; margin: -2px 0 0 12px; opacity: .8; }
.sec-head--center .eyebrow, .statement .eyebrow { display: block; }
/* 5) Linha dourada que se desenha no hover dos cards */
.card { position: relative; }
.card::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); z-index: 3; }
.card:hover::after { transform: scaleX(1); }
.card--row::after { display: none; }

/* Símbolo completo (G + S) pendurado na emenda branco -> bege, à esquerda. Peça única.
   Fica ENTRE o fundo das seções e o conteúdo: passa por baixo dos cards da seção branca e nunca toca o texto da bege.
   Largura = 1,2x o espaço livre ao lado do depoimento (780px centrado), limitada para não encostar no texto. */
.section.seam-a, .section.seam-b { isolation: auto; }
.section.seam-a > .wrap, .section.seam-b > .wrap { position: relative; z-index: 2; }
.seal--mark { z-index: 1; --mw: min(clamp(140px, calc(((100vw - 780px) / 2 - 28px) * 1.4), 400px), calc(50vw - 350px)); }
.seal--mark::after {
  content: ""; position: absolute; top: -190px; pointer-events: none; opacity: .16;
  width: var(--mw); left: min(10px, calc(50vw - 398px - var(--mw))); aspect-ratio: 0.814;
  background: url("/assets/brand/marcadagua-completa.svg") center / contain no-repeat;
}
@media (max-width: 1100px) { .seal--mark::after { display: none; } }

/* ---------- Mobile: cards em faixa deslizável (menos rolagem) ---------- */
@media (max-width: 700px) {
  .grid--4 { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin-inline: -20px; padding: 2px 20px 14px; scroll-padding-inline: 20px; scrollbar-width: none; }
  .grid--4::-webkit-scrollbar { display: none; }
  .grid--4 > .card { flex: 0 0 78%; scroll-snap-align: start; }
  .hero__symbol { width: 62vw; right: -20%; top: 74%; opacity: .2; }
}

/* ---------- Seletor Layout A / B (modo apresentação) ---------- */
.layout-switch { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 45; display: flex;
  background: rgba(var(--bg-deep-rgb), .92); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.layout-switch a { white-space: nowrap; padding: 8px 18px; border-radius: 999px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: color .3s, background .3s; }
.layout-switch a:hover { color: var(--text); }
.layout-switch a[aria-current="page"] { background: var(--gold); color: var(--bg-deep); }
@media (max-width: 560px) { .layout-switch { bottom: 12px; } .layout-switch a { padding: 7px 14px; } }

@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .brand__logo { height: 50px !important; }
  .site-header.is-solid { height: 62px; }
  .site-header.is-solid .brand__logo { height: 42px !important; }
}

/* ================= Layout B (aprovado pela cliente) ================= */
/* Proposta B — estrutura inspirada na referência da cliente, com a identidade da Gina (carrega depois de styles.css) */
.b { --copper: #c9a27a; --copper-deep: #b28e6c; --paper: #f7f3f0; }

/* Hero: título grande, expressão-chave em bronze, resto em branco */
.b .b-hero { min-height: min(80vh, 640px); background: linear-gradient(135deg, #0b1218 0%, var(--bg) 55%, #052338 100%); }
.b .b-hero .wrap { grid-template-columns: 1fr; }
.b .b-hero h1 { max-width: none; font-size: clamp(2.5rem, 5.4vw, 4.8rem); line-height: 1.04; }
.b .b-accent { display: block; color: var(--copper); }
.b .b-sub { display: block; margin-top: 8px; color: #fff; font-size: .56em; line-height: 1.2; letter-spacing: .03em; }
.b .b-hero .lead { max-width: 52ch; margin: 22px 0 26px; }
.b .b-hero .hero__symbol { right: 7%; width: min(30vw, 380px); opacity: .55; }

/* Faixa "Sobre": cartão off-white + imagem, com moldura que atravessa os dois */
.b-about { background: var(--bg); padding: 56px 0; position: relative; }
.b-about__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: var(--paper); }
.b-about__card { padding: 56px 56px 56px 60px; color: #0f2230; --gold: #8a6a47; --muted: #3e4f5a; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.b-about__card h2 { color: #0a1f2e; font-size: clamp(1.5rem, 2.2vw, 2rem); margin-bottom: 14px; }
.b-about__card p { color: #33454f; font-size: 14.5px; }
.b-about__card .btn--dark { align-self: flex-start; margin-top: 14px; background: var(--bg); color: #fff; border-color: var(--bg); }
.b-about__card .btn--dark:hover { background: transparent; color: var(--bg); }
.b-about__img { position: relative; min-height: 0; height: auto; }
.b-about__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.b-about__img img { height: 100%; }
.b-about__img::before { display: none; }
.b-frame { position: absolute; inset: 26px 26px 26px 26px; border: 1px solid var(--copper-deep); pointer-events: none; z-index: 3; }

/* Pilares: 4 itens, ícones de traço fino, divisórias em filete */
.b-pillars { padding: 18px 0; }
.b-pillars__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.b-pillar { padding: 38px 24px; text-align: center; border-left: 1px solid var(--line); }
.b-pillar:first-child { border-left: 0; }
.b-pillar svg { width: 34px; height: 34px; fill: none; stroke: var(--copper); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.b-pillar h3 { font-family: var(--font-title); font-size: 1.3rem; letter-spacing: .02em; color: #fff; margin-bottom: 8px; }
.b-pillar p { font-size: 13.5px; color: var(--muted); margin: 0 auto; max-width: 26ch; }

/* Grade de soluções: imagem escurecida + quadro vertical de borda bronze */
.b-areas__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.b-area { position: relative; display: block; height: 176px; overflow: hidden; background: var(--bg); }
.b-area img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4); transition: transform 1.2s var(--ease); }
.b-area::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--bg-rgb), .95) 0%, rgba(var(--bg-rgb), .7) 38%, rgba(var(--bg-rgb), .15) 100%); }
.b-area:hover img { transform: scale(1.05); }
.b-area__box { position: absolute; z-index: 2; left: 14px; top: 14px; bottom: 14px; width: 160px; border: 1px solid var(--copper-deep); background: rgba(var(--bg-deep-rgb), .82); display: grid; place-items: center; padding: 12px; text-align: center; transition: background .4s, border-color .4s; }
.b-area__box span { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: 1.32rem; line-height: 1.15; color: #fff; letter-spacing: .01em; text-transform: none; text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
.b-area:hover .b-area__box { background: rgba(var(--bg-deep-rgb), .92); border-color: var(--copper); }
.b .seal { display: none; }
.b .b-pillars::before { opacity: .16; }

@media (max-width: 900px) {
  .b-about__grid { grid-template-columns: 1fr; }
  .b-about__card { padding: 36px 28px; }
  .b-about__img { height: 220px; }
  .b-about__img img { position: static; }
  .b-frame { inset: 14px; }
  .b-pillars__grid { grid-template-columns: repeat(2, 1fr); }
  .b-pillar:nth-child(3) { border-left: 0; }
  .b-pillar:nth-child(n+3) { border-top: 1px solid var(--line); }
  .b-areas__grid { grid-template-columns: 1fr; }
  .b-area { height: 140px; }
}

@media (max-width: 700px) {
  .b .b-hero .hero__symbol { width: 52vw; right: -14%; top: 80%; opacity: .2; }
  .b-areas__grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -20px; padding: 2px 20px 12px; scroll-padding-inline: 20px; scrollbar-width: none; }
  .b-areas__grid::-webkit-scrollbar { display: none; }
  .b-area { flex: 0 0 82%; scroll-snap-align: start; height: 150px; }
}

/* ================= Páginas internas (estilo B) ================= */
.b-ihero { min-height: 0; padding: calc(var(--header-h) + 44px) 0 54px; }
.b-ihero h1 { font-size: clamp(2.2rem, 4.4vw, 3.9rem); }
.b-ihero .b-sub { font-size: .46em; margin-top: 10px; }
.b-ihero .lead { margin: 18px 0 0; max-width: 58ch; }
.b-ihero .hero__symbol { width: min(22vw, 260px); right: 8%; top: 50%; opacity: .5; }
.b-pillars--3 { grid-template-columns: repeat(3, 1fr); }
.b-trajetoria__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.b-creds { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.b-creds li { padding: 15px 0 15px 22px; border-bottom: 1px solid var(--line); position: relative; font-size: 15px; color: var(--text); }
.b-creds li::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 1px; background: var(--gold); }
.b-twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.b-twocol .faq details:first-of-type { border-top: 1px solid var(--line); }
.b .btn--dark { background: var(--bg); color: #fff; border-color: var(--bg); }
.b .btn--dark:hover { background: transparent; color: var(--bg); }
.b .section--light .contact { align-items: start; }
@media (max-width: 900px) {
  .b-ihero { padding-bottom: 38px; }
  .b-ihero .hero__symbol { width: 34vw; right: -6%; opacity: .22; top: 76%; }
  .b-pillars--3 { grid-template-columns: 1fr; }
  .b-pillars--3 .b-pillar { border-left: 0; border-top: 1px solid var(--line); }
  .b-pillars--3 .b-pillar:first-child { border-top: 0; }
  .b-trajetoria__grid, .b-twocol { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Drawer do menu (celular) ---------- */
.no-scroll { overflow: hidden; }
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none; }
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer__veil { position: absolute; inset: 0; background: rgba(2, 10, 16, .62); opacity: 0; transition: opacity .45s var(--ease); }
.drawer.is-open .drawer__veil { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 380px); display: flex; flex-direction: column; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  background: linear-gradient(165deg, #0a2f46 0%, var(--bg) 42%, var(--bg-deep) 100%);
  border-left: 1px solid var(--line); box-shadow: -24px 0 60px rgba(0, 0, 0, .45);
  transform: translateX(104%); transition: transform .55s var(--ease);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 400' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23d1b28c' stroke-width='1'%3E%3Cpath d='M-40 300 C 220 40, 420 420, 720 220 S 1160 -20, 1500 170' vector-effect='non-scaling-stroke' opacity='1'/%3E%3Cpath d='M-40 340 C 240 90, 460 460, 760 270 S 1180 30, 1500 220' vector-effect='non-scaling-stroke' opacity='0.65'/%3E%3Cpath d='M-40 380 C 260 150, 480 500, 800 320 S 1200 90, 1500 270' vector-effect='non-scaling-stroke' opacity='0.4'/%3E%3C/g%3E%3C/svg%3E") left bottom / 190% 46% no-repeat; }
.drawer__top { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 22px 22px 18px; border-bottom: 1px solid var(--line); }
.drawer__top img { height: 51px; width: auto; display: block; }
.drawer__close { position: relative; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; transition: border-color .3s, background .3s; }
.drawer__close:hover { border-color: var(--gold); }
.drawer__close span { position: absolute; left: 12px; top: 20px; width: 16px; height: 1px; background: var(--text); }
.drawer__close span:first-child { transform: rotate(45deg); }
.drawer__close span:last-child { transform: rotate(-45deg); }
.drawer__nav { position: relative; display: flex; flex-direction: column; padding: 14px 22px; flex: 1 0 auto; }
.drawer__nav a {
  font-family: var(--font-title); font-size: 1.7rem; line-height: 1.2; color: var(--text); padding: 16px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateX(18px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
}
.drawer.is-open .drawer__nav a { opacity: 1; transform: none; transition-delay: calc(.12s + var(--i, 0) * .06s); }
.drawer__nav a[aria-current="page"] { color: var(--gold); }
.drawer__nav a:hover { color: var(--gold); }
.drawer__foot { position: relative; padding: 18px 22px 28px; }
.drawer__foot .btn { width: 100%; justify-content: center; }
.drawer__foot p { margin: 16px 0 0; font-size: 13.5px; line-height: 1.8; color: var(--muted); }
.drawer__foot a:not(.btn):hover { color: var(--gold); }
.drawer a.is-soon { opacity: .5; cursor: default; }
@media (min-width: 901px) { .drawer { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .drawer__panel, .drawer__veil, .drawer__nav a { transition: none !important; }
}

/* ---------- Movimento nas imagens (hover): elegante, não chamativo ---------- */
@media (hover: hover) and (pointer: fine) {
  .tint img, .b-area img { --mx: 0; --my: 0; transform: scale(1) translate(0, 0); will-change: transform;
    transition: transform .9s var(--ease); }
  .tint:hover img, .card:hover .tint img, .b-area:hover img {
    transform: scale(1.07) translate(calc(var(--mx, 0) * -7px), calc(var(--my, 0) * -5px));
    transition: transform .35s ease-out; }
}
@media (prefers-reduced-motion: reduce) { .tint img, .b-area img { transform: none !important; transition: none !important; } }

/* Linha de crédito do EPM (Home) */
.b-epm { background: var(--bg-deep); padding: 26px 0 34px; border-top: 1px solid var(--line); }
.b-epm .wrap { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; text-align: left; }
.b-epm img { height: 68px; width: auto; flex: none; opacity: .95; }
.b-epm p { margin: 0; max-width: 44ch; font-size: 12.5px; letter-spacing: .04em; color: var(--muted); line-height: 1.6; }
@media (max-width: 560px) { .b-epm .wrap { flex-direction: column; text-align: center; gap: 12px; } .b-epm img { height: 58px; } }

/* ---------- Itens de Soluções / WOMAP / Consultoria SST ---------- */
.b-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.b-items--2 { grid-template-columns: repeat(2, 1fr); }
.b-items--1 { grid-template-columns: 1fr; margin-top: 14px; }
.b-item { scroll-margin-top: 110px; padding: 26px 24px; gap: 10px; border: 1px solid var(--line); }
.b-item h3 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: 1.32rem; line-height: 1.2; letter-spacing: .005em; }
.b-item p { font-size: 14px; color: var(--muted); margin: 0; }
.b-item:target { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
#epmf, #consultoria-genero { scroll-margin-top: 90px; }
.b-tema .sec-head h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
@media (max-width: 900px) { .b-items, .b-items--2 { grid-template-columns: 1fr; } }

.b-item.has-img { padding: 0; gap: 0; }
.b-item.has-img .card__body { padding: 18px 20px 22px; gap: 8px; }

/* Rodapé: navegação em duas colunas (3 + 3) */
.footer-nav { display: grid; grid-template-columns: repeat(2, max-content); grid-template-rows: repeat(5, auto); grid-auto-flow: column; column-gap: 44px; }
.footer-nav a { white-space: nowrap; }
@media (max-width: 420px) { .footer-nav { column-gap: 28px; } }

/* Rodapé: redes sociais em ícones */
.footer-grid .social { display: flex; gap: 12px; padding-top: 8px; }
.footer-grid .social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); transition: color .3s, border-color .3s, background .3s, transform .4s var(--ease); }
.footer-grid .social a:hover { color: var(--bg-deep); background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.footer-grid .social svg { width: 17px; height: 17px; fill: currentColor; }

/* Títulos em fundo claro: a Italiana só tem peso fino, então ganha corpo (traço) e um pouco de tamanho */
.section--light h1, .section--light h2, .section--sand h1, .section--sand h2,
.b-about__card h2, .section--light .statement p, .section--sand .statement p {
  -webkit-text-stroke: .5px currentColor; paint-order: stroke fill; letter-spacing: .015em;
}
.b-about__card h2 { font-size: clamp(1.7rem, 2.5vw, 2.3rem); line-height: 1.18; color: #08192a; }
.section--light .sec-head h2, .section--sand .sec-head h2 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); color: #08192a; }
.section--light .eyebrow, .section--sand .eyebrow { font-weight: 400; }

/* Sobre: foto pequena + credenciais */
.b-sobre__grid { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.b-sobre__photo { aspect-ratio: 4 / 5; }
.b-sobre .eyebrow { margin-bottom: 10px; }
.b-sobre .b-creds li:last-child { color: var(--gold); }
@media (max-width: 900px) { .b-sobre__grid { grid-template-columns: 1fr; gap: 26px; } .b-sobre__photo { width: 150px; } }

/* Retrato real da Gina (Sobre): sem o tratamento azulado dos bancos de imagem, só uma leve harmonização de cor */
.tint--photo img { filter: grayscale(.12) contrast(1.02); }
.tint--photo::after { background: linear-gradient(180deg, rgba(var(--bg-rgb), .05), rgba(var(--bg-deep-rgb), .28)); mix-blend-mode: normal; }

/* Hero das páginas internas: altura só do conteúdo (a regra .b .b-hero da Home impunha 80vh) */
.b .b-ihero { min-height: 0; padding: calc(var(--header-h) + 36px) 0 40px; }
@media (max-width: 900px) { .b .b-ihero { padding: calc(var(--header-h) + 26px) 0 30px; } }
/* Menu hambúrguer: três linhas */
.menu-toggle span { height: 1px; margin: 5px 0; }
.menu-toggle { padding: 9px 8px; }

/* Hero interno no celular: ainda mais compacto (vale para todas as páginas internas) */
@media (max-width: 900px) {
  .b .b-ihero { padding: calc(var(--header-h) + 18px) 0 22px; }
  .b .b-ihero h1 { font-size: clamp(1.8rem, 8vw, 2.3rem); line-height: 1.08; }
  .b .b-ihero .b-sub { font-size: .52em; margin-top: 6px; line-height: 1.25; }
  .b .b-ihero .lead { font-size: 13.5px; line-height: 1.55; margin: 10px 0 0; max-width: 44ch; }
}

/* Áreas do hero: no celular, uma por linha */
@media (max-width: 700px) {
  .focus { display: flex; flex-direction: column; gap: 0; width: 100%; padding-top: 6px; }
  .focus li { border-bottom: 1px solid var(--line); }
  .focus li:last-child { border-bottom: 0; }
  .focus a { display: block; padding: 11px 0; }
}

/* Pilares: em larguras estreitas, cada bloco na largura completa */
@media (max-width: 640px) {
  .b-pillars__grid, .b-pillars--3 { grid-template-columns: 1fr; }
  .b-pillar, .b-pillar:nth-child(3), .b-pillar:nth-child(n+3) { border-left: 0; border-top: 1px solid var(--line); padding: 26px 20px; }
  .b-pillar:first-child { border-top: 0; }
  .b-pillar p { max-width: 34ch; }
}

/* Grade de soluções da Home no celular: um card por linha (sem carrossel lateral) */
@media (max-width: 700px) {
  .b-areas__grid { display: grid; grid-template-columns: 1fr; gap: 12px; overflow: visible; margin-inline: 0; padding: 0; scroll-snap-type: none; }
  .b-area { flex: none; width: 100%; height: 132px; }
}

/* ---------- Abas (Soluções) ---------- */
.b-tablist { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 28px; overflow-x: auto; scrollbar-width: none; }
.b-tablist::-webkit-scrollbar { display: none; }
.b-tab { flex: 1 1 0; min-width: 0; display: flex; align-items: baseline; gap: 12px; text-align: left; padding: 16px 22px 18px; background: transparent; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer;
  font: 400 15px/1.35 var(--font-body); color: var(--muted); transition: color .3s, border-color .35s var(--ease), background .3s; }
.b-tab span { font: 400 10.5px/1 var(--font-body); letter-spacing: .22em; color: var(--gold); }
.b-tab:hover { color: var(--text); background: rgba(var(--bg-rgb), .03); }
.b-tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--gold); }
.b-tab:focus-visible { outline: 1px solid var(--gold); outline-offset: -3px; }
.b-panel { animation: page-in .55s var(--ease) both; }
.b-panel[hidden] { display: none; }
.b-tabs .b-items { margin-top: 0; }
@media (max-width: 900px) {
  .b-tablist { flex-direction: column; border-bottom: 0; gap: 8px; }
  .b-tab { flex: none; border: 1px solid var(--line); border-radius: 2px; padding: 14px 16px; margin: 0; }
  .b-tab[aria-selected="true"] { border-color: var(--gold); background: rgba(var(--bg-rgb), .04); }
}
@media (prefers-reduced-motion: reduce) { .b-panel { animation: none; } }

/* Contato: área reduzida */
.b-contato { padding: 38px 0; }
.b-contato__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.b-contato .info li { padding: 11px 0; }
.b-contato h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
@media (max-width: 900px) { .b-contato__grid { grid-template-columns: 1fr; gap: 22px; } .b-contato { padding: 30px 0; } }

.b-aviso { padding: 22px 0 30px; }
.b-aviso p { margin: 0; font-size: 14px; }

/* Menu com 7 itens: sempre em uma linha; abaixo de 1180px usa o menu lateral */
.nav { gap: 22px; }
.nav a { white-space: nowrap; }
.nav a:not(.btn) { font-size: 11.5px; letter-spacing: .14em; }
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  :root { --header-h: 78px; }
  .brand__logo { height: 54px !important; }
  .site-header.is-solid { height: 66px; }
  .site-header.is-solid .brand__logo { height: 44px !important; }
}
@media (min-width: 1181px) { .drawer { display: none; } .menu-toggle { display: none; } }
@media (max-width: 1180px) and (min-width: 901px) { .drawer { display: block; } }

/* Grades de cartões no celular: um por linha em qualquer página (nada fora da tela) */
@media (max-width: 700px) {
  .grid--4 { display: grid; grid-template-columns: 1fr; gap: 14px; overflow: visible; margin-inline: 0; padding: 0; scroll-snap-type: none; }
  .grid--4 > .card, .grid--4 > .note { flex: none; width: auto; max-width: 100%; }
  .span-2 { grid-column: auto; }
  .note { padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* Agenda Global: faixa de participações (fotos reais, legenda abaixo) */
.b-galeria { padding: 40px 0 44px; }
.b-galeria__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.b-fig { margin: 0; }
.b-fig .tint { aspect-ratio: 4 / 5; }
.b-fig figcaption { margin-top: 12px; font: 400 11.5px/1.4 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 900px) { .b-galeria__grid { grid-template-columns: 1fr; gap: 22px; } .b-fig .tint { aspect-ratio: 16 / 11; } }

/* ---------- Logo maior (pedido da Daniela/Gina): celular e telas médias ---------- */
@media (max-width: 1180px) {
  :root { --header-h: 92px; }
  .brand__logo { height: 66px !important; }
  .site-header.is-solid { height: 78px; }
  .site-header.is-solid .brand__logo { height: 54px !important; }
}
@media (max-width: 900px) {
  :root { --header-h: 84px; }
  .brand__logo { height: 60px !important; }
  .site-header.is-solid { height: 72px; }
  .site-header.is-solid .brand__logo { height: 50px !important; }
}

/* ---------- Portfólio de soluções: sem quadradinho, só o nome (pedido da Daniela/Gina) ---------- */
.b-area__box { display: none; }
.b-area::after { background: linear-gradient(90deg, rgba(var(--bg-rgb), .94) 0%, rgba(var(--bg-rgb), .66) 42%, rgba(var(--bg-rgb), .12) 100%); }
.b-area__name { position: absolute; z-index: 2; left: 30px; top: 50%; transform: translateY(-50%); max-width: 60%;
  font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: clamp(1.45rem, 2vw, 1.85rem); line-height: 1.12; color: #fff; letter-spacing: .005em; text-shadow: 0 1px 12px rgba(0, 0, 0, .55); }
.b-area__name::after { content: ""; display: block; width: 34px; height: 1px; margin-top: 12px; background: var(--gold); transition: width .5s var(--ease); }
.b-area:hover .b-area__name::after { width: 74px; }
/* 7 cards em 2 colunas: o último ocupa a linha inteira */
.b-areas__grid .b-area:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 700px) { .b-area__name { left: 22px; font-size: 1.45rem; } .b-areas__grid .b-area:last-child:nth-child(odd) { grid-column: auto; } }

/* Seção dos pilares (ícones): sem curvas de fundo (pedido do Luciano) */
.b-pillars::before { display: none; }

/* Celular: rótulos legíveis e alvos de toque confortáveis */
.tag { font-size: 11.5px; }
.cookies .btn { padding: 12px 20px; min-height: 40px; }
.cookies { max-width: min(340px, calc(100vw - 36px)); }

/* "Como atuamos" (Tecnologias): serifada firme, legível em fundo claro */
.note p { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: 1.4rem; line-height: 1.42; color: var(--text); letter-spacing: 0; }
@media (max-width: 700px) { .note p { font-size: 1.3rem; } }

/* ---------- Ajustes da cliente (2026-10-08) ---------- */
/* Submenu "Soluções" (desktop): abre ao passar o mouse ou ao focar com o teclado; no celular os filhos aparecem indentados no drawer */
.nav__group { position: relative; padding: 14px 0; margin: -14px 0; }
.nav__group > a { display: inline-flex; align-items: center; gap: 7px; }
.nav__caret { width: 8px; height: 5px; fill: none; stroke: currentColor; stroke-width: 1.2; transition: transform .3s var(--ease); }
.nav__group:hover .nav__caret, .nav__group:focus-within .nav__caret { transform: rotate(180deg); }
.nav__sub {
  position: absolute; top: 100%; left: -18px; min-width: 190px; padding: 10px 0; display: flex; flex-direction: column;
  background: var(--bg-deep); border: 1px solid var(--line); box-shadow: 0 16px 36px rgba(0, 0, 0, .35);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.nav__group:hover .nav__sub, .nav__group:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { padding: 11px 18px; white-space: nowrap; }
.nav__sub a::after { left: 18px; width: calc(100% - 36px); bottom: 7px; }
.nav a[data-active="true"] { color: var(--gold); }
.drawer__nav a.is-child { font-size: 1.3rem; padding: 12px 0 12px 22px; color: var(--muted); position: relative; }
.drawer__nav a.is-child::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 1px; background: var(--gold); }
@media (prefers-reduced-motion: reduce) { .nav__sub, .nav__caret { transition: none; } }

/* Home: título e frase abaixo dele em Cormorant Garamond (a Italiana não tem hífen; "técnico-científica" caía em outra fonte) */
.b .b-hero:not(.b-ihero) h1 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; letter-spacing: .005em; line-height: 1.06; font-size: clamp(2.5rem, 5.2vw, 4.5rem); }
.b .b-hero:not(.b-ihero) .b-sub { color: var(--copper); font-size: .5em; letter-spacing: .02em; margin-top: 12px; }
.b .b-hero:not(.b-ihero) .lead { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.3; letter-spacing: .01em; color: var(--text); max-width: 34ch; margin: 22px 0 0; }

/* Quadro branco da Home: lista dos três pilares */
.b-list { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid rgba(15, 34, 48, .18); }
.b-list li { padding: 12px 0 12px 22px; border-bottom: 1px solid rgba(15, 34, 48, .18); position: relative; font-size: 14.5px; color: #0f2230; }
.b-list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 1px; background: #8a6a47; }

/* Sobre: logo EPM pequena na frente da credencial */
.b-creds li.has-logo { display: flex; align-items: center; gap: 14px; }
.b-creds__logo { height: 30px; width: auto; flex: none; }

/* Parceiros/Depoimentos: parede de logos (multiply apaga o fundo branco de algumas logos sobre o fundo claro) */
.logos--wall { gap: 18px 22px; max-width: var(--maxw); margin: 0 auto; }
.logos--wall span { display: flex; align-items: center; justify-content: center; width: 160px; height: 92px; overflow: hidden; }
.logos--wall img { width: auto; height: auto; max-width: 100%; max-height: 100%; padding: 4px 6px; box-sizing: border-box; mix-blend-mode: multiply; }
.logos__txt { font: 400 1.25rem/1 var(--font-title); letter-spacing: .04em; color: var(--muted); }
@media (max-width: 560px) { .logos--wall { gap: 10px 12px; } .logos--wall span { width: calc(50% - 6px); height: 78px; } }

/* Banner de cookies: dois botões (Aceitar / Recusar) */
.cookies__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Sobre: botão Lattes abaixo da foto */
.b-sobre__lattes { margin-top: 16px; width: 100%; justify-content: center; text-align: center; }
@media (max-width: 900px) { .b-sobre__side { width: 190px; } .b-sobre__side .b-sobre__photo { width: 100%; } }

/* Botões longos no mobile (ex.: "Conheça o WOMAP no Instagram"): uma linha, texto centralizado */
@media (max-width: 560px) {
  .b-about__card .btn { align-self: stretch; justify-content: center; text-align: center; padding: 12px 10px; font-size: 11px; letter-spacing: .1em; line-height: 1.3; }
}

/* Logos de produto (EPM-ON, EPMF) no lugar de foto: sem tratamento azulado, sem corte */
.tint--logo { background: #0e2a4b; }
.tint--logo img, .card--row .tint--logo img { object-fit: contain; filter: none; }
.tint--logo::after { display: none; }

/* ---------- Home: hero com foto panorâmica (2,66:1), sem corte no desktop ---------- */
.b .b-hero--photo { isolation: isolate; aspect-ratio: 1280 / 482; min-height: 0; padding-top: var(--header-h); padding-bottom: 0; display: flex; align-items: center; background: var(--bg); }
.b-hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; z-index: -3; }
/* a foto já nasce escura à esquerda; este degradê só costura com o azul do site */
.b-hero--photo::after { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(var(--bg-rgb), .94) 26%, rgba(var(--bg-rgb), .6) 42%, rgba(var(--bg-rgb), 0) 62%); }
.b-hero--photo .hero__waves { z-index: -1; -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 28%, transparent 52%); mask-image: linear-gradient(90deg, #000 0%, #000 28%, transparent 52%); }
.b .b-hero--photo .hero__symbol { z-index: -1; left: 2%; right: auto; top: auto; bottom: -8%; width: min(20vw, 260px); opacity: .12; }
.b-hero--photo .wrap { grid-template-columns: 1fr; }
.b-hero--photo .wrap > div { max-width: 38%; }
.b-hero--photo h1 { max-width: none; font-size: clamp(1.7rem, 2.9vw, 2.7rem); }
.b-hero--photo .lead { font-size: clamp(1rem, 1.5vw, 1.3rem); max-width: 28ch; }
@media (max-width: 900px) {
  .b .b-hero--photo { aspect-ratio: auto; min-height: 0; padding: calc(var(--header-h) + 24px) 0 36px; }
  .b-hero__photo { object-position: 80% center; }
  .b-hero--photo .wrap > div { max-width: none; }
  .b-hero--photo::after { background: linear-gradient(180deg, rgba(var(--bg-rgb), .88) 0%, rgba(var(--bg-rgb), .7) 55%, rgba(var(--bg-rgb), .35) 100%); }
  .b .b-hero--photo .hero__symbol { width: 40vw; bottom: -4%; }
}
.b .b-hero--photo h1 { font-size: clamp(1.6rem, 2.6vw, 2.5rem); line-height: 1.08; }
.b .b-hero--photo .b-accent { font-size: 1em; }
.b .b-hero--photo .lead { font-size: clamp(.95rem, 1.35vw, 1.2rem); margin: 14px 0 0; }
@media (max-width: 900px) { .b .b-hero--photo h1 { font-size: clamp(1.7rem, 7vw, 2.2rem); } }
.b .b-hero.b-hero--photo:not(.b-ihero) h1 { font-size: clamp(1.6rem, 2.7vw, 2.5rem); line-height: 1.1; }
.b .b-hero.b-hero--photo:not(.b-ihero) .b-sub { font-size: .55em; }
@media (max-width: 900px) { .b .b-hero.b-hero--photo:not(.b-ihero) h1 { font-size: clamp(1.7rem, 7vw, 2.2rem); } }

/* Home: foto da sala como fundo discreto do hero (o resto do hero não muda) */
.b-hero--bg { isolation: isolate; }
.b-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; opacity: .38; z-index: -1; pointer-events: none; }
.b-hero--bg .hero__symbol { display: none; }

/* Marca d'água do hero presa à coluna de conteúdo (mesma borda direita do menu e dos quadros) */
@media (min-width: 901px) {
  .b .b-hero .hero__symbol, .b-ihero .hero__symbol { right: max(20px, calc((100% - var(--maxw)) / 2)); }
}

/* Frase de apoio do hero da Home em uma linha em telas maiores; quebra só no celular */
@media (min-width: 641px) { .b .b-hero:not(.b-ihero) .lead { max-width: none; } }

/* Logo de produto sobre fundo claro (ex.: EPMf na WOMAP) */
.b-logo-prod { display: block; width: min(260px, 100%); height: auto; aspect-ratio: 2 / 1; object-fit: cover; margin: 0 0 20px; border: 1px solid var(--copper-deep); background: #0e2a4b; }
#epmf .b-twocol { align-items: center; }
/* Celular: logo do EPMf no topo da seção, antes do título */
@media (max-width: 900px) {
  #epmf .b-twocol > div:nth-child(2) { display: contents; }
  #epmf .b-logo-prod { order: -1; }
}

/* Rodapé: "Desenvolvido por" com a logo da Jonnpo */
.footer-bottom .dev-by { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom .dev-by img { height: 22px; width: auto; display: block; opacity: .9; transition: opacity .3s; }
.footer-bottom .dev-by a:hover img { opacity: 1; }
/* "Desenvolvido por" inteiro é link e sai da frente do botão do WhatsApp (fixo no canto) */
.footer-bottom { padding-right: 84px; }
.footer-bottom a.dev-by { color: inherit; text-decoration: none; }
.footer-bottom a.dev-by:hover img { opacity: 1; }
@media (max-width: 640px) { .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; padding-right: 84px; padding-bottom: 56px; } }
