body {
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  margin: 0;
  padding: 0;
  color: #333;
}

header {
  background: #105cad;
  color: white;
  padding: 20px;
  text-align: center;

  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo {
  width: 150px;
}

header nav {
  margin-top: 10px;
}

.head {
  position: relative;
  color: white;
  padding: 40px;
  text-align: center;
  overflow: hidden;
  height: 400px;
}

.head .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.6);
  z-index: 0;
  height: 500px;
}

.head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(16, 92, 173, 1), rgba(16, 92, 173, 0.6));
  z-index: 1;
}

.head h1 {
  position: relative;
  z-index: 2;
  margin: 20px;
  margin-bottom: 200px;
  font-size: 50px;
}


main {
  max-width: 1600px;
  margin: 30px auto;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

h2 {
  color: #007bff;
}
.cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.25rem;
}
.card1 {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgb(225, 243, 250);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.7);
  font-size: 0.9rem;
  text-align: center;
}
form {
  margin-top: 20px;
}

label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

input, select, textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 14px;
}

button {
  margin-top: 20px;
  padding: 12px 20px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

button:hover {
  background: #0056b3;
}

ul {
  list-style-type: none;
  padding: 0;
}

ul li {
  padding: 5px 0;
}
a {
    text-decoration: none;
    color: #333;
}
.icon{
  width: 40px;
}
.explication{
  width: 100%;
  text-align: center;
  object-fit: cover;
  padding-bottom: 30px;
}
.explication p{
padding: 1px 200px;
}
footer {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  font-size: 14px;
  
}
.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: auto;color: #666;
}
.footer-col {
  width: 23%;
  min-width: 250px;
  margin-bottom: 30px;
}
.footer-col a{
    color: #0056b3;
}
.footer-col p{
    font-weight: bolder;
}

.footer-col img{
    width: 30px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;          
  gap: 15px;              
  align-items: center;
}

.footer-col ul li {
  display: flex;
  align-items: center;
  gap: 5px;
}
/* === Responsive Footer (Téléphone) === */
@media (max-width: 900px) {
.explication p{
padding: 1px 10px;
}
  footer {
    font-size: 16px !important;
    padding: 25px 10px !important;
  }

  .footer-container {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 20px !important;
  }

  .footer-col {
    width: 100% !important;
    min-width: unset !important;
    margin-bottom: 20px !important;
  }

  .footer-sm img {
    width: 40px !important;
    height: auto !important;
  }

  .footer-col ul {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
  }

  .footer-col ul li {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }
  .logo1{
    width: 50px;
  }
}

.resiliation-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.card {
  background: #bfd5f1;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  padding: 50px 50px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card h2 {
  color: #105cad;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}
.card2{
  background: #e7ebf0;
  border-radius: 5px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  padding: 30px 30px;
}
/* Responsive pour mobile */
@media (max-width: 700px) {
  .resiliation-section {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 20px 15px;
  }
}

.formulaire {
  max-width: 900px;
  margin: 40px auto;
  padding: 30px;
  background: #f3efef;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  font-family: "Roboto", Arial, sans-serif;
}

.formulaire h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 24px;
  color: #1966be;
  font-weight: 600;
}

.formulaire label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #444;
}

.formulaire input,
.formulaire textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 18px;
  border: 1px solid #d1d1d1;
  border-radius: 8px;
  font-size: 14px;
  transition: 0.2s;
}

.formulaire input:focus,
.formulaire textarea:focus {
  border-color: #0077ff;
  box-shadow: 0 0 4px rgba(0,119,255,0.3);
  outline: none;
}

.formulaire button {
  width: 100%;
  padding: 14px;
  background: #0077ff;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.25s;
  font-weight: 600;
}

.formulaire button:hover {
  background: #0690eb;
}

.formulaire input[type="file"] {
  padding: 6px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #1f1f1f;
  color: #fff;
  padding: 15px;
  display: none;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
}
.cookie-banner a {
  color: #4caf50;
}
.cookie-banner button {
  margin-left: 10px;
  padding: 8px 12px;
  cursor: pointer;
}
/* FIX CHECKBOX */
input[type="checkbox"] {
  width: auto !important;
  display: inline-block !important;
  margin: 0 8px 0 0 !important;
}

.formulaire label {
  display: flex !important;
  align-items: center !important;
  gap: 8px;
  font-weight: normal;
}
