/* Composição final: proporções dos mockups, preservando os componentes existentes. */
:root {
  --section-pad: clamp(2rem, 3.2vw, 3rem);
  --radius-xl: 20px;
  --radius-2xl: 22px;
  --gradient-hero: radial-gradient(ellipse at 78% 54%, #49208a 0%, #211047 42%, #100b29 78%);
  --gradient-header-action: linear-gradient(120deg, #412080, #301466);
}
.btn { border-radius: 9px; }
.btn-primary, .btn-whatsapp, .btn-on-violet {
  color: #fff;
  background: linear-gradient(115deg, #7430d0, #9239ed);
  border-color: #ab70ed;
}
.btn-whatsapp:hover, .btn-on-violet:hover { background: #7028c8; color: #fff; }
.btn-whatsapp { box-shadow: 0 8px 24px #8b3cea24; }
.btn-whatsapp:hover { box-shadow: 0 12px 28px #8b3cea40; }
.header__actions .btn, .product-card__cta { background: var(--gradient-header-action); }
.header__actions { flex-shrink: 0; }
.header__actions .btn-client-portal, .mobile-nav__foot .btn-client-portal {
  background: #f8f5fd;
  color: var(--fyntech-primary);
  border: 1px solid var(--fyntech-purple-200);
  box-shadow: none;
  cursor: default;
  opacity: 1;
  transform: none;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
}
.mobile-nav__foot .btn-client-portal { margin-bottom: 16px; }
.btn-client-portal::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--gradient-header-action);
  clip-path: polygon(0 0, 0 0, -25% 100%, 0 100%);
  transition: clip-path 450ms cubic-bezier(.22, .7, .3, 1);
}
.btn-client-portal:hover::before,
.btn-client-portal:focus-visible::before {
  clip-path: polygon(0 0, 125% 0, 100% 100%, 0 100%);
}
.header__actions .btn-client-portal:hover,
.mobile-nav__foot .btn-client-portal:hover,
.header__actions .btn-client-portal:focus-visible,
.mobile-nav__foot .btn-client-portal:focus-visible {
  border-color: #412080;
  color: #fff;
}
@media (min-width: 769px) and (max-width: 1100px) {
  .header__inner { gap: 12px; }
  .header .logo img { width: 112px; height: auto; }
  .nav { gap: 12px; }
  .nav__link { font-size: .8rem; }
  .header__actions { gap: 8px; }
  .header__actions .btn { padding: 10px 12px; font-size: .75rem; }
}
.section-head { margin-bottom: 1.6rem; }
.section-head p { margin-top: .55rem; font-size: .95rem; }
.hero__inner { min-height: 570px; padding-top: 38px; }
.hero__visual { height: 545px; min-height: 0; }
.hero__machine { width: 420px; transform-origin: center bottom; }
.hero__machine img { height: 650px; width: 100%; object-fit: contain; object-position: top; }
.hero__content { padding-bottom: 38px; }
.hero h1 { font-weight: 700; }
.hero__benefits { margin-top: 30px; padding-top: 18px; }
.hero__rings { width: 720px; right: -4%; transform: translateY(-50%) rotate(-24deg); }
.hero__rings span { border-width: 2px; box-shadow: -22px 0 35px #9b4beb24; }
.hero__card { right: 0; bottom: 24%; }
.hero__nfc { left: 3%; }
.metrics__grid { padding-block: 32px; }
.metric__value { font-size: clamp(1.25rem, 2.2vw, 1.85rem); color: #251255; }
.machine-card { position: relative; padding: 18px 12px 22px; background: linear-gradient(150deg, #fff, #f4effb); }
.machine-card__stage { aspect-ratio: 1; margin-bottom: 12px; }
.machine-card__name a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.machine-card:focus-within { transform: translateY(-6px); box-shadow: var(--glow-violet); }
.machine-card .badge { padding: 5px 15px; }
.machine-card .badge::after { content: ' ›'; color: #8134dc; }
.home-solutions { padding-top: 0; padding-bottom: 0; background: var(--fyntech-surface-soft); }
.solutions-banner { padding: 32px 38px; gap: 32px; box-shadow: none; }
.solutions-banner h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.solutions-banner p { font-size: .9rem; margin-top: 12px; }
.solutions-banner .btn { margin-top: 18px; font-size: .85rem; padding: 10px 16px; }
.solution-tile { background: transparent; border: 0; padding: 0; }
.solution-tile svg { width: 72px; height: 72px; padding: 18px; border: 1px solid #bc80ed; border-radius: 12px; }
.brands { padding-block: 30px; }
.brands__title { margin-bottom: 14px; }
.brands__item { color: #352650; opacity: 1; }
.page-hero__inner { min-height: 250px; padding-block: 42px; }
.page-hero__inner > :first-child { position: relative; z-index: 2; }
.page-hero__lead { max-width: 570px; font-size: 1rem; }
.page-hero__visual { position: absolute; inset: 0 min(0px, calc((var(--container-width) - 100vw) / 2)) 0 44%; min-height: 0; margin: 0; }
.page-hero__media { height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.page-hero__media img { object-fit: cover; padding: 0; mask-image: linear-gradient(90deg, transparent, #000 40%); }
.page-hero__visual::after { content: ''; position: absolute; inset: 0; background: transparent; pointer-events: none; }
.page-hero .glass-card { z-index: 1; right: 24px; bottom: 28px; max-width: 175px; font-size: .9rem; }
.page-machines .page-hero__media img { object-fit: contain; transform: rotate(-16deg) scale(1.3); opacity: .8; }
.page-machines .page-hero__visual::after { background: transparent; }
.page-solutions .page-hero__inner { min-height: 280px; }
.page-about .page-hero__inner, .page-contact .page-hero__inner { min-height: 210px; }
.page-contact .page-hero__media img { object-position: center 35%; }
.page-about .page-hero__media img { object-position: 65% 45%; }
.concept-caption { position: absolute; right: 12px; bottom: 8px; z-index: 2; color: #fff; background: #100b29a8; padding: 2px 7px; font-size: 10px; border-radius: 4px; }
.product-grid { gap: 24px; }
.product-card { background: linear-gradient(145deg, #fff 45%, #f0eafa); padding: 28px; gap: 10px; }
.product-card__features { gap: 8px; }
.product-card__features li { font-size: .8rem; }
.product-card__features svg { width: 13px; height: 13px; }
.product-card__name { font-size: 1.4rem; }
.product-viewer { aspect-ratio: 2 / 3; }
.product-viewer__zoom button { min-width: 36px; height: 36px; }
.product-card__cta { padding: 10px 24px; font-size: .85rem; }
.solution-card { padding: 26px; min-height: 242px; }
.solution-card h3 { font-size: 1.25rem; }
.solution-card__icon { width: 52px; height: 52px; margin-bottom: 18px; }
.solution-card .link-arrow { padding-top: 16px; font-size: .85rem; }
.page-solutions .section--lilac { background: linear-gradient(#fff, #f7f5fc); padding-top: 24px; padding-bottom: 70px; }
.segment-card { aspect-ratio: 1 / 1.15; padding: 22px; border-radius: 16px; box-shadow: none; }
.segment-card__label { font-size: .95rem; }
.segment-card__label a::after { content: ''; position: absolute; inset: -320px -30px -30px; }
.segment-card:focus-within { outline: 3px solid var(--fyntech-focus); outline-offset: 3px; }
.page-about .section { padding-block: 32px; }
.about-story { gap: 40px; }
.about-story__text p { font-size: .95rem; }
.about-story__text .btn { margin-top: 20px; font-size: .85rem; }
.about-story__photo { aspect-ratio: auto; min-height: 260px; }
.about-story__quote { padding: 24px; font-size: 1.1rem; }
.essence-card { padding: 16px; gap: 12px; }
.essence-card__title { font-size: .85rem; }
.essence-card__icon { width: 40px; height: 40px; }
.page-about .section--lilac { background: #fff; padding-top: 8px; }
.page-contact .section { padding-block: 30px; }
.contact-layout { grid-template-columns: 1.05fr 1fr; }
.channel-card { padding: 18px 22px; }
.channel-card__value { overflow-wrap: anywhere; }
.form-card { padding: 24px; }
.form-card h2 { font-size: 1.25rem; margin-bottom: 16px; }
.form-card .field { margin-bottom: 12px; }
.form-card textarea { min-height: 110px; }
.form-card input:not([type='checkbox']), .form-card textarea { border-radius: 8px; padding: 10px 14px; background: #fcfbff; }
.form-card .consent { margin-block: 16px; }
.form-card .btn { font-size: .9rem; padding-block: 12px; }
.form-feedback { color: #54217c; font-size: .85rem; margin-top: 12px; }
.cta-banner--photo { background: linear-gradient(90deg,#351571 25%,#351571aa 60%,#130a3066),url('../images/sections/pagamentos.webp') right 57% / cover; }
.cta-banner--photo .cta-banner__inner { flex-direction: column; align-items: flex-start; gap: 18px; padding-block: 40px; }
.cta-banner--photo h2 { font-size: 2rem; }
.footer { padding-top: 42px; }
.footer__grid { padding-bottom: 30px; gap: 32px; }
.footer__tagline { max-width: 210px; }
.footer__links { gap: 7px; }
.footer__links a, .footer__contact a { font-size: .85rem; }
.footer__social a { width: 30px; height: 30px; border: none; }
.footer__contact .btn { color: #fff; }
.footer__contact .btn svg { color: #fff; }
.footer__bottom { padding-block: 20px; }
.transparency { padding-block: 22px 32px; }
.transparency__card { max-width: 100%; padding: 22px 28px; }
.transparency__card h2 { font-size: 1.1rem; }
.transparency__card p { font-size: .85rem; }
.transparency__card a { color: #cb9eff; }
.chatbot__window { max-height: min(560px, calc(100dvh - var(--header-height) - 110px)); }
.chatbot__body { min-height: 0; overflow-y: auto; }
.page-legal .page-hero__inner { grid-template-columns: 1fr; }
.page-legal .page-hero__inner > :first-child { max-width: 100%; }
.reveal { opacity: 1; transform: none; }
.has-reveal .reveal:not(.is-visible) { opacity: 0; transform: translateY(24px); }
.has-reveal .reveal-left:not(.is-visible) { transform: translateX(-28px); }
.has-reveal .reveal-right:not(.is-visible) { transform: translateX(28px); }
.machine-card.is-visible:hover, .solution-card.is-visible:hover,
.segment-card.is-visible:hover { transform: translateY(-6px); transition-delay: 0ms !important; }
.product-card.is-visible:hover { transform: translateY(-5px); transition-delay: 0ms !important; }
.essence-card.is-visible:hover { transform: translateY(-4px); transition-delay: 0ms !important; }
@media (min-width: 901px) {
  .page-about .about-story__media { min-height: 280px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .machines__grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .machine-card__name { font-size: .9rem; }
  .machine-card .badge { font-size: .7rem; padding-inline: 9px; }
  .solutions-banner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr 1fr; min-height: 470px; gap: 16px; }
  .hero__visual { height: 440px; margin-top: 0; }
  .hero__machine { width: 100%; }
  .hero__machine img { height: 510px; }
  .hero h1 { font-size: 2.6rem; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { font-size: .8rem; padding: 12px; }
  .hero__benefits { gap: 10px; }
  .hero__benefit { font-size: .7rem; }
  .hero__benefit + .hero__benefit { padding-left: 10px; }
  .page-hero__inner { grid-template-columns: 1fr; min-height: 230px; }
  .page-hero__inner > :first-child { max-width: 65%; }
  .page-hero .glass-card { position: absolute; margin: 0; font-size: .75rem; max-width: 145px; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --section-pad: 32px; }
  .hero__inner { grid-template-columns: 1fr; padding-top: 34px; gap: 0; }
  .hero__content { padding-bottom: 12px; }
  .hero h1 { font-size: clamp(2.45rem,8.5vw,3.5rem); }
  .hero__lead { max-width: 440px; font-size: .95rem; }
  .hero__actions { flex-direction: row; }
  .hero__actions .btn { flex: 1 1 150px; }
  .hero__benefits { flex-direction: row; margin-top: 24px; padding-top: 16px; }
  .hero__benefit { flex-direction: column; text-align: center; gap: 7px; font-size: .67rem; }
  .hero__benefit + .hero__benefit { border-top: 0; border-left: 1px solid #ffffff25; padding-top: 0; }
  .hero__visual { height: 340px; width: 100%; }
  .hero__machine { width: 260px; }
  .hero__machine img { height: 410px; }
  .hero__card { right: 4%; bottom: 20%; font-size: .8rem; }
  .hero__nfc { left: 12%; top: 32%; }
  .metrics__grid { grid-template-columns: repeat(2,1fr); gap: 22px 0; padding-block: 25px; }
  .metric + .metric { padding-top: 0; border-top: 0; }
  .metric:nth-child(even) { border-left: 1px solid var(--fyntech-border); }
  .metrics .metric__label { font-size: .72rem; }
  .machines__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .machine-card { border-radius: 14px; padding: 12px 8px 18px; }
  .machine-card__stage { aspect-ratio: 3 / 4; }
  .machine-card__name { font-size: .88rem; }
  .machine-card .badge { font-size: .65rem; padding: 5px 9px; }
  .solutions-banner { padding: 24px; gap: 28px; }
  .solutions-banner__tiles { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
  .solution-tile { font-size: .65rem; }
  .solution-tile svg { width: 48px; height: 48px; padding: 11px; }
  .page-hero__inner, .page-solutions .page-hero__inner { padding-block: 34px; min-height: 270px; }
  .page-hero__inner > :first-child { max-width: 100%; }
  .page-hero__visual, .page-hero__visual.reveal.is-visible { left: 25%; opacity: .25; }
  .page-hero__visual::after { background: transparent; }
  .page-hero__lead { max-width: 95%; }
  .page-hero .glass-card { display: none; }
  .concept-caption { font-size: 9px; }
  .page-hero h1 { font-size: 2rem; max-width: 95%; }
  .product-card { grid-template-columns: 1fr 1fr; padding: 22px 16px; gap: 8px; }
  .product-card__media { order: 0; }
  .product-card__name { font-size: 1.15rem; }
  .product-card__features li { font-size: .72rem; gap: 5px; }
  .product-card__features svg { width: 11px; height: 11px; }
  .product-viewer { aspect-ratio: 2 / 3; }
  .product-card__cta { padding: 10px 13px; font-size: .8rem; }
  .product-viewer__zoom { bottom: -5px; }
  .product-viewer__zoom button { min-width: 30px; height: 36px; }
  .product-card .badge { font-size: .7rem; padding: 5px 10px; }
  .segments-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .segment-card { aspect-ratio: 3 / 4; padding: 14px; }
  .segment-card__label { font-size: .8rem; }
  .page-solutions .section--lilac { padding-bottom: 38px; }
  .about-story__media { grid-template-columns: 1.2fr 1fr; }
  .about-story__photo { min-height: 230px; border-radius: 18px 0 0 18px; }
  .about-story__quote { border-radius: 0 18px 18px 0; font-size: .95rem; padding: 20px; }
  .essence-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .essence-card { padding: 12px 9px; gap: 8px; }
  .essence-card__icon { width: 30px; height: 34px; }
  .essence-card__title { font-size: .74rem; }
  .essence-card__sub { font-size: .66rem; }
  .channel-card { grid-template-columns: auto minmax(0,1fr) auto; padding: 16px; gap: 12px; }
  .channel-card__go { grid-column: auto; margin: 0; }
  .form-card { padding: 20px; }
  .footer__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px 20px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__grid > :last-child { grid-column: 1 / -1; }
  .footer__contact .btn { width: fit-content; }
  .footer__bottom-links { gap: 12px; }
  .footer__bottom-links a { font-size: .72rem; }
  .transparency__card { grid-template-columns: auto 1fr; gap: 10px; padding: 20px 16px; }
  .transparency__icon { width: 30px; height: 34px; }
  .transparency__icon svg { width: 30px; height: 30px; }
  .transparency__card p { font-size: .78rem; }
  .transparency__card h2 { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
