/* Reset & Normalize */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  background-color: #ffffff;
  color: #333333;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #4a4a9a;
}

a {
  background-color: transparent;
  color: #0101fa;
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}

a:hover,
a:focus {
  color: #0001c7;
}

/* Main Container */
.container {
  max-width: 100%;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 1rem;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e0e0e0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: #0101fa;
}

.logo img {
  height: 60px;
  width: auto;
}

/* Navigation Header */
.nav-header {
  display: flex;
  gap: 3rem;
}

.nav-item {
  font-size: 1rem;
  font-weight: 700;
  color: #0101fa;
  text-decoration: none;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid transparent;
  transition: border-color 0.15s ease-in-out;
}

.nav-item:hover,
.nav-item.active {
  border-bottom-color: #0101fa;
}

/* Hero Section */
.hero-section {
  flex: 1;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 2rem;
}

.hero-content {
  flex: 1;
  text-align: left;
  margin-left: 5rem;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  max-height: 525px;
}

.hero-title {
  font-size: 2.5rem;
  color: #0101fa;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.hero-subtitle {
  font-size: 1.6rem;
  color: #0101fa;
  margin-top: 0.5rem;
  margin-bottom: 0.3rem;
}

.hero-text {
  font-size: 1.15rem;
  color: #4a4a9a;
  max-width: 600px;
  margin: 0 0 1rem 0;
}

/* Contact Button */
.btn-contact {
  display: block;
  background-color: #0101fa;
  color: #ffffff;
  padding: 0.8rem 2.5rem;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  margin: 0.8rem auto 0;
  text-align: center;
  width: fit-content;
  transition: background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  box-shadow: 0 4px 15px rgba(1, 1, 250, 0.3);
}

.btn-contact:hover {
  background-color: #0001c7;
  box-shadow: 0 6px 20px rgba(1, 1, 250, 0.4);
}

/* Features Section */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid #e0e0e0;
}

.feature-card {
  text-align: center;
  padding: 1.5rem;
}

.feature-card h4 {
  font-size: 1rem;
  color: #0101fa;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.feature-card p {
  font-size: 0.9rem;
  color: #4a4a9a;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .nav-header {
    gap: 1.5rem;
  }

  .nav-item {
    font-size: 0.9rem;
  }

  .logo {
    font-size: 1.5rem;
  }

  .logo img {
    height: 50px;
  }

  .hero-section {
    margin-bottom: 2rem;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 0;
  }

}

/* Content Pages (CGU, CGV) */
.content-page {
  flex: 1;
  padding: 2rem 0;
}

.page-title {
  font-size: 2.5rem;
  color: #0101fa;
  margin-bottom: 2rem;
  text-align: center;
  letter-spacing: 0.05em;
}

.page-content {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}

.page-content h3 {
  color: #0101fa;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.page-content p {
  color: #4a4a9a;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.page-content ul {
  color: #4a4a9a;
  margin: 1rem 0 1.5rem 2rem;
}

.page-content ul li {
  margin-bottom: 0.5rem;
}

/* Footer */
.mastfoot {
  text-align: center;
  width: 100%;
  padding: 1rem 0;
}

.mastfoot p {
  margin: 0;
  color: #4a4a9a;
}
