@import url("./root.css");
@import url("./police.css");
@import url("./keyframe.css");
@import url("./typologie.css");
@import url("./media.css");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--arial-font), sans-serif;
  background-color: var(--light-color);
  color: var(--dark-color);
}

h1, h2, h3, h4, h5, h6
{
    font-family: var(--montserrat-font), sans-serif;
    font-weight: bold;
}


.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-green);
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-weight: bold;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Main content */

.main {
  margin-top: 120px;
}

.box-container
{
    padding: 20px;
}

.section-about
{
    padding: 50px;
    text-align: center;
}

.section-title h2, .section-title svg
{
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
}

.section-title
{
    background-color: var(--gray-light-color);
    border-radius: 20px;
    width: 15vw;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    padding: 15px;
    margin: 20px auto;
}

.aif h3
{
    font-size: 1.5rem;
    font-weight: 600;
    margin: 20px 0;
    color: var(--orange-color);
}

.aif p
{
    font-size: 1rem;
    font-weight: 400;
    margin: 20px 15%;
}
.aif-2
{
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin: 20px 0;
    background-color: var(--gray-light-color);
    border-radius: 20px;
    width: 80%;
    margin: 50px auto 0 auto;
    box-shadow: 10px 22px 52px rgba(0, 0, 0, 0.1);
}

.aif-2 .aif-2-content-img
{
    width: 50%;
    min-height: 20vw;
    border-radius: 0 20px 20px 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.aif-2 .aif-2-content
{
    padding: 30px;
    width: 50%;
}

.aif-2 .aif-2-content h4
{
    font-size: 1.5rem;
    font-weight: 600;
    margin: 20px 0;
}

.score
{
    width: 80vw;
    margin: 50px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.score .card
{
    border-radius: 20px;
    padding: 20px;
    width: calc(25% - 20px);
    text-align: center;
    box-sizing: border-box;
}

.score .card:hover
{
    background-color: var(--gray-light-color);
    box-shadow: 10px 22px 52px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
    transition: all 0.5s ease;
}

.objectif
{
    width: 100%;
    margin: clamp(2rem, 5vw, 5rem) 0;
    padding: clamp(1rem, 3vw, 2rem) 0;
    text-align: center;
    background: linear-gradient(90deg, var(--orange-color), var(--green-color));
    background-size: 200%;
    background-position: right;
    transition: all 1s ease;
}
.objectif h3
{
    font-size: 1.5rem;
    font-weight: 600;
    margin: 20px 0;
    color: var(--white-color);
}
.objectif p
{
    font-size: 1rem;
    font-weight: 400;
    margin: 20px 15%;
}
.obj-card-container
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--card-size)), 1fr));
    justify-content: space-around;
    justify-items: center;
    gap: clamp(1rem, 2vw, 2rem);
    margin: 0 auto;
    padding: 1rem;
    max-width: 1400px;
    --card-size: 280px; /* Valeur par défaut */
}
.obj-card
{
    --card-padding: clamp(1rem, 2vw, 1.5rem);
    border-radius: clamp(15px, 2vw, 20px);
    padding: var(--card-padding);
    aspect-ratio: 1/1.2; /* Ratio hauteur/largeur harmonieux */
    min-height: 0; /* Permet à aspect-ratio de bien fonctionner */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-light-transparence-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}
