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



.head {
  background: 
    linear-gradient(rgba(16, 92, 173, 1), rgba(16, 92, 173, 0.6)), 
    url("../images/résilier-contrat.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 20px;
  text-align: center;
  height: 400px;
}

.head h1 {
  margin: 20px;
  margin-bottom: 200px;
  font-size: 50px;
  padding-top: 20px;
}


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;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: 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;
}

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: 700px) {

  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: #ffffff;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  padding: 25px 20px;
  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;
}

/* Responsive pour mobile */
@media (max-width: 700px) {
  .resiliation-section {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 20px 15px;
  }
}
.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;
}
