/* BC Agency ID: page layout measured from bcagencyid.com.br (replica/compare/ref/measure-*.json, 2026-10-17).
   Breakpoints follow the live site (Elementor): desktop >= 1025px, tablet 768-1024px, mobile <= 767px.
   Values are the live site's computed values; they live here as custom properties so components read tokens. */

:root {
  /* above 1440 the live content sits in a 1320px box (logo x = 300 at 1920); --r-box is the extra margin on each side */
  --r-box: max(0px, (100vw - 1440px) / 2);
  --r-pad-x: calc(60px + var(--r-box));  /* header and wide sections: x = 60 at 1440 */
  --r-hero-x: calc(160px + var(--r-box)); /* hero and social blocks: x = 160 at 1440 */
  --r-header-h: 100px;
  --r-grey: rgb(149 149 149 / .07);

  --r-hero: max(50px, 4vw); --r-hero-lh: 1.2; /* 4vw: 57.6 at 1440, 76.8 at 1920, w800 caps */
  --r-eyebrow: 20px;                       /* live: 20/20 w500 caps, orange; bold here so the brand orange counts as large text (3:1) */
  --r-section: 36px;  --r-section-lh: 1.2; /* 36/43.2 w600 caps */
  --r-mega: max(81.92px, 8vw); --r-mega-lh: .9; /* 8vw: 115.2 at 1440, 153.6 at 1920, w500 caps */
  --r-ticker: 80px;                        /* 80/72 w600 caps */
  --r-acc: 36px;      --r-acc-lh: 72px;    /* Inter 36/72 w600 */
  --r-acc-p: 18px;    --r-acc-p-lh: 27px;
  --r-card-title: 23px; --r-card-sub: 19px;
  --r-social: 51px;   --r-social-lh: 1.2;  /* 51/61.2 w700 */
  --r-foot-title: 48px; --r-foot-email: 28px; --r-foot-email-lh: 1.5;
  --r-strip-w: 19.86vw; --r-strip-h: 309px; /* 286 at 1440, 382 at 1920 */ --r-strip-tilt: -2deg;
  --r-card-radius: 15px; --r-tile-radius: 20px;
  --r-btn-pad: 8.25px 24px; --r-btn-size: 17.6px;
}
@media (max-width: 1024px) {
  :root { --r-box: 0px; --r-pad-x: 20px; --r-hero-x: 20px; --r-hero: 50px; --r-section: 32px; --r-mega: 81.92px; --r-acc: 32px; --r-acc-p-lh: 36px; --r-strip-w: 203px; --r-strip-h: 307px; }
}
@media (max-width: 1023px) { :root { --r-mega: 80px; --r-strip-w: 273px; --r-strip-h: 309px; } }
@media (max-width: 767px) {
  :root { --r-pad-x: 15px; --r-hero-x: 20px; --r-hero: 21px; --r-section: 24px; --r-mega: 45px; --r-ticker: 36px; --r-acc: 20px; --r-acc-p: 16px; --r-acc-p-lh: 28.8px;
          --r-foot-title: 32px; --r-foot-email: 19px; --r-strip-w: 195px; --r-strip-h: 170px; --r-strip-tilt: 0deg; --r-btn-pad: 6.6px 24px; }
}

/* ------------------------------------------------------------------ header (live: logo 122x50 at x=60, menu right after it, icons right)
   owner's choice 2026-10-19: only the bc icon, same 50px height, no "Studio Criativo" */
.site-header { height: var(--r-header-h); }
.site-header__inner { width: 100%; max-width: none; padding-inline: var(--r-pad-x); justify-content: flex-start; gap: 18px; }
.site-header__actions { margin-left: auto; }
.logo__img { width: 37.5px; height: 50px; }
.site-nav__list { gap: 0; }
.site-nav__list a { padding-inline: 16.875px; min-height: 60px; font: 400 18px/27px var(--font-sans); background: none; }
.site-nav__list a:hover, .site-nav__list a[aria-current="page"] { background: none; }
.site-nav__list a > span, .site-nav__list a { position: relative; }
/* live: a 7px orange dot pops in left of the word on hover (the current page has no mark) */
.site-nav__list a::after { content: ""; position: absolute; left: 2.67px; top: 50%; width: 7.19px; height: 7.19px; margin-top: -3.6px; border-radius: 50%; background: var(--color-accent); transform: scale(0); transition: transform .5s cubic-bezier(.5, .5, 0, 1); }
.site-nav__list a:hover::after, .site-nav__list a:focus-visible::after { transform: scale(1); }
.icon-btn { width: 36px; height: 36px; background: var(--color-surface); }
@media (max-width: 1023px) { .site-header__inner { gap: var(--space-2); } }
/* live header: never hides. On computers the bar is fixed 20px from the top; once the page moves it becomes a floating
   capsule (white 70% + 8px blur, radius 40, 8px 24px inside, 10px lower). On phones and tablets it simply scrolls away. */
