/* ==========================================================
   CCRO - Cassiopeia Joomla 6
   ========================================================== */

:root {
  --ccro-orange: #FE5000;
  --ccro-orange-hover: #D94700;
  --ccro-beige: #F4F1EA;
  --ccro-text: #333333;
  --ccro-anthracite: #2F2F2F;
}


/* ==========================================================
   HEADER
   ========================================================== */

.container-header {
  background: var(--ccro-beige) !important;
  display: grid !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 0.5rem 2rem;
  min-height: 90px;
}

.container-header::before {
  display: none;
}


/* ==========================================================
   LOGO
   ========================================================== */

.container-header .navbar-brand img {
  height: 55px !important;
  width: auto !important;
  max-width: none !important;
  display: block;
  flex-shrink: 0;
}

.container-header .navbar-brand {
  flex-shrink: 0;
}


/* ==========================================================
   MENU PRINCIPAL
   ========================================================== */

.container-header .container-nav {
  display: flex;
  align-items: center;
  margin: 0 !important;
  padding-left: 35px;
}

.container-header .mod-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.container-header .mod-menu a {
  color: var(--ccro-anthracite) !important;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
}

.container-header .mod-menu a:hover {
  color: var(--ccro-orange) !important;
}

.container-header .mod-menu > li.active > a,
.container-header .mod-menu > li.current > a {
  color: var(--ccro-anthracite) !important;
  border-bottom: 3px solid var(--ccro-orange);
  padding-bottom: 6px;
}


/* ==========================================================
   FLÈCHES / TOGGLERS
   ========================================================== */

.container-header .dropdown-toggle::after {
  border-top-color: var(--ccro-anthracite) !important;
}

.container-header .dropdown-toggle:hover::after {
  border-top-color: var(--ccro-orange) !important;
}

.container-header svg {
  color: var(--ccro-anthracite);
  fill: var(--ccro-anthracite);
}

.container-header .mod-menu button {
  color: var(--ccro-anthracite) !important;
}

.container-header .mod-menu button svg {
  width: 0.65rem;
  height: 0.65rem;
  margin-left: 0.2rem;
  fill: var(--ccro-anthracite) !important;
  color: var(--ccro-anthracite) !important;
}

.container-header .mod-menu button:hover svg {
  fill: var(--ccro-orange) !important;
  color: var(--ccro-orange) !important;
}

.container-header .metismenu.mod-menu .mm-toggler::after {
  border-top: 0.28em solid !important;
  border-left: 0.28em solid transparent !important;
  border-right: 0.28em solid transparent !important;
  margin-inline-start: 0.25rem;
  transition: all .2s ease;
}


/* ==========================================================
   SOUS-MENUS
   ========================================================== */

.container-header .mod-menu .parent {
  position: relative;
}

.container-header .mod-menu .parent > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;

  background: #ffffff;
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);

  padding: 8px 0;
  z-index: 1000;
}

.container-header .mod-menu .parent:hover > ul {
  display: block;
}

.container-header .mod-menu .parent ul li a {
  display: block;

  padding: 12px 20px;
  margin: 0 8px;

  color: var(--ccro-anthracite) !important;
  text-decoration: none !important;
  font-weight: 500;

  border-radius: 8px;

  transition: all .2s ease;
}

.container-header .mod-menu .parent ul li a:hover {
  background: var(--ccro-beige);
  color: var(--ccro-orange) !important;
  transform: translateX(4px);
}


/* ==========================================================
   HAMBURGER MOBILE
   ========================================================== */

.navbar-toggler {
  color: var(--ccro-anthracite) !important;
  border: none !important;
}

.navbar-toggler svg {
  color: var(--ccro-anthracite) !important;
  fill: var(--ccro-anthracite) !important;
}


/* ==========================================================
   HERO BANNER
   ========================================================== */

.hero-ccro {
  height: 500px;
  width: 100dvw;
  margin-left: calc(50% - 50dvw);

  background-image: url('/images/college2.jpg');
  background-size: cover;
  background-position: center 70%;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  position: relative;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.hero-ccro::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.20);
}

.hero-content {
  position: relative;
  z-index: 1;

  color: white;

  max-width: 900px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.hero-content .btn {
  background: var(--ccro-orange);
  border: none;
  padding: 14px 28px;
  font-size: 1.1rem;
}

.hero-content .btn:hover {
  background: var(--ccro-orange-hover);
}


/* ==========================================================
   CONTENU PRINCIPAL
   ========================================================== */

.container-component {
  max-width: 1100px !important;

  margin-left: auto !important;
  margin-right: auto !important;

  padding-left: 2rem !important;
  padding-right: 2rem !important;
}


/* Articles et vues blog */

.com-content-article,
.blog,
.blog-items,
.items-leading,
.blog-item {
  width: 100%;
  max-width: 100%;

  margin-left: auto;
  margin-right: auto;

  padding-left: 0;
  padding-right: 0;
}


/* Images */

.com-content-article img,
.blog-item img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}


