:root {
  --nv: #0a1440;
  --nv2: #132a6b;
  --nv3: #1c3688;
  --or: #f7941e;
  --ordk: #5c3a00;
  --wh: #ffffff;
  --whs: rgba(255, 255, 255, 0.72);
  --font-sans: 'Roboto', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--nv);
  color: var(--wh);
  font-family: var(--font-sans);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.fmt-container {
  background: var(--nv);
  color: var(--wh);
  font-family: var(--font-sans);
  border-radius: 12px;
  overflow: hidden;
}

/* Navigation */
nav.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: var(--nv);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.15);
  position: sticky;
  top: 0;
  z-index: 5;
  gap: 8px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--wh);
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
}

.nav-links-desktop {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links-desktop a {
  color: var(--whs);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links-desktop a:hover {
  color: var(--or);
}

.nav-phone-desktop {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--or);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s;
}

.nav-phone-desktop:hover {
  opacity: 0.8;
}

.nav-phone-desktop i {
  font-size: 16px;
}

.nav-menu {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  background: var(--nv2);
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.15);
  z-index: 4;
}

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

.nav-links-mobile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 12px;
}

.nav-links-mobile a {
  color: var(--whs);
  font-size: 13px;
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.2s;
}

.nav-links-mobile a:hover {
  color: var(--or);
}

/* Mobile Responsive Navigation */
@media (max-width: 768px) {
  nav.navbar {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links-desktop {
    display: none;
  }

  .nav-phone-desktop {
    display: none !important;
  }

  .nav-menu {
    width: 100%;
  }

  #apropos {
  display: none;
  }

  .nav-menu > a {
    display: none;
  }

  .nav-menu.active > a {
    display: flex;
  }
}

/* Hero Section */
.hero {
  padding: 56px 24px 40px;
  text-align: center;
}

.hero-badge {
  color: var(--or);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  margin: 0 0 10px;
}

.hero h1 {
  font-size: 30px;
  font-weight: 500;
  margin: 0 0 16px;
  color: var(--wh);
}

.hero p {
  max-width: 520px;
  margin: 0 auto 24px;
  color: var(--whs);
  font-size: 15px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  display: inline-block;
}

.btn-primary {
  background: var(--or);
  color: var(--ordk);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  border: 0.5px solid rgba(255, 255, 255, 0.4);
  color: var(--wh);
}

.btn-secondary:hover {
  border-color: var(--or);
  color: var(--or);
}

.btn-small {
  display: block;
  text-align: center;
  border: 0.5px solid rgba(255, 255, 255, 0.35);
  color: var(--wh);
  padding: 7px;
  border-radius: 8px;
  font-size: 12px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-small:hover {
  border-color: var(--or);
  color: var(--or);
}

/* About Section */
.about {
  padding: 32px 24px;
  background: var(--nv2);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}

.about-item {
  text-align: center;
  padding: 16px 8px;
}

.about-item i {
  font-size: 26px;
  color: var(--or);
}

.about-item p {
  font-size: 13px;
  font-weight: 500;
  margin: 10px 0 0;
  color: var(--wh);
}

/* Trainer Section */
.trainer {
  padding: 40px 24px;
  max-width: 600px;
  margin: 0 auto;
}

.trainer-card {
  background: var(--nv2);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.trainer-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--or);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trainer-avatar i {
  font-size: 28px;
  color: var(--ordk);
}

.trainer-info {
  flex: 1;
  min-width: 200px;
}

.trainer-info h3 {
  font-weight: 500;
  font-size: 16px;
  margin: 0 0 4px;
  color: var(--wh);
}

.trainer-info .subtitle {
  color: var(--or);
  font-size: 13px;
  margin: 0 0 10px;
}

.trainer-info p {
  color: var(--whs);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* Formations Section */
.formations {
  padding: 16px 24px 40px;
}

.formations h2 {
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  color: var(--wh);
  margin: 0 0 28px;
}

.formation-category {
  margin-bottom: 32px;
}

.formation-category h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--wh);
  margin: 0 0 14px;
}

.formation-category i {
  font-size: 18px;
  color: var(--or);
}

.formation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 500px;
  margin: 0 auto;
}

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

.formation-card {
  background: var(--nv2);
  border-radius: 12px;
  overflow: hidden;
}

.formation-card-image {
  height: 120px;
  background: var(--nv3);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
}

.formation-card-image i {
  font-size: 26px;
  color: rgba(255, 255, 255, 0.3);
}

.formation-card-body {
  padding: 14px;
}

.formation-card-title {
  font-weight: 500;
  font-size: 14px;
  margin: 0 0 8px;
  color: var(--wh);
}

.formation-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--whs);
  margin-bottom: 12px;
}

.formation-card-price {
  color: var(--or);
  font-weight: 500;
}

/* Contact Section */
.contact {
  padding: 40px 24px;
  background: var(--nv2);
}

.contact h2 {
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  color: var(--wh);
  margin: 0 0 20px;
}

.contact-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  border-radius: 8px;
  border: 0.5px solid rgba(255, 255, 255, 0.3);
  background: var(--nv);
  color: var(--wh);
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--or);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"] {
  height: 40px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  background: var(--or);
  color: var(--ordk);
  border: none;
  height: 42px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
}

.contact-form button:hover {
  opacity: 0.9;
}

.form-message {
  font-size: 13px;
  text-align: center;
  margin: 0;
  min-height: 16px;
}

/* Footer */
footer {
  padding: 28px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.15);
}

.footer-section h4 {
  font-weight: 500;
  font-size: 13px;
  margin: 0 0 8px;
  color: var(--wh);
}

.footer-section p {
  color: var(--whs);
  font-size: 12px;
  margin: 0;
  line-height: 1.6;
}

.footer-brand {
  font-weight: 500;
  font-size: 15px;
  margin: 0 0 8px;
}

.footer-brand span:first-child {
  color: var(--wh);
}

.footer-brand span:last-child {
  color: var(--or);
}

.footer-contact-item {
  margin-bottom: 4px;
}

.footer-contact-item i {
  font-size: 13px;
  vertical-align: -1px;
  margin-right: 4px;
}

/* Responsive */
@media (max-width: 640px) {
  nav.navbar {
    padding: 12px 16px;
  }

  .hero h1 {
    font-size: 24px;
  }

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

  #apropos {
    padding: 24px 16px;
  }

  #apropos > div {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #apropos > div > div {
    padding: 12px 0;
  }
}
