/*
Theme Name: Prof Theme
Author: Chaymae
Version: 1.0
*/

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  background: #f8f4f7;
  color: #2f3442;
  font-family: Arial, sans-serif;
}

.site-header {
  width: 100%;
  background: #f8f4f7;
  border-bottom: 1px solid #e6e0e6;
  padding: 26px 0 14px;
}

.header-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 28px;
}

.site-logo {
  color: #2f3442;
  text-decoration: none;
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.main-menu {
  padding-top: 6px;
}

.menu-list {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(18px, 2.4vw, 44px);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.menu-list li {
  list-style: none;
}

.menu-list a {
  color: #333744;
  text-decoration: none;
  font-size: clamp(14px, 1.3vw, 21px);
  font-weight: 500;
  white-space: nowrap;
}

.social-icons {
  grid-column: 2 / 4;
  justify-self: end;
  margin-top: 18px;

  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icons a {
  width: 36px;
  height: 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #fff;
  border: 1px solid #dedde2;
  border-radius: 8px;

  color: #2f3442;
  text-decoration: none;

  overflow: hidden;

  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.social-icons a:hover {
  transform: translateY(-3px);
  border-color: #123f79;
  box-shadow: 0 7px 18px rgba(18, 63, 121, 0.15);
}

.social-icons a img {
  width: 20px;
  height: 20px;

  display: block;

  object-fit: contain;
}

.social-icons a span {
  font-size: 14px;
  font-weight: 700;
}

.menu-toggle,
.burger {
  display: none;
}
/* Tablet */
@media (max-width: 1024px) {

  .header-container {
    padding: 0 24px;
    gap: 14px;
  }

  .menu-list {
    gap: 14px;
  }

  .menu-list a {
    font-size: 14px;
  }

  .site-logo {
    font-size: 20px;
  }

}

/* Burger à partir de 768px */
@media (max-width: 768px) {
  .site-header {
    padding: 20px 0;
  }

  .header-container {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 0 20px;
  }

  .site-logo {
    font-size: 24px;
  }

  .burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }

  .burger span {
    width: 28px;
    height: 3px;
    background: #2f3442;
    border-radius: 20px;
  }

  .main-menu {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    padding-top: 20px;
  }

  .menu-toggle:checked ~ .main-menu {
    display: block;
  }

  .menu-list {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .menu-list a {
    font-size: 17px;
  }

  .social-icons {
    grid-column: 1 / -1;
    justify-self: center;
    margin-top: 18px;
  }
}
.prof-hero {
  background: #f8f4f7;
  padding: 45px 0 40px;
  border-bottom: 1px solid #e6e0e6;
}

.prof-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 55px;
  align-items: center;
}

.prof-photo {
  width: 320px;
  height:320px;
}

.prof-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: 6px solid #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}
.prof-content h1 {
  margin: 0 0 10px;
  font-size: 34px;
  color: #2f3442;
}

.prof-content h2 {
  margin: 0 0 24px;
  font-size: 23px;
  font-weight: 500;
}

.prof-content p {
  margin: 8px 0;
  font-size: 17px;
  line-height: 1.4;
}

.prof-contact {
  margin-top: 18px;
}

.prof-buttons {
  display: flex;
  gap: 18px;
  margin-top: 22px;
}

.prof-buttons a {
  padding: 12px 30px;
  text-decoration: none;
  font-size: 16px;
  border-radius: 3px;
}

.btn-primary {
  background: #123f79;
  color: white;
}

.btn-outline {
  background: transparent;
  color: #333;
  border: 1px solid #d5d0d5;
}

@media (max-width: 768px) {
  .prof-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 25px;
  }

 .prof-photo {
  width: 240px;
  height: 240px;
  margin: 0 auto;
   justify-content: center;
}

  .prof-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }
}
.welcome-section {
  background: #f8f4f7;
  padding: 28px 0;
  border-bottom: 1px solid #e6e0e6;
}

.welcome-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.welcome-container p {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: #2f3442;
}

@media (max-width: 768px) {
  .welcome-container {
    padding: 0 20px;
  }

  .welcome-container p {
    font-size: 16px;
    text-align: center;
  }
}
.quick-access-section {
  background: #f8f4f7;
  padding: 34px 0;
  border-bottom: 1px solid #e6e0e6;
}

.quick-access-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
}

