@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --surfa-navy: #052f56;
  --surfa-blue: #0b5a91;
  --surfa-cyan: #10b9b7;
  --surfa-aqua: #70e1df;
  --surfa-ink: #10273d;
  --surfa-muted: #62778a;
  --surfa-light: #eef9fa;
  --surfa-white: #fff;
  --surfa-border: rgba(5, 47, 86, .11);
  --surfa-shadow: 0 22px 60px rgba(5, 47, 86, .12);
  --bs-primary: #0b5a91;
  --bs-primary-rgb: 11, 90, 145;
}

html { scroll-behavior: smooth; }
body {
  color: var(--surfa-ink);
  background: #fff;
  font-family: "DM Sans", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6, .navbar-brand { font-family: "Manrope", sans-serif; letter-spacing: -.035em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.section-space { padding: 108px 0; }
.section-soft { background: #f4fbfb; }
.section-dark { color: #fff; background: var(--surfa-navy); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  margin-bottom: 1rem; color: var(--surfa-blue); font-weight: 700;
  font-size: .79rem; letter-spacing: .13em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--surfa-cyan); }
.section-dark .eyebrow, .hero-home .eyebrow, .page-hero .eyebrow, .quote-band .eyebrow { color: var(--surfa-aqua); }
.display-title { font-size: clamp(2.25rem, 4.2vw, 4.3rem); line-height: 1.06; font-weight: 800; }
.section-title { font-size: clamp(2rem, 3.5vw, 3.35rem); line-height: 1.13; font-weight: 800; }
.lead-copy { color: var(--surfa-muted); font-size: 1.12rem; max-width: 650px; }
.text-gradient { background: linear-gradient(105deg, var(--surfa-aqua), #1b95df); -webkit-background-clip: text; color: transparent; }

.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 1030; padding: 20px 0; }
.site-header .navbar {
  min-height: 78px; padding: .65rem 1.25rem; border: 1px solid rgba(255,255,255,.24);
  border-radius: 18px; background: rgba(255,255,255,.96); box-shadow: 0 12px 35px rgba(5,47,86,.11);
}
.navbar-brand img { width: 190px; height: 48px; object-fit: contain; object-position: left center; }
.navbar-nav { gap: .45rem; }
.nav-link { position: relative; width: fit-content; color: #29455d; padding: .7rem .78rem .9rem !important; font-size: .95rem; font-weight: 600; }
.nav-link:hover, .nav-link.active { color: var(--surfa-blue); }
.nav-link.active { font-weight: 800; }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: .25rem;
  width: 50px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--surfa-blue), var(--surfa-aqua));
  box-shadow: 0 3px 9px rgba(10,174,173,.28);
  transform: translateX(-50%);
}
.dropdown-menu { border: 1px solid var(--surfa-border); border-radius: 14px; padding: .65rem; box-shadow: var(--surfa-shadow); }
.dropdown-item { border-radius: 9px; padding: .65rem .8rem; font-weight: 600; }
.dropdown-item:hover { color: var(--surfa-blue); background: var(--surfa-light); }
.btn-surfa {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .82rem 1.35rem;
  border: 0; border-radius: 999px; color: #fff; background: linear-gradient(135deg, var(--surfa-blue), var(--surfa-cyan));
  box-shadow: 0 10px 24px rgba(16,185,183,.22); font-weight: 700; transition: .25s ease;
}
.btn-surfa:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(16,185,183,.31); }
.btn-outline-surfa { border: 1px solid rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.06); }
.btn-outline-surfa:hover { color: var(--surfa-navy); background: #fff; }
.arrow-circle { width: 29px; height: 29px; display: inline-grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.2); }