/* ==========================================================
   TITRES DES ARTICLES
   ========================================================== */

.com-content-article .page-header,
.com-content-article .page-header h1,
.com-content-article h1,
.blog .page-header,
.blog .item-title,
.blog-item .page-header,
.blog-item .page-header h1,
.blog-item .page-header h2,
.blog-item .item-title,
.items-leading .page-header,
.items-leading .item-title {
  text-align: center !important;
}

.com-content-article .page-header h1,
.com-content-article h1,
.blog .page-header h1,
.blog .page-header h2,
.blog .item-title,
.blog .item-title a,
.blog-item .page-header h1,
.blog-item .page-header h2,
.blog-item .item-title,
.blog-item .item-title a,
.items-leading .page-header h1,
.items-leading .page-header h2,
.items-leading .item-title,
.items-leading .item-title a {
  display: block;

  color: var(--ccro-anthracite) !important;

  text-align: center !important;
  text-transform: uppercase;

  font-size: 2rem;
  font-weight: 700;

  letter-spacing: 0.05em;
  line-height: 1.3;

  text-decoration: none !important;

  margin-bottom: 1.8rem;
}


/* Liens des titres */

.page-header h1 a,
.com-content-article h1 a,
.item-title a {
  color: var(--ccro-anthracite) !important;
  text-decoration: none !important;
}

.page-header h1 a:hover,
.com-content-article h1 a:hover,
.item-title a:hover {
  color: var(--ccro-orange) !important;
}


/* ==========================================================
   LIENS
   ========================================================== */

a {
  color: var(--ccro-orange);
}

a:hover {
  color: var(--ccro-orange-hover);
}


/* ==========================================================
   BREADCRUMB
   ========================================================== */

.home .mod-breadcrumbs {
  display: none;
}

.mod-breadcrumbs {
  background: #f5f5f5;
  padding: 12px 20px;
  border-radius: 8px;
}


/* ==========================================================
   SIDEBAR
   ========================================================== */

.sidebar-right .card {
  border-radius: 12px;
}


/* ==========================================================
   CONTACT DANS LE HERO
   ========================================================== */

.hero-contact {
  margin-top: 1.5rem;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;

  /* Fond beige transparent */
  background: rgba(244, 241, 234, 0.78);
  padding: 8px 14px;
  border-radius: 12px;

  /* La largeur s'adapte au contenu */
  width: fit-content;
  margin-left: auto;
  margin-right: auto;

  /* Très léger effet de profondeur */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);
  backdrop-filter: blur(3px);
}

.hero-contact-item {
  color: var(--ccro-anthracite) !important;
  text-decoration: none !important;
  font-size: 1rem;
  font-weight: 600;

  display: inline-flex;
  align-items: center;
  gap: 0.55rem;

  transition: opacity .2s ease;
}

.hero-contact-item::before {
  content: "";
  width: 32px;
  height: 32px;

  border-radius: 50%;
  background-color: var(--ccro-beige);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;

  flex-shrink: 0;
}

/* Téléphone */

.hero-contact-item.phone::before {
  background-image: url("/media/templates/site/cassiopeia_ccro/images/icon-phone.svg");
}

/* E-mail */

.hero-contact-item.email::before {
  background-image: url("/media/templates/site/cassiopeia_ccro/images/icon-mail.svg");
}

.hero-contact-item:hover {
  color: var(--ccro-orange) !important;
  opacity: 1;
}

.hero-contact-separator {
  color: var(--ccro-orange);
  opacity: .7;
}


/* Smartphone */

@media (max-width: 600px) {

  .hero-contact {
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1.25rem;
  }

  .hero-contact-separator {
    display: none;
  }

  .hero-contact-item {
    font-size: 0.95rem;
  }
}

/* ==========================================================
   ACCES INTRANET FLOTTANT
   ========================================================== */

.hero-intranet {
  position: absolute;
  right: 30px;
  bottom: 28px;
  z-index: 2;

  display: flex;
  flex-direction: column;

  padding: 13px 20px;

  background: rgba(244, 241, 234, 0.94);
  border-left: 5px solid var(--ccro-orange);
  border-radius: 10px;

  color: var(--ccro-anthracite) !important;
  text-decoration: none !important;

  box-shadow: 0 6px 20px rgba(0,0,0,.22);
  backdrop-filter: blur(5px);

  transition: transform .2s ease, box-shadow .2s ease;
}

.hero-intranet:hover {
  color: var(--ccro-anthracite) !important;
  transform: translateY(-3px);
  box-shadow: 0 9px 25px rgba(0,0,0,.28);
}

.hero-intranet-title {
  color: var(--ccro-orange);
  font-size: 1.05rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.hero-intranet-subtitle {
  margin-top: 2px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--ccro-anthracite);
}