.quick-column {
  color: #2f3442;
  text-decoration: none;
}

.quick-column + .quick-column {
  border-left: 1px solid #ddd6dd;
  padding-left: 42px;
}

.quick-column h2 {
  margin: 0 0 22px;
  font-size: 24px;
  font-weight: 500;
}

.quick-card {
  background: #fbf8fb;
  border: 1px solid #e4dde4;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 24px;
  margin-bottom: 22px;
  display: flex;
  gap: 18px;
}

.quick-icon {
  font-size: 34px;
  line-height: 1;
}

.quick-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.quick-card ul {
  margin: 0;
  padding-left: 20px;
}

.quick-card li {
  font-size: 17px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .quick-access-container {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .quick-column + .quick-column {
    border-left: 0;
    padding-left: 0;
  }
}
.quick-title-link,
.quick-card a {
  color: inherit;
  text-decoration: none;
}

.quick-title-link:hover,
.quick-card a:hover {
  text-decoration: underline;
}/* =========================================================
   ACTUALITÉS JURIDIQUES - HOME
   ========================================================= */

.legal-news-section {
  padding: 45px 0;
  background: #f8f4f7;
  border-bottom: 1px solid #e6e0e6;
}

.legal-news-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.legal-news-title {
  position: relative;
  margin: 0 0 28px;
  padding-bottom: 15px;
  color: #252b38;
  font-size: 26px;
  font-weight: 700;
}

.legal-news-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 55px;
  height: 3px;
  border-radius: 20px;
  background: #123f79;
}

.legal-news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal-news-card {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;

  border: 1px solid #e4dde4;
  border-radius: 10px;

  background: #fff;

  color: #2f3442;
  text-decoration: none;

  box-shadow: 0 3px 12px rgba(30, 39, 60, 0.05);

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.legal-news-card:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 63, 121, 0.25);
  box-shadow: 0 8px 22px rgba(30, 39, 60, 0.09);
}

.legal-news-icon {
  display: flex;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;

  align-items: center;
  justify-content: center;

  border-radius: 8px;

  background: rgba(18, 63, 121, 0.08);
  color: #123f79;

  font-size: 20px;
}

.legal-news-name {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.legal-news-arrow {
  color: #123f79;
  font-size: 22px;

  transition: transform 0.25s ease;
}

.legal-news-card:hover .legal-news-arrow {
  transform: translateX(5px);
}

@media (max-width: 768px) {

  .legal-news-section {
    padding: 35px 0;
  }

  .legal-news-container {
    padding: 0 20px;
  }

  .legal-news-title {
    font-size: 23px;
  }

  .legal-news-card {
    padding: 15px;
  }

  .legal-news-name {
    font-size: 15px;
  }
}
.contact-gallery-section {
  background: #f8f4f7;
  padding: 34px 0;
  border-bottom: 1px solid #e6e0e6;
}

.contact-gallery-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.contact-card,
.gallery-card {
  background: #fbf8fb;
  border: 1px solid #e4dde4;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 24px;
  color: #2f3442;
  text-decoration: none;
}

.contact-card h2,
.gallery-card h2 {
  margin: 0 0 18px;
  font-size: 22px;
  border-bottom: 1px solid #e4dde4;
  padding-bottom: 12px;
}


.contact-card p,
.gallery-card p {
  font-size: 16px;
  margin: 10px 0;
}

.contact-btn {
  display: block;
  width: fit-content;
  margin: 18px auto 0;
  background: #123f79;
  color: #fff;
  text-decoration: none;
  padding: 10px 42px;
  border-radius: 3px;
}

.gallery-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 14px 0;
}

.gallery-images img {
  width: 100%;
  height: 95px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .contact-gallery-container {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
}
.site-footer {
  background: #f8f4f7;
  border-top: 1px solid #e6e0e6;
  padding: 28px 0;
}

.footer-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-left p {
  margin: 5px 0;
  font-size: 16px;
  color: #2f3442;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #2f3442;
  text-decoration: none;
  font-size: 16px;
}

.footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}/* =========================================================
   ACTIVITÉS PÉDAGOGIQUES - COURS
   ========================================================= */

