/* =========================================================
   ATHÉNA — home/style.css
   Palette STRICTE
   Corinthian Pink:   #ffa6d9
   Etruscan Red:      #b06045
   Pale Lemon Yellow: #fff44f
   Cerulean Blue:     #2a52be
   ========================================================= */

/* ✅ Plein large : on utilise toute la largeur de la page.
   Pour garder la lisibilité, on limite seulement la largeur du texte,
   mais les blocs s'étirent sur toute la longueur disponible. */
.home_container{
  width: 100%;
  margin: 0;
  padding: clamp(1rem, 2.2vw, 2.2rem);
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.75rem);
}

/* Contrainte douce de lisibilité (texte trop long sinon) */
.home_container > section{
  width: 100%;
}

/* ==============================
   HERO / INTRO (plein large)
================================ */
.home_intro{
  position: relative;
  overflow: hidden;

  width: 100%;

  border-radius: 22px;
  border: 1px solid rgba(26,35,64,.12);
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 34px rgba(11,16,32,.12);

  padding: clamp(1.15rem, 2.2vw, 2rem);
}

/* décor léger (palette stricte uniquement) */
.home_intro::before{
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;
  background:
    radial-gradient(1100px 460px at 10% 0%, rgba(255,166,217,.22) 0%, transparent 55%),
    radial-gradient(980px 620px at 90% 10%, rgba(42,82,190,.16) 0%, transparent 58%),
    radial-gradient(1000px 620px at 35% 110%, rgba(255,244,79,.16) 0%, transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,0));
}

.home_intro::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.45);
  mix-blend-mode: overlay;
}

.home_intro_header{
  position: relative;
  z-index: 1;

  /* ✅ texte confortable mais pas trop large */
  max-width: 980px;
}

.home_intro h1{
  margin: 0 0 .65rem 0;
  line-height: 1.12;
  letter-spacing: .2px;
  font-weight: 950;
  color: var(--ink-900, #0b1020);
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
}

.home_intro_kicker{
  margin: 0;
  color: var(--ink-700, #1a2340);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Highlight strict Pale Lemon */
.home_intro strong{
  font-weight: 950;
  color: var(--ink-900, #0b1020);
  background: linear-gradient(
    transparent 60%,
    rgba(255,244,79,.55) 60%,
    rgba(255,244,79,.55) 95%,
    transparent 95%
  );
  padding: 0 .15em;
  border-radius: 8px;
}

/* ==============================
   Value cards — plein large
================================ */
.home_value_grid{
  position: relative;
  z-index: 1;

  width: 100%;
  margin-top: 1.1rem;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 1.6vw, 1.1rem);
}

/* Card */
.home_value_card{
  border-radius: 20px;
  border: 1px solid rgba(26,35,64,.12);
  background: rgba(255,255,255,.86);
  box-shadow: 0 12px 26px rgba(11,16,32,.10);
  padding: 1.05rem 1.05rem 1rem;

  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}

.home_value_card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(11,16,32,.12);
  border-color: rgba(42,82,190,.22);
}

.home_value_card h3{
  margin: 0 0 .75rem 0;
  font-weight: 950;
  letter-spacing: .2px;
  font-size: 1.12rem;
  color: var(--ink-900, #0b1020);

  display: inline-flex;
  align-items: center;
  gap: .55rem;
}

.home_value_card h3::before{
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #2a52be; /* Cerulean strict */
  box-shadow: 0 0 0 5px rgba(42,82,190,.12);
}

.home_value_card:nth-child(2) h3::before{
  background: #ffa6d9; /* Pink strict */
  box-shadow: 0 0 0 5px rgba(255,166,217,.16);
}

.home_value_card:nth-child(3) h3::before{
  background: #b06045; /* Red strict */
  box-shadow: 0 0 0 5px rgba(176,96,69,.14);
}

.home_value_card ul{
  margin: 0;
  padding-left: 1.05rem;
  color: var(--ink-700, #1a2340);
  line-height: 1.65;
}

.home_value_card li{
  margin: .45rem 0;
}

.home_value_card li strong{
  background: none;
  padding: 0;
  border-radius: 0;
  color: var(--ink-900, #0b1020);
}

/* ==============================
   Pédagogie (plein large)
================================ */
.home_pedagogy{
  position: relative;
  z-index: 1;

  margin-top: 1.15rem;

  border-radius: 20px;
  border: 1px solid rgba(26,35,64,.12);
  background: rgba(255,255,255,.74);

  padding: 1.15rem 1.1rem;
}

.home_pedagogy h2{
  margin: 0 0 1rem 0;
  font-weight: 950;
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  color: var(--ink-900, #0b1020);

  display: inline-flex;
  align-items: center;
  gap: .6rem;
}

.home_pedagogy h2::before{
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #fff44f; /* Lemon strict */
  box-shadow: 0 0 0 5px rgba(255,244,79,.18);
}

.home_pedagogy_grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
}

.home_pedagogy_item{
  border-radius: 18px;
  border: 1px solid rgba(26,35,64,.10);
  background: rgba(255,255,255,.86);
  padding: .95rem 1rem;
}

.home_pedagogy_item h4{
  margin: 0 0 .5rem 0;
  font-weight: 950;
  color: var(--ink-900, #0b1020);
  font-size: 1.02rem;
}

.home_pedagogy_item p{
  margin: 0;
  color: var(--ink-700, #1a2340);
  line-height: 1.65;
  font-size: 1rem;
}

/* ==============================
   Partenaires / Logos (plein large)
================================ */
.home_logos_section{
  width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(26,35,64,.12);
  background: rgba(255,255,255,.74);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 34px rgba(11,16,32,.10);
  padding: clamp(1.05rem, 2vw, 1.7rem);
}

.home_logos_section h2{
  margin: 0 0 1rem 0;
  font-weight: 950;
  letter-spacing: .2px;
  color: var(--ink-900, #0b1020);
  font-size: clamp(1.2rem, 2vw, 1.55rem);

  display: inline-flex;
  align-items: center;
  gap: .6rem;
}

.home_logos_section h2::before{
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #2a52be;
  box-shadow: 0 0 0 5px rgba(42,82,190,.12);
}

.home_logos{
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(.65rem, 1.3vw, 1rem);
  align-items: center;
}

.home_logos img{
  width: 100%;
  height: 88px;
  object-fit: contain;

  border-radius: 16px;
  border: 1px solid rgba(26,35,64,.12);
  background: rgba(255,255,255,.86);

  padding: .6rem .75rem;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease, background .14s ease;
}

.home_logos img:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(11,16,32,.12);
  border-color: rgba(42,82,190,.22);
  background: rgba(42,82,190,.06);
}

/* ==============================
   Responsive
================================ */
@media (max-width: 980px){
  .home_value_grid{ grid-template-columns: 1fr; }
  .home_pedagogy_grid{ grid-template-columns: 1fr; }
  .home_logos{ grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px){
  .home_container{ padding: 1rem .95rem; gap: 1rem; }
  .home_intro{ padding: 1.15rem 1rem; }
  .home_logos_section{ padding: 1rem; }
  .home_logos{ grid-template-columns: repeat(2, 1fr); }
  .home_logos img{ height: 78px; border-radius: 14px; }
}

@media (max-width: 420px){
  .home_logos{ grid-template-columns: 1fr; }
  .home_logos img{ height: 74px; }
}

@media (prefers-reduced-motion: reduce){
  .home_value_card,
  .home_logos img{
    transition: none !important;
  }
}