/* Mobile */

@media (max-width: 768px) {

  .hero-intranet {
    right: 12px;
    bottom: 12px;
    padding: 9px 13px;
    border-left-width: 4px;
  }

  .hero-intranet-title {
    font-size: .85rem;
  }

  .hero-intranet-subtitle {
    font-size: .67rem;
  }
}

/* ==========================================================
   BOUTON ESPACE INTERNE DANS LE MENU
   ========================================================== */

.container-header .mod-menu .menu-espace-interne {
  background: var(--ccro-orange);
  color: #fff !important;

  padding: 9px 16px !important;
  margin-left: 10px;

  border-radius: 8px;

  font-weight: 700;
  text-decoration: none !important;

  transition: background .2s ease, transform .2s ease;
}

.container-header .mod-menu .menu-espace-interne:hover,
.container-header .mod-menu .menu-espace-interne:focus {
  background: var(--ccro-orange-hover);
  color: #fff !important;
  transform: translateY(-1px);
}


/* ==========================================================
   HEADER - ECRANS INTERMEDIAIRES
   ========================================================== */

@media (max-width: 1100px) {

  .container-header {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .container-header .container-nav {
    padding-left: 0;
    margin-top: 15px !important;
  }

  .container-header .mod-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .container-header .mod-menu .parent > ul {
    position: static;
    box-shadow: none;
    border-radius: 0;
    min-width: auto;
  }

  .hero-ccro {
    height: 400px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }
}

/* ===== BANDEAU AGENDA CCRO ===== */

.ccro-agenda-header {
    background: #f4eee4;
    border-left: 6px solid #e58a2b;
    padding: 18px 25px;
    border-radius: 12px 12px 0 0;
}

.ccro-agenda-header h2 {
    margin: 0;
    color: #e58a2b;
    font-size: 1.7rem;
    font-weight: 600;
}

.ccro-agenda-header p {
    margin: 4px 0 0;
    color: #555;
    font-size: .95rem;
}

.ccro-agenda {
    width: 100%;
    margin: 0;
    background: #fff;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    border: 1px solid #eee5d8;
    border-top: 0;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
}

.ccro-agenda iframe {
    display: block;
    width: 100%;
    height: 500px;
    border: 0;
}

@media (max-width: 600px) {
    .ccro-agenda-header {
        padding: 14px 18px;
        border-left-width: 4px;
    }

    .ccro-agenda-header h2 {
        font-size: 1.4rem;
    }

    .ccro-agenda iframe {
        height: 420px;
    }
}



.edu-page {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
    font-family: inherit;
}

.edu-intro {
    text-align: center;
    margin-bottom: 35px;
}

.edu-intro h2 {
    margin: 0 0 8px;
    font-size: 2rem;
    color: #2f2f2f;
    font-weight: 700;
}

.edu-intro p {
    margin: 0;
    color: #777;
    font-size: 1rem;
}


/* =========================
   GRILLE
   ========================= */

.edu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}


/* =========================
   BUREAU DES ÉDUCATEURS
   ========================= */

.edu-office {
    grid-column: 1 / -1;
    background: #f3f0e9;
    border-left: 5px solid #e86f28;
    color: #2f2f2f;
    border-radius: 12px;
    padding: 20px 24px;

    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.edu-office-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2f2f2f;
}

.edu-office-sub {
    color: #777;
    font-size: 0.9rem;
    margin-top: 3px;
}


/* =========================
   CARTES PAR ANNÉE
   ========================= */

.edu-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e9e6df;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}


/* En-tête des cartes */

.edu-card-title {
    background: #f3f0e9;
    color: #2f2f2f;

    padding: 17px 22px;

    font-size: 1.25rem;
    font-weight: 700;

    border-bottom: 3px solid #e86f28;
}


/* =========================
   ÉDUCATEURS
   ========================= */

.edu-card-body {
    padding: 8px 20px 0;
}

.edu-person {
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.edu-person:last-of-type {
    border-bottom: none;
}

.edu-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2f2f2f;
    margin-bottom: 5px;
}

.edu-role {
    color: #e86f28;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 7px;
}


/* =========================
   CLASSES + TÉLÉPHONE
   ========================= */

.edu-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
}

.edu-classes {
    display: inline-block;

    background: #f3f0e9;
    color: #555;

    padding: 5px 10px;
    border-radius: 999px;

    font-size: 0.88rem;
}

.edu-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: #e86f28;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.92rem;
}

.edu-phone:hover {
    color: #bd4f13;
    text-decoration: underline;
}


/* Téléphone du bureau */

.edu-office .edu-phone {
    background: #fff;
    color: #2f2f2f;

    padding: 9px 14px;
    border-radius: 8px;

    border: 1px solid #e3dfd7;

    text-decoration: none;
    white-space: nowrap;
}

