/* EPV Le Pourvoyeur — palette extraite du logo (bleu, jaune, rouge) */
:root {
  --blue: #1a3fa8;
  --blue-mid: #2450c5;
  --blue-dark: #0e2a78;
  --blue-dark2: #12358A;
  --blue-deep: #081c4d;
  --yellow: #ffd400;
  --yellow-soft: #fff6b8;
  --red: #e31b23;
  --red-soft: #ffe4e5;
  --ink: #14223d;
  --muted: #5b6b82;
  --paper: #fff;
  --cream: #f4f6fc;
  --line: #e3e8f2;
  --radius: 20px;
  --shadow: 0 14px 38px rgba(14, 42, 120, 0.1);
  --text: #202D48;
  --radius: 18px;
  --white: #FFFFFF;
   --border: #E2E8F5;
  --shadow2: 0 12px 32px rgba(18, 53, 138, 0.10);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Nunito Sans", Arial, sans-serif;
  line-height: 1.65;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.contact-panel {
    padding: 28px;
    border-radius: var(--radius);
    background: var(--blue-dark2);
    color: var(--white);
}
.contact-panel h2 {
  color: var(--yellow);
  margin-bottom: 0px;
}
.contact-panel h3 {
  margin-bottom: 0px;
}
.contact-panel p {
  overflow-wrap: anywhere;
  color: #edf2ff;
  margin-top: 0px;
}

.contact-form {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow2);
}

.eyebrow2, .section-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 800;
}
.contact-form h2 {
    margin: 0 0 16px;
    color: var(--blue-dark2);
    font-size: clamp(30px, 3.5vw, 44px);
    line-height: 1.2;
}
.form-group label {
    color: var(--blue-dark2);
    font-size: 14px;
    font-weight: 700;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    color: var(--ink);
    background: #fff;
}
.form-group textarea {
    min-height: 130px;
    resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--blue);
  border-color: var(--blue);
}
.notice {
    margin-top: 25px;
    padding: 18px 20px;
    border-left: 5px solid var(--red);
    border-radius: 8px;
    background: #fff2f3;
    color: #76202a;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: #fff;
  padding: 10px;
  z-index: 100;
}
.skip-link:focus { left: 10px; }