/* Liquid glass para ações sobre fundos escuros */
.hero-home .btn-surfa {
  position: relative; isolation: isolate; overflow: hidden;
  border: 1px solid rgba(255,255,255,.04);
  color: #fff;
  background: rgba(255,255,255,.03);
  box-shadow:
    0 24px 48px rgba(0,0,0,.25),
    inset 0 1px 1px rgba(255,255,255,.4),
    inset 0 0 0 1px rgba(255,255,255,.05),
    inset 0 -1px 2px rgba(0,0,0,.2);
  -webkit-backdrop-filter: blur(28px) saturate(130%);
  backdrop-filter: blur(28px) saturate(130%);
  transition: all .3s cubic-bezier(.25,.8,.25,1);
}
.hero-home .btn-surfa::before {
  display: none;
}
.hero-home .btn-surfa::after {
  display: none;
}
.hero-home .btn-surfa:hover {
  color: #fff; background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.04);
  box-shadow:
    0 30px 60px rgba(0,0,0,.3),
    inset 0 1px 2px rgba(255,255,255,.6),
    inset 0 0 0 1px rgba(255,255,255,.1),
    inset 0 -1px 2px rgba(0,0,0,.2);
}
.hero-home .btn-surfa:hover::after { left: calc(100% + 20px); }
.hero-home .btn-surfa:active {
  transform: translateY(1px);
  box-shadow:
    0 10px 20px rgba(0,0,0,.2),
    inset 0 1px 1px rgba(255,255,255,.3),
    inset 0 0 0 1px rgba(255,255,255,.05),
    inset 0 -1px 1px rgba(0,0,0,.1);
}
.hero-home .btn-surfa .arrow-circle {
  border: 1px solid rgba(255,255,255,.04);
  background: rgba(255,255,255,.03);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.3),
    inset 0 0 0 1px rgba(255,255,255,.04),
    inset 0 -1px 1px rgba(0,0,0,.16);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
}