.edu-office .edu-phone:hover {
    color: #e86f28;
    border-color: #e86f28;
}


/* =========================
   COORDINATION
   ========================= */

.edu-coordination {
    margin-top: 10px;
    padding: 16px 20px;

    background: #f3f0e9;

    border-top: 1px solid #e3dfd7;
}

.edu-coordination-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;

    color: #e86f28;
    font-weight: 700;

    margin-bottom: 4px;
}

.edu-coordination-name {
    font-weight: 700;
    color: #2f2f2f;
    margin-bottom: 7px;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 850px) {

    .edu-grid {
        grid-template-columns: 1fr;
    }

    .edu-office {
        grid-column: auto;
    }
}

@media (max-width: 550px) {

    .edu-page {
        padding: 0 8px;
    }

    .edu-card-title {
        padding: 15px 17px;
    }

    .edu-card-body {
        padding: 6px 17px 0;
    }

    .edu-coordination {
        padding: 15px 17px;
    }

    .edu-office {
        flex-direction: column;
        align-items: flex-start;
    }
}
.contact-page {
    max-width: 1150px;
    margin: 25px auto;
    font-family: inherit;
}

/* Adresse générale */
.contact-address {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    margin-bottom: 25px;
    background: #f3f0e9;
    border-left: 5px solid #e86f28;
    border-radius: 10px;
}

.contact-address-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.contact-address-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 3px;
}

.contact-address-text {
    color: #666;
    line-height: 1.5;
}

/* Grille */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

/* Carte */
.contact-card {
    position: relative;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 21px 22px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(0,0,0,0.09);
}

/* Petite barre orange */
.contact-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 22px;
    width: 45px;
    height: 4px;
    background: #d86f2d;
    border-radius: 0 0 4px 4px;
}

.contact-service {
    margin: 3px 0 4px;
    font-size: 1.12rem;
    font-weight: 700;
    color: #333;
}

.contact-person {
    margin-bottom: 17px;
    color: #888;
    font-size: 0.9rem;
}

/* Coordonnées */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #555;
    font-size: 0.95rem;
}

.contact-icon {
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}

.contact-link {
    color: #d86f2d;
    font-weight: 600;
    text-decoration: none;
}

.contact-link:hover {
    color: #a94d18;
    text-decoration: underline;
}

/* Direction légèrement différente */
.contact-card.direction {
    background: #faf8f5;
}

/* Mobile */
@media (max-width: 750px) {

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-address {
        padding: 17px 18px;
    }

    .contact-card {
        padding: 19px;
    }
}

.edu-wrap {
    max-width: 1150px;
    margin: 30px auto;
    padding: 0 15px;
    font-family: inherit;
}

.edu-title {
    text-align: center;
    color: #2f2f2f;
    font-size: 2rem;
    margin-bottom: 28px;
}

/* Tableau */
.edu-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid #e9e6df;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

/* En-tête */
.edu-table thead th {
    background: #f3f0e9;
    color: #2f2f2f;
    text-align: left;
    padding: 16px 20px;
    font-size: 1rem;
    font-weight: 700;
    border-bottom: 3px solid #e86f28;
}

.edu-table thead th:first-child {
    width: 48%;
}

.edu-table thead th:last-child {
    width: 52%;
}

/* Cellules */
.edu-table tbody td {
    padding: 16px 20px;
    vertical-align: top;
    color: #3c3c3c;
    border-bottom: 1px solid #ece9e3;
    line-height: 1.5;
}

.edu-table tbody tr:last-child td {
    border-bottom: none;
}

/* Alternance très légère */
.edu-table tbody tr:nth-child(even) {
    background: #fcfbf9;
}

/* Survol */
.edu-table tbody tr {
    transition: background 0.15s ease;
}

.edu-table tbody tr:hover {
    background: #f7f4ee;
}

/* Première colonne */
.edu-table tbody td:first-child {
    font-weight: 650;
    color: #2f2f2f;
}

/* Texte secondaire */
.edu-table .muted {
    color: #8a8a8a;
    font-size: 0.9rem;
    font-weight: 400;
}

/* Liens */
.edu-table a {
    color: #e86f28;
    font-weight: 600;
    text-decoration: none;
}

.edu-table a:hover {
    color: #bd4f13;
    text-decoration: underline;
}

.edu-table .tel {
    white-space: nowrap;
}

/* Mobile */
@media (max-width: 750px) {

    .edu-title {
        font-size: 1.6rem;
    }

    .edu-table,
    .edu-table tbody,
    .edu-table tr,
    .edu-table td {
        display: block;
        width: 100%;
    }

    .edu-table {
        border: none;
        box-shadow: none;
        background: transparent;
        overflow: visible;
    }

    .edu-table thead {
        display: none;
    }

    .edu-table tbody tr {
        margin-bottom: 14px;
        background: #fff !important;
        border: 1px solid #e9e6df;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 3px 12px rgba(0,0,0,0.05);
    }

    .edu-table tbody td {
        border-bottom: 1px solid #ece9e3;
        padding: 13px 16px;
    }

    .edu-table tbody td:last-child {
        border-bottom: none;
    }

    .edu-table tbody td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 5px;
        color: #e86f28;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }
}

