/* Police pour le logo */
@font-face {
    font-family: 'Ysabeau Office';
    src: url('../fonts/Ysabeau_Office/YsabeauOffice-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'Ysabeau Office';
    src: url('../fonts/Ysabeau_Office/YsabeauOffice-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
}

/* Police principale */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
}

/* Police pour les titres */
@font-face {
    font-family: 'Platypi';
    src: url('../fonts/Platypi/Platypi-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Platypi/Platypi-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
}






/* Lien hypertexte */
/* Note pour plus tard :
    - Pour pouvoir personnaliser les liens ailleurs,
      il ne faut pas spécifier de classe ici.
      --> ".class a" prévaudra sur "a" seul.
*/
a {
    color: var(--global--color--link);
    text-decoration: none;
}
a:hover {
    color: var(--global--color--link-hover);
    text-decoration: underline;
}

hr {
    border: 0;
    border-top: 1px solid var(--global--color--primary-20);
    margin-bottom: 2rem;
    margin-right: 25%;
}

.page-title-separator {
    display: block;
    border-bottom: 1px solid var(--global--color--primary-20);
    width: 75%;
    margin-bottom: 2rem;
}



body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    background-color: var(--global--color--primary-container);
}
/* Empêche l’apparition d’une barre de scroll horizontale en rognant les débordements */
html, body {
    width: 100%;
    overflow-x: hidden;
}
/* **************** */
/* Header */
/* **************** */
.site-header {
    background: var(--global--color--header-container);
    color: var(--global--color--header-container-text);
    padding: 2rem 1rem;
    font-family: 'Ysabeau Office', sans-serif;
    display: flex;
    justify-content: center;
}
.site-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    width: 100%; /* Indispensable à cause du conteneur flex parent */
}
@media (min-width: 700px) {
    .site-header-content {
        margin-left: calc(clamp(0rem, 10vw, 30rem) - 70px);
        margin-right: calc(clamp(0rem, 10vw, 30rem) - 70px);
    }
}
@media (max-width: 450px) {
    .site-header-content {
        gap: 0rem; /* Inutile avec le menu mobile */
    }
}
/* @media (min-width: 1380px) {
    .site-header-content {
        margin: auto;
    }
} */

/* Logo */
.site-name {
    font-size: 2rem;
}
.site-name a {
    font-family: 'Ysabeau Office', sans-serif;
    color: #fff;
    text-decoration: none;
}
.site-name a:hover {
    text-decoration: none;
}

/* Header right */
#site-header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}



/* **************** */
/* Content */
/* **************** */
.main-content {
    color: var(--global--color--primary-container-text);
    min-height: 400px;
    padding: 2rem 1rem;
    margin: auto;
    max-width: 650px;
    min-height: 1000px;
}

/* **************** */
/* Breadcrumbs */
/* **************** */

#breadcrumbs {
    font-size: 1rem;
    margin: 0rem 0;
}

#breadcrumbs nav {
    display: block;
}

#breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
    white-space: nowrap;
    overflow-x: auto;
    width: 100%;
}

#breadcrumbs ol li {
    display: inline-flex;
    align-items: center;
    color: #666;
    white-space: wrap;
}

#breadcrumbs ol li+li:before {
    content: ">";
    margin: 0 0.5em;
    color: #bbb;
}

#breadcrumbs a {
    color: var(--global--color--primary-70);
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

#breadcrumbs a:hover {
    color: var(--global--color--link-hover);
    text-decoration: underline;
}

/* **************** */
/* Footer */
/* **************** */
.site-footer {
    font-family: 'Ysabeau Office', sans-serif;
    background: #111;
    color: var(--global--color--primary-10);
    padding: 4rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 2rem; /* espace entre les éléments */
    font-size: 1.2rem;
}

.site-footer .bessoustudio-com-copyright {
    display: inline-block;
    color: var(--global--color--primary-30);
    margin-top: 0;
    margin-left: 1rem;
}

/* **************** */
/* Card */
/* **************** */
.card-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.card-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}
.card-link, .card-link:hover {
    text-decoration: none;
}
.card {
    display: block;
    background: var(--global--color--secondary-container);
    border-radius: 8px;
    padding: 0rem; /* le padding doit être géré par le conteneur enfant */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 0.75px solid var(--global--color--secondary-container-border);
    color: var(--global--color--secondary-container-text);
    overflow: hidden;
}
.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}










.card-icon-and-title--wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding: 0.7rem;
    padding-right: 1.5rem;
    width: fit-content;
}
.card-icon-and-title--wrapper:hover {
    text-decoration: none;
}
.card-icon-and-title--wrapper img {
    width: 60px;
    height: auto;
    border-radius: 4px;
    display: block;
    border-radius: 25%; /* coins arrondis */
    object-fit: cover;   /* pour rogner si besoin */
    border: 0.75px solid var(--global--color--secondary-container-border);
}
.card-icon-and-title--wrapper .title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--global--color--secondary-container-text);
}










/* ******************** */
/* Bouton               */
/* ******************** */
.btn {
    display: inline-block;
    background-color: #2c65bb;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s;
}
.btn:hover {
    background-color: #b25c3a;
    color: #fff;
    text-decoration: none;
}






/* ******************** */
/* Vue Guide (sommaire) */
/* ******************** */
.guide-summary h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}
.guide-summary a {
    padding-left: 1.2em;
}
.guide-summary a::before {
    content: "\2022";
    position: absolute;
    left: 0;
    color: hsl(0, 0%, 25%);
    font-size: 1.1em;
    line-height: 1.2em;
}
.guide-button-container {
    text-align: center;
    margin-bottom: 2rem;
}

/* .btn-guide::before {
    content: "📖";
    margin-right: 0.5em;
    font-size: 1.1em;
    vertical-align: middle;
} */









#footer-menu > ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem; /* espace entre les éléments */
}
#footer-menu > ul > li {
    display: inline;
}
#footer-menu > ul > li > a {
    color: var(--global--color--primary-10);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
#footer-menu > ul > li > a:hover {
    color: var(--global--color--link-hover);
    text-decoration: underline;
}