@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&display=swap');

:root {
  --bg: #04091f;
  --surface: #0f1941;
  --surface-2: #162451;
  --text: #f7f9ff;
  --muted: #b0bef3;
  --accent: #6ae3ff;
  --accent-dark: #3bb7d7;
  --border: rgba(255, 255, 255, 0.12);
  --url-phone: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.62 10.79C8.06 13.87 10.13 15.94 13.21 17.38L15.27 15.32C15.48 15.11 15.8 15.04 16.09 15.11C17.2 15.38 18.39 15.52 19.62 15.52C20.07 15.52 20.43 15.88 20.43 16.33V19.62C20.43 20.07 20.07 20.43 19.62 20.43C10.32 20.43 3 13.11 3 3.81C3 3.36 3.36 3 3.81 3H7.09C7.54 3 7.9 3.36 7.9 3.81C7.9 5.04 8.04 6.23 8.31 7.34C8.38 7.63 8.31 7.95 8.1 8.16L6.62 10.79Z' fill='%23ffffff'/%3E%3C/svg%3E");
  --radius: 24px;
  font-family: Inter, system-ui, sans-serif;
}

.theme-light {
  --bg: #f7f9ff;
  --surface: #ffffff;
  --surface-2: #e8effa;
  --text: #071923;
  --muted: #5e718d;
  --accent: #1f75ff;
  --accent-dark: #0e4f9e;
  --border: rgba(15, 25, 40, 0.12);
  --url-phone: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.62 10.79C8.06 13.87 10.13 15.94 13.21 17.38L15.27 15.32C15.48 15.11 15.8 15.04 16.09 15.11C17.2 15.38 18.39 15.52 19.62 15.52C20.07 15.52 20.43 15.88 20.43 16.33V19.62C20.43 20.07 20.07 20.43 19.62 20.43C10.32 20.43 3 13.11 3 3.81C3 3.36 3.36 3 3.81 3H7.09C7.54 3 7.9 3.36 7.9 3.81C7.9 5.04 8.04 6.23 8.31 7.34C8.38 7.63 8.31 7.95 8.1 8.16L6.62 10.79Z' fill='%230000ff'/%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at top, rgba(106, 227, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #05112e 0%, #04091f 100%);
  color: var(--text);
  line-height: 1.6;
}