/* ==========================================================
   PAGE ACCÈS CCRO
   ========================================================== */

.ccro-access-page {
    width: 100%;
    margin: 30px 0;
    padding: 0;
    box-sizing: border-box;
}

.ccro-access-page *,
.ccro-access-page *::before,
.ccro-access-page *::after {
    box-sizing: border-box;
}

/* Intro */

.ccro-access-intro {
    text-align: center;
    margin-bottom: 28px;
}

.ccro-access-intro h2 {
    margin: 0 0 8px;
    color: var(--ccro-anthracite);
    font-size: 2rem;
    font-weight: 700;
}

.ccro-access-intro p {
    margin: 0;
    color: #777;
}

/* Grille */

.ccro-access-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}

/* Carte */

.ccro-access-card {
    min-width: 0;
    background: #fff;
    border: 1px solid #e9e6df;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

/* En-tête */

.ccro-access-header {
    padding: 18px 22px;
    background: var(--ccro-beige);
    border-bottom: 3px solid var(--ccro-orange);
}

.ccro-access-title {
    color: var(--ccro-anthracite);
    font-size: 1.25rem;
    font-weight: 700;
}

.ccro-access-subtitle {
    margin-top: 4px;
    color: #777;
    font-size: 0.92rem;
}

/* Google Maps */

.ccro-access-map {
    width: 100%;
    height: 340px;
    overflow: hidden;
}

.ccro-access-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Informations */

.ccro-access-body {
    padding: 20px 22px;
}

.ccro-access-info {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 14px;
    color: #555;
    line-height: 1.55;
}

.ccro-access-icon {
    width: 24px;
    flex: 0 0 24px;
    text-align: center;
}

.ccro-access-info strong {
    color: var(--ccro-anthracite);
}

.ccro-access-info a {
    color: var(--ccro-orange);
    font-weight: 700;
    text-decoration: none;
}

.ccro-access-info a:hover {
    color: var(--ccro-orange-hover);
    text-decoration: underline;
}

/* PDF */

/* ==========================================================
   DOCUMENT COMMUN AUX DEUX IMPLANTATIONS
   ========================================================== */

.ccro-access-common-document {
    margin-top: 24px;
    padding: 20px 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    background: var(--ccro-beige);
    border-left: 5px solid var(--ccro-orange);
    border-radius: 12px;
}

.ccro-access-common-document-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ccro-access-common-document-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.ccro-access-common-document-title {
    color: var(--ccro-anthracite);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.ccro-access-common-document-text {
    color: #666;
    font-size: 0.9rem;
}

/* Bouton */

.ccro-access-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 16px;

    background: #fff;
    border: 1px solid #ded9cf;
    border-radius: 8px;

    color: var(--ccro-anthracite) !important;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;

    transition: border-color .2s ease, color .2s ease;
}

.ccro-access-button:hover {
    border-color: var(--ccro-orange);
    color: var(--ccro-orange) !important;
}


/* Mobile */

@media (max-width: 650px) {

    .ccro-access-common-document {
        flex-direction: column;
        align-items: flex-start;
    }

    .ccro-access-button {
        width: 100%;
    }
}

.ccro-access-document-title {
    margin-bottom: 10px;
    color: var(--ccro-anthracite);
    font-weight: 700;
}

.ccro-access-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 14px;

    background: var(--ccro-beige);
    border: 1px solid #ded9cf;
    border-radius: 8px;

    color: var(--ccro-anthracite) !important;
    font-weight: 600;
    text-decoration: none !important;

    transition: border-color .2s ease, color .2s ease;
}

.ccro-access-button:hover {
    border-color: var(--ccro-orange);
    color: var(--ccro-orange) !important;
}

/* Tablette / mobile */

@media (max-width: 850px) {

    .ccro-access-grid {
        grid-template-columns: 1fr;
    }

    .ccro-access-map {
        height: 330px;
    }
}

@media (max-width: 550px) {

    .ccro-access-page {
        margin-top: 20px;
    }

    .ccro-access-intro h2 {
        font-size: 1.6rem;
    }

    .ccro-access-header {
        padding: 16px 17px;
    }

    .ccro-access-body {
        padding: 17px;
    }

    .ccro-access-map {
        height: 280px;
    }
}

/* ==========================================================
   GOOGLE MAPS - PLEINE LARGEUR ÉCRAN
   ========================================================== */

.ccro-access-map-full {
    position: relative;

    width: 100vw;
    margin-left: calc(50% - 50vw);

    height: 480px;

    overflow: hidden;

}

.ccro-access-map-full iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}


