/* ── case-castelo-borges — Orb Digital Branding (site-v3) ── */


:root {
  --orb:      #003FFF;
  --orb2:     #2255FF;
  --orb-glow: rgba(0,63,255,0.12);
  --blue:     #0055FF;
  --light:    #0a0e24;
  --lighter:  #000820;
  --border:   rgba(255,255,255,.06);
  --text:     #f0ede8;
  --mid:      rgba(240,237,232,.75);
  --muted:    rgba(240,237,232,.65);
  --white:    #f0ede8;
  --serif:    'Ubuntu', Helvetica, Arial, sans-serif;
  --body:     'IBM Plex Sans', sans-serif;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  background:#000820;
  color:var(--text);
  font-family:var(--body);
  font-weight:300;
  line-height:1.7;
  overflow-x:hidden;
}

/* ── HERO — BG IMAGE ── */
.hero{
  min-height:100vh;
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:flex-end;
  padding:120px 48px 80px;
}
.hero-bg{
  position:absolute;inset:0;
  background:linear-gradient(145deg, #0c1430 0%, #000820 100%);
}
.hero-bg img{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;
  display:block;
  opacity:0.55;
  filter:saturate(0.6);
}
.hero-bg::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(to top, var(--bg, #000820) 0%, rgba(0,8,32,0.5) 40%, rgba(0,8,32,0.3) 100%);
  pointer-events:none;
}
.hero-content{position:relative;z-index:2;max-width:900px;}
.hero-client{
  font-size:9px;letter-spacing:0.2em;text-transform:uppercase;
  color:rgba(240,237,232,0.4);margin-bottom:12px;
}
.hero-title{
  font-family:var(--serif);
  font-size:clamp(26px,3.8vw,62px);
  font-weight:300;line-height:1.05;
  letter-spacing:-0.02em;
  margin-bottom:20px;
}
.hero-title em{font-style:italic;color:rgba(255,255,255,0.7)}
.hero-sub{
  font-size:14px;font-weight:300;color:rgba(255,255,255,0.55);
  max-width:640px;line-height:1.8;
}
.meta-strip{
  display:flex;gap:0;border-bottom:1px solid rgba(255,255,255,.06);
  margin-top:20px;padding-top:20px;
}
.meta-item{
  flex:1;padding:12px 20px 12px 0;
  border-right:1px solid rgba(255,255,255,.06);
}
.meta-item:last-child{border-right:none}
.meta-label{
  font-size:7px;font-weight:600;letter-spacing:0.2em;
  text-transform:uppercase;color:rgba(240,237,232,.4);
  display:block;margin-bottom:8px;
}
.meta-value{
  font-family:var(--serif);font-size:14px;font-weight:300;
}

/* ── CONTENT WRAP — 1160px like site ── */
.content-wrap{max-width:1160px;margin:0 auto;padding:0 56px;}
section{padding:100px 0;border-top:1px solid var(--border);}
.section-label{
  display:block;font-size:9px;font-weight:600;letter-spacing:0.18em;
  text-transform:uppercase;color:var(--orb);margin-bottom:16px;
}
h2{
  font-family:var(--serif);
  font-size:clamp(26px,3.5vw,42px);
  font-weight:300;line-height:1.2;
  color:var(--text);margin-bottom:20px;
  letter-spacing:-0.02em;
}
h2 em{font-style:italic;color:var(--orb);}
h2 strong{font-weight:600;}
p{margin-bottom:16px;color:var(--mid);}
p:last-child{margin-bottom:0;}

/* ── PARALLAX DIVIDER ── */
.parallax-divider{
  height:220px;
  position:relative;
  overflow:hidden;
}
.parallax-inner{
  position:absolute;inset:-40px 0;
  background:linear-gradient(135deg, #400000 0%, #8e0000 100%);
  transform:translateY(0);
  will-change:transform;
}
.parallax-inner img{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;
  opacity:0.45;
  filter:saturate(0.7);
}
.parallax-text{
  position:absolute;inset:0;
  display:flex;align-items:center;justify-content:center;
  z-index:2;
}
.parallax-text span{
  font-family:var(--serif);
  font-size:clamp(20px,3vw,32px);
  font-weight:300;font-style:italic;
  color:rgba(255,255,255,0.7);
  text-align:center;max-width:600px;padding:0 32px;
}

/* ── CHALLENGE GRID ── */
.challenge-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:32px;
}
.challenge-card{
  background:var(--light);
  border:1px solid var(--border);
  border-radius:12px;
  padding:28px;
  transition:transform .3s, box-shadow .3s;
}
.challenge-card:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 40px rgba(0,63,255,0.08);
}
.challenge-icon{
  width:28px;height:3px;border-radius:2px;
  background:var(--orb);opacity:0.4;margin-bottom:16px;
}
.challenge-title{font-size:12px;font-weight:600;color:var(--text);margin-bottom:6px;}
.challenge-desc{font-size:12px;color:var(--muted);line-height:1.55;margin:0;}

/* ── INSIGHT BOX ── */
.insight{
  background:var(--light);
  border-left:3px solid var(--orb);
  border-radius:0 10px 10px 0;
  padding:28px 32px;
  margin:36px 0;
}
.insight-label{font-size:9px;font-weight:600;letter-spacing:0.16em;text-transform:uppercase;color:var(--orb);margin-bottom:10px;display:block;}
.insight p{font-size:14px;color:var(--mid);}

/* ── BEFORE / AFTER SLIDER ── */
.ba-section{margin-top:36px;}
.ba-container{
  position:relative;
  width:100%;
  aspect-ratio:16/10;
  border-radius:12px;
  overflow:hidden;
  cursor:col-resize;
  user-select:none;
  border:1px solid var(--border);
  background:var(--light);
}
.ba-side{
  position:absolute;top:0;bottom:0;
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;
}
.ba-side.before{left:0;width:50%;background:var(--light);z-index:1;overflow:hidden;}
.ba-side.after{left:0;right:0;width:100%;background:rgba(0,63,255,0.04);z-index:0;}
.ba-side.after img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;}
.ba-side.before img{position:absolute;top:0;left:0;height:100%;object-fit:cover;}
.ba-side .ba-placeholder-inner{
  font-size:12px;color:var(--muted);text-align:center;padding:24px;line-height:1.6;
}
.ba-divider{
  position:absolute;top:0;bottom:0;left:50%;
  width:3px;background:var(--orb);
  z-index:5;transform:translateX(-50%);
  pointer-events:none;
}
.ba-handle{
  position:absolute;top:50%;left:50%;
  transform:translate(-50%,-50%);
  width:40px;height:40px;border-radius:50%;
  background:var(--orb);
  display:flex;align-items:center;justify-content:center;
  z-index:6;pointer-events:none;
  box-shadow:0 2px 12px rgba(0,63,255,0.4);
}
.ba-handle svg{width:18px;height:18px;fill:#fff;}
.ba-tag{
  position:absolute;top:14px;z-index:4;
  padding:4px 12px;border-radius:14px;
  font-size:12px;font-weight:600;letter-spacing:0.12em;text-transform:uppercase;
}
.ba-tag.before{left:14px;background:rgba(0,0,0,0.5);color:rgba(255,255,255,0.8);}
.ba-tag.after{right:14px;background:var(--orb);color:#fff;}
.ba-captions{
  display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:16px;
}
.ba-caption{font-size:13px;color:var(--muted);line-height:1.6;}
.ba-caption strong{color:var(--text);font-weight:500;}

/* ── DARK SECTION (Abordagem & Entregas) ── */
.dark-section{
  padding:100px 56px;
  background:linear-gradient(135deg, #0033DD 0%, #1a3fcc 30%, #3344bb 55%, #5533aa 80%, #6a2fa0 100%);
  border-top:none;
  position:relative;overflow:hidden;
}
.dark-section .section-label{color:rgba(255,255,255,0.45);}
.dark-section h2{color:#fff;}
.dark-section h2 em{color:rgba(255,255,255,0.7);}
.dark-section p{color:rgba(255,255,255,0.65);}
.dark-inner{max-width:1160px;margin:0 auto;}

/* ── APPROACH STEPS (dark) ── */
.approach-steps{margin-top:32px;display:flex;flex-direction:column;gap:28px;}
.step{
  display:flex;gap:20px;align-items:flex-start;
  opacity:0;transform:translateX(-20px);
  transition:all .5s cubic-bezier(.16,1,.3,1);
}
.step.visible{opacity:1;transform:translateX(0);}
.step-num{
  min-width:36px;height:36px;border-radius:50%;
  background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.2);
  display:flex;align-items:center;justify-content:center;
  font-size:12px;font-weight:600;color:rgba(255,255,255,0.8);
  position:relative;top:2px;
  transition:background .3s, color .3s, transform .3s;
}
.step:hover .step-num{background:rgba(255,255,255,0.2);transform:scale(1.08);}
.step-content h4{font-size:13px;font-weight:600;color:#fff;margin-bottom:4px;}
.step-content p{font-size:14px;color:rgba(255,255,255,0.6);line-height:1.6;margin:0;}
.step-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;}
.step-tags span{
  padding:3px 10px;border-radius:16px;
  font-size:9px;font-weight:500;letter-spacing:0.04em;
  background:rgba(255,255,255,0.06);color:rgba(255,255,255,0.7);
  border:1px solid rgba(255,255,255,0.12);
}

/* ── JOURNEY CAROUSEL ── */
.journey-wrap{margin-top:32px;position:relative;}
.journey-carousel{
  display:flex;gap:16px;
  overflow:hidden;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
}
.journey-card{
  min-width:280px;max-width:300px;
  scroll-snap-align:start;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  padding:28px 24px;
  flex-shrink:0;
  transition:border-color 0.2s, transform .3s;
  cursor:grab;
}
.journey-card:active{cursor:grabbing;}
.journey-card:hover{border-color:rgba(0,63,255,0.4);transform:translateY(-3px);}
.journey-year{
  font-family:var(--serif);
  font-size:41px;font-weight:700;
  color:rgba(0,63,255,0.25);
  margin-bottom:4px;line-height:1;
}
.journey-title{font-size:13px;font-weight:600;letter-spacing:0.1em;text-transform:uppercase;color:var(--orb2);margin-bottom:12px;}
.journey-items{list-style:none;display:flex;flex-direction:column;gap:8px;}
.journey-items li{font-size:13px;color:rgba(240,237,232,.75);line-height:1.5;padding-left:14px;position:relative;}
.journey-items li::before{content:'';position:absolute;left:0;top:8px;width:5px;height:5px;border-radius:50%;background:rgba(0,63,255,0.45);}
.journey-img-placeholder{
  width:100%;aspect-ratio:16/10;
  border-radius:8px;margin-top:16px;
  background:rgba(255,255,255,.03);border:1px dashed rgba(255,255,255,.1);
  display:flex;align-items:center;justify-content:center;
  font-size:13px;color:var(--muted);text-align:center;padding:12px;
}
.journey-img{
  width:100%;aspect-ratio:16/10;
  border-radius:8px;margin-top:16px;
  object-fit:cover;display:block;
}
.carousel-arrows{
  display:flex;gap:8px;margin-top:20px;justify-content:flex-end;
}
.carousel-arrow{
  width:40px;height:40px;border-radius:50%;
  border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04);
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;transition:border-color .2s, background .2s;
  color:var(--muted);
}
.carousel-arrow:hover{border-color:var(--orb);color:var(--orb);background:rgba(0,63,255,0.1);}
.carousel-arrow svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;}

/* ── DELIVERABLES MASONRY (dark) ── */
.deliverables-masonry{
  display:grid;
  grid-template-columns:1fr 1fr;
  grid-auto-rows:auto;
  gap:16px;
  margin-top:36px;
}
.deliverable{
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.1);
  border-radius:12px;
  padding:28px;
  transition:transform .3s, background .3s;
}
.deliverable:hover{
  transform:translateY(-3px);
  background:rgba(255,255,255,0.1);
}
.deliverable.featured{
  grid-column:1 / -1;
  background:rgba(255,255,255,0.08);
  border-color:rgba(255,255,255,0.15);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  align-items:center;
}
.deliverable h4{font-size:12px;font-weight:600;color:#fff;margin-bottom:8px;}
.deliverable p{font-size:13px;color:rgba(255,255,255,0.6);line-height:1.6;margin:0;}
.deliverable a{color:rgba(255,255,255,0.7);border-bottom-color:rgba(255,255,255,0.3);}
.deliverable-placeholder{
  width:100%;aspect-ratio:16/10;border-radius:8px;margin-top:14px;
  background:rgba(255,255,255,0.04);border:1px dashed rgba(255,255,255,0.15);
  display:flex;align-items:center;justify-content:center;
  font-size:13px;color:rgba(255,255,255,0.4);text-align:center;padding:12px;
}
.deliverable.featured .deliverable-placeholder{margin-top:0;aspect-ratio:4/3;}
.deliverable-img{
  width:100%;aspect-ratio:16/10;border-radius:8px;margin-top:14px;
  object-fit:cover;display:block;
}
.deliverable.featured .deliverable-img{margin-top:0;aspect-ratio:4/3;}

/* ── METRICS ── */
.metrics-band{
  background:var(--orb);
  border-radius:20px;
  padding:56px 48px;
  margin:56px 0;
  position:relative;
  overflow:hidden;
}
.metrics-band::before{
  content:'';position:absolute;
  width:400px;height:400px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  top:-100px;right:-80px;
}
.metrics-band .section-label{color:rgba(255,255,255,0.5);}
.metrics-band h2{color:#fff;}
.metrics-band h2 em{color:rgba(255,255,255,0.7);}
.metrics-band > p{color:rgba(255,255,255,0.65);}
.metrics-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:36px;
}
.metric-card{
  text-align:center;padding:32px 16px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.1);
  border-radius:12px;
  transition:background .3s;
}
.metric-card:hover{background:rgba(255,255,255,0.1);}
.metric-value{
  font-family:var(--serif);
  font-size:clamp(26px,3.5vw,36px);font-weight:700;
  color:#fff;margin-bottom:4px;
}
.metric-label{font-size:13px;color:rgba(255,255,255,0.7);letter-spacing:0.04em;}
.metric-context{font-size:12px;color:rgba(255,255,255,0.35);margin-top:6px;}
.organic-badge{
  display:inline-block;margin-top:24px;
  padding:6px 16px;border-radius:20px;
  font-size:12px;font-weight:500;letter-spacing:0.06em;
  color:rgba(255,255,255,0.85);
  background:rgba(255,255,255,0.1);
  border:1px solid rgba(255,255,255,0.2);
}

