:root{--navy:#10203d;--paper:#f0ece7;--beige:#c4bcb4;--blue:#596879;--graphite:#c4bcb4;--line:#ffffff24}body{background:#10203d;color:#f0ece7}header{background:#10203ddd;backdrop-filter:blur(22px);border-color:#ffffff18}header .logo{width:240px;height:60px}h1{font-size:clamp(62px,6vw,94px);letter-spacing:-3px}h1 em{color:#c4bcb4}h2 span{color:#a9b6c6}.hero{min-height:720px;gap:40px;padding-top:60px;padding-bottom:70px;position:relative}.hero:before{content:'';position:absolute;width:75%;height:90%;right:-5%;top:0;background:radial-gradient(ellipse,#59687955,transparent 65%);pointer-events:none;z-index:-1}.hero-copy>p{color:#c4bcb4}.button{border:1px solid #c4bcb466;background:#f0ece7;color:#10203d;border-radius:8px;box-shadow:0 5px 30px #0002;transition:transform .3s,box-shadow .3s,background .3s}.button:hover{background:#c4bcb4;box-shadow:0 10px 35px #c4bcb433;transform:translateY(-3px)}header .button{background:#ffffff08;color:#f0ece7}.text-link:hover{color:#c4bcb4}.eyebrow{color:#c4bcb4}.dot{background:#c4bcb4;box-shadow:0 0 12px #c4bcb4}.universe{height:560px;perspective:1100px;isolation:isolate;position:relative;--rx:0deg;--ry:0deg;transform-style:preserve-3d}.orbit{position:absolute;left:8%;top:8%;width:86%;aspect-ratio:1;border:1px solid #c4bcb44d;border-radius:50%;box-shadow:inset 0 0 30px #59687933,0 0 30px #59687922;pointer-events:none}.orbit-one{transform:rotateX(65deg) rotateZ(-25deg);animation:orbital 20s linear infinite}.orbit-two{transform:rotateY(65deg) rotateZ(25deg);animation:orbital-alt 25s linear infinite}.orbit-three{border-style:dashed;border-color:#c4bcb420;transform:scale(1.14)}.brand-object{position:absolute;left:17%;top:27%;width:72%;height:190px;transform-style:preserve-3d;transform:rotateX(var(--rx)) rotateY(var(--ry));transition:transform .3s ease-out;z-index:2}.brand-face{display:grid;place-items:center;height:100%;padding:35px;border-radius:22px;border:1px solid #c4bcb47a;background:linear-gradient(125deg,#596879b3,#10203de6 75%);box-shadow:12px 20px 0 -3px #0a1529,14px 22px 0 -2px #59687966,0 45px 75px #0008,inset 0 1px 20px #ffffff0d;animation:levitate 7s ease-in-out infinite;backdrop-filter:blur(15px)}.brand-face img{width:100%;height:auto;filter:drop-shadow(0 3px 5px #0004)}.float-project{position:absolute;width:185px;padding:8px;background:#f0ece7;border-radius:10px;box-shadow:0 25px 40px #0005;z-index:3;animation:levitate 8s ease-in-out infinite}.float-project img{height:125px;width:100%;object-fit:cover;border-radius:5px}.float-project span{display:block;color:#10203d;font-size:9px;letter-spacing:1px;padding:10px 3px 4px}.float-one{top:0;right:0;rotate:10deg;animation-delay:-3s}.float-two{bottom:20px;left:0;rotate:-9deg}.orbit-caption{position:absolute;bottom:10px;right:0;font-size:9px;letter-spacing:2px;color:#c4bcb4}.orbit-caption i{display:inline-block;width:5px;height:5px;border-radius:50%;background:#f0ece7;box-shadow:0 0 10px #fff;margin-right:8px}.scroll-progress{position:fixed;top:0;left:0;height:2px;background:#c4bcb4;z-index:100;width:0}.ticker{overflow:hidden;border-top:1px solid #ffffff20;border-bottom:1px solid #ffffff20;background:#ffffff04;padding:20px 0;color:#c4bcb4;letter-spacing:3px;font-size:14px}.proof{border-top:0;padding:38px 0}.proof strong{color:#f0ece7}.proof strong span{color:#c4bcb4}.proof p{color:#a9b6c6}.project-image{border-radius:14px;border:1px solid #ffffff20;box-shadow:0 15px 50px #0003;transition:transform .3s}.project{perspective:1200px}.project:hover .project-image{transform:rotateX(2deg) translateY(-7px);box-shadow:0 25px 55px #0006}.project-title>span{color:#a9b6c6}.craft{background:linear-gradient(130deg,#071326,#10203d);border-block:1px solid #ffffff15}.craft-visual{border-radius:18px;background:#ffffff05;box-shadow:0 20px 60px #0003}.craft-visual img{border-radius:9px}.about{position:relative}.lead{color:#f0ece7}.people{background:#ffffff04;padding:25px;border-radius:12px}.process{background:#f0ece7;color:#10203d;--line:#10203d26}.process p{color:#393e4a}.process h2 span,.process .eyebrow{color:#596879}.step{transition:transform .3s}.step:hover{transform:translateY(-5px)}.package{border:1px solid #ffffff26;border-radius:14px;background:linear-gradient(150deg,#ffffff09,#ffffff02);backdrop-filter:blur(10px);padding:28px 22px;box-shadow:0 10px 35px #0002}.package.featured{background:linear-gradient(145deg,#59687988,#10203d);border-color:#c4bcb4;box-shadow:0 0 40px #c4bcb418}.package:not(.featured) .badge{color:#c4bcb4}.package .button{font-size:14px}.package p,.package li{color:#c4bcb4}.package details p{line-height:1.65}.services{background:#09162b;border-block:1px solid #ffffff15}.service-row{transition:padding .25s,background .25s}.service-row:hover{padding-left:10px;background:#ffffff03}.faq{color:#f0ece7}.faq details{border-color:#ffffff25}.instagram{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}.social-visual{position:relative;transform:rotate(-4deg);padding:16px;background:#ffffff06;border:1px solid #ffffff22;border-radius:18px}.social-visual img{border-radius:10px;aspect-ratio:1.4;object-fit:cover}.social-visual>span{display:block;font-size:11px;letter-spacing:2px;padding:20px 5px 5px}.contact{color:#10203d;background:radial-gradient(ellipse at top,#f0ece7,#c4bcb4);position:relative;overflow:hidden}.contact p{color:#393e4a}.contact .eyebrow{color:#596879}.contact .button{background:#10203d;color:#f0ece7}footer{background:#081426!important}dialog{background:#10203d;color:#f0ece7;border:1px solid #c4bcb455;border-radius:14px}dialog p{color:#c4bcb4}.motion-ready .paused @keyframes levitate{0%,100%{translate:0 0}50%{translate:0 -16px}}@keyframes orbital{from{transform:rotateX(65deg) rotateZ(0)}to{transform:rotateX(65deg) rotateZ(360deg)}}@keyframes orbital-alt{from{transform:rotateY(65deg) rotateZ(360deg)}to{transform:rotateY(65deg) rotateZ(0)}}@keyframes ticker{to{transform:translateX(-50%)}}@media(max-width:1050px){header{gap:20px}nav{gap:18px}.universe{height:480px}.float-project{width:145px}.float-project img{height:105px}.brand-object{height:155px;top:30%}.brand-face{padding:25px}.instagram{gap:35px}}@media(max-width:700px){header .logo{width:190px;height:48px}nav{background:#10203d}.menu-toggle{border-color:#c4bcb455;color:#f0ece7}.hero{min-height:0}.hero h1{font-size:clamp(53px,14vw,67px)}.universe{height:440px;margin:55px 0 0}.float-project{width:140px}.float-one{right:5px}.float-two{bottom:20px}.brand-object{width:76%;left:12%;height:150px;top:32%}.brand-face{padding:22px}.orbit-caption{font-size:8px;bottom:2px}.ticker{padding:16px 0;font-size:11px}.instagram{grid-template-columns:1fr;gap:35px}.social-visual{margin:0 10px}.people{padding:20px}.hero-foot{color:#a9b6c6}.packages{gap:24px}.package{padding:28px}.section{padding-top:75px;padding-bottom:75px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important}.motion-ready .brand-object{transform:none!important}}

html,body{overflow-x:clip}.portfolio-intro{max-width:660px;color:#c4bcb4;font-size:20px;line-height:1.6}.area-filters{display:flex;flex-wrap:wrap;gap:10px;margin:40px 0 20px}.area-filters button{border:1px solid #c4bcb455;border-radius:30px;padding:12px 18px;color:#f0ece7;background:transparent;cursor:pointer;font:inherit}.area-filters button[aria-pressed=true]{background:#c4bcb4;color:#10203d}.case-grid{display:grid;grid-template-columns:1fr 1fr;gap:45px 28px;margin-top:30px}.case-card .project-image{aspect-ratio:1.45}.case-card .project-image img{height:100%;width:100%;object-fit:cover}.case-card .project-title{display:block}.case-card .project-title span{display:block;margin-top:10px}#case-images figure{margin:20px 0 35px}#case-images figcaption{font-size:13px;color:#c4bcb4;margin-bottom:12px}#case-images img{width:100%;border-radius:8px}.case-grid .project{width:100%;min-width:0}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #c4bcb4;outline-offset:5px}@media(max-width:700px){.case-grid{grid-template-columns:1fr}.area-filters button{font-size:13px}.portfolio-intro{font-size:18px}}/* Compact projects and direct social access */
.brand-face{background:transparent;border:0;box-shadow:none;backdrop-filter:none;border-radius:0;padding:22px}.brand-face img{filter:drop-shadow(0 15px 26px #0006)}
.portfolio,.case-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:30px 20px}.portfolio .project img,.case-grid .project-image img{height:200px;object-fit:cover}.case-card .project-image{aspect-ratio:auto}.project-title{display:block;margin-top:14px}.project-title h3{font-size:21px}.project-title>span{display:block;font-size:10px;letter-spacing:.4px;margin-top:7px}.circle-arrow{width:33px;height:33px;bottom:12px;right:12px;font-size:21px}.social-link svg,.quick-social svg{width:22px;height:22px;flex:0 0 22px}.social-link{display:inline-flex;align-items:center;gap:12px}.social-link.button{gap:14px}.quick-social{position:fixed;right:20px;bottom:70px;z-index:25;display:flex;flex-direction:column;gap:10px}.quick-social a{width:46px;height:46px;border:1px solid #c4bcb466;border-radius:50%;display:grid;place-items:center;background:#10203de8;color:#f0ece7;box-shadow:0 5px 20px #0003;backdrop-filter:blur(12px)}.quick-social a:hover{background:#c4bcb4;color:#10203d}.instagram-post{border:1px solid #c4bcb444;background:#ffffff04;border-radius:16px;padding:24px}.post-preview>span{display:block;color:#c4bcb4;letter-spacing:2px;font-size:10px;margin:26px 0 15px}.post-preview h3{font-size:32px}.instagram-post iframe{width:100%;height:610px;border:0;border-radius:10px;background:white}.instagram-post>.text-link{font-size:15px;margin-top:18px}.embed-note{font-size:12px;margin:15px 0 0}.drawing-section video{width:100%;max-height:650px;aspect-ratio:16/9;border:1px solid #c4bcb433;border-radius:16px;background:#071326;display:block}.video-caption{font-size:10px;letter-spacing:2px;margin-top:18px}#project-images figure{margin:25px 0}#project-images figcaption{font-size:13px;margin-bottom:10px;color:#c4bcb4}
@media(max-width:1000px){.portfolio,.case-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.portfolio .project img,.case-grid .project-image img{height:180px}}
@media(max-width:700px){.portfolio,.case-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 12px}.portfolio .project img,.case-grid .project-image img{height:150px}.project-title h3{font-size:17px}.project-title>span{font-size:9px}.quick-social{bottom:64px;right:12px}.quick-social a{width:42px;height:42px}.instagram-post{padding:18px}.instagram-post iframe{height:560px}.brand-face{padding:12px}.drawing-section video{border-radius:10px}.contact .button{font-size:15px}}
@media(max-width:700px){header .desktop.social-link{display:none}header>a:first-child{flex-shrink:0}}
.portfolio .project-image,
.case-grid .project-image {
  aspect-ratio: 16 / 9;
  border: 0;
  background: #0b1930;
}
.portfolio .project-image img,
.case-grid .project-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.packages{align-items:start}.package-detail summary{font-size:14px;line-height:1.5;padding-right:18px}.package-detail dl{margin:18px 0 6px}.package-detail dl>div{border-top:1px solid #ffffff20;padding:13px 0}.package-detail dt{font-weight:600;color:#f0ece7;font-size:14px;line-height:1.5}.package-detail dd{margin:5px 0 0;font-size:13px;line-height:1.7;color:#c4bcb4}

/* Opening layout and selected portfolio work. */
.hero {
  position: relative;
  display: block;
  min-height: 0;
  padding: 0;
  isolation: isolate;
}
.hero-inner {
  display: flex;
  align-items: center;
  min-height: 610px;
  padding-block: clamp(60px, 7vw, 105px);
}
.hero::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 82% 48%, #59687940, transparent 52%);
  mask-image: linear-gradient(to right, #000 80%, transparent 100%);
}
.hero .hero-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 940px);
}
.hero .hero-copy h1 {
  margin: 25px 0 24px;
  font-size: clamp(54px, 6.15vw, 96px);
  line-height: 1.06;
  letter-spacing: -.048em;
}
.hero .hero-copy > p {
  max-width: 555px;
  margin: 0;
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.65;
}
.hero .actions { margin-top: 29px; }
.hero .hero-foot { margin-top: 32px; }
.hero-gallery {
  --panel-width: max(580px, 100cqw);
  position: absolute;
  inset: 0 0 0 auto;
  width: 58%;
  z-index: 0;
  overflow: hidden;
  container-type: inline-size;
  pointer-events: none;
  mask-image: linear-gradient(to right, transparent 13%, #0002 27%, #000 49%);
}
.hero-gallery-track {
  display: flex;
  width: max-content;
  height: 100%;
}
.hero-gallery-track picture {
  display: block;
  flex: none;
  width: var(--panel-width);
  height: 100%;
}
.hero-gallery-track img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-gallery-track picture + picture {
  margin-inline-start: calc(var(--panel-width) * -.05);
  mask-image: linear-gradient(to right, transparent, #000 5%);
}
.site-motion .hero-gallery-track:where([data-loop-ready]) { animation: portfolio-pass var(--loop-duration, 106s) linear 700ms infinite; }
@keyframes portfolio-pass {
  to { transform: translateX(calc(-1 * var(--loop-distance))); }
}
@media (max-width: 900px) {
  .hero-inner { display: block; min-height: 0; padding-bottom: 26px; }
  .hero-gallery {
    --panel-width: clamp(280px, 82cqw, 610px);
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(205px, 45vw, 340px);
    mask-image: linear-gradient(to right, transparent, #000 13%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-motion .hero-gallery-track { animation: none; }
}
.package-guide{max-width:740px;color:#c4bcb4;font-size:16px;line-height:1.7;margin:0 0 28px}

.testimonials {
  background: #0b1930;
  border-block: 1px solid #ffffff15;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.review-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid #c4bcb430;
  border-radius: 14px;
  background: #ffffff04;
}
.review-stars { color: #fbbc04; font-size: 18px; letter-spacing: 4px; }
.review-card blockquote {
  flex: 1;
  margin: 18px 0 24px;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}
.review-card figcaption {
  border-top: 1px solid #ffffff20;
  padding-top: 15px;
}
.review-card figcaption strong { display: block; font-size: 15px; }
.review-card figcaption span { display: block; margin-top: 4px; color: #a9b6c6; font-size: 13px; }

@media (max-width: 700px) {
  .hero-inner { padding-top: 49px; }
  .hero .hero-copy h1 { font-size: clamp(41px, 9.6vw, 64px); margin: 21px 0; }
  .hero-break { display: none; }
  .hero .hero-foot { margin-top: 27px; }
  .package-guide { font-size: 15px; }
  .reviews-grid { grid-template-columns: 1fr; }
}

/* Creation stages and the four projects drawn by the Jus team. */
.craft {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.craft::before {
  content: '';
  position: absolute;
  inset: -10% 2% -30% auto;
  width: min(42vw, 540px);
  background: url(assets/portfolio/jus-monogram.webp) center / contain no-repeat;
  opacity: .045;
  z-index: -1;
  pointer-events: none;
}
.craft-content .section-head {
  align-items: end;
  margin-bottom: 40px;
}
.craft-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
}
.craft-demo h3, .drawing-more h3, .about-team > h3 {
  margin: 0 0 18px;
  font-size: clamp(23px, 2.4vw, 32px);
}
.craft-stages, .drawing-grid {
  display: grid;
  gap: 14px;
}
.craft-stage {
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid #c4bcb433;
  border-radius: 12px;
  background: #0b1829a6;
}
.stage-number {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: .13em;
  color: #c4bcb4;
}
.craft-stage h3 { margin: 0 0 6px; font-size: clamp(20px, 2vw, 26px); }
.craft-stage p { margin: 0; font-size: 16px; line-height: 1.65; }
.drawing-more { margin-top: clamp(32px, 5vw, 64px); }
.drawing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.drawing-case {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #c4bcb433;
  border-radius: 14px;
  background: #0b1829;
}
.drawing-case video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 0;
  background: #0b1829;
}
.drawing-case figcaption { padding: 15px 18px; font-weight: 600; }
@media (max-width: 700px) {
  .craft-layout, .drawing-grid { grid-template-columns: 1fr; }
  .craft-content .section-head { margin-bottom: 26px; }
  .craft::before { width: 68vw; inset: -10% -14% 30% auto; }
}

.drawing-case figcaption span {
  display: block;
  margin-top: 4px;
  color: var(--beige);
  font-size: 15px;
  font-weight: 400;
}

.about-grid { align-items: center; gap: clamp(28px, 6vw, 88px); }
.about-story h2 { margin-bottom: 24px; }
.about-story p { max-width: 48ch; }
.about-story .lead { margin-bottom: 12px; }
.about-photo { margin: 0; }
.about-photo img {
  width: 100%;
  height: auto;
  border: 1px solid #c4bcb433;
  border-radius: 14px;
}
.about-photo figcaption { color: var(--beige); font-size: 14px; margin-top: 10px; }
.about-team { margin-top: clamp(34px, 5vw, 64px); }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 42px); }
.team-person {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 20px 0 24px;
  border-top: 1px solid #c4bcb433;
}
.team-person img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  object-position: center 32%;
  border-radius: 50%;
}
.team-person h4 { margin: 0 0 3px; font-size: 21px; }
.team-person span { color: var(--beige); font-size: 14px; }
.team-person p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; }
@media (max-width: 960px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* Marca de apoio aplicada em pontos de respiro da página. */
#sobre, #servicos, .portfolio-page {
  position: relative;
  isolation: isolate;
}
#sobre::before, #servicos::before, .portfolio-page::before {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
#sobre::before {
  inset: 10% auto 8% -6%;
  width: min(34vw, 425px);
  background: url(assets/portfolio/jus-monogram.webp) left center / contain no-repeat;
  opacity: .055;
}
#servicos {
  background: radial-gradient(ellipse at 90% 30%, #1d2b43, transparent 64%), #09162b;
}
#servicos::before {
  inset: 4% 3% 4% auto;
  width: min(34vw, 415px);
  background: #c4bcb4;
  -webkit-mask: url(assets/portfolio/jus-bulb.webp) right center / contain no-repeat;
  mask: url(assets/portfolio/jus-bulb.webp) right center / contain no-repeat;
  opacity: .07;
}
.portfolio-page::before {
  top: 10px;
  right: 0;
  width: min(28vw, 330px);
  aspect-ratio: 1;
  background: url(assets/portfolio/jus-monogram.webp) right center / contain no-repeat;
  opacity: .055;
}
@media (max-width: 700px) {
  #sobre::before { inset: 0 -5% auto auto; width: 46%; height: 220px; }
  #servicos::before { inset: 18px 0 auto auto; width: 48%; height: 245px; }
  .portfolio-page::before { top: 45px; width: 42%; }
}

.social-link .brand-icon, .quick-social .brand-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}
.instagram.reel-section { display: block; }
.reels-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  justify-content: center;
  gap: clamp(12px, 4vw, 38px);
  align-items: start;
}
.reel-card { min-width: 0; }
.reel-cover {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: end center;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  padding: 12px;
  border: 1px solid #ffffff35;
  border-radius: 14px;
  background: radial-gradient(ellipse at 50% 35%, #435b77, #101f37 76%);
}
.reel-cover-positioning { background: linear-gradient(155deg, #e4d8c7, #9a8274 60%, #2f2831); }
.reel-art {
  position: absolute;
  inset: 10% 8% auto;
  width: 84%;
  height: 63%;
  object-fit: contain;
  z-index: -1;
}
.reel-bulb {
  inset: 13% 19% auto;
  width: 62%;
  height: 58%;
  background: #f0ece7;
  mask: url(assets/portfolio/jus-bulb.webp) center / contain no-repeat;
}
.reel-play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border: 1px solid #ffffff55;
  border-radius: 30px;
  background: #0b172cee;
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.reel-play:hover { background: #273d59; }
.reel-play-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f0ece7;
}
.reel-play-icon::before {
  content: "";
  margin-left: 2px;
  border-block: 5px solid transparent;
  border-left: 8px solid #101e35;
}
.reel-details { padding: 18px 1px 0; }
.reel-details h3 { margin: 0 0 8px; font-size: clamp(22px, 2.45vw, 33px); }
.reel-details p { margin: 0 0 12px; font-size: 15px; }
.reel-details .text-link { display: inline-flex; flex-wrap: wrap; font-size: 14px; }
.reel-dialog { width: min(460px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 16px; }
.reel-dialog::backdrop { background: #050b17d9; }
.reel-dialog-header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--navy);
}
.reel-dialog-header h3 { font-size: clamp(17px, 4vw, 23px); margin: 0; }
.reel-dialog-header form { margin: 0; }
.reel-close { min-height: 44px; color: var(--paper); border: 1px solid var(--line); border-radius: 8px; background: transparent; cursor: pointer; font: inherit; white-space: nowrap; padding: 0 10px; }
.reel-player { margin: 8px auto; max-width: 400px; }
.reel-player iframe { display: block; width: 100%; height: min(620px, 69dvh); border: 0; border-radius: 9px; background: #fff; }
.reel-external { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer .footer-top {
  grid-template-columns: 1.25fr 1.15fr .8fr .8fr;
  gap: 30px;
}
.site-footer .footer-top a { font-size: 14px; }
.site-footer .footer-top a.social-link {
  display: flex;
  gap: 9px;
  align-items: center;
}
.site-footer .footer-brand .logo { max-width: 100%; height: auto; }
.site-footer .footer-brand p { margin-top: 14px; line-height: 1.6; }
.site-footer .footer-location { margin: 12px 0 0; color: #a9b6c6; font-size: 13px; }
.site-footer .footer-bottom { gap: 18px; align-items: center; }
@media (max-width: 1000px) {
  .site-footer .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .site-footer .footer-top { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-block: 24px; }
  .site-footer .footer-brand .logo { width: 165px; }
  .site-footer .footer-top > div > span { margin-bottom: 6px; }
  .site-footer .footer-contact, .site-footer .footer-navigation, .site-footer .footer-profiles {
    border-top: 1px solid var(--line);
    padding-top: 12px;
  }
  .site-footer .footer-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
  }
  .site-footer .footer-navigation > span { grid-column: 1 / -1; }
  .site-footer .footer-location { margin-top: 4px; }
  .site-footer .footer-bottom { padding-block: 10px 18px; column-gap: 12px; row-gap: 0; padding-right: 44px; }
  .site-footer .footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
}

.partnerships { background: #101e35; border-top: 1px solid #ffffff15; }
.partnership-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}
.partnership-card {
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid #c4bcb436;
  border-radius: 12px;
  background: #ffffff06;
}
.partnership-card > span { font-size: 13px; color: #c4bcb4; }
.partner-logo {
  display: grid;
  place-items: center;
  min-height: 118px;
  padding: 10px 16px;
  margin: 10px 0 14px;
  border-radius: 8px;
  background: #ffffff;
  isolation: isolate;
}
.partner-logo-image {
  display: block;
  width: min(100%, 230px);
  height: auto;
  mix-blend-mode: normal;
}
.partner-logo-image[src$="casag-goias-original.png"] { width: min(100%, 260px); }
.partnership-card p { margin: 0; font-size: 15px; line-height: 1.55; }
.testimonials .review-card { background: #f7f5f2; color: #10203d; border-color: #e0dad2; }
.testimonials .review-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  padding: 0;
  margin: 0 0 15px;
}
.testimonials .review-card figcaption div { flex: 1; min-width: 0; }
.testimonials .review-card figcaption div span { color: #526174; }
.testimonials .review-card figcaption .review-initials {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  height: 42px;
  margin: 0;
  border-radius: 50%;
  color: #10203d;
  background: #e4ddd5;
  font-size: 13px;
  font-weight: 700;
}
.review-card .review-google { width: 23px; height: 23px; }
.testimonials .review-stars { color: #8d5900; font-size: 16px; letter-spacing: 3px; }
.testimonials .review-card blockquote {
  margin: 11px 0 0;
  font-size: clamp(16px, 1.75vw, 20px);
}
@media (max-width: 700px) {
  .partnership-grid { grid-template-columns: 1fr; gap: 12px; }
}

.process-deadlines {
  margin-top: 32px;
  padding: 22px clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff7;
}
.process-deadlines h3 { margin: 0 0 17px; font-size: 21px; }
.process-deadlines dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}
.process-deadlines dt { font-weight: 650; margin-bottom: 3px; }
.process-deadlines dd { margin: 0; color: #393e4a; line-height: 1.5; }
@media (max-width: 700px) {
  .process-deadlines dl { grid-template-columns: 1fr; gap: 14px; }
}


/* Touch targets, keyboard navigation and optional motion. */
.ticker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 8px max(20px, calc((100% - 1280px) / 2));
  min-height: 56px;
}
.ticker-window { flex: 1; min-width: 0; overflow: hidden; }
.ticker-track { text-transform: uppercase; }
.ticker-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px clamp(12px, 3vw, 48px);
}
.ticker-group + .ticker-group { display: none; }
.site-motion .ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 34s linear infinite;
}
.site-motion .ticker-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-around;
  min-width: 100vw;
  white-space: nowrap;
}
.site-motion .ticker-group span::after {
  content: '✦';
  margin-inline: clamp(14px, 2.1vw, 34px);
}
.motion-toggle {
  flex-shrink: 0;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #c4bcb466;
  border-radius: 24px;
  background: var(--navy);
  color: var(--paper);
  font: inherit;
  font-size: 13px;
  letter-spacing: normal;
  cursor: pointer;
}
.motion-paused .ticker-track,
.motion-paused .hero-gallery-track { animation-play-state: paused; }
.quick-social { bottom: max(18px, env(safe-area-inset-bottom)); }
body:has(dialog[open]) .quick-social,
body:has(.menu-toggle[aria-expanded="true"]) .quick-social { visibility: hidden; }
#site-nav a[aria-current] {
  text-decoration: underline;
  text-decoration-color: var(--beige);
  text-underline-offset: 5px;
}
.service-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 26px;
}
.service-actions .text-link { min-height: 44px; display: inline-flex; align-items: center; }
.area-filters button, .package summary, .faq summary, dialog .close { min-height: 44px; }
dialog .close { min-width: 44px; }
.package .button { min-height: 48px; justify-content: center; }
.drawing-case video:focus-visible {
  outline: 2px solid var(--beige);
  outline-offset: -3px;
}
#site-nav .menu-contact { display: none; }
.process a:focus-visible, .contact a:focus-visible, .button:focus-visible, .skip:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -5px;
}
.skip:focus { color: var(--navy); }
.project:focus-visible, .area-filters button:focus-visible, .quick-social a:focus-visible,
.reel-play:focus-visible, .reel-close:focus-visible, dialog .close:focus-visible,
.site-footer a:focus-visible, .motion-toggle:focus-visible,
.package summary:focus-visible, .faq summary:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--navy);
}
@media (max-width: 700px) {
  header .menu-toggle { min-height: 44px; align-items: center; }
  #site-nav.open {
    gap: 0;
    padding: 8px 20px max(12px, env(safe-area-inset-bottom));
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    overscroll-behavior: contain;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px #060f2280;
  }
  #site-nav a { display: flex; align-items: center; min-height: 44px; }
  #site-nav a + a { border-top: 1px solid var(--line); }
  #site-nav .menu-contact {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    border: 0;
    border-radius: 8px;
    background: var(--paper);
    color: var(--navy);
  }
  #site-nav a:focus-visible, .menu-toggle:focus-visible {
    outline: 2px solid var(--beige);
    outline-offset: -3px;
  }
  .ticker { padding: 12px 18px; letter-spacing: .08em; }
  .quick-social { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); }
  .quick-social a { width: 44px; height: 44px; }
  .quick-social a[aria-label="Acessar Instagram da Jus"] { display: none; }
  .site-footer .footer-top a { display: flex; align-items: center; min-height: 44px; margin-block: 2px; }
  .site-footer .footer-top .footer-brand a { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
}