.site-header, .site-header.is-scrolled, .site-header.is-hidden { position: relative; transform: none; background: none; border-bottom: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
@media (min-width: 1024px) {
  .site-header__inner {
    position: fixed; top: 20px; left: var(--r-pad-x); right: var(--r-pad-x); z-index: var(--z-header);
    width: auto; height: 60px; padding: 0; isolation: isolate;
    transition: padding .6s cubic-bezier(.23, 1, .32, 1), height .6s cubic-bezier(.23, 1, .32, 1), transform .6s cubic-bezier(.23, 1, .32, 1);
  }
  .site-header__inner::after {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 40px; pointer-events: none;
    background: rgb(245 245 245 / .7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); /* reads as #f8f8f8 over white, as live */
    opacity: 0; transition: opacity .6s cubic-bezier(.23, 1, .32, 1);
  }
  :root[data-theme="dark"] .site-header__inner::after { background: rgb(38 38 38 / .7); }
  .site-header.is-scrolled .site-header__inner { height: 76px; padding: 8px 24px; transform: translateY(2px); } /* grows 8px up and moves 10px down: box top 22, as live */
  .site-header.is-scrolled .site-header__inner::after { opacity: 1; }
}
/* inner pages: the menu sits in the middle of the bar (live: Início starts at x=518 of 1440); on the home it follows the logo */
@media (min-width: 1024px) {
  body:not(.is-home) .site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  body:not(.is-home) .site-header__actions { justify-self: end; }
}

/* ------------------------------------------------------------------ buttons (live: 17.6/26.4 w600, black on orange, radius 40, padding 8.25 24) */
.btn { min-height: 45px; padding: var(--r-btn-pad); font: 600 var(--r-btn-size)/26.4px var(--font-sans); }

/* ------------------------------------------------------------------ hero */
.r-hero { padding-top: 92px; overflow: hidden; }
.r-hero__intro { padding-inline: var(--r-hero-x); text-align: center; }
.r-hero__title { margin: 0; font: 800 var(--r-hero)/var(--r-hero-lh) var(--font-display); text-transform: uppercase; }
.r-hero__eyebrow { margin: 20px 0 0; color: var(--color-accent); font: 700 var(--r-eyebrow)/1 var(--font-display); text-transform: uppercase; }
.r-strip { margin-top: 50px; padding-block: 40px 100px; transform: rotate(var(--r-strip-tilt)); }
.r-strip .marquee__group { gap: 10px; padding-right: 10px; }
.r-strip img { width: var(--r-strip-w); height: var(--r-strip-h); object-fit: cover; border-radius: var(--r-tile-radius); }
@media (max-width: 767px) { .r-strip { margin-top: 92px; padding-block: 0 127px; } }

/* ------------------------------------------------------------------ ideas band (grey) */
.r-ideas { background: var(--r-grey); padding: 55px calc(70px + var(--r-box)) 75px; }
.r-ideas__title { max-width: 923px; margin: 0 0 85px -5px; font: 600 var(--r-section)/var(--r-section-lh) var(--font-display); text-transform: uppercase; }
.r-ideas__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.r-idea { display: grid; gap: 0; color: inherit; text-decoration: none; }
.r-idea__media { display: block; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--r-card-radius); }
.r-idea__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--motion-slow) var(--motion-ease); }
.r-idea:hover img { transform: scale(1.04); }
.r-idea__title { margin: 20px 0 0; font: 700 var(--r-card-title)/1 var(--font-display); text-transform: uppercase; }
.r-idea__sub { margin: 10px 0 0; font: 400 var(--r-card-sub)/1 var(--font-display); }
.r-ideas__actions { display: flex; justify-content: center; margin-top: 80px; }
@media (max-width: 1024px) { .r-ideas { padding: 55px 25px 75px; } .r-ideas__title { margin-left: -10px; } }
@media (max-width: 767px) { .r-ideas__grid { grid-template-columns: 1fr; } .r-ideas__title { margin-bottom: 85px; } }

/* ------------------------------------------------------------------ big titles (PROJETOS, SERVIÇOS, NOVIDADES) */
.r-mega { margin: 0; padding-inline: var(--r-pad-x); font: 500 var(--r-mega)/var(--r-mega-lh) var(--font-display); text-transform: uppercase; }
.r-projects { padding-top: 80px; }
.r-projects .ticker { padding-block: 0; }
.r-projects .ticker:first-of-type { margin-top: 220px; }
.r-projects .ticker + .ticker { margin-top: 20px; } /* rows sit 92px apart */
.ticker__item { font: 600 var(--r-ticker)/72px var(--font-display); }
.ticker__item span { color: var(--color-accent); }
.ticker__icon { height: 64px; width: auto; }
.ticker__row { gap: 30px; }
@media (max-width: 767px) { .ticker__icon { height: 30px; } .ticker__row { gap: 15px; } .r-projects .ticker:first-of-type { margin-top: 176px; } }

/* ------------------------------------------------------------------ services: title left, accordion on the right */
.r-services { margin-top: -32px; padding: 0 0 0 40px; } /* the title tucks under the second phrase row, as live */
.r-services .r-mega { padding-inline: 0; }
.r-services__list { margin: 204px 50px 0 auto; max-width: calc(66.667vw - 73px); } /* 887 at 1440: the list ends 50px from the edge */
.r-services .accordion summary .icon { width: 28px; height: 32px; stroke-width: 3; } /* solid arrow-down, 28x32 */
.r-services .accordion details { border-bottom: 1px solid var(--color-border-strong); }
.r-services .accordion summary { min-height: var(--r-acc-lh); padding: 0; font: 600 var(--r-acc)/var(--r-acc-lh) var(--font-sans); }
.r-services .accordion__body { padding: 0; color: var(--color-text); font: 400 var(--r-acc-p)/var(--r-acc-p-lh) var(--font-sans); max-width: none; }
.r-services .accordion__body p { margin: 0 0 30px; }
@media (max-width: 1024px) {
  .r-services { margin-top: 22px; padding-inline: 20px; } .r-services__list { margin: 275px 0 0; max-width: none; }
  .r-projects .r-mega { padding-inline: 10px; }
}
@media (min-width: 768px) and (max-width: 1024px) { :root { --r-ticker: 50px; } .ticker__icon { height: 40px; } .r-projects .ticker:first-of-type { margin-top: 164px; } }
@media (max-width: 767px) { .r-services { margin-top: -106px; padding-inline: 15px; } .r-services__list { margin-top: 210px; } }

