
/* Origem: css/style.css */
/* =========================================================
   EXTRANET INFORMÁTICA - VERSÃO 1.5 PREMIUM
   Elegante, minimalista e com efeitos discretos.
   ========================================================= */

:root {
  --primary: #007fa8;
  --secondary: #00b8dc;
  --accent: #50e6ff;
  --navy: #031722;
  --navy-2: #06283a;
  --text: #0b2d3b;
  --muted: #607887;
  --light: #f3fbff;
  --white: #ffffff;
  --glass: rgba(255,255,255,.76);
  --border: rgba(0,184,220,.18);
  --shadow: 0 28px 80px rgba(3,23,34,.16);
  --radius: 28px;
}

html[data-theme="dark"] {
  --text: #eafaff;
  --muted: #b7d7e2;
  --light: #031722;
  --white: #071f2c;
  --glass: rgba(255,255,255,.08);
  --border: rgba(80,230,255,.18);
  --shadow: 0 28px 80px rgba(0,0,0,.32);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 5%, rgba(80,230,255,.16), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(0,127,168,.14), transparent 30%),
    linear-gradient(180deg, var(--light) 0%, #ffffff 38%, #eefaff 100%);
  overflow-x: hidden;
  transition: background .35s ease, color .35s ease;
}

html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 10% 5%, rgba(80,230,255,.13), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(0,127,168,.18), transparent 30%),
    linear-gradient(180deg, #031722 0%, #061923 42%, #020d13 100%);
}

#softCanvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: .45;
  pointer-events: none;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(3,23,34,.82);
  border-bottom: 1px solid rgba(80,230,255,.2);
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 42px rgba(3,23,34,.24);
  transition: background .3s ease, box-shadow .3s ease;
}

.topbar.scrolled {
  background: rgba(3,23,34,.96);
  box-shadow: 0 20px 54px rgba(3,23,34,.36);
}

.nav {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand img {
  width: 164px;
  display: block;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.28));
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  background: #ffffff;
  transform: translateY(-2px);
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.1);
  color: #fff;
  cursor: pointer;
}

.menu-btn {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px 0;
  border-radius: 999px;
  background: #fff;
}

.hero-premium {
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,.78) 0%, rgba(221,248,255,.86) 48%, rgba(255,255,255,.94) 100%);
}

html[data-theme="dark"] .hero-premium {
  background:
    linear-gradient(135deg, rgba(3,23,34,.92) 0%, rgba(6,40,58,.86) 48%, rgba(3,23,34,.96) 100%);
}

.hero-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,127,168,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,127,168,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 88%);
}

html[data-theme="dark"] .hero-premium::before {
  background-image:
    linear-gradient(rgba(80,230,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80,230,255,.055) 1px, transparent 1px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  gap: 70px;
  align-items: center;
  padding: 88px 0;
}

.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

html[data-theme="dark"] .eyebrow,
html[data-theme="dark"] .section-tag {
  color: var(--accent);
}

.eyebrow::before,
.section-tag::before {
  content: "";
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 999px;
}

h1 {
  margin: 0;
  max-width: 760px;
  color: var(--text);
  font-size: clamp(42px, 6.5vw, 78px);
  line-height: .96;
  letter-spacing: -.05em;
}

h2 {
  margin: 0 0 16px;
  color: var(--text);
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.04;
  letter-spacing: -.035em;
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
  color: var(--text);
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy p {
  max-width: 650px;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 900;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -80%;
  width: 55%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-22deg);
  transition: left .7s ease;
}

.btn:hover::before {
  left: 125%;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #005f83 0%, #00b8dc 55%, #50e6ff 100%);
  box-shadow: 0 18px 38px rgba(0,127,168,.32);
}

.btn-ghost {
  color: #005f83;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(0,127,168,.22);
}

html[data-theme="dark"] .btn-ghost {
  color: var(--accent);
  background: rgba(255,255,255,.08);
  border-color: rgba(80,230,255,.22);
}

.btn-ghost:hover {
  color: #fff;
  background: var(--navy);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 650px;
  margin-top: 34px;
}

.trust-row div {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--glass);
  box-shadow: 0 18px 42px rgba(3,23,34,.08);
  backdrop-filter: blur(12px);
}

.trust-row strong {
  display: block;
  color: var(--primary);
  font-size: 32px;
  line-height: 1;
}

html[data-theme="dark"] .trust-row strong {
  color: var(--accent);
}

.trust-row strong::after {
  content: "+";
}

