html {
    height: auto;
}

body {
    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
}

body{
    background-color: white;
}


h1 {
    color: white;
}

p{
    font-size: 1rem;
    line-height: 1.6;
}

/* === Cookie banner (visuel) === */
.cookie-banner{
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 1080; /* au-dessus du footer */
    background: rgba(0,0,0,0.88);
    color: #fff;
    padding: 12px 0;
    box-shadow: 0 -6px 20px rgba(0,0,0,0.25);
    display: none;
}
.cookie-banner.show{ display: block; }
@media (prefers-reduced-motion: no-preference){
    .cookie-banner{ animation: slideUp 300ms ease-out; }
}
@keyframes slideUp{
    from{ transform: translateY(100%); opacity: 0; }
    to{ transform: translateY(0); opacity: 1; }
}

/* DÉBUT HEADER STICKY */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000; /* Assure que le header reste au-dessus de tout */
    transition: all 0.3s ease; /* Animation douce lors du scroll */
}

/* Optionnel : effet d'ombre plus prononcé lors du scroll */
header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

/* Compensation pour éviter que le contenu disparaisse sous le header fixe */
body {
    padding-top: 80px; /* Ajuste selon la hauteur de ton header */
}

/* Ajustement pour les liens d'ancrage */
[id]::before {
    content: '';
    display: block;
    height: 100px; /* Hauteur du header + marge */
    margin-top: -100px;
    visibility: hidden;
    pointer-events: none;
}
/* FIN HEADER STICKY */

.nav-link {
    color: #333;
}

.nav-link:hover,
.nav-link.active {
    color: #0d6efd;
    background-color: #f1f1f1;
    border-radius: 5px;
}

.btn-dark {
    border-radius: 20px;
    padding: 0.4rem 1rem;
}

.hero {
    position: relative; /* indispensable pour le position absolute de #stripes */
    min-height: 100vh;
    color: white;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 10;
}

#hero-title{
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 7rem;
    font-weight: 700;
    line-height: 1.2;
}

#hero-subtitle{
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.5;
}


#titre-margin{
    margin-bottom: 200px;
}


/* Container principal */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Cadre blanc principal */
.white-frame {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 60px 40px;
    border: 1px solid #e9ecef;
}



.pk-nous {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.pk-nous-p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.cards-section {
    margin-top: 58px;
}

/* Système d'accordéon horizontal avec hauteur fixe */
.accordion-card {
    height: 300px; /* Hauteur fixe pour toutes les cartes */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
    position: relative;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.accordion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3) !important;
}

.accordion-card.expanded {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    transform: scale(1.02);
    z-index: 10;
    box-shadow: 0 15px 40px rgba(79, 172, 254, 0.4) !important;
}

.card-header {
    padding: 25px 70px 25px 25px;
    height: 140px;
    display: flex;
    align-items: flex-start;
    background: transparent;
    border: none;
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.icon-wrapper svg {
    width: 28px;
    height: 28px;
    stroke: white;
}

.card-title-text {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    color: white;
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 160px;
    background: rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    padding: 25px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-card.expanded .card-content {
    transform: translateY(0);
}

.card-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.95);
    margin: 0;
}

.expand-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.expand-indicator::after {
    content: '+';
    font-size: 20px;
    font-weight: bold;
    color: white;
    transition: transform 0.3s ease;
}

.accordion-card.expanded .expand-indicator {
    background: rgba(255,255,255,0.2);
    transform: rotate(45deg);
}

.accordion-card.expanded .expand-indicator::after {
    transform: rotate(-45deg);
}