.topbar {
  background: var(--blue-deep);
  /* background: var(--blue-dark2); */
  color: #e8edf8;
  font-size: 0.82rem;
}
.topbar-inner {
  min-height: 37px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.topbar p { margin: 0; }
.topbar-links {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar-links a:hover { color: var(--yellow); }
/* #btn-inscrire:hover { background: var(--yellow); } */
.nav-cta:hover { background: var(--yellow); }

.lang-switch {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 0.04em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(227, 232, 242, 0.9);
}

.nav-wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo {
  width: auto;
  height: 70px;
  max-width: 78px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.brand-copy strong {
  font-family: Poppins, sans-serif;
  font-size: 1rem;
  color: var(--blue-dark);
  font-weight: 800;
}
.brand-copy small {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 25px);
}

.nav-link {
  font-size: 0.86rem;
  font-weight: 800;
  color: #4d5d78;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-link:hover,
.nav-link.active { color: var(--blue); }
.nav-link.active:after {
  content: "";
  display: block;
  height: 2px;
  width: 18px;
  background: var(--yellow);
  margin: 4px auto -6px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 21px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14, 42, 120, 0.16);
}
.button-small { padding: 11px 17px; font-size: 0.81rem; }
.button-primary { background: var(--yellow); color: var(--blue-deep); }
.button-light { background: #fff; color: var(--blue-dark); }
.button-outline-light {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.button-outline {
  border-color: var(--blue);
  color: var(--blue);
  background: transparent;
}

.mobile-lang,
.menu-toggle { display: none; }

.hero {
  min-height: 590px;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  /* background: #1a3fa8 url("https://images.unsplash.com/photo-1503676260728-1c00da094a0b?auto=format&fit=crop&w=2000&q=90") center 38% / cover no-repeat; */
  background: url("../images/int_epv3.jpg") center 38% / cover no-repeat;
  color: #fff;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 28, 77, 0.94) 0%, rgba(14, 42, 120, 0.84) 37%, rgba(14, 42, 120, 0.28) 73%, rgba(14, 42, 120, 0.08) 100%);
  /* background: linear-gradient(90deg, rgba(18, 53, 138, .96), rgba(22, 71, 184, .77) 58%, rgba(18, 53, 138, .24)); */
}
.hero-content {
  padding-top: 72px;
  padding-bottom: 86px;
  position: relative;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  /* letter-spacing: 0.13em; */
  letter-spacing: 2px;
  /* font-size: 0.72rem; */
  font-size: 12px;
  font-weight: 950;
  /* font-weight: 800; */
  color: var(--blue);
  margin-bottom: 12px;
}



.eyebrow-light { color: var(--yellow); }

.hero h1 {
  font-family: Poppins, sans-serif;
  font-size: clamp(2.6rem, 5.3vw, 4.65rem);
  /* line-height: 1.12; */
  line-height: 1.1;
  /* letter-spacing: -0.045em; */
  letter-spacing: -2px;
  max-width: 660px;
  margin: 0 0 22px;
  /* font-weight: 800; */
}
.hero h1 em,
.about-copy h2 em,
.page-hero h1 em { font-style: normal; color: var(--yellow); }

.hero-description {
  font-size: 1.06rem;
  max-width: 525px;
  color: #edf1fb;
  margin: 0 0 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 33px;
  color: #dce4f6;
  font-size: 0.83rem;
}
.note-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 5px rgba(255, 212, 0, 0.18);
}

.hero-label {
  position: absolute;
  right: max(20px, calc((100vw - 1160px) / 2));
  bottom: 30px;
  background: #fff;
  color: var(--blue-dark);
  padding: 13px 18px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: var(--shadow);
}
.hero-label-icon { color: var(--red); font-size: 1.3rem; }

.trust-strip { position: relative; margin-top: -1px; background: #fff; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
  gap: 18px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 6px 12px;
}
.trust-icon {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e8eefc;
  color: var(--blue);
  font-size: 1.4rem;
}
.trust-item h3 {
  font-family: Poppins, sans-serif;
  font-size: 0.87rem;
  margin: 0 0 2px;
}
.trust-item p {
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--muted);
  margin: 0;
}

/* .section { padding: 74px 0; } */
.section { padding: 54px 0; }
.section-classes { padding: 34px 0; }

.about-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: clamp(45px, 7vw, 100px);
}

.about-copy h2,
.section-heading h2,
.cta-inner h2,
.page-hero h1 {
  font-family: Poppins, sans-serif;
  letter-spacing: -0.035em;
  line-height: 1.2;
  font-size: clamp(2rem, 3.4vw, 3rem);
  margin: 0 0 20px;
}

.about-copy > p {
  font-size: 1.1rem;
  /* color: #45566f; */
  margin: 0 0 15px;

  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  line-height: 1.65;
}
.about-copy .muted { font-size: 0.92rem; color: var(--muted); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-weight: 900;
  font-size: 0.87rem;
  margin-top: 13px;
}
.text-link:hover { color: var(--red); }

.about-signature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 30px;
}
.signature-line {
  width: 35px;
  height: 2px;
  background: var(--yellow);
}

.about-visual {
  position: relative;
  padding: 0 0 30px 25px;
}
.about-visual > img {
  width: 100%;
  height: 410px;
  object-fit: cover;
  border-radius: var(--radius);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow);
}
.about-visual:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 57%;
  height: 63%;
  background: var(--yellow);
  border-radius: var(--radius);
  opacity: 0.42;
}
.decor-circle {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 13px solid var(--red);
  border-radius: 50%;
  right: -20px;
  top: -22px;
  opacity: 0.85;
}
.image-caption {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  max-width: 310px;
}
.caption-star {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--yellow-soft);
  border-radius: 50%;
  color: var(--blue-dark);
  font-size: 1.2rem;
}
.image-caption strong,
.image-caption small { display: block; }
.image-caption strong { font-size: 0.84rem; }
.image-caption small {
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 2px;
}

.classes-section { background: var(--cream); }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 32px;
}
.section-heading h2 { margin-bottom: 9px; }
.section-heading p {
  color: var(--muted);
  margin: 0;
  max-width: 590px;
}
.heading-link { white-space: nowrap; margin-bottom: 7px; }