/* CTA claro para banners internos */
.page-hero .btn-surfa,
.quote-band .btn-surfa {
  color: var(--surfa-blue);
  border: 1px solid rgba(255,255,255,.9);
  background: #fff;
  box-shadow: 0 12px 28px rgba(0,28,52,.2);
}
.page-hero .btn-surfa:hover,
.quote-band .btn-surfa:hover {
  color: var(--surfa-navy);
  border-color: var(--surfa-aqua);
  background: var(--surfa-aqua);
  box-shadow: 0 16px 34px rgba(0,28,52,.26);
}
.page-hero .btn-surfa .arrow-circle,
.quote-band .btn-surfa .arrow-circle {
  color: #fff;
  background: var(--surfa-blue);
}
.header-actions { display: flex; align-items: center; gap: .65rem; flex: 0 0 auto; }
.btn-client {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px;
  padding: .7rem 1rem; border: 1px solid rgba(11,90,145,.18); border-radius: 999px;
  color: var(--surfa-blue); background: #edf8fa; font-weight: 700; white-space: nowrap; transition: .25s ease;
}
.btn-client:hover { color: #fff; border-color: var(--surfa-blue); background: var(--surfa-blue); transform: translateY(-2px); }
.header-contact.active { box-shadow: 0 0 0 4px rgba(10,174,173,.16), 0 12px 28px rgba(16,185,183,.3); }

.hero-home {
  position: relative; min-height: 850px; padding: 185px 0 90px; color: #fff; overflow: hidden;
  background: #021d36;
}
.hero-motion-bg {
  position: absolute;
  inset: -4%;
  z-index: 0;
  background: linear-gradient(105deg, rgba(2,29,54,.97) 0%, rgba(3,45,79,.9) 40%, rgba(4,44,73,.24) 72%), url('../img/hero-surfa.png') center/cover no-repeat;
  transform: scale(1.03);
  animation: heroBackgroundDrift 18s ease-in-out infinite alternate;
}
.hero-home::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .28;
  background-image: radial-gradient(circle at 16% 34%, rgba(16,185,183,.9) 0 2px, transparent 3px), radial-gradient(circle at 72% 65%, rgba(112,225,223,.8) 0 2px, transparent 3px);
  background-size: 180px 180px, 240px 240px;
}
.hero-home::before { z-index: 1; animation: heroParticlesDrift 13s ease-in-out infinite alternate; }
.hero-home .container { position: relative; z-index: 2; }
.hero-home .hero-copy > .eyebrow,
.hero-home .hero-copy > h1,
.hero-home .hero-copy > p,
.hero-home .hero-copy > .hero-actions,
.hero-home .hero-proof > [class*="col-"] { animation: heroCopyIn .68s cubic-bezier(.2,.7,.2,1) both; }
.hero-home .hero-copy > .eyebrow { animation-delay: .08s; }
.hero-home .hero-copy > h1 { animation-delay: .2s; }
.hero-home .hero-copy > p { animation-delay: .34s; }
.hero-home .hero-copy > .hero-actions { animation-delay: .48s; }
.hero-home .hero-proof > [class*="col-"]:nth-child(1) { animation-delay: .66s; }
.hero-home .hero-proof > [class*="col-"]:nth-child(2) { animation-delay: .78s; }
.hero-home .hero-proof > [class*="col-"]:nth-child(3) { animation-delay: .9s; }
.hero-copy { max-width: 750px; }
.hero-copy p { max-width: 620px; color: rgba(255,255,255,.78); font-size: 1.15rem; }
.hero-proof { margin-top: 45px; }
.proof-item { display: flex; align-items: center; gap: .9rem; padding-right: 1.8rem; }
.proof-icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; background: rgba(255,255,255,.08); color: var(--surfa-aqua); font-size: 1.25rem; }
.hero-home .proof-icon { animation: heroIconFloat 5.5s ease-in-out infinite; }
.hero-home .col-sm-4:nth-child(2) .proof-icon { animation-delay: -1.8s; }
.hero-home .col-sm-4:nth-child(3) .proof-icon { animation-delay: -3.6s; }
.proof-item strong { display: block; font-family: "Manrope", sans-serif; font-size: 1.1rem; }
.proof-item span { color: rgba(255,255,255,.62); font-size: .87rem; }
.wave-divider { position: absolute; bottom: -1px; left: 0; z-index: 3; display: block; width: 100%; height: 90px; color: #fff; pointer-events: none; }

@keyframes heroBackgroundDrift {
  0% { transform: scale(1.03) translate3d(0, 0, 0); }
  100% { transform: scale(1.09) translate3d(-1.1%, -.7%, 0); }
}
@keyframes heroParticlesDrift {
  0% { background-position: 0 0, 0 0; opacity: .22; }
  100% { background-position: 24px -18px, -20px 26px; opacity: .36; }
}
@keyframes heroIconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes heroCopyIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-hero { position: relative; padding: 190px 0 105px; color: #fff; overflow: hidden; background: linear-gradient(135deg, var(--surfa-navy), #064f7d 70%, #087d8d); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero p { color: rgba(255,255,255,.75); max-width: 680px; font-size: 1.12rem; }
.breadcrumb { --bs-breadcrumb-divider-color: rgba(255,255,255,.45); --bs-breadcrumb-item-active-color: var(--surfa-aqua); }
.breadcrumb a { color: rgba(255,255,255,.72); }

.service-card, .product-card, .value-card, .project-card, .contact-card {
  height: 100%; border: 1px solid var(--surfa-border); border-radius: 22px; background: #fff;
  box-shadow: 0 12px 38px rgba(5,47,86,.06); transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover, .product-card:hover, .value-card:hover, .project-card:hover { transform: translateY(-7px); box-shadow: var(--surfa-shadow); }
.service-card { padding: 2rem; }
.icon-box { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 1.5rem; border-radius: 17px; color: var(--surfa-blue); background: linear-gradient(145deg, #e6fbfa, #e8f3fb); font-size: 1.55rem; }
.service-card h3, .product-card h3 { font-size: 1.3rem; font-weight: 800; }
.service-card p, .product-card p, .value-card p { color: var(--surfa-muted); }
.card-link { display: inline-flex; align-items: center; gap: .55rem; color: var(--surfa-blue); font-weight: 700; }
.card-link i { transition: transform .2s; }
.card-link:hover i { transform: translateX(4px); }

.product-card { position: relative; overflow: hidden; padding: 2rem; }
.product-card::after { content: ""; position: absolute; width: 130px; height: 130px; right: -45px; top: -45px; border-radius: 50%; background: linear-gradient(135deg, rgba(16,185,183,.16), rgba(11,90,145,.05)); }
.product-number { color: var(--surfa-cyan); font: 800 3rem/1 "Manrope", sans-serif; opacity: .28; }
.chip { display: inline-block; padding: .35rem .7rem; border-radius: 999px; color: var(--surfa-blue); background: var(--surfa-light); font-size: .78rem; font-weight: 700; }

.split-image { position: relative; }
.split-image img { width: 100%; min-height: 500px; object-fit: cover; border-radius: 28px; box-shadow: var(--surfa-shadow); }
.floating-note { position: absolute; right: -30px; bottom: 32px; width: 230px; padding: 1.2rem; border-radius: 18px; background: #fff; box-shadow: var(--surfa-shadow); }
.floating-note strong { display: block; color: var(--surfa-blue); font: 800 2rem/1 "Manrope", sans-serif; }
.check-list { padding: 0; margin: 1.6rem 0; list-style: none; }
.check-list li { position: relative; padding: .47rem 0 .47rem 2rem; }
.check-list li::before { content: "\F26A"; position: absolute; left: 0; top: .47rem; color: var(--surfa-cyan); font-family: bootstrap-icons; font-weight: bold; }

.stats-band { margin-top: 0; padding-top: 56px; position: relative; z-index: 5; background: #fff; }
.stats-shell { padding: 2rem; border-radius: 24px; color: #fff; background: linear-gradient(120deg, var(--surfa-blue), #087c93); box-shadow: 0 22px 55px rgba(5,47,86,.2); }
.stat-item { padding: .7rem 1.5rem; border-right: 1px solid rgba(255,255,255,.23); }
.stat-item:last-child { border-right: 0; }
.stat-number { font: 800 2.2rem/1.1 "Manrope", sans-serif; }
.stat-label { color: rgba(255,255,255,.7); font-size: .88rem; }

.process-line { position: relative; }
.process-line::before { content: ""; position: absolute; left: 8%; right: 8%; top: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--surfa-cyan), transparent); }
.process-step { position: relative; text-align: center; }
.step-number { position: relative; z-index: 1; width: 68px; height: 68px; display: grid; place-items: center; margin: 0 auto 1.2rem; border: 8px solid #fff; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--surfa-blue), var(--surfa-cyan)); font: 800 1rem "Manrope", sans-serif; box-shadow: 0 8px 20px rgba(11,90,145,.18); }

.quote-band { position: relative; overflow: hidden; border-radius: 30px; color: #fff; background: linear-gradient(125deg, #052f56, #075d83 65%, #0a8e98); }
.quote-band::after { content: ""; position: absolute; width: 430px; height: 430px; right: -120px; top: -210px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.03), 0 0 0 90px rgba(255,255,255,.025); }
.quote-band > .row { position: relative; z-index: 1; }

/* Testimonials */
.testimonials-section {
  position: relative;
  overflow: hidden;
  padding: 88px 0 52px;
  background: linear-gradient(180deg, #f5fbfc 0%, #fff 100%);
}
.testimonials-section::before {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  right: -250px;
  top: -180px;
  border: 1px solid rgba(10,174,173,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 52px rgba(10,174,173,.035), 0 0 0 104px rgba(5,79,121,.025);
  pointer-events: none;
}
.testimonials-section .container { position: relative; z-index: 1; }
.testimonial-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 330px;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(5,79,121,.1);
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 16px 38px rgba(3,47,82,.07);
  backdrop-filter: blur(12px);
}
.testimonial-trust strong { flex: 0 0 auto; color: var(--surfa-blue); font: 800 1.35rem/1 "Manrope", sans-serif; }
.testimonial-trust span { color: var(--surfa-muted); font-size: .82rem; line-height: 1.35; }
.testimonial-card {
  display: flex;
  min-height: 365px;
  flex-direction: column;
  padding: 2rem;
  border: 1px solid rgba(5,79,121,.1);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(3,47,82,.09);
  transition: transform .35s ease, box-shadow .35s ease;
}
.testimonial-card:hover { transform: translateY(-7px); box-shadow: 0 28px 65px rgba(3,47,82,.14); }
.testimonial-card-featured {
  transform: translateY(-18px);
  border-color: rgba(255,255,255,.15);
  color: #fff;
  background: linear-gradient(145deg, #063b66 0%, #086f8c 64%, #0a9b9e 100%);
  box-shadow: 0 28px 70px rgba(5,79,121,.24);
}
.testimonial-card-featured:hover { transform: translateY(-25px); box-shadow: 0 34px 78px rgba(5,79,121,.29); }
.testimonial-card-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.testimonial-card-top .bi-quote { color: rgba(5,79,121,.16); font-size: 3rem; line-height: 1; }
.testimonial-card-featured .testimonial-card-top .bi-quote { color: rgba(255,255,255,.26); }
.testimonial-status {
  display: inline-flex;
  padding: .42rem .72rem;
  border-radius: 999px;
  color: var(--surfa-blue);
  background: #eaf8f8;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.testimonial-card-featured .testimonial-status { color: #d7ffff; background: rgba(255,255,255,.12); }
.testimonial-card blockquote { margin: 0 0 2rem; color: #173c58; font: 600 1.05rem/1.7 "Manrope", sans-serif; }
.testimonial-card-draft blockquote { color: #60778a; }
.testimonial-card-featured blockquote { color: #fff; }
.testimonial-author { display: flex; align-items: center; gap: .85rem; margin-top: auto; }
.testimonial-avatar {
  display: grid;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  place-items: center;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 50%;
  color: var(--surfa-blue);
  background: #dff5f5;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(3,47,82,.14);
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-card-featured .testimonial-avatar { color: #06496f; background: #fff; }
.testimonial-author strong, .testimonial-author span { display: block; }
.testimonial-author strong { color: #07395e; font-size: .92rem; }
.testimonial-author span { margin-top: .15rem; color: var(--surfa-muted); font-size: .78rem; }
.testimonial-card-featured .testimonial-author strong { color: #fff; }
.testimonial-card-featured .testimonial-author span { color: rgba(255,255,255,.7); }

/* Client logos */
.client-logos-section { padding: 52px 0 48px; background: #fff; }
.client-logos-section + .section-space { padding-top: 64px; }
.client-logos-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.client-logo-item {
  display: grid;
  min-height: 118px;
  place-items: center;
  padding: 1.35rem;
  border: 1px solid rgba(5,79,121,.09);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(3,47,82,.055);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.client-logo-item:hover { transform: translateY(-5px); border-color: rgba(10,174,173,.28); box-shadow: 0 20px 42px rgba(3,47,82,.1); }
.client-logo-item img { display: block; width: 100%; max-width: 150px; height: 54px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .3s ease, opacity .3s ease; }
.client-logo-item:hover img { filter: none; opacity: 1; }

.project-card { overflow: hidden; }
.project-visual { min-height: 235px; display: flex; align-items: end; padding: 1.5rem; color: #fff; background: linear-gradient(140deg, #0a3d67, #0aa9a5); }
.project-visual .mock-window { width: 100%; padding: .8rem; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; background: rgba(255,255,255,.12); backdrop-filter: blur(8px); }
.project-card .project-body { padding: 1.5rem; }
.mock-lines span { display:block; height: 7px; margin: 8px 0; border-radius: 5px; background: rgba(255,255,255,.36); }
.mock-lines span:nth-child(2) { width: 70%; }
.mock-lines span:nth-child(3) { width: 45%; background: var(--surfa-aqua); }

.feature-row { padding: 1.1rem 0; border-bottom: 1px solid var(--surfa-border); }
.feature-row:last-child { border-bottom: 0; }
.feature-row i { color: var(--surfa-cyan); font-size: 1.25rem; }
.value-card { padding: 1.7rem; }
.value-card .icon-box { margin-bottom: 1rem; }

.contact-card { padding: 2rem; }
.form-control, .form-select { min-height: 52px; border-color: var(--surfa-border); border-radius: 12px; padding: .75rem 1rem; }
textarea.form-control { min-height: 145px; }
.form-control:focus, .form-select:focus { border-color: var(--surfa-cyan); box-shadow: 0 0 0 .25rem rgba(16,185,183,.12); }
.contact-method { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-method .icon-box { width: 48px; height: 48px; flex: 0 0 48px; margin: 0; font-size: 1.15rem; }

.site-footer { padding: 85px 0 28px; color: rgba(255,255,255,.72); background: #03213c; }
.footer-logo { width: 290px; max-width: 100%; padding: .55rem; border-radius: 12px; background: #fff; }
.footer-socials { display: flex; gap: .45rem; margin-top: 1.5rem; }
.site-footer h5 { color: #fff; font-size: 1rem; font-weight: 800; }
.footer-links { padding: 0; list-style: none; }
.footer-links li { margin: .55rem 0; }
.footer-links a:hover { color: var(--surfa-aqua); }
.social-link { width: 40px; height: 40px; display: inline-grid; place-items: center; margin-right: .35rem; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; }
.social-link:hover { color: var(--surfa-navy); background: var(--surfa-aqua); }
.footer-bottom { margin-top: 55px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; }
.scroll-top { position: fixed; left: 24px; bottom: 24px; z-index: 1000; width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #fff; background: var(--surfa-blue); box-shadow: 0 10px 25px rgba(5,47,86,.24); opacity: 0; visibility: hidden; transition: .25s; }
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { color: var(--surfa-navy); background: var(--surfa-aqua); transform: translateY(-2px); }
.whatsapp-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 1000; width: 58px; height: 58px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0;
  border: 3px solid rgba(255,255,255,.9); border-radius: 999px; color: #fff; background: #20b95a;
  box-shadow: 0 14px 34px rgba(9,106,52,.28); font-weight: 700; transition: .25s ease;
}
.whatsapp-float > i { position: relative; z-index: 1; font-size: 1.55rem; }
.whatsapp-float:hover { color: #fff; background: #159b49; transform: translateY(-3px); box-shadow: 0 18px 42px rgba(9,106,52,.36); }
.whatsapp-pulse { position: absolute; inset: -3px; border: 2px solid rgba(32,185,90,.65); border-radius: inherit; animation: whatsappPulse 2.2s ease-out infinite; }
@keyframes whatsappPulse { 0% { opacity: .9; transform: scale(.94); } 75%, 100% { opacity: 0; transform: scale(1.3); } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Área do Cliente */
.client-page { min-height: 100vh; background: #f3f8fb; }
.client-shell { display: grid; min-height: 100vh; grid-template-columns: minmax(430px, 1.08fr) minmax(520px, .92fr); }
.client-brand-panel {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh;
  padding: 56px clamp(42px, 6vw, 96px); color: #fff; overflow: hidden;
  background: linear-gradient(145deg, rgba(3,33,60,.96), rgba(5,71,107,.91)), url('../img/hero-surfa.png') 62% center/cover no-repeat;
}
.client-brand-panel::before {
  content: ""; position: absolute; width: 560px; height: 560px; right: -260px; top: -180px;
  border: 1px solid rgba(112,225,223,.2); border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(112,225,223,.035), 0 0 0 140px rgba(112,225,223,.025);
}
.client-brand-panel::after {
  content: ""; position: absolute; left: -5%; right: -5%; bottom: 18%; height: 180px; opacity: .28;
  background: repeating-radial-gradient(ellipse at 50% 100%, transparent 0 18px, rgba(112,225,223,.5) 19px 20px, transparent 21px 31px);
  transform: rotate(-7deg);
}
.client-brand-logo, .client-brand-content, .client-brand-footer { position: relative; z-index: 1; }
.client-brand-logo { width: 290px; max-width: 100%; padding: .65rem .8rem; border-radius: 14px; background: rgba(255,255,255,.96); box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.client-brand-content { max-width: 620px; margin: auto 0; padding: 70px 0; }
.client-brand-content h1 { font-size: clamp(2.55rem, 4.5vw, 5rem); font-weight: 800; line-height: 1.04; }
.client-brand-content p { max-width: 530px; color: rgba(255,255,255,.72); font-size: 1.08rem; }
.client-pill { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.4rem; padding: .45rem .8rem; border: 1px solid rgba(112,225,223,.28); border-radius: 999px; color: var(--surfa-aqua); background: rgba(112,225,223,.08); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.client-benefits { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.client-benefits span { display: inline-flex; align-items: center; gap: .45rem; color: rgba(255,255,255,.78); font-size: .9rem; }
.client-benefits i { color: var(--surfa-aqua); }
.client-brand-footer { display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,.5); font-size: .82rem; }
.client-login-panel { position: relative; display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 48px clamp(28px, 6vw, 88px); background: radial-gradient(circle at 90% 8%, rgba(112,225,223,.18), transparent 29%), #f7fafc; }
.login-box { width: 100%; max-width: 480px; }
.login-box > .eyebrow { margin-top: 96px; }
.login-back { position: absolute; top: 48px; left: clamp(28px, 6vw, 88px); display: inline-flex; align-items: center; gap: .45rem; margin: 0; color: var(--surfa-muted); font-weight: 600; }
.login-back:hover { color: var(--surfa-blue); }
.login-box h2 { font-size: clamp(2rem, 3.1vw, 2.85rem); font-weight: 800; }
.login-intro { margin-bottom: 2rem; color: var(--surfa-muted); }
.login-form-label { margin-bottom: .55rem; font-weight: 700; }
.login-field { position: relative; }
.login-field > i { position: absolute; left: 1.1rem; top: 50%; color: #8193a3; transform: translateY(-50%); }
.login-field .form-control { min-height: 60px; padding-left: 3rem; border: 1px solid rgba(5,47,86,.13); border-radius: 15px; background: rgba(255,255,255,.9); box-shadow: 0 8px 24px rgba(5,47,86,.035); }
.login-field .form-control:focus { border-color: var(--surfa-cyan); background: #fff; box-shadow: 0 0 0 4px rgba(16,185,183,.1); }
.password-toggle { position: absolute; right: .7rem; top: 50%; width: 42px; height: 42px; border: 0; border-radius: 11px; color: var(--surfa-muted); background: transparent; transform: translateY(-50%); }
.password-toggle:hover { color: var(--surfa-blue); background: var(--surfa-light); }
.login-submit { min-height: 58px; width: 100%; margin-top: .4rem; font-size: 1rem; }
.login-help { margin-top: 2rem; padding: 1rem 1.15rem; border: 1px solid var(--surfa-border); border-radius: 14px; color: var(--surfa-muted); background: rgba(255,255,255,.65); font-size: .88rem; }
.security-note { display: flex; align-items: center; justify-content: center; gap: .45rem; margin-top: 1.4rem; color: #8193a3; font-size: .8rem; }

@media (max-width: 991.98px) {
  .section-space { padding: 78px 0; }
  .site-header { padding: 12px 0; }
  .site-header .navbar { border-radius: 14px; }
  .navbar-collapse { padding: 1rem 0 .35rem; }
  .navbar-nav { margin-bottom: 1rem; }
  .header-actions { align-items: stretch; flex-direction: column; }
  .header-actions .btn-client, .header-actions .btn-surfa { width: 100%; }
  .hero-home { min-height: 760px; padding-top: 155px; background-position: 60% center; }
  .hero-home::after { content: ""; position:absolute; inset:0; z-index: 1; background: rgba(2,29,54,.2); }
  .hero-home .container { z-index: 2; }
  .wave-divider { height: 58px; }
  .hero-proof { margin-top: 28px; }
  .proof-item { margin-bottom: 1rem; }
  .stats-band { margin-top: 0; padding-top: 46px; background: #fff; }
  .stats-shell { border: 6px solid #fff; border-radius: 28px; overflow: hidden; box-shadow: 0 20px 48px rgba(5,47,86,.2); }
  .stat-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .stat-item:last-child { border-bottom: 0; }
  .process-line::before { display: none; }
  .floating-note { right: 15px; }
  .client-shell { display: block; }
  .client-brand-panel { min-height: 440px; padding: 32px 28px; }
  .client-brand-content { padding: 55px 0 35px; }
  .client-brand-content h1 { max-width: 620px; }
  .client-brand-footer { display: none; }
  .client-login-panel { min-height: auto; padding: 64px 28px 80px; }
  .login-back { position: static; display: flex; width: fit-content; margin-bottom: 2.4rem; }
  .login-box > .eyebrow { margin-top: 0; }
  .testimonial-card-featured, .testimonial-card-featured:hover { transform: none; }
  .testimonial-card { min-height: 0; }
  .testimonials-section { padding: 72px 0 38px; }
  .client-logos-section { padding: 38px 0 32px; }
  .client-logos-section + .section-space { padding-top: 48px; }
  .client-logos-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-header .navbar { padding-inline: .8rem; }
  .navbar-brand img { width: 165px; }
  .navbar-nav { gap: .12rem; }
  .nav-link { padding-inline: .55rem !important; font-size: .9rem; }
  .btn-client { width: 46px; padding-inline: 0; }
  .btn-client span { display: none; }
  .header-contact { padding-inline: 1rem; }
}
@media (max-width: 575.98px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; }
  .navbar-brand img { width: 150px; height: 40px; }
  .site-header .navbar { padding: .55rem .8rem; }
  .hero-home { min-height: 780px; padding-top: 140px; }
  .hero-copy p { font-size: 1rem; }
  .hero-actions .btn-surfa { width: 100%; }
  .page-hero { padding: 155px 0 78px; }
  .split-image img { min-height: 360px; }
  .floating-note { position: relative; right: auto; bottom: auto; width: calc(100% - 30px); margin: -40px auto 0; }
  .quote-band { border-radius: 20px; }
  .client-brand-panel { min-height: 390px; }
  .client-brand-logo { width: 235px; }
  .client-brand-content { padding: 42px 0 12px; }
  .client-brand-content h1 { font-size: 2.5rem; }
  .client-benefits { display: none; }
  .client-login-panel { padding: 48px 20px 64px; }
  .login-back { margin-bottom: 2rem; }
  .scroll-top { left: 16px; bottom: 16px; }
  .whatsapp-float { right: 16px; bottom: 16px; }
  .client-logos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-logo-item { min-height: 100px; padding: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .whatsapp-pulse { animation: none; }
}
