/* Visual storytelling and project carousel, in the existing WS2 palette. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.hero-showcase{height:575px}
.hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .7s cubic-bezier(.22,1,.36,1),visibility .7s;pointer-events:none}
.hero-slide.is-active{opacity:1;visibility:visible;pointer-events:auto}
.hero-slide .hero-browser{top:95px}
.hero-slide .phone-frame{bottom:132px}
.showcase-caption{bottom:67px;gap:22px;line-height:1.5}
.showcase-caption strong{font-weight:500;color:var(--ink);font-size:.875rem}
.caption-number{font-variant-numeric:tabular-nums;font-size:.875rem}
.carousel-controls[hidden]{display:none}
.carousel-controls{position:absolute;left:21px;right:4px;bottom:0;z-index:3;display:flex;align-items:center;gap:12px;min-height:44px}
.carousel-controls>button{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:1px solid #9bacbd;border-radius:50%;background:#ffffff75;line-height:1;font-size:1.2rem;transition:background .2s,border-color .2s}
.carousel-controls>button:hover{background:white;border-color:var(--blue)}
.carousel-controls .carousel-pause{width:auto;border-radius:0;border:0;background:none;padding:0 6px;font-size:.75rem;text-decoration:underline;text-underline-offset:4px;margin-left:auto;line-height:1.5}
.carousel-controls .carousel-pause:disabled{cursor:default;text-decoration:none;color:var(--muted)}
.carousel-dots{display:flex;gap:4px;align-items:center}
.carousel-dots button{width:30px;height:40px;border:0;background:none;padding:0;position:relative}
.carousel-dots button::after{content:'';position:absolute;width:7px;height:7px;border-radius:50%;background:#a0b1bf;left:50%;top:50%;transform:translate(-50%,-50%)}
.carousel-dots button[aria-pressed=true]::after{background:var(--blue);box-shadow:0 0 0 4px #165bea16}
.carousel-progress{position:absolute;height:2px;left:21px;right:10px;bottom:52px;background:#b9c9d780;overflow:hidden}
.carousel-progress span{display:block;width:100%;height:100%;background:var(--blue);transform:scaleX(0);transform-origin:left}
.carousel-progress.is-running span{animation:hero-progress var(--hero-duration,6s) linear forwards}
@keyframes hero-progress{to{transform:scaleX(1)}}
.tech-strip{background:var(--ink);color:white;padding:42px 0 30px;border-bottom:1px solid #ffffff19}
.tech-strip>.container{display:grid;gap:30px}
.tech-title{margin:0;font-size:.75rem;font-weight:400;color:#b1c3d5;letter-spacing:.09em;text-transform:uppercase;text-align:center;line-height:1.7}
.tech-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.tech-group{min-width:0;padding-right:38px}
.tech-group+.tech-group{padding:0 0 0 38px;border-left:1px solid #ffffff24}
.tech-group-title{margin:0 0 15px;font-size:.6875rem;color:var(--turquoise);letter-spacing:.075em;text-transform:uppercase;line-height:1.6}
.tech-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 24px;align-items:start}
.tech-list li{min-width:0;font-size:1.65rem;letter-spacing:-.045em;line-height:1.3;font-weight:500}
.tech-list a{display:inline-flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:44px;max-width:100%;color:inherit;text-decoration:none;overflow-wrap:anywhere;transition:color .2s ease}
.tech-list a:hover{color:var(--turquoise)}
.tech-list a:focus-visible{outline:2px solid var(--turquoise);outline-offset:6px;border-radius:2px}
.tech-list small{font-size:.625rem;letter-spacing:.015em;font-weight:400;line-height:1.7;color:#b1c3d5}
.tech-note{margin:0;text-align:center;font-size:.75rem;line-height:1.8;color:#b1c3d5}
.tech-note span{font-size:.6875rem;color:#9ab1c8}
.section-end{display:flex;justify-content:space-between;gap:35px;align-items:center;margin-top:36px}
.section-end .section-note{margin:0;max-width:720px}
.section-end .button{flex:none}
.experience-section{background:#071829;color:#fff;position:relative;padding-top:110px;padding-bottom:92px}
.experience-section .section-heading h2{font-size:clamp(2.8rem,5.2vw,4.8rem);line-height:1.04}
.experience-section .section-heading>p{color:#b0bfd0;max-width:365px}
.experience-grid{display:grid;grid-template-columns:1.45fr 1fr 1fr;gap:24px}
.experience-card{min-width:0}
.experience-visual{height:370px;position:relative;border:1px solid #ffffff15;border-radius:9px;overflow:hidden}
.visual-kicker{position:absolute;left:22px;right:18px;top:22px;font-size:.75rem;line-height:1.6;color:#d1e1ec;z-index:2}
.identity-visual{background:radial-gradient(ellipse at 70% 100%,#165bea55,transparent 72%),#102b43}
.identity-browser{position:absolute;top:89px;left:32px;width:112%;border-radius:6px;overflow:hidden;transform:rotate(-6deg);box-shadow:0 30px 70px #0006;transition:transform .6s cubic-bezier(.22,1,.36,1)}
.identity-browser img{width:100%;aspect-ratio:1.45;object-fit:cover;object-position:top}
.experience-card:hover .identity-browser{transform:rotate(-3deg) translateY(-8px)}
.visual-tag{position:absolute;bottom:23px;left:22px;z-index:2;background:#0b203be8;border:1px solid #5d779866;color:#e4edf6;border-radius:30px;padding:8px 13px;font-size:.6875rem;line-height:1.5;max-width:calc(100% - 44px)}
.responsive-visual{background:radial-gradient(ellipse at 70% 50%,#11c6ce35,transparent 65%),#0c2435}
.responsive-phone{position:absolute;top:74px;left:50%;width:150px;height:323px;border:5px solid #071320;border-radius:25px;overflow:hidden;transform:translateX(-50%) rotate(7deg);box-shadow:0 20px 45px #0005;background:var(--ice);transition:transform .6s cubic-bezier(.22,1,.36,1),box-shadow .6s ease}
.responsive-phone img{width:100%;height:100%;object-fit:cover;object-position:top;border-radius:18px}
.contact-visual{background:radial-gradient(circle at 50% 45%,#165bea50,transparent 65%),#0a2035}
.contact-orbit{position:absolute;left:50%;top:66px;transform:translateX(-50%);width:220px;height:220px;border:1px solid #617f9b55;border-radius:50%;display:grid;place-items:center}
.contact-orbit:before{content:'';position:absolute;inset:29px;border:1px solid #617f9b77;border-radius:50%}
.orbit-center{position:relative;width:75px;height:75px;display:grid;place-items:center;border-radius:50%;font-size:2.5rem;line-height:1;background:#11c6ce;color:#071829;box-shadow:0 0 45px #11c6ce30;animation:ws2-contact-glow 3.6s ease-in-out infinite}
.orbit-center::after{content:"";position:absolute;inset:-1px;border:1px solid #75f3ef88;border-radius:inherit;opacity:0;animation:ws2-contact-ring 3.6s ease-out infinite;pointer-events:none}
@keyframes ws2-contact-glow{0%,100%{box-shadow:0 0 25px #11c6ce25;transform:scale(1)}50%{box-shadow:0 0 42px #11c6ce66,0 0 12px #8dfcf66b;transform:scale(1.045)}}
@keyframes ws2-contact-ring{0%,22%{opacity:0;transform:scale(1)}28%{opacity:.65}75%,100%{opacity:0;transform:scale(1.5)}}
.orbit-word{position:absolute;font-size:.6875rem;padding:7px 12px;border:1px solid #7189a17a;border-radius:22px;background:#102b43;line-height:1.5;z-index:1}
.orbit-one{top:2px;left:-10px}.orbit-two{right:-8px;bottom:14px}
.visual-contact-button{position:absolute;left:22px;right:22px;bottom:24px;display:flex;justify-content:space-between;align-items:center;padding:13px 16px;background:#fff;color:var(--ink);border-radius:4px;font-size:.8125rem;font-weight:600;min-height:48px}
.visual-contact-button:hover{background:#d8fbfc}
.visual-contact-button>span{animation:ws2-contact-arrow 3.6s ease-in-out infinite}
@keyframes ws2-contact-arrow{0%,100%{color:var(--ink);text-shadow:0 0 0 transparent}50%{color:var(--blue);text-shadow:0 0 11px #11c6ce88}}
.plan-card{transition:transform .38s cubic-bezier(.2,.85,.3,1.2),box-shadow .38s ease,border-color .38s ease}
@media(hover:hover) and (pointer:fine){
 .experience-card:hover .responsive-phone{transform:translateX(-50%) translateY(-6px) rotate(0deg);box-shadow:0 26px 55px #0006}
 .plan-card:hover{transform:translateY(-7px);box-shadow:0 20px 42px #10203516,0 0 0 1px #165bea16;border-color:#87a8d8}
}
.plan-card:focus-within{transform:translateY(-7px);box-shadow:0 20px 42px #10203516,0 0 0 1px #165bea16;border-color:#87a8d8}
.experience-card h3{font-size:1.2rem;line-height:1.3;letter-spacing:-.025em;margin-top:26px}
.experience-card>p{font-size:.875rem;color:#adbdce;line-height:1.7;margin-top:12px;max-width:360px}
.experience-end{display:flex;gap:30px;justify-content:space-between;align-items:center;padding-top:42px;margin-top:42px;border-top:1px solid #ffffff24}
.experience-end>p{font-size:1rem;color:#b6c8d9;max-width:450px}
.experience-end .button{flex:none;border-radius:30px;padding-inline:28px}
.story-section{background:#073445;color:#fff;position:relative;min-height:var(--story-height,350svh);--story-shift:0px}
.story-pinned{position:sticky;top:0;height:100svh;min-height:620px;overflow:hidden}
.story-layout{height:100%;display:grid;grid-template-columns:1.03fr 1fr;gap:60px;align-items:center;padding-block:68px}
.story-copy{position:relative;z-index:2;min-width:0}
.story-copy h2{font-size:clamp(2.7rem,4.8vw,4.8rem);line-height:1.05;letter-spacing:-.055em}
.story-copy h2>span{color:#70e0df}
.story-copy>p:not(.eyebrow){color:#b7cfd5;font-size:1rem;line-height:1.75;max-width:400px;margin:28px 0}
.story-copy .button{border-radius:30px;white-space:normal;text-align:left;justify-content:space-between}
.story-caption{display:block;color:#8db9c4;font-size:.75rem;margin-top:22px}
.story-media{height:100%;max-height:670px;position:relative;min-width:0;overflow:hidden;border-radius:14px;border:1px solid #9fdae923;background:#092432;box-shadow:0 36px 70px #00192435;isolation:isolate}
.story-media:before,.story-media:after{position:absolute;content:'';left:0;right:0;height:16%;z-index:2;pointer-events:none}
.story-media:before{top:0;background:linear-gradient(#092432,transparent)}
.story-media:after{bottom:0;background:linear-gradient(transparent,#092432)}
.story-media:focus-visible{outline:2px solid #70e0df;outline-offset:4px}
.story-belt{display:grid;gap:30px;width:calc(100% + 32px);margin-left:-16px;padding:55px 0;transform:translate3d(0,var(--story-shift),0);will-change:transform}
.story-screen{overflow:hidden;border-radius:7px;box-shadow:0 15px 35px #0005;border:5px solid #d4e6e6;background:white;transform:rotate(-5deg)}
.story-screen img{display:block;width:100%;height:auto;aspect-ratio:1.65;object-fit:cover;object-position:top}
.story-screen:nth-child(2n){width:90%;margin-left:28px;transform:rotate(-4deg)}.story-screen:nth-child(3n){width:94%;margin-left:6px}
.story-media-label{position:absolute;z-index:3;bottom:24px;left:24px;right:24px;font-size:.625rem;line-height:1.8;letter-spacing:.09em;color:#cae7ec}
.studio-mosaic{position:relative;height:260px;margin-top:43px;isolation:isolate;overflow:hidden;border-radius:8px;background:#97c6d2}
.studio-mosaic>img:first-child{position:absolute;width:92%;height:230px;object-fit:cover;object-position:top;left:30px;top:43px;transform:rotate(-8deg);border:5px solid #fff;border-radius:5px;box-shadow:0 15px 35px #11273733}
.studio-mosaic>img:nth-child(2){position:absolute;right:17px;top:20px;width:100px;height:213px;object-fit:cover;object-position:top;transform:rotate(8deg);border:5px solid #102035;border-radius:16px;box-shadow:0 15px 35px #11273733}
.studio-mosaic>span{position:absolute;left:20px;bottom:17px;background:#102035;color:#fff;font-size:.6875rem;padding:7px 12px;border-radius:20px}
.studio-cta{margin-top:35px}
.process-end{display:flex;justify-content:space-between;align-items:center;gap:28px;margin-top:55px;padding:28px 0 0;border-top:1px solid var(--line)}
.process-end>p{font-size:1.125rem;letter-spacing:-.025em}
html[data-motion=off] .carousel-progress{visibility:hidden}
html[data-motion=off] .story-section{min-height:auto}
html[data-motion=off] .story-pinned{position:relative;height:auto;min-height:0}
html[data-motion=off] .story-layout{min-height:680px}
html[data-motion=off] .story-media{height:550px}
html[data-motion=off] .story-belt{transform:none;will-change:auto}
html[data-motion=off] .story-media{overflow-y:auto;scrollbar-width:thin;scrollbar-color:#57929f #092432}
html[data-motion=off] .orbit-center,html[data-motion=off] .orbit-center::after,html[data-motion=off] .visual-contact-button>span{animation:none}
html[data-motion=off] .orbit-center::after{opacity:0}
html[data-motion=off] .plan-card:hover,html[data-motion=off] .plan-card:focus-within{transform:none;box-shadow:none}
html[data-motion=off] .experience-card:hover .responsive-phone{transform:translateX(-50%) rotate(7deg)}
html[data-motion=off] .hero-mesh::before{animation-play-state:paused}
@media(max-width:1100px){
  .experience-grid{grid-template-columns:1.2fr 1fr 1fr;gap:18px}
  .experience-visual{height:330px}
  .visual-kicker{left:18px;right:18px;top:18px}
  .identity-browser{left:20px;width:120%;top:92px}
  .contact-orbit{width:180px;height:180px;top:76px}
  .orbit-word{font-size:.625rem;padding:6px 9px}
  .story-layout{gap:35px}
  .story-copy h2{font-size:clamp(2.7rem,4.5vw,4rem)}
  .tech-list li{font-size:1.4rem}
  .tech-group{padding-right:24px}
  .tech-group+.tech-group{padding-left:24px}
  .tech-list{column-gap:16px}
}
@media(min-width:721px) and (max-height:650px){
  .story-section{min-height:auto}
  .story-pinned{position:relative;height:auto;min-height:0}
  .story-media{height:500px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#57929f #092432}
  .story-belt{will-change:auto}
}
@media(max-width:850px){
  .experience-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .experience-main{grid-column:1/-1}
  .identity-browser{width:86%;top:65px;left:10%}
  .experience-main .experience-visual{height:380px}
  .section-end{align-items:flex-start;flex-direction:column;gap:22px}
}
@media(max-width:720px){
  .hero-showcase{height:430px;max-width:540px}
  .hero-slide .hero-browser{top:65px}
  .hero-slide .phone-frame{bottom:120px}
  .showcase-caption{bottom:65px;left:12px}
  .carousel-controls{left:10px;right:0;gap:6px}
  .carousel-progress{left:12px;right:8px;bottom:53px}
  .carousel-dots{gap:0}
  .carousel-controls .carousel-pause{padding-right:0;font-size:.6875rem}
  .tech-strip{padding:33px 0 28px}
  .tech-strip>.container{gap:24px}
  .tech-title{font-size:.6875rem;letter-spacing:.06em}
  .tech-groups{grid-template-columns:1fr;gap:24px}
  .tech-group{padding:0}
  .tech-group+.tech-group{padding:24px 0 0;border-left:0;border-top:1px solid #ffffff24}
  .tech-group-title{margin-bottom:12px;font-size:.625rem}
  .tech-list{gap:10px 16px}
  .tech-list li{font-size:1.4rem}
  .tech-note{font-size:.6875rem;text-align:left;max-width:40rem}
  .tech-note span{font-size:.625rem}
  .experience-section{padding:70px 0}
  .experience-section .section-heading h2{font-size:clamp(2.6rem,10vw,3.5rem)}
  .experience-section .section-heading>p br{display:none}
  .experience-end{flex-direction:column;align-items:flex-start;gap:24px;margin-top:33px;padding-top:30px}
  .experience-grid{grid-template-columns:1fr;gap:35px}
  .experience-main{grid-column:auto}
  .experience-main .experience-visual{height:320px}
  .experience-visual{height:330px}
  .identity-browser{width:104%;left:22px;top:83px}
  .experience-card h3{margin-top:20px;font-size:1.2rem}
  .responsive-phone{width:148px;height:319px;top:67px}
  .contact-orbit{top:55px;width:205px;height:205px}
  .story-section{min-height:auto}
  .story-pinned{position:relative;height:auto;min-height:0;overflow:visible}
  .story-layout{grid-template-columns:1fr;gap:35px;padding-block:65px}
  .story-copy h2{font-size:clamp(2.7rem,10.5vw,3.6rem)}
  .story-copy>p:not(.eyebrow){font-size:.9375rem;margin:23px 0}
  .story-copy .button{max-width:100%;font-size:.8125rem;padding-inline:20px}
  .story-media{height:360px;max-height:none;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#57929f #092432}
  .story-belt{display:flex;width:max-content;margin-left:0;gap:20px;padding:38px 24px 64px;transform:none!important;will-change:auto}
  .story-screen,.story-screen:nth-child(2n),.story-screen:nth-child(3n){flex:none;width:min(330px,78vw);margin:0;transform:rotate(-3deg);scroll-snap-align:center}
  .studio-mosaic{height:230px;margin-top:30px}
  .process-end{flex-direction:column;align-items:flex-start;margin-top:38px}
  html[data-motion=off] .story-layout{min-height:0}
  html[data-motion=off] .story-media{height:360px;overflow-y:hidden}
}
@media(max-width:360px){
  .hero-showcase{height:395px}
  .hero-slide .phone-frame{bottom:109px}
  .carousel-controls{left:0;gap:2px}
  .carousel-controls>button{width:40px;height:40px}
  .carousel-dots button{width:27px}
  .carousel-controls .carousel-pause{font-size:.625rem;max-width:87px;text-align:right}
  .tech-list li{font-size:1.2rem}
  .tech-list{column-gap:12px}
  .experience-main .experience-visual{height:290px}
}

/* Topo: legenda e controles do carrossel abaixo da prévia, nunca por cima dela (2026-10-10). A prévia sobe um pouco,
   o palco cresce o necessário e, em telas largas, legenda e controles dividem uma linha só. */
@media (min-width:901px){
  .hero-slide .hero-browser{top:76px}
}
@media (min-width:1201px){
  .hero-showcase{height:660px}
  .hero-slide .phone-frame{bottom:200px}
  .carousel-progress{bottom:54px}
  .showcase-caption{bottom:0;left:255px;height:44px;gap:14px;z-index:4}
}
@media (min-width:1201px) and (max-width:1280px){
  .hero-showcase{height:625px}
}
@media (min-width:1151px) and (max-width:1200px){
  .hero-showcase{height:655px}
  .hero-slide .phone-frame{bottom:190px}
}
@media (min-width:901px) and (max-width:1150px){
  .hero-showcase{height:600px}
  .hero-slide .phone-frame{bottom:170px}
}