.courses-page {
  min-height: 70vh;
  padding: 90px 0 110px;
  background:
    radial-gradient(
      circle at 90% 5%,
      rgba(18, 63, 121, 0.08),
      transparent 28%
    ),
    #f8f4f7;
}

.courses-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}


/* HEADER */

.courses-header {
  max-width: 760px;
  margin-bottom: 65px;
}

.courses-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: #123f79;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.courses-header h1 {
  position: relative;
  margin: 0 0 24px;
  padding-bottom: 24px;
  color: #202633;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.courses-header h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 75px;
  height: 4px;
  border-radius: 20px;
  background: #123f79;
}

.courses-header p {
  max-width: 650px;
  margin: 0;
  color: #626877;
  font-size: 18px;
  line-height: 1.7;
}


/* CATEGORY */

.course-category {
  margin-bottom: 70px;
}

.course-category:last-child {
  margin-bottom: 0;
}

.course-category-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ded9df;
}

.course-category-icon {
  display: flex;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #123f79;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(18, 63, 121, 0.18);
}

.course-category-label {
  display: block;
  margin-bottom: 4px;
  color: #858996;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.course-category-header h2 {
  margin: 0;
  color: #252b38;
  font-size: 27px;
  font-weight: 700;
}

.course-count {
  margin-left: auto;
  padding: 8px 14px;
  border: 1px solid #dedfe5;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.7);
  color: #6b7080;
  font-size: 13px;
  font-weight: 600;
}


/* GRID */

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}


/* COURSE CARD */

.course-card {
  position: relative;
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 27px;
  overflow: hidden;
  border: 1px solid rgba(47, 52, 66, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 28px rgba(30, 39, 60, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #123f79;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.course-card:hover {
  transform: translateY(-6px);
  border-color: rgba(18, 63, 121, 0.2);
  box-shadow: 0 18px 42px rgba(30, 39, 60, 0.11);
}

.course-card:hover::before {
  transform: scaleX(1);
}


/* CARD TOP */

.course-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.course-type {
  padding: 7px 12px;
  border-radius: 50px;
  background: rgba(18, 63, 121, 0.08);
  color: #123f79;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.course-document-icon {
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e2e3e8;
  border-radius: 50%;
  color: #123f79;
  font-size: 16px;
}


/* CARD CONTENT */

.course-card h3 {
  margin: 0 0 13px;
  color: #252b38;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
}

.course-card p {
  margin: 0 0 25px;
  color: #747987;
  font-size: 14px;
  line-height: 1.6;
}


/* BUTTON / LINK */

.course-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #ececef;
  color: #123f79;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.course-link span {
  font-size: 20px;
  transition: transform 0.25s ease;
}

.course-card:hover .course-link span {
  transform: translateX(5px);
}


/* EMPTY STATE */

.courses-empty {
  padding: 45px;
  border: 1px solid #e4e0e5;
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

.courses-empty h2 {
  margin: 0 0 10px;
  color: #252b38;
}

.courses-empty p {
  margin: 0;
  color: #747987;
}


/* TABLET */

@media (max-width: 1024px) {
  .courses-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* MOBILE */

@media (max-width: 768px) {
  .courses-page {
    padding: 55px 0 75px;
  }

  .courses-container {
    padding: 0 20px;
  }

  .courses-header {
    margin-bottom: 45px;
  }

  .courses-header h1 {
    font-size: 38px;
  }

  .courses-header p {
    font-size: 16px;
  }

  .course-category {
    margin-bottom: 50px;
  }

  .course-category-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .course-category-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .course-category-header h2 {
    font-size: 22px;
  }

  .course-count {
    width: fit-content;
    margin-left: 66px;
  }

  .courses-grid {
    grid-template-columns: 1fr;
  }

  .course-card {
    min-height: 235px;
    padding: 23px;
  }
}
/* =========================================================
   ACTIVITÉS SCIENTIFIQUES
   ========================================================= */

.scientific-page {
  min-height: 70vh;
  padding: 90px 0 110px;
  background:
    radial-gradient(
      circle at 90% 5%,
      rgba(18, 63, 121, 0.08),
      transparent 28%
    ),
    #f8f4f7;
}

.scientific-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}


/* HEADER */

.scientific-header {
  max-width: 780px;
  margin-bottom: 60px;
}

.scientific-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: #123f79;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scientific-header h1 {
  position: relative;
  margin: 0 0 24px;
  padding-bottom: 24px;
  color: #202633;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.scientific-header h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 75px;
  height: 4px;
  border-radius: 20px;
  background: #123f79;
}

.scientific-header p {
  max-width: 680px;
  margin: 0;
  color: #626877;
  font-size: 18px;
  line-height: 1.7;
}


/* GRID */

.publications-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}