/* ── BUSINESS IMPACT ── */
.impact-band{
  margin:70px auto 0;
  padding:54px 48px;
  border-radius:16px;
  background:linear-gradient(135deg,#000D99 0%,#0020CC 35%,#003FFF 100%);
  color:#fff;
  text-align:center;
  position:relative;
  overflow:hidden;
  box-shadow:0 24px 60px rgba(0,32,204,0.25);
}
.impact-band::before{
  content:"";position:absolute;inset:0;
  background:radial-gradient(circle at 80% 20%,rgba(255,255,255,0.12),transparent 50%);
  pointer-events:none;
}
.impact-band .impact-label{
  display:inline-block;font-size:13px;letter-spacing:0.22em;text-transform:uppercase;
  color:rgba(255,255,255,0.7);margin-bottom:22px;
  padding:5px 14px;border-radius:20px;
  background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.18);
}
.impact-band .impact-number{
  font-family:var(--serif);font-weight:300;
  font-size:clamp(64px,9vw,120px);line-height:1;letter-spacing:-0.02em;
  margin:8px 0 18px;
}
.impact-band .impact-number em{font-style:italic;color:#cfd8ff;}
.impact-band .impact-headline{
  font-family:var(--serif);font-weight:400;
  font-size:clamp(22px,2.4vw,30px);line-height:1.35;
  color:#fff;
  max-width:720px;margin:0 auto 18px;
}
.impact-band .impact-headline em{color:#cfd8ff;font-style:italic;}
.impact-band .impact-sub{
  font-size:12px;color:rgba(255,255,255,0.8);line-height:1.6;
  max-width:640px;margin:0 auto;
}
@media(max-width:640px){
  .impact-band{padding:42px 26px;}
}

/* ── QUOTE ── */
.quote-section{
  padding:80px 0;
  position:relative;
}
.quote-mark{
  font-family:var(--serif);
  font-size:119px;font-weight:700;
  color:rgba(0,63,255,0.06);
  line-height:1;position:absolute;top:48px;left:-10px;
}
.quote-text{
  font-family:var(--serif);
  font-size:clamp(22px,3vw,30px);
  font-weight:300;font-style:italic;
  color:var(--text);line-height:1.5;
  margin-bottom:0;
  position:relative;z-index:1;
}
.quote-author{
  margin-top:22px;font-size:14px;letter-spacing:0.06em;
  color:var(--muted);font-weight:500;position:relative;z-index:1;
}
.quote-author strong{color:var(--text);font-weight:600;}

/* ── PILAR TAGS ── */
.pilar-section{padding:48px 0;border-top:1px solid var(--border);}
.pilar-title{font-size:15px;font-weight:600;letter-spacing:0.14em;text-transform:uppercase;color:var(--muted);margin-bottom:16px;}
.pilar-tags{display:flex;gap:8px;flex-wrap:wrap;}
.pilar-tag{
  padding:8px 20px;border-radius:24px;
  font-size:12px;font-weight:500;letter-spacing:0.04em;
  background:rgba(0,63,255,0.07);color:var(--orb);
  border:1px solid rgba(0,63,255,0.15);
  transition:background .3s, color .3s;
}
.pilar-tag:hover{background:var(--orb);color:#fff;}

/* ── CTA ── */
.cta-section{
  background:linear-gradient(135deg, var(--orb) 0%, #001A66 100%);
  border-radius:20px;
  padding:64px;
  text-align:center;
  margin:56px 0 0;
  position:relative;overflow:hidden;
}
.cta-section::before{
  content:'';position:absolute;
  width:500px;height:500px;border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  bottom:-200px;left:-100px;
}
.cta-section h3{
  font-family:var(--serif);
  font-size:clamp(26px,3.5vw,38px);
  font-weight:600;color:#fff;
  margin-bottom:14px;
  position:relative;z-index:1;
}
.cta-section p{color:rgba(255,255,255,0.75);margin-bottom:32px;font-size:12px;position:relative;z-index:1;}
.cta-section .cta-sub{font-size:14px;color:rgba(255,255,255,0.45);margin-top:24px;margin-bottom:0;}
.cta-section .cta-sub a{color:rgba(255,255,255,0.6);text-decoration:none;border-bottom:1px solid rgba(255,255,255,0.25);transition:color .2s;}
.cta-section .cta-sub a:hover{color:#fff;}
.btn-white{
  display:inline-block;
  padding:16px 36px;
  background:#fff;color:var(--orb);
  border-radius:8px;
  font-size:12px;font-weight:600;letter-spacing:0.04em;
  text-decoration:none;transition:transform .2s, box-shadow .2s;
  position:relative;z-index:1;
}
.btn-white:hover{transform:translateY(-2px);box-shadow:0 8px 30px rgba(0,0,0,0.15);}

/* ── FOOTER (site) ── */
footer{
  padding:36px 56px;
  display:flex;align-items:center;justify-content:space-between;
  border-top:1px solid var(--border);
  background:var(--lighter);
  flex-wrap:wrap;gap:16px;
}
.footer-logo{
  display:flex;align-items:center;gap:12px;
}
.footer-logo img{height:38px;width:auto;opacity:0.9;}
.footer-logo-name{
  font-family:'Ubuntu',sans-serif;
  font-size:15px;font-weight:500;
  color:var(--mid);letter-spacing:0.02em;line-height:1.2;
}
.footer-copy{font-size:12px;color:var(--muted);}
.footer-social{display:flex;align-items:center;gap:16px;}
.footer-social-link{
  color:var(--muted);transition:color .2s;
  display:flex;align-items:center;
}
.footer-social-link:hover{color:var(--orb);}
.footer-assoc{display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;}
.footer-assoc-label{font-size:8px;letter-spacing:0.08em;text-transform:uppercase;color:var(--muted);white-space:nowrap;}
.footer-assoc-logos{display:flex;align-items:center;gap:10px;}
.footer-assoc-logo{height:18px;width:auto;opacity:0.55;filter:brightness(0) invert(1);transition:opacity .3s;}
.footer-assoc-logo:hover{opacity:0.55;}
.footer-right{display:flex;align-items:center;gap:18px;}

/* ── SCROLL REVEAL ── */
.reveal{opacity:0;transform:translateY(28px);transition:all .7s cubic-bezier(.16,1,.3,1);}
.reveal.visible{opacity:1;transform:translateY(0);}
.reveal-delay-1{transition-delay:0.1s;}
.reveal-delay-2{transition-delay:0.2s;}

/* ── RESPONSIVE ── */
@media(max-width:768px){
  /* Hero empilhado mobile */
  .hero{height:auto;flex-direction:column;align-items:stretch;padding:0}
  .hero-bg{position:relative;height:45vw;min-height:200px;max-height:320px}
  .hero-bg img{width:100%;height:100%;object-fit:cover;display:block;opacity:0.55;filter:saturate(0.6)}
  .hero-bg::after{background:linear-gradient(to top, var(--bg, #000820) 0%, transparent 60%)}
  .hero-content{padding:32px 24px 48px}
    .page-hero{padding:100px 24px 60px;min-height:100svh;}
  .content-wrap{padding:0 24px;}
  .dark-section{padding:80px 24px;}
  .challenge-grid,.metrics-grid{grid-template-columns:1fr;}
  .deliverables-masonry{grid-template-columns:1fr;}
  .deliverable.featured{grid-template-columns:1fr;}
  .ba-captions{grid-template-columns:1fr;}
  .cta-section{padding:48px 24px;}
  .parallax-divider{height:160px;}
  footer{padding:24px;flex-direction:column;gap:12px;text-align:center;}
  .journey-card{min-width:260px;}
  .metrics-grid{grid-template-columns:1fr 1fr;}
}
@media(max-width:600px){
  body{font-size:15px;}
  p,.challenge-desc,.ba-caption,.deliverable p,.step-content p{font-size:15px;}
  .metrics-grid{grid-template-columns:1fr;}
}
