/* IDEAL — identidade. O layout e seus breakpoints continuam em _astro/. */
:root{
  --color-off-white:#f6f7fa;
  --color-dark-white:#e9ebf0;
  --color-off-white-semi:rgba(244,242,236,.7);
  --color-black:#10131b;
  --color-blue:#7000ff;
  --color-dark-blue:#5800cb;
  --color-green:#00e5ff;
  --color-purple:#7000ff;
  --header-color:#7000ff;
  --header-text-color:#10131b;
}
#header-logo svg{width:132px;height:42px;overflow:visible}
#header-menu-labs-lucy-svg{visibility:hidden}
#header-menu-newsletter-feedback-message,#footer-newsletter-feedback-message{max-width:100%}
#footer-bottom-tagline{white-space:normal}
#video-overlay__vimeo-video{position:absolute;inset:0;width:100%;height:100%;background:#10131b}
#video-overlay__mute-btn{display:none!important} /* O vídeo placeholder não tem trilha. */
a:focus-visible,button:focus-visible{outline:2px solid #7000ff!important;outline-offset:5px}
#ideal-demo{border:0;padding:60px;width:min(560px,calc(100% - 32px));border-radius:20px;background:#f6f7fa;color:#10131b;font-family:Aeonik,Arial,sans-serif;box-shadow:0 24px 100px #0005;overflow:visible}
#ideal-demo::backdrop{background:#10131b99;backdrop-filter:blur(8px)}
#ideal-demo .ideal-kicker{font-size:11px;letter-spacing:1.5px}
#ideal-demo h2{font-size:44px;line-height:1.04;letter-spacing:-2px;margin:28px 0 20px}
#ideal-demo p{font-size:17px;line-height:1.5;margin:0 0 30px;max-width:37ch}
#ideal-demo button{cursor:pointer;font:inherit}
#ideal-demo .ideal-modal-close{position:absolute;right:22px;top:14px;font-size:32px}
#ideal-demo .ideal-modal-ok{background:#7000ff;color:white;padding:16px 22px;border-radius:50px}
@media(max-width:812px){#header-logo svg{width:100px;height:34px}#ideal-demo{padding:35px 26px}#ideal-demo h2{font-size:36px}#footer-contact-address{max-width:21ch}}

/* Identidade real da Ideal. Símbolo original preservado, com nome legível no fundo claro. */
#header-logo svg{width:200px;height:49px}#header-menu-labs-lucy-svg{visibility:hidden}
.ideal-hidden-form{display:none!important}.ideal-contact-cta{display:inline-flex;align-items:center;background:#10131b;color:white!important;padding:18px 26px;border-radius:99px;margin-top:20px;font-size:17px;gap:16px;transition:background .2s}.ideal-contact-cta:hover{background:#7000ff}
#footer-bottom-copyright{max-width:38ch;white-space:normal;line-height:1.5}#home-featured-title{font-size:clamp(48px,6.1vw,110px);max-width:72%}
#ideal-services{display:block;padding:100px var(--base-padding-x);color:var(--color-black)}.ideal-eyebrow{font-size:12px;letter-spacing:.08em}.ideal-services-heading{max-width:950px;margin-bottom:50px}.ideal-services-heading h2{font-size:clamp(36px,4.5vw,72px);line-height:1.07;letter-spacing:-.045em;font-weight:400;margin:25px 0 0}.ideal-service-list>a{display:flex;align-items:center;gap:28px;border-top:1px solid #10131b25;padding:32px 0}.ideal-service-list img{width:68px;height:68px;object-fit:contain}.ideal-service-list strong{display:block;font-size:clamp(25px,2.5vw,38px);font-weight:400;margin-bottom:8px}.ideal-service-list small{display:block;font-size:17px;line-height:1.45;max-width:65ch}.ideal-service-list b{font-size:32px;margin-left:auto;font-weight:400;color:#7000ff}.ideal-service-list a:hover strong{color:#7000ff}.ideal-faq{margin:85px 0 0 auto;max-width:780px}.ideal-faq>.ideal-eyebrow{display:block;margin-bottom:30px}.ideal-faq details{border-top:1px solid #10131b25;padding:24px 0}.ideal-faq summary{display:flex;justify-content:space-between;gap:25px;font-size:22px;cursor:pointer;list-style:none}.ideal-faq summary::-webkit-details-marker{display:none}.ideal-faq summary span{color:#7000ff}.ideal-faq details[open] summary span{transform:rotate(45deg)}.ideal-faq p{font-size:17px;line-height:1.55;max-width:65ch;margin:20px 0 0}.ideal-faq p a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:812px){#header-logo svg{width:165px;height:40px}#home-featured-title{font-size:11vw;max-width:100%}#ideal-services{padding:70px var(--base-padding-x)}.ideal-service-list>a{gap:15px;padding:25px 0}.ideal-service-list img{width:48px;height:48px}.ideal-service-list small{font-size:15px}.ideal-service-list b{font-size:25px}.ideal-faq{margin-top:55px}.ideal-faq summary{font-size:20px}.ideal-contact-cta{font-size:15px}}

.ideal-services-heading{position:relative;padding-right:280px;max-width:none}.ideal-service-art{position:absolute;right:0;top:25px;width:240px;aspect-ratio:16/10;object-fit:cover;border-radius:14px}@media(max-width:812px){.ideal-services-heading{padding-right:0}.ideal-service-art{display:none}}

#footer-newsletter-bg,#header-menu-newsletter-input-bg{display:none!important}#footer-newsletter-input,#header-menu-newsletter-input{height:auto;min-height:60px;margin-top:24px}.ideal-contact-cta{position:relative;z-index:1;margin-top:0}#footer-enquires-link-wrapper,#footer-business-link-wrapper{height:auto;min-height:2em}

/* Layout corrections: two short words flank the native play button. */
#home-reel-video-title{font-size:clamp(44px,6.8vw,128px);gap:2.25em;white-space:nowrap;width:max-content;max-width:94%;justify-content:center;pointer-events:none}
#home-reel-video-title>.word{flex-shrink:0}
#projects-main-title-wrapper{width:100%;font-size:clamp(40px,11.5vw,210px);left:0;padding-right:8vw}
#projects-main-title{left:0;max-width:100%;white-space:nowrap;letter-spacing:-.045em;overflow:visible;font-size:inherit}
#projects-main-title-project-number{right:0;top:.7em;font-size:clamp(20px,3vw,52px)}
#projects-main-title-project-arrow{right:0;bottom:.65em;width:clamp(22px,3vw,52px);height:clamp(22px,3vw,52px)}
/* The studio follows the existing engine's virtual scrolling, including card flips and line drawing. */
#ideal-studio{position:relative;display:block;color:#fff;background:#10131b;--color-blue:#253bff;--studio-intro-opacity:1}
#ideal-studio-intro{position:relative;height:calc(var(--vh,1vh) * 190);overflow:clip}
#ideal-studio-stage{height:calc(var(--vh,1vh) * 100);position:relative;display:flex;align-items:center;justify-content:center;padding:var(--base-padding-y) var(--base-padding-x);will-change:transform}
.ideal-studio-top,.ideal-studio-bottom{position:absolute;left:var(--base-padding-x);right:var(--base-padding-x);display:flex;justify-content:space-between;gap:25px;font-family:IBMPlexMono,monospace;font-size:clamp(10px,.85vw,14px);line-height:1.5;letter-spacing:.04em}
.ideal-studio-top{top:20%;opacity:var(--studio-intro-opacity)}.ideal-studio-bottom{bottom:8%;opacity:var(--studio-intro-opacity)}
.ideal-studio-crosses{position:absolute;left:var(--base-padding-x);right:var(--base-padding-x);top:32%;display:flex;justify-content:space-between;color:#b7b9d5;opacity:var(--studio-intro-opacity)}.ideal-studio-crosses i{font-size:25px;font-style:normal;font-weight:300}
.ideal-studio-word{font-size:clamp(100px,27vw,540px);font-weight:500;line-height:.9;letter-spacing:-.075em;margin:0;padding-right:.06em;white-space:nowrap;will-change:transform,opacity}
.ideal-studio-word span{display:block;color:transparent;background-image:radial-gradient(ellipse at var(--spectrum-x,50%) var(--spectrum-y,50%),#fff 0%,#d2ffff 5%,#00e5ff 13%,#5778ff 23%,#ca8cff 31%,#ff6aca 39%,#ffc795 48%,#fff 56%,#7794ff 65%,#7000ff 77%,#00e5ff 90%);background-size:190% 220%;background-clip:text;-webkit-background-clip:text;animation:ideal-spectrum 10s ease-in-out infinite alternate;animation-play-state:paused;filter:drop-shadow(0 0 32px #5980ff18)}
.is-studio-visible .ideal-studio-word span{animation-play-state:running}
@keyframes ideal-spectrum{from{background-position:0% 25%}to{background-position:100% 80%}}
.ideal-studio-copy{position:absolute;left:var(--base-padding-x);right:var(--base-padding-x);top:38%;text-align:center;opacity:0;will-change:transform,opacity}
.ideal-studio-copy>p:first-child{font-family:IBMPlexMono,monospace;font-size:12px;letter-spacing:.1em;margin:0 0 24px}
.ideal-studio-copy h3{font-size:clamp(44px,7vw,130px);font-weight:400;line-height:.98;letter-spacing:-.045em;margin:0}
.ideal-studio-description{font-size:clamp(16px,1.3vw,23px);max-width:40ch;line-height:1.45;margin:30px auto 0}
#ideal-studio #about-capability-title{font-size:9vw;line-height:1.06;margin-top:1.1em}
#ideal-studio #about-capability-title-line-2{left:1.7em}
#ideal-studio #about-capability-subheader{top:0;margin-top:7.6vw;font-size:clamp(12px,.95vw,18px);width:23em}
#ideal-studio .about-capability-card-front{padding:1.15em 1.4em;background:#f6f7fa}
#ideal-studio .about-capability-card-header-text{font-size:1.1em}
#ideal-studio .about-capability-list-item{font-size:.82em}
#ideal-studio .about-capability-card-back{background-image:url(carta-verso.svg);background-size:100% 100%}
#ideal-studio .about-capability-card-header-letter{font-family:IBMPlexMono,monospace;font-size:2.4em}
@media(max-width:812px){
 #projects-main-title-wrapper{font-size:11.3vw;padding-right:10vw}
 #projects-main-title-project-number{font-size:5vw;top:.2em}
 #projects-main-title-project-arrow{width:5vw;height:5vw;bottom:.1em}
 #ideal-studio-intro{height:calc(var(--vh,1vh) * 170)}
 .ideal-studio-top{top:23%;font-size:9px}.ideal-studio-top span:last-child{max-width:17ch;text-align:right}
 .ideal-studio-crosses{top:35%}.ideal-studio-crosses i:nth-child(even){visibility:hidden}
 .ideal-studio-word{font-size:27vw}
 .ideal-studio-bottom{bottom:15%;font-size:9px}.ideal-studio-bottom span:first-child{display:none}.ideal-studio-bottom span:last-child{margin:auto}
 .ideal-studio-copy{top:39%}.ideal-studio-copy>p:first-child{font-size:10px;margin-bottom:18px}
 .ideal-studio-copy h3{font-size:11.5vw}.ideal-studio-description{font-size:15px;max-width:31ch;margin-top:24px}
 #ideal-studio #about-capability-title{font-size:13vw;margin-top:.65em}
 #ideal-studio #about-capability-title-line-2{left:0}
 #ideal-studio #about-capability-subheader{position:relative;margin-top:2em;top:auto;width:100%;font-size:14px}
 #ideal-studio #about-capability-subheader-text{margin-top:0;max-width:31ch}
 #ideal-studio .about-capability-card-header-text{font-size:1.2em}
 #ideal-studio .about-capability-list-item{font-size:.9em}
}
@media(prefers-reduced-motion:reduce){.ideal-studio-word span{animation:none!important}}
/* Keep the center gap aligned with the play button even for unequal word lengths. */
@media(min-width:813px){#home-reel-video-title{display:grid;grid-template-columns:1fr 1fr;width:100%;max-width:100%;gap:calc(12rem + 3vw);padding:0 5%}#home-reel-video-title .home-reel-video-title-word:first-child{justify-self:end}#home-reel-video-title .home-reel-video-title-word:last-child{justify-self:start}}
/* Each rolling letter has two vertical copies, never side by side. */
#home-reel-video-title .char-wrapper{white-space:normal;flex-shrink:0;text-align:center}
#home-reel-video-title .char-wrapper>.char{display:block!important;height:1em;line-height:1}
#projects-main-title-project-arrow{bottom:0}
/* Natural glyph widths keep round letters and Portuguese accents intact. */
#home-reel-video-title .home-reel-video-title-word{height:1.2em}
#home-reel-video-title .char-wrapper{top:0;width:auto;height:1.2em}
#home-reel-video-title .char-wrapper>.char{height:1.2em;line-height:1.2}