/* CARD */

.publication-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(47, 52, 66, 0.09);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(30, 39, 60, 0.07);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.publication-card:hover {
  transform: translateY(-7px);
  border-color: rgba(18, 63, 121, 0.18);
  box-shadow: 0 20px 45px rgba(30, 39, 60, 0.12);
}


/* IMAGE */

.publication-image {
  display: block;
  height: 230px;
  overflow: hidden;
  background: #eef1f5;
}

.publication-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.publication-card:hover .publication-image img {
  transform: scale(1.04);
}


/* DOCUMENT */

.publication-document {
  display: flex;
  height: 180px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  background:
    linear-gradient(
      135deg,
      #123f79,
      #1d579b
    );
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.publication-document-icon {
  font-size: 45px;
}


/* CONTENT */

.publication-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 25px;
}

.publication-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 17px;
  color: #858996;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.publication-meta span:first-child {
  padding: 6px 10px;
  border-radius: 50px;
  background: rgba(18, 63, 121, 0.08);
  color: #123f79;
}

.publication-card h2 {
  margin: 0 0 15px;
  color: #252b38;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.publication-description {
  margin: 0 0 24px;
  color: #747987;
  font-size: 14px;
  line-height: 1.65;
}


/* LINK */

.publication-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #ececef;
  color: #123f79;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.publication-link span {
  font-size: 20px;
  transition: transform 0.25s ease;
}

.publication-card:hover .publication-link span {
  transform: translateX(5px);
}


/* EMPTY */

.publications-empty {
  padding: 45px;
  border: 1px solid #e4e0e5;
  border-radius: 18px;
  background: #fff;
  text-align: center;
}

.publications-empty h2 {
  margin: 0 0 10px;
  color: #252b38;
}

.publications-empty p {
  margin: 0;
  color: #747987;
}


/* TABLET */

