:root {
  --red: #ef1b24;
  --red-dark: #b80e16;
  --ink: #121417;
  --graphite: #1b1f24;
  --muted: #5d646d;
  --line: #d9dde2;
  --paper: #f4f5f7;
  --white: #fff;
  --container: 1180px;
  --shadow: 0 18px 50px rgba(10, 12, 15, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, Arial, Helvetica, sans-serif; font-size: 1rem; line-height: 1.65; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #ffb3b7; outline-offset: 4px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 9999; padding: .8rem 1rem; color: var(--white); background: var(--ink); }
.skip-link:focus { top: 1rem; }
.container { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(255,255,255,.12); background: rgba(18,20,23,.96); backdrop-filter: blur(14px); }
.nav { min-height: 78px; display: flex; align-items: center; gap: 2rem; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 64px; height: 64px; object-fit: contain; border-radius: 50%; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 1.55rem; color: var(--white); }
.nav-links a { font-size: .93rem; font-weight: 750; text-decoration: none; }
.nav-links a:not(.btn):hover { color: #ff8b90; }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.35); color: var(--white); background: transparent; border-radius: 4px; font-size: 1.4rem; }
.btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: .65rem; padding: .74rem 1.15rem; border: 2px solid transparent; border-radius: 4px; background: var(--red); color: var(--white); font-weight: 800; line-height: 1.2; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); background: var(--red-dark); }
.btn-dark { background: var(--ink); }
.btn-outline { border-color: currentColor; background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--ink); }
.wa-icon { width: 1.18rem; height: 1.18rem; fill: currentColor; }
.hero { position: relative; min-height: 560px; display: grid; align-items: center; color: var(--white); isolation: isolate; background: var(--ink); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--hero) center/cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,10,12,.96) 0%, rgba(8,10,12,.78) 45%, rgba(8,10,12,.18) 78%); }
.hero-copy { width: min(calc(100% - 2rem), var(--container)); max-width: var(--container); padding-block: 3.75rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1rem; color: #ff858a; font-size: .78rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 36px; height: 3px; background: var(--red); }
h1, h2, h3 { margin: 0; font-family: Arial, Helvetica, sans-serif; letter-spacing: -.035em; line-height: 1.04; }
h1 { max-width: 760px; font-size: clamp(2.45rem, 4.2vw, 4.15rem); }
h2 { font-size: clamp(2rem, 3.7vw, 3.55rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
.hero p { max-width: 680px; margin: 1.15rem 0 1.6rem; color: rgba(255,255,255,.9); font-size: clamp(1rem, 1.35vw, 1.12rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.section { padding: clamp(4.5rem, 8vw, 8rem) 0; scroll-margin-top: 84px; }
.section-dark { color: var(--white); background: var(--graphite); }
.section-soft { background: var(--paper); }
.section-heading { max-width: 790px; margin-bottom: 2.4rem; }
.section-heading p { max-width: 690px; margin: 1.15rem 0 0; color: var(--muted); }
.section-dark .section-heading p { color: rgba(255,255,255,.7); }
.grid-services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.service-card { grid-column: span 2; display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); background: var(--white); text-decoration: none; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.service-card:last-child { grid-column: 2 / span 4; display: grid; grid-template-columns: minmax(260px, .9fr) 1.1fr; }
.image-frame { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; flex: 0 0 auto; background: #e9edf0; }
.image-frame > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.service-card:last-child .image-frame { align-self: start; }
.service-card-body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
.service-card:hover { transform: translateY(-6px); border-color: var(--red); box-shadow: var(--shadow); }
.service-card p { margin: .8rem 0 1.3rem; color: var(--muted); }
.service-card .text-link { margin-top: auto; }
.text-link { color: var(--red-dark); font-weight: 900; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2.3rem, 6vw, 6rem); }
.split.reverse .media { order: 2; }
.about-split .media img { object-position: center 48%; }
.split p { color: var(--muted); }
.media { position: relative; }
.media::after { content: ""; position: absolute; left: -14px; bottom: -14px; width: 42%; height: 42%; z-index: -1; background: var(--red); }
.media { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; box-shadow: var(--shadow); }
.media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.audience-grid, .features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.18); }
.audience, .feature { padding: 2rem 1.4rem; background: var(--graphite); }
.audience p, .feature p { margin-bottom: 0; color: rgba(255,255,255,.7); }
.band { position: relative; overflow: hidden; color: var(--white); background: var(--red); }
.band::before { content: "M"; position: absolute; right: -1rem; top: -5rem; color: rgba(255,255,255,.08); font: 900 21rem/1 Arial; }
.band-inner { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; padding-block: 4.4rem; }
.band p { max-width: 780px; margin: 1rem 0 0; color: rgba(255,255,255,.85); }
.timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.1rem; counter-reset: steps; }
.step { position: relative; counter-increment: steps; min-height: 220px; padding: 1.45rem; border: 1px solid #e2e5e9; border-radius: 12px; background: linear-gradient(160deg, #fff 55%, #f3f4f6); box-shadow: 0 12px 32px rgba(18,20,23,.07); transition: transform .2s ease, box-shadow .2s ease; }
.step:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(18,20,23,.13); }
.step:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; top: 2.1rem; right: -.88rem; color: var(--red); font-size: 1.65rem; line-height: 1; font-weight: 900; }
.step::before { content: counter(steps, decimal-leading-zero); display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1.65rem; border-radius: 10px; color: var(--white); background: linear-gradient(135deg, var(--red), var(--red-dark)); box-shadow: 0 8px 18px rgba(239,27,36,.24); font-size: .95rem; font-weight: 900; letter-spacing: .04em; }
.step h3 { font-size: clamp(1.15rem, 1.45vw, 1.45rem); line-height: 1.18; }
.step p { margin-bottom: 0; color: var(--muted); }
.statline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 2rem; background: var(--line); }
.stat { padding: 1.7rem; background: var(--white); }
.stat strong { display: block; color: var(--red-dark); font-size: 1.8rem; }
.conversational { border-left: 8px solid var(--red); padding: clamp(2rem, 5vw, 4.5rem); background: var(--paper); }
.conversational p { max-width: 880px; color: var(--muted); font-size: 1.08rem; }
.areas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.areas span { display: inline-flex; align-items: center; gap: .55rem; padding: .75rem 1rem; border: 1px solid var(--line); background: var(--white); font-weight: 800; }
.areas span::before { content: ""; width: 1rem; height: 1rem; flex: 0 0 auto; background: var(--red); clip-path: path('M8 0a6 6 0 0 0-6 6c0 4.6 6 10 6 10s6-5.4 6-10a6 6 0 0 0-6-6Zm0 8.2A2.2 2.2 0 1 1 8 3.8a2.2 2.2 0 0 1 0 4.4Z'); }
.breadcrumb { padding: .85rem 0; border: 0; color: rgba(255,255,255,.76); background: linear-gradient(90deg, #15191e, #242a31); font-size: .9rem; }
.breadcrumb ol { margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; list-style: none; }
.breadcrumb a { color: var(--white); font-weight: 750; text-decoration: none; }
.breadcrumb a:hover { color: #ff8b90; }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: .7rem; color: #ff666c; font-size: 1.15rem; }
.answer-lead { padding: clamp(2rem, 5vw, 4rem); border-left: 8px solid var(--red); background: var(--paper); }
.answer-lead p { margin: 1rem 0 0; font-size: 1.12rem; }
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.topic { min-height: 180px; overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.topic .image-frame { width: 100%; }
.topic-body { padding: 1.5rem; }
.topic p { margin-bottom: 0; color: var(--muted); }
.faq { display: grid; gap: .75rem; }
.faq details { border: 1px solid rgba(255,255,255,.22); background: #23282e; }
.faq summary { cursor: pointer; padding: 1.25rem 3.2rem 1.25rem 1.25rem; font-weight: 850; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.25rem; top: 1rem; color: #ff858a; font-size: 1.55rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 1.25rem 1.3rem; color: rgba(255,255,255,.72); }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.related a { padding: 1.25rem; border: 1px solid var(--line); color: var(--red-dark); font-weight: 850; text-decoration: none; }
.site-footer { padding: 3rem 0 1.25rem; color: var(--white); background: #0d0f11; }
.footer-grid { display: grid; grid-template-columns: .7fr 1.35fr 1.25fr 1.15fr; gap: 2rem; align-items: start; }
.footer-logo { width: 104px; height: 104px; border-radius: 50%; }
.site-footer h3 { margin-bottom: 1rem; font-size: 1rem; letter-spacing: .02em; }
.site-footer p, .site-footer a { color: rgba(255,255,255,.68); }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: .55rem; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { margin-top: 2rem; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; gap: 1rem; color: rgba(255,255,255,.5); font-size: .82rem; }
.service-hero { min-height: 440px; }
.service-hero .hero-copy { padding-block: 3.25rem; }
.structure-split .media { max-width: 520px; justify-self: center; }
.structure-split .media img { aspect-ratio: 1 / 1; }
.split.reverse .media { width: min(100%, 540px); justify-self: center; }
.faq-section { padding-bottom: clamp(4rem, 7vw, 6rem); }
.whatsapp-float { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 900; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: #25d366; box-shadow: 0 10px 30px rgba(0,0,0,.28); }
.whatsapp-float svg { width: 29px; height: 29px; fill: currentColor; }
.notice { padding: 1rem; border-left: 4px solid var(--red); background: #fff1f2; color: #5c1418; }
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.error-page h1 { font-size: clamp(4rem, 15vw, 10rem); color: var(--red); }
@media (max-width: 1023px) {
  .nav-links { position: fixed; inset: 78px 0 auto; display: none; padding: 1.25rem 1rem 1.5rem; flex-direction: column; align-items: stretch; background: var(--ink); }
  .nav-links.open { display: flex; }
  .menu-toggle { display: grid; place-items: center; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .media { order: 0; }
  .about-split > div:last-child { order: 1; }
  .about-split .media { order: 2 !important; }
  .audience-grid, .features { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2n)::after { display: none; }
  .timeline .step:last-child { grid-column: span 2; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .container { width: min(calc(100% - 1.25rem), var(--container)); }
  .hero { min-height: 600px; }
  .hero::after { background: linear-gradient(180deg, rgba(8,10,12,.9), rgba(8,10,12,.75)); }
  .hero-copy { padding-block: 4rem; }
  .grid-services, .topics, .related { grid-template-columns: 1fr; }
  .service-card, .service-card:last-child { grid-column: auto; display: flex; }
  .service-card:last-child .image-frame { width: 100%; }
  .band-inner { grid-template-columns: 1fr; }
  .timeline, .audience-grid, .features, .statline { grid-template-columns: 1fr; }
  .step { min-height: 0; padding: 1.2rem 1.3rem 1.25rem 5.3rem; }
  .step::before { position: absolute; left: 1.2rem; top: 1.15rem; width: 2.9rem; height: 2.9rem; margin: 0; }
  .step:not(:last-child)::after, .step:nth-child(2n)::after { display: block; content: "↓"; top: auto; bottom: -1.4rem; right: auto; left: 2.05rem; }
  .timeline .step:last-child { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 479px) {
  h1 { font-size: clamp(2.25rem, 12vw, 3.15rem); }
  .brand img { width: 56px; height: 56px; }
  .nav { min-height: 70px; }
  .nav-links { inset-block-start: 70px; }
  .hero-actions .btn { width: 100%; }
  .section { padding-block: 4rem; }
  .whatsapp-float { width: 54px; height: 54px; }
}
@media (min-width: 320px) { :root { --edge: .75rem; } }
@media (min-width: 375px) { :root { --edge: 1rem; } }
@media (min-width: 480px) { .container { width: min(calc(100% - 2rem), var(--container)); } }
@media (min-width: 576px) { .hero-actions .btn { min-width: 215px; } }
@media (min-width: 640px) { .service-card-body { padding: 1.65rem; } }
@media (min-width: 768px) { .section-heading { margin-bottom: 3rem; } }
@media (min-width: 992px) { .hero-copy { padding-block: 3.75rem; } }
@media (min-width: 1024px) { .nav { min-height: 82px; } }
@media (min-width: 1200px) { :root { --container: 1140px; } }
@media (min-width: 1280px) { :root { --container: 1180px; } }
@media (min-width: 1400px) { :root { --container: 1240px; } }
@media (min-width: 1440px) { .hero { min-height: 570px; } .service-hero { min-height: 460px; } }
@media (min-width: 1536px) { :root { --container: 1320px; } }
@media (min-width: 1920px) { :root { --container: 1440px; } body { font-size: 1.06rem; } }
@media (min-width: 2560px) { :root { --container: 1680px; } body { font-size: 1.12rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }

/* Three supplied workshop images, rotating every four seconds. */
.structure-gallery { position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; }
.structure-split .structure-gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: structure-cycle 12s infinite; }
.structure-split .structure-gallery img:nth-child(2) { animation-delay: 4s; }
.structure-split .structure-gallery img:nth-child(3) { animation-delay: 8s; }
@keyframes structure-cycle { 0%, 30% { opacity: 1; } 33.333%, 96% { opacity: 0; } 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .structure-split .structure-gallery img { animation: none; opacity: 0; }
  .structure-split .structure-gallery img:first-child { opacity: 1; }
}

/* Compact service cards and matching internal topic cards. */
.grid-services { max-width: 1080px; margin-inline: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.service-card, .service-card:last-child { grid-column: auto; display: flex; }
.service-card:last-child { grid-column: 2; }
.service-card .image-frame, .topic .image-frame { aspect-ratio: 4 / 3; }
.service-card-body, .topic-body { padding: 1.1rem 1.2rem; }
.service-card p { margin: .55rem 0 .9rem; }
.topics { max-width: 1080px; margin-inline: auto; gap: .85rem; }
.topic { min-height: 0; }
.footer-grid { grid-template-columns: minmax(0,1.35fr) minmax(0,1fr) minmax(0,1.15fr) minmax(0,.95fr); gap: 1.25rem; }
.footer-about .footer-logo { margin-bottom: 1.1rem; }
.footer-about h3 { margin-bottom: .55rem; }
.footer-about p { margin: 0; }
.footer-map { align-self: start; padding-top: .1rem; }
.footer-map a { display: block; height: 190px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.22); }
.footer-map iframe { display: block; width: 100%; height: 100%; border: 0; pointer-events: none; }
.footer-contact .btn { max-width: 100%; white-space: normal; }
@media (max-width: 991px) { .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem; } }
@media (max-width: 767px) { .grid-services, .topics { grid-template-columns: 1fr; max-width: 470px; } .service-card:last-child { grid-column: auto; } }
@media (max-width: 575px) { .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; } .footer-map a { height: 210px; } }

/* Two square cards per row on the services overview. */
.grid-services { max-width: 900px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.service-card:last-child { grid-column: 1 / -1; width: calc((100% - 1.25rem) / 2); justify-self: center; }
.service-card .image-frame { aspect-ratio: 1 / 1; }
.service-card-cta { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; margin-top: auto; padding: .65rem 1.05rem; border-radius: 8px; color: #fff; background: var(--red-dark); text-decoration: none; font-weight: 850; transition: background .2s ease, transform .2s ease; }
.service-card:hover .service-card-cta, .service-card:focus-visible .service-card-cta { background: var(--red); transform: translateY(-2px); }
.service-topic-cta { margin: 2rem 0 0; text-align: center; }
.service-reasons .features { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-about .media img { width: 100%; object-fit: cover; }
.service-about p { margin: 1.2rem 0 1.6rem; }
.footer-grid { column-gap: clamp(1.5rem, 3vw, 3rem); row-gap: 2.5rem; }
.footer-about h3, .footer-navigation h3, .footer-contact h3 { line-height: 1.4; margin-bottom: 1rem; }
.footer-about p, .footer-contact p { line-height: 1.75; }
.footer-navigation li + li { margin-top: .75rem; }
.footer-navigation a { display: inline-block; line-height: 1.45; text-decoration: none; }
.footer-navigation a:hover, .footer-navigation a:focus-visible { text-decoration: underline; }
@media (max-width: 991px) { .service-reasons .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .grid-services { grid-template-columns: repeat(2, minmax(0,1fr)); max-width: 620px; } .service-card:last-child { grid-column: 1 / -1; } .footer-grid { grid-template-columns: 1fr; } }
@media (max-width: 575px) { .grid-services { grid-template-columns: 1fr; max-width: 450px; } .service-card:last-child { grid-column: auto; width: auto; } .service-reasons .features { grid-template-columns: 1fr; } }

/* Compact, balanced homepage service grid. */
#servicos .section-heading { max-width: 690px; margin: 0 auto 1.3rem; }
#servicos .section-heading h2 { font-size: clamp(2rem, 3.1vw, 3.15rem); line-height: 1.08; }
#servicos .grid-services { max-width: 690px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
#servicos .service-card:last-child { width: calc((100% - 1rem) / 2); }
#servicos .service-card-body { padding: 1rem 1.1rem 1.15rem; }
#servicos .service-card h3 { font-size: clamp(1.2rem, 1.65vw, 1.45rem); }
#servicos .service-card p { font-size: .95rem; line-height: 1.5; margin: .55rem 0 .85rem; }
@media (max-width: 575px) {
  #servicos .section-heading { max-width: 360px; margin-bottom: 1.2rem; }
  #servicos .grid-services { grid-template-columns: 1fr; max-width: 360px; }
  #servicos .service-card:last-child { width: auto; }
}

/* Restored three-column service layout with slightly smaller square cards. */
#servicos .section-heading { max-width: 790px; margin: 0 0 2rem; }
#servicos .section-heading h2 { font-size: clamp(2rem, 3.7vw, 3.55rem); }
#servicos .grid-services { max-width: 1020px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-inline: auto; }
#servicos .service-card .image-frame { aspect-ratio: 1 / 1; }
#servicos .service-card:last-child { grid-column: 2; width: 100%; }
@media (max-width: 991px) and (min-width: 576px) {
  #servicos .grid-services { max-width: 700px; grid-template-columns: repeat(2, minmax(0,1fr)); }
  #servicos .service-card:last-child { grid-column: 1 / -1; width: calc((100% - 1rem) / 2); justify-self: center; }
}
@media (max-width: 575px) {
  #servicos .section-heading { max-width: none; margin-bottom: 1.5rem; }
  #servicos .grid-services { max-width: 380px; grid-template-columns: 1fr; }
  #servicos .service-card:last-child { grid-column: auto; width: 100%; }
}

/* Wider service grid, compact card actions. */
#servicos .grid-services { max-width: 1120px; }
#servicos .service-card-cta { padding: .5rem .8rem; font-size: .86rem; border-radius: 7px; }
#cuidado .section-heading { max-width: none; }
@media (min-width: 992px) { #cuidado h2 { white-space: nowrap; font-size: clamp(2.2rem, 3vw, 3rem); } }
/* JavaScript advances the three structure photos every four seconds. */
.structure-split .structure-gallery img,
.structure-split .structure-gallery img:nth-child(2),
.structure-split .structure-gallery img:nth-child(3) { animation: none !important; opacity: 0; transition: opacity .55s ease; }
.structure-split .structure-gallery img.is-active,
.structure-split .structure-gallery img:first-child.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .structure-split .structure-gallery img:first-child:not(.is-active) { opacity: 0; }
  .structure-split .structure-gallery img.is-active { opacity: 1; }
}

/* Keep the services heading on one line where the viewport supports it. */
#servicos .section-heading { max-width: none; }
@media (min-width: 992px) {
  #servicos .section-heading h2 { font-size: clamp(2.15rem, 3vw, 3rem); white-space: nowrap; }
}
@media (max-width: 991px) {
  #servicos .section-heading h2 { white-space: normal; }
}

/* Compact service heroes on phones only. */
@media (max-width: 767px) {
  .service-hero { min-height: 0; display: block; }
  .service-hero .hero-copy { padding-block: 2rem 2.25rem; }
  .service-hero h1 { font-size: clamp(2rem, 8vw, 2.65rem); line-height: 1.1; }
  .service-hero p { margin: .75rem 0 1.1rem; }
  .service-hero .hero-actions { gap: .65rem; }
  .breadcrumb { padding-block: .65rem; }
}
