/* Staging body refinement. Palette comes exclusively from cc-design.css.
   Home, A Banca and Sobre: same reading grid, hero origin and photograph size.
   Approved Empresas/Eventos and global Elementor templates are not restyled. */
body .cc-home, body main.inst {
  --cc-font: 'CC Montserrat', 'Montserrat', Arial, sans-serif;
  --cc-page-width: 1264px;
  --cc-page-gutter: clamp(20px, 6.1vw, 88px);
  --cc-page-gap: clamp(32px, 4.45vw, 64px);
  --cc-page-space: clamp(56px, 6.1vw, 88px);
  font-family: var(--cc-font);
  color: var(--cc-ink);
  background: var(--cc-white);
}
/* Full-width Elementor shell already fills its parent. Avoid 100vw overflow
   when the browser reserves a vertical scrollbar. */
body:has(.cc-home, main.inst) { min-width: 0; }
body .cc-home { width: 100%; min-width: 0; margin-inline: 0; }
body .cc-home .wrap, body .inst .inst-wrap {
  width: min(calc(100% - 2 * var(--cc-page-gutter)), var(--cc-page-width));
  margin-inline: auto;
}
body .cc-home :is(h1,h2,h3), body .inst :is(h1,h2,h3) {
  font-family: var(--cc-font);
  letter-spacing: -.045em;
  font-weight: 800;
  text-wrap: pretty;
}
body .cc-home .hero, body .inst .inst-hero { background: var(--cc-paper); }
body .cc-home .hero-grid, body .inst .inst-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr);
  gap: var(--cc-page-gap);
  align-items: start;
  min-height: 0;
}
body .cc-home .hero-grid { padding-block: 64px 72px; }
body .inst .inst-hero { padding-block: 64px 72px; }
body .cc-home .hero h1, body .inst .inst-hero .inst-h1 {
  max-width: none;
  margin: 0 0 24px;
  font-size: clamp(36px, 3.5vw, 50px);
  line-height: 1.08;
  letter-spacing: -.05em;
}
body .cc-home .hero h1 { font-size: clamp(34px, 3.2vw, 46px); }
body .cc-home .eyebrow, body .inst .inst-eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
  text-transform: none;
  color: var(--cc-green-dark);
}
body .cc-home .lead, body .inst .inst-hero .inst-lead {
  max-width: 62ch;
  font-family: var(--cc-font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--cc-muted);
  margin: 0;
}
body .cc-home .hero .actions, body .inst .inst-cta-row, body .inst .inst-about-cta { margin-top: 28px; }
body .cc-home .hero-photo, body .inst .inst-hero-media {
  height: 500px;
  margin: 0;
  border-radius: var(--cc-radius);
  overflow: hidden;
  box-shadow: none;
  background: var(--cc-green-soft);
  display: flex;
  flex-direction: column;
}
body .cc-home .hero-photo img, body .inst .inst-hero-media img {
  width: 100%;
  height: 456px;
  min-height: 0;
  flex: 1;
  object-fit: cover;
  object-position: center 48%;
}
body .inst .inst-hero-media-team img { object-position: center 38%; }
body .cc-home .hero-photo figcaption, body .inst .inst-hero-media figcaption {
  position: static;
  flex: none;
  margin: 0;
  min-height: 44px;
  padding: 13px 20px;
  border-radius: 0;
  background: var(--cc-green-soft);
  color: var(--cc-green-deep);
  font-family: var(--cc-font);
  font-size: 11px;
  font-weight: 600;
  font-style: normal;
  line-height: 18px;
}
body .cc-home .button, body .inst .inst-btn {
  min-height: 50px;
  padding: 14px 24px;
  border: 1px solid var(--cc-green);
  border-radius: var(--cc-radius-pill);
  font-family: var(--cc-font);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--cc-ink);
  background: var(--cc-green);
  text-decoration: none;
  box-shadow: none;
}
body .inst .inst-btn-ghost { border-color: var(--cc-green-dark); color: var(--cc-green-dark); background: transparent; }
body .cc-home .text-link { color: var(--cc-green-dark); }
body .cc-home :is(a,button):focus-visible, body .inst :is(a,button):focus-visible {
  outline: 3px solid var(--cc-green-dark);
  outline-offset: 5px;
}
body .cc-home .section-pad, body .inst .inst-section, body .inst .inst-band { padding-block: var(--cc-page-space); }
body .cc-home :is(.split,.shop-grid,.about-grid), body .inst :is(.inst-split,.inst-hours-layout,.inst-story-grid) {
  gap: var(--cc-page-gap);
}
body .cc-home :is(.section-copy h2,.about-section h2,.faq-section h2,.closing h2), body .inst .inst-h2,
body .inst .inst-market-copy .inst-h2, body .inst .inst-story-heading .inst-h2 {
  max-width: 22ch;
  font-size: clamp(28px, 3.1vw, 44px);
  line-height: 1.12;
  margin-bottom: 24px;
}
body .cc-home .section-copy > p:not(.eyebrow), body .inst .inst-p { font-size: 16px; line-height: 1.75; max-width: 68ch; }
body .cc-home :is(.market-photo,.service-photo,.shop-photo,.team-photo), body .inst .inst-market-media {
  width: 100%;
  min-width: 0;
  aspect-ratio: auto;
  border-radius: var(--cc-radius);
  overflow: hidden;
  box-shadow: none;
  height: 480px;
}
body .cc-home .fact-strip, body .inst .inst-fact-strip {
  background: var(--cc-green-deep);
  color: var(--cc-white);
  border: 0;
}
body .cc-home .fact-grid p, body .inst .inst-fact-strip .inst-facts li {
  min-height: 92px;
  padding-block: 20px;
  border-color: color-mix(in srgb, var(--cc-white) 22%, transparent);
}
body .cc-home .fact-grid strong { font-family: var(--cc-font); font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
body .cc-home .fact-grid span, body .inst .inst-fact-strip .inst-facts span { color: var(--cc-white); font-size: 12px; line-height: 1.55; }
body .inst .inst-fact-strip .inst-facts strong { color: var(--cc-white); font-size: 13px; line-height: 1.5; }
body .inst .inst-fact-strip .inst-facts svg { color: var(--cc-green); }
body .cc-home .services-section, body .inst .inst-band-soft { background: var(--cc-green-mist); }
body .cc-home .services-heading { display: block; max-width: 760px; margin-bottom: 36px; }
body .cc-home .services-heading .eyebrow { max-width: none; font-family: var(--cc-font); font-size: clamp(24px,2.5vw,36px); line-height: 1.2; letter-spacing: -.04em; margin-bottom: 16px; }
body .cc-home .services-heading > p:last-child { max-width: 62ch; }
body .cc-home .service-grid { gap: 28px; }
body .cc-home .service-card { overflow: hidden; border: 0; border-radius: var(--cc-radius); background: var(--cc-white); }
body .cc-home .service-card-photo { height: 320px; }
body .cc-home .service-card-copy { padding: 32px; }
body .cc-home .service-card h2 { max-width: 22ch; font-size: clamp(26px,2.5vw,36px); line-height: 1.14; }
body .cc-home .service-card-copy > p:not(.service-type) { font-size: 15px; }
body .cc-home .shop-section { background: var(--cc-paper); }
body .cc-home .about-section { background: var(--cc-green-deep); }
body .cc-home .about-year, body .inst .inst-year { font-family: var(--cc-font); font-size: clamp(76px,8vw,112px); letter-spacing: -.07em; line-height: 1; }
body .cc-home .about-year, body .cc-home .eyebrow-light { color: var(--cc-green); }
body .cc-home .about-section p:not(.eyebrow):not(.about-year), body .cc-home .closing p:not(.eyebrow) { color: var(--cc-white); }
body .cc-home .faq-section { background: var(--cc-paper); }
body .cc-home .faq-grid { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: var(--cc-page-gap); }
body .cc-home .faq-list :is(article, .faq-item) { padding-block: 24px; border-bottom: 1px solid var(--cc-line); }
body .cc-home .faq-list h3 { font-size: 17px; line-height: 1.45; letter-spacing: -.02em; }
body .cc-home .faq-list p { font-size: 15px; line-height: 1.75; color: var(--cc-muted); }
body .cc-home .closing { background: var(--cc-green-deep); padding-block: 64px; }
body .cc-home .closing .text-link-light { color: var(--cc-white); }
body .inst .inst-cards { display: block; border-top: 1px solid var(--cc-line); }
body .inst .inst-card {
  display: grid;
  grid-template-columns: 40px minmax(160px,.65fr) minmax(0,1fr);
  align-items: start;
  gap: 24px;
  padding: 28px 0;
  border: 0;
  border-bottom: 1px solid var(--cc-line);
  border-radius: 0;
  background: transparent;
  transition: none;
}
body .inst .inst-card:hover { transform: none; border-color: var(--cc-line); }
body .inst .inst-card svg { margin: 2px 0 0; }
body .inst .inst-card h3 { margin: 0; font-size: 22px; line-height: 1.25; }
body .inst .inst-card p { font-size: 15px; line-height: 1.75; }
body .inst .inst-story-section { background: var(--cc-green-mist); }
body .inst .inst-story-heading { align-self: start; }
body .inst .inst-story-copy .inst-p + .inst-p { border: 0; padding-top: 0; margin-top: 24px; }
body .inst .inst-section + .inst-section { padding-top: 0; }
body .inst .inst-hours { border-color: var(--cc-line); }
body .inst .inst-hours div { border-color: var(--cc-line); }
body .inst .inst-epoca { gap: 24px; }
body .inst .inst-epoca > div { padding: 30px; border-radius: var(--cc-radius); background: var(--cc-green-mist); }
body .inst .inst-epoca li { border: 0; border-radius: 0; border-bottom: 1px solid var(--cc-line); padding: 8px 0; background: transparent; }
body .inst .inst-epoca ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 24px; }
body .inst .inst-faq-item { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: var(--cc-page-gap); padding-block: 28px; }
body .inst .inst-faq-item h3 { margin: 0; font-size: 17px; line-height: 1.5; letter-spacing: -.02em; }
body .inst .inst-faq-item p { font-size: 15px; line-height: 1.75; }
/* User-triggered feedback: quiet movement, no scroll interception or hidden copy. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 160ms; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  body .cc-home :is(.button,.text-link), body .inst .inst-btn { transition: transform 180ms ease, background-color 180ms ease; }
  body .cc-home .button:hover, body .inst .inst-btn:hover { background: var(--cc-green-bright); transform: translateY(-2px); }
  body .inst .inst-btn-ghost:hover { background: var(--cc-green-soft); }
}
@media (max-width:1000px) {
  body .cc-home, body main.inst { --cc-page-gutter: 32px; }
  body .cc-home .hero-grid, body .inst .inst-hero-grid { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 32px; }
  body .cc-home .hero h1, body .inst .inst-hero .inst-h1 { font-size: 36px; }
  body .cc-home .hero-photo, body .inst .inst-hero-media { height: 500px; }
}
@media (max-width:800px) {
  body .cc-home, body main.inst { --cc-page-gutter: 24px; }
  body .cc-home :is(.hero-grid,.split,.shop-grid,.about-grid,.faq-grid), body .inst :is(.inst-hero-grid,.inst-split,.inst-story-grid,.inst-hours-layout) { grid-template-columns: 1fr; gap: 32px; }
  body .cc-home .hero-grid, body .inst .inst-hero { padding-block: 40px 48px; }
  body .cc-home .hero h1, body .inst .inst-hero .inst-h1 { font-size: clamp(32px,5.7vw,42px); max-width: 23ch; }
  body .cc-home .hero-photo, body .inst .inst-hero-media { height: 420px; }
  body .cc-home .hero-photo img, body .inst .inst-hero-media img { height: 376px; }
  body .cc-home :is(.market-photo,.shop-photo,.team-photo), body .inst .inst-market-media { height: 400px; }
  body .cc-home .fact-grid, body .inst .inst-fact-strip .inst-facts { grid-template-columns: 1fr; }
  body .cc-home .fact-grid p, body .cc-home .fact-grid p:first-child, body .inst .inst-fact-strip .inst-facts li { min-height: 0; padding: 17px 0; border-right: 0; border-bottom: 1px solid color-mix(in srgb,var(--cc-white) 22%,transparent); }
  body .cc-home .fact-grid p:last-child, body .inst .inst-fact-strip .inst-facts li:last-child { border-bottom: 0; }
  body .inst .inst-faq-item { grid-template-columns: 1fr; gap: 12px; }
  body .cc-home .closing-grid { align-items: flex-start; flex-direction: column; gap: 28px; }
}
@media (max-width:600px) {
  body .cc-home, body main.inst { --cc-page-gutter: 20px; }
  body .cc-home .hero h1 { font-size: 32px; }
  body .inst .inst-hero .inst-h1 { font-size: 34px; }
  body .cc-home .hero-photo, body .inst .inst-hero-media { height: 350px; }
  body .cc-home .hero-photo img, body .inst .inst-hero-media img { height: 306px; }
  body .cc-home :is(.market-photo,.shop-photo,.team-photo), body .inst .inst-market-media { height: 340px; }
  body .cc-home .actions { align-items: flex-start; gap: 20px; }
  body .cc-home .actions .button, body .inst .inst-cta-row .inst-btn { width: auto; }
  body .inst .inst-cta-row { flex-direction: column; align-items: flex-start; }
  body .cc-home .service-grid, body .inst .inst-epoca { grid-template-columns: 1fr; }
  body .cc-home .service-card-photo { height: 260px; }
  body .cc-home .service-card-copy { padding: 26px; }
  body .cc-home .service-card h2 { font-size: 28px; }
  body .inst .inst-card { grid-template-columns: 32px 1fr; gap: 12px 18px; }
  body .inst .inst-card p { grid-column: 2; }
  body .inst .inst-hours div { gap: 16px; }
  body .inst .inst-hours dt, body .inst .inst-hours dd { font-size: 14px; }
}
@media (prefers-reduced-motion:reduce) {
  @view-transition { navigation: none; }
  body .cc-home *, body .inst * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