@media (max-width: 1024px) {
  .publications-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* MOBILE */

@media (max-width: 768px) {

  .scientific-page {
    padding: 55px 0 75px;
  }

  .scientific-container {
    padding: 0 20px;
  }

  .scientific-header {
    margin-bottom: 42px;
  }

  .scientific-header h1 {
    font-size: 38px;
  }

  .scientific-header p {
    font-size: 16px;
  }

  .publications-grid {
    grid-template-columns: 1fr;
  }

  .publication-image {
    height: 240px;
  }

  .publication-content {
    padding: 22px;
  }
}
.gallery-archive {
  position: relative;
  overflow: hidden;
  padding: 90px 0 110px;
  background:
    radial-gradient(circle at top right, rgba(18, 63, 121, 0.08), transparent 30%),
    linear-gradient(180deg, #fbfafc 0%, #f4f2f6 100%);
}

.gallery-archive::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(18, 63, 121, 0.04);
  pointer-events: none;
}

.gallery-archive-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.gallery-archive-container > h1 {
  position: relative;
  width: fit-content;
  margin: 0 0 55px;
  padding-bottom: 18px;
  color: #202633;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.gallery-archive-container > h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 75px;
  height: 4px;
  border-radius: 999px;
  background: #123f79;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid rgba(47, 52, 66, 0.08);
  border-radius: 20px;
  background: #fff;
  color: #2f3442;
  text-decoration: none;
  box-shadow: 0 12px 35px rgba(30, 39, 60, 0.07);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-8px);
  border-color: rgba(18, 63, 121, 0.18);
  box-shadow: 0 22px 50px rgba(30, 39, 60, 0.13);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 270px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-item:hover img {
  transform: scale(1.045);
}

.gallery-item h2 {
  position: relative;
  margin: 0;
  padding: 22px 24px 24px;
  color: #252b38;
  font-size: 19px;
  font-weight: 650;
  line-height: 1.4;
  transition: color 0.25s ease;
}

.gallery-item h2::after {
  content: '→';
  position: absolute;
  right: 24px;
  bottom: 24px;
  color: #123f79;
  font-size: 20px;
  opacity: 0;
  transform: translateX(-8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.gallery-item:hover h2 {
  color: #123f79;
}

.gallery-item:hover h2::after {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .gallery-archive {
    padding: 55px 0 75px;
  }

  .gallery-archive-container {
    padding: 0 20px;
  }

  .gallery-archive-container > h1 {
    margin-bottom: 36px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .gallery-item {
    border-radius: 16px;
  }

  .gallery-item img {
    height: 240px;
  }

  .gallery-item h2 {
    padding: 18px 20px 20px;
    font-size: 18px;
  }

  .gallery-item h2::after {
    right: 20px;
    bottom: 20px;
  }
}.gallery-single {
  position: relative;
  overflow: hidden;
  padding: 90px 0 110px;
  background:
    radial-gradient(circle at top right, rgba(18, 63, 121, 0.08), transparent 30%),
    linear-gradient(180deg, #fbfafc 0%, #f4f2f6 100%);
}

.gallery-single::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(18, 63, 121, 0.04);
  pointer-events: none;
}

.gallery-single-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.gallery-single-container > h1 {
  position: relative;
  max-width: 900px;
  margin: 0 auto 45px;
  padding-bottom: 20px;
  color: #202633;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-align: center;
}

.gallery-single-container > h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 75px;
  height: 4px;
  border-radius: 999px;
  background: #123f79;
  transform: translateX(-50%);
}

.gallery-single-image {
  max-width: 950px;
  margin: 0 auto 40px;
  padding: 10px;
  border: 1px solid rgba(47, 52, 66, 0.08);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(30, 39, 60, 0.12);
}

.gallery-single-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 650px;
  margin: 0;
  border-radius: 16px;
  object-fit: cover;
}

.gallery-single-content {
  max-width: 850px;
  margin: 0 auto;
  padding: 36px 40px;
  border: 1px solid rgba(47, 52, 66, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 40px rgba(30, 39, 60, 0.07);
  color: #404656;
  font-size: 17px;
  line-height: 1.8;
}

.gallery-single-content > *:first-child {
  margin-top: 0;
}

.gallery-single-content > *:last-child {
  margin-bottom: 0;
}

.gallery-single-content p {
  margin: 0 0 20px;
}

.gallery-single-content h2 {
  margin: 36px 0 18px;
  color: #123f79;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
}

.gallery-single-content h3 {
  margin: 28px 0 14px;
  color: #252b38;
  font-size: 21px;
  font-weight: 650;
}

.gallery-single-content ul,
.gallery-single-content ol {
  margin: 20px 0 28px;
  padding-left: 24px;
}

.gallery-single-content li {
  margin-bottom: 10px;
}

.gallery-single-content a {
  color: #123f79;
  font-weight: 600;
  text-decoration: none;
  transition: 0.25s ease;
}

.gallery-single-content a:hover {
  text-decoration: underline;
}

.gallery-back {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin: 36px auto 0;
  padding: 13px 22px;
  border: 1px solid rgba(18, 63, 121, 0.2);
  border-radius: 999px;
  background: #fff;
  color: #123f79;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(30, 39, 60, 0.06);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.gallery-back:hover {
  transform: translateY(-2px);
  background: #123f79;
  color: #fff;
  box-shadow: 0 12px 28px rgba(18, 63, 121, 0.18);
}

@media (max-width: 768px) {
  .gallery-single {
    padding: 55px 0 75px;
  }

  .gallery-single-container {
    padding: 0 20px;
  }

  .gallery-single-container > h1 {
    margin-bottom: 32px;
    font-size: 36px;
  }

  .gallery-single-image {
    margin-bottom: 28px;
    padding: 7px;
    border-radius: 18px;
  }

  .gallery-single-image img {
    border-radius: 12px;
  }

  .gallery-single-content {
    padding: 26px 22px;
    border-radius: 16px;
    font-size: 16px;
    line-height: 1.7;
  }

  .gallery-single-content h2 {
    font-size: 24px;
  }

  .gallery-single-content h3 {
    font-size: 19px;
  }

  .gallery-back {
    margin-top: 28px;
  }
}
/* =========================================================
   PAGE STANDARD - PRÉSENTATION / CONTACTS
   ========================================================= */

.pedagogy-page {
  position: relative;
  min-height: 55vh;
  padding: 80px 0 100px;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 90% 5%,
      rgba(18, 63, 121, 0.08),
      transparent 28%
    ),
    #f8f4f7;

  &::before {
    content: '';
    position: absolute;
    top: -140px;
    right: -140px;

    width: 350px;
    height: 350px;

    border-radius: 50%;
    background: rgba(18, 63, 121, 0.035);

    pointer-events: none;
  }
}


/* CONTAINER */

.pedagogy-container {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 1180px;

  margin: 0 auto;
  padding: 0 32px;
}


/* =========================================================
   TITLE
   ========================================================= */

.pedagogy-title {
  position: relative;

  margin: 0 0 45px;
  padding-bottom: 22px;

  color: #202633;

  font-size: clamp(38px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;

  &::after {
    content: '';

    position: absolute;
    bottom: 0;
    left: 0;

    width: 75px;
    height: 4px;

    border-radius: 20px;

    background: #123f79;
  }
}


/* =========================================================
   CONTENT CARD
   ========================================================= */

.pedagogy-content {
  position: relative;

  max-width: 1000px;

  padding: 38px 42px;

  border: 1px solid rgba(47, 52, 66, 0.09);
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.88);

  box-shadow:
    0 10px 35px rgba(30, 39, 60, 0.07);

  color: #4b5160;

  font-size: 17px;
  line-height: 1.8;


  /* petite ligne décorative */

  &::before {
    content: '';

    position: absolute;
    top: 0;
    left: 42px;

    width: 55px;
    height: 3px;

    border-radius: 0 0 10px 10px;

    background: #123f79;
  }


  /* paragraphes */

  p {
    margin: 0 0 20px;

    &:last-child {
      margin-bottom: 0;
    }
  }


  /* titres dans le contenu */

  h2 {
    margin: 35px 0 18px;

    color: #252b38;

    font-size: 27px;
    font-weight: 700;
    line-height: 1.3;
  }

  h3 {
    margin: 28px 0 15px;

    color: #252b38;

    font-size: 21px;
    font-weight: 700;
  }


  /* listes */

  ul,
  ol {
    margin: 20px 0;
    padding-left: 25px;
  }

  li {
    margin-bottom: 9px;
  }


  /* liens */

  a {
    color: #123f79;
    font-weight: 600;
    text-decoration: none;

    transition: color 0.2s ease;

    &:hover {
      text-decoration: underline;
    }
  }


  /* texte en gras */

  strong {
    color: #252b38;
    font-weight: 700;
  }
}


/* =========================================================
   CONTACT - liens email / téléphone
   ========================================================= */

.pedagogy-content {
  a[href^='mailto:'],
  a[href^='tel:'] {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 7px 12px;

    border-radius: 6px;

    background: rgba(18, 63, 121, 0.07);

    color: #123f79;

    transition:
      background 0.25s ease,
      transform 0.25s ease;

    &:hover {
      background: rgba(18, 63, 121, 0.12);
      transform: translateY(-1px);
      text-decoration: none;
    }
  }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

  .pedagogy-page {
    padding: 70px 0 85px;
  }

  .pedagogy-content {
    max-width: 100%;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

  .pedagogy-page {
    min-height: auto;
    padding: 50px 0 65px;
  }

  .pedagogy-container {
    padding: 0 20px;
  }

  .pedagogy-title {
    margin-bottom: 30px;
    padding-bottom: 18px;

    font-size: 36px;

    &::after {
      width: 60px;
      height: 3px;
    }
  }

  .pedagogy-content {
    padding: 26px 22px;

    border-radius: 14px;

    font-size: 16px;
    line-height: 1.7;

    &::before {
      left: 22px;
    }

    h2 {
      font-size: 23px;
    }

    h3 {
      font-size: 19px;
    }
  }
}
.gallery-title-link,
.gallery-title-link:visited {
  color: inherit;
  text-decoration: none;
}

.gallery-title-link h2 {
  color: #2f3442;
  text-decoration: none;
}

.gallery-title-link:hover h2 {
  text-decoration: underline;
}