/* Design pour toute la page */
body {
  background-color: #AADCF2;
  margin: 0;
  font-family: Calibri, Arial, sans-serif;
  font-size: 100%;
}

h1 {
  font-size: 2.5em;
  margin-left:5%;
  margin-right:5%;
  font-weight: 700;
  letter-spacing: 1px;
  /*text-shadow: 0 2px 6px rgba(0, 0, 0, 0.20);*/
}

h2 {
  font-size: 2.0em;
}

h3 {
  font-size: 1.5em;
}

h4 {
  font-size: 1.25em;
}

p {
  font-size: 1.0em;
}

a {
 text-decoration: none;
}



/* Boutons Navigation image*/

.navim {
  position: relative;
  text-align: center;
  width: 90%;
  aspect-ratio: 4/3;
  background-attachment: scroll;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 50px;
  margin: auto;
}

.navim .legende {
  position: relative;
  width: 95%;
  font-size: 1.5em;
  top: 10%;
  margin: auto;
  font-weight: bold;
  color: black;
  text-align: center;
  background-color: rgba(255,255,255,0.6);
  border-radius: 25px;
}

.navim .accplus {
  position: absolute;
  font-size: 120px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  color: white;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  text-align: center;
  opacity: 80%;
  z-index: 11;
}

.navim .accplus:hover {
  opacity: 100%;
  font-size: 130px;
}

.navim a {
  color:white;
}


.titre-partie {
  display: flex;
  align-items: center;    /* aligne verticalement au centre */
  justify-content: center; /* ou space-between, selon ton besoin */
  gap: 1rem;              /* espace entre l’image et le titre */
}

 /* Lien invisible sur toute la carte */
        .card-link {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 10;
        }

/* ==================================== */
/* Grille moderne */
        .atouts-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 30px;
        }

        /* Carte atout */
        .atout-card {
            background: rgba(255,255,255,1);
            border-radius: 15px;
            padding: 40px 30px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        /* Effet survol */
        .atout-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.15);
        }

        /* Bande de couleur en haut */
        .atout-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, var(--color-start), var(--color-end));
        }

        /* Icône */
        .atout-card .icon {
            width: 70px;
            height: 70px;
            margin: 0 auto 25px;
            background: linear-gradient(135deg, var(--color-start), var(--color-end));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 30px;
            color: white;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .atout-card h3 {
            color: #333;
            font-size: 1.4em;
            margin-bottom: 20px;
            text-align: center;
        }

        .atout-card p {
            color: #666;
            line-height: 1.7;
            text-align: left;
        }

        /* Variantes de couleurs */
        .atout-card.bleu {
            --color-start: #59C9EE;
            --color-end: #3F6DEB;
        }

        .atout-card.vert {
            --color-start: #2F9151;
            --color-end: #146C36;
        }

        .atout-card.orange {
            --color-start: #FF9800;
            --color-end: #FF8D31;
        }

        .atout-card.violet {
            --color-start: #9C27B0;
            --color-end: #8a2be2;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .atouts-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            h2 {
                font-size: 1.5em;
                margin-bottom: 30px;
            }

            .atout-card {
                padding: 30px 20px;
            }
        }
/* ==================================== */


/* ========================================
   NOUVEAU SYSTÈME GRID (remplace float)
   ======================================== */

/* Conteneur principal avec Grid */
.row {
  display: grid;
  gap: 0;
  width: 100%;
}

/* Grid 2 colonnes */
.row.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* Grid 3 colonnes */
.row.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Grid 4 colonnes */
.row.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Élément pleine largeur dans une grille */


.full {
  grid-column: 1 / -1;
  width: 100%;
  position: relative;
  color: #000;
  text-align: center;
  padding: 1.5rem;
  font-weight: 600;
  z-index: 1;
}

.full.violet {
  border-top: 4px solid blueviolet;
  border-bottom: 4px solid blueviolet;
}

.full.bleu {
  border-top: 4px solid #3F6DEB;
  border-bottom: 4px solid #3F6DEB;
}

.full.bleuclair {
  border-top: 4px solid #59C9EE;
  border-bottom: 4px solid #59C9EE;
}

.full.vert {
  border-top: 4px solid #146C36;
  border-bottom: 4px solid #146C36;
}

.full.orange {
  border-top: 4px solid #FF8D31;
  border-bottom: 4px solid #FF8D31;
}

.full::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.4);
  z-index: -1;
  /* border-radius: 20px; */ /* optionnel */
}

.full h2 {
 /* font-family: 'Inter', sans-serif;*/
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #111;
  /*text-shadow: 0 2px 6px rgba(0, 0, 0, 0.20);*/
}


.full a {
  color: white;
}

.full a:hover {
  text-decoration: underline;
}

/* Classes de contenu (gardées pour compatibilité mais n'utilisent plus float) */
.column {
  padding: 0;
}

.content-split-2,
.content-split-3,
.content-split-4,
.top-text {
  text-align: center;
  color: black;
}

/* Images dans les colonnes */
.content-split-2 img,
.content-split-3 img,
.content-split-4 img {
  max-width: 90%;
  height: auto;
}

.content-split-2 img {
  max-width: 75%;
}

.content-split-4 img {
  max-width: 75%;
}


/* ========================================
   RESPONSIVE - Grid s'adapte automatiquement
   ======================================== */

@media only screen and (max-width: 768px) {
  /* Sur mobile, toutes les grilles passent en 1 colonne */
  .row.grid-2,
  .row.grid-3,
  .row.grid-4 {
    grid-template-columns: 1fr;
  }

  .content-split-2 img,
  .content-split-3 img,
  .content-split-4 img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  h1 {
    font-size: 2.0em;
    margin-left:5%;
    margin-right:5%;
  }

  h2 {
    font-size: 1.5em;
  }

  h3 {
    font-size: 1.25em;
  }

  h4 {
    font-size: 1.1em;
  }
}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
  /* Sur tablette, grid-3 et grid-4 passent en 2 colonnes */
  .row.grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .row.grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}