/* HERO */
.hero {
  height: 200px;
  /* background: url("../assets/banner.png") center/cover no-repeat; */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: black;
}

.hero-overlay {
  padding: 40px 20px;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 25px;
  color:#74B72D;
}

/* PRESENTATION */
.presentation {
  background-color: whitesmoke;
}

/* ACTION BLOCS */
.action-blocs,
.actus-blocs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 35px;
}
.btn-prospectus{
    display:inline-flex;
    align-items:center;
    gap:12px;
    padding:14px 28px;
    margin-top:20px;

    background:linear-gradient(135deg,#0C5B94,#1679c4);
    color:white;

    font-size:17px;
    font-weight:600;
    text-decoration:none;

    border-radius:8px;
    box-shadow:0 8px 20px rgba(12,91,148,0.25);

    transition:all 0.3s ease;
}

.btn-prospectus .icon{
    font-size:20px;
}

.btn-prospectus:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 25px rgba(12,91,148,0.35);
    background:linear-gradient(135deg,#09466f,#0C5B94);
}

.btn-prospectus:active{
    transform:scale(0.98);
}
.livret-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 25px 0;
}

.livret-preview img {
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.download-btn{
  display:inline-block;
  background:#0C5B94;
  color:white;
  padding:13px 26px;
  border-radius:30px;
  text-decoration:none;
  font-weight:700;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  padding: 20px;
  overflow-y: auto;
}

.modal-content {
  background: white;
  width: min(900px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 20px;
  padding: 25px;
  position: relative;
  text-align: center;
  animation: fadeIn 0.3s ease;
}
.presentation{
    max-width:1000px;
    margin:auto;
    padding:60px 30px;

    text-align:center;
}

.presentation h2{
    font-size:32px;
    color:#0C5B94;

    margin-bottom:35px;
}

.presentation h3{
    font-size:26px;
    color:#0C5B94;

    margin:45px 0 25px;
}

.presentation p{
    font-size:25px;

    line-height:1.6;

    color:#444;

    margin-bottom:18px;
}

.presentation .intro{
    font-size:20px;
    font-weight:600;

    color:#222;

    margin-bottom:20px;
}
.modal-content{
    background:white;
    width:80%;
    max-width:900px;

    border-radius:20px;
    padding:25px;

    position:relative;

    animation:fadeIn 0.3s ease;
}

.close{
    position:absolute;
    top:15px;
    right:20px;

    font-size:30px;
    cursor:pointer;
}

.download-btn{
    display:inline-block;
    margin-top:20px;

    padding:12px 20px;

    background:#0C5B94;
    color:white;

    border-radius:10px;
    text-decoration:none;
}

@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(-20px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}
.bloc {
  width: 300px;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.bloc img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
}

.bloc h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.2rem;
}

.bloc1 {
  background-color: #FFCC00;
}

.bloc2 {
  background-color: #74B72D;
}

.bloc3 {
  background-color: #D12517;
}

/* ACTUALITES */
.actus {
  background-color: whitesmoke;
}

.bloc-actu {
  background-color: whitesmoke;
  padding: 1rem;
  border-radius: 8px;
  width: 300px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.bloc-actu img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
}

.bloc-actu h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.2rem;
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {
  .hero {
    min-height: 300px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .bloc,
  .bloc-actu {
    width: 90%;
  }


  @media screen and (max-width: 768px) {
  .modal {
    align-items: flex-start;
    padding: 15px;
  }

  .modal-content {
    width: 100%;
    max-height: none;
    padding: 20px 15px;
    border-radius: 16px;
    margin: 20px 0;
  }

  .modal-content h2 {
    font-size: 22px;
    padding-right: 35px;
  }

  .livret-preview {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .livret-preview img {
    max-height: none;
  }

  .download-btn {
    width: 100%;
    box-sizing: border-box;
  }
}
}