.class-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.class-overview { margin-bottom: 42px; }
.class-card {
  min-height: 205px;
  border-radius: 17px;
  padding: 20px 15px 17px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  border-left: 5px solid var(--blue);
}
.class-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.class-green { background: #dce6fb; }
.class-yellow { background: var(--yellow-soft); }
.class-mint { background: #e8eefc; }
.class-peach { background: var(--red-soft); }
.class-blue { background: #cfd9f7; }
.class-lilac { background: #fff0a8; }
.class-illustration {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.78);
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 1.8rem;
  margin-bottom: 18px;
}
.class-name {
  font-family: Poppins, sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.3;
}
.class-desc {
  font-size: 0.76rem;
  color: #59687d;
  line-height: 1.4;
  margin-top: 5px;
  max-width: 120px;
}
.class-arrow {
  position: absolute;
  right: 15px;
  bottom: 13px;
  font-size: 1rem;
  color: var(--blue);
}
.disclaimer {
  font-size: 0.75rem;
  color: #7a8698;
  margin: 16px 0 0;
}

.news-section { background: #fff; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.news-card {
  border: 1px solid var(--line);
  border-radius: 17px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.news-image {
  height: 215px;
  display: block;
  position: relative;
  overflow: hidden;
  background: #e7ecf5;
}
.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.news-card:hover .news-image img { transform: scale(1.04); }
.news-category {
  position: absolute;
  left: 15px;
  bottom: 14px;
  background: #fff;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.72rem;
  font-weight: 900;
  color: var(--blue);
}
.news-content { padding: 22px; }
.news-date {
  font-size: 0.75rem;
  color: #8b96a8;
  margin: 0 0 8px;
}
.news-content h3 {
  font-family: Poppins, sans-serif;
  font-size: 1.07rem;
  line-height: 1.4;
  margin: 0 0 11px;
}
.news-content > p:not(.news-date) {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0;
}
.news-content .text-link { font-size: 0.8rem; margin-top: 17px; }

.cta-band {
  background: var(--blue);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding-top: 61px;
  padding-bottom: 61px;
}
.cta-inner > div { max-width: 720px; position: relative; z-index: 1; }
.cta-inner h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 12px;
}
.cta-inner p { margin: 0; color: #dce4f6; }
.cta-inner .button { flex-shrink: 0; position: relative; z-index: 1; }
.cta-spark {
  position: absolute;
  color: rgba(255, 255, 255, 0.13);
  font-size: 8rem;
  line-height: 1;
}
.cta-spark-one { right: 13%; top: -22px; }
.cta-spark-two { right: 0; bottom: -36px; font-size: 6rem; }

.site-footer {
  background: var(--blue-deep);
  color: #d9e1f2;
  padding-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr 1fr 1.15fr;
  gap: 45px;
  padding-bottom: 46px;
}
.brand-footer .brand-copy strong { color: #fff; }
.brand-footer .brand-copy small { color: #b7c3dc; }
.brand-footer .logo {
  height: 78px;
  max-width: 86px;
  background: #fff;
  border-radius: 12px;
  padding: 4px;
}
.footer-about > p {
  max-width: 300px;
  color: #b7c3dc;
  font-size: 0.85rem;
  margin: 18px 0 0;
}
.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}
.footer-column h3 {
  font-family: Poppins, sans-serif;
  font-size: 0.9rem;
  color: #fff;
  margin: 5px 0 9px;
}
.footer-column a,
.footer-column p {
  font-size: 0.81rem;
  color: #b7c3dc;
  margin: 0;
}
.footer-column a:hover,
.footer-bottom a:hover { color: var(--yellow); }
.footer-contact-link {
  color: var(--yellow) !important;
  font-weight: 800;
  margin-top: 7px !important;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 18px;
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 0.73rem;
  color: #a9b8d4;
}
.footer-bottom p { margin: 0; }
.footer-bottom > div { display: flex; gap: 18px; }
.prototype-label { color: var(--yellow); }

/* Pages internes */
.page-hero {
  background: linear-gradient(120deg, var(--blue-deep) 0%, var(--blue) 58%, var(--blue-mid) 100%);
  color: #fff;
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid var(--yellow);
}

.section-texte {
    margin-top: 30px;
}
.div-texte {
    width: min(1160px, calc(100% - 40px));
    margin: auto;
}
.div-texte h2 {
    font-family: Poppins, sans-serif;
    letter-spacing: -0.035em;
    line-height: 1.2;
    font-size: clamp(2rem, 3.4vw, 3rem);
    /* margin: 0 0 20px; */
    margin: 0;
}

.page-hero:after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border: 18px solid rgba(255, 212, 0, 0.14);
  border-radius: 50%;
  right: -60px;
  bottom: -90px;
}
.page-hero p {
  max-width: 640px;
  color: #dce4f6;
  margin: 0;
  font-size: 1.05rem;
}
.page-hero .eyebrow { margin-bottom: 10px; }

.value-grid,
.split-grid,
.detail-grid,
.gallery-grid,
.contact-layout,
.info-grid {
  display: grid;
  gap: 22px;
}

.value-grid { grid-template-columns: repeat(3, 1fr); }
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--yellow);
}
.value-card .value-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--blue-deep);
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.value-card h3 {
  font-family: Poppins, sans-serif;
  margin: 0 0 10px;
  font-size: 1.2rem;
}
.value-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.split-grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}
.split-grid img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.detail-grid { grid-template-columns: repeat(2, 1fr); }
.class-detail {
  scroll-margin-top: 110px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  align-items: start;
}
.class-level {
  width: 88px;
  height: 88px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-family: Poppins, sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  background: var(--yellow);
  color: var(--blue-deep);
}
.class-detail h3 {
  font-family: Poppins, sans-serif;
  margin: 0 0 8px;
  font-size: 1.25rem;
}
.class-detail p { margin: 0; color: var(--muted); }