.trust-row span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.orb-ring {
  position: absolute;
  width: min(460px, 88vw);
  height: min(460px, 88vw);
  border-radius: 50%;
  background:
    conic-gradient(from 120deg, rgba(80,230,255,.35), rgba(0,127,168,.08), rgba(255,255,255,.85), rgba(0,184,220,.25));
  animation: slowSpin 22s linear infinite;
  opacity: .88;
}

.orb-main {
  position: relative;
  width: min(380px, 78vw);
  height: min(380px, 78vw);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 22%, rgba(255,255,255,.92), rgba(255,255,255,.38) 36%, transparent 37%),
    linear-gradient(145deg, rgba(255,255,255,.9), rgba(210,247,255,.76));
  border: 1px solid rgba(0,184,220,.28);
  box-shadow:
    0 42px 100px rgba(3,23,34,.18),
    inset 0 0 50px rgba(255,255,255,.75);
  animation: floatOrb 7s ease-in-out infinite;
}

html[data-theme="dark"] .orb-main {
  background:
    radial-gradient(circle at 30% 22%, rgba(255,255,255,.18), rgba(255,255,255,.06) 36%, transparent 37%),
    linear-gradient(145deg, rgba(255,255,255,.12), rgba(80,230,255,.08));
  box-shadow:
    0 42px 100px rgba(0,0,0,.3),
    inset 0 0 50px rgba(255,255,255,.08);
}

.orb-main img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  filter: drop-shadow(0 22px 28px rgba(0,95,131,.28));
}

.data-card {
  position: absolute;
  min-width: 205px;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 15px 16px;
  border-radius: 22px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(0,184,220,.22);
  box-shadow: 0 26px 60px rgba(3,23,34,.14);
  backdrop-filter: blur(18px);
  animation: floatCard 6s ease-in-out infinite;
}

html[data-theme="dark"] .data-card {
  background: rgba(255,255,255,.08);
}

.data-card span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, #005f83, #00b8dc);
  color: #fff;
  font-size: 20px;
}

.data-card strong,
.data-card small {
  display: block;
}

.data-card strong {
  color: var(--text);
}

.data-card small {
  color: var(--muted);
  margin-top: 2px;
  font-weight: 700;
}

.data-card-one { top: 56px; left: 0; }
.data-card-two { right: 0; top: 232px; animation-delay: .8s; }
.data-card-three { left: 42px; bottom: 62px; animation-delay: 1.25s; }

@keyframes slowSpin { to { transform: rotate(360deg); } }
@keyframes floatOrb { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.quick-nav {
  position: sticky;
  top: 88px;
  z-index: 70;
  background: rgba(255,255,255,.9);
  border-bottom: 1px solid rgba(0,127,168,.12);
  backdrop-filter: blur(14px);
}

html[data-theme="dark"] .quick-nav {
  background: rgba(3,23,34,.86);
}

.quick-nav-inner {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 14px 0;
}

.quick-nav-inner a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 900;
  padding: 8px 13px;
  border-radius: 999px;
  white-space: nowrap;
}

.quick-nav-inner a:hover {
  background: rgba(0,184,220,.1);
}

.section {
  padding: 100px 0;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading p {
  font-size: 18px;
}

.solutions {
  background:
    radial-gradient(circle at 75% 12%, rgba(0,184,220,.12), transparent 25%),
    linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(236,251,255,.92) 100%);
}

html[data-theme="dark"] .solutions,
html[data-theme="dark"] .testimonials,
html[data-theme="dark"] .gallery,
html[data-theme="dark"] .about {
  background: linear-gradient(180deg, rgba(3,23,34,.5), rgba(6,25,35,.78));
}

.solution-showcase {
  border-radius: 34px;
  border: 1px solid var(--border);
  background: var(--glass);
  box-shadow: var(--shadow);
  padding: 22px;
  backdrop-filter: blur(16px);
  margin-bottom: 34px;
}

.solution-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px;
  justify-content: center;
}

.tab-btn {
  border: 1px solid var(--border);
  background: rgba(255,255,255,.82);
  color: var(--primary);
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, color .2s ease, background .2s ease;
}

html[data-theme="dark"] .tab-btn {
  background: rgba(255,255,255,.08);
  color: var(--accent);
}

