/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: #ffffff;
  color: white;
  padding-top: 0.7rem;
  padding-bottom: 0.3rem;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-brand h1 {
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a { 
  color: #1e33aa;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.nav-menu a:hover {
  opacity: 0.8;
}

/* Hero Section */
.hero {
  background: #1e33aa;
  color: white;
  padding: 150px 0 60px;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.logo-header{
  width: 200px;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
  max-width: 800px;
}

.hero-services {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #8d151e, #e61c25);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Sections communes */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  /*margin-bottom: 1rem;*/
  color: #1e33aa;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
}

/* À propos */
.about {
/*padding-top: 80px;*/
  padding-top: 100px;
  padding-bottom: 25px;
  background: #ffffff;
}

.about-text {
  max-width: 1000px;
  margin: 0 auto;
}

.lead {
  font-size: 1.3rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 3rem;
  color: #1e33aa;
}

.service-tag {
  background-color: #ffffff4b;
  padding: 5px;
  padding-inline: 15px;
  border-radius: 25px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-item {
  background: #f7f6fc;
  padding: 2rem;
  border-radius: 15px;
  /*box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);*/
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #1e33aa;
}

.mission {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mission h3 {
  font-size: 1.8rem;
  color: #1e33aa;
  margin-bottom: 1rem;
}

.highlight {
  background: linear-gradient(135deg, #8d151e, #e61c25);
  color: white;
  padding: 1rem;
  border-radius: 10px;
  font-weight: 600;
  margin-top: 1rem;
}

/* Documents */
.documents {
  padding: 100px 0;
  background-color: #f7f6fc;
/*padding: 80px 0;*/
}

.documents-grid {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.document-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  /*box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);*/
  text-align: center;
  transition: transform 0.3s ease;
}

.document-card:hover {
  transform: translateY(-5px);
}

.document-icon {
  font-size: 3rem;
  margin-bottom: 0,5rem;
  color: #1e33aa;
}

.document-card h3 {
  color: #1e33aa;
  /*margin-bottom: 1rem;*/
}

.download-btn {
  display: inline-block;
  background: linear-gradient(135deg, #8d151e, #e61c25);
  color: white;
  padding: 0.30rem 1rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  margin-top: 1rem;
  transition: transform 0.3s ease;
}

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

/* Contact */
.contact {
  padding-bottom: 80px;
  background: #ffffff;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.contact-card {
  /*border: solid rgba(218, 218, 245, 0.514) 2px;
  background: rgba(255, 255, 255, 0.75);
  padding: 2rem;*/
  border-radius: 15px;
  
  text-align: center;
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-card h3 {
  color: #1e33aa;
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background: #1e33aa;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-section a:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
  text-align: center;
  opacity: 0.8;
}

.legal-content{
margin-top: 125px;
}

.legal-section {
  padding: 2rem;
}

.legal-section h2 {
  color: #1e33aa;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e61c25;
}

.legal-section p {
  margin-bottom: 0.8rem;
  line-height: 1.7;
}

.legal-section a {
  color: #e61c25;
  text-decoration: none;
  font-weight: 500;
}

.legal-section a:hover {
  text-decoration: underline;
}

.legal-footer {
  text-align: center;
  font-style: italic;
  color: #666;
  margin-top: 3rem;
  padding: 1rem;
  background: white;
  border-radius: 10px;
}
/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .nav{
    justify-content: center;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

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

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

  .contact-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-services {
    justify-content: center;
  }
}