/* Responsive */
@media (max-width: 991px) {
    .accordion-card {
        height: 280px;
        margin-bottom: 20px;
    }

    .pk-nous {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .white-frame {
        padding: 20px;
    }

    .accordion-card {
        height: 250px;
    }

    .card-header {
        height: 120px;
        padding: 20px;
    }

    .card-content {
        height: 130px;
        padding: 25px 70px 25px 25px;
    }
}
/* Améliorations visuelles */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.cta-section {
    background-image: url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
    padding: 4rem 1rem;
    margin-top: 150px;
    margin-bottom:150px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.toggle-icon {
    font-weight: bold;
    font-size: 1.2rem;
    margin-left: 10px;
}

/* animation pour title et sous title du hero */
.char {
    display: inline-block;
    white-space: pre; /* conserve les espaces */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.char.visible {
    opacity: 1;
    transform: translateY(0);
}

/* DEBUT STRIPES HERO */
#stripes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    transform-origin: 0;
    transform: skewY(-12deg);
    background: linear-gradient(150deg, #4c29ff 0%, #2be7ff 50%, #a6ffcb 100%);
    z-index: -1;
}

#stripes span {
    position: absolute;
    border-radius: 6px;
    transition: filter 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
}

/* Animation principale : traversée horizontale complète */
@keyframes slideAcrossScreen {
    0% {
        transform: translateX(-150px);
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        transform: translateX(calc(100vw + 150px));
        opacity: 0;
    }
}

/* Animation inverse : de droite à gauche */
@keyframes slideAcrossScreenReverse {
    0% {
        transform: translateX(calc(100vw + 150px));
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        transform: translateX(-150px);
        opacity: 0;
    }
}

/* Styles et animations pour chaque stripe - Positions variées, pas de delay */
#stripes span:nth-child(1) {
    width: 25%;
    height: 60px;
    top: 10px;
    left: 5%; /* Position initiale dans l'écran */
    background: #3a30cc;
    animation: slideAcrossScreen 15s infinite linear;
    animation-delay: 0s; /* Toutes commencent en même temps */
}

#stripes span:nth-child(2) {
    width: 20%;
    height: 55px;
    top: 80px;
    left: 30%; /* Position différente dans l'écran */
    background: #4553ff;
    animation: slideAcrossScreenReverse 18s infinite linear;
    animation-delay: 0s; /* Pas de délai */
}

#stripes span:nth-child(3) {
    width: 15%;
    height: 45px;
    top: 150px;
    left: 55%; /* Autre position dans l'écran */
    background: #5a7aff;
    animation: slideAcrossScreen 20s infinite linear;
    animation-delay: 0s;
}

#stripes span:nth-child(4) {
    width: 12%;
    height: 50px;
    top: 220px;
    left: 75%; /* Position différente */
    background: #25ddf5;
    animation: slideAcrossScreenReverse 16s infinite linear;
    animation-delay: 0s;
}

#stripes span:nth-child(5) {
    width: 18%;
    height: 60px;
    top: 300px;
    left: 15%; /* Autre position */
    background: #a1ffc8;
    animation: slideAcrossScreen 22s infinite linear;
    animation-delay: 0s;
}

#stripes span:nth-child(6) {
    width: 30%;
    height: 55px;
    top: 370px;
    left: 40%; /* Position variée */
    background: #3247e6;
    animation: slideAcrossScreenReverse 14s infinite linear;
    animation-delay: 0s;
}

#stripes span:nth-child(7) {
    width: 22%;
    height: 50px;
    top: 430px;
    left: 65%; /* Autre position */
    background: #59aaff;
    animation: slideAcrossScreen 25s infinite linear;
    animation-delay: 0s;
}

#stripes span:nth-child(8) {
    width: 15%;
    height: 45px;
    top: 480px;
    left: 20%; /* Position différente */
    background: #85d1ff;
    animation: slideAcrossScreenReverse 17s infinite linear;
    animation-delay: 0s;
}

/* Effet hover */
#stripes span:hover {
    transform: scale(1.15);
    filter: brightness(1.3);
    z-index: 10;
}