.tab-btn:hover,
.tab-btn.active {
  background: linear-gradient(135deg, #005f83, #00b8dc);
  color: #ffffff;
  transform: translateY(-2px);
}

.panel {
  display: none;
  grid-template-columns: .88fr 1.12fr;
  gap: 24px;
  padding: 18px;
  align-items: stretch;
}

.panel.active {
  display: grid;
  animation: panelIn .45s ease both;
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-copy {
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.panel-copy ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.panel-copy li {
  color: var(--muted);
  font-weight: 800;
}

.panel-copy li::before {
  content: "✓";
  color: var(--primary);
  margin-right: 8px;
}

.panel-icon,
.mini-icon {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #fff;
  font-size: 24px;
  background: linear-gradient(135deg, #005f83, #00b8dc);
  box-shadow: 0 16px 32px rgba(0,127,168,.24);
}

.panel-icon.cloud-img,
.mini-icon.cloud-mini {
  overflow: hidden;
}

.panel-icon.cloud-img img,
.mini-icon.cloud-mini img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.panel-image {
  min-height: 360px;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(135deg, #dff8ff, #ffffff);
  display: grid;
  place-items: center;
}

html[data-theme="dark"] .panel-image {
  background: rgba(255,255,255,.08);
}

.panel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panel-cloud img {
  width: min(340px, 70%);
  height: min(340px, 70%);
  object-fit: contain;
  filter: drop-shadow(0 28px 34px rgba(0,95,131,.25));
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.mini-card {
  min-height: 245px;
  padding: 28px;
  border-radius: 28px;
  background: var(--glass);
  border: 1px solid var(--border);
  box-shadow: 0 20px 48px rgba(3,23,34,.1);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  transform-style: preserve-3d;
  backdrop-filter: blur(14px);
}

.mini-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0,184,220,.7);
  box-shadow: 0 28px 65px rgba(0,127,168,.18);
}

.cloud-section {
  color: #fff;
  background:
    radial-gradient(circle at 18% 20%, rgba(80,230,255,.2), transparent 30%),
    linear-gradient(135deg, #031722 0%, #06283a 46%, #007fa8 100%);
  overflow: hidden;
}

.cloud-section h2,
.cloud-section .section-tag {
  color: #fff;
}

.cloud-section p {
  color: #d7f4ff;
}

.cloud-grid,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center;
}

.benefit-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.benefit-list div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px;
  border-radius: 18px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
}

.benefit-list span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-weight: 900;
}

.device-scene {
  position: relative;
  min-height: 480px;
}

.device-window {
  position: absolute;
  inset: 20px 0 0 0;
  overflow: hidden;
  border-radius: 32px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 36px 86px rgba(0,0,0,.28);
}

.window-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.75);
}

.device-window img {
  width: 100%;
  height: calc(100% - 42px);
  object-fit: cover;
}

.cloud-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 190px;
  height: 190px;
  border-radius: 34px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.36);
  box-shadow: 0 30px 70px rgba(0,0,0,.26);
}

.cloud-badge img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.testimonials {
  background: #f7fdff;
}

.testimonial-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-radius: 34px;
  padding: 28px;
  max-width: 900px;
  margin: 0 auto;
  background: var(--glass);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.testimonial-content {
  text-align: center;
}

.testimonial-content p {
  font-size: 20px;
  color: var(--text);
}

.testimonial-content strong {
  color: var(--primary);
}

.testimonial-nav {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.12);
  color: var(--text);
  font-size: 32px;
  cursor: pointer;
}

.gallery {
  background:
    radial-gradient(circle at 15% 15%, rgba(0,184,220,.12), transparent 28%),
    #f7fdff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-item {
  margin: 0;
  height: 310px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 24px 54px rgba(3,23,34,.12);
  border: 1px solid var(--border);
  background: #fff;
}

.gallery-item img,
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease, filter .5s ease;
}

.gallery-item:hover img,
.about-image:hover img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}

.about {
  background: linear-gradient(135deg, #ffffff, #e7f9ff);
}

.about-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #000;
}

.about-image > iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  aspect-ratio: 16 / 9;
}

.contact {
  background:
    radial-gradient(circle at 86% 20%, rgba(80,230,255,.2), transparent 28%),
    linear-gradient(135deg, #031722 0%, #06283a 58%, #005f83 100%);
}

.contact h2,
.contact .section-tag {
  color: #fff;
}

.contact p {
  color: #b6d9e4;
}

.contact-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  transition: transform .25s ease, background .25s ease;
}

.contact-whatsapp:hover {
  background: rgba(255,255,255,.18);
  transform: translateX(4px);
}

.contact-form {
  padding: 32px;
  border-radius: 30px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(80,230,255,.2);
  box-shadow: 0 32px 80px rgba(0,0,0,.28);
  display: grid;
  gap: 16px;
  color-scheme: light;
  --form-background: #ffffff;
  --form-text: #0b2d3b;
  --form-muted: #607887;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
  color: var(--form-text);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid #cfe5ed;
  outline: none;
  font-size: 16px;
  background: var(--form-background);
  color: var(--form-text);
  caret-color: var(--form-text);
  -webkit-text-fill-color: var(--form-text);
  transition: transform .25s ease, border .25s ease, box-shadow .25s ease;
  font-family: Arial, Helvetica, sans-serif;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--form-muted);
  opacity: 1;
}