/* ------------------------------------------------------------------ social: title + button left, two vertical post columns right (desktop) */
.r-social { display: grid; grid-template-columns: 570px auto; justify-content: space-between; align-items: center; gap: 40px; padding: 133px calc(155px + var(--r-box)) 0 var(--r-hero-x); }
.r-social__title { margin: 0 0 69px; font: 700 var(--r-social)/var(--r-social-lh) var(--font-display); }
.r-social__cols { display: flex; gap: 20px; }
.r-social__col { width: 250px; height: 719px; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent); mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent); }
.r-social__col a { display: block; margin-bottom: 20px; animation: r-looping 10s linear infinite; }
.r-social__col--two a { animation-duration: 12s; animation-direction: reverse; }
.r-social__col img { width: 250px; height: auto; display: block; }
@keyframes r-looping { from { transform: translateY(0); } to { transform: translateY(-100%); } }
.r-social__strip { display: none; }
@media (max-width: 1024px) {
  .r-social { grid-template-columns: minmax(0, 1fr); padding: 210px 37px 0; } /* the one-line button must not widen the column */
  .r-social__cols { display: none; }
  .r-social__strip { display: block; margin-inline: -37px; }
  .r-social__strip a { width: 328px; }
  .r-social__strip { margin-top: -10px; } /* 30px under the button */
  .r-news__statement { margin-top: 164px; max-width: 78%; }
}
@media (max-width: 1023px) { .r-social { padding-top: 192px; } .r-social__strip a { width: 243px; } .r-news { padding-top: 101px; } .r-ideas__title { max-width: 599px; } }
@media (max-width: 767px) { .r-social { padding-top: 152px; } .r-social__strip { margin-top: 10px; } .r-social__strip a { width: 165px; } .r-news { padding-top: 17px; } .r-news__statement { margin-top: 194px; } .r-ideas__title { margin-right: -25px; } }
@media (prefers-reduced-motion: reduce) { .r-social__col a { animation: none; } }

/* ------------------------------------------------------------------ news (blog removed: title, statement and the projects link stay) */
.r-news { padding-top: 120px; }
.r-news__statement { max-width: 784px; margin: 160px 0 0; padding-inline: var(--r-pad-x); font: 600 var(--r-section)/var(--r-section-lh) var(--font-display); text-transform: uppercase; }
.r-news__link { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; margin: 80px 0 0 calc(33.333vw + 23px); font: 400 18px/27px var(--font-sans); } /* 503 at 1440, 663 at 1920 */
.r-news__link a { font-weight: 600; color: inherit; text-decoration-color: var(--color-accent); text-underline-offset: 6px; }
.r-news__link svg { width: 24px; height: 15px; }
@media (max-width: 1024px) { .r-news__link { margin-left: 20px; } .r-news__statement { padding-inline: 20px; } }
@media (max-width: 767px) { .r-news__link { margin-left: 15px; } }