.privacy-page { max-width: 820px; }
.privacy-page h1 { font-size: clamp(42px, 7vw, 72px); line-height: 1.05; margin: 0 0 16px; }
.privacy-page .privacy-date { color: var(--beige); font-size: 14px; margin-bottom: 28px; }
.privacy-page section { margin-top: 38px; }
.privacy-page h2 { font-size: clamp(26px, 4vw, 37px); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 14px; }
.privacy-page p { font-size: 17px; line-height: 1.6; }
.privacy-page a, .reel-privacy a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.reel-privacy { color: var(--beige); font-size: 15px; margin: 0 0 20px; }
.site-footer .footer-bottom { flex-wrap: wrap; }

.identity-value {
  border-top: 1px solid var(--line);
  background: linear-gradient(145deg, #172845, var(--navy) 78%);
}
.identity-value-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(24px, 7vw, 96px);
  padding-block: clamp(38px, 6vw, 72px);
}
.identity-value h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.identity-value h2 span { color: var(--beige); }
.identity-value p { margin: 0; font-size: 18px; line-height: 1.6; }
.identity-value p + p { margin-top: 12px; }
@media (max-width: 700px) {
  .identity-value-inner { grid-template-columns: 1fr; }
  .identity-value p { font-size: 17px; }
}

.partnership-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
}
.partnership-card h3 { margin: 1px 0 4px; font-size: 23px; }
.partnership-card p { color: var(--beige); }
.partner-logo { min-height: 134px; padding: 16px; }
.partner-logo-image { width: auto; max-width: min(100%, 232px); max-height: 82px; }
.partner-logo-image[src$="casag-goias-original.png"] { width: auto; max-width: min(100%, 260px); }