.contact-form select option {
  background: var(--form-background);
  color: var(--form-text);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(0,184,220,.12);
  transform: translateY(-2px);
}

.form-message {
  margin: 0;
  font-weight: 900;
  color: var(--primary);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25D366;
  box-shadow: 0 14px 34px rgba(0,0,0,.26);
  z-index: 100;
  transition: transform .25s ease;
  animation: whatsappPulse 2.6s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

@keyframes whatsappPulse {
  0%,100% {
    box-shadow: 0 14px 34px rgba(0,0,0,.26), 0 0 0 0 rgba(37,211,102,.36);
  }
  50% {
    box-shadow: 0 14px 34px rgba(0,0,0,.26), 0 0 0 12px rgba(37,211,102,0);
  }
}

.footer {
  background: #020d13;
  color: #d7eef5;
  padding: 28px 0;
  border-top: 1px solid rgba(80,230,255,.16);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer p {
  margin: 0;
  color: #d7eef5;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
}

@media (max-width: 980px) {
  .hero-grid,
  .cloud-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 500px;
  }

  .panel {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .menu-btn {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 88px;
    left: 4%;
    right: 4%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border-radius: 22px;
    background: rgba(3,23,34,.98);
    border: 1px solid rgba(80,230,255,.2);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
  }

  .trust-row,
  .cards-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding: 58px 0;
  }

  .hero-visual {
    min-height: auto;
    display: block;
  }

  .orb-ring {
    display: none;
  }

  .orb-main {
    width: 280px;
    height: 280px;
    margin: 28px auto;
  }

  .data-card {
    position: relative;
    inset: auto;
    width: 100%;
    margin: 10px 0;
  }

  .device-scene {
    min-height: 390px;
  }

  .device-window {
    inset: 20px 0 72px 0;
  }

  .cloud-badge {
    right: 12px;
    width: 160px;
    height: 160px;
  }

  .section {
    padding: 74px 0;
  }

  .brand img {
    width: 136px;
  }

  .theme-toggle {
    width: 38px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}


/* Página de Login - Extranet Informática */
.login-section {
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  padding: 88px 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(80,230,255,.18), transparent 32%),
    radial-gradient(circle at 88% 12%, rgba(0,127,168,.12), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,.78), rgba(221,248,255,.88), rgba(255,255,255,.96));
}
html[data-theme="dark"] .login-section {
  background:
    radial-gradient(circle at 18% 20%, rgba(80,230,255,.14), transparent 32%),
    radial-gradient(circle at 88% 12%, rgba(0,127,168,.18), transparent 30%),
    linear-gradient(135deg, rgba(3,23,34,.94), rgba(6,40,58,.9), rgba(3,23,34,.98));
}
.login-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,127,168,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,127,168,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 90%);
}
.login-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 58px;
  align-items: center;
}
.login-copy h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(48px, 7vw, 82px);
  line-height: .96;
  letter-spacing: -.05em;
}
.login-copy p {
  max-width: 560px;
  font-size: 20px;
}
.login-info-card {
  max-width: 430px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding: 18px;
  border-radius: 24px;
  background: var(--glass);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.login-info-card span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #005f83, #00b8dc);
  color: #fff;
  font-size: 22px;
}
.login-info-card strong,
.login-info-card small {
  display: block;
}
.login-info-card strong {
  color: var(--text);
}
.login-info-card small {
  color: var(--muted);
  margin-top: 4px;
  font-weight: 700;
}
.login-card {
  padding: 36px;
  border-radius: 34px;
  background: var(--glass);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  display: grid;
  gap: 18px;
}
.login-card-header h2 {
  margin-bottom: 8px;
  font-size: 34px;
}
.login-card-header p {
  margin: 0;
}
.login-card label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 900;
}
.login-card input {
  width: 100%;
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid #cfe5ed;
  outline: none;
  font-size: 16px;
  background: #ffffff;
  transition: transform .25s ease, border .25s ease, box-shadow .25s ease;
}
.login-card input:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(0,184,220,.12);
  transform: translateY(-2px);
}
.back-link {
  display: inline-flex;
  justify-content: center;
  color: var(--primary);
  text-decoration: none;
  font-weight: 900;
  padding-top: 4px;
}
.back-link:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .login-grid { grid-template-columns: 1fr; }
  .login-section { padding: 64px 0; }
}

/* Campo anti-spam: invisível para pessoas, presente apenas para robôs. */
.hp-field{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
.form-message{min-height:1.4em;font-weight:800}.form-message.is-success{color:#0b8a4a}.form-message.is-error{color:#b42323}