/* ------------------------------------------------------------------ banner: the three banner images, 1140x380, radius 15 */
.r-banner { max-width: 1140px; margin: 180px auto 0; position: relative; overflow: hidden; border-radius: var(--r-card-radius); }
.r-banner .slider__viewport { display: flex; }
.r-banner .slider__slide { display: block; flex: 0 0 100%; min-height: 0; padding: 0; }
.r-banner .slider__slide img { width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: cover; }
.r-banner .r-banner__nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; color: #fff; cursor: pointer; }
.r-banner__prev { left: 8px; } .r-banner__next { right: 8px; }
.r-banner .r-banner__pause { position: absolute; left: 12px; bottom: 12px; z-index: 2; width: 32px; height: 32px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgb(0 0 0 / .45); color: #fff; cursor: pointer; }
.r-banner .r-banner__pause .icon { width: 14px; height: 14px; }
.r-banner [data-slider-pause] .icon-play { display: none; }
.r-banner [data-slider-pause][aria-pressed="true"] .icon-play { display: block; }
.r-banner [data-slider-pause][aria-pressed="true"] .icon-pause { display: none; }
@media (max-width: 1180px) { .r-banner { margin-inline: 10px; } }

/* ------------------------------------------------------------------ footer (live: grey card, radius 40; title, e-mail, a faint rule,
   then links | the two-cell "direitos" seal | three outlined pills; everything measured on bcagencyid.com.br) */
.site-footer { padding: 247px var(--r-pad-x) 30px; }
.footer-card { display: block; margin: 0 auto; padding: 36px 48px 36px; border-radius: 40px; background: var(--r-grey); text-align: center; }
.footer-card__title { margin: 0; font: 600 var(--r-foot-title)/1 var(--font-display); }
.footer-card__email { display: inline-block; margin-top: 20px; padding-left: 32.67px; /* live keeps room for an icon left of the address */ color: var(--color-text-muted); font: 400 var(--r-foot-email)/var(--r-foot-email-lh) var(--font-sans); text-decoration: none; }
.footer-card__rule { display: block; width: 100%; height: 0; margin: 35px 0 0; border: 0; border-top: 1px solid rgb(129 129 129 / .2); opacity: 1; }
.footer-card__bottom { display: grid; grid-template-columns: 1fr 451px 1fr; align-items: center; gap: 20px; margin-top: 35px; } /* live columns: 366 | 451 | 366 */
.footer-card__bottom > .footer-nav { justify-self: start; }
.footer-card__bottom > .footer-badge { justify-self: center; }
.footer-card__bottom > .pills { justify-self: end; }
.footer-nav ul { display: flex; justify-content: flex-start; gap: 0 35px; padding-left: 7px; }
.footer-nav a { position: relative; display: inline-block; min-height: 24px; color: var(--color-text); font: 600 14px/21px var(--font-sans); text-decoration: none; }
/* live: an orange 1px line under each link that thickens to 4px on hover */
.footer-nav a::after { content: ""; position: absolute; left: 0; right: 0; top: 20px; height: 1px; background: var(--color-accent); transition: top .3s cubic-bezier(.23, 1, .32, 1), height .3s cubic-bezier(.23, 1, .32, 1); }
.footer-nav a:hover::after { top: 17px; height: 4px; }
.footer-badge { display: grid; grid-template-columns: 70px 216px; grid-template-rows: auto auto; margin: 10px; border: 0; padding: 0; text-align: left; color: var(--color-text); }
.footer-badge__icon { grid-row: 1 / 3; display: grid; place-items: center; padding: 10px; border: 1px solid currentColor; border-radius: 20px 0 0 20px; }
.footer-badge__icon img { width: auto; height: 30px; }
.footer-badge__title { margin: 0; padding: 4px 4px 4px 8px; border: 1px solid currentColor; border-left: 0; border-radius: 0 20px 0 0; font: 700 13px/19.5px var(--font-sans); text-transform: uppercase; }
.footer-badge__text { margin: 0; padding: 4px 4px 4px 8px; border: 1px solid currentColor; border-width: 0 1px 1px 0; border-radius: 0 0 20px 0; font: 400 15px/22.5px var(--font-sans); }
.pills { justify-content: flex-end; gap: 20px; }
.pills .btn--sm { min-height: 32px; padding: 6px 16px; border: 1px solid var(--color-text); font: 600 12.8px/19.2px var(--font-sans); }
@media (max-width: 1024px) {
  .footer-card__bottom { grid-template-columns: 1fr; justify-items: center; gap: 30px; }
  .footer-card__bottom > * { justify-self: center; }
  .footer-nav ul, .pills { justify-content: center; gap: 20px; padding-left: 0; }
  .footer-badge { grid-template-columns: 70px 240px; margin: 0; }
}
@media (max-width: 767px) {
  .site-footer { padding-inline: 15px; }
  .footer-card { padding: 36px 16px; }
  .footer-card__bottom { justify-items: start; gap: 30px; }
  .footer-card__bottom > .footer-nav, .footer-card__bottom > .pills { justify-self: start; }
  .footer-nav ul, .pills { justify-content: flex-start; padding-left: 3px; }
  .footer-badge { grid-template-columns: 77px 231px; justify-self: center; }
  .footer-badge__icon { padding: 0; }
}

/* ------------------------------------------------------------------ voltar ao topo (live: bottom right, text + arrow; slides up after a
   screen of scrolling; on hover an orange circle grows behind the arrow and the text steps left) */
.to-top {
  position: fixed; right: 70px; bottom: 30px; z-index: var(--z-float);
  display: inline-flex; align-items: center; color: var(--color-text); text-decoration: none;
  transform: translateY(95px); transition: transform .5s cubic-bezier(.6, 0, .1, 1);
}
.to-top.is-visible { transform: none; }
.to-top__text { font: 400 18px/27px var(--font-sans); transition: margin-right .2s cubic-bezier(.4, 0, 0, 1); }
.to-top__circle { position: relative; display: grid; place-items: center; width: 45px; height: 45px; }
.to-top__circle::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 40px; background: var(--color-accent); transform: scale(0); transition: transform .3s cubic-bezier(.4, 0, 0, 1); }
.to-top__circle svg { width: 24px; height: 24px; }
.to-top:hover .to-top__text { margin-right: 18.67px; }
.to-top:hover .to-top__circle::after { transform: scale(1); }
.to-top:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
@media (max-width: 767px) {
  .to-top { display: none; } /* live: on phones it sits under the WhatsApp button, so it is never seen */
}

/* ------------------------------------------------------------------ WhatsApp (live "click to chat": 44px green circle, 15px from the corner;
   on hover it turns brighter and opens "Atendimento") */