/* ==========================================================
   ADRESSES
   ========================================================== */

.ccro-access-addresses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;

    margin-top: 28px;
}

.ccro-access-address {
    background: #fff;

    padding: 22px 24px;

    border: 1px solid #e9e6df;
    border-radius: 12px;
    border-left: 5px solid var(--ccro-orange);

    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.ccro-access-address-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin-bottom: 14px;
}

.ccro-access-pin {
    font-size: 1.35rem;
    line-height: 1.3;
}

.ccro-access-address-title {
    color: var(--ccro-anthracite);
    font-size: 1.15rem;
    font-weight: 700;
}

.ccro-access-years {
    margin-top: 3px;

    color: var(--ccro-orange);
    font-size: 0.88rem;
    font-weight: 600;
}

.ccro-access-address-details {
    margin-left: 35px;
    margin-bottom: 12px;

    color: #555;
    line-height: 1.55;
}

.ccro-access-phone {
    display: inline-block;

    margin-left: 35px;

    color: var(--ccro-orange) !important;
    font-weight: 700;
    text-decoration: none !important;
}

.ccro-access-phone:hover {
    color: var(--ccro-orange-hover) !important;
    text-decoration: underline !important;
}


/* ==========================================================
   ZONES DE DÉPÔT
   ========================================================== */

.ccro-access-document {
    margin-top: 22px;
    padding: 20px 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    background: var(--ccro-beige);

    border-left: 5px solid var(--ccro-orange);
    border-radius: 12px;
}

.ccro-access-document-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ccro-access-document-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.ccro-access-document-title {
    color: var(--ccro-anthracite);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.ccro-access-document-text {
    color: #666;
    font-size: 0.9rem;
}

.ccro-access-document-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 16px;

    background: #fff;
    border: 1px solid #ded9cf;
    border-radius: 8px;

    color: var(--ccro-anthracite) !important;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
}

.ccro-access-document-button:hover {
    color: var(--ccro-orange) !important;
    border-color: var(--ccro-orange);
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 750px) {

    .ccro-access-addresses {
        grid-template-columns: 1fr;
    }

    .ccro-access-map-full {
        height: 380px;
    }

    .ccro-access-document {
        flex-direction: column;
        align-items: flex-start;
    }

    .ccro-access-document-button {
        width: 100%;
    }
}

@media (max-width: 550px) {

    .ccro-access-intro h2 {
        font-size: 1.6rem;
    }

    .ccro-access-map-full {
        height: 320px;
    }

    .ccro-access-address {
        padding: 18px;
    }
}

/* Direction : rapprocher les noms */
.contact-card.direction .contact-person {
    margin: 0;
    line-height: 1.2;
}

/* Espace entre les noms et les coordonnées */
.contact-card.direction .contact-details {
    margin-top: 14px;
}

/* Footer contenant la carte */
.container-footer {
    background: #fff !important;
    background-image: none !important;
    padding: 0 0 50px 0 !important;
    margin: 0 !important;
    overflow: visible !important;
}