/* Responsive */
@media (min-width: 670px) {
    #stripes span {
        height: 120px;
        border-radius: 8px;
    }
    #stripes span:nth-child(1) { top: 20px; left: 3%; width: 20%; }
    #stripes span:nth-child(2) { top: 140px; left: 28%; width: 18%; }
    #stripes span:nth-child(3) { top: 250px; left: 50%; width: 20%; }
    #stripes span:nth-child(4) { top: 320px; left: 73%; width: 15%; }
    #stripes span:nth-child(5) { top: 420px; left: 18%; width: 18%; }
    #stripes span:nth-child(6) { top: 500px; left: 42%; width: 25%; }
    #stripes span:nth-child(7) { top: 580px; left: 68%; width: 22%; }
    #stripes span:nth-child(8) { top: 640px; left: 25%; width: 18%; }
}

@media (min-width: 880px) {
    #stripes span {
        height: 160px;
        border-radius: 10px;
    }
    #stripes span:nth-child(1) { top: 30px; left: 2%; width: 18%; }
    #stripes span:nth-child(2) { top: 160px; left: 25%; width: 17%; }
    #stripes span:nth-child(3) { top: 280px; left: 48%; width: 19%; }
    #stripes span:nth-child(4) { top: 360px; left: 72%; width: 16%; }
    #stripes span:nth-child(5) { top: 470px; left: 15%; width: 18%; }
    #stripes span:nth-child(6) { top: 550px; left: 40%; width: 27%; }
    #stripes span:nth-child(7) { top: 640px; left: 65%; width: 22%; }
    #stripes span:nth-child(8) { top: 700px; left: 22%; width: 20%; }
}
/* FIN STRIPES HERO */

/* DÉBUT ANIMATIONS DE CARROUSEL */
@-webkit-keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 7));
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 7));
    }
}

/* Container principal du slider - FIXE en bas à droite */
.slider {
    position: fixed;
    bottom: 20px;
    right: 20px; /* POSITION : bas à droite */
    background: white;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125);
    height: 100px; /* TAILLE : hauteur originale */
    overflow: hidden;
    width: 960px; /* TAILLE : largeur originale */
    border-radius: 12px; /* Coins arrondis pour plus d'esthétique */
    z-index: -1; /* BACKGROUND : derrière tous les éléments */
}

/* Dégradés pour effet de fondu sur les bords */
.slider::before, .slider::after {
    background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
    content: "";
    height: 100px; /* TAILLE : hauteur originale */
    position: absolute;
    width: 200px; /* TAILLE : largeur originale */
    z-index: 2;
}

.slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

.slider::before {
    left: 0;
    top: 0;
}

/* Track des slides */
.slider .slide-track {
    animation: scroll 40s linear infinite;
    display: flex;
    width: calc(250px * 14);
}

/* Chaque slide */
.slider .slide {
    height: 100px; /* TAILLE : hauteur originale */
    width: 250px; /* TAILLE : largeur originale */
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider .slide img {
    max-height: 100px; /* TAILLE : hauteur originale */
    max-width: 250px; /* TAILLE : largeur originale */
    object-fit: contain;
}

/* Version responsive pour mobile */
@media (max-width: 768px) {
    .slider {
        width: 100%; /* RESPONSIVE : pleine largeur sur mobile */
        height: 80px;
        bottom: 0; /* POSITION : collé en bas sur mobile */
        right: 0; /* POSITION : collé à droite sur mobile */
        left: 0; /* POSITION : pleine largeur */
        border-radius: 0; /* Pas de coins arrondis sur mobile */
    }

    .slider::before, .slider::after {
        height: 80px;
        width: 60px;
    }

    .slider .slide {
        height: 80px;
        width: 200px;
    }

    .slider .slide img {
        max-height: 60px;
        max-width: 180px;
    }
}
/* FIN ANIMATIONS DE CARROUSEL */

/* DEBUT CONTACTEZ NOUS */
.banner {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    font-family: 'Arial', sans-serif;
}

.image-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

.left-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    clip-path: polygon(0 0, 65% 0, 45% 100%, 0 100%);
    display: flex;
    align-items: center;
    padding-left: 80px;
    transition: clip-path 0.4s ease;
    cursor: pointer;
    z-index: 2;
}