.gallery-grid {
  grid-template-columns: repeat(3, 1fr);
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 230px;
  background: #e7ecf5;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  transition: transform 0.45s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 18px;
  background: linear-gradient(transparent, rgba(8, 28, 77, 0.82));
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
}

/* .contact-layout {
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
} */
.contact-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 35px;
    align-items: start;
}

.info-grid { grid-template-columns: 1fr; }
.info-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 20px 22px;
}
.info-card h3 {
  font-family: Poppins, sans-serif;
  margin: 0 0 6px;
  font-size: 1rem;
}
.info-card p,
.info-card a { margin: 0; color: var(--muted); font-size: 0.92rem; }
.info-card a { color: var(--blue); font-weight: 800; }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-weight: 800;
  font-size: 0.82rem;
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--blue);
  border-color: var(--blue);
}
.form-success {
  display: none;
  background: #e8eefc;
  color: var(--blue-dark);
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 700;
  margin-bottom: 16px;
}
.form-success.is-visible { display: block; }
.form-note { font-size: 0.78rem; color: var(--muted); margin-top: 12px; }

.article-list { display: grid; gap: 28px; }
.article {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}
.article img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.article-body { padding: 8px 24px 8px 0; }
.article-body h2 {
  font-family: Poppins, sans-serif;
  font-size: 1.35rem;
  margin: 0 0 10px;
}
.legal-content {
  max-width: 760px;
}
.legal-content h2 {
  font-family: Poppins, sans-serif;
  font-size: 1.3rem;
  margin: 28px 0 10px;
}
.legal-content p,
.legal-content li { color: var(--muted); }