.obj-card:hover
{
    background-color: var(--gray-light-color);
    transform: scale(0.95);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.obj-card h4
{
    font-weight: 600;
    font-size: clamp(1.1rem, 1.5vw, 1.5rem);
    margin: clamp(0.5rem, 1vw, 1rem) 0;
}
.obj-card p
{
    font-size: clamp(0.85rem, 1.1vw, 1rem);
    margin: 0.5rem 0;
    line-height: 1.5;

    font-weight: 400;
}
.obj-card svg
{
    width: 3rem;
    height: 3rem;
    color: var(--orange-color);
    width: clamp(2.5rem, 4vw, 3.5rem);
    height: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 0.5rem;
}

.actualite
{
    width: 100%;
    text-align: center;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    /* justify-content: space-around;
    justify-items: center; */
    gap: clamp(1rem, 2vw, 2rem);
    margin: clamp(2rem, 5vw, 5rem) auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
    max-width: 1400px;
    /* margin: 50px 0; */
}
.actualite-card
{
    border-radius: 20px;
    /* width: 20vw; */
    width: 100%;
    max-width: 380px;
    text-align: center;
    padding-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: white;
    overflow: hidden;
    margin: 0 auto;
}
.actualite-card:hover
{
    border-right: 3px solid var(--orange-color);
    border-bottom: 3px solid var(--orange-color);
    transform: translateY(-8px);
    transition: all 0.5s ease;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}
.actualite-img
{
    background-size: cover;
    background-position: center;
    width: 100%;
    height: clamp(180px, 20vw, 220px);
    border-radius: 20px 20px 0 0;
    margin-bottom: 15px;
    transition: transform 0.4s ease;
    position: relative;
}
.actualite-card:hover .actualite-img {
    transform: scale(1.03);
}
.actualite-card h4
{
    font-size: clamp(1.2rem, 1.5vw, 1.5rem);
    font-weight: 600;
    margin: 15px 10px;
    padding: 0 10px;
}
.actualite-card p
{
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    font-weight: 400;
    margin: 0 10% 15px;
    line-height: 1.5;
    color: #555;
}
.actualite-btn
{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 0 20px;
}

.actualite-btn a:hover
{
    transition: all 1s ease;
}

.btn-simple
{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
}
.btn-simple:hover
{
    color: var(--orange-color);
    transform: translateX(5px);
}
.btn-simple svg
{
    color: var(--orange-color);
    opacity: 0;
    width: 18px;
    height: 18px;
    transition: all 0.3s ease 0.1s;
}

.actualite-card:hover .btn-simple svg {
    opacity: 1;
}

.testimony
{
    width: 90%;
    margin: clamp(2rem, 5vw, 5rem) auto;
    text-align: center;
}

.objectifs-globaux {
    background-color: var(--gray-color);
    width: 100%;
    height: auto;
    min-height: 300px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 0 auto clamp(2rem, 5vw, 5rem) auto;
    box-sizing: border-box;
    border-radius: 10px;
    overflow: hidden;
}

.objectifs-globaux .obj-glob-img {
    width: 100%;
    height: 200px;
    background-size: cover;
    /* background-repeat: no-repeat; */
    background-position: center;
    border-radius: 10px 10px 0 0;
}

.objectifs-globaux .obj-glob-content {
    width: 100%;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.objectifs-globaux .obj-glob-title {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 600;
    margin: 0 0 1rem 0;
    text-align: center;
}

.objectifs-globaux .objectifs-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    max-width: 600px;
}

.objectifs-globaux .objectif-item {
    display: flex;
    align-items: flex-start;
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    font-weight: 400;
    line-height: 1.5;
    color: white;
    text-align: left;
}

.objectifs-globaux .objectif-item svg {
    min-width: 24px;
    margin-right: 10px;
    margin-top: 2px;
}

.faq {
    width: 50%;
    margin: 40px auto;
    text-align: center;
}

.accordion-card h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 20px 0;
    color: var(--orange-color);
}