.left-section:hover {
    clip-path: polygon(0 0, 75% 0, 55% 100%, 0 100%) !important;
}

.right-section {
    background-image: url('https://images.unsplash.com/photo-1544027993-37dbfe43562a?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    clip-path: polygon(45% 0, 100% 0, 100% 100%, 25% 100%);
    transition: clip-path 0.4s ease;
    cursor: pointer;
    z-index: 1;
}

.right-section:hover {
    clip-path: polygon(35% 0, 100% 0, 100% 100%, 15% 100%);
}

.content {
    color: white;
    max-width: 600px;
    z-index: 10;
    position: relative;
}

.main-title {
    font-size: 3.5rem;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 30px;
    opacity: 0.9;
    font-weight: 300;
}

a.cta-button {
    background-color: #3498db;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 15px;
    margin-bottom: 10px;
    text-decoration: none; /* enlève le soulignement */
}

a.cta-button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.image-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 40%, rgba(0,0,0,0.3) 100%);
    clip-path: polygon(45% 0, 100% 0, 100% 100%, 25% 100%);
    pointer-events: none;
    z-index: 3;
}

/* Animation au chargement */
.content {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .banner {
        height: 300px;
    }

    .left-section {
        padding-left: 40px;
        clip-path: polygon(0 0, 60% 0, 40% 100%, 0 100%);
    }

    .right-section {
        clip-path: polygon(40% 0, 100% 0, 100% 100%, 20% 100%);
    }

    .image-overlay {
        clip-path: polygon(40% 0, 100% 0, 100% 100%, 20% 100%);
    }

    .main-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .banner {
        height: 250px;
    }

    .left-section {
        padding-left: 20px;
        clip-path: polygon(0 0, 65% 0, 45% 100%, 0 100%);
    }

    .right-section {
        clip-path: polygon(45% 0, 100% 0, 100% 100%, 25% 100%);
    }

    .image-overlay {
        clip-path: polygon(45% 0, 100% 0, 100% 100%, 25% 100%);
    }

    .main-title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

/* FIN CONTACTEZ NOUS */

/* DEBUT IMAGE/TEXTE */
.podcast-card-container {
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #ffffff;
    text-rendering: optimizeLegibility;
    font-weight: initial;
    margin-top: 100px;
    margin-bottom: 100px;
}

.podcast-card-container a,
.podcast-card-container a:hover {
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

/* Carte principale */
.podcast-postcard {
    flex-wrap: wrap;
    display: flex;
    box-shadow: 0 4px 21px -12px rgba(0, 0, 0, 0.66);
    border-radius: 10px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    color: #ffffff;
    background-color: white;
    max-width: 1000px;
}

.podcast-postcard .podcast-t-dark {
    color: #18151f;
}

.podcast-postcard a {
    color: inherit;
}

.podcast-postcard h1,
.podcast-postcard .podcast-h1 {
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
}

.podcast-postcard .podcast-small {
    font-size: 80%;
}

.podcast-postcard .podcast-postcard__title {
    font-size: 1.75rem;
}

.podcast-postcard .podcast-postcard__img {
    max-height: 180px;
    width: 100%;
    object-fit: cover;
    position: relative;
}

.podcast-postcard .podcast-postcard__img_link {
    display: contents;
}

.podcast-postcard .podcast-postcard__bar {
    width: 50px;
    height: 10px;
    margin: 10px 0;
    border-radius: 5px;
    background-color: #2873BA;
    transition: width 0.2s ease;
}

.podcast-postcard .podcast-postcard__text {
    padding: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.podcast-postcard .podcast-postcard__preview-txt {
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: justify;
    height: 100%;
}

.podcast-postcard .podcast-postcard__tagbox {
    display: flex;
    flex-flow: row wrap;
    font-size: 14px;
    margin: 20px 0 0 0;
    padding: 0;
    justify-content: center;
}

.podcast-postcard .podcast-postcard__tagbox .podcast-tag__item {
    display: inline-block;
    background: white;
    border-radius: 3px;
    padding: 2.5px 10px;
    margin: 0 5px 5px 0;
    cursor: default;
    user-select: none;
    transition: background-color 0.3s;
}

.podcast-postcard .podcast-postcard__tagbox .podcast-tag__item:hover {
    background: white;
}

.podcast-postcard::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(-30deg, rgba(40, 115, 186, 0.1), transparent 50%);
    opacity: 1;
    border-radius: 10px;
}

.podcast-postcard:hover .podcast-postcard__bar {
    width: 100px;
}

/* Couleurs bleu */
.podcast-postcard .podcast-postcard__tagbox .podcast-yellow.podcast-play:hover {
    background: #2873BA;
    color: black;
}

.podcast-yellow .podcast-postcard__title:hover {
    color: #2873BA;
}

/* Media queries */
@media screen and (min-width: 769px) {
    .podcast-postcard {
        flex-wrap: inherit;
        flex-direction: row-reverse;
    }

    .podcast-postcard .podcast-postcard__title {
        font-size: 2rem;
        color: black;
    }

    .podcast-postcard .podcast-postcard__tagbox {
        justify-content: start;
    }

    .podcast-postcard .podcast-postcard__img {
        max-width: 300px;
        max-height: 100%;
        transition: transform 0.3s ease;
    }

    .podcast-postcard .podcast-postcard__text {
        padding: 3rem;
        width: 100%;
    }

    .podcast-postcard .podcast-postcard__text::before {
        content: "";
        position: absolute;
        display: block;
        background: white;
        top: -20%;
        height: 130%;
        width: 55px;
        right: -12px !important;
        transform: rotate(-4deg);
    }

    .podcast-postcard:hover .podcast-postcard__img {
        transform: scale(1.1);
    }

    .podcast-postcard::before {
        background-image: linear-gradient(80deg, rgba(40, 115, 186, 0.1), transparent 50%);
    }
}

@media screen and (min-width: 1024px) {
    .podcast-postcard .podcast-postcard__text {
        padding: 2rem 3.5rem;
    }
}

/* FIN IMAGE/TEXTE */

/* Classe personnalisée pour le texte moderne */
.modern-text-block {
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-left: 4px solid #2873BA;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(40, 115, 186, 0.08);
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Animation d'apparition */
.modern-text-block.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Titre avec accent */
.text-highlight {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.highlight-accent {
    color: #2873BA;
    font-weight: 700;
    position: relative;
}

.highlight-accent::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #2873BA, #3498db);
    border-radius: 1px;
}

/* Sections de texte avec icônes */
.text-section {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
    transform: translateX(-20px);
    opacity: 0;
    transition: all 0.6s ease;
    transition-delay: 0.2s;
}

.modern-text-block.animate-in .text-section {
    transform: translateX(0);
    opacity: 1;
}

.modern-text-block.animate-in .text-section:nth-child(3) {
    transition-delay: 0.4s;
}

.text-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.modern-paragraph {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #4a5568;
}

.modern-paragraph strong {
    color: #2c3e50;
    font-weight: 600;
}

.modern-paragraph em {
    color: #2873BA;
    font-style: normal;
    font-weight: 500;
    background: rgba(40, 115, 186, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .modern-text-block {
        padding: 1.5rem;
    }

    .text-highlight {
        font-size: 1.2rem;
    }

    .text-section {
        padding: 0.8rem;
    }
}

#fonctionnement{
    padding-top:15rem;
    padding-bottom: 15rem;
}

#faq {
    background: #2c3e50;
    position: relative;
    z-index: 1;
}

#faq::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px; /* adapte la hauteur à ta courbe désirée */
    background: inherit;
    clip-path: ellipse(100% 100% at 50% 100%);
    transform: translateY(-100%);
    pointer-events: none;
    z-index: -1;
}