.container-footer .grid-child {
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Carte bord à bord */
.ccro-footer-map {
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: none !important;
    transform: translateX(-50%);
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

.ccro-footer-map iframe {
    display: block;
    width: 100vw !important;
    max-width: none !important;
    height: 400px;
    border: 0;
    margin: 0;
    padding: 0;
}

.social-sticky {
    position: sticky;
    top: 90px;
    align-self: start;
    z-index: 10;
}

@media (max-width: 991px) {
    .social-sticky {
        position: static;
    }
}
/* ==========================================================
   PAGE INSCRIPTIONS
   ========================================================== */

.inscriptions-ccro {
  --inscriptions-orange: var(--ccro-orange, #fe5000);
  --inscriptions-beige: var(--ccro-beige, #f4f1ea);
  --inscriptions-text: var(--ccro-text, #333333);

  max-width: 1150px;
  margin: 0 auto;
  color: var(--inscriptions-text);
}

.inscriptions-intro {
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
  padding: 2.5rem 2rem;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #f4f1ea, #faf8f4);
  border: 1px solid #e8e1d7;
  border-top: 5px solid var(--ccro-orange);
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(47, 47, 47, 0.08);
}

.inscriptions-intro::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 280px;
  height: 280px;
  background: rgba(254, 80, 0, 0.06);
  border-radius: 50%;
}

.inscriptions-intro h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 0.75rem;
  color: var(--ccro-anthracite, #2f2f2f) !important;
  font-size: clamp(2.2rem, 5vw, 3.3rem);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.inscriptions-intro p {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  color: #555;
  font-size: 1.05rem;
}

.inscriptions-intro .inscriptions-surtitle {
  margin-bottom: 0.4rem;
  color: var(--ccro-orange);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.inscriptions-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  height: 100%;
  margin-bottom: 1.5rem;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid #e7e2d9;
  border-left: 3px solid var(--inscriptions-orange);
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.inscriptions-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}

.inscriptions-card h2,
.inscriptions-section h2,
.inscriptions-alert h2,
.inscriptions-contact h2 {
  margin-top: 0;
  color: #2f2f2f;
  font-weight: 750;
}

.inscriptions-card h2 {
  font-size: 1.65rem;
  line-height: 1.2;
}

.inscriptions-card p {
  line-height: 1.6;
}

.inscriptions-icon {
  display: flex;
  flex: 0 0 58px;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 58px;
  padding: 0.5rem;
  color: var(--ccro-orange);
  background: #fff1e9;
  border: 2px solid rgba(254, 80, 0, 0.22);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 800;
}

.inscriptions-subtitle {
  color: var(--inscriptions-orange);
  font-size: 1.05rem;
  font-weight: 700;
}

.inscriptions-btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.8rem 1.2rem;
  color: var(--ccro-orange) !important;
  background: #fff;
  border: 2px solid var(--ccro-orange);
  border-radius: 9px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.inscriptions-btn:hover {
  color: #fff !important;
  background: var(--ccro-orange);
  transform: translateY(-2px);
}

.inscriptions-section {
  margin: 0;
  padding: 1.75rem;
  background: var(--inscriptions-beige);
  border-radius: 16px;
}

.inscriptions-section > h2 {
  margin-bottom: 1.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid rgba(254, 80, 0, 0.45);
}

.inscriptions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.inscriptions-info,
.inscriptions-special {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid rgba(47, 47, 47, 0.07);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.inscriptions-info h3,
.inscriptions-special h3 {
  margin-top: 0;
  color: var(--ccro-anthracite, #2f2f2f);
  font-size: 1.35rem;
}

.inscriptions-info h3::before,
.inscriptions-special h3::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  background: var(--ccro-orange);
  border-radius: 50%;
  vertical-align: 0.12em;
}

.inscriptions-info ul {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.inscriptions-info li {
  margin-bottom: 0.4rem;
}

.inscriptions-portes-ouvertes {
  border-top: 5px solid var(--inscriptions-orange);
}

.inscriptions-label {
  margin-bottom: 0.35rem;
  color: var(--inscriptions-orange);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inscriptions-date {
  font-size: 1.15rem;
  font-weight: 700;
}

.inscriptions-special + .inscriptions-special {
  margin-top: 1rem;
}

.inscriptions-alert {
  margin: 0;
  padding: 1.75rem 2rem;
  background: #faf8f4;
  border: 1px solid #e6ded4;
  border-left: 4px solid var(--ccro-orange);
  border-radius: 16px;
}

.inscriptions-alert h2 {
  margin-bottom: 0.6rem;
}

.inscriptions-alert p {
  margin-bottom: 0;
  font-weight: 600;
}

.inscriptions-calendar {
  margin: 0;
  background: #fff;
  border: 1px solid #e7e2d9;
  border-top: 3px solid rgba(254, 80, 0, 0.65);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.inscriptions-important {
  margin-bottom: 0;
  padding: 1rem 1.2rem;
  background: var(--inscriptions-beige);
  border-left: 4px solid var(--inscriptions-orange);
  border-radius: 6px;
  font-weight: 700;
}

.inscriptions-contact {
  margin-top: 0;
  padding: 2rem;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #3b3b3b, #292929);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.inscriptions-contact h2 {
  color: #fff;
}

.inscriptions-contact a {
  display: inline-block;
  margin-top: 0.4rem;
  color: #fff !important;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration-color: var(--inscriptions-orange);
  text-decoration-thickness: 3px;
}

@media (min-width: 850px) {
  .inscriptions-ccro {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .inscriptions-intro,
  .inscriptions-section,
  .inscriptions-alert,
  .inscriptions-calendar,
  .inscriptions-contact {
    grid-column: 1 / -1;
  }

  .inscriptions-card {
    margin-bottom: 0;
  }

  .inscriptions-section .inscriptions-special {
    display: inline-block;
    width: calc(50% - 0.65rem);
    min-height: 150px;
    vertical-align: top;
  }

  .inscriptions-section .inscriptions-special + .inscriptions-special {
    margin-top: 0;
    margin-left: 1rem;
  }
}

@media (max-width: 849px) {
  .inscriptions-ccro {
    display: block;
  }

  .inscriptions-card,
  .inscriptions-section,
  .inscriptions-alert,
  .inscriptions-calendar,
  .inscriptions-contact {
    margin-bottom: 1.25rem;
  }
}

@media (max-width: 700px) {
  .inscriptions-card {
    flex-direction: column;
  }

  .inscriptions-grid {
    grid-template-columns: 1fr;
  }

  .inscriptions-icon {
    flex-basis: 56px;
    min-width: 56px;
    min-height: 56px;
  }

  .inscriptions-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .inscriptions-intro {
    padding: 2rem 1.25rem;
    border-radius: 14px;
  }

  .inscriptions-card {
    padding: 1.4rem;
  }

  .inscriptions-card h2 {
    font-size: 1.4rem;
  }

  .inscriptions-section,
  .inscriptions-alert,
  .inscriptions-contact {
    padding: 1.4rem;
  }
}


/* ==========================================================
   MENU PRINCIPAL — NORMALISATION ET RESPONSIVE
   ========================================================== */

.container-header {
  grid-template-columns: auto minmax(0, 1fr);
}

.container-header .container-nav,
.container-header .navbar,
.container-header .navbar-collapse {
  min-width: 0;
  width: 100%;
}

.container-header .mod-menu > li > a,
.container-header .mod-menu > li > button.mod-menu__separator {
  color: var(--ccro-anthracite) !important;
  font-family: inherit !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  line-height: 1.4;
  white-space: nowrap;
}

.container-header .mod-menu > li > button.mod-menu__separator {
  appearance: none;
  padding: 0;
  color: var(--ccro-anthracite) !important;
  background: transparent;
  border: 0;
  cursor: default;
}

.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > button.mod-menu__separator:hover {
  color: var(--ccro-orange) !important;
}

.container-header .mod-menu .menu-espace-interne {
  display: inline-block;
  flex-shrink: 0;
  margin-left: 0 !important;
  white-space: nowrap;
}

@media (min-width: 1101px) {
  .container-header .mod-menu {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start !important;
    column-gap: clamp(0.8rem, 1.2vw, 1.5rem) !important;
    row-gap: 0.8rem;
  }

  .container-header .mod-menu > li {
    flex: 0 0 auto;
  }

  .container-header .mod-menu > li:last-child {
    margin-left: auto;
  }
}

@media (min-width: 1101px) and (max-width: 2000px) {
  .container-header {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }

  .container-header .container-nav {
    padding-left: 25px;
  }
}

@media (min-width: 1400px) {
  .container-header .mod-menu > li > a,
  .container-header .mod-menu > li > button.mod-menu__separator {
    font-size: 1rem !important;
  }
}

@media (min-width: 1500px) {
  .container-header .mod-menu {
    flex-wrap: nowrap !important;
    align-items: center !important;
  }

  .container-header .mod-menu > li {
    flex: 0 0 auto !important;
  }

  .container-header .mod-menu > li:last-child {
    margin-left: auto !important;
  }
}

@media (max-width: 1100px) {
  .container-header {
    grid-template-columns: 1fr;
  }

  .container-header .container-nav {
    padding-left: 0;
  }

  .container-header .mod-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .container-header .mod-menu > li:last-child {
    margin-left: 0;
  }
}
/* =========================================================
   DOCUMENTS
   ========================================================= */

.ccro-documents {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 0 40px;
}


/* Introduction */

.ccro-documents-intro {
    margin-bottom: 32px;
    padding: 24px 28px;
    text-align: center;
    background: #f4f1ea;
    border-radius: 12px;
}

.ccro-documents-intro h2 {
    margin: 0 0 8px;
    color: #2f2f2f;
    font-size: 1.65rem;
    font-weight: 700;
}

.ccro-documents-intro p {
    max-width: 700px;
    margin: 0 auto;
    color: #555;
    line-height: 1.6;
}


/* Grille */

.ccro-documents-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}


/* Carte document */

.ccro-document-card {
    display: flex;
    align-items: center;
    gap: 20px;

    min-height: 120px;
    padding: 22px 24px;

    color: #2f2f2f;
    text-decoration: none !important;

    background: #fff;
    border: 1px solid #e7e3dc;
    border-left: 4px solid #fe5000;
    border-radius: 12px;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);

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

.ccro-document-card:hover {
    color: #2f2f2f;
    text-decoration: none;

    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.09);
}


/* Icône PDF */

.ccro-document-icon {
    flex: 0 0 auto;
    width: 58px;
    height: 58px;
    object-fit: contain;
}


/* Texte */

.ccro-document-content {
    min-width: 0;
}

.ccro-document-content h3 {
    margin: 0 0 8px;
    color: #2f2f2f;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
}

.ccro-document-link {
    color: #d94700;
    font-size: 0.9rem;
    font-weight: 600;
}

.ccro-document-card:hover .ccro-document-link {
    color: #fe5000;
}


/* Mobile */

@media (max-width: 700px) {

    .ccro-documents {
        padding-bottom: 25px;
    }

    .ccro-documents-intro {
        padding: 20px;
        margin-bottom: 22px;
    }

    .ccro-documents-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .ccro-document-card {
        min-height: auto;
        padding: 18px;
        gap: 16px;
    }

    .ccro-document-icon {
        width: 48px;
        height: 48px;
    }

    .ccro-document-content h3 {
        font-size: 1rem;
    }
}