.map-placeholder {
  min-height: 220px;
  border-radius: 16px;
  background: linear-gradient(135deg, #dce6fb, #fff6b8);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  color: var(--blue-dark);
  font-weight: 800;
}

@media (max-width: 1050px) {
  .main-nav { gap: 12px; }
  .nav-link { font-size: 0.8rem; }
  .nav-cta { padding: 10px 12px; }
  .class-grid { grid-template-columns: repeat(3, 1fr); }
  .class-card { min-height: 170px; }
  .footer-grid { gap: 25px; grid-template-columns: 1.2fr 0.8fr 1fr; }
  .footer-note { grid-column: 2 / 4; }
  .hero { min-height: 550px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .topbar-inner { min-height: 34px; }
  .topbar-inner > p { font-size: 0.75rem; }
  .nav-wrap { min-height: 74px; }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
  }
  .menu-toggle span {
    display: block;
    width: 19px;
    height: 2px;
    background: var(--blue);
    margin-inline: auto;
    transition: transform 0.2s;
  }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 18px 24px 25px;
    box-shadow: 0 18px 25px rgba(14, 42, 120, 0.12);
    align-items: stretch;
    gap: 0;
    flex-direction: column;
    border-top: 1px solid var(--line);
  }
  .main-nav.is-open { display: flex; }
  .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid #edf1ee;
    font-size: 0.92rem;
  }
  .nav-link.active:after { display: none; }
  .nav-cta { margin-top: 15px; align-self: flex-start; }
  .mobile-lang {
    display: block;
    color: var(--blue);
    align-self: flex-start;
    padding: 12px 0;
  }

  /* Transformation du couleur du bouton "S'inscrire" au survol de la souris */
  /* #btnInscrire:hover {
    background: red;
    color: var(--blue-deep);
  } */
  .hero { min-height: 550px; background-position: 58% center; }
  .hero-shade {
    background: linear-gradient(90deg, rgba(8, 28, 77, 0.93), rgba(14, 42, 120, 0.74) 62%, rgba(14, 42, 120, 0.25));
  }
  .hero-content { padding-top: 68px; padding-bottom: 95px; }
  .hero-label { right: 20px; bottom: 18px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 22px 0; }
  .trust-item { padding: 5px; }
  /* .section { padding: 52px 0; } */
  .section { padding: 42px 0; }
  .section-classes { padding: 22px 0; }
  .about-grid,
  .split-grid,
  .contact-layout,
  .article { grid-template-columns: 1fr; gap: 42px; }
  .about-copy { max-width: 680px; }
  .about-visual { max-width: 700px; margin-left: 12px; }
  .about-visual > img { height: 380px; }
  .news-grid { gap: 14px; }
  .news-image { height: 170px; }
  .news-content { padding: 17px; }
  .news-content h3 { font-size: 0.98rem; }
  .cta-inner { align-items: flex-start; flex-direction: column; gap: 24px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-note { grid-column: auto; }
  .footer-bottom { flex-wrap: wrap; }
  .prototype-label { width: 100%; }
  .value-grid,
  .detail-grid { grid-template-columns: 1fr; }
  .article img { height: 240px; }
  .article-body { padding: 0 22px 22px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 30px, 1160px); }
  .topbar-inner > p {
    max-width: 62%;
    line-height: 1.25;
    padding: 7px 0;
  }
  .topbar-links { gap: 7px; font-size: 0.7rem; }
  .topbar-links > a,
  .topbar-links > span { display: none; }
  .nav-wrap { min-height: 70px; }
  .brand-copy strong { font-size: 0.9rem; }
  .logo { height: 54px; max-width: 60px; }
  .brand-copy small { font-size: 0.67rem; }
  .hero { min-height: 590px; background-position: 60% center; }
  .hero-shade {
    background: linear-gradient(90deg, rgba(8, 28, 77, 0.94), rgba(14, 42, 120, 0.76) 76%, rgba(14, 42, 120, 0.46));
  }
  .hero-content { padding-top: 62px; padding-bottom: 110px; }
  .hero h1 { font-size: clamp(2.45rem, 11vw, 3.55rem); }
  .hero-description { font-size: 0.96rem; max-width: 440px; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 290px; }
  .hero-actions .button { width: 100%; }
  .hero-note { font-size: 0.76rem; margin-top: 25px; }
  .hero-label {
    left: 15px;
    right: auto;
    bottom: 15px;
    font-size: 0.73rem;
    padding: 10px 13px;
  }
  .trust-grid { gap: 16px 8px; }
  .trust-item { align-items: flex-start; gap: 9px; }
  .trust-icon { width: 36px; height: 36px; flex-basis: 36px; font-size: 1.1rem; }
  .trust-item h3 { font-size: 0.78rem; }
  .trust-item p { font-size: 0.69rem; }
  .section { padding: 60px 0; }
  .section-classes { padding: 40px 0; }
  .about-copy h2,
  .section-heading h2,
  .page-hero h1 { font-size: 2rem; }
  .about-visual { padding-left: 13px; padding-bottom: 25px; }
  .about-visual > img { height: 290px; }
  .decor-circle { width: 58px; height: 58px; border-width: 9px; right: -8px; top: -14px; }
  .image-caption { padding: 11px 13px; max-width: 280px; }
  .caption-star { width: 32px; height: 32px; flex-shrink: 0; }
  .image-caption strong { font-size: 0.76rem; }
  .image-caption small { font-size: 0.68rem; }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
  }
  .section-heading p { font-size: 0.9rem; }
  .heading-link { margin-top: 0; }
  .class-grid { grid-template-columns: repeat(2, 1fr); gap: 11px; }
  .class-card { min-height: 160px; padding: 16px 14px; }
  .class-illustration { width: 40px; height: 40px; font-size: 1.5rem; margin-bottom: 13px; }
  .class-name { font-size: 1.15rem; }
  .class-desc { font-size: 0.72rem; }
  .news-grid { grid-template-columns: 1fr; gap: 18px; }
  .news-image { height: 220px; }
  .news-content { padding: 20px; }
  .news-content h3 { font-size: 1.05rem; }
  .cta-inner { padding-top: 48px; padding-bottom: 48px; }
  .cta-inner h2 { font-size: 1.9rem; }
  .cta-inner p { font-size: 0.9rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 22px; padding-bottom: 35px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-note { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-bottom > div { gap: 14px; }
  .prototype-label { width: auto; }
  .gallery-grid { grid-template-columns: 1fr; }
  .class-detail { grid-template-columns: 1fr; }
  .page-hero { padding: 52px 0 46px; }

  .contact-form,
  .contact-panel {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