body.theme-light {
  background: radial-gradient(circle at top, rgba(31, 117, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #f6f9ff 0%, #e8effa 100%);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(4, 9, 31, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10vh;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

/* Estilização dos Textos */
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 0.9;
}

.text-gdoc {
    color: var(--text); /* Cor do texto "GDOC" */
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 1px;
}

.text-nexus {
    color: #4cd195; /* Verde claro do texto */
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 5px;
    margin-top: 2px;
}

body.theme-light header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(15, 25, 40, 0.08);
}

body.theme-light .theme-toggle {
  background: rgba(15, 25, 40, 0.06);
  border-color: rgba(15, 25, 40, 0.12);
  color: var(--text);
}

.topbar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.brand span {
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 3.5rem;
}
.gradient-text {
    background: linear-gradient(120deg, #025d92, #059ba8,  #00ff9d,  #00e080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-right: 0.2em;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.95rem;
  color: var(--muted);
}

nav a:hover {
  color: var(--text);
}

.mobile-menu-extra {
  display: none;
}

.theme-toggle {
  width: 52px;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.theme-toggle:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  position: relative;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--text);
  border-radius: inherit;
  transition: transform 0.3s ease;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

.menu-toggle.is-open span {
  background: transparent;
}

.menu-toggle.is-open span::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span::after {
  transform: translateY(-7px) rotate(-45deg);
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  padding: 0 1rem;
  height: 44px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.contact-phone:hover {
  background: rgba(255, 255, 255, 0.12);
}

.phone-icon {
  width: 18px;
  height: 18px;
  margin-right: 0.3rem;
  display: inline-block;
  background-image: var(--url-phone);
  background-size: contain;
  background-repeat: no-repeat;
}

.lang-toggle {
  display: inline-flex;
  gap: 0.45rem;
}

.lang-button {
  min-width: 40px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lang-button.active,
.lang-button:hover {
  background: var(--accent);
  color: #071923;
  border-color: rgba(106, 227, 255, 0.2);
}

.theme-toggle::before {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.7 16.9C17.1 18.6 15.7 19.9 14 20.5C10.7 21.5 7.3 19.5 6.4 16.3C5.6 13.4 7.4 10.7 10.3 10.1C11.8 9.8 13.3 10.2 14.5 11.1C15.7 12 16.5 13.4 16.7 14.9C16.9 15.9 17.1 16.4 17.7 16.9Z' fill='%23F2F2F2'/%3E%3Cpath d='M12 2C12.7 2 13.4 2.1 14 2.3C10.5 3.2 7.9 6.4 7.9 10.1C7.9 13.8 10.5 17 14 17.9C13.4 18.1 12.7 18.2 12 18.2C7.6 18.2 4 14.6 4 10.2C4 5.8 7.6 2.2 12 2.2V2Z' fill='%230B3B5A'/%3E%3C/svg%3E");
}

.theme-toggle.is-dark::before {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='5.5' fill='%23FFD166'%3E%3C/circle%3E%3Cpath d='M12 1.5V4.5' stroke='%23FFD166' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M12 19.5V22.5' stroke='%23FFD166' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M4.5 12H1.5' stroke='%23FFD166' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M22.5 12H19.5' stroke='%23FFD166' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M5.9 5.9L4.1 4.1' stroke='%23FFD166' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M19.9 19.9L18.1 18.1' stroke='%23FFD166' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M5.9 18.1L4.1 19.9' stroke='%23FFD166' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M19.9 4.1L18.1 5.9' stroke='%23FFD166' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

body.theme-light .theme-toggle {
  background: var(--surface-2);
  border-color: var(--border);
}


.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: 2.5rem;
  align-items: center;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  line-height: 1.02;
  margin-bottom: 1.25rem;
  letter-spacing: -0.04em;
}

.hero-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 1rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.25s ease, background 0.25s ease;
}

.button-primary {
  background: var(--accent);
  color: #071923;
  box-shadow: 0 20px 50px rgba(106, 227, 255, 0.16);
}

.button-secondary {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.button-primary:hover,
.button-secondary:hover {
  transform: translateY(-2px);
}

.hero-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.hero-card h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.hero-card p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero-grid {
  display: grid;
  gap: 1rem;
}

.feature {
  padding: 1.1rem 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 18px;
  border: 1px solid var(--border);
}

.feature strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-title h2 {
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  padding: 1.8rem;
  background: var(--surface);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 260px;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.card p {
  color: var(--muted);
  font-size: 0.98rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat {
  padding: 1.8rem;
  background: rgba(10, 19, 42, 0.9);
  border-radius: 24px;
  border: 1px solid rgba(106, 227, 255, 0.12);
}

.stat strong {
  display: block;
  font-size: 1rem;
  color: #f7f9ff;
}

.stat span {
  color: var(--muted);
  font-size: 0.95rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.testimonial {
  padding: 1.8rem;
  background: rgba(10, 19, 42, 0.9);
  border-radius: 24px;
  border: 1px solid rgba(106, 227, 255, 0.12);
}

body.theme-light .testimonial {
  background: rgba(10, 19, 42, 0.9);
  border-color: rgba(106, 227, 255, 0.12);
}

.testimonial p {
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.testimonial strong {
  display: block;
  font-size: 1rem;
  color: #f7f9ff;
}

.contact-card {
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(6, 20, 48, 0.96), rgba(4, 9, 31, 0.95));
  display: grid;
  gap: 1rem;
}

.contact-card label {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  padding: 1rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
}

.contact-card textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1rem;
}

.contact-card button {
  padding: 1rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #071923;
  font-weight: 700;
  cursor: pointer;
}

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 1.5rem 2.5rem;
  background: rgba(4, 9, 31, 0.95);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(106, 227, 255, 0.08);
  border: 1px solid rgba(106, 227, 255, 0.15);
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .cards,
  .testimonial-grid,
  .stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .topbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    order: 2;
  }

  .contact-phone {
    flex-shrink: 1;
    min-width: 0;
    order: 1;
    font-size: 0.6rem;
  }

  .lang-toggle,
  .theme-toggle.desktop-theme-toggle {
    display: none;
  }

  #mainNav {
    position: absolute;
    top: 100%;
    right: 1.5rem;
    left: 1.5rem;
    z-index: 30;
    background: rgba(4, 9, 31, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.3s ease;
  }

  #mainNav.is-open {
    max-height: min(420px, calc(100vh - 140px));
    opacity: 1;
    pointer-events: auto;
    overflow-y: auto;
  }

  #mainNav a {
    width: 100%;
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  #mainNav a:last-child {
    border-bottom: none;
  }

  .mobile-menu-extra {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .mobile-menu-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .mobile-menu-section label,
  .mobile-menu-section span {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .mobile-lang-group {
    display: flex;
    gap: 0.75rem;
  }

  .mobile-menu-section select {
    width: 100%;
    min-height: 48px;
    padding: 0 0.75rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-size: 1rem;
    appearance: none;
    outline: none;
  }

  .topbar {
    position: relative;
    gap: 1rem;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-copy h1 {
    font-size: 2.6rem;
  }

  .section-title {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-actions {
    width: 100%;
  }

  .button-primary,
  .button-secondary,
  .contact-card button {
    width: 100%;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-copy h1 {
    font-size: 2.6rem;
  }

  .section-title {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-actions {
    width: 100%;
  }

  .button-primary,
  .button-secondary,
  .contact-card button {
    width: 100%;
  }
}
