:root {
  --green-dark: #031f16;
  --green-main: #0b6b42;
  --green-neon: #28f59f;
  --white: #ffffff;
  --soft-white: #e2f3ec;
  --gold: #d6b96a;
  --glass: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--green-dark);
  color: var(--white);
  line-height: 1.7;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--green-neon);
  outline-offset: 4px;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(3, 31, 22, 0.75);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  width: min(1180px, 90%);
  height: 78px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--green-neon);
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  font-weight: 600;
  color: var(--soft-white);
}

.nav-links a:hover {
  color: var(--green-neon);
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  width: 42px;
  height: 42px;
  cursor: pointer;
  position: relative;
  font-size: 0;
}

.menu-btn span {
  position: absolute;
  left: 8px;
  width: 26px;
  height: 3px;
  border-radius: 999px;
  background: var(--white);
  transition: top 0.3s ease, transform 0.3s ease, opacity 0.2s ease, background 0.3s ease;
}

.menu-btn span:nth-child(1) {
  top: 12px;
}

.menu-btn span:nth-child(2) {
  top: 20px;
}

.menu-btn span:nth-child(3) {
  top: 28px;
}

.menu-btn.active span {
  background: var(--green-neon);
}

.menu-btn.active span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-btn.active span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}

.hero {
  min-height: 100vh;
  padding: 130px 8% 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 430px);
  align-items: center;
  gap: 60px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(3, 31, 22, 0.82), rgba(3, 31, 22, 0.95)),
    url("imagens/simbolo-fisioterapia.png") center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--green-neon);
  filter: blur(180px);
  opacity: 0.18;
  top: 10%;
  left: -120px;
}

.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  background: var(--gold);
  filter: blur(160px);
  opacity: 0.13;
  bottom: 0;
  right: -100px;
}

.hero-content,
.hero-photo {
  position: relative;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-photo {
  width: min(430px, 100%);
  align-self: center;
  justify-self: end;
}

.tag {
  color: var(--green-neon);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 1;
  margin: 18px 0;
}

.hero h2 {
  color: var(--gold);
  font-size: clamp(1.3rem, 3vw, 2rem);
}

.hero p {
  max-width: 620px;
  margin-top: 24px;
  color: var(--soft-white);
  font-size: 1.1rem;
}

.buttons {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.3s;
}

.primary {
  background: var(--green-neon);
  color: var(--green-dark);
  box-shadow: 0 0 30px rgba(40, 245, 159, 0.35);
}

.secondary {
  border: 1px solid var(--green-neon);
  color: var(--green-neon);
}

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

.hero-photo img {
  width: 100%;
  display: block;
  max-height: 620px;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: 0 0 60px rgba(40, 245, 159, 0.18);
}

.section {
  padding: 100px 8%;
  position: relative;
}

.dark {
  background: #02170f;
}

.section-title {
  width: 100%;
  margin-bottom: 42px;
}

.section-title span {
  color: var(--green-neon);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.section-title h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.1;
  margin-top: 12px;
}

.glass-card,
.card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 34px;
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.glass-card p + p {
  margin-top: 18px;
}

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

.card h3 {
  color: var(--green-neon);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.card ul {
  list-style: none;
}

.card li {
  margin-bottom: 10px;
  color: var(--soft-white);
}

.status {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(40, 245, 159, 0.14);
  color: var(--green-neon);
  font-weight: 800;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  list-style: none;
}

.skills li {
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(40, 245, 159, 0.1);
  border: 1px solid rgba(40, 245, 159, 0.25);
  color: var(--soft-white);
  font-weight: 700;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.contact-links a {
  padding: 18px 26px;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--border);
  color: var(--green-neon);
  font-weight: 800;
}

footer {
  padding: 34px 8%;
  border-top: 1px solid var(--border);
  color: var(--soft-white);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.top-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--green-neon);
  color: var(--green-dark);
  font-weight: 900;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

.top-btn.show {
  opacity: 1;
  pointer-events: auto;
}

body.js-enabled .reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: 0.8s ease;
}

body.js-enabled .reveal.active {
  opacity: 1;
  transform: translateY(0);
}

body.js-enabled .blur-reveal {
  opacity: 0;
  filter: blur(10px);
  transition: opacity 0.8s ease, filter 0.8s ease;
}

body.js-enabled .blur-reveal.active {
  opacity: 1;
  filter: blur(0);
}

@media (max-width: 720px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-photo {
    justify-self: start;
  }

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

  .nav-links {
    position: fixed;
    top: 78px;
    right: 5%;
    width: 220px;
    padding: 20px;
    display: none;
    flex-direction: column;
    background: rgba(3, 31, 22, 0.98);
    border: 1px solid var(--border);
    border-radius: 18px;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
  }

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

  .menu-btn {
    display: block;
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero,
  .section {
    padding-left: 6%;
    padding-right: 6%;
  }

  .hero-photo {
    width: 100%;
  }

  .hero-photo img {
    max-height: 520px;
  }

  .buttons,
  .contact-links {
    flex-direction: column;
  }

  .btn,
  .contact-links a {
    text-align: center;
  }
}