.wa-float {
  position: fixed; right: 15px; bottom: 15px; z-index: var(--z-float);
  display: flex; align-items: center; width: auto; height: 44px; min-width: 44px; padding: 12px; border-radius: 25px;
  background: #25d366; color: #fff; box-shadow: none; text-decoration: none; transition: background-color .2s;
}
.wa-float .icon { width: 20px; height: 20px; }
.wa-float__cta { display: none; margin: 0 10px; padding-left: 9px; font: 400 16px/20px var(--font-sans); color: #fff; }
.wa-float:hover { background: #00d34d; transform: none; }
.wa-float:hover .wa-float__cta { display: block; color: #f4f4f4; }
}

/* buttons keep their label on one line, as live */
.btn { white-space: nowrap; }

/* ------------------------------------------------------------------ inner page title (live: 80/96 w800 at x=60, 82px under the header) */
.r-page { padding-top: 82px; }
.r-page__title { margin: 0 0 92px; padding-inline: var(--r-pad-x); font: 800 max(80px, 5vw)/1.2 var(--font-display); }
@media (max-width: 1024px) { .r-page__title { padding-inline: 10px; } }
@media (max-width: 767px) { .r-page__title { font-size: 48px; line-height: 57.6px; } }

/* ------------------------------------------------------------------ portfolio: 3 / 2 / 1 columns of 280px cover cards, title bottom-left */
.r-work { padding: 0 calc(70px + var(--r-box)) 73px; }
.r-work__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; }
.r-work__card { position: relative; display: flex; align-items: flex-end; height: 280px; overflow: hidden; padding: 35px; border-radius: 15px; color: #fff; text-decoration: none; }
.r-work__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s; }
/* live: no shade at rest, 30% black on hover */
.r-work__card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: transparent; transition: background-color 1.5s; }
.r-work__card:hover::before { background-color: rgb(0 0 0 / .3); }
.r-work__card:hover img { transform: scale(1.2); }
.r-work__title { position: relative; z-index: 2; font: 400 23px/27.6px var(--font-display); }
@media (max-width: 1024px) { .r-work { padding: 0 25px 63px; } .r-work__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .r-work__grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .r-work__card img, .r-work__card::before { transition: none; } }
/* social media, one card per client (owner's choice 2026-10-19): same cards as the projects; a soft shade keeps the name readable on light posts */
.r-work__heading { margin: 0 0 40px; font: 500 max(43.2px, 3vw)/.9 var(--font-display); text-transform: uppercase; }
.r-work--social { padding-top: 30px; }
.r-work__card--social::before { background-image: linear-gradient(to top, rgb(0 0 0 / .65), transparent 60%); }
.r-work__card--social img { object-position: center 35%; }
.r-work__card--social .r-work__title { text-shadow: 0 1px 3px rgb(0 0 0 / .8), 0 0 14px rgb(0 0 0 / .6); }

