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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  background: linear-gradient(135deg, #e0f7fa 0%, #e8eaf6 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

nav {
  background-color: white;
  padding: 1rem 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
}

.logo {
  color: #2196f3;
  font-size: 1.5rem;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero {
  text-align: center;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, rgba(33,150,243,0.1) 0%, rgba(156,39,176,0.1) 100%);
}

.hero h1 {
  font-size: 3.5rem;
  color: #2196f3;
  margin-bottom: 1rem;
  font-weight: 800;
}

.hero p {
  color: #666;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

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

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.step-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0,0,0,0.1);
}

.step-card h2 {
  color: #2196f3;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.step-card p {
  color: #666;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.read-more {
  display: inline-block;
  color: #2196f3;
  font-weight: 600;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: rgba(33,150,243,0.1);
  align-self: flex-start;
}

.contact-button {
  background-color: #2196f3;
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.contact-button:hover {
  background-color: #1976d2;
}

.page-content {
  max-width: 1200px;
  margin: 2rem auto;
  background-color: white;
  padding: 2rem;
  border-radius: 16px;
  text-decoration: none; 
  border :1px solid #e0e0e0;
}

.page-contentCONTACT {
  max-width: 1200px;
  width: 800px;
  margin: 2rem auto;
  background-color: white;
  padding: 2rem;
  border-radius: 16px;
  text-decoration: none; 
  border :1px solid #e0e0e0;
}

.navigation-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding: 1rem 0;
}

.nav-button {
  background-color: #0277bd;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.nav-button:hover {
  background-color: #01579b;
}

.background_bis{
  background-color: white;
  padding: 2rem;
  border-radius: 16px;
  text-decoration: none;
  border :1px solid #e0e0e0;
}

.breadcrumb {
  color: #666;
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: #2196f3;
  text-decoration: none;
}

.step-detail {
  max-width: 900px;
  margin: 0 auto;
}

.step-detail h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.step-section {
  margin-bottom: 2.5rem;
}

.step-section h2 {
  color: #2196f3;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.step-section h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.5rem;
}

.step-section p {
  margin-bottom: 1rem;
}

.step-section ul, 
.step-section ol {
  margin: 1rem 0;
  padding-left: 1.2rem;
}

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

.image-grid {
  margin: 1.5rem 0;
}

.step-image {
  max-width: 100%;
  border-radius: 4px;
}

.image-caption {
  margin-top: 0.5rem;
  color: #666;
}

.navigation-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.nav-button {
  background-color: #2196f3;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
}

.author-link {
  color: #2196f3;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.author-link:hover {
  color: #1976d2;
}
footer {
  background: white;
  color: #666;
  text-align: center;
  padding: 1.5rem;
  margin-top: auto;
  box-shadow: 0 -2px 4px rgba(0,0,0,0.05);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2196f3;
  margin-bottom: 0.5rem;
}

.footer-credits {
  display: flex;
  justify-content: center;
  gap: 2rem;
  color: #666;
}

.footer-link {
  color: #2196f3;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #1976d2;
}





.contact-form {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.contact-form h1 {
  color: #2196f3;
  text-align: center;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: #2196f3;
  box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.1);
}

textarea.form-input {
  resize: vertical;
  min-height: 150px;
}

.submit-button {
  background-color: #2196f3;
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.2s ease;
  text-decoration: none;
}

.submit-button:hover {
  background-color: #1976d2;
}




.containerCONTACT {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}


.recaptcha-container {
  width: 100%;
  display: flex;
  justify-content: center;
}
.recaptcha-wrapper {
  display: inline-block;
  transform-origin: center;
}
.styled-link {
  display: inline-block; /* Permet au lien de prendre la largeur de son contenu */
  color: #2196f3;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.styled-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #2196f3;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.styled-link:hover {
  color: #1976d2;
}

.styled-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

@media screen and (max-width: 768px) {
  .recaptcha-wrapper {
    transform: scale(0.85);
    height: calc(100px * 0.85);
}
  .page-contentCONTACT {
    width: 70%;
    margin: 1rem auto;
    padding: 0.5rem;
  }

  .containerCONTACT {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem;
  }

  .contact-form {
    padding: 1rem;
  }

  .contact-form h1 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .form-group {
    margin-bottom: 1rem;
  }

  .form-input {
    padding: 0.5rem;
  }

  .submit-button {
    padding: 0.5rem 1.5rem;
    text-decoration: none;
  }

  nav {
    padding: 0.75rem 1rem;
  }
  .logo {
    font-size: 1.2rem;
  }
    .contact-button {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
  }
  
  .footer-credits {
    flex-direction: column;
    gap: 0.5rem;
  }

}

@media screen and (max-width: 480px) {
  .recaptcha-wrapper {
    transform: scale(0.75);
    height: calc(100px * 0.75);
}
  .page-contentCONTACT {
    width: 75%;
    margin: 0.5rem auto;
    border-radius: 8px;
  }

  .contact-form {
    padding: 0.75rem;
  }

  .breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
  }
}