.testimonials .review-card {
  display: flex;
  flex-direction: column;
  padding: clamp(19px, 3vw, 28px);
  border-radius: 13px;
  background: #fff;
  border-color: #e0dad2;
  box-shadow: 0 8px 24px #07142625;
}
.testimonials .review-card figcaption strong { font-size: 17px; }
.testimonials .review-card figcaption .review-initials { background: #e9e1d7; }
.testimonials .review-card:nth-child(2) .review-initials { background: #dbe5ef; }
.testimonials .review-card blockquote { color: #26374c; line-height: 1.55; }
.review-original {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: auto;
  color: #314967;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.review-original:hover { color: #10203d; }
.reviews-more { margin-top: 20px; border: 0; }
.reviews-more > summary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--paper);
}
.reviews-more > summary::after { content: none; }
.reviews-more > summary > span::before { content: '+'; font-size: 20px; }
.reviews-more[open] > summary > span::before { content: '−'; }
.reviews-more > .reviews-grid { margin-top: 16px; }

.project-portfolio-link { display: flex; width: fit-content; margin-top: 22px; }
.drawing-caption-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.drawing-case .drawing-duration {
  flex: 0 0 auto;
  margin: 0;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.team-person img { border: 1px solid #c4bcb45c; }
.team-person h4 { font-size: 23px; }
.team-person p { max-width: 38ch; }
.package-elite {
  background: linear-gradient(155deg, #263751, var(--navy) 68%);
  border-color: #c4bcb477;
}
.package-detail:not([open]) .package-summary-close,
.package-detail[open] .package-summary-open { display: none; }

.project-portfolio-link[hidden] { display: none; }

.portfolio-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.portfolio-actions .text-link { display: inline-flex; align-items: center; min-height: 44px; }
.project-more { display: none; }

@media (max-width: 700px) {
  #projetos, #avaliacoes, #instagram { padding-block: 48px; }
  #home-projects { gap: 14px 10px; margin-block: 18px; }
  #home-projects:not(.projects-expanded) > :nth-child(n+5) { display: none; }
  #home-projects .project-title { margin-top: 6px; }
  #home-projects .project-title h3 { font-size: 15px; line-height: 1.2; }
  #home-projects .circle-arrow { width: 27px; height: 27px; font-size: 13px; }
  .project-more { display: inline-flex; min-height: 44px; padding: 9px 13px; }
  .portfolio-actions { gap: 4px 15px; }
  .portfolio-actions .text-link { font-size: 14px; }
  .craft-content { padding-block: 48px; }
  .craft-layout, .craft-stages { gap: 10px; }
  .craft-stage { padding: 12px; }
  .craft-stage p { font-size: 14px; line-height: 1.45; }
  .drawing-feature { max-width: 330px; }
  .drawing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .drawing-case figcaption { padding: 8px; }
  .drawing-caption-heading { flex-wrap: wrap; gap: 2px 8px; font-size: 14px; }
  .drawing-case figcaption > span { font-size: 13px; line-height: 1.4; }
  .reviews-grid { gap: 10px; }
  .testimonials .review-card { padding: 12px 14px; }
  .testimonials .review-card figcaption { gap: 9px; }
  .testimonials .review-card figcaption .review-initials { width: 34px; height: 34px; }
  .testimonials .review-card figcaption strong { font-size: 15px; }
  .testimonials .review-card blockquote { font-size: 15px; line-height: 1.45; }
  .reviews-more { margin-top: 12px; }
  .reels-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reel-cover { padding: 8px; }
  .reel-play { gap: 5px; min-height: 44px; padding: 5px 8px; font-size: 13px; }
  .reel-play-icon { width: 24px; height: 24px; }
  .reel-details { padding-top: 9px; }
  .reel-details h3 { font-size: 17px; line-height: 1.2; }
  .reel-details p { margin-bottom: 4px; font-size: 13px; }
  .reel-details .text-link { display: inline-flex; min-height: 44px; align-items: center; font-size: 13px; }
}

.area-select { display: none; }

#case-dialog, #project-dialog, .reel-dialog { overscroll-behavior: contain; }
.case-dialog-actions, .project-dialog-actions {
  position: sticky;
  top: -1px;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}
#case-dialog .close, #project-dialog .close {
  pointer-events: auto;
  color: var(--paper);
  background: #10203d;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
}

@media (max-width: 700px) {
  .portfolio-page { padding-block: 42px 54px; }
  .portfolio-page h1 { font-size: clamp(38px, 10.6vw, 65px); }
  .portfolio-intro { font-size: 16px; }
  .area-filters { display: none; }
  .area-select:not([hidden]) {
    display: grid;
    gap: 6px;
    margin-top: 20px;
    color: var(--paper);
    font-size: 15px;
  }
  .area-select select {
    width: 100%;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #c4bcb477;
    border-radius: 8px;
    background: #142742;
    color: var(--paper);
    font: inherit;
    font-size: 16px;
    color-scheme: dark;
  }
  #result-count { margin: 10px 0 14px; font-size: 14px; }
  .case-grid { gap: 15px 10px; }
  .case-card .project-title { margin-top: 6px; }
  .case-card .project-title h3 { font-size: 15px; line-height: 1.2; }
  .case-card .project-title span { margin-top: 3px; }
  #case-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 24px); padding: 12px; }
  #case-dialog .dialog-copy { padding-block: 14px 10px; }
  #case-dialog .dialog-copy h2 { font-size: clamp(25px, 7.5vw, 36px); }
}

@media (max-width: 700px) {
  #pacotes { padding-block: 48px; }
  #pacotes .section-head { margin-bottom: 14px; }
  #pacotes .package-guide { margin-bottom: 16px; }
  .packages { gap: 12px; }
  .package { padding: 14px; }
  .package-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 3px 10px;
    margin-bottom: 8px;
  }
  .package-heading .badge { grid-column: 1 / -1; padding-bottom: 0; }
  .package-heading h3 { margin: 0; font-size: clamp(21px, 6vw, 28px); }
  .package-heading .price { margin: 0; font-size: clamp(24px, 7vw, 32px); white-space: nowrap; }
  .package-heading .price small { font-size: 13px; }
  .package > p { max-width: none; margin: 0; font-size: 14px; }
  .package > ul { margin: 10px 0; }
  .package > ul li { padding-block: 4px; font-size: 14px; }
  .package-detail dl { margin-top: 8px; }
  .package-detail dl > div { padding-block: 9px; }
  .package .button { min-height: 44px; margin-top: 8px; padding-block: 10px; }
}

.hero .hero-project-count {
  margin: 20px 0 0;
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.4;
  color: var(--paper);
}
.hero-project-count strong { color: inherit; font-weight: 700; }
.hero .hero-project-count + .hero-foot { margin-top: 12px; }
#pacotes .packages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#pacotes .package .package-inclusions { margin: 16px 0; }
#pacotes .package-inclusions li { font-size: 15px; line-height: 1.5; }
#pacotes .package-inclusions strong { font-weight: 700; }
@media (max-width: 700px) {
  #pacotes .packages { grid-template-columns: minmax(0, 1fr); }
}