/* ------------------------------------------------------------------ project page (live: title, 3 + 2 gallery, DESCRIÇÃO, OUTROS PROJETOS carousel) */
.r-project { padding-top: 54px; }
.r-project__title { max-width: 1120px; margin: 0 auto 35px; padding-left: 28px; font: 500 80px/72px var(--font-display); }
.r-gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 40px; max-width: 1120px; margin: 0 auto; }
.r-gallery img { grid-column: span 2; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 15px; }
.r-gallery img:nth-child(n+4) { grid-column: span 3; }
.r-project__body, .r-others { max-width: 1140px; margin: 0 auto; }
.r-project__heading { margin: 102px 0 91px; padding-left: 4px; font: 500 80px/72px var(--font-display); text-transform: uppercase; }
.r-project__text { font: 400 16px/24px var(--font-sans); }
.r-project__text p { margin: 0; }
.r-others__title { margin: 90px 0 40px; font: 500 max(43.2px, 3vw)/.9 var(--font-display); text-transform: uppercase; }
.r-others__box { position: relative; }
.r-others__track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.r-others__track::-webkit-scrollbar { display: none; }
.r-others__slide { flex: 0 0 calc((100% - 20px) / 3); height: 230px; scroll-snap-align: start; border-radius: 13px; overflow: hidden; }
.r-others__slide img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--motion-slow) var(--motion-ease); }
.r-others__slide:hover img { transform: scale(1.04); }
.r-others__nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; color: rgb(237 237 237 / .9); cursor: pointer; filter: drop-shadow(0 0 2px rgb(0 0 0 / .6)); }
.r-others__prev { left: 0; } .r-others__next { right: 0; }
.r-others__pause { position: absolute; left: 12px; bottom: 12px; z-index: 2; width: 32px; height: 32px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgb(0 0 0 / .45); color: #fff; cursor: pointer; }
.r-others__pause .icon { width: 14px; height: 14px; }
.r-others__pause .icon-play, .r-others__pause[aria-pressed="true"] .icon-pause { display: none; }
.r-others__pause[aria-pressed="true"] .icon-play { display: block; }
@media (max-width: 1180px) { .r-project__body, .r-others { padding-inline: 10px; } }
@media (max-width: 1024px) {
  .r-project { padding-top: 20px; }
  .r-project__title { max-width: none; margin-bottom: 36px; padding-left: 10px; }
  .r-gallery { max-width: none; padding-inline: 20px; }
  .r-project__heading { padding-left: 0; }
  .r-others__title { font-size: 40px; line-height: 36px; }
}
@media (max-width: 1023px) { .r-others__slide { flex-basis: calc((100% - 10px) / 2); } }
@media (max-width: 767px) {
  .r-project__title { margin-bottom: 50px; font-size: 45px; line-height: 40.5px; }
  .r-gallery { grid-template-columns: 1fr; }
  .r-gallery img, .r-gallery img:nth-child(n+4) { grid-column: auto; }
  .r-project__heading { margin-bottom: 101px; font-size: 45px; line-height: 40.5px; }
  .r-others__title { font-size: 45px; line-height: 40.5px; }
  .r-others__slide { flex-basis: 100%; }
}

/* ------------------------------------------------------------------ social media page (live: title, subtitle, endless strip of the 19 posts, 4-column gallery) */
.r-ms { padding-top: 10px; }
.r-ms__head { max-width: 1140px; margin: 0 auto; }
.r-ms__title { margin: 0; font: 800 80px/72px var(--font-display); text-transform: uppercase; }
.r-ms__lead { margin: 20px 0 0; font: 500 32.25px/32.25px var(--font-display); }
.r-ms__strip { margin-top: 132px; padding-bottom: 29px; } /* the live carousel box is a little taller than its slides */
.r-ms__strip .marquee__group { display: flex; gap: 20px; padding-right: 20px; }
.r-ms__strip img { width: calc((100vw - 60px) / 4); height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
.r-posts { max-width: 1140px; margin: 131px auto 0; }
.r-posts__grid { display: grid; grid-template-columns: repeat(4, 1fr); align-items: start; }
.r-posts__item { display: block; padding: 0; border: 0; border-radius: 0; background: none; aspect-ratio: auto; }
.r-posts__item img { width: 100%; height: auto; display: block; }
@media (max-width: 1180px) { .r-ms__head, .r-posts { padding-inline: 10px; } }
@media (max-width: 1024px) { .r-ms__strip { margin-top: 201px; padding-bottom: 20px; } .r-posts { margin-top: 201px; } }
@media (max-width: 1023px) { .r-ms__lead { font-size: 28.648px; line-height: 28.648px; } .r-ms__strip img { width: calc((100vw - 40px) / 3); } .r-ms__strip { margin-top: 200px; } .r-posts { margin-top: 199px; } }
@media (max-width: 767px) {
  .r-ms__title { font-size: 45px; line-height: 40.5px; }
  .r-ms__lead { margin-top: 40px; }
  .r-ms__strip { margin-top: 238px; padding-bottom: 16px; } .r-ms__strip img { width: calc((100vw - 20px) / 2); }
  .r-posts { margin-top: 237px; } .r-posts__grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ contact page (live: FALE CONOSCO, info left, form right, phrase ticker) */
.r-fc { padding-top: 82px; }
.r-fc__title { margin: 0; padding-left: calc(64px + var(--r-box)); font: 500 max(86.4px, 6vw)/1.2 var(--font-display); text-transform: uppercase; }
.r-fc__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 92px; padding-inline: calc(70px + var(--r-box)); }
.r-fc__h { margin: 0 0 20px; font: 500 32.25px/32.25px var(--font-display); }
.r-fc__h--group { margin-top: 80px; }
.r-fc__p { margin: 0 0 20px; font: 400 18px/27px var(--font-sans); }
.r-fc__phone a { color: inherit; text-decoration: none; }
.r-fc__phone a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }
.r-fc__social { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.r-fc__social a { display: grid; place-items: center; width: 30px; height: 30px; color: var(--color-text); }
.r-fc__social a:hover { color: var(--color-accent); }
.r-fc__social .icon { width: 22px; height: 22px; }
.r-fc .form { display: grid; gap: 24px; }
.r-fc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.r-fc .field { gap: 0; }
.r-fc .field__error:empty { display: none; }
.r-fc .input, .r-fc .textarea { min-height: 45px; padding: 0 21.33px; border: 1px solid transparent; border-radius: 40px; background: var(--color-surface); font: 400 16px/24px var(--font-sans); }
.r-fc .textarea { height: 250px; padding-block: 12px; border-radius: 21.33px; resize: vertical; }
.r-fc .input::placeholder, .r-fc .textarea::placeholder { color: var(--color-text-muted); opacity: 1; }
.r-fc .input:focus-visible, .r-fc .textarea:focus-visible { border-color: var(--color-focus); }
.r-fc__send { width: 100%; }
.r-fc__band { margin: 154px 0 36px; }
.r-fc__ticker { padding-block: 0; }
.r-fc__ticker .ticker__item { font: 600 max(80px, 5vw)/1.5 var(--font-display); text-transform: uppercase; }
.r-fc__ticker .ticker__icon { height: 75px; }
@media (max-width: 1024px) { .r-fc__cols { padding-inline: 15px; } .r-fc__title { padding-left: 15px; } }
@media (max-width: 767px) {
  .r-fc { padding-top: 54px; }
  .r-fc__title { font-size: 39px; line-height: 46.8px; }
  .r-fc__cols { grid-template-columns: 1fr; gap: 0; margin-top: 54px; }
  .r-fc__h { font-size: 28.648px; line-height: 28.648px; }
  .r-fc__h--group { margin-top: 0; }
  .r-fc__band { margin-top: 72px; }
}

/* ------------------------------------------------------------------ privacy policy (live: title at x=60, text column 1140, 16/33.6, plain headings) */
.r-legal { padding-top: 72px; margin-bottom: -149px; } /* live: the footer card starts 98px under the text */
.r-legal__title { margin: 0 0 82px; padding-left: var(--r-pad-x); font: 800 59.83px/71.79px var(--font-display); }
.r-legal__text { max-width: 1140px; margin: 0 auto; font: 400 16px/33.6px var(--font-sans); }
.r-legal__text p, .r-legal__text ul { margin: 0; }
.r-legal__text ul { padding-left: 25px; }
.r-legal__text h2 { margin: 0; font: 500 32.25px/38.7px var(--font-display); }
.r-legal__text a { color: inherit; font-weight: 700; }
.r-legal__date { color: var(--color-text-muted); }
@media (max-width: 1180px) { .r-legal__text { padding-inline: 22px; } }
@media (max-width: 767px) {
  .r-legal { margin-bottom: -189px; }
  .r-legal__title { font-size: 27.648px; line-height: 33.18px; }
  .r-legal__text h2 { font-size: 28.648px; line-height: 34.38px; }
}

/* ------------------------------------------------------------------ 404 (live: short message centred over a huge pale "404", no footer card) */
.is-404 .site-footer { display: none; }
.r-404 { min-height: calc(100vh - var(--r-header-h)); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px 15px 0; text-align: center; }
.r-404__content { max-width: 416px; padding-block: 16px; }
.r-404__title { margin: 0; font: 700 32px/32px var(--font-display); }
.r-404__text { margin: 16px 0 0; color: var(--color-text-muted); font: 400 16px/24px var(--font-sans); }
.r-404__text a { color: var(--color-text); text-underline-offset: 4px; }
.r-404__big::before { content: attr(data-text); } /* drawn by CSS: decoration, not text */
.r-404__big { margin: 0; color: var(--r-grey-solid, #f7f7f7); font: 900 432px/432px var(--font-display); letter-spacing: -0.02em; user-select: none; }
:root[data-theme="dark"] .r-404__big { color: #262626; }
@media (max-width: 1023px) { .r-404__big { font-size: 30vw; line-height: 1; } }

/* ------------------------------------------------------------------ phone menu (live: black speech bubble under the bar, radius 40,
   a small tail pointing at the menu button, Inter 22/33 bold caps, current page in orange) */
.mobile-menu { top: 90px; left: 15px; right: 15px; padding: 30px 40px; border-radius: 40px; background: #000; color: #fff; box-shadow: none; }
.mobile-menu::before { content: ""; position: absolute; top: -9px; right: 20px; width: 22px; height: 22px; border-radius: 0 4px 0 0; background: #000; transform: rotate(-45deg) skew(10deg, 10deg); }
.mobile-menu a { padding-block: 11px; font: 700 22px/33px var(--font-sans); text-transform: uppercase; }
.mobile-menu a:hover { color: var(--color-accent); }

/* ------------------------------------------------------------------ Projetos: social media showcase after the projects, laid out like the
   studio's Behance case (behance.png): dark cover, short intro, a seamless 3-column mosaic of posts, closing call to action */
.r-sm { max-width: 1140px; margin: 47px auto 0; }
.r-sm__cover { position: relative; display: grid; grid-template-columns: 45% 55%; height: 345px; /* the Behance cover is a wide band, about 3.3:1 */ overflow: hidden; background: #1b1d1c; color: #fafafa; }
.r-sm__cover-text { position: relative; z-index: 1; align-self: center; padding: 40px 0 40px 56px; }
.r-sm__title { margin: 0; font: 300 clamp(44px, 6vw, 76px)/1 var(--font-display); letter-spacing: -.01em; }
.r-sm__kicker { margin: 14px 0 0; color: #b5b5b5; font: 500 15px/1.4 var(--font-sans); text-transform: uppercase; letter-spacing: .04em; }
.r-sm__kicker span { color: var(--color-accent); font-weight: 700; }
.r-sm__collage { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; height: 100%; min-height: 0; overflow: hidden; margin-left: -12%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }
.r-sm__collage img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.r-sm__intro { max-width: 640px; margin: 0 auto; padding: 44px 20px 48px; color: var(--color-text-muted); font: 400 14px/1.6 var(--font-sans); }
.r-sm__intro p { margin: 0; }
.r-sm__label { margin-bottom: 16px !important; color: var(--color-text); font-weight: 600 !important; }
.r-sm__label span { color: var(--color-accent-text); }
.r-sm__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.r-sm__item { display: block; aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: 0; background: var(--color-surface); }
.r-sm__item img { width: 100%; height: 100%; object-fit: cover; }
.r-sm__end { padding: 40px 20px 0; text-align: center; color: var(--color-text-muted); font: 400 14px/1.6 var(--font-sans); }
.r-sm__end p { margin: 0; }
.r-sm__cta { margin-top: 20px !important; color: var(--color-text); font-size: 13px !important; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.r-sm__cta::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--color-accent); vertical-align: 1px; }
.r-sm__cta a { display: block; margin-top: 2px; color: var(--color-accent-text); text-underline-offset: 3px; }
@media (max-width: 1180px) { .r-sm { margin-inline: 25px; } }
@media (max-width: 767px) {
  .r-sm { margin-inline: 15px; }
  .r-sm__cover { grid-template-columns: 1fr; grid-template-rows: auto 220px; height: auto; }
  .r-sm__cover-text { padding: 36px 24px 8px; }
  .r-sm__collage { height: 220px; margin-left: 0; -webkit-mask-image: linear-gradient(180deg, transparent, #000 35%); mask-image: linear-gradient(180deg, transparent, #000 35%); }
  .r-sm__grid { grid-template-columns: repeat(3, 1fr); } /* 3 images per row on phones too */
}

/* ------------------------------------------------------------------ resting positions of the parallax titles (live, measured without the
   parallax offset): SERVIÇOS rests 220px under the second phrase row, 128px above the list; NOVIDADES per width. These come last so they win. */
@media (min-width: 1025px) {
  .r-services { margin-top: 148px; } .r-services__list { margin-top: 24px; }
  .r-news { padding-top: 135px; } .r-news__statement { margin-top: 74px; }
}
@media (min-width: 1024px) and (max-width: 1024px) {
  .r-services { margin-top: 202px; } .r-services__list { margin-top: 95px; }
  .r-news { padding-top: 228px; } .r-news__statement { margin-top: 74px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .r-services { margin-top: 202px; } .r-services__list { margin-top: 95px; }
  .r-news { padding-top: 202px; } .r-news__statement { margin-top: 146px; }
}
@media (max-width: 767px) {
  .r-services { margin-top: 74px; } .r-services__list { margin-top: 30px; }
  .r-news { padding-top: 75px; } .r-news__statement { margin-top: 104px; }
}
/* the titles slide over the next block while they settle, as live */
#servicos, #novidades { position: relative; z-index: 1; will-change: transform; }

/* Mídias Sociais page: the whole page is the Behance-style showcase (cover, intro, 3 images per row, closing call) */
.r-ms-page { padding-top: 10px; }
.r-sm--page { margin-top: 0; }
/* Mídias Sociais lists the clients; each client page shows its own posts, 3 per row, a short last row centred */
.r-sm__clients { gap: 20px; }
.r-sm--client .r-sm__collage { grid-template-columns: none; grid-template-rows: 1fr; grid-auto-flow: column; grid-auto-columns: 1fr; }
.r-sm--client .r-sm__grid { display: flex; flex-wrap: wrap; justify-content: center; }
.r-sm--client .r-sm__item { flex: 0 0 calc(100% / 3); }
.r-sm--client .r-sm__item:only-child { flex-basis: min(100%, 420px); } /* a client with one post: shown large, not a lone third */
.r-work--others { padding-top: 90px; }

/* ------------------------------------------------------------------ search (live: 36px grey circle next to the theme button; the overlay
   blurs the page in grey, a 768x50 pill field sits in the middle, a black 45px close button 30px from the top and 50px from the right) */
.site-header__actions { gap: 11px; }
.search-toggle .icon { width: 24px; height: 24px; color: #4f5663; }
:root[data-theme="dark"] .search-toggle .icon { color: var(--color-text); }
.search-modal {
  position: fixed; inset: 0; z-index: var(--z-overlay); width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgb(214 214 214 / .9); -webkit-backdrop-filter: saturate(1.8) blur(10px); backdrop-filter: saturate(1.8) blur(10px);
  opacity: 0; transition: opacity .3s, overlay .3s allow-discrete, display .3s allow-discrete;
}
.search-modal[open] { display: grid; place-items: center; opacity: 1; }
@starting-style { .search-modal[open] { opacity: 0; } }
.search-modal::backdrop { background: transparent; }
:root[data-theme="dark"] .search-modal { background: rgb(27 29 28 / .9); }
.search-modal__form { position: relative; width: min(768px, calc(100vw - 30px)); }
.search-modal__input {
  width: 100%; height: 50px; padding: 10px 20px 10px 55.33px; border: 1px solid transparent; border-radius: 40px;
  background: #f7f7f7; color: #000; font: 400 20px/1.5 var(--font-sans); -webkit-appearance: none; appearance: none;
}
.search-modal__input::placeholder { color: #757575; }
.search-modal__input:focus { outline: none; border-color: rgb(0 0 0 / .35); } /* live: no ring, only the caret; a soft edge keeps focus visible */
.search-modal__input::-webkit-search-cancel-button { display: none; }
.search-modal__go { position: absolute; left: 5px; top: 0; display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border: 0; border-radius: 50%; background: none; color: #000; cursor: pointer; }
.search-modal__go .icon { width: 22px; height: 22px; }
.search-modal__close { position: fixed; top: 30px; right: 50px; display: grid; place-items: center; width: 45px; height: 45px; padding: 0; border: 0; border-radius: 50%; background: rgb(0 0 0 / .9); color: #fff; cursor: pointer; }
.search-modal__close .icon { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) { .search-modal { transition: none; } }

/* ------------------------------------------------------------------ search results page (live: "Search results: term", list on the left,
   a sidebar with the search field on the right) */
.r-search { max-width: 1440px; margin: 0 auto; padding: 82px var(--r-pad-x) 0; }
.r-search__title { margin: 0 0 60px; font: 800 48px/1.1 var(--font-display); }
.r-search__title em { color: var(--color-text-muted); font-style: italic; font-weight: 300; }
.r-search__cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 80px; align-items: start; }
.r-search__item { margin: 0 0 56px; }
.r-search__item h2 { margin: 0; font: 700 26px/1.25 var(--font-display); }
.r-search__item h2 a { color: inherit; text-decoration: none; }
.r-search__item h2 a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }
.r-search__kind { margin: 4px 0 0; color: var(--color-text-muted); font: 400 12px/1.5 var(--font-sans); text-transform: uppercase; letter-spacing: .04em; }
.r-search__excerpt { margin: 14px 0 20px; font: 400 15px/1.7 var(--font-sans); }
.r-search__excerpt mark { background: none; color: inherit; font-weight: 700; }
.r-search__item .btn { min-height: 32px; padding: 6px 16px; font: 600 12.8px/19.2px var(--font-sans); } /* live "Read Article": a small orange pill */
.r-search__empty { font: 400 18px/1.6 var(--font-sans); }
.r-search__side h2 { margin: 0 0 16px; font: 700 18px/1.3 var(--font-display); }
.r-search__side form { position: relative; margin-bottom: 44px; }
.r-search__side input { width: 100%; height: 44px; padding: 8px 16px 8px 46px; border: 1px solid transparent; border-radius: 40px; background: var(--color-surface); color: var(--color-text); font: 400 15px/1.5 var(--font-sans); }
.r-search__side form button { position: absolute; left: 4px; top: 0; display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; }
.r-search__side form .icon { width: 18px; height: 18px; }
.r-search__side ul { margin: 0 0 44px; padding: 0; list-style: none; }
.r-search__side li { margin: 0 0 10px; font: 400 14px/1.5 var(--font-sans); }
.r-search__side li a { color: inherit; text-decoration: none; }
.r-search__side li a:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }
@media (max-width: 1024px) { .r-search__cols { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 767px) { .r-search { padding-top: 54px; } .r-search__title { font-size: 32px; } .r-search__item h2 { font-size: 21px; } }