.accordion-toggle {
    background-color: var(--green-color);
    color: var(--white-color);
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.accordion-toggle:hover {
    background-color: var(--green-light-color);
}

.accordion-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

.accordion-toggle[aria-expanded="true"] .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-item {
    border-radius: 20px;
    padding: 20px;
    margin: 10px 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    border-left: 3px solid var(--orange-color);
    border-bottom: 3px solid var(--orange-color);
    display: none; /* Masqué par défaut */
}

.accordion-item.active {
    display: block;
    background-color: #e0fdfc;/*#ecfff6var(--gray-light-color);*/
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.accordion-content {
    padding: 10px 0 0;
    color: #333;
    line-height: 1.6;
}

.footer {
    background-color: var(--black-blue-color);
    color: var(--white-color);
    width: 100%;
    padding: 40px;
    margin-top: 50px;
    text-align: center;
    position: relative;
    bottom: 0;
    left: 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 0 auto;
    padding: 20px;
}

.footer-logo {
    width: 200px;
    height: 200px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 20px auto;
    /* filter: invert(1) brightness(100) grayscale(100%); */
}

.footer-detail {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    margin: 20px 0;
}

.footer-item ul {
    list-style-type: none;
    padding: 0;
}

.footer-item ul li {
    margin: 5px 0;
}

.footer-item ul li a, .programerLink, .partenaireLink, .ownerLink {
    text-decoration: none;
    color: var(--white-color);
    transition: color 0.3s ease;
}

.footer-item ul li a:hover, .programerLink:hover, .partenaireLink:hover, .ownerLink:hover {
    color: var(--orange-color);
}
.footer-item .footer-info li a
{
    display: inline-flex;
}
.footer-item ul li
{
    margin: 5px 0;
    text-align: left;
}
.copyright {
    margin: 20px 0;
    font-size: 0.8rem;
    font-weight: 400;
}

.social-link {
    display: inline-flex;
    gap: 10px;
    margin: 10px 0;
    transition: transform 0.3s ease;
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.social-link svg:hover {
    color: var(--orange-color);
    transform: scale(1.1);
}

.hr {
    width: 60%;
    height: 1px;
    background-color: var(--white-color);
    margin: 20px auto;
    opacity: 0.2;
    transition: all 0.3s ease;
}

/* Mmember */
[data-carousel-slide-to].bg-orange-500 {
    background-color: #F97316;
    width: 12px;
    border-radius: 4px;
}

.member
{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.members-carousel {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.members-container {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Pour Firefox */
}

.members-container::-webkit-scrollbar {
    display: none; /* Pour Chrome/Safari */
}

.member-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.3s ease;
    position: relative;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0px 10px rgba(0, 0, 0, 0.1);
}

.member-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.member-info {
    padding: 25px;
    text-align: center;
}

.member-name {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.member-role {
    color: var(--orange-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.member-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    color: var(--secondary-color);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--orange-color);
    color: white;
    transform: scale(1.1);
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
    border: none;
    color: var(--secondary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.nav-btn:hover {
    background: var(--orange-color);
    color: white;
    opacity: 1;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--orange-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
}


.comment.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease-out forwards;
}
.connexion_requis
{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.connexion_requis img
{
    width: 45%;
}
.info-card-auth
{
    background-color: rgb(108, 189, 243);
    border-radius: 5px;
    padding: 10px;
    font-size: 0.8em;
    color: #134a86;
    font-weight: 600;
}
.categorie-title
{
    font-size: 1rem;
}
.link-white
{
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}
.link-white:hover
{
    color: var(--orange-color);
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #f17b31;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.view-more-btn:hover {
    background-color: #d96e2b;
    transform: translateY(-2px);
}

.view-more-btn svg {
    flex-shrink: 0;
}

/* Objectif Globaux */

.obj-g-ivoire-bg {
    background: linear-gradient(135deg, #F9A825 0%, #FFC107 50%, #F57F17 100%);
}
.culturel-card
{
    background: linear-gradient(90deg, var(--orange-color), var(--green-color));
}
.obj-g-card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.obj-g-transition-all {
    transition: all 0.3s ease;
}
.obj-g-section-title {
    position: relative;
    display: inline-block;
}
.obj-g-section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #F9A825;
}
.obj-g-objective-icon {
    background: linear-gradient(135deg, #F9A825 0%, #FFC107 100%);
}

.badge-en-cour
{
    background-color: #087261;
}
.badge-passer
{
    background-color: #dc2727;
}
.badge-a-venir
{
    background-color: #134a86;
